shithub: ft2-clone

Download patch

ref: fb28f3fde84d8f81166bf17f7992a55dabec0589
parent: cd1494f83b2f04a6128cda051cd26b3a31ad8961
author: Olav Sørensen <[email protected]>
date: Mon Dec 2 07:31:30 EST 2019

Added v1.03 source code to repo

--- /dev/null
+++ b/CMakeLists.txt
@@ -1,0 +1,27 @@
+cmake_minimum_required(VERSION 3.7)
+
+project(ft2-clone)
+
+find_package(SDL2 REQUIRED)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${ft2-clone_SOURCE_DIR}/release/other/")
+
+
+file(GLOB ft2-clone_SRC
+    "${ft2-clone_SOURCE_DIR}/src/rtmidi/*.cpp"
+    "${ft2-clone_SOURCE_DIR}/src/*.c"
+    "${ft2-clone_SOURCE_DIR}/src/gfxdata/*.c"   
+)
+
+
+add_executable(ft2-clone ${ft2-clone_SRC})
+
+target_include_directories(ft2-clone SYSTEM
+    PRIVATE ${SDL2_INCLUDE_DIRS})
+
+target_link_libraries(ft2-clone 
+    PRIVATE m asound pthread ${SDL2_LIBRARIES})
+target_compile_definitions(ft2-clone PRIVATE __LINUX_ALSA__)
+
+
+install(TARGETS ft2-clone
+        RUNTIME DESTINATION bin )
\ No newline at end of file
--- /dev/null
+++ b/HOW-TO-COMPILE.txt
@@ -1,0 +1,49 @@
+---- Guide on how to compile the FT2 clone for Mac/Windows/Linux ---
+
+LINUX NOTE: This code is NOT big-endian compatible! And converting it would take
+            a ton of time, as I fread()/fwrite() directly to/from structs and
+            stuff (like original FT2). The structs are also packed, with
+            unaligned 16-bit/32-bit entries, so the clone might fail on certain
+            CPUs (except x86/x86_64, ARM11 and never). The clone might also
+            behave slightly wrong if bitshift-right on signed numbers is
+            compiled into using logical shift (LSR/SHR) instead of arithmetic
+            shift (ASR/SAR). Most CPUs have ASR/SAR instructions.
+              
+      
+Compiled Windows/macOS binaries are always available at 16-bits.org/ft2.php
+
+
+== COMPILING ON LINUX (little-endian only!) ==
+ 1. Install the following packages:
+    Ubuntu/Debian and similar: build-essential libsdl2-dev
+    Fedora: gcc gcc-c++ alsa-lib-devel SDL2-devel
+    Others: www.google.com (you want gcc, g++ (or c++), alsa dev and SDL2 dev)
+ 2. Compile the FT2 clone:     (folder: "ft2-clone-code")
+    chmod +x make-linux.sh     (only needed once)
+    ./make-linux.sh
+    
+ Note: If you want faster audio mixing (for SLOW devices), pass -DLERPMIX
+       to the GCC command line (edit make-linux.sh). This will yield slightly
+       more blurry sound when interpolation is activated, though...
+       
+ Known issues: Audio recording (sampling) can update VERY slowly or not work at
+               all... I have no idea why, it works really well on Windows/maCOS.
+
+== COMPILING ON WINDOWS 7 SP1 OR NEWER ==
+ 1. Download Visual Studio Community 2019 (it's free)
+ 2. Start the installer and select the "Desktop development with C++" package
+ 3. Install and wait for it to finish...
+ 4. Open "ft2-clone-code\vs2019_project\ft2-clone.sln"
+ 5. If you're missing the Windows 10 SDK, then you need to change the Windows
+    SDK version used in the project settings for both debug and release x86/x64.
+ 6. Compile (make sure it's in Release mode. Also note x86/x64)
+
+
+== COMPILING ON MAC OS X 10.7 OR NEWER ==
+ 1. Download and install the "Command Line Tools" XCode package (google it)
+ 2. Download the SDL 2.0.10 framework here:
+    https://www.libsdl.org/release/SDL2-2.0.10.dmg
+ 3. Inside the package, copy SDL2.framework to /Library/Frameworks/
+ 4. Compile the FT2 clone:     (folder: "ft2-clone-code"):
+    chmod +x make-macos.sh      (only needed once)
+   ./make-macos.sh
--- /dev/null
+++ b/LICENSES.txt
@@ -1,0 +1,14 @@
+This project uses the following licenses:
+
+Source code (BSD 3-clause):
+src\LICENSE.txt
+
+rtmidi:
+src\rtmidi\LICENSE.txt
+
+Graphics, except a few bitmaps: by Magnus H�gdahl
+(CC BY-NC-SA 4.0):
+src\gfxdata\bmp\LICENSE.txt
+
+SDL2:
+vs2019_project\ft2-clone\sdl\COPYING.txt
\ No newline at end of file
--- /dev/null
+++ b/make-linux.sh
@@ -1,0 +1,14 @@
+#!/bin/bash
+
+rm release/other/ft2-clone &> /dev/null
+echo Compiling, please wait patiently...
+
+# If you're compiling for *SLOW* devices, try adding -DLERPMIX right after gcc
+# This will activate 2-tap linear interpolation mixing (blurrier sound) instead
+# of 3-tap quadratic interpolation mixing (sharper sound)
+
+gcc -D__LINUX_ALSA__ src/rtmidi/*.cpp src/gfxdata/*.c src/*.c -lSDL2 -lpthread -lasound -lstdc++ -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wswitch-default -march=native -mtune=native -O3 -o release/other/ft2-clone
+
+rm src/rtmidi/*.o src/gfxdata/*.o src/*.o &> /dev/null
+
+echo Done! The executable is in the folder named \'release/other\'.
--- /dev/null
+++ b/make-macos.sh
@@ -1,0 +1,17 @@
+#!/bin/bash
+
+arch=$(arch)
+if [ $arch == "ppc" ]; then
+    echo Sorry, PowerPC \(PPC\) is not supported...
+else
+    echo Compiling 64-bit binary, please wait patiently...
+    
+    rm release/macos/ft2-clone-macos.app/Contents/MacOS/ft2-clone-macos &> /dev/null
+    
+    clang -mmacosx-version-min=10.7 -arch x86_64 -mmmx -mfpmath=sse -msse2 -I/Library/Frameworks/SDL2.framework/Headers -F/Library/Frameworks -D__MACOSX_CORE__ -stdlib=libc++ src/rtmidi/*.cpp src/gfxdata/*.c src/*.c -O3 /usr/lib/libiconv.dylib -lm -Winit-self -Wno-deprecated -Wextra -Wunused -mno-ms-bitfields -Wno-missing-field-initializers -Wswitch-default -framework SDL2 -framework CoreMidi -framework CoreAudio -framework Cocoa -lpthread -lm -lstdc++ -o release/macos/ft2-clone-macos.app/Contents/MacOS/ft2-clone-macos
+    strip release/macos/ft2-clone-macos.app/Contents/MacOS/ft2-clone-macos
+    install_name_tool -change @rpath/SDL2.framework/Versions/A/SDL2 @executable_path/../Frameworks/SDL2.framework/Versions/A/SDL2 release/macos/ft2-clone-macos.app/Contents/MacOS/ft2-clone-macos
+    
+    rm src/rtmidi/*.o src/gfxdata/*.o src/*.o &> /dev/null
+    echo Done! The executable is in the folder named \'release/macos\'.
+fi
--- /dev/null
+++ b/release/LICENSES.txt
@@ -1,0 +1,527 @@
+--------------------------------------------------------------------------------
+---------------------- Source code (BSD 3-clause license) ----------------------
+--------------------------------------------------------------------------------
+
+Copyright (c) 2016-2019, Olav S�rensen
+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.
+    * Neither the name of the <organization> nor the
+      names of its contributors 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 OLAV S�RENSEN 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.
+
+
+--------------------------------------------------------------------------------
+------------------------------------ rtmidi ------------------------------------
+--------------------------------------------------------------------------------
+
+RtMidi: realtime MIDI i/o C++ classes
+Copyright (c) 2003-2017 Gary P. Scavone
+
+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.
+
+Any person wishing to distribute modifications to the Software is asked to send
+the modifications to the original developer so that they can be incorporated
+into the canonical version.  This is, however, not a binding provision of this
+license.
+
+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.
+
+
+--------------------------------------------------------------------------------
+------------------------ SDL (Simple DirectMedia Layer) ------------------------
+--------------------------------------------------------------------------------
+
+Simple DirectMedia Layer
+Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+  
+This software is provided 'as-is', without any express or implied
+warranty.  In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+  
+1. The origin of this software must not be misrepresented; you must not
+   claim that you wrote the original software. If you use this software
+   in a product, an acknowledgment in the product documentation would be
+   appreciated but is not required. 
+2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+
+--------------------------------------------------------------------------------
+- Graphics, except program icon, MIDI logo and new FT2 logo: by Magnus H�gdahl -
+--------------------------------------------------------------------------------
+
+Attribution-NonCommercial-ShareAlike 4.0 International
+
+=======================================================================
+
+Creative Commons Corporation ("Creative Commons") is not a law firm and
+does not provide legal services or legal advice. Distribution of
+Creative Commons public licenses does not create a lawyer-client or
+other relationship. Creative Commons makes its licenses and related
+information available on an "as-is" basis. Creative Commons gives no
+warranties regarding its licenses, any material licensed under their
+terms and conditions, or any related information. Creative Commons
+disclaims all liability for damages resulting from their use to the
+fullest extent possible.
+
+Using Creative Commons Public Licenses
+
+Creative Commons public licenses provide a standard set of terms and
+conditions that creators and other rights holders may use to share
+original works of authorship and other material subject to copyright
+and certain other rights specified in the public license below. The
+following considerations are for informational purposes only, are not
+exhaustive, and do not form part of our licenses.
+
+     Considerations for licensors: Our public licenses are
+     intended for use by those authorized to give the public
+     permission to use material in ways otherwise restricted by
+     copyright and certain other rights. Our licenses are
+     irrevocable. Licensors should read and understand the terms
+     and conditions of the license they choose before applying it.
+     Licensors should also secure all rights necessary before
+     applying our licenses so that the public can reuse the
+     material as expected. Licensors should clearly mark any
+     material not subject to the license. This includes other CC-
+     licensed material, or material used under an exception or
+     limitation to copyright. More considerations for licensors:
+	wiki.creativecommons.org/Considerations_for_licensors
+
+     Considerations for the public: By using one of our public
+     licenses, a licensor grants the public permission to use the
+     licensed material under specified terms and conditions. If
+     the licensor's permission is not necessary for any reason--for
+     example, because of any applicable exception or limitation to
+     copyright--then that use is not regulated by the license. Our
+     licenses grant only permissions under copyright and certain
+     other rights that a licensor has authority to grant. Use of
+     the licensed material may still be restricted for other
+     reasons, including because others have copyright or other
+     rights in the material. A licensor may make special requests,
+     such as asking that all changes be marked or described.
+     Although not required by our licenses, you are encouraged to
+     respect those requests where reasonable. More considerations
+     for the public: 
+	wiki.creativecommons.org/Considerations_for_licensees
+
+=======================================================================
+
+Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
+Public License
+
+By exercising the Licensed Rights (defined below), You accept and agree
+to be bound by the terms and conditions of this Creative Commons
+Attribution-NonCommercial-ShareAlike 4.0 International Public License
+("Public License"). To the extent this Public License may be
+interpreted as a contract, You are granted the Licensed Rights in
+consideration of Your acceptance of these terms and conditions, and the
+Licensor grants You such rights in consideration of benefits the
+Licensor receives from making the Licensed Material available under
+these terms and conditions.
+
+
+Section 1 -- Definitions.
+
+  a. Adapted Material means material subject to Copyright and Similar
+     Rights that is derived from or based upon the Licensed Material
+     and in which the Licensed Material is translated, altered,
+     arranged, transformed, or otherwise modified in a manner requiring
+     permission under the Copyright and Similar Rights held by the
+     Licensor. For purposes of this Public License, where the Licensed
+     Material is a musical work, performance, or sound recording,
+     Adapted Material is always produced where the Licensed Material is
+     synched in timed relation with a moving image.
+
+  b. Adapter's License means the license You apply to Your Copyright
+     and Similar Rights in Your contributions to Adapted Material in
+     accordance with the terms and conditions of this Public License.
+
+  c. BY-NC-SA Compatible License means a license listed at
+     creativecommons.org/compatiblelicenses, approved by Creative
+     Commons as essentially the equivalent of this Public License.
+
+  d. Copyright and Similar Rights means copyright and/or similar rights
+     closely related to copyright including, without limitation,
+     performance, broadcast, sound recording, and Sui Generis Database
+     Rights, without regard to how the rights are labeled or
+     categorized. For purposes of this Public License, the rights
+     specified in Section 2(b)(1)-(2) are not Copyright and Similar
+     Rights.
+
+  e. Effective Technological Measures means those measures that, in the
+     absence of proper authority, may not be circumvented under laws
+     fulfilling obligations under Article 11 of the WIPO Copyright
+     Treaty adopted on December 20, 1996, and/or similar international
+     agreements.
+
+  f. Exceptions and Limitations means fair use, fair dealing, and/or
+     any other exception or limitation to Copyright and Similar Rights
+     that applies to Your use of the Licensed Material.
+
+  g. License Elements means the license attributes listed in the name
+     of a Creative Commons Public License. The License Elements of this
+     Public License are Attribution, NonCommercial, and ShareAlike.
+
+  h. Licensed Material means the artistic or literary work, database,
+     or other material to which the Licensor applied this Public
+     License.
+
+  i. Licensed Rights means the rights granted to You subject to the
+     terms and conditions of this Public License, which are limited to
+     all Copyright and Similar Rights that apply to Your use of the
+     Licensed Material and that the Licensor has authority to license.
+
+  j. Licensor means the individual(s) or entity(ies) granting rights
+     under this Public License.
+
+  k. NonCommercial means not primarily intended for or directed towards
+     commercial advantage or monetary compensation. For purposes of
+     this Public License, the exchange of the Licensed Material for
+     other material subject to Copyright and Similar Rights by digital
+     file-sharing or similar means is NonCommercial provided there is
+     no payment of monetary compensation in connection with the
+     exchange.
+
+  l. Share means to provide material to the public by any means or
+     process that requires permission under the Licensed Rights, such
+     as reproduction, public display, public performance, distribution,
+     dissemination, communication, or importation, and to make material
+     available to the public including in ways that members of the
+     public may access the material from a place and at a time
+     individually chosen by them.
+
+  m. Sui Generis Database Rights means rights other than copyright
+     resulting from Directive 96/9/EC of the European Parliament and of
+     the Council of 11 March 1996 on the legal protection of databases,
+     as amended and/or succeeded, as well as other essentially
+     equivalent rights anywhere in the world.
+
+  n. You means the individual or entity exercising the Licensed Rights
+     under this Public License. Your has a corresponding meaning.
+
+
+Section 2 -- Scope.
+
+  a. License grant.
+
+       1. Subject to the terms and conditions of this Public License,
+          the Licensor hereby grants You a worldwide, royalty-free,
+          non-sublicensable, non-exclusive, irrevocable license to
+          exercise the Licensed Rights in the Licensed Material to:
+
+            a. reproduce and Share the Licensed Material, in whole or
+               in part, for NonCommercial purposes only; and
+
+            b. produce, reproduce, and Share Adapted Material for
+               NonCommercial purposes only.
+
+       2. Exceptions and Limitations. For the avoidance of doubt, where
+          Exceptions and Limitations apply to Your use, this Public
+          License does not apply, and You do not need to comply with
+          its terms and conditions.
+
+       3. Term. The term of this Public License is specified in Section
+          6(a).
+
+       4. Media and formats; technical modifications allowed. The
+          Licensor authorizes You to exercise the Licensed Rights in
+          all media and formats whether now known or hereafter created,
+          and to make technical modifications necessary to do so. The
+          Licensor waives and/or agrees not to assert any right or
+          authority to forbid You from making technical modifications
+          necessary to exercise the Licensed Rights, including
+          technical modifications necessary to circumvent Effective
+          Technological Measures. For purposes of this Public License,
+          simply making modifications authorized by this Section 2(a)
+          (4) never produces Adapted Material.
+
+       5. Downstream recipients.
+
+            a. Offer from the Licensor -- Licensed Material. Every
+               recipient of the Licensed Material automatically
+               receives an offer from the Licensor to exercise the
+               Licensed Rights under the terms and conditions of this
+               Public License.
+
+            b. Additional offer from the Licensor -- Adapted Material.
+               Every recipient of Adapted Material from You
+               automatically receives an offer from the Licensor to
+               exercise the Licensed Rights in the Adapted Material
+               under the conditions of the Adapter's License You apply.
+
+            c. No downstream restrictions. You may not offer or impose
+               any additional or different terms or conditions on, or
+               apply any Effective Technological Measures to, the
+               Licensed Material if doing so restricts exercise of the
+               Licensed Rights by any recipient of the Licensed
+               Material.
+
+       6. No endorsement. Nothing in this Public License constitutes or
+          may be construed as permission to assert or imply that You
+          are, or that Your use of the Licensed Material is, connected
+          with, or sponsored, endorsed, or granted official status by,
+          the Licensor or others designated to receive attribution as
+          provided in Section 3(a)(1)(A)(i).
+
+  b. Other rights.
+
+       1. Moral rights, such as the right of integrity, are not
+          licensed under this Public License, nor are publicity,
+          privacy, and/or other similar personality rights; however, to
+          the extent possible, the Licensor waives and/or agrees not to
+          assert any such rights held by the Licensor to the limited
+          extent necessary to allow You to exercise the Licensed
+          Rights, but not otherwise.
+
+       2. Patent and trademark rights are not licensed under this
+          Public License.
+
+       3. To the extent possible, the Licensor waives any right to
+          collect royalties from You for the exercise of the Licensed
+          Rights, whether directly or through a collecting society
+          under any voluntary or waivable statutory or compulsory
+          licensing scheme. In all other cases the Licensor expressly
+          reserves any right to collect such royalties, including when
+          the Licensed Material is used other than for NonCommercial
+          purposes.
+
+
+Section 3 -- License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the
+following conditions.
+
+  a. Attribution.
+
+       1. If You Share the Licensed Material (including in modified
+          form), You must:
+
+            a. retain the following if it is supplied by the Licensor
+               with the Licensed Material:
+
+                 i. identification of the creator(s) of the Licensed
+                    Material and any others designated to receive
+                    attribution, in any reasonable manner requested by
+                    the Licensor (including by pseudonym if
+                    designated);
+
+                ii. a copyright notice;
+
+               iii. a notice that refers to this Public License;
+
+                iv. a notice that refers to the disclaimer of
+                    warranties;
+
+                 v. a URI or hyperlink to the Licensed Material to the
+                    extent reasonably practicable;
+
+            b. indicate if You modified the Licensed Material and
+               retain an indication of any previous modifications; and
+
+            c. indicate the Licensed Material is licensed under this
+               Public License, and include the text of, or the URI or
+               hyperlink to, this Public License.
+
+       2. You may satisfy the conditions in Section 3(a)(1) in any
+          reasonable manner based on the medium, means, and context in
+          which You Share the Licensed Material. For example, it may be
+          reasonable to satisfy the conditions by providing a URI or
+          hyperlink to a resource that includes the required
+          information.
+       3. If requested by the Licensor, You must remove any of the
+          information required by Section 3(a)(1)(A) to the extent
+          reasonably practicable.
+
+  b. ShareAlike.
+
+     In addition to the conditions in Section 3(a), if You Share
+     Adapted Material You produce, the following conditions also apply.
+
+       1. The Adapter's License You apply must be a Creative Commons
+          license with the same License Elements, this version or
+          later, or a BY-NC-SA Compatible License.
+
+       2. You must include the text of, or the URI or hyperlink to, the
+          Adapter's License You apply. You may satisfy this condition
+          in any reasonable manner based on the medium, means, and
+          context in which You Share Adapted Material.
+
+       3. You may not offer or impose any additional or different terms
+          or conditions on, or apply any Effective Technological
+          Measures to, Adapted Material that restrict exercise of the
+          rights granted under the Adapter's License You apply.
+
+
+Section 4 -- Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that
+apply to Your use of the Licensed Material:
+
+  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
+     to extract, reuse, reproduce, and Share all or a substantial
+     portion of the contents of the database for NonCommercial purposes
+     only;
+
+  b. if You include all or a substantial portion of the database
+     contents in a database in which You have Sui Generis Database
+     Rights, then the database in which You have Sui Generis Database
+     Rights (but not its individual contents) is Adapted Material,
+     including for purposes of Section 3(b); and
+
+  c. You must comply with the conditions in Section 3(a) if You Share
+     all or a substantial portion of the contents of the database.
+
+For the avoidance of doubt, this Section 4 supplements and does not
+replace Your obligations under this Public License where the Licensed
+Rights include other Copyright and Similar Rights.
+
+
+Section 5 -- Disclaimer of Warranties and Limitation of Liability.
+
+  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
+     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
+     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
+     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
+     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
+     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
+     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
+     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
+     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
+     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
+
+  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
+     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
+     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
+     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
+     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
+     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
+     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
+     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
+     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
+
+  c. The disclaimer of warranties and limitation of liability provided
+     above shall be interpreted in a manner that, to the extent
+     possible, most closely approximates an absolute disclaimer and
+     waiver of all liability.
+
+
+Section 6 -- Term and Termination.
+
+  a. This Public License applies for the term of the Copyright and
+     Similar Rights licensed here. However, if You fail to comply with
+     this Public License, then Your rights under this Public License
+     terminate automatically.
+
+  b. Where Your right to use the Licensed Material has terminated under
+     Section 6(a), it reinstates:
+
+       1. automatically as of the date the violation is cured, provided
+          it is cured within 30 days of Your discovery of the
+          violation; or
+
+       2. upon express reinstatement by the Licensor.
+
+     For the avoidance of doubt, this Section 6(b) does not affect any
+     right the Licensor may have to seek remedies for Your violations
+     of this Public License.
+
+  c. For the avoidance of doubt, the Licensor may also offer the
+     Licensed Material under separate terms or conditions or stop
+     distributing the Licensed Material at any time; however, doing so
+     will not terminate this Public License.
+
+  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
+     License.
+
+
+Section 7 -- Other Terms and Conditions.
+
+  a. The Licensor shall not be bound by any additional or different
+     terms or conditions communicated by You unless expressly agreed.
+
+  b. Any arrangements, understandings, or agreements regarding the
+     Licensed Material not stated herein are separate from and
+     independent of the terms and conditions of this Public License.
+
+
+Section 8 -- Interpretation.
+
+  a. For the avoidance of doubt, this Public License does not, and
+     shall not be interpreted to, reduce, limit, restrict, or impose
+     conditions on any use of the Licensed Material that could lawfully
+     be made without permission under this Public License.
+
+  b. To the extent possible, if any provision of this Public License is
+     deemed unenforceable, it shall be automatically reformed to the
+     minimum extent necessary to make it enforceable. If the provision
+     cannot be reformed, it shall be severed from this Public License
+     without affecting the enforceability of the remaining terms and
+     conditions.
+
+  c. No term or condition of this Public License will be waived and no
+     failure to comply consented to unless expressly agreed to by the
+     Licensor.
+
+  d. Nothing in this Public License constitutes or may be interpreted
+     as a limitation upon, or waiver of, any privileges and immunities
+     that apply to the Licensor or You, including from the legal
+     processes of any jurisdiction or authority.
+
+=======================================================================
+
+Creative Commons is not a party to its public
+licenses. Notwithstanding, Creative Commons may elect to apply one of
+its public licenses to material it publishes and in those instances
+will be considered the �Licensor.� The text of the Creative Commons
+public licenses is dedicated to the public domain under the CC0 Public
+Domain Dedication. Except for the limited purpose of indicating that
+material is shared under a Creative Commons public license or as
+otherwise permitted by the Creative Commons policies published at
+creativecommons.org/policies, Creative Commons does not authorize the
+use of the trademark "Creative Commons" or any other trademark or logo
+of Creative Commons without its prior written consent including,
+without limitation, in connection with any unauthorized modifications
+to any of its public licenses or any other arrangements,
+understandings, or agreements concerning use of licensed material. For
+the avoidance of doubt, this paragraph does not form part of the
+public licenses.
+
+Creative Commons may be contacted at creativecommons.org.
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Headers
@@ -1,0 +1,5 @@
+XSym
+0024
+86c63de7bd8775780ac77380b5c049c4
+Versions/Current/Headers
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
\ No newline at end of file
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Resources
@@ -1,0 +1,5 @@
+XSym
+0026
+e58c4cf10cc7c8ef7d7167ccb641aeb4
+Versions/Current/Resources
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
\ No newline at end of file
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/SDL2
@@ -1,0 +1,5 @@
+XSym
+0021
+6bc79b0d5e45f140eca9088dadc6bbd0
+Versions/Current/SDL2
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
\ No newline at end of file
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h
@@ -1,0 +1,135 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL.h
+ *
+ *  Main include header for the SDL library
+ */
+
+
+#ifndef SDL_h_
+#define SDL_h_
+
+#include "SDL_main.h"
+#include "SDL_stdinc.h"
+#include "SDL_assert.h"
+#include "SDL_atomic.h"
+#include "SDL_audio.h"
+#include "SDL_clipboard.h"
+#include "SDL_cpuinfo.h"
+#include "SDL_endian.h"
+#include "SDL_error.h"
+#include "SDL_events.h"
+#include "SDL_filesystem.h"
+#include "SDL_gamecontroller.h"
+#include "SDL_haptic.h"
+#include "SDL_hints.h"
+#include "SDL_joystick.h"
+#include "SDL_loadso.h"
+#include "SDL_log.h"
+#include "SDL_messagebox.h"
+#include "SDL_mutex.h"
+#include "SDL_power.h"
+#include "SDL_render.h"
+#include "SDL_rwops.h"
+#include "SDL_sensor.h"
+#include "SDL_shape.h"
+#include "SDL_system.h"
+#include "SDL_thread.h"
+#include "SDL_timer.h"
+#include "SDL_version.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* As of version 0.5, SDL is loaded dynamically into the application */
+
+/**
+ *  \name SDL_INIT_*
+ *
+ *  These are the flags which may be passed to SDL_Init().  You should
+ *  specify the subsystems which you will be using in your application.
+ */
+/* @{ */
+#define SDL_INIT_TIMER          0x00000001u
+#define SDL_INIT_AUDIO          0x00000010u
+#define SDL_INIT_VIDEO          0x00000020u  /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */
+#define SDL_INIT_JOYSTICK       0x00000200u  /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */
+#define SDL_INIT_HAPTIC         0x00001000u
+#define SDL_INIT_GAMECONTROLLER 0x00002000u  /**< SDL_INIT_GAMECONTROLLER implies SDL_INIT_JOYSTICK */
+#define SDL_INIT_EVENTS         0x00004000u
+#define SDL_INIT_SENSOR         0x00008000u
+#define SDL_INIT_NOPARACHUTE    0x00100000u  /**< compatibility; this flag is ignored. */
+#define SDL_INIT_EVERYTHING ( \
+                SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
+                SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER | SDL_INIT_SENSOR \
+            )
+/* @} */
+
+/**
+ *  This function initializes  the subsystems specified by \c flags
+ */
+extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags);
+
+/**
+ *  This function initializes specific SDL subsystems
+ *
+ *  Subsystem initialization is ref-counted, you must call
+ *  SDL_QuitSubSystem() for each SDL_InitSubSystem() to correctly
+ *  shutdown a subsystem manually (or call SDL_Quit() to force shutdown).
+ *  If a subsystem is already loaded then this call will
+ *  increase the ref-count and return.
+ */
+extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
+
+/**
+ *  This function cleans up specific SDL subsystems
+ */
+extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags);
+
+/**
+ *  This function returns a mask of the specified subsystems which have
+ *  previously been initialized.
+ *
+ *  If \c flags is 0, it returns a mask of all initialized subsystems.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
+
+/**
+ *  This function cleans up all initialized subsystems. You should
+ *  call it upon all exit conditions.
+ */
+extern DECLSPEC void SDLCALL SDL_Quit(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h
@@ -1,0 +1,291 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_assert_h_
+#define SDL_assert_h_
+
+#include "SDL_config.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef SDL_ASSERT_LEVEL
+#ifdef SDL_DEFAULT_ASSERT_LEVEL
+#define SDL_ASSERT_LEVEL SDL_DEFAULT_ASSERT_LEVEL
+#elif defined(_DEBUG) || defined(DEBUG) || \
+      (defined(__GNUC__) && !defined(__OPTIMIZE__))
+#define SDL_ASSERT_LEVEL 2
+#else
+#define SDL_ASSERT_LEVEL 1
+#endif
+#endif /* SDL_ASSERT_LEVEL */
+
+/*
+These are macros and not first class functions so that the debugger breaks
+on the assertion line and not in some random guts of SDL, and so each
+assert can have unique static variables associated with it.
+*/
+
+#if defined(_MSC_VER)
+/* Don't include intrin.h here because it contains C++ code */
+    extern void __cdecl __debugbreak(void);
+    #define SDL_TriggerBreakpoint() __debugbreak()
+#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
+    #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
+#elif defined(__386__) && defined(__WATCOMC__)
+    #define SDL_TriggerBreakpoint() { _asm { int 0x03 } }
+#elif defined(HAVE_SIGNAL_H) && !defined(__WATCOMC__)
+    #include <signal.h>
+    #define SDL_TriggerBreakpoint() raise(SIGTRAP)
+#else
+    /* How do we trigger breakpoints on this platform? */
+    #define SDL_TriggerBreakpoint()
+#endif
+
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */
+#   define SDL_FUNCTION __func__
+#elif ((__GNUC__ >= 2) || defined(_MSC_VER) || defined (__WATCOMC__))
+#   define SDL_FUNCTION __FUNCTION__
+#else
+#   define SDL_FUNCTION "???"
+#endif
+#define SDL_FILE    __FILE__
+#define SDL_LINE    __LINE__
+
+/*
+sizeof (x) makes the compiler still parse the expression even without
+assertions enabled, so the code is always checked at compile time, but
+doesn't actually generate code for it, so there are no side effects or
+expensive checks at run time, just the constant size of what x WOULD be,
+which presumably gets optimized out as unused.
+This also solves the problem of...
+
+    int somevalue = blah();
+    SDL_assert(somevalue == 1);
+
+...which would cause compiles to complain that somevalue is unused if we
+disable assertions.
+*/
+
+/* "while (0,0)" fools Microsoft's compiler's /W4 warning level into thinking
+    this condition isn't constant. And looks like an owl's face! */
+#ifdef _MSC_VER  /* stupid /W4 warnings. */
+#define SDL_NULL_WHILE_LOOP_CONDITION (0,0)
+#else
+#define SDL_NULL_WHILE_LOOP_CONDITION (0)
+#endif
+
+#define SDL_disabled_assert(condition) \
+    do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
+
+typedef enum
+{
+    SDL_ASSERTION_RETRY,  /**< Retry the assert immediately. */
+    SDL_ASSERTION_BREAK,  /**< Make the debugger trigger a breakpoint. */
+    SDL_ASSERTION_ABORT,  /**< Terminate the program. */
+    SDL_ASSERTION_IGNORE,  /**< Ignore the assert. */
+    SDL_ASSERTION_ALWAYS_IGNORE  /**< Ignore the assert from now on. */
+} SDL_AssertState;
+
+typedef struct SDL_AssertData
+{
+    int always_ignore;
+    unsigned int trigger_count;
+    const char *condition;
+    const char *filename;
+    int linenum;
+    const char *function;
+    const struct SDL_AssertData *next;
+} SDL_AssertData;
+
+#if (SDL_ASSERT_LEVEL > 0)
+
+/* Never call this directly. Use the SDL_assert* macros. */
+extern DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *,
+                                                             const char *,
+                                                             const char *, int)
+#if defined(__clang__)
+#if __has_feature(attribute_analyzer_noreturn)
+/* this tells Clang's static analysis that we're a custom assert function,
+   and that the analyzer should assume the condition was always true past this
+   SDL_assert test. */
+   __attribute__((analyzer_noreturn))
+#endif
+#endif
+;
+
+/* the do {} while(0) avoids dangling else problems:
+    if (x) SDL_assert(y); else blah();
+       ... without the do/while, the "else" could attach to this macro's "if".
+   We try to handle just the minimum we need here in a macro...the loop,
+   the static vars, and break points. The heavy lifting is handled in
+   SDL_ReportAssertion(), in SDL_assert.c.
+*/
+#define SDL_enabled_assert(condition) \
+    do { \
+        while ( !(condition) ) { \
+            static struct SDL_AssertData sdl_assert_data = { \
+                0, 0, #condition, 0, 0, 0, 0 \
+            }; \
+            const SDL_AssertState sdl_assert_state = SDL_ReportAssertion(&sdl_assert_data, SDL_FUNCTION, SDL_FILE, SDL_LINE); \
+            if (sdl_assert_state == SDL_ASSERTION_RETRY) { \
+                continue; /* go again. */ \
+            } else if (sdl_assert_state == SDL_ASSERTION_BREAK) { \
+                SDL_TriggerBreakpoint(); \
+            } \
+            break; /* not retrying. */ \
+        } \
+    } while (SDL_NULL_WHILE_LOOP_CONDITION)
+
+#endif  /* enabled assertions support code */
+
+/* Enable various levels of assertions. */
+#if SDL_ASSERT_LEVEL == 0   /* assertions disabled */
+#   define SDL_assert(condition) SDL_disabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_disabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
+#elif SDL_ASSERT_LEVEL == 1  /* release settings. */
+#   define SDL_assert(condition) SDL_disabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
+#elif SDL_ASSERT_LEVEL == 2  /* normal settings. */
+#   define SDL_assert(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
+#elif SDL_ASSERT_LEVEL == 3  /* paranoid settings. */
+#   define SDL_assert(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_enabled_assert(condition)
+#else
+#   error Unknown assertion level.
+#endif
+
+/* this assertion is never disabled at any level. */
+#define SDL_assert_always(condition) SDL_enabled_assert(condition)
+
+
+typedef SDL_AssertState (SDLCALL *SDL_AssertionHandler)(
+                                 const SDL_AssertData* data, void* userdata);
+
+/**
+ *  \brief Set an application-defined assertion handler.
+ *
+ *  This allows an app to show its own assertion UI and/or force the
+ *  response to an assertion failure. If the app doesn't provide this, SDL
+ *  will try to do the right thing, popping up a system-specific GUI dialog,
+ *  and probably minimizing any fullscreen windows.
+ *
+ *  This callback may fire from any thread, but it runs wrapped in a mutex, so
+ *  it will only fire from one thread at a time.
+ *
+ *  Setting the callback to NULL restores SDL's original internal handler.
+ *
+ *  This callback is NOT reset to SDL's internal handler upon SDL_Quit()!
+ *
+ *  Return SDL_AssertState value of how to handle the assertion failure.
+ *
+ *  \param handler Callback function, called when an assertion fails.
+ *  \param userdata A pointer passed to the callback as-is.
+ */
+extern DECLSPEC void SDLCALL SDL_SetAssertionHandler(
+                                            SDL_AssertionHandler handler,
+                                            void *userdata);
+
+/**
+ *  \brief Get the default assertion handler.
+ *
+ *  This returns the function pointer that is called by default when an
+ *   assertion is triggered. This is an internal function provided by SDL,
+ *   that is used for assertions when SDL_SetAssertionHandler() hasn't been
+ *   used to provide a different function.
+ *
+ *  \return The default SDL_AssertionHandler that is called when an assert triggers.
+ */
+extern DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetDefaultAssertionHandler(void);
+
+/**
+ *  \brief Get the current assertion handler.
+ *
+ *  This returns the function pointer that is called when an assertion is
+ *   triggered. This is either the value last passed to
+ *   SDL_SetAssertionHandler(), or if no application-specified function is
+ *   set, is equivalent to calling SDL_GetDefaultAssertionHandler().
+ *
+ *   \param puserdata Pointer to a void*, which will store the "userdata"
+ *                    pointer that was passed to SDL_SetAssertionHandler().
+ *                    This value will always be NULL for the default handler.
+ *                    If you don't care about this data, it is safe to pass
+ *                    a NULL pointer to this function to ignore it.
+ *  \return The SDL_AssertionHandler that is called when an assert triggers.
+ */
+extern DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetAssertionHandler(void **puserdata);
+
+/**
+ *  \brief Get a list of all assertion failures.
+ *
+ *  Get all assertions triggered since last call to SDL_ResetAssertionReport(),
+ *  or the start of the program.
+ *
+ *  The proper way to examine this data looks something like this:
+ *
+ *  <code>
+ *  const SDL_AssertData *item = SDL_GetAssertionReport();
+ *  while (item) {
+ *      printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\\n",
+ *             item->condition, item->function, item->filename,
+ *             item->linenum, item->trigger_count,
+ *             item->always_ignore ? "yes" : "no");
+ *      item = item->next;
+ *  }
+ *  </code>
+ *
+ *  \return List of all assertions.
+ *  \sa SDL_ResetAssertionReport
+ */
+extern DECLSPEC const SDL_AssertData * SDLCALL SDL_GetAssertionReport(void);
+
+/**
+ *  \brief Reset the list of all assertion failures.
+ *
+ *  Reset list of all assertions triggered.
+ *
+ *  \sa SDL_GetAssertionReport
+ */
+extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void);
+
+
+/* these had wrong naming conventions until 2.0.4. Please update your app! */
+#define SDL_assert_state SDL_AssertState
+#define SDL_assert_data SDL_AssertData
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_assert_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h
@@ -1,0 +1,295 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ * \file SDL_atomic.h
+ *
+ * Atomic operations.
+ *
+ * IMPORTANT:
+ * If you are not an expert in concurrent lockless programming, you should
+ * only be using the atomic lock and reference counting functions in this
+ * file.  In all other cases you should be protecting your data structures
+ * with full mutexes.
+ *
+ * The list of "safe" functions to use are:
+ *  SDL_AtomicLock()
+ *  SDL_AtomicUnlock()
+ *  SDL_AtomicIncRef()
+ *  SDL_AtomicDecRef()
+ *
+ * Seriously, here be dragons!
+ * ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ *
+ * You can find out a little more about lockless programming and the
+ * subtle issues that can arise here:
+ * http://msdn.microsoft.com/en-us/library/ee418650%28v=vs.85%29.aspx
+ *
+ * There's also lots of good information here:
+ * http://www.1024cores.net/home/lock-free-algorithms
+ * http://preshing.com/
+ *
+ * These operations may or may not actually be implemented using
+ * processor specific atomic operations. When possible they are
+ * implemented as true processor specific atomic operations. When that
+ * is not possible the are implemented using locks that *do* use the
+ * available atomic operations.
+ *
+ * All of the atomic operations that modify memory are full memory barriers.
+ */
+
+#ifndef SDL_atomic_h_
+#define SDL_atomic_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_platform.h"
+
+#include "begin_code.h"
+
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \name SDL AtomicLock
+ *
+ * The atomic locks are efficient spinlocks using CPU instructions,
+ * but are vulnerable to starvation and can spin forever if a thread
+ * holding a lock has been terminated.  For this reason you should
+ * minimize the code executed inside an atomic lock and never do
+ * expensive things like API or system calls while holding them.
+ *
+ * The atomic locks are not safe to lock recursively.
+ *
+ * Porting Note:
+ * The spin lock functions and type are required and can not be
+ * emulated because they are used in the atomic emulation code.
+ */
+/* @{ */
+
+typedef int SDL_SpinLock;
+
+/**
+ * \brief Try to lock a spin lock by setting it to a non-zero value.
+ *
+ * \param lock Points to the lock.
+ *
+ * \return SDL_TRUE if the lock succeeded, SDL_FALSE if the lock is already held.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_AtomicTryLock(SDL_SpinLock *lock);
+
+/**
+ * \brief Lock a spin lock by setting it to a non-zero value.
+ *
+ * \param lock Points to the lock.
+ */
+extern DECLSPEC void SDLCALL SDL_AtomicLock(SDL_SpinLock *lock);
+
+/**
+ * \brief Unlock a spin lock by setting it to 0. Always returns immediately
+ *
+ * \param lock Points to the lock.
+ */
+extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock);
+
+/* @} *//* SDL AtomicLock */
+
+
+/**
+ * The compiler barrier prevents the compiler from reordering
+ * reads and writes to globally visible variables across the call.
+ */
+#if defined(_MSC_VER) && (_MSC_VER > 1200) && !defined(__clang__)
+void _ReadWriteBarrier(void);
+#pragma intrinsic(_ReadWriteBarrier)
+#define SDL_CompilerBarrier()   _ReadWriteBarrier()
+#elif (defined(__GNUC__) && !defined(__EMSCRIPTEN__)) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120))
+/* This is correct for all CPUs when using GCC or Solaris Studio 12.1+. */
+#define SDL_CompilerBarrier()   __asm__ __volatile__ ("" : : : "memory")
+#elif defined(__WATCOMC__)
+extern _inline void SDL_CompilerBarrier (void);
+#pragma aux SDL_CompilerBarrier = "" parm [] modify exact [];
+#else
+#define SDL_CompilerBarrier()   \
+{ SDL_SpinLock _tmp = 0; SDL_AtomicLock(&_tmp); SDL_AtomicUnlock(&_tmp); }
+#endif
+
+/**
+ * Memory barriers are designed to prevent reads and writes from being
+ * reordered by the compiler and being seen out of order on multi-core CPUs.
+ *
+ * A typical pattern would be for thread A to write some data and a flag,
+ * and for thread B to read the flag and get the data. In this case you
+ * would insert a release barrier between writing the data and the flag,
+ * guaranteeing that the data write completes no later than the flag is
+ * written, and you would insert an acquire barrier between reading the
+ * flag and reading the data, to ensure that all the reads associated
+ * with the flag have completed.
+ *
+ * In this pattern you should always see a release barrier paired with
+ * an acquire barrier and you should gate the data reads/writes with a
+ * single flag variable.
+ *
+ * For more information on these semantics, take a look at the blog post:
+ * http://preshing.com/20120913/acquire-and-release-semantics
+ */
+extern DECLSPEC void SDLCALL SDL_MemoryBarrierReleaseFunction(void);
+extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void);
+
+#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("lwsync" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("lwsync" : : : "memory")
+#elif defined(__GNUC__) && defined(__aarch64__)
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#elif defined(__GNUC__) && defined(__arm__)
+#if 0 /* defined(__LINUX__) || defined(__ANDROID__) */
+/* Information from:
+   https://chromium.googlesource.com/chromium/chromium/+/trunk/base/atomicops_internals_arm_gcc.h#19
+
+   The Linux kernel provides a helper function which provides the right code for a memory barrier,
+   hard-coded at address 0xffff0fa0
+*/
+typedef void (*SDL_KernelMemoryBarrierFunc)();
+#define SDL_MemoryBarrierRelease()	((SDL_KernelMemoryBarrierFunc)0xffff0fa0)()
+#define SDL_MemoryBarrierAcquire()	((SDL_KernelMemoryBarrierFunc)0xffff0fa0)()
+#elif 0 /* defined(__QNXNTO__) */
+#include <sys/cpuinline.h>
+
+#define SDL_MemoryBarrierRelease()   __cpu_membarrier()
+#define SDL_MemoryBarrierAcquire()   __cpu_membarrier()
+#else
+#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) || defined(__ARM_ARCH_8A__)
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_5TE__)
+#ifdef __thumb__
+/* The mcr instruction isn't available in thumb mode, use real functions */
+#define SDL_MEMORY_BARRIER_USES_FUNCTION
+#define SDL_MemoryBarrierRelease()   SDL_MemoryBarrierReleaseFunction()
+#define SDL_MemoryBarrierAcquire()   SDL_MemoryBarrierAcquireFunction()
+#else
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r"(0) : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r"(0) : "memory")
+#endif /* __thumb__ */
+#else
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("" : : : "memory")
+#endif /* __LINUX__ || __ANDROID__ */
+#endif /* __GNUC__ && __arm__ */
+#else
+#if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120))
+/* This is correct for all CPUs on Solaris when using Solaris Studio 12.1+. */
+#include <mbarrier.h>
+#define SDL_MemoryBarrierRelease()  __machine_rel_barrier()
+#define SDL_MemoryBarrierAcquire()  __machine_acq_barrier()
+#else
+/* This is correct for the x86 and x64 CPUs, and we'll expand this over time. */
+#define SDL_MemoryBarrierRelease()  SDL_CompilerBarrier()
+#define SDL_MemoryBarrierAcquire()  SDL_CompilerBarrier()
+#endif
+#endif
+
+/**
+ * \brief A type representing an atomic integer value.  It is a struct
+ *        so people don't accidentally use numeric operations on it.
+ */
+typedef struct { int value; } SDL_atomic_t;
+
+/**
+ * \brief Set an atomic variable to a new value if it is currently an old value.
+ *
+ * \return SDL_TRUE if the atomic variable was set, SDL_FALSE otherwise.
+ *
+ * \note If you don't know what this function is for, you shouldn't use it!
+*/
+extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
+
+/**
+ * \brief Set an atomic variable to a value.
+ *
+ * \return The previous value of the atomic variable.
+ */
+extern DECLSPEC int SDLCALL SDL_AtomicSet(SDL_atomic_t *a, int v);
+
+/**
+ * \brief Get the value of an atomic variable
+ */
+extern DECLSPEC int SDLCALL SDL_AtomicGet(SDL_atomic_t *a);
+
+/**
+ * \brief Add to an atomic variable.
+ *
+ * \return The previous value of the atomic variable.
+ *
+ * \note This same style can be used for any number operation
+ */
+extern DECLSPEC int SDLCALL SDL_AtomicAdd(SDL_atomic_t *a, int v);
+
+/**
+ * \brief Increment an atomic variable used as a reference count.
+ */
+#ifndef SDL_AtomicIncRef
+#define SDL_AtomicIncRef(a)    SDL_AtomicAdd(a, 1)
+#endif
+
+/**
+ * \brief Decrement an atomic variable used as a reference count.
+ *
+ * \return SDL_TRUE if the variable reached zero after decrementing,
+ *         SDL_FALSE otherwise
+ */
+#ifndef SDL_AtomicDecRef
+#define SDL_AtomicDecRef(a)    (SDL_AtomicAdd(a, -1) == 1)
+#endif
+
+/**
+ * \brief Set a pointer to a new value if it is currently an old value.
+ *
+ * \return SDL_TRUE if the pointer was set, SDL_FALSE otherwise.
+ *
+ * \note If you don't know what this function is for, you shouldn't use it!
+*/
+extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval);
+
+/**
+ * \brief Set a pointer to a value atomically.
+ *
+ * \return The previous value of the pointer.
+ */
+extern DECLSPEC void* SDLCALL SDL_AtomicSetPtr(void **a, void* v);
+
+/**
+ * \brief Get the value of a pointer atomically.
+ */
+extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+
+#include "close_code.h"
+
+#endif /* SDL_atomic_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h
@@ -1,0 +1,859 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_audio.h
+ *
+ *  Access to the raw audio mixing buffer for the SDL library.
+ */
+
+#ifndef SDL_audio_h_
+#define SDL_audio_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_endian.h"
+#include "SDL_mutex.h"
+#include "SDL_thread.h"
+#include "SDL_rwops.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Audio format flags.
+ *
+ *  These are what the 16 bits in SDL_AudioFormat currently mean...
+ *  (Unspecified bits are always zero).
+ *
+ *  \verbatim
+    ++-----------------------sample is signed if set
+    ||
+    ||       ++-----------sample is bigendian if set
+    ||       ||
+    ||       ||          ++---sample is float if set
+    ||       ||          ||
+    ||       ||          || +---sample bit size---+
+    ||       ||          || |                     |
+    15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
+    \endverbatim
+ *
+ *  There are macros in SDL 2.0 and later to query these bits.
+ */
+typedef Uint16 SDL_AudioFormat;
+
+/**
+ *  \name Audio flags
+ */
+/* @{ */
+
+#define SDL_AUDIO_MASK_BITSIZE       (0xFF)
+#define SDL_AUDIO_MASK_DATATYPE      (1<<8)
+#define SDL_AUDIO_MASK_ENDIAN        (1<<12)
+#define SDL_AUDIO_MASK_SIGNED        (1<<15)
+#define SDL_AUDIO_BITSIZE(x)         (x & SDL_AUDIO_MASK_BITSIZE)
+#define SDL_AUDIO_ISFLOAT(x)         (x & SDL_AUDIO_MASK_DATATYPE)
+#define SDL_AUDIO_ISBIGENDIAN(x)     (x & SDL_AUDIO_MASK_ENDIAN)
+#define SDL_AUDIO_ISSIGNED(x)        (x & SDL_AUDIO_MASK_SIGNED)
+#define SDL_AUDIO_ISINT(x)           (!SDL_AUDIO_ISFLOAT(x))
+#define SDL_AUDIO_ISLITTLEENDIAN(x)  (!SDL_AUDIO_ISBIGENDIAN(x))
+#define SDL_AUDIO_ISUNSIGNED(x)      (!SDL_AUDIO_ISSIGNED(x))
+
+/**
+ *  \name Audio format flags
+ *
+ *  Defaults to LSB byte order.
+ */
+/* @{ */
+#define AUDIO_U8        0x0008  /**< Unsigned 8-bit samples */
+#define AUDIO_S8        0x8008  /**< Signed 8-bit samples */
+#define AUDIO_U16LSB    0x0010  /**< Unsigned 16-bit samples */
+#define AUDIO_S16LSB    0x8010  /**< Signed 16-bit samples */
+#define AUDIO_U16MSB    0x1010  /**< As above, but big-endian byte order */
+#define AUDIO_S16MSB    0x9010  /**< As above, but big-endian byte order */
+#define AUDIO_U16       AUDIO_U16LSB
+#define AUDIO_S16       AUDIO_S16LSB
+/* @} */
+
+/**
+ *  \name int32 support
+ */
+/* @{ */
+#define AUDIO_S32LSB    0x8020  /**< 32-bit integer samples */
+#define AUDIO_S32MSB    0x9020  /**< As above, but big-endian byte order */
+#define AUDIO_S32       AUDIO_S32LSB
+/* @} */
+
+/**
+ *  \name float32 support
+ */
+/* @{ */
+#define AUDIO_F32LSB    0x8120  /**< 32-bit floating point samples */
+#define AUDIO_F32MSB    0x9120  /**< As above, but big-endian byte order */
+#define AUDIO_F32       AUDIO_F32LSB
+/* @} */
+
+/**
+ *  \name Native audio byte ordering
+ */
+/* @{ */
+#if SDL_BYTEORDER == SDL_LIL_ENDIAN
+#define AUDIO_U16SYS    AUDIO_U16LSB
+#define AUDIO_S16SYS    AUDIO_S16LSB
+#define AUDIO_S32SYS    AUDIO_S32LSB
+#define AUDIO_F32SYS    AUDIO_F32LSB
+#else
+#define AUDIO_U16SYS    AUDIO_U16MSB
+#define AUDIO_S16SYS    AUDIO_S16MSB
+#define AUDIO_S32SYS    AUDIO_S32MSB
+#define AUDIO_F32SYS    AUDIO_F32MSB
+#endif
+/* @} */
+
+/**
+ *  \name Allow change flags
+ *
+ *  Which audio format changes are allowed when opening a device.
+ */
+/* @{ */
+#define SDL_AUDIO_ALLOW_FREQUENCY_CHANGE    0x00000001
+#define SDL_AUDIO_ALLOW_FORMAT_CHANGE       0x00000002
+#define SDL_AUDIO_ALLOW_CHANNELS_CHANGE     0x00000004
+#define SDL_AUDIO_ALLOW_SAMPLES_CHANGE      0x00000008
+#define SDL_AUDIO_ALLOW_ANY_CHANGE          (SDL_AUDIO_ALLOW_FREQUENCY_CHANGE|SDL_AUDIO_ALLOW_FORMAT_CHANGE|SDL_AUDIO_ALLOW_CHANNELS_CHANGE|SDL_AUDIO_ALLOW_SAMPLES_CHANGE)
+/* @} */
+
+/* @} *//* Audio flags */
+
+/**
+ *  This function is called when the audio device needs more data.
+ *
+ *  \param userdata An application-specific parameter saved in
+ *                  the SDL_AudioSpec structure
+ *  \param stream A pointer to the audio data buffer.
+ *  \param len    The length of that buffer in bytes.
+ *
+ *  Once the callback returns, the buffer will no longer be valid.
+ *  Stereo samples are stored in a LRLRLR ordering.
+ *
+ *  You can choose to avoid callbacks and use SDL_QueueAudio() instead, if
+ *  you like. Just open your audio device with a NULL callback.
+ */
+typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream,
+                                            int len);
+
+/**
+ *  The calculated values in this structure are calculated by SDL_OpenAudio().
+ *
+ *  For multi-channel audio, the default SDL channel mapping is:
+ *  2:  FL FR                       (stereo)
+ *  3:  FL FR LFE                   (2.1 surround)
+ *  4:  FL FR BL BR                 (quad)
+ *  5:  FL FR FC BL BR              (quad + center)
+ *  6:  FL FR FC LFE SL SR          (5.1 surround - last two can also be BL BR)
+ *  7:  FL FR FC LFE BC SL SR       (6.1 surround)
+ *  8:  FL FR FC LFE BL BR SL SR    (7.1 surround)
+ */
+typedef struct SDL_AudioSpec
+{
+    int freq;                   /**< DSP frequency -- samples per second */
+    SDL_AudioFormat format;     /**< Audio data format */
+    Uint8 channels;             /**< Number of channels: 1 mono, 2 stereo */
+    Uint8 silence;              /**< Audio buffer silence value (calculated) */
+    Uint16 samples;             /**< Audio buffer size in sample FRAMES (total samples divided by channel count) */
+    Uint16 padding;             /**< Necessary for some compile environments */
+    Uint32 size;                /**< Audio buffer size in bytes (calculated) */
+    SDL_AudioCallback callback; /**< Callback that feeds the audio device (NULL to use SDL_QueueAudio()). */
+    void *userdata;             /**< Userdata passed to callback (ignored for NULL callbacks). */
+} SDL_AudioSpec;
+
+
+struct SDL_AudioCVT;
+typedef void (SDLCALL * SDL_AudioFilter) (struct SDL_AudioCVT * cvt,
+                                          SDL_AudioFormat format);
+
+/**
+ *  \brief Upper limit of filters in SDL_AudioCVT
+ *
+ *  The maximum number of SDL_AudioFilter functions in SDL_AudioCVT is
+ *  currently limited to 9. The SDL_AudioCVT.filters array has 10 pointers,
+ *  one of which is the terminating NULL pointer.
+ */
+#define SDL_AUDIOCVT_MAX_FILTERS 9
+
+/**
+ *  \struct SDL_AudioCVT
+ *  \brief A structure to hold a set of audio conversion filters and buffers.
+ *
+ *  Note that various parts of the conversion pipeline can take advantage
+ *  of SIMD operations (like SSE2, for example). SDL_AudioCVT doesn't require
+ *  you to pass it aligned data, but can possibly run much faster if you
+ *  set both its (buf) field to a pointer that is aligned to 16 bytes, and its
+ *  (len) field to something that's a multiple of 16, if possible.
+ */
+#ifdef __GNUC__
+/* This structure is 84 bytes on 32-bit architectures, make sure GCC doesn't
+   pad it out to 88 bytes to guarantee ABI compatibility between compilers.
+   vvv
+   The next time we rev the ABI, make sure to size the ints and add padding.
+*/
+#define SDL_AUDIOCVT_PACKED __attribute__((packed))
+#else
+#define SDL_AUDIOCVT_PACKED
+#endif
+/* */
+typedef struct SDL_AudioCVT
+{
+    int needed;                 /**< Set to 1 if conversion possible */
+    SDL_AudioFormat src_format; /**< Source audio format */
+    SDL_AudioFormat dst_format; /**< Target audio format */
+    double rate_incr;           /**< Rate conversion increment */
+    Uint8 *buf;                 /**< Buffer to hold entire audio data */
+    int len;                    /**< Length of original audio buffer */
+    int len_cvt;                /**< Length of converted audio buffer */
+    int len_mult;               /**< buffer must be len*len_mult big */
+    double len_ratio;           /**< Given len, final size is len*len_ratio */
+    SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
+    int filter_index;           /**< Current audio conversion function */
+} SDL_AUDIOCVT_PACKED SDL_AudioCVT;
+
+
+/* Function prototypes */
+
+/**
+ *  \name Driver discovery functions
+ *
+ *  These functions return the list of built in audio drivers, in the
+ *  order that they are normally initialized by default.
+ */
+/* @{ */
+extern DECLSPEC int SDLCALL SDL_GetNumAudioDrivers(void);
+extern DECLSPEC const char *SDLCALL SDL_GetAudioDriver(int index);
+/* @} */
+
+/**
+ *  \name Initialization and cleanup
+ *
+ *  \internal These functions are used internally, and should not be used unless
+ *            you have a specific need to specify the audio driver you want to
+ *            use.  You should normally use SDL_Init() or SDL_InitSubSystem().
+ */
+/* @{ */
+extern DECLSPEC int SDLCALL SDL_AudioInit(const char *driver_name);
+extern DECLSPEC void SDLCALL SDL_AudioQuit(void);
+/* @} */
+
+/**
+ *  This function returns the name of the current audio driver, or NULL
+ *  if no driver has been initialized.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetCurrentAudioDriver(void);
+
+/**
+ *  This function opens the audio device with the desired parameters, and
+ *  returns 0 if successful, placing the actual hardware parameters in the
+ *  structure pointed to by \c obtained.  If \c obtained is NULL, the audio
+ *  data passed to the callback function will be guaranteed to be in the
+ *  requested format, and will be automatically converted to the hardware
+ *  audio format if necessary.  This function returns -1 if it failed
+ *  to open the audio device, or couldn't set up the audio thread.
+ *
+ *  When filling in the desired audio spec structure,
+ *    - \c desired->freq should be the desired audio frequency in samples-per-
+ *      second.
+ *    - \c desired->format should be the desired audio format.
+ *    - \c desired->samples is the desired size of the audio buffer, in
+ *      samples.  This number should be a power of two, and may be adjusted by
+ *      the audio driver to a value more suitable for the hardware.  Good values
+ *      seem to range between 512 and 8096 inclusive, depending on the
+ *      application and CPU speed.  Smaller values yield faster response time,
+ *      but can lead to underflow if the application is doing heavy processing
+ *      and cannot fill the audio buffer in time.  A stereo sample consists of
+ *      both right and left channels in LR ordering.
+ *      Note that the number of samples is directly related to time by the
+ *      following formula:  \code ms = (samples*1000)/freq \endcode
+ *    - \c desired->size is the size in bytes of the audio buffer, and is
+ *      calculated by SDL_OpenAudio().
+ *    - \c desired->silence is the value used to set the buffer to silence,
+ *      and is calculated by SDL_OpenAudio().
+ *    - \c desired->callback should be set to a function that will be called
+ *      when the audio device is ready for more data.  It is passed a pointer
+ *      to the audio buffer, and the length in bytes of the audio buffer.
+ *      This function usually runs in a separate thread, and so you should
+ *      protect data structures that it accesses by calling SDL_LockAudio()
+ *      and SDL_UnlockAudio() in your code. Alternately, you may pass a NULL
+ *      pointer here, and call SDL_QueueAudio() with some frequency, to queue
+ *      more audio samples to be played (or for capture devices, call
+ *      SDL_DequeueAudio() with some frequency, to obtain audio samples).
+ *    - \c desired->userdata is passed as the first parameter to your callback
+ *      function. If you passed a NULL callback, this value is ignored.
+ *
+ *  The audio device starts out playing silence when it's opened, and should
+ *  be enabled for playing by calling \c SDL_PauseAudio(0) when you are ready
+ *  for your audio callback function to be called.  Since the audio driver
+ *  may modify the requested size of the audio buffer, you should allocate
+ *  any local mixing buffers after you open the audio device.
+ */
+extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec * desired,
+                                          SDL_AudioSpec * obtained);
+
+/**
+ *  SDL Audio Device IDs.
+ *
+ *  A successful call to SDL_OpenAudio() is always device id 1, and legacy
+ *  SDL audio APIs assume you want this device ID. SDL_OpenAudioDevice() calls
+ *  always returns devices >= 2 on success. The legacy calls are good both
+ *  for backwards compatibility and when you don't care about multiple,
+ *  specific, or capture devices.
+ */
+typedef Uint32 SDL_AudioDeviceID;
+
+/**
+ *  Get the number of available devices exposed by the current driver.
+ *  Only valid after a successfully initializing the audio subsystem.
+ *  Returns -1 if an explicit list of devices can't be determined; this is
+ *  not an error. For example, if SDL is set up to talk to a remote audio
+ *  server, it can't list every one available on the Internet, but it will
+ *  still allow a specific host to be specified to SDL_OpenAudioDevice().
+ *
+ *  In many common cases, when this function returns a value <= 0, it can still
+ *  successfully open the default device (NULL for first argument of
+ *  SDL_OpenAudioDevice()).
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumAudioDevices(int iscapture);
+
+/**
+ *  Get the human-readable name of a specific audio device.
+ *  Must be a value between 0 and (number of audio devices-1).
+ *  Only valid after a successfully initializing the audio subsystem.
+ *  The values returned by this function reflect the latest call to
+ *  SDL_GetNumAudioDevices(); recall that function to redetect available
+ *  hardware.
+ *
+ *  The string returned by this function is UTF-8 encoded, read-only, and
+ *  managed internally. You are not to free it. If you need to keep the
+ *  string for any length of time, you should make your own copy of it, as it
+ *  will be invalid next time any of several other SDL functions is called.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,
+                                                           int iscapture);
+
+
+/**
+ *  Open a specific audio device. Passing in a device name of NULL requests
+ *  the most reasonable default (and is equivalent to calling SDL_OpenAudio()).
+ *
+ *  The device name is a UTF-8 string reported by SDL_GetAudioDeviceName(), but
+ *  some drivers allow arbitrary and driver-specific strings, such as a
+ *  hostname/IP address for a remote audio server, or a filename in the
+ *  diskaudio driver.
+ *
+ *  \return 0 on error, a valid device ID that is >= 2 on success.
+ *
+ *  SDL_OpenAudio(), unlike this function, always acts on device ID 1.
+ */
+extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(const char
+                                                              *device,
+                                                              int iscapture,
+                                                              const
+                                                              SDL_AudioSpec *
+                                                              desired,
+                                                              SDL_AudioSpec *
+                                                              obtained,
+                                                              int
+                                                              allowed_changes);
+
+
+
+/**
+ *  \name Audio state
+ *
+ *  Get the current audio state.
+ */
+/* @{ */
+typedef enum
+{
+    SDL_AUDIO_STOPPED = 0,
+    SDL_AUDIO_PLAYING,
+    SDL_AUDIO_PAUSED
+} SDL_AudioStatus;
+extern DECLSPEC SDL_AudioStatus SDLCALL SDL_GetAudioStatus(void);
+
+extern DECLSPEC SDL_AudioStatus SDLCALL
+SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
+/* @} *//* Audio State */
+
+/**
+ *  \name Pause audio functions
+ *
+ *  These functions pause and unpause the audio callback processing.
+ *  They should be called with a parameter of 0 after opening the audio
+ *  device to start playing sound.  This is so you can safely initialize
+ *  data for your callback function after opening the audio device.
+ *  Silence will be written to the audio device during the pause.
+ */
+/* @{ */
+extern DECLSPEC void SDLCALL SDL_PauseAudio(int pause_on);
+extern DECLSPEC void SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev,
+                                                  int pause_on);
+/* @} *//* Pause audio functions */
+
+/**
+ *  \brief Load the audio data of a WAVE file into memory
+ *
+ *  Loading a WAVE file requires \c src, \c spec, \c audio_buf and \c audio_len
+ *  to be valid pointers. The entire data portion of the file is then loaded
+ *  into memory and decoded if necessary.
+ *
+ *  If \c freesrc is non-zero, the data source gets automatically closed and
+ *  freed before the function returns.
+ *
+ *  Supported are RIFF WAVE files with the formats PCM (8, 16, 24, and 32 bits),
+ *  IEEE Float (32 bits), Microsoft ADPCM and IMA ADPCM (4 bits), and A-law and
+ *  µ-law (8 bits). Other formats are currently unsupported and cause an error.
+ *
+ *  If this function succeeds, the pointer returned by it is equal to \c spec
+ *  and the pointer to the audio data allocated by the function is written to
+ *  \c audio_buf and its length in bytes to \c audio_len. The \ref SDL_AudioSpec
+ *  members \c freq, \c channels, and \c format are set to the values of the
+ *  audio data in the buffer. The \c samples member is set to a sane default and
+ *  all others are set to zero.
+ *
+ *  It's necessary to use SDL_FreeWAV() to free the audio data returned in
+ *  \c audio_buf when it is no longer used.
+ *
+ *  Because of the underspecification of the Waveform format, there are many
+ *  problematic files in the wild that cause issues with strict decoders. To
+ *  provide compatibility with these files, this decoder is lenient in regards
+ *  to the truncation of the file, the fact chunk, and the size of the RIFF
+ *  chunk. The hints SDL_HINT_WAVE_RIFF_CHUNK_SIZE, SDL_HINT_WAVE_TRUNCATION,
+ *  and SDL_HINT_WAVE_FACT_CHUNK can be used to tune the behavior of the
+ *  loading process.
+ *
+ *  Any file that is invalid (due to truncation, corruption, or wrong values in
+ *  the headers), too big, or unsupported causes an error. Additionally, any
+ *  critical I/O error from the data source will terminate the loading process
+ *  with an error. The function returns NULL on error and in all cases (with the
+ *  exception of \c src being NULL), an appropriate error message will be set.
+ *
+ *  It is required that the data source supports seeking.
+ *
+ *  Example:
+ *  \code
+ *      SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...);
+ *  \endcode
+ *
+ *  \param src The data source with the WAVE data
+ *  \param freesrc A integer value that makes the function close the data source if non-zero
+ *  \param spec A pointer filled with the audio format of the audio data
+ *  \param audio_buf A pointer filled with the audio data allocated by the function
+ *  \param audio_len A pointer filled with the length of the audio data buffer in bytes
+ *  \return NULL on error, or non-NULL on success.
+ */
+extern DECLSPEC SDL_AudioSpec *SDLCALL SDL_LoadWAV_RW(SDL_RWops * src,
+                                                      int freesrc,
+                                                      SDL_AudioSpec * spec,
+                                                      Uint8 ** audio_buf,
+                                                      Uint32 * audio_len);
+
+/**
+ *  Loads a WAV from a file.
+ *  Compatibility convenience function.
+ */
+#define SDL_LoadWAV(file, spec, audio_buf, audio_len) \
+    SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len)
+
+/**
+ *  This function frees data previously allocated with SDL_LoadWAV_RW()
+ */
+extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf);
+
+/**
+ *  This function takes a source format and rate and a destination format
+ *  and rate, and initializes the \c cvt structure with information needed
+ *  by SDL_ConvertAudio() to convert a buffer of audio data from one format
+ *  to the other. An unsupported format causes an error and -1 will be returned.
+ *
+ *  \return 0 if no conversion is needed, 1 if the audio filter is set up,
+ *  or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_BuildAudioCVT(SDL_AudioCVT * cvt,
+                                              SDL_AudioFormat src_format,
+                                              Uint8 src_channels,
+                                              int src_rate,
+                                              SDL_AudioFormat dst_format,
+                                              Uint8 dst_channels,
+                                              int dst_rate);
+
+/**
+ *  Once you have initialized the \c cvt structure using SDL_BuildAudioCVT(),
+ *  created an audio buffer \c cvt->buf, and filled it with \c cvt->len bytes of
+ *  audio data in the source format, this function will convert it in-place
+ *  to the desired format.
+ *
+ *  The data conversion may expand the size of the audio data, so the buffer
+ *  \c cvt->buf should be allocated after the \c cvt structure is initialized by
+ *  SDL_BuildAudioCVT(), and should be \c cvt->len*cvt->len_mult bytes long.
+ *
+ *  \return 0 on success or -1 if \c cvt->buf is NULL.
+ */
+extern DECLSPEC int SDLCALL SDL_ConvertAudio(SDL_AudioCVT * cvt);
+
+/* SDL_AudioStream is a new audio conversion interface.
+   The benefits vs SDL_AudioCVT:
+    - it can handle resampling data in chunks without generating
+      artifacts, when it doesn't have the complete buffer available.
+    - it can handle incoming data in any variable size.
+    - You push data as you have it, and pull it when you need it
+ */
+/* this is opaque to the outside world. */
+struct _SDL_AudioStream;
+typedef struct _SDL_AudioStream SDL_AudioStream;
+
+/**
+ *  Create a new audio stream
+ *
+ *  \param src_format The format of the source audio
+ *  \param src_channels The number of channels of the source audio
+ *  \param src_rate The sampling rate of the source audio
+ *  \param dst_format The format of the desired audio output
+ *  \param dst_channels The number of channels of the desired audio output
+ *  \param dst_rate The sampling rate of the desired audio output
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC SDL_AudioStream * SDLCALL SDL_NewAudioStream(const SDL_AudioFormat src_format,
+                                           const Uint8 src_channels,
+                                           const int src_rate,
+                                           const SDL_AudioFormat dst_format,
+                                           const Uint8 dst_channels,
+                                           const int dst_rate);
+
+/**
+ *  Add data to be converted/resampled to the stream
+ *
+ *  \param stream The stream the audio data is being added to
+ *  \param buf A pointer to the audio data to add
+ *  \param len The number of bytes to write to the stream
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamPut(SDL_AudioStream *stream, const void *buf, int len);
+
+/**
+ *  Get converted/resampled data from the stream
+ *
+ *  \param stream The stream the audio is being requested from
+ *  \param buf A buffer to fill with audio data
+ *  \param len The maximum number of bytes to fill
+ *  \return The number of bytes read from the stream, or -1 on error
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamGet(SDL_AudioStream *stream, void *buf, int len);
+
+/**
+ * Get the number of converted/resampled bytes available. The stream may be
+ *  buffering data behind the scenes until it has enough to resample
+ *  correctly, so this number might be lower than what you expect, or even
+ *  be zero. Add more data or flush the stream if you need the data now.
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamAvailable(SDL_AudioStream *stream);
+
+/**
+ * Tell the stream that you're done sending data, and anything being buffered
+ *  should be converted/resampled and made available immediately.
+ *
+ * It is legal to add more data to a stream after flushing, but there will
+ *  be audio gaps in the output. Generally this is intended to signal the
+ *  end of input, so the complete output becomes available.
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamFlush(SDL_AudioStream *stream);
+
+/**
+ *  Clear any pending data in the stream without converting it
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC void SDLCALL SDL_AudioStreamClear(SDL_AudioStream *stream);
+
+/**
+ * Free an audio stream
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ */
+extern DECLSPEC void SDLCALL SDL_FreeAudioStream(SDL_AudioStream *stream);
+
+#define SDL_MIX_MAXVOLUME 128
+/**
+ *  This takes two audio buffers of the playing audio format and mixes
+ *  them, performing addition, volume adjustment, and overflow clipping.
+ *  The volume ranges from 0 - 128, and should be set to ::SDL_MIX_MAXVOLUME
+ *  for full audio volume.  Note this does not change hardware volume.
+ *  This is provided for convenience -- you can mix your own audio data.
+ */
+extern DECLSPEC void SDLCALL SDL_MixAudio(Uint8 * dst, const Uint8 * src,
+                                          Uint32 len, int volume);
+
+/**
+ *  This works like SDL_MixAudio(), but you specify the audio format instead of
+ *  using the format of audio device 1. Thus it can be used when no audio
+ *  device is open at all.
+ */
+extern DECLSPEC void SDLCALL SDL_MixAudioFormat(Uint8 * dst,
+                                                const Uint8 * src,
+                                                SDL_AudioFormat format,
+                                                Uint32 len, int volume);
+
+/**
+ *  Queue more audio on non-callback devices.
+ *
+ *  (If you are looking to retrieve queued audio from a non-callback capture
+ *  device, you want SDL_DequeueAudio() instead. This will return -1 to
+ *  signify an error if you use it with capture devices.)
+ *
+ *  SDL offers two ways to feed audio to the device: you can either supply a
+ *  callback that SDL triggers with some frequency to obtain more audio
+ *  (pull method), or you can supply no callback, and then SDL will expect
+ *  you to supply data at regular intervals (push method) with this function.
+ *
+ *  There are no limits on the amount of data you can queue, short of
+ *  exhaustion of address space. Queued data will drain to the device as
+ *  necessary without further intervention from you. If the device needs
+ *  audio but there is not enough queued, it will play silence to make up
+ *  the difference. This means you will have skips in your audio playback
+ *  if you aren't routinely queueing sufficient data.
+ *
+ *  This function copies the supplied data, so you are safe to free it when
+ *  the function returns. This function is thread-safe, but queueing to the
+ *  same device from two threads at once does not promise which buffer will
+ *  be queued first.
+ *
+ *  You may not queue audio on a device that is using an application-supplied
+ *  callback; doing so returns an error. You have to use the audio callback
+ *  or queue audio with this function, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before queueing; SDL
+ *  handles locking internally for this function.
+ *
+ *  \param dev The device ID to which we will queue audio.
+ *  \param data The data to queue to the device for later playback.
+ *  \param len The number of bytes (not samples!) to which (data) points.
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_GetQueuedAudioSize
+ *  \sa SDL_ClearQueuedAudio
+ */
+extern DECLSPEC int SDLCALL SDL_QueueAudio(SDL_AudioDeviceID dev, const void *data, Uint32 len);
+
+/**
+ *  Dequeue more audio on non-callback devices.
+ *
+ *  (If you are looking to queue audio for output on a non-callback playback
+ *  device, you want SDL_QueueAudio() instead. This will always return 0
+ *  if you use it with playback devices.)
+ *
+ *  SDL offers two ways to retrieve audio from a capture device: you can
+ *  either supply a callback that SDL triggers with some frequency as the
+ *  device records more audio data, (push method), or you can supply no
+ *  callback, and then SDL will expect you to retrieve data at regular
+ *  intervals (pull method) with this function.
+ *
+ *  There are no limits on the amount of data you can queue, short of
+ *  exhaustion of address space. Data from the device will keep queuing as
+ *  necessary without further intervention from you. This means you will
+ *  eventually run out of memory if you aren't routinely dequeueing data.
+ *
+ *  Capture devices will not queue data when paused; if you are expecting
+ *  to not need captured audio for some length of time, use
+ *  SDL_PauseAudioDevice() to stop the capture device from queueing more
+ *  data. This can be useful during, say, level loading times. When
+ *  unpaused, capture devices will start queueing data from that point,
+ *  having flushed any capturable data available while paused.
+ *
+ *  This function is thread-safe, but dequeueing from the same device from
+ *  two threads at once does not promise which thread will dequeued data
+ *  first.
+ *
+ *  You may not dequeue audio from a device that is using an
+ *  application-supplied callback; doing so returns an error. You have to use
+ *  the audio callback, or dequeue audio with this function, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before queueing; SDL
+ *  handles locking internally for this function.
+ *
+ *  \param dev The device ID from which we will dequeue audio.
+ *  \param data A pointer into where audio data should be copied.
+ *  \param len The number of bytes (not samples!) to which (data) points.
+ *  \return number of bytes dequeued, which could be less than requested.
+ *
+ *  \sa SDL_GetQueuedAudioSize
+ *  \sa SDL_ClearQueuedAudio
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_DequeueAudio(SDL_AudioDeviceID dev, void *data, Uint32 len);
+
+/**
+ *  Get the number of bytes of still-queued audio.
+ *
+ *  For playback device:
+ *
+ *    This is the number of bytes that have been queued for playback with
+ *    SDL_QueueAudio(), but have not yet been sent to the hardware. This
+ *    number may shrink at any time, so this only informs of pending data.
+ *
+ *    Once we've sent it to the hardware, this function can not decide the
+ *    exact byte boundary of what has been played. It's possible that we just
+ *    gave the hardware several kilobytes right before you called this
+ *    function, but it hasn't played any of it yet, or maybe half of it, etc.
+ *
+ *  For capture devices:
+ *
+ *    This is the number of bytes that have been captured by the device and
+ *    are waiting for you to dequeue. This number may grow at any time, so
+ *    this only informs of the lower-bound of available data.
+ *
+ *  You may not queue audio on a device that is using an application-supplied
+ *  callback; calling this function on such a device always returns 0.
+ *  You have to queue audio with SDL_QueueAudio()/SDL_DequeueAudio(), or use
+ *  the audio callback, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before querying; SDL
+ *  handles locking internally for this function.
+ *
+ *  \param dev The device ID of which we will query queued audio size.
+ *  \return Number of bytes (not samples!) of queued audio.
+ *
+ *  \sa SDL_QueueAudio
+ *  \sa SDL_ClearQueuedAudio
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetQueuedAudioSize(SDL_AudioDeviceID dev);
+
+/**
+ *  Drop any queued audio data. For playback devices, this is any queued data
+ *  still waiting to be submitted to the hardware. For capture devices, this
+ *  is any data that was queued by the device that hasn't yet been dequeued by
+ *  the application.
+ *
+ *  Immediately after this call, SDL_GetQueuedAudioSize() will return 0. For
+ *  playback devices, the hardware will start playing silence if more audio
+ *  isn't queued. Unpaused capture devices will start filling the queue again
+ *  as soon as they have more data available (which, depending on the state
+ *  of the hardware and the thread, could be before this function call
+ *  returns!).
+ *
+ *  This will not prevent playback of queued audio that's already been sent
+ *  to the hardware, as we can not undo that, so expect there to be some
+ *  fraction of a second of audio that might still be heard. This can be
+ *  useful if you want to, say, drop any pending music during a level change
+ *  in your game.
+ *
+ *  You may not queue audio on a device that is using an application-supplied
+ *  callback; calling this function on such a device is always a no-op.
+ *  You have to queue audio with SDL_QueueAudio()/SDL_DequeueAudio(), or use
+ *  the audio callback, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before clearing the
+ *  queue; SDL handles locking internally for this function.
+ *
+ *  This function always succeeds and thus returns void.
+ *
+ *  \param dev The device ID of which to clear the audio queue.
+ *
+ *  \sa SDL_QueueAudio
+ *  \sa SDL_GetQueuedAudioSize
+ */
+extern DECLSPEC void SDLCALL SDL_ClearQueuedAudio(SDL_AudioDeviceID dev);
+
+
+/**
+ *  \name Audio lock functions
+ *
+ *  The lock manipulated by these functions protects the callback function.
+ *  During a SDL_LockAudio()/SDL_UnlockAudio() pair, you can be guaranteed that
+ *  the callback function is not running.  Do not call these from the callback
+ *  function or you will cause deadlock.
+ */
+/* @{ */
+extern DECLSPEC void SDLCALL SDL_LockAudio(void);
+extern DECLSPEC void SDLCALL SDL_LockAudioDevice(SDL_AudioDeviceID dev);
+extern DECLSPEC void SDLCALL SDL_UnlockAudio(void);
+extern DECLSPEC void SDLCALL SDL_UnlockAudioDevice(SDL_AudioDeviceID dev);
+/* @} *//* Audio lock functions */
+
+/**
+ *  This function shuts down audio processing and closes the audio device.
+ */
+extern DECLSPEC void SDLCALL SDL_CloseAudio(void);
+extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_audio_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h
@@ -1,0 +1,121 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_bits.h
+ *
+ *  Functions for fiddling with bits and bitmasks.
+ */
+
+#ifndef SDL_bits_h_
+#define SDL_bits_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_bits.h
+ */
+
+/**
+ *  Get the index of the most significant bit. Result is undefined when called
+ *  with 0. This operation can also be stated as "count leading zeroes" and
+ *  "log base 2".
+ *
+ *  \return Index of the most significant bit, or -1 if the value is 0.
+ */
+#if defined(__WATCOMC__) && defined(__386__)
+extern _inline int _SDL_clz_watcom (Uint32);
+#pragma aux _SDL_clz_watcom = \
+    "bsr eax, eax" \
+    "xor eax, 31" \
+    parm [eax] nomemory \
+    value [eax] \
+    modify exact [eax] nomemory;
+#endif
+
+SDL_FORCE_INLINE int
+SDL_MostSignificantBitIndex32(Uint32 x)
+{
+#if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
+    /* Count Leading Zeroes builtin in GCC.
+     * http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
+     */
+    if (x == 0) {
+        return -1;
+    }
+    return 31 - __builtin_clz(x);
+#elif defined(__WATCOMC__) && defined(__386__)
+    if (x == 0) {
+        return -1;
+    }
+    return 31 - _SDL_clz_watcom(x);
+#else
+    /* Based off of Bit Twiddling Hacks by Sean Eron Anderson
+     * <[email protected]>, released in the public domain.
+     * http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog
+     */
+    const Uint32 b[] = {0x2, 0xC, 0xF0, 0xFF00, 0xFFFF0000};
+    const int    S[] = {1, 2, 4, 8, 16};
+
+    int msbIndex = 0;
+    int i;
+
+    if (x == 0) {
+        return -1;
+    }
+
+    for (i = 4; i >= 0; i--)
+    {
+        if (x & b[i])
+        {
+            x >>= S[i];
+            msbIndex |= S[i];
+        }
+    }
+
+    return msbIndex;
+#endif
+}
+
+SDL_FORCE_INLINE SDL_bool
+SDL_HasExactlyOneBitSet32(Uint32 x)
+{
+    if (x && !(x & (x - 1))) {
+        return SDL_TRUE;
+    }
+    return SDL_FALSE;
+}
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_bits_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h
@@ -1,0 +1,120 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_blendmode.h
+ *
+ *  Header file declaring the SDL_BlendMode enumeration
+ */
+
+#ifndef SDL_blendmode_h_
+#define SDL_blendmode_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief The blend mode used in SDL_RenderCopy() and drawing operations.
+ */
+typedef enum
+{
+    SDL_BLENDMODE_NONE = 0x00000000,     /**< no blending
+                                              dstRGBA = srcRGBA */
+    SDL_BLENDMODE_BLEND = 0x00000001,    /**< alpha blending
+                                              dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))
+                                              dstA = srcA + (dstA * (1-srcA)) */
+    SDL_BLENDMODE_ADD = 0x00000002,      /**< additive blending
+                                              dstRGB = (srcRGB * srcA) + dstRGB
+                                              dstA = dstA */
+    SDL_BLENDMODE_MOD = 0x00000004,      /**< color modulate
+                                              dstRGB = srcRGB * dstRGB
+                                              dstA = dstA */
+    SDL_BLENDMODE_INVALID = 0x7FFFFFFF
+
+    /* Additional custom blend modes can be returned by SDL_ComposeCustomBlendMode() */
+
+} SDL_BlendMode;
+
+/**
+ *  \brief The blend operation used when combining source and destination pixel components
+ */
+typedef enum
+{
+    SDL_BLENDOPERATION_ADD              = 0x1,  /**< dst + src: supported by all renderers */
+    SDL_BLENDOPERATION_SUBTRACT         = 0x2,  /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */
+    SDL_BLENDOPERATION_REV_SUBTRACT     = 0x3,  /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */
+    SDL_BLENDOPERATION_MINIMUM          = 0x4,  /**< min(dst, src) : supported by D3D11 */
+    SDL_BLENDOPERATION_MAXIMUM          = 0x5   /**< max(dst, src) : supported by D3D11 */
+
+} SDL_BlendOperation;
+
+/**
+ *  \brief The normalized factor used to multiply pixel components
+ */
+typedef enum
+{
+    SDL_BLENDFACTOR_ZERO                = 0x1,  /**< 0, 0, 0, 0 */
+    SDL_BLENDFACTOR_ONE                 = 0x2,  /**< 1, 1, 1, 1 */
+    SDL_BLENDFACTOR_SRC_COLOR           = 0x3,  /**< srcR, srcG, srcB, srcA */
+    SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR = 0x4,  /**< 1-srcR, 1-srcG, 1-srcB, 1-srcA */
+    SDL_BLENDFACTOR_SRC_ALPHA           = 0x5,  /**< srcA, srcA, srcA, srcA */
+    SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA = 0x6,  /**< 1-srcA, 1-srcA, 1-srcA, 1-srcA */
+    SDL_BLENDFACTOR_DST_COLOR           = 0x7,  /**< dstR, dstG, dstB, dstA */
+    SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8,  /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */
+    SDL_BLENDFACTOR_DST_ALPHA           = 0x9,  /**< dstA, dstA, dstA, dstA */
+    SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA   /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */
+
+} SDL_BlendFactor;
+
+/**
+ *  \brief Create a custom blend mode, which may or may not be supported by a given renderer
+ *
+ *  \param srcColorFactor source color factor
+ *  \param dstColorFactor destination color factor
+ *  \param colorOperation color operation
+ *  \param srcAlphaFactor source alpha factor
+ *  \param dstAlphaFactor destination alpha factor
+ *  \param alphaOperation alpha operation
+ *
+ *  The result of the blend mode operation will be:
+ *      dstRGB = dstRGB * dstColorFactor colorOperation srcRGB * srcColorFactor
+ *  and
+ *      dstA = dstA * dstAlphaFactor alphaOperation srcA * srcAlphaFactor
+ */
+extern DECLSPEC SDL_BlendMode SDLCALL SDL_ComposeCustomBlendMode(SDL_BlendFactor srcColorFactor,
+                                                                 SDL_BlendFactor dstColorFactor,
+                                                                 SDL_BlendOperation colorOperation,
+                                                                 SDL_BlendFactor srcAlphaFactor,
+                                                                 SDL_BlendFactor dstAlphaFactor,
+                                                                 SDL_BlendOperation alphaOperation);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_blendmode_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h
@@ -1,0 +1,71 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ * \file SDL_clipboard.h
+ *
+ * Include file for SDL clipboard handling
+ */
+
+#ifndef SDL_clipboard_h_
+#define SDL_clipboard_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Function prototypes */
+
+/**
+ * \brief Put UTF-8 text into the clipboard
+ *
+ * \sa SDL_GetClipboardText()
+ */
+extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
+
+/**
+ * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()
+ *
+ * \sa SDL_SetClipboardText()
+ */
+extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void);
+
+/**
+ * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
+ *
+ * \sa SDL_GetClipboardText()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_clipboard_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h
@@ -1,0 +1,55 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/**
+ *  \file SDL_config.h
+ */
+
+/* Add any platform that doesn't build using the configure system. */
+#if defined(__WIN32__)
+#include "SDL_config_windows.h"
+#elif defined(__WINRT__)
+#include "SDL_config_winrt.h"
+#elif defined(__MACOSX__)
+#include "SDL_config_macosx.h"
+#elif defined(__IPHONEOS__)
+#include "SDL_config_iphoneos.h"
+#elif defined(__ANDROID__)
+#include "SDL_config_android.h"
+#elif defined(__PSP__)
+#include "SDL_config_psp.h"
+#elif defined(__OS2__)
+#include "SDL_config_os2.h"
+#else
+/* This is a minimal configuration just to get SDL running on new platforms. */
+#include "SDL_config_minimal.h"
+#endif /* platform config */
+
+#ifdef USING_GENERATED_CONFIG_H
+#error Wrong SDL_config.h, check your include path?
+#endif
+
+#endif /* SDL_config_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h
@@ -1,0 +1,240 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_macosx_h_
+#define SDL_config_macosx_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
+#include <AvailabilityMacros.h>
+
+/* This is a set of defines to configure the SDL features */
+
+#ifdef __LP64__
+    #define SIZEOF_VOIDP 8
+#else
+    #define SIZEOF_VOIDP 4
+#endif
+
+/* Useful headers */
+#define STDC_HEADERS    1
+#define HAVE_ALLOCA_H       1
+#define HAVE_CTYPE_H    1
+#define HAVE_FLOAT_H    1
+#define HAVE_INTTYPES_H 1
+#define HAVE_LIMITS_H   1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H   1
+#define HAVE_STDINT_H   1
+#define HAVE_STDIO_H    1
+#define HAVE_STRING_H   1
+#define HAVE_SYS_TYPES_H    1
+#define HAVE_LIBUNWIND_H    1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC    1
+#define HAVE_FREE   1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_UNSETENV   1
+#define HAVE_QSORT  1
+#define HAVE_ABS    1
+#define HAVE_BCOPY  1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE    1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE_STRLCPY    1
+#define HAVE_STRLCAT    1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR    1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL    1
+#define HAVE_STRTOLL    1
+#define HAVE_STRTOULL   1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI   1
+#define HAVE_ATOF   1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP    1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF  1
+#define HAVE_M_PI   1
+#define HAVE_ACOS   1
+#define HAVE_ACOSF  1
+#define HAVE_ASIN   1
+#define HAVE_ASINF  1
+#define HAVE_ATAN   1
+#define HAVE_ATANF  1
+#define HAVE_ATAN2  1
+#define HAVE_ATAN2F 1
+#define HAVE_CEIL   1
+#define HAVE_CEILF  1
+#define HAVE_COPYSIGN   1
+#define HAVE_COPYSIGNF  1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_EXP    1
+#define HAVE_EXPF   1
+#define HAVE_FABS   1
+#define HAVE_FABSF  1
+#define HAVE_FLOOR  1
+#define HAVE_FLOORF 1
+#define HAVE_FMOD   1
+#define HAVE_FMODF  1
+#define HAVE_LOG    1
+#define HAVE_LOGF   1
+#define HAVE_LOG10  1
+#define HAVE_LOG10F 1
+#define HAVE_POW    1
+#define HAVE_POWF   1
+#define HAVE_SCALBN 1
+#define HAVE_SCALBNF    1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#define HAVE_SIGACTION  1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP  1
+#define HAVE_SYSCONF    1
+#define HAVE_SYSCTLBYNAME 1
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_COREAUDIO  1
+#define SDL_AUDIO_DRIVER_DISK   1
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable various input drivers */
+#define SDL_JOYSTICK_IOKIT  1
+#define SDL_JOYSTICK_HIDAPI  1
+#define SDL_HAPTIC_IOKIT    1
+
+/* Enable the dummy sensor driver */
+#define SDL_SENSOR_DUMMY  1
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_DLOPEN   1
+
+/* Enable various threading systems */
+#define SDL_THREAD_PTHREAD  1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_UNIX  1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_COCOA  1
+#define SDL_VIDEO_DRIVER_DUMMY  1
+#undef SDL_VIDEO_DRIVER_X11
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/usr/X11R6/lib/libXi.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_XDBE 1
+#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
+#define SDL_VIDEO_DRIVER_X11_XRANDR 1
+#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
+#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
+#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
+#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
+
+#ifdef MAC_OS_X_VERSION_10_8
+/*
+ * No matter the versions targeted, this is the 10.8 or later SDK, so you have
+ *  to use the external Xquartz, which is a more modern Xlib. Previous SDKs
+ *  used an older Xlib.
+ */
+#define SDL_VIDEO_DRIVER_X11_XINPUT2 1
+#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
+#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1
+#endif
+
+#ifndef SDL_VIDEO_RENDER_OGL
+#define SDL_VIDEO_RENDER_OGL    1
+#endif
+
+#ifndef SDL_VIDEO_RENDER_OGL_ES2
+#define SDL_VIDEO_RENDER_OGL_ES2 1
+#endif
+
+#ifndef SDL_VIDEO_RENDER_METAL
+/* Metal only supported on 64-bit architectures with 10.11+ */
+#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
+#define SDL_VIDEO_RENDER_METAL    1
+#else
+#define SDL_VIDEO_RENDER_METAL    0
+#endif
+#endif
+
+/* Enable OpenGL support */
+#ifndef SDL_VIDEO_OPENGL
+#define SDL_VIDEO_OPENGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_ES2
+#define SDL_VIDEO_OPENGL_ES2    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_EGL
+#define SDL_VIDEO_OPENGL_EGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_CGL
+#define SDL_VIDEO_OPENGL_CGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_GLX
+#define SDL_VIDEO_OPENGL_GLX    1
+#endif
+
+/* Enable Vulkan support */
+/* Metal/Vulkan Portability only supported on 64-bit architectures with 10.11+ */
+#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
+#define SDL_VIDEO_VULKAN 1
+#else
+#define SDL_VIDEO_VULKAN 0
+#endif
+
+/* Enable system power support */
+#define SDL_POWER_MACOSX 1
+
+/* enable filesystem support */
+#define SDL_FILESYSTEM_COCOA   1
+
+/* Enable assembly routines */
+#define SDL_ASSEMBLY_ROUTINES   1
+#ifdef __ppc__
+#define SDL_ALTIVEC_BLITTERS    1
+#endif
+
+#endif /* SDL_config_macosx_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_copying.h
@@ -1,0 +1,20 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h
@@ -1,0 +1,270 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_cpuinfo.h
+ *
+ *  CPU feature detection for SDL.
+ */
+
+#ifndef SDL_cpuinfo_h_
+#define SDL_cpuinfo_h_
+
+#include "SDL_stdinc.h"
+
+/* Need to do this here because intrin.h has C++ code in it */
+/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
+#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || defined(_M_X64))
+#ifdef __clang__
+/* Many of the intrinsics SDL uses are not implemented by clang with Visual Studio */
+#undef __MMX__
+#undef __SSE__
+#undef __SSE2__
+#else
+#include <intrin.h>
+#ifndef _WIN64
+#ifndef __MMX__
+#define __MMX__
+#endif
+#ifndef __3dNOW__
+#define __3dNOW__
+#endif
+#endif
+#ifndef __SSE__
+#define __SSE__
+#endif
+#ifndef __SSE2__
+#define __SSE2__
+#endif
+#endif /* __clang__ */
+#elif defined(__MINGW64_VERSION_MAJOR)
+#include <intrin.h>
+#else
+/* altivec.h redefining bool causes a number of problems, see bugs 3993 and 4392, so you need to explicitly define SDL_ENABLE_ALTIVEC_H to have it included. */
+#if defined(HAVE_ALTIVEC_H) && defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC_H)
+#include <altivec.h>
+#endif
+#if !defined(SDL_DISABLE_ARM_NEON_H)
+#  if defined(__ARM_NEON)
+#    include <arm_neon.h>
+#  elif defined(__WINDOWS__) || defined(__WINRT__)
+/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */
+#    if defined(_M_ARM)
+#      include <armintr.h>
+#      include <arm_neon.h>
+#      define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
+#    endif
+#    if defined (_M_ARM64)
+#      include <armintr.h>
+#      include <arm_neon.h>
+#      define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
+#    endif
+#  endif
+#endif
+#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
+#include <mm3dnow.h>
+#endif
+#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
+#include <immintrin.h>
+#else
+#if defined(__MMX__) && !defined(SDL_DISABLE_MMINTRIN_H)
+#include <mmintrin.h>
+#endif
+#if defined(__SSE__) && !defined(SDL_DISABLE_XMMINTRIN_H)
+#include <xmmintrin.h>
+#endif
+#if defined(__SSE2__) && !defined(SDL_DISABLE_EMMINTRIN_H)
+#include <emmintrin.h>
+#endif
+#if defined(__SSE3__) && !defined(SDL_DISABLE_PMMINTRIN_H)
+#include <pmmintrin.h>
+#endif
+#endif /* HAVE_IMMINTRIN_H */
+#endif /* compiler version */
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* This is a guess for the cacheline size used for padding.
+ * Most x86 processors have a 64 byte cache line.
+ * The 64-bit PowerPC processors have a 128 byte cache line.
+ * We'll use the larger value to be generally safe.
+ */
+#define SDL_CACHELINE_SIZE  128
+
+/**
+ *  This function returns the number of CPU cores available.
+ */
+extern DECLSPEC int SDLCALL SDL_GetCPUCount(void);
+
+/**
+ *  This function returns the L1 cache line size of the CPU
+ *
+ *  This is useful for determining multi-threaded structure padding
+ *  or SIMD prefetch sizes.
+ */
+extern DECLSPEC int SDLCALL SDL_GetCPUCacheLineSize(void);
+
+/**
+ *  This function returns true if the CPU has the RDTSC instruction.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
+
+/**
+ *  This function returns true if the CPU has AltiVec features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
+
+/**
+ *  This function returns true if the CPU has MMX features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void);
+
+/**
+ *  This function returns true if the CPU has 3DNow! features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void);
+
+/**
+ *  This function returns true if the CPU has SSE features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void);
+
+/**
+ *  This function returns true if the CPU has SSE2 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
+
+/**
+ *  This function returns true if the CPU has SSE3 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE3(void);
+
+/**
+ *  This function returns true if the CPU has SSE4.1 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE41(void);
+
+/**
+ *  This function returns true if the CPU has SSE4.2 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void);
+
+/**
+ *  This function returns true if the CPU has AVX features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
+
+/**
+ *  This function returns true if the CPU has AVX2 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void);
+
+/**
+ *  This function returns true if the CPU has AVX-512F (foundation) features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX512F(void);
+
+/**
+ *  This function returns true if the CPU has NEON (ARM SIMD) features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
+
+/**
+ *  This function returns the amount of RAM configured in the system, in MB.
+ */
+extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
+
+/**
+ * \brief Report the alignment this system needs for SIMD allocations.
+ *
+ * This will return the minimum number of bytes to which a pointer must be
+ *  aligned to be compatible with SIMD instructions on the current machine.
+ *  For example, if the machine supports SSE only, it will return 16, but if
+ *  it supports AVX-512F, it'll return 64 (etc). This only reports values for
+ *  instruction sets SDL knows about, so if your SDL build doesn't have
+ *  SDL_HasAVX512F(), then it might return 16 for the SSE support it sees and
+ *  not 64 for the AVX-512 instructions that exist but SDL doesn't know about.
+ *  Plan accordingly.
+ */
+extern DECLSPEC size_t SDLCALL SDL_SIMDGetAlignment(void);
+
+/**
+ * \brief Allocate memory in a SIMD-friendly way.
+ *
+ * This will allocate a block of memory that is suitable for use with SIMD
+ *  instructions. Specifically, it will be properly aligned and padded for
+ *  the system's supported vector instructions.
+ *
+ * The memory returned will be padded such that it is safe to read or write
+ *  an incomplete vector at the end of the memory block. This can be useful
+ *  so you don't have to drop back to a scalar fallback at the end of your
+ *  SIMD processing loop to deal with the final elements without overflowing
+ *  the allocated buffer.
+ *
+ * You must free this memory with SDL_FreeSIMD(), not free() or SDL_free()
+ *  or delete[], etc.
+ *
+ * Note that SDL will only deal with SIMD instruction sets it is aware of;
+ *  for example, SDL 2.0.8 knows that SSE wants 16-byte vectors
+ *  (SDL_HasSSE()), and AVX2 wants 32 bytes (SDL_HasAVX2()), but doesn't
+ *  know that AVX-512 wants 64. To be clear: if you can't decide to use an
+ *  instruction set with an SDL_Has*() function, don't use that instruction
+ *  set with memory allocated through here.
+ *
+ * SDL_AllocSIMD(0) will return a non-NULL pointer, assuming the system isn't
+ *  out of memory.
+ *
+ *  \param len The length, in bytes, of the block to allocated. The actual
+ *             allocated block might be larger due to padding, etc.
+ * \return Pointer to newly-allocated block, NULL if out of memory.
+ *
+ * \sa SDL_SIMDAlignment
+ * \sa SDL_SIMDFree
+ */
+extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len);
+
+/**
+ * \brief Deallocate memory obtained from SDL_SIMDAlloc
+ *
+ * It is not valid to use this function on a pointer from anything but
+ *  SDL_SIMDAlloc(). It can't be used on pointers from malloc, realloc,
+ *  SDL_malloc, memalign, new[], etc.
+ *
+ * However, SDL_SIMDFree(NULL) is a legal no-op.
+ *
+ * \sa SDL_SIMDAlloc
+ */
+extern DECLSPEC void SDLCALL SDL_SIMDFree(void *ptr);
+
+/* vi: set ts=4 sw=4 expandtab: */
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_cpuinfo_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h
@@ -1,0 +1,260 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_endian.h
+ *
+ *  Functions for reading and writing endian-specific values
+ */
+
+#ifndef SDL_endian_h_
+#define SDL_endian_h_
+
+#include "SDL_stdinc.h"
+
+/**
+ *  \name The two types of endianness
+ */
+/* @{ */
+#define SDL_LIL_ENDIAN  1234
+#define SDL_BIG_ENDIAN  4321
+/* @} */
+
+#ifndef SDL_BYTEORDER           /* Not defined in SDL_config.h? */
+#ifdef __linux__
+#include <endian.h>
+#define SDL_BYTEORDER  __BYTE_ORDER
+#else /* __linux__ */
+#if defined(__hppa__) || \
+    defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
+    (defined(__MIPS__) && defined(__MISPEB__)) || \
+    defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
+    defined(__sparc__)
+#define SDL_BYTEORDER   SDL_BIG_ENDIAN
+#else
+#define SDL_BYTEORDER   SDL_LIL_ENDIAN
+#endif
+#endif /* __linux__ */
+#endif /* !SDL_BYTEORDER */
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_endian.h
+ */
+#if defined(__GNUC__) && defined(__i386__) && \
+   !(__GNUC__ == 2 && __GNUC_MINOR__ == 95 /* broken gcc version */)
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+  __asm__("xchgb %b0,%h0": "=q"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && defined(__x86_64__)
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+  __asm__("xchgb %b0,%h0": "=Q"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+    int result;
+
+  __asm__("rlwimi %0,%2,8,16,23": "=&r"(result):"0"(x >> 8), "r"(x));
+    return (Uint16)result;
+}
+#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__)
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+  __asm__("rorw #8,%0": "=d"(x): "0"(x):"cc");
+    return x;
+}
+#elif defined(__WATCOMC__) && defined(__386__)
+extern _inline Uint16 SDL_Swap16(Uint16);
+#pragma aux SDL_Swap16 = \
+  "xchg al, ah" \
+  parm   [ax]   \
+  modify [ax];
+#else
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+    return SDL_static_cast(Uint16, ((x << 8) | (x >> 8)));
+}
+#endif
+
+#if defined(__GNUC__) && defined(__i386__)
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+  __asm__("bswap %0": "=r"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && defined(__x86_64__)
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+  __asm__("bswapl %0": "=r"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+    Uint32 result;
+
+  __asm__("rlwimi %0,%2,24,16,23": "=&r"(result):"0"(x >> 24), "r"(x));
+  __asm__("rlwimi %0,%2,8,8,15": "=&r"(result):"0"(result), "r"(x));
+  __asm__("rlwimi %0,%2,24,0,7": "=&r"(result):"0"(result), "r"(x));
+    return result;
+}
+#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__)
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+  __asm__("rorw #8,%0\n\tswap %0\n\trorw #8,%0": "=d"(x): "0"(x):"cc");
+    return x;
+}
+#elif defined(__WATCOMC__) && defined(__386__)
+extern _inline Uint32 SDL_Swap32(Uint32);
+#ifndef __SW_3 /* 486+ */
+#pragma aux SDL_Swap32 = \
+  "bswap eax"  \
+  parm   [eax] \
+  modify [eax];
+#else  /* 386-only */
+#pragma aux SDL_Swap32 = \
+  "xchg al, ah"  \
+  "ror  eax, 16" \
+  "xchg al, ah"  \
+  parm   [eax]   \
+  modify [eax];
+#endif
+#else
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+    return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
+                                    ((x >> 8) & 0x0000FF00) | (x >> 24)));
+}
+#endif
+
+#if defined(__GNUC__) && defined(__i386__)
+SDL_FORCE_INLINE Uint64
+SDL_Swap64(Uint64 x)
+{
+    union
+    {
+        struct
+        {
+            Uint32 a, b;
+        } s;
+        Uint64 u;
+    } v;
+    v.u = x;
+  __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1": "=r"(v.s.a), "=r"(v.s.b):"0"(v.s.a),
+            "1"(v.s.
+                b));
+    return v.u;
+}
+#elif defined(__GNUC__) && defined(__x86_64__)
+SDL_FORCE_INLINE Uint64
+SDL_Swap64(Uint64 x)
+{
+  __asm__("bswapq %0": "=r"(x):"0"(x));
+    return x;
+}
+#else
+SDL_FORCE_INLINE Uint64
+SDL_Swap64(Uint64 x)
+{
+    Uint32 hi, lo;
+
+    /* Separate into high and low 32-bit values and swap them */
+    lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF);
+    x >>= 32;
+    hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF);
+    x = SDL_Swap32(lo);
+    x <<= 32;
+    x |= SDL_Swap32(hi);
+    return (x);
+}
+#endif
+
+
+SDL_FORCE_INLINE float
+SDL_SwapFloat(float x)
+{
+    union
+    {
+        float f;
+        Uint32 ui32;
+    } swapper;
+    swapper.f = x;
+    swapper.ui32 = SDL_Swap32(swapper.ui32);
+    return swapper.f;
+}
+
+
+/**
+ *  \name Swap to native
+ *  Byteswap item from the specified endianness to the native endianness.
+ */
+/* @{ */
+#if SDL_BYTEORDER == SDL_LIL_ENDIAN
+#define SDL_SwapLE16(X) (X)
+#define SDL_SwapLE32(X) (X)
+#define SDL_SwapLE64(X) (X)
+#define SDL_SwapFloatLE(X)  (X)
+#define SDL_SwapBE16(X) SDL_Swap16(X)
+#define SDL_SwapBE32(X) SDL_Swap32(X)
+#define SDL_SwapBE64(X) SDL_Swap64(X)
+#define SDL_SwapFloatBE(X)  SDL_SwapFloat(X)
+#else
+#define SDL_SwapLE16(X) SDL_Swap16(X)
+#define SDL_SwapLE32(X) SDL_Swap32(X)
+#define SDL_SwapLE64(X) SDL_Swap64(X)
+#define SDL_SwapFloatLE(X)  SDL_SwapFloat(X)
+#define SDL_SwapBE16(X) (X)
+#define SDL_SwapBE32(X) (X)
+#define SDL_SwapBE64(X) (X)
+#define SDL_SwapFloatBE(X)  (X)
+#endif
+/* @} *//* Swap to native */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_endian_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h
@@ -1,0 +1,76 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_error.h
+ *
+ *  Simple error message routines for SDL.
+ */
+
+#ifndef SDL_error_h_
+#define SDL_error_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Public functions */
+/* SDL_SetError() unconditionally returns -1. */
+extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
+extern DECLSPEC const char *SDLCALL SDL_GetError(void);
+extern DECLSPEC void SDLCALL SDL_ClearError(void);
+
+/**
+ *  \name Internal error functions
+ *
+ *  \internal
+ *  Private error reporting function - used internally.
+ */
+/* @{ */
+#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEM)
+#define SDL_Unsupported()   SDL_Error(SDL_UNSUPPORTED)
+#define SDL_InvalidParamError(param)    SDL_SetError("Parameter '%s' is invalid", (param))
+typedef enum
+{
+    SDL_ENOMEM,
+    SDL_EFREAD,
+    SDL_EFWRITE,
+    SDL_EFSEEK,
+    SDL_UNSUPPORTED,
+    SDL_LASTERROR
+} SDL_errorcode;
+/* SDL_Error() unconditionally returns -1. */
+extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code);
+/* @} *//* Internal error functions */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_error_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h
@@ -1,0 +1,791 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_events.h
+ *
+ *  Include file for SDL event handling.
+ */
+
+#ifndef SDL_events_h_
+#define SDL_events_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+#include "SDL_keyboard.h"
+#include "SDL_mouse.h"
+#include "SDL_joystick.h"
+#include "SDL_gamecontroller.h"
+#include "SDL_quit.h"
+#include "SDL_gesture.h"
+#include "SDL_touch.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* General keyboard/mouse state definitions */
+#define SDL_RELEASED    0
+#define SDL_PRESSED 1
+
+/**
+ * \brief The types of events that can be delivered.
+ */
+typedef enum
+{
+    SDL_FIRSTEVENT     = 0,     /**< Unused (do not remove) */
+
+    /* Application events */
+    SDL_QUIT           = 0x100, /**< User-requested quit */
+
+    /* These application events have special meaning on iOS, see README-ios.md for details */
+    SDL_APP_TERMINATING,        /**< The application is being terminated by the OS
+                                     Called on iOS in applicationWillTerminate()
+                                     Called on Android in onDestroy()
+                                */
+    SDL_APP_LOWMEMORY,          /**< The application is low on memory, free memory if possible.
+                                     Called on iOS in applicationDidReceiveMemoryWarning()
+                                     Called on Android in onLowMemory()
+                                */
+    SDL_APP_WILLENTERBACKGROUND, /**< The application is about to enter the background
+                                     Called on iOS in applicationWillResignActive()
+                                     Called on Android in onPause()
+                                */
+    SDL_APP_DIDENTERBACKGROUND, /**< The application did enter the background and may not get CPU for some time
+                                     Called on iOS in applicationDidEnterBackground()
+                                     Called on Android in onPause()
+                                */
+    SDL_APP_WILLENTERFOREGROUND, /**< The application is about to enter the foreground
+                                     Called on iOS in applicationWillEnterForeground()
+                                     Called on Android in onResume()
+                                */
+    SDL_APP_DIDENTERFOREGROUND, /**< The application is now interactive
+                                     Called on iOS in applicationDidBecomeActive()
+                                     Called on Android in onResume()
+                                */
+
+    /* Display events */
+    SDL_DISPLAYEVENT   = 0x150,  /**< Display state change */
+
+    /* Window events */
+    SDL_WINDOWEVENT    = 0x200, /**< Window state change */
+    SDL_SYSWMEVENT,             /**< System specific event */
+
+    /* Keyboard events */
+    SDL_KEYDOWN        = 0x300, /**< Key pressed */
+    SDL_KEYUP,                  /**< Key released */
+    SDL_TEXTEDITING,            /**< Keyboard text editing (composition) */
+    SDL_TEXTINPUT,              /**< Keyboard text input */
+    SDL_KEYMAPCHANGED,          /**< Keymap changed due to a system event such as an
+                                     input language or keyboard layout change.
+                                */
+
+    /* Mouse events */
+    SDL_MOUSEMOTION    = 0x400, /**< Mouse moved */
+    SDL_MOUSEBUTTONDOWN,        /**< Mouse button pressed */
+    SDL_MOUSEBUTTONUP,          /**< Mouse button released */
+    SDL_MOUSEWHEEL,             /**< Mouse wheel motion */
+
+    /* Joystick events */
+    SDL_JOYAXISMOTION  = 0x600, /**< Joystick axis motion */
+    SDL_JOYBALLMOTION,          /**< Joystick trackball motion */
+    SDL_JOYHATMOTION,           /**< Joystick hat position change */
+    SDL_JOYBUTTONDOWN,          /**< Joystick button pressed */
+    SDL_JOYBUTTONUP,            /**< Joystick button released */
+    SDL_JOYDEVICEADDED,         /**< A new joystick has been inserted into the system */
+    SDL_JOYDEVICEREMOVED,       /**< An opened joystick has been removed */
+
+    /* Game controller events */
+    SDL_CONTROLLERAXISMOTION  = 0x650, /**< Game controller axis motion */
+    SDL_CONTROLLERBUTTONDOWN,          /**< Game controller button pressed */
+    SDL_CONTROLLERBUTTONUP,            /**< Game controller button released */
+    SDL_CONTROLLERDEVICEADDED,         /**< A new Game controller has been inserted into the system */
+    SDL_CONTROLLERDEVICEREMOVED,       /**< An opened Game controller has been removed */
+    SDL_CONTROLLERDEVICEREMAPPED,      /**< The controller mapping was updated */
+
+    /* Touch events */
+    SDL_FINGERDOWN      = 0x700,
+    SDL_FINGERUP,
+    SDL_FINGERMOTION,
+
+    /* Gesture events */
+    SDL_DOLLARGESTURE   = 0x800,
+    SDL_DOLLARRECORD,
+    SDL_MULTIGESTURE,
+
+    /* Clipboard events */
+    SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard changed */
+
+    /* Drag and drop events */
+    SDL_DROPFILE        = 0x1000, /**< The system requests a file open */
+    SDL_DROPTEXT,                 /**< text/plain drag-and-drop event */
+    SDL_DROPBEGIN,                /**< A new set of drops is beginning (NULL filename) */
+    SDL_DROPCOMPLETE,             /**< Current set of drops is now complete (NULL filename) */
+
+    /* Audio hotplug events */
+    SDL_AUDIODEVICEADDED = 0x1100, /**< A new audio device is available */
+    SDL_AUDIODEVICEREMOVED,        /**< An audio device has been removed. */
+
+    /* Sensor events */
+    SDL_SENSORUPDATE = 0x1200,     /**< A sensor was updated */
+
+    /* Render events */
+    SDL_RENDER_TARGETS_RESET = 0x2000, /**< The render targets have been reset and their contents need to be updated */
+    SDL_RENDER_DEVICE_RESET, /**< The device has been reset and all textures need to be recreated */
+
+    /** Events ::SDL_USEREVENT through ::SDL_LASTEVENT are for your use,
+     *  and should be allocated with SDL_RegisterEvents()
+     */
+    SDL_USEREVENT    = 0x8000,
+
+    /**
+     *  This last event is only for bounding internal arrays
+     */
+    SDL_LASTEVENT    = 0xFFFF
+} SDL_EventType;
+
+/**
+ *  \brief Fields shared by every event
+ */
+typedef struct SDL_CommonEvent
+{
+    Uint32 type;
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+} SDL_CommonEvent;
+
+/**
+ *  \brief Display state change event data (event.display.*)
+ */
+typedef struct SDL_DisplayEvent
+{
+    Uint32 type;        /**< ::SDL_DISPLAYEVENT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 display;     /**< The associated display index */
+    Uint8 event;        /**< ::SDL_DisplayEventID */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint32 data1;       /**< event dependent data */
+} SDL_DisplayEvent;
+
+/**
+ *  \brief Window state change event data (event.window.*)
+ */
+typedef struct SDL_WindowEvent
+{
+    Uint32 type;        /**< ::SDL_WINDOWEVENT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The associated window */
+    Uint8 event;        /**< ::SDL_WindowEventID */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint32 data1;       /**< event dependent data */
+    Sint32 data2;       /**< event dependent data */
+} SDL_WindowEvent;
+
+/**
+ *  \brief Keyboard button event structure (event.key.*)
+ */
+typedef struct SDL_KeyboardEvent
+{
+    Uint32 type;        /**< ::SDL_KEYDOWN or ::SDL_KEYUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with keyboard focus, if any */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 repeat;       /**< Non-zero if this is a key repeat */
+    Uint8 padding2;
+    Uint8 padding3;
+    SDL_Keysym keysym;  /**< The key that was pressed or released */
+} SDL_KeyboardEvent;
+
+#define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32)
+/**
+ *  \brief Keyboard text editing event structure (event.edit.*)
+ */
+typedef struct SDL_TextEditingEvent
+{
+    Uint32 type;                                /**< ::SDL_TEXTEDITING */
+    Uint32 timestamp;                           /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;                            /**< The window with keyboard focus, if any */
+    char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE];  /**< The editing text */
+    Sint32 start;                               /**< The start cursor of selected editing text */
+    Sint32 length;                              /**< The length of selected editing text */
+} SDL_TextEditingEvent;
+
+
+#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
+/**
+ *  \brief Keyboard text input event structure (event.text.*)
+ */
+typedef struct SDL_TextInputEvent
+{
+    Uint32 type;                              /**< ::SDL_TEXTINPUT */
+    Uint32 timestamp;                         /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;                          /**< The window with keyboard focus, if any */
+    char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];  /**< The input text */
+} SDL_TextInputEvent;
+
+/**
+ *  \brief Mouse motion event structure (event.motion.*)
+ */
+typedef struct SDL_MouseMotionEvent
+{
+    Uint32 type;        /**< ::SDL_MOUSEMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with mouse focus, if any */
+    Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
+    Uint32 state;       /**< The current button state */
+    Sint32 x;           /**< X coordinate, relative to window */
+    Sint32 y;           /**< Y coordinate, relative to window */
+    Sint32 xrel;        /**< The relative motion in the X direction */
+    Sint32 yrel;        /**< The relative motion in the Y direction */
+} SDL_MouseMotionEvent;
+
+/**
+ *  \brief Mouse button event structure (event.button.*)
+ */
+typedef struct SDL_MouseButtonEvent
+{
+    Uint32 type;        /**< ::SDL_MOUSEBUTTONDOWN or ::SDL_MOUSEBUTTONUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with mouse focus, if any */
+    Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
+    Uint8 button;       /**< The mouse button index */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 clicks;       /**< 1 for single-click, 2 for double-click, etc. */
+    Uint8 padding1;
+    Sint32 x;           /**< X coordinate, relative to window */
+    Sint32 y;           /**< Y coordinate, relative to window */
+} SDL_MouseButtonEvent;
+
+/**
+ *  \brief Mouse wheel event structure (event.wheel.*)
+ */
+typedef struct SDL_MouseWheelEvent
+{
+    Uint32 type;        /**< ::SDL_MOUSEWHEEL */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with mouse focus, if any */
+    Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
+    Sint32 x;           /**< The amount scrolled horizontally, positive to the right and negative to the left */
+    Sint32 y;           /**< The amount scrolled vertically, positive away from the user and negative toward the user */
+    Uint32 direction;   /**< Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back */
+} SDL_MouseWheelEvent;
+
+/**
+ *  \brief Joystick axis motion event structure (event.jaxis.*)
+ */
+typedef struct SDL_JoyAxisEvent
+{
+    Uint32 type;        /**< ::SDL_JOYAXISMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 axis;         /**< The joystick axis index */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint16 value;       /**< The axis value (range: -32768 to 32767) */
+    Uint16 padding4;
+} SDL_JoyAxisEvent;
+
+/**
+ *  \brief Joystick trackball motion event structure (event.jball.*)
+ */
+typedef struct SDL_JoyBallEvent
+{
+    Uint32 type;        /**< ::SDL_JOYBALLMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 ball;         /**< The joystick trackball index */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint16 xrel;        /**< The relative motion in the X direction */
+    Sint16 yrel;        /**< The relative motion in the Y direction */
+} SDL_JoyBallEvent;
+
+/**
+ *  \brief Joystick hat position change event structure (event.jhat.*)
+ */
+typedef struct SDL_JoyHatEvent
+{
+    Uint32 type;        /**< ::SDL_JOYHATMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 hat;          /**< The joystick hat index */
+    Uint8 value;        /**< The hat position value.
+                         *   \sa ::SDL_HAT_LEFTUP ::SDL_HAT_UP ::SDL_HAT_RIGHTUP
+                         *   \sa ::SDL_HAT_LEFT ::SDL_HAT_CENTERED ::SDL_HAT_RIGHT
+                         *   \sa ::SDL_HAT_LEFTDOWN ::SDL_HAT_DOWN ::SDL_HAT_RIGHTDOWN
+                         *
+                         *   Note that zero means the POV is centered.
+                         */
+    Uint8 padding1;
+    Uint8 padding2;
+} SDL_JoyHatEvent;
+
+/**
+ *  \brief Joystick button event structure (event.jbutton.*)
+ */
+typedef struct SDL_JoyButtonEvent
+{
+    Uint32 type;        /**< ::SDL_JOYBUTTONDOWN or ::SDL_JOYBUTTONUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 button;       /**< The joystick button index */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 padding1;
+    Uint8 padding2;
+} SDL_JoyButtonEvent;
+
+/**
+ *  \brief Joystick device event structure (event.jdevice.*)
+ */
+typedef struct SDL_JoyDeviceEvent
+{
+    Uint32 type;        /**< ::SDL_JOYDEVICEADDED or ::SDL_JOYDEVICEREMOVED */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Sint32 which;       /**< The joystick device index for the ADDED event, instance id for the REMOVED event */
+} SDL_JoyDeviceEvent;
+
+
+/**
+ *  \brief Game controller axis motion event structure (event.caxis.*)
+ */
+typedef struct SDL_ControllerAxisEvent
+{
+    Uint32 type;        /**< ::SDL_CONTROLLERAXISMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 axis;         /**< The controller axis (SDL_GameControllerAxis) */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint16 value;       /**< The axis value (range: -32768 to 32767) */
+    Uint16 padding4;
+} SDL_ControllerAxisEvent;
+
+
+/**
+ *  \brief Game controller button event structure (event.cbutton.*)
+ */
+typedef struct SDL_ControllerButtonEvent
+{
+    Uint32 type;        /**< ::SDL_CONTROLLERBUTTONDOWN or ::SDL_CONTROLLERBUTTONUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 button;       /**< The controller button (SDL_GameControllerButton) */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 padding1;
+    Uint8 padding2;
+} SDL_ControllerButtonEvent;
+
+
+/**
+ *  \brief Controller device event structure (event.cdevice.*)
+ */
+typedef struct SDL_ControllerDeviceEvent
+{
+    Uint32 type;        /**< ::SDL_CONTROLLERDEVICEADDED, ::SDL_CONTROLLERDEVICEREMOVED, or ::SDL_CONTROLLERDEVICEREMAPPED */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Sint32 which;       /**< The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event */
+} SDL_ControllerDeviceEvent;
+
+/**
+ *  \brief Audio device event structure (event.adevice.*)
+ */
+typedef struct SDL_AudioDeviceEvent
+{
+    Uint32 type;        /**< ::SDL_AUDIODEVICEADDED, or ::SDL_AUDIODEVICEREMOVED */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 which;       /**< The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event */
+    Uint8 iscapture;    /**< zero if an output device, non-zero if a capture device. */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+} SDL_AudioDeviceEvent;
+
+
+/**
+ *  \brief Touch finger event structure (event.tfinger.*)
+ */
+typedef struct SDL_TouchFingerEvent
+{
+    Uint32 type;        /**< ::SDL_FINGERMOTION or ::SDL_FINGERDOWN or ::SDL_FINGERUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_TouchID touchId; /**< The touch device id */
+    SDL_FingerID fingerId;
+    float x;            /**< Normalized in the range 0...1 */
+    float y;            /**< Normalized in the range 0...1 */
+    float dx;           /**< Normalized in the range -1...1 */
+    float dy;           /**< Normalized in the range -1...1 */
+    float pressure;     /**< Normalized in the range 0...1 */
+} SDL_TouchFingerEvent;
+
+
+/**
+ *  \brief Multiple Finger Gesture Event (event.mgesture.*)
+ */
+typedef struct SDL_MultiGestureEvent
+{
+    Uint32 type;        /**< ::SDL_MULTIGESTURE */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_TouchID touchId; /**< The touch device id */
+    float dTheta;
+    float dDist;
+    float x;
+    float y;
+    Uint16 numFingers;
+    Uint16 padding;
+} SDL_MultiGestureEvent;
+
+
+/**
+ * \brief Dollar Gesture Event (event.dgesture.*)
+ */
+typedef struct SDL_DollarGestureEvent
+{
+    Uint32 type;        /**< ::SDL_DOLLARGESTURE or ::SDL_DOLLARRECORD */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_TouchID touchId; /**< The touch device id */
+    SDL_GestureID gestureId;
+    Uint32 numFingers;
+    float error;
+    float x;            /**< Normalized center of gesture */
+    float y;            /**< Normalized center of gesture */
+} SDL_DollarGestureEvent;
+
+
+/**
+ *  \brief An event used to request a file open by the system (event.drop.*)
+ *         This event is enabled by default, you can disable it with SDL_EventState().
+ *  \note If this event is enabled, you must free the filename in the event.
+ */
+typedef struct SDL_DropEvent
+{
+    Uint32 type;        /**< ::SDL_DROPBEGIN or ::SDL_DROPFILE or ::SDL_DROPTEXT or ::SDL_DROPCOMPLETE */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    char *file;         /**< The file name, which should be freed with SDL_free(), is NULL on begin/complete */
+    Uint32 windowID;    /**< The window that was dropped on, if any */
+} SDL_DropEvent;
+
+
+/**
+ *  \brief Sensor event structure (event.sensor.*)
+ */
+typedef struct SDL_SensorEvent
+{
+    Uint32 type;        /**< ::SDL_SENSORUPDATE */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Sint32 which;       /**< The instance ID of the sensor */
+    float data[6];      /**< Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData() */
+} SDL_SensorEvent;
+
+/**
+ *  \brief The "quit requested" event
+ */
+typedef struct SDL_QuitEvent
+{
+    Uint32 type;        /**< ::SDL_QUIT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+} SDL_QuitEvent;
+
+/**
+ *  \brief OS Specific event
+ */
+typedef struct SDL_OSEvent
+{
+    Uint32 type;        /**< ::SDL_QUIT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+} SDL_OSEvent;
+
+/**
+ *  \brief A user-defined event type (event.user.*)
+ */
+typedef struct SDL_UserEvent
+{
+    Uint32 type;        /**< ::SDL_USEREVENT through ::SDL_LASTEVENT-1 */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The associated window if any */
+    Sint32 code;        /**< User defined event code */
+    void *data1;        /**< User defined data pointer */
+    void *data2;        /**< User defined data pointer */
+} SDL_UserEvent;
+
+
+struct SDL_SysWMmsg;
+typedef struct SDL_SysWMmsg SDL_SysWMmsg;
+
+/**
+ *  \brief A video driver dependent system event (event.syswm.*)
+ *         This event is disabled by default, you can enable it with SDL_EventState()
+ *
+ *  \note If you want to use this event, you should include SDL_syswm.h.
+ */
+typedef struct SDL_SysWMEvent
+{
+    Uint32 type;        /**< ::SDL_SYSWMEVENT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_SysWMmsg *msg;  /**< driver dependent data, defined in SDL_syswm.h */
+} SDL_SysWMEvent;
+
+/**
+ *  \brief General event structure
+ */
+typedef union SDL_Event
+{
+    Uint32 type;                    /**< Event type, shared with all events */
+    SDL_CommonEvent common;         /**< Common event data */
+    SDL_DisplayEvent display;       /**< Window event data */
+    SDL_WindowEvent window;         /**< Window event data */
+    SDL_KeyboardEvent key;          /**< Keyboard event data */
+    SDL_TextEditingEvent edit;      /**< Text editing event data */
+    SDL_TextInputEvent text;        /**< Text input event data */
+    SDL_MouseMotionEvent motion;    /**< Mouse motion event data */
+    SDL_MouseButtonEvent button;    /**< Mouse button event data */
+    SDL_MouseWheelEvent wheel;      /**< Mouse wheel event data */
+    SDL_JoyAxisEvent jaxis;         /**< Joystick axis event data */
+    SDL_JoyBallEvent jball;         /**< Joystick ball event data */
+    SDL_JoyHatEvent jhat;           /**< Joystick hat event data */
+    SDL_JoyButtonEvent jbutton;     /**< Joystick button event data */
+    SDL_JoyDeviceEvent jdevice;     /**< Joystick device change event data */
+    SDL_ControllerAxisEvent caxis;      /**< Game Controller axis event data */
+    SDL_ControllerButtonEvent cbutton;  /**< Game Controller button event data */
+    SDL_ControllerDeviceEvent cdevice;  /**< Game Controller device event data */
+    SDL_AudioDeviceEvent adevice;   /**< Audio device event data */
+    SDL_SensorEvent sensor;         /**< Sensor event data */
+    SDL_QuitEvent quit;             /**< Quit request event data */
+    SDL_UserEvent user;             /**< Custom event data */
+    SDL_SysWMEvent syswm;           /**< System dependent window event data */
+    SDL_TouchFingerEvent tfinger;   /**< Touch finger event data */
+    SDL_MultiGestureEvent mgesture; /**< Gesture event data */
+    SDL_DollarGestureEvent dgesture; /**< Gesture event data */
+    SDL_DropEvent drop;             /**< Drag and drop event data */
+
+    /* This is necessary for ABI compatibility between Visual C++ and GCC
+       Visual C++ will respect the push pack pragma and use 52 bytes for
+       this structure, and GCC will use the alignment of the largest datatype
+       within the union, which is 8 bytes.
+
+       So... we'll add padding to force the size to be 56 bytes for both.
+    */
+    Uint8 padding[56];
+} SDL_Event;
+
+/* Make sure we haven't broken binary compatibility */
+SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event) == 56);
+
+
+/* Function prototypes */
+
+/**
+ *  Pumps the event loop, gathering events from the input devices.
+ *
+ *  This function updates the event queue and internal input device state.
+ *
+ *  This should only be run in the thread that sets the video mode.
+ */
+extern DECLSPEC void SDLCALL SDL_PumpEvents(void);
+
+/* @{ */
+typedef enum
+{
+    SDL_ADDEVENT,
+    SDL_PEEKEVENT,
+    SDL_GETEVENT
+} SDL_eventaction;
+
+/**
+ *  Checks the event queue for messages and optionally returns them.
+ *
+ *  If \c action is ::SDL_ADDEVENT, up to \c numevents events will be added to
+ *  the back of the event queue.
+ *
+ *  If \c action is ::SDL_PEEKEVENT, up to \c numevents events at the front
+ *  of the event queue, within the specified minimum and maximum type,
+ *  will be returned and will not be removed from the queue.
+ *
+ *  If \c action is ::SDL_GETEVENT, up to \c numevents events at the front
+ *  of the event queue, within the specified minimum and maximum type,
+ *  will be returned and will be removed from the queue.
+ *
+ *  \return The number of events actually stored, or -1 if there was an error.
+ *
+ *  This function is thread-safe.
+ */
+extern DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event * events, int numevents,
+                                           SDL_eventaction action,
+                                           Uint32 minType, Uint32 maxType);
+/* @} */
+
+/**
+ *  Checks to see if certain event types are in the event queue.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasEvent(Uint32 type);
+extern DECLSPEC SDL_bool SDLCALL SDL_HasEvents(Uint32 minType, Uint32 maxType);
+
+/**
+ *  This function clears events from the event queue
+ *  This function only affects currently queued events. If you want to make
+ *  sure that all pending OS events are flushed, you can call SDL_PumpEvents()
+ *  on the main thread immediately before the flush call.
+ */
+extern DECLSPEC void SDLCALL SDL_FlushEvent(Uint32 type);
+extern DECLSPEC void SDLCALL SDL_FlushEvents(Uint32 minType, Uint32 maxType);
+
+/**
+ *  \brief Polls for currently pending events.
+ *
+ *  \return 1 if there are any pending events, or 0 if there are none available.
+ *
+ *  \param event If not NULL, the next event is removed from the queue and
+ *               stored in that area.
+ */
+extern DECLSPEC int SDLCALL SDL_PollEvent(SDL_Event * event);
+
+/**
+ *  \brief Waits indefinitely for the next available event.
+ *
+ *  \return 1, or 0 if there was an error while waiting for events.
+ *
+ *  \param event If not NULL, the next event is removed from the queue and
+ *               stored in that area.
+ */
+extern DECLSPEC int SDLCALL SDL_WaitEvent(SDL_Event * event);
+
+/**
+ *  \brief Waits until the specified timeout (in milliseconds) for the next
+ *         available event.
+ *
+ *  \return 1, or 0 if there was an error while waiting for events.
+ *
+ *  \param event If not NULL, the next event is removed from the queue and
+ *               stored in that area.
+ *  \param timeout The timeout (in milliseconds) to wait for next event.
+ */
+extern DECLSPEC int SDLCALL SDL_WaitEventTimeout(SDL_Event * event,
+                                                 int timeout);
+
+/**
+ *  \brief Add an event to the event queue.
+ *
+ *  \return 1 on success, 0 if the event was filtered, or -1 if the event queue
+ *          was full or there was some other error.
+ */
+extern DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event * event);
+
+typedef int (SDLCALL * SDL_EventFilter) (void *userdata, SDL_Event * event);
+
+/**
+ *  Sets up a filter to process all events before they change internal state and
+ *  are posted to the internal event queue.
+ *
+ *  The filter is prototyped as:
+ *  \code
+ *      int SDL_EventFilter(void *userdata, SDL_Event * event);
+ *  \endcode
+ *
+ *  If the filter returns 1, then the event will be added to the internal queue.
+ *  If it returns 0, then the event will be dropped from the queue, but the
+ *  internal state will still be updated.  This allows selective filtering of
+ *  dynamically arriving events.
+ *
+ *  \warning  Be very careful of what you do in the event filter function, as
+ *            it may run in a different thread!
+ *
+ *  There is one caveat when dealing with the ::SDL_QuitEvent event type.  The
+ *  event filter is only called when the window manager desires to close the
+ *  application window.  If the event filter returns 1, then the window will
+ *  be closed, otherwise the window will remain open if possible.
+ *
+ *  If the quit event is generated by an interrupt signal, it will bypass the
+ *  internal queue and be delivered to the application at the next event poll.
+ */
+extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter,
+                                                void *userdata);
+
+/**
+ *  Return the current event filter - can be used to "chain" filters.
+ *  If there is no event filter set, this function returns SDL_FALSE.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetEventFilter(SDL_EventFilter * filter,
+                                                    void **userdata);
+
+/**
+ *  Add a function which is called when an event is added to the queue.
+ */
+extern DECLSPEC void SDLCALL SDL_AddEventWatch(SDL_EventFilter filter,
+                                               void *userdata);
+
+/**
+ *  Remove an event watch function added with SDL_AddEventWatch()
+ */
+extern DECLSPEC void SDLCALL SDL_DelEventWatch(SDL_EventFilter filter,
+                                               void *userdata);
+
+/**
+ *  Run the filter function on the current event queue, removing any
+ *  events for which the filter returns 0.
+ */
+extern DECLSPEC void SDLCALL SDL_FilterEvents(SDL_EventFilter filter,
+                                              void *userdata);
+
+/* @{ */
+#define SDL_QUERY   -1
+#define SDL_IGNORE   0
+#define SDL_DISABLE  0
+#define SDL_ENABLE   1
+
+/**
+ *  This function allows you to set the state of processing certain events.
+ *   - If \c state is set to ::SDL_IGNORE, that event will be automatically
+ *     dropped from the event queue and will not be filtered.
+ *   - If \c state is set to ::SDL_ENABLE, that event will be processed
+ *     normally.
+ *   - If \c state is set to ::SDL_QUERY, SDL_EventState() will return the
+ *     current processing state of the specified event.
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_EventState(Uint32 type, int state);
+/* @} */
+#define SDL_GetEventState(type) SDL_EventState(type, SDL_QUERY)
+
+/**
+ *  This function allocates a set of user-defined events, and returns
+ *  the beginning event number for that set of events.
+ *
+ *  If there aren't enough user-defined events left, this function
+ *  returns (Uint32)-1
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_events_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h
@@ -1,0 +1,136 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_filesystem.h
+ *
+ *  \brief Include file for filesystem SDL API functions
+ */
+
+#ifndef SDL_filesystem_h_
+#define SDL_filesystem_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Get the path where the application resides.
+ *
+ * Get the "base path". This is the directory where the application was run
+ *  from, which is probably the installation directory, and may or may not
+ *  be the process's current working directory.
+ *
+ * This returns an absolute path in UTF-8 encoding, and is guaranteed to
+ *  end with a path separator ('\\' on Windows, '/' most other places).
+ *
+ * The pointer returned by this function is owned by you. Please call
+ *  SDL_free() on the pointer when you are done with it, or it will be a
+ *  memory leak. This is not necessarily a fast call, though, so you should
+ *  call this once near startup and save the string if you need it.
+ *
+ * Some platforms can't determine the application's path, and on other
+ *  platforms, this might be meaningless. In such cases, this function will
+ *  return NULL.
+ *
+ *  \return String of base dir in UTF-8 encoding, or NULL on error.
+ *
+ * \sa SDL_GetPrefPath
+ */
+extern DECLSPEC char *SDLCALL SDL_GetBasePath(void);
+
+/**
+ * \brief Get the user-and-app-specific path where files can be written.
+ *
+ * Get the "pref dir". This is meant to be where users can write personal
+ *  files (preferences and save games, etc) that are specific to your
+ *  application. This directory is unique per user, per application.
+ *
+ * This function will decide the appropriate location in the native filesystem,
+ *  create the directory if necessary, and return a string of the absolute
+ *  path to the directory in UTF-8 encoding.
+ *
+ * On Windows, the string might look like:
+ *  "C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\"
+ *
+ * On Linux, the string might look like:
+ *  "/home/bob/.local/share/My Program Name/"
+ *
+ * On Mac OS X, the string might look like:
+ *  "/Users/bob/Library/Application Support/My Program Name/"
+ *
+ * (etc.)
+ *
+ * You specify the name of your organization (if it's not a real organization,
+ *  your name or an Internet domain you own might do) and the name of your
+ *  application. These should be untranslated proper names.
+ *
+ * Both the org and app strings may become part of a directory name, so
+ *  please follow these rules:
+ *
+ *    - Try to use the same org string (including case-sensitivity) for
+ *      all your applications that use this function.
+ *    - Always use a unique app string for each one, and make sure it never
+ *      changes for an app once you've decided on it.
+ *    - Unicode characters are legal, as long as it's UTF-8 encoded, but...
+ *    - ...only use letters, numbers, and spaces. Avoid punctuation like
+ *      "Game Name 2: Bad Guy's Revenge!" ... "Game Name 2" is sufficient.
+ *
+ * This returns an absolute path in UTF-8 encoding, and is guaranteed to
+ *  end with a path separator ('\\' on Windows, '/' most other places).
+ *
+ * The pointer returned by this function is owned by you. Please call
+ *  SDL_free() on the pointer when you are done with it, or it will be a
+ *  memory leak. This is not necessarily a fast call, though, so you should
+ *  call this once near startup and save the string if you need it.
+ *
+ * You should assume the path returned by this function is the only safe
+ *  place to write files (and that SDL_GetBasePath(), while it might be
+ *  writable, or even the parent of the returned path, aren't where you
+ *  should be writing things).
+ *
+ * Some platforms can't determine the pref path, and on other
+ *  platforms, this might be meaningless. In such cases, this function will
+ *  return NULL.
+ *
+ *   \param org The name of your organization.
+ *   \param app The name of your application.
+ *  \return UTF-8 string of user dir in platform-dependent notation. NULL
+ *          if there's a problem (creating directory failed, etc).
+ *
+ * \sa SDL_GetBasePath
+ */
+extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_filesystem_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h
@@ -1,0 +1,390 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_gamecontroller.h
+ *
+ *  Include file for SDL game controller event handling
+ */
+
+#ifndef SDL_gamecontroller_h_
+#define SDL_gamecontroller_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_rwops.h"
+#include "SDL_joystick.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_gamecontroller.h
+ *
+ *  In order to use these functions, SDL_Init() must have been called
+ *  with the ::SDL_INIT_GAMECONTROLLER flag.  This causes SDL to scan the system
+ *  for game controllers, and load appropriate drivers.
+ *
+ *  If you would like to receive controller updates while the application
+ *  is in the background, you should set the following hint before calling
+ *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
+ */
+
+/**
+ * The gamecontroller structure used to identify an SDL game controller
+ */
+struct _SDL_GameController;
+typedef struct _SDL_GameController SDL_GameController;
+
+
+typedef enum
+{
+    SDL_CONTROLLER_BINDTYPE_NONE = 0,
+    SDL_CONTROLLER_BINDTYPE_BUTTON,
+    SDL_CONTROLLER_BINDTYPE_AXIS,
+    SDL_CONTROLLER_BINDTYPE_HAT
+} SDL_GameControllerBindType;
+
+/**
+ *  Get the SDL joystick layer binding for this controller button/axis mapping
+ */
+typedef struct SDL_GameControllerButtonBind
+{
+    SDL_GameControllerBindType bindType;
+    union
+    {
+        int button;
+        int axis;
+        struct {
+            int hat;
+            int hat_mask;
+        } hat;
+    } value;
+
+} SDL_GameControllerButtonBind;
+
+
+/**
+ *  To count the number of game controllers in the system for the following:
+ *  int nJoysticks = SDL_NumJoysticks();
+ *  int nGameControllers = 0;
+ *  for (int i = 0; i < nJoysticks; i++) {
+ *      if (SDL_IsGameController(i)) {
+ *          nGameControllers++;
+ *      }
+ *  }
+ *
+ *  Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping() you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
+ *  guid,name,mappings
+ *
+ *  Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
+ *  Under Windows there is a reserved GUID of "xinput" that covers any XInput devices.
+ *  The mapping format for joystick is:
+ *      bX - a joystick button, index X
+ *      hX.Y - hat X with value Y
+ *      aX - axis X of the joystick
+ *  Buttons can be used as a controller axis and vice versa.
+ *
+ *  This string shows an example of a valid mapping for a controller
+ *  "03000000341a00003608000000000000,PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
+ *
+ */
+
+/**
+ *  Load a set of mappings from a seekable SDL data stream (memory or file), filtered by the current SDL_GetPlatform()
+ *  A community sourced database of controllers is available at https://raw.github.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
+ *
+ *  If \c freerw is non-zero, the stream will be closed after being read.
+ * 
+ * \return number of mappings added, -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerAddMappingsFromRW(SDL_RWops * rw, int freerw);
+
+/**
+ *  Load a set of mappings from a file, filtered by the current SDL_GetPlatform()
+ *
+ *  Convenience macro.
+ */
+#define SDL_GameControllerAddMappingsFromFile(file)   SDL_GameControllerAddMappingsFromRW(SDL_RWFromFile(file, "rb"), 1)
+
+/**
+ *  Add or update an existing mapping configuration
+ *
+ * \return 1 if mapping is added, 0 if updated, -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerAddMapping(const char* mappingString);
+
+/**
+ *  Get the number of mappings installed
+ *
+ *  \return the number of mappings
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings(void);
+
+/**
+ *  Get the mapping at a particular index.
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if the index is out of range.
+ */
+extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForIndex(int mapping_index);
+
+/**
+ *  Get a mapping string for a GUID
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if no mapping is available
+ */
+extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForGUID(SDL_JoystickGUID guid);
+
+/**
+ *  Get a mapping string for an open GameController
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if no mapping is available
+ */
+extern DECLSPEC char * SDLCALL SDL_GameControllerMapping(SDL_GameController * gamecontroller);
+
+/**
+ *  Is the joystick on this index supported by the game controller interface?
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index);
+
+/**
+ *  Get the implementation dependent name of a game controller.
+ *  This can be called before any controllers are opened.
+ *  If no name can be found, this function returns NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);
+
+/**
+ *  Get the mapping of a game controller.
+ *  This can be called before any controllers are opened.
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if no mapping is available
+ */
+extern DECLSPEC char *SDLCALL SDL_GameControllerMappingForDeviceIndex(int joystick_index);
+
+/**
+ *  Open a game controller for use.
+ *  The index passed as an argument refers to the N'th game controller on the system.
+ *  This index is not the value which will identify this controller in future
+ *  controller events.  The joystick's instance id (::SDL_JoystickID) will be
+ *  used there instead.
+ *
+ *  \return A controller identifier, or NULL if an error occurred.
+ */
+extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerOpen(int joystick_index);
+
+/**
+ * Return the SDL_GameController associated with an instance id.
+ */
+extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerFromInstanceID(SDL_JoystickID joyid);
+
+/**
+ *  Return the name for this currently opened controller
+ */
+extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);
+
+/**
+ *  Get the player index of an opened game controller, or -1 if it's not available
+ *
+ *  For XInput controllers this returns the XInput user index.
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerGetPlayerIndex(SDL_GameController *gamecontroller);
+
+/**
+ *  Get the USB vendor ID of an opened controller, if available.
+ *  If the vendor ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetVendor(SDL_GameController * gamecontroller);
+
+/**
+ *  Get the USB product ID of an opened controller, if available.
+ *  If the product ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProduct(SDL_GameController * gamecontroller);
+
+/**
+ *  Get the product version of an opened controller, if available.
+ *  If the product version isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController * gamecontroller);
+
+/**
+ *  Returns SDL_TRUE if the controller has been opened and currently connected,
+ *  or SDL_FALSE if it has not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GameControllerGetAttached(SDL_GameController *gamecontroller);
+
+/**
+ *  Get the underlying joystick object used by a controller
+ */
+extern DECLSPEC SDL_Joystick *SDLCALL SDL_GameControllerGetJoystick(SDL_GameController *gamecontroller);
+
+/**
+ *  Enable/disable controller event polling.
+ *
+ *  If controller events are disabled, you must call SDL_GameControllerUpdate()
+ *  yourself and check the state of the controller when you want controller
+ *  information.
+ *
+ *  The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE.
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerEventState(int state);
+
+/**
+ *  Update the current state of the open game controllers.
+ *
+ *  This is called automatically by the event loop if any game controller
+ *  events are enabled.
+ */
+extern DECLSPEC void SDLCALL SDL_GameControllerUpdate(void);
+
+
+/**
+ *  The list of axes available from a controller
+ *
+ *  Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX,
+ *  and are centered within ~8000 of zero, though advanced UI will allow users to set
+ *  or autodetect the dead zone, which varies between controllers.
+ *
+ *  Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX.
+ */
+typedef enum
+{
+    SDL_CONTROLLER_AXIS_INVALID = -1,
+    SDL_CONTROLLER_AXIS_LEFTX,
+    SDL_CONTROLLER_AXIS_LEFTY,
+    SDL_CONTROLLER_AXIS_RIGHTX,
+    SDL_CONTROLLER_AXIS_RIGHTY,
+    SDL_CONTROLLER_AXIS_TRIGGERLEFT,
+    SDL_CONTROLLER_AXIS_TRIGGERRIGHT,
+    SDL_CONTROLLER_AXIS_MAX
+} SDL_GameControllerAxis;
+
+/**
+ *  turn this string into a axis mapping
+ */
+extern DECLSPEC SDL_GameControllerAxis SDLCALL SDL_GameControllerGetAxisFromString(const char *pchString);
+
+/**
+ *  turn this axis enum into a string mapping
+ */
+extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis);
+
+/**
+ *  Get the SDL joystick layer binding for this controller button mapping
+ */
+extern DECLSPEC SDL_GameControllerButtonBind SDLCALL
+SDL_GameControllerGetBindForAxis(SDL_GameController *gamecontroller,
+                                 SDL_GameControllerAxis axis);
+
+/**
+ *  Get the current state of an axis control on a game controller.
+ *
+ *  The state is a value ranging from -32768 to 32767 (except for the triggers,
+ *  which range from 0 to 32767).
+ *
+ *  The axis indices start at index 0.
+ */
+extern DECLSPEC Sint16 SDLCALL
+SDL_GameControllerGetAxis(SDL_GameController *gamecontroller,
+                          SDL_GameControllerAxis axis);
+
+/**
+ *  The list of buttons available from a controller
+ */
+typedef enum
+{
+    SDL_CONTROLLER_BUTTON_INVALID = -1,
+    SDL_CONTROLLER_BUTTON_A,
+    SDL_CONTROLLER_BUTTON_B,
+    SDL_CONTROLLER_BUTTON_X,
+    SDL_CONTROLLER_BUTTON_Y,
+    SDL_CONTROLLER_BUTTON_BACK,
+    SDL_CONTROLLER_BUTTON_GUIDE,
+    SDL_CONTROLLER_BUTTON_START,
+    SDL_CONTROLLER_BUTTON_LEFTSTICK,
+    SDL_CONTROLLER_BUTTON_RIGHTSTICK,
+    SDL_CONTROLLER_BUTTON_LEFTSHOULDER,
+    SDL_CONTROLLER_BUTTON_RIGHTSHOULDER,
+    SDL_CONTROLLER_BUTTON_DPAD_UP,
+    SDL_CONTROLLER_BUTTON_DPAD_DOWN,
+    SDL_CONTROLLER_BUTTON_DPAD_LEFT,
+    SDL_CONTROLLER_BUTTON_DPAD_RIGHT,
+    SDL_CONTROLLER_BUTTON_MAX
+} SDL_GameControllerButton;
+
+/**
+ *  turn this string into a button mapping
+ */
+extern DECLSPEC SDL_GameControllerButton SDLCALL SDL_GameControllerGetButtonFromString(const char *pchString);
+
+/**
+ *  turn this button enum into a string mapping
+ */
+extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForButton(SDL_GameControllerButton button);
+
+/**
+ *  Get the SDL joystick layer binding for this controller button mapping
+ */
+extern DECLSPEC SDL_GameControllerButtonBind SDLCALL
+SDL_GameControllerGetBindForButton(SDL_GameController *gamecontroller,
+                                   SDL_GameControllerButton button);
+
+
+/**
+ *  Get the current state of a button on a game controller.
+ *
+ *  The button indices start at index 0.
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_GameControllerGetButton(SDL_GameController *gamecontroller,
+                                                          SDL_GameControllerButton button);
+
+/**
+ *  Trigger a rumble effect
+ *  Each call to this function cancels any previous rumble effect, and calling it with 0 intensity stops any rumbling.
+ *
+ *  \param gamecontroller The controller to vibrate
+ *  \param low_frequency_rumble The intensity of the low frequency (left) rumble motor, from 0 to 0xFFFF
+ *  \param high_frequency_rumble The intensity of the high frequency (right) rumble motor, from 0 to 0xFFFF
+ *  \param duration_ms The duration of the rumble effect, in milliseconds
+ *
+ *  \return 0, or -1 if rumble isn't supported on this joystick
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerRumble(SDL_GameController *gamecontroller, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms);
+
+/**
+ *  Close a controller previously opened with SDL_GameControllerOpen().
+ */
+extern DECLSPEC void SDLCALL SDL_GameControllerClose(SDL_GameController *gamecontroller);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_gamecontroller_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h
@@ -1,0 +1,87 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_gesture.h
+ *
+ *  Include file for SDL gesture event handling.
+ */
+
+#ifndef SDL_gesture_h_
+#define SDL_gesture_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+
+#include "SDL_touch.h"
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef Sint64 SDL_GestureID;
+
+/* Function prototypes */
+
+/**
+ *  \brief Begin Recording a gesture on the specified touch, or all touches (-1)
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId);
+
+
+/**
+ *  \brief Save all currently loaded Dollar Gesture templates
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *dst);
+
+/**
+ *  \brief Save a currently loaded Dollar Gesture template
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *dst);
+
+
+/**
+ *  \brief Load Dollar Gesture templates from a file
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_gesture_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h
@@ -1,0 +1,1238 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_haptic.h
+ *
+ *  \brief The SDL haptic subsystem allows you to control haptic (force feedback)
+ *         devices.
+ *
+ *  The basic usage is as follows:
+ *   - Initialize the subsystem (::SDL_INIT_HAPTIC).
+ *   - Open a haptic device.
+ *    - SDL_HapticOpen() to open from index.
+ *    - SDL_HapticOpenFromJoystick() to open from an existing joystick.
+ *   - Create an effect (::SDL_HapticEffect).
+ *   - Upload the effect with SDL_HapticNewEffect().
+ *   - Run the effect with SDL_HapticRunEffect().
+ *   - (optional) Free the effect with SDL_HapticDestroyEffect().
+ *   - Close the haptic device with SDL_HapticClose().
+ *
+ * \par Simple rumble example:
+ * \code
+ *    SDL_Haptic *haptic;
+ *
+ *    // Open the device
+ *    haptic = SDL_HapticOpen( 0 );
+ *    if (haptic == NULL)
+ *       return -1;
+ *
+ *    // Initialize simple rumble
+ *    if (SDL_HapticRumbleInit( haptic ) != 0)
+ *       return -1;
+ *
+ *    // Play effect at 50% strength for 2 seconds
+ *    if (SDL_HapticRumblePlay( haptic, 0.5, 2000 ) != 0)
+ *       return -1;
+ *    SDL_Delay( 2000 );
+ *
+ *    // Clean up
+ *    SDL_HapticClose( haptic );
+ * \endcode
+ *
+ * \par Complete example:
+ * \code
+ * int test_haptic( SDL_Joystick * joystick ) {
+ *    SDL_Haptic *haptic;
+ *    SDL_HapticEffect effect;
+ *    int effect_id;
+ *
+ *    // Open the device
+ *    haptic = SDL_HapticOpenFromJoystick( joystick );
+ *    if (haptic == NULL) return -1; // Most likely joystick isn't haptic
+ *
+ *    // See if it can do sine waves
+ *    if ((SDL_HapticQuery(haptic) & SDL_HAPTIC_SINE)==0) {
+ *       SDL_HapticClose(haptic); // No sine effect
+ *       return -1;
+ *    }
+ *
+ *    // Create the effect
+ *    memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
+ *    effect.type = SDL_HAPTIC_SINE;
+ *    effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates
+ *    effect.periodic.direction.dir[0] = 18000; // Force comes from south
+ *    effect.periodic.period = 1000; // 1000 ms
+ *    effect.periodic.magnitude = 20000; // 20000/32767 strength
+ *    effect.periodic.length = 5000; // 5 seconds long
+ *    effect.periodic.attack_length = 1000; // Takes 1 second to get max strength
+ *    effect.periodic.fade_length = 1000; // Takes 1 second to fade away
+ *
+ *    // Upload the effect
+ *    effect_id = SDL_HapticNewEffect( haptic, &effect );
+ *
+ *    // Test the effect
+ *    SDL_HapticRunEffect( haptic, effect_id, 1 );
+ *    SDL_Delay( 5000); // Wait for the effect to finish
+ *
+ *    // We destroy the effect, although closing the device also does this
+ *    SDL_HapticDestroyEffect( haptic, effect_id );
+ *
+ *    // Close the device
+ *    SDL_HapticClose(haptic);
+ *
+ *    return 0; // Success
+ * }
+ * \endcode
+ */
+
+#ifndef SDL_haptic_h_
+#define SDL_haptic_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_joystick.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/* FIXME: For SDL 2.1, adjust all the magnitude variables to be Uint16 (0xFFFF).
+ *
+ * At the moment the magnitude variables are mixed between signed/unsigned, and
+ * it is also not made clear that ALL of those variables expect a max of 0x7FFF.
+ *
+ * Some platforms may have higher precision than that (Linux FF, Windows XInput)
+ * so we should fix the inconsistency in favor of higher possible precision,
+ * adjusting for platforms that use different scales.
+ * -flibit
+ */
+
+/**
+ *  \typedef SDL_Haptic
+ *
+ *  \brief The haptic structure used to identify an SDL haptic.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticOpenFromJoystick
+ *  \sa SDL_HapticClose
+ */
+struct _SDL_Haptic;
+typedef struct _SDL_Haptic SDL_Haptic;
+
+
+/**
+ *  \name Haptic features
+ *
+ *  Different haptic features a device can have.
+ */
+/* @{ */
+
+/**
+ *  \name Haptic effects
+ */
+/* @{ */
+
+/**
+ *  \brief Constant effect supported.
+ *
+ *  Constant haptic effect.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_CONSTANT   (1u<<0)
+
+/**
+ *  \brief Sine wave effect supported.
+ *
+ *  Periodic haptic effect that simulates sine waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_SINE       (1u<<1)
+
+/**
+ *  \brief Left/Right effect supported.
+ *
+ *  Haptic effect for direct control over high/low frequency motors.
+ *
+ *  \sa SDL_HapticLeftRight
+ * \warning this value was SDL_HAPTIC_SQUARE right before 2.0.0 shipped. Sorry,
+ *          we ran out of bits, and this is important for XInput devices.
+ */
+#define SDL_HAPTIC_LEFTRIGHT     (1u<<2)
+
+/* !!! FIXME: put this back when we have more bits in 2.1 */
+/* #define SDL_HAPTIC_SQUARE     (1<<2) */
+
+/**
+ *  \brief Triangle wave effect supported.
+ *
+ *  Periodic haptic effect that simulates triangular waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_TRIANGLE   (1u<<3)
+
+/**
+ *  \brief Sawtoothup wave effect supported.
+ *
+ *  Periodic haptic effect that simulates saw tooth up waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_SAWTOOTHUP (1u<<4)
+
+/**
+ *  \brief Sawtoothdown wave effect supported.
+ *
+ *  Periodic haptic effect that simulates saw tooth down waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_SAWTOOTHDOWN (1u<<5)
+
+/**
+ *  \brief Ramp effect supported.
+ *
+ *  Ramp haptic effect.
+ *
+ *  \sa SDL_HapticRamp
+ */
+#define SDL_HAPTIC_RAMP       (1u<<6)
+
+/**
+ *  \brief Spring effect supported - uses axes position.
+ *
+ *  Condition haptic effect that simulates a spring.  Effect is based on the
+ *  axes position.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_SPRING     (1u<<7)
+
+/**
+ *  \brief Damper effect supported - uses axes velocity.
+ *
+ *  Condition haptic effect that simulates dampening.  Effect is based on the
+ *  axes velocity.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_DAMPER     (1u<<8)
+
+/**
+ *  \brief Inertia effect supported - uses axes acceleration.
+ *
+ *  Condition haptic effect that simulates inertia.  Effect is based on the axes
+ *  acceleration.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_INERTIA    (1u<<9)
+
+/**
+ *  \brief Friction effect supported - uses axes movement.
+ *
+ *  Condition haptic effect that simulates friction.  Effect is based on the
+ *  axes movement.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_FRICTION   (1u<<10)
+
+/**
+ *  \brief Custom effect is supported.
+ *
+ *  User defined custom haptic effect.
+ */
+#define SDL_HAPTIC_CUSTOM     (1u<<11)
+
+/* @} *//* Haptic effects */
+
+/* These last few are features the device has, not effects */
+
+/**
+ *  \brief Device can set global gain.
+ *
+ *  Device supports setting the global gain.
+ *
+ *  \sa SDL_HapticSetGain
+ */
+#define SDL_HAPTIC_GAIN       (1u<<12)
+
+/**
+ *  \brief Device can set autocenter.
+ *
+ *  Device supports setting autocenter.
+ *
+ *  \sa SDL_HapticSetAutocenter
+ */
+#define SDL_HAPTIC_AUTOCENTER (1u<<13)
+
+/**
+ *  \brief Device can be queried for effect status.
+ *
+ *  Device supports querying effect status.
+ *
+ *  \sa SDL_HapticGetEffectStatus
+ */
+#define SDL_HAPTIC_STATUS     (1u<<14)
+
+/**
+ *  \brief Device can be paused.
+ *
+ *  Devices supports being paused.
+ *
+ *  \sa SDL_HapticPause
+ *  \sa SDL_HapticUnpause
+ */
+#define SDL_HAPTIC_PAUSE      (1u<<15)
+
+
+/**
+ * \name Direction encodings
+ */
+/* @{ */
+
+/**
+ *  \brief Uses polar coordinates for the direction.
+ *
+ *  \sa SDL_HapticDirection
+ */
+#define SDL_HAPTIC_POLAR      0
+
+/**
+ *  \brief Uses cartesian coordinates for the direction.
+ *
+ *  \sa SDL_HapticDirection
+ */
+#define SDL_HAPTIC_CARTESIAN  1
+
+/**
+ *  \brief Uses spherical coordinates for the direction.
+ *
+ *  \sa SDL_HapticDirection
+ */
+#define SDL_HAPTIC_SPHERICAL  2
+
+/* @} *//* Direction encodings */
+
+/* @} *//* Haptic features */
+
+/*
+ * Misc defines.
+ */
+
+/**
+ * \brief Used to play a device an infinite number of times.
+ *
+ * \sa SDL_HapticRunEffect
+ */
+#define SDL_HAPTIC_INFINITY   4294967295U
+
+
+/**
+ *  \brief Structure that represents a haptic direction.
+ *
+ *  This is the direction where the force comes from,
+ *  instead of the direction in which the force is exerted.
+ *
+ *  Directions can be specified by:
+ *   - ::SDL_HAPTIC_POLAR : Specified by polar coordinates.
+ *   - ::SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates.
+ *   - ::SDL_HAPTIC_SPHERICAL : Specified by spherical coordinates.
+ *
+ *  Cardinal directions of the haptic device are relative to the positioning
+ *  of the device.  North is considered to be away from the user.
+ *
+ *  The following diagram represents the cardinal directions:
+ *  \verbatim
+                 .--.
+                 |__| .-------.
+                 |=.| |.-----.|
+                 |--| ||     ||
+                 |  | |'-----'|
+                 |__|~')_____('
+                   [ COMPUTER ]
+
+
+                     North (0,-1)
+                         ^
+                         |
+                         |
+   (-1,0)  West <----[ HAPTIC ]----> East (1,0)
+                         |
+                         |
+                         v
+                      South (0,1)
+
+
+                      [ USER ]
+                        \|||/
+                        (o o)
+                  ---ooO-(_)-Ooo---
+    \endverbatim
+ *
+ *  If type is ::SDL_HAPTIC_POLAR, direction is encoded by hundredths of a
+ *  degree starting north and turning clockwise.  ::SDL_HAPTIC_POLAR only uses
+ *  the first \c dir parameter.  The cardinal directions would be:
+ *   - North: 0 (0 degrees)
+ *   - East: 9000 (90 degrees)
+ *   - South: 18000 (180 degrees)
+ *   - West: 27000 (270 degrees)
+ *
+ *  If type is ::SDL_HAPTIC_CARTESIAN, direction is encoded by three positions
+ *  (X axis, Y axis and Z axis (with 3 axes)).  ::SDL_HAPTIC_CARTESIAN uses
+ *  the first three \c dir parameters.  The cardinal directions would be:
+ *   - North:  0,-1, 0
+ *   - East:   1, 0, 0
+ *   - South:  0, 1, 0
+ *   - West:  -1, 0, 0
+ *
+ *  The Z axis represents the height of the effect if supported, otherwise
+ *  it's unused.  In cartesian encoding (1, 2) would be the same as (2, 4), you
+ *  can use any multiple you want, only the direction matters.
+ *
+ *  If type is ::SDL_HAPTIC_SPHERICAL, direction is encoded by two rotations.
+ *  The first two \c dir parameters are used.  The \c dir parameters are as
+ *  follows (all values are in hundredths of degrees):
+ *   - Degrees from (1, 0) rotated towards (0, 1).
+ *   - Degrees towards (0, 0, 1) (device needs at least 3 axes).
+ *
+ *
+ *  Example of force coming from the south with all encodings (force coming
+ *  from the south means the user will have to pull the stick to counteract):
+ *  \code
+ *  SDL_HapticDirection direction;
+ *
+ *  // Cartesian directions
+ *  direction.type = SDL_HAPTIC_CARTESIAN; // Using cartesian direction encoding.
+ *  direction.dir[0] = 0; // X position
+ *  direction.dir[1] = 1; // Y position
+ *  // Assuming the device has 2 axes, we don't need to specify third parameter.
+ *
+ *  // Polar directions
+ *  direction.type = SDL_HAPTIC_POLAR; // We'll be using polar direction encoding.
+ *  direction.dir[0] = 18000; // Polar only uses first parameter
+ *
+ *  // Spherical coordinates
+ *  direction.type = SDL_HAPTIC_SPHERICAL; // Spherical encoding
+ *  direction.dir[0] = 9000; // Since we only have two axes we don't need more parameters.
+ *  \endcode
+ *
+ *  \sa SDL_HAPTIC_POLAR
+ *  \sa SDL_HAPTIC_CARTESIAN
+ *  \sa SDL_HAPTIC_SPHERICAL
+ *  \sa SDL_HapticEffect
+ *  \sa SDL_HapticNumAxes
+ */
+typedef struct SDL_HapticDirection
+{
+    Uint8 type;         /**< The type of encoding. */
+    Sint32 dir[3];      /**< The encoded direction. */
+} SDL_HapticDirection;
+
+
+/**
+ *  \brief A structure containing a template for a Constant effect.
+ *
+ *  This struct is exclusively for the ::SDL_HAPTIC_CONSTANT effect.
+ *
+ *  A constant effect applies a constant force in the specified direction
+ *  to the joystick.
+ *
+ *  \sa SDL_HAPTIC_CONSTANT
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticConstant
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_CONSTANT */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Constant */
+    Sint16 level;           /**< Strength of the constant effect. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length;     /**< Duration of the fade. */
+    Uint16 fade_level;      /**< Level at the end of the fade. */
+} SDL_HapticConstant;
+
+/**
+ *  \brief A structure containing a template for a Periodic effect.
+ *
+ *  The struct handles the following effects:
+ *   - ::SDL_HAPTIC_SINE
+ *   - ::SDL_HAPTIC_LEFTRIGHT
+ *   - ::SDL_HAPTIC_TRIANGLE
+ *   - ::SDL_HAPTIC_SAWTOOTHUP
+ *   - ::SDL_HAPTIC_SAWTOOTHDOWN
+ *
+ *  A periodic effect consists in a wave-shaped effect that repeats itself
+ *  over time.  The type determines the shape of the wave and the parameters
+ *  determine the dimensions of the wave.
+ *
+ *  Phase is given by hundredth of a degree meaning that giving the phase a value
+ *  of 9000 will displace it 25% of its period.  Here are sample values:
+ *   -     0: No phase displacement.
+ *   -  9000: Displaced 25% of its period.
+ *   - 18000: Displaced 50% of its period.
+ *   - 27000: Displaced 75% of its period.
+ *   - 36000: Displaced 100% of its period, same as 0, but 0 is preferred.
+ *
+ *  Examples:
+ *  \verbatim
+    SDL_HAPTIC_SINE
+      __      __      __      __
+     /  \    /  \    /  \    /
+    /    \__/    \__/    \__/
+
+    SDL_HAPTIC_SQUARE
+     __    __    __    __    __
+    |  |  |  |  |  |  |  |  |  |
+    |  |__|  |__|  |__|  |__|  |
+
+    SDL_HAPTIC_TRIANGLE
+      /\    /\    /\    /\    /\
+     /  \  /  \  /  \  /  \  /
+    /    \/    \/    \/    \/
+
+    SDL_HAPTIC_SAWTOOTHUP
+      /|  /|  /|  /|  /|  /|  /|
+     / | / | / | / | / | / | / |
+    /  |/  |/  |/  |/  |/  |/  |
+
+    SDL_HAPTIC_SAWTOOTHDOWN
+    \  |\  |\  |\  |\  |\  |\  |
+     \ | \ | \ | \ | \ | \ | \ |
+      \|  \|  \|  \|  \|  \|  \|
+    \endverbatim
+ *
+ *  \sa SDL_HAPTIC_SINE
+ *  \sa SDL_HAPTIC_LEFTRIGHT
+ *  \sa SDL_HAPTIC_TRIANGLE
+ *  \sa SDL_HAPTIC_SAWTOOTHUP
+ *  \sa SDL_HAPTIC_SAWTOOTHDOWN
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticPeriodic
+{
+    /* Header */
+    Uint16 type;        /**< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT,
+                             ::SDL_HAPTIC_TRIANGLE, ::SDL_HAPTIC_SAWTOOTHUP or
+                             ::SDL_HAPTIC_SAWTOOTHDOWN */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;      /**< Duration of the effect. */
+    Uint16 delay;       /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;      /**< Button that triggers the effect. */
+    Uint16 interval;    /**< How soon it can be triggered again after button. */
+
+    /* Periodic */
+    Uint16 period;      /**< Period of the wave. */
+    Sint16 magnitude;   /**< Peak value; if negative, equivalent to 180 degrees extra phase shift. */
+    Sint16 offset;      /**< Mean value of the wave. */
+    Uint16 phase;       /**< Positive phase shift given by hundredth of a degree. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length; /**< Duration of the fade. */
+    Uint16 fade_level;  /**< Level at the end of the fade. */
+} SDL_HapticPeriodic;
+
+/**
+ *  \brief A structure containing a template for a Condition effect.
+ *
+ *  The struct handles the following effects:
+ *   - ::SDL_HAPTIC_SPRING: Effect based on axes position.
+ *   - ::SDL_HAPTIC_DAMPER: Effect based on axes velocity.
+ *   - ::SDL_HAPTIC_INERTIA: Effect based on axes acceleration.
+ *   - ::SDL_HAPTIC_FRICTION: Effect based on axes movement.
+ *
+ *  Direction is handled by condition internals instead of a direction member.
+ *  The condition effect specific members have three parameters.  The first
+ *  refers to the X axis, the second refers to the Y axis and the third
+ *  refers to the Z axis.  The right terms refer to the positive side of the
+ *  axis and the left terms refer to the negative side of the axis.  Please
+ *  refer to the ::SDL_HapticDirection diagram for which side is positive and
+ *  which is negative.
+ *
+ *  \sa SDL_HapticDirection
+ *  \sa SDL_HAPTIC_SPRING
+ *  \sa SDL_HAPTIC_DAMPER
+ *  \sa SDL_HAPTIC_INERTIA
+ *  \sa SDL_HAPTIC_FRICTION
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticCondition
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_SPRING, ::SDL_HAPTIC_DAMPER,
+                                 ::SDL_HAPTIC_INERTIA or ::SDL_HAPTIC_FRICTION */
+    SDL_HapticDirection direction;  /**< Direction of the effect - Not used ATM. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Condition */
+    Uint16 right_sat[3];    /**< Level when joystick is to the positive side; max 0xFFFF. */
+    Uint16 left_sat[3];     /**< Level when joystick is to the negative side; max 0xFFFF. */
+    Sint16 right_coeff[3];  /**< How fast to increase the force towards the positive side. */
+    Sint16 left_coeff[3];   /**< How fast to increase the force towards the negative side. */
+    Uint16 deadband[3];     /**< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. */
+    Sint16 center[3];       /**< Position of the dead zone. */
+} SDL_HapticCondition;
+
+/**
+ *  \brief A structure containing a template for a Ramp effect.
+ *
+ *  This struct is exclusively for the ::SDL_HAPTIC_RAMP effect.
+ *
+ *  The ramp effect starts at start strength and ends at end strength.
+ *  It augments in linear fashion.  If you use attack and fade with a ramp
+ *  the effects get added to the ramp effect making the effect become
+ *  quadratic instead of linear.
+ *
+ *  \sa SDL_HAPTIC_RAMP
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticRamp
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_RAMP */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Ramp */
+    Sint16 start;           /**< Beginning strength level. */
+    Sint16 end;             /**< Ending strength level. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length;     /**< Duration of the fade. */
+    Uint16 fade_level;      /**< Level at the end of the fade. */
+} SDL_HapticRamp;
+
+/**
+ * \brief A structure containing a template for a Left/Right effect.
+ *
+ * This struct is exclusively for the ::SDL_HAPTIC_LEFTRIGHT effect.
+ *
+ * The Left/Right effect is used to explicitly control the large and small
+ * motors, commonly found in modern game controllers. The small (right) motor
+ * is high frequency, and the large (left) motor is low frequency.
+ *
+ * \sa SDL_HAPTIC_LEFTRIGHT
+ * \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticLeftRight
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_LEFTRIGHT */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect in milliseconds. */
+
+    /* Rumble */
+    Uint16 large_magnitude; /**< Control of the large controller motor. */
+    Uint16 small_magnitude; /**< Control of the small controller motor. */
+} SDL_HapticLeftRight;
+
+/**
+ *  \brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect.
+ *
+ *  This struct is exclusively for the ::SDL_HAPTIC_CUSTOM effect.
+ *
+ *  A custom force feedback effect is much like a periodic effect, where the
+ *  application can define its exact shape.  You will have to allocate the
+ *  data yourself.  Data should consist of channels * samples Uint16 samples.
+ *
+ *  If channels is one, the effect is rotated using the defined direction.
+ *  Otherwise it uses the samples in data for the different axes.
+ *
+ *  \sa SDL_HAPTIC_CUSTOM
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticCustom
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_CUSTOM */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Custom */
+    Uint8 channels;         /**< Axes to use, minimum of one. */
+    Uint16 period;          /**< Sample periods. */
+    Uint16 samples;         /**< Amount of samples. */
+    Uint16 *data;           /**< Should contain channels*samples items. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length;     /**< Duration of the fade. */
+    Uint16 fade_level;      /**< Level at the end of the fade. */
+} SDL_HapticCustom;
+
+/**
+ *  \brief The generic template for any haptic effect.
+ *
+ *  All values max at 32767 (0x7FFF).  Signed values also can be negative.
+ *  Time values unless specified otherwise are in milliseconds.
+ *
+ *  You can also pass ::SDL_HAPTIC_INFINITY to length instead of a 0-32767
+ *  value.  Neither delay, interval, attack_length nor fade_length support
+ *  ::SDL_HAPTIC_INFINITY.  Fade will also not be used since effect never ends.
+ *
+ *  Additionally, the ::SDL_HAPTIC_RAMP effect does not support a duration of
+ *  ::SDL_HAPTIC_INFINITY.
+ *
+ *  Button triggers may not be supported on all devices, it is advised to not
+ *  use them if possible.  Buttons start at index 1 instead of index 0 like
+ *  the joystick.
+ *
+ *  If both attack_length and fade_level are 0, the envelope is not used,
+ *  otherwise both values are used.
+ *
+ *  Common parts:
+ *  \code
+ *  // Replay - All effects have this
+ *  Uint32 length;        // Duration of effect (ms).
+ *  Uint16 delay;         // Delay before starting effect.
+ *
+ *  // Trigger - All effects have this
+ *  Uint16 button;        // Button that triggers effect.
+ *  Uint16 interval;      // How soon before effect can be triggered again.
+ *
+ *  // Envelope - All effects except condition effects have this
+ *  Uint16 attack_length; // Duration of the attack (ms).
+ *  Uint16 attack_level;  // Level at the start of the attack.
+ *  Uint16 fade_length;   // Duration of the fade out (ms).
+ *  Uint16 fade_level;    // Level at the end of the fade.
+ *  \endcode
+ *
+ *
+ *  Here we have an example of a constant effect evolution in time:
+ *  \verbatim
+    Strength
+    ^
+    |
+    |    effect level -->  _________________
+    |                     /                 \
+    |                    /                   \
+    |                   /                     \
+    |                  /                       \
+    | attack_level --> |                        \
+    |                  |                        |  <---  fade_level
+    |
+    +--------------------------------------------------> Time
+                       [--]                 [---]
+                       attack_length        fade_length
+
+    [------------------][-----------------------]
+    delay               length
+    \endverbatim
+ *
+ *  Note either the attack_level or the fade_level may be above the actual
+ *  effect level.
+ *
+ *  \sa SDL_HapticConstant
+ *  \sa SDL_HapticPeriodic
+ *  \sa SDL_HapticCondition
+ *  \sa SDL_HapticRamp
+ *  \sa SDL_HapticLeftRight
+ *  \sa SDL_HapticCustom
+ */
+typedef union SDL_HapticEffect
+{
+    /* Common for all force feedback effects */
+    Uint16 type;                    /**< Effect type. */
+    SDL_HapticConstant constant;    /**< Constant effect. */
+    SDL_HapticPeriodic periodic;    /**< Periodic effect. */
+    SDL_HapticCondition condition;  /**< Condition effect. */
+    SDL_HapticRamp ramp;            /**< Ramp effect. */
+    SDL_HapticLeftRight leftright;  /**< Left/Right effect. */
+    SDL_HapticCustom custom;        /**< Custom effect. */
+} SDL_HapticEffect;
+
+
+/* Function prototypes */
+/**
+ *  \brief Count the number of haptic devices attached to the system.
+ *
+ *  \return Number of haptic devices detected on the system.
+ */
+extern DECLSPEC int SDLCALL SDL_NumHaptics(void);
+
+/**
+ *  \brief Get the implementation dependent name of a haptic device.
+ *
+ *  This can be called before any joysticks are opened.
+ *  If no name can be found, this function returns NULL.
+ *
+ *  \param device_index Index of the device to get its name.
+ *  \return Name of the device or NULL on error.
+ *
+ *  \sa SDL_NumHaptics
+ */
+extern DECLSPEC const char *SDLCALL SDL_HapticName(int device_index);
+
+/**
+ *  \brief Opens a haptic device for use.
+ *
+ *  The index passed as an argument refers to the N'th haptic device on this
+ *  system.
+ *
+ *  When opening a haptic device, its gain will be set to maximum and
+ *  autocenter will be disabled.  To modify these values use
+ *  SDL_HapticSetGain() and SDL_HapticSetAutocenter().
+ *
+ *  \param device_index Index of the device to open.
+ *  \return Device identifier or NULL on error.
+ *
+ *  \sa SDL_HapticIndex
+ *  \sa SDL_HapticOpenFromMouse
+ *  \sa SDL_HapticOpenFromJoystick
+ *  \sa SDL_HapticClose
+ *  \sa SDL_HapticSetGain
+ *  \sa SDL_HapticSetAutocenter
+ *  \sa SDL_HapticPause
+ *  \sa SDL_HapticStopAll
+ */
+extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpen(int device_index);
+
+/**
+ *  \brief Checks if the haptic device at index has been opened.
+ *
+ *  \param device_index Index to check to see if it has been opened.
+ *  \return 1 if it has been opened or 0 if it hasn't.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticIndex
+ */
+extern DECLSPEC int SDLCALL SDL_HapticOpened(int device_index);
+
+/**
+ *  \brief Gets the index of a haptic device.
+ *
+ *  \param haptic Haptic device to get the index of.
+ *  \return The index of the haptic device or -1 on error.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticOpened
+ */
+extern DECLSPEC int SDLCALL SDL_HapticIndex(SDL_Haptic * haptic);
+
+/**
+ *  \brief Gets whether or not the current mouse has haptic capabilities.
+ *
+ *  \return SDL_TRUE if the mouse is haptic, SDL_FALSE if it isn't.
+ *
+ *  \sa SDL_HapticOpenFromMouse
+ */
+extern DECLSPEC int SDLCALL SDL_MouseIsHaptic(void);
+
+/**
+ *  \brief Tries to open a haptic device from the current mouse.
+ *
+ *  \return The haptic device identifier or NULL on error.
+ *
+ *  \sa SDL_MouseIsHaptic
+ *  \sa SDL_HapticOpen
+ */
+extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpenFromMouse(void);
+
+/**
+ *  \brief Checks to see if a joystick has haptic features.
+ *
+ *  \param joystick Joystick to test for haptic capabilities.
+ *  \return SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn't
+ *          or -1 if an error occurred.
+ *
+ *  \sa SDL_HapticOpenFromJoystick
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickIsHaptic(SDL_Joystick * joystick);
+
+/**
+ *  \brief Opens a haptic device for use from a joystick device.
+ *
+ *  You must still close the haptic device separately.  It will not be closed
+ *  with the joystick.
+ *
+ *  When opening from a joystick you should first close the haptic device before
+ *  closing the joystick device.  If not, on some implementations the haptic
+ *  device will also get unallocated and you'll be unable to use force feedback
+ *  on that device.
+ *
+ *  \param joystick Joystick to create a haptic device from.
+ *  \return A valid haptic device identifier on success or NULL on error.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticClose
+ */
+extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpenFromJoystick(SDL_Joystick *
+                                                               joystick);
+
+/**
+ *  \brief Closes a haptic device previously opened with SDL_HapticOpen().
+ *
+ *  \param haptic Haptic device to close.
+ */
+extern DECLSPEC void SDLCALL SDL_HapticClose(SDL_Haptic * haptic);
+
+/**
+ *  \brief Returns the number of effects a haptic device can store.
+ *
+ *  On some platforms this isn't fully supported, and therefore is an
+ *  approximation.  Always check to see if your created effect was actually
+ *  created and do not rely solely on SDL_HapticNumEffects().
+ *
+ *  \param haptic The haptic device to query effect max.
+ *  \return The number of effects the haptic device can store or
+ *          -1 on error.
+ *
+ *  \sa SDL_HapticNumEffectsPlaying
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNumEffects(SDL_Haptic * haptic);
+
+/**
+ *  \brief Returns the number of effects a haptic device can play at the same
+ *         time.
+ *
+ *  This is not supported on all platforms, but will always return a value.
+ *  Added here for the sake of completeness.
+ *
+ *  \param haptic The haptic device to query maximum playing effects.
+ *  \return The number of effects the haptic device can play at the same time
+ *          or -1 on error.
+ *
+ *  \sa SDL_HapticNumEffects
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic);
+
+/**
+ *  \brief Gets the haptic device's supported features in bitwise manner.
+ *
+ *  Example:
+ *  \code
+ *  if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) {
+ *      printf("We have constant haptic effect!\n");
+ *  }
+ *  \endcode
+ *
+ *  \param haptic The haptic device to query.
+ *  \return Haptic features in bitwise manner (OR'd).
+ *
+ *  \sa SDL_HapticNumEffects
+ *  \sa SDL_HapticEffectSupported
+ */
+extern DECLSPEC unsigned int SDLCALL SDL_HapticQuery(SDL_Haptic * haptic);
+
+
+/**
+ *  \brief Gets the number of haptic axes the device has.
+ *
+ *  \sa SDL_HapticDirection
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNumAxes(SDL_Haptic * haptic);
+
+/**
+ *  \brief Checks to see if effect is supported by haptic.
+ *
+ *  \param haptic Haptic device to check on.
+ *  \param effect Effect to check to see if it is supported.
+ *  \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error.
+ *
+ *  \sa SDL_HapticQuery
+ *  \sa SDL_HapticNewEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticEffectSupported(SDL_Haptic * haptic,
+                                                      SDL_HapticEffect *
+                                                      effect);
+
+/**
+ *  \brief Creates a new haptic effect on the device.
+ *
+ *  \param haptic Haptic device to create the effect on.
+ *  \param effect Properties of the effect to create.
+ *  \return The identifier of the effect on success or -1 on error.
+ *
+ *  \sa SDL_HapticUpdateEffect
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticDestroyEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNewEffect(SDL_Haptic * haptic,
+                                                SDL_HapticEffect * effect);
+
+/**
+ *  \brief Updates the properties of an effect.
+ *
+ *  Can be used dynamically, although behavior when dynamically changing
+ *  direction may be strange.  Specifically the effect may reupload itself
+ *  and start playing from the start.  You cannot change the type either when
+ *  running SDL_HapticUpdateEffect().
+ *
+ *  \param haptic Haptic device that has the effect.
+ *  \param effect Identifier of the effect to update.
+ *  \param data New effect properties to use.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticNewEffect
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticDestroyEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticUpdateEffect(SDL_Haptic * haptic,
+                                                   int effect,
+                                                   SDL_HapticEffect * data);
+
+/**
+ *  \brief Runs the haptic effect on its associated haptic device.
+ *
+ *  If iterations are ::SDL_HAPTIC_INFINITY, it'll run the effect over and over
+ *  repeating the envelope (attack and fade) every time.  If you only want the
+ *  effect to last forever, set ::SDL_HAPTIC_INFINITY in the effect's length
+ *  parameter.
+ *
+ *  \param haptic Haptic device to run the effect on.
+ *  \param effect Identifier of the haptic effect to run.
+ *  \param iterations Number of iterations to run the effect. Use
+ *         ::SDL_HAPTIC_INFINITY for infinity.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticStopEffect
+ *  \sa SDL_HapticDestroyEffect
+ *  \sa SDL_HapticGetEffectStatus
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRunEffect(SDL_Haptic * haptic,
+                                                int effect,
+                                                Uint32 iterations);
+
+/**
+ *  \brief Stops the haptic effect on its associated haptic device.
+ *
+ *  \param haptic Haptic device to stop the effect on.
+ *  \param effect Identifier of the effect to stop.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticDestroyEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticStopEffect(SDL_Haptic * haptic,
+                                                 int effect);
+
+/**
+ *  \brief Destroys a haptic effect on the device.
+ *
+ *  This will stop the effect if it's running.  Effects are automatically
+ *  destroyed when the device is closed.
+ *
+ *  \param haptic Device to destroy the effect on.
+ *  \param effect Identifier of the effect to destroy.
+ *
+ *  \sa SDL_HapticNewEffect
+ */
+extern DECLSPEC void SDLCALL SDL_HapticDestroyEffect(SDL_Haptic * haptic,
+                                                     int effect);
+
+/**
+ *  \brief Gets the status of the current effect on the haptic device.
+ *
+ *  Device must support the ::SDL_HAPTIC_STATUS feature.
+ *
+ *  \param haptic Haptic device to query the effect status on.
+ *  \param effect Identifier of the effect to query its status.
+ *  \return 0 if it isn't playing, 1 if it is playing or -1 on error.
+ *
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticStopEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticGetEffectStatus(SDL_Haptic * haptic,
+                                                      int effect);
+
+/**
+ *  \brief Sets the global gain of the device.
+ *
+ *  Device must support the ::SDL_HAPTIC_GAIN feature.
+ *
+ *  The user may specify the maximum gain by setting the environment variable
+ *  SDL_HAPTIC_GAIN_MAX which should be between 0 and 100.  All calls to
+ *  SDL_HapticSetGain() will scale linearly using SDL_HAPTIC_GAIN_MAX as the
+ *  maximum.
+ *
+ *  \param haptic Haptic device to set the gain on.
+ *  \param gain Value to set the gain to, should be between 0 and 100.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticSetGain(SDL_Haptic * haptic, int gain);
+
+/**
+ *  \brief Sets the global autocenter of the device.
+ *
+ *  Autocenter should be between 0 and 100.  Setting it to 0 will disable
+ *  autocentering.
+ *
+ *  Device must support the ::SDL_HAPTIC_AUTOCENTER feature.
+ *
+ *  \param haptic Haptic device to set autocentering on.
+ *  \param autocenter Value to set autocenter to, 0 disables autocentering.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticSetAutocenter(SDL_Haptic * haptic,
+                                                    int autocenter);
+
+/**
+ *  \brief Pauses a haptic device.
+ *
+ *  Device must support the ::SDL_HAPTIC_PAUSE feature.  Call
+ *  SDL_HapticUnpause() to resume playback.
+ *
+ *  Do not modify the effects nor add new ones while the device is paused.
+ *  That can cause all sorts of weird errors.
+ *
+ *  \param haptic Haptic device to pause.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticUnpause
+ */
+extern DECLSPEC int SDLCALL SDL_HapticPause(SDL_Haptic * haptic);
+
+/**
+ *  \brief Unpauses a haptic device.
+ *
+ *  Call to unpause after SDL_HapticPause().
+ *
+ *  \param haptic Haptic device to unpause.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticPause
+ */
+extern DECLSPEC int SDLCALL SDL_HapticUnpause(SDL_Haptic * haptic);
+
+/**
+ *  \brief Stops all the currently playing effects on a haptic device.
+ *
+ *  \param haptic Haptic device to stop.
+ *  \return 0 on success or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_HapticStopAll(SDL_Haptic * haptic);
+
+/**
+ *  \brief Checks to see if rumble is supported on a haptic device.
+ *
+ *  \param haptic Haptic device to check to see if it supports rumble.
+ *  \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error.
+ *
+ *  \sa SDL_HapticRumbleInit
+ *  \sa SDL_HapticRumblePlay
+ *  \sa SDL_HapticRumbleStop
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumbleSupported(SDL_Haptic * haptic);
+
+/**
+ *  \brief Initializes the haptic device for simple rumble playback.
+ *
+ *  \param haptic Haptic device to initialize for simple rumble playback.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticRumbleSupported
+ *  \sa SDL_HapticRumblePlay
+ *  \sa SDL_HapticRumbleStop
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumbleInit(SDL_Haptic * haptic);
+
+/**
+ *  \brief Runs simple rumble on a haptic device
+ *
+ *  \param haptic Haptic device to play rumble effect on.
+ *  \param strength Strength of the rumble to play as a 0-1 float value.
+ *  \param length Length of the rumble to play in milliseconds.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticRumbleSupported
+ *  \sa SDL_HapticRumbleInit
+ *  \sa SDL_HapticRumbleStop
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumblePlay(SDL_Haptic * haptic, float strength, Uint32 length );
+
+/**
+ *  \brief Stops the simple rumble on a haptic device.
+ *
+ *  \param haptic Haptic to stop the rumble on.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticRumbleSupported
+ *  \sa SDL_HapticRumbleInit
+ *  \sa SDL_HapticRumblePlay
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_haptic_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h
@@ -1,0 +1,1266 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_hints.h
+ *
+ *  Official documentation for SDL configuration variables
+ *
+ *  This file contains functions to set and get configuration hints,
+ *  as well as listing each of them alphabetically.
+ *
+ *  The convention for naming hints is SDL_HINT_X, where "SDL_X" is
+ *  the environment variable that can be used to override the default.
+ *
+ *  In general these hints are just that - they may or may not be
+ *  supported or applicable on any given platform, but they provide
+ *  a way for an application or user to give the library a hint as
+ *  to how they would like the library to work.
+ */
+
+#ifndef SDL_hints_h_
+#define SDL_hints_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief  A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.
+ *
+ *  SDL can try to accelerate the SDL screen surface by using streaming
+ *  textures with a 3D rendering engine.  This variable controls whether and
+ *  how this is done.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable 3D acceleration
+ *    "1"       - Enable 3D acceleration, using the default renderer.
+ *    "X"       - Enable 3D acceleration, using X where X is one of the valid rendering drivers.  (e.g. "direct3d", "opengl", etc.)
+ *
+ *  By default SDL tries to make a best guess for each platform whether
+ *  to use acceleration or not.
+ */
+#define SDL_HINT_FRAMEBUFFER_ACCELERATION   "SDL_FRAMEBUFFER_ACCELERATION"
+
+/**
+ *  \brief  A variable specifying which render driver to use.
+ *
+ *  If the application doesn't pick a specific renderer to use, this variable
+ *  specifies the name of the preferred renderer.  If the preferred renderer
+ *  can't be initialized, the normal default renderer is used.
+ *
+ *  This variable is case insensitive and can be set to the following values:
+ *    "direct3d"
+ *    "opengl"
+ *    "opengles2"
+ *    "opengles"
+ *    "metal"
+ *    "software"
+ *
+ *  The default varies by platform, but it's the first one in the list that
+ *  is available on the current platform.
+ */
+#define SDL_HINT_RENDER_DRIVER              "SDL_RENDER_DRIVER"
+
+/**
+ *  \brief  A variable controlling whether the OpenGL render driver uses shaders if they are available.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable shaders
+ *    "1"       - Enable shaders
+ *
+ *  By default shaders are used if OpenGL supports them.
+ */
+#define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
+
+/**
+ *  \brief  A variable controlling whether the Direct3D device is initialized for thread-safe operations.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Thread-safety is not enabled (faster)
+ *    "1"       - Thread-safety is enabled
+ *
+ *  By default the Direct3D device is created with thread-safety disabled.
+ */
+#define SDL_HINT_RENDER_DIRECT3D_THREADSAFE "SDL_RENDER_DIRECT3D_THREADSAFE"
+
+/**
+ *  \brief  A variable controlling whether to enable Direct3D 11+'s Debug Layer.
+ *
+ *  This variable does not have any effect on the Direct3D 9 based renderer.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable Debug Layer use
+ *    "1"       - Enable Debug Layer use
+ *
+ *  By default, SDL does not use Direct3D Debug Layer.
+ */
+#define SDL_HINT_RENDER_DIRECT3D11_DEBUG    "SDL_RENDER_DIRECT3D11_DEBUG"
+
+/**
+ *  \brief  A variable controlling the scaling policy for SDL_RenderSetLogicalSize.
+ *
+ *  This variable can be set to the following values:
+ *    "0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen
+ *    "1" or "overscan"  - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen
+ *
+ *  By default letterbox is used
+ */
+#define SDL_HINT_RENDER_LOGICAL_SIZE_MODE       "SDL_RENDER_LOGICAL_SIZE_MODE"
+
+/**
+ *  \brief  A variable controlling the scaling quality
+ *
+ *  This variable can be set to the following values:
+ *    "0" or "nearest" - Nearest pixel sampling
+ *    "1" or "linear"  - Linear filtering (supported by OpenGL and Direct3D)
+ *    "2" or "best"    - Currently this is the same as "linear"
+ *
+ *  By default nearest pixel sampling is used
+ */
+#define SDL_HINT_RENDER_SCALE_QUALITY       "SDL_RENDER_SCALE_QUALITY"
+
+/**
+ *  \brief  A variable controlling whether updates to the SDL screen surface should be synchronized with the vertical refresh, to avoid tearing.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable vsync
+ *    "1"       - Enable vsync
+ *
+ *  By default SDL does not sync screen surface updates with vertical refresh.
+ */
+#define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
+
+/**
+ *  \brief  A variable controlling whether the screensaver is enabled. 
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable screensaver
+ *    "1"       - Enable screensaver
+ *
+ *  By default SDL will disable the screensaver.
+ */
+#define SDL_HINT_VIDEO_ALLOW_SCREENSAVER    "SDL_VIDEO_ALLOW_SCREENSAVER"
+
+/**
+ *  \brief  A variable controlling whether the X11 VidMode extension should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable XVidMode
+ *    "1"       - Enable XVidMode
+ *
+ *  By default SDL will use XVidMode if it is available.
+ */
+#define SDL_HINT_VIDEO_X11_XVIDMODE         "SDL_VIDEO_X11_XVIDMODE"
+
+/**
+ *  \brief  A variable controlling whether the X11 Xinerama extension should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable Xinerama
+ *    "1"       - Enable Xinerama
+ *
+ *  By default SDL will use Xinerama if it is available.
+ */
+#define SDL_HINT_VIDEO_X11_XINERAMA         "SDL_VIDEO_X11_XINERAMA"
+
+/**
+ *  \brief  A variable controlling whether the X11 XRandR extension should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable XRandR
+ *    "1"       - Enable XRandR
+ *
+ *  By default SDL will not use XRandR because of window manager issues.
+ */
+#define SDL_HINT_VIDEO_X11_XRANDR           "SDL_VIDEO_X11_XRANDR"
+
+/**
+ *  \brief  A variable controlling whether the X11 _NET_WM_PING protocol should be supported.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable _NET_WM_PING
+ *    "1"       - Enable _NET_WM_PING
+ *
+ *  By default SDL will use _NET_WM_PING, but for applications that know they
+ *  will not always be able to respond to ping requests in a timely manner they can
+ *  turn it off to avoid the window manager thinking the app is hung.
+ *  The hint is checked in CreateWindow.
+ */
+#define SDL_HINT_VIDEO_X11_NET_WM_PING      "SDL_VIDEO_X11_NET_WM_PING"
+
+/**
+ * \brief A variable controlling whether the X11 _NET_WM_BYPASS_COMPOSITOR hint should be used.
+ * 
+ * This variable can be set to the following values:
+ * "0" - Disable _NET_WM_BYPASS_COMPOSITOR
+ * "1" - Enable _NET_WM_BYPASS_COMPOSITOR
+ * 
+ * By default SDL will use _NET_WM_BYPASS_COMPOSITOR
+ * 
+ */
+#define SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR "SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR"
+
+/**
+ *  \brief  A variable controlling whether the window frame and title bar are interactive when the cursor is hidden 
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The window frame is not interactive when the cursor is hidden (no move, resize, etc)
+ *    "1"       - The window frame is interactive when the cursor is hidden
+ *
+ *  By default SDL will allow interaction with the window frame when the cursor is hidden
+ */
+#define SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN    "SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN"
+
+/**
+ * \brief A variable to specify custom icon resource id from RC file on Windows platform 
+ */
+#define SDL_HINT_WINDOWS_INTRESOURCE_ICON       "SDL_WINDOWS_INTRESOURCE_ICON"
+#define SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL "SDL_WINDOWS_INTRESOURCE_ICON_SMALL"
+
+/**
+ *  \brief  A variable controlling whether the windows message loop is processed by SDL 
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The window message loop is not run
+ *    "1"       - The window message loop is processed in SDL_PumpEvents()
+ *
+ *  By default SDL will process the windows message loop
+ */
+#define SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP "SDL_WINDOWS_ENABLE_MESSAGELOOP"
+
+/**
+ *  \brief  A variable controlling whether grabbing input grabs the keyboard
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Grab will affect only the mouse
+ *    "1"       - Grab will affect mouse and keyboard
+ *
+ *  By default SDL will not grab the keyboard so system shortcuts still work.
+ */
+#define SDL_HINT_GRAB_KEYBOARD              "SDL_GRAB_KEYBOARD"
+
+/**
+ *  \brief  A variable setting the double click time, in milliseconds.
+ */
+#define SDL_HINT_MOUSE_DOUBLE_CLICK_TIME    "SDL_MOUSE_DOUBLE_CLICK_TIME"
+
+/**
+ *  \brief  A variable setting the double click radius, in pixels.
+ */
+#define SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS    "SDL_MOUSE_DOUBLE_CLICK_RADIUS"
+
+/**
+ *  \brief  A variable setting the speed scale for mouse motion, in floating point, when the mouse is not in relative mode
+ */
+#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE    "SDL_MOUSE_NORMAL_SPEED_SCALE"
+
+/**
+ *  \brief  A variable setting the scale for mouse motion, in floating point, when the mouse is in relative mode
+ */
+#define SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE    "SDL_MOUSE_RELATIVE_SPEED_SCALE"
+
+/**
+ *  \brief  A variable controlling whether relative mouse mode is implemented using mouse warping
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Relative mouse mode uses raw input
+ *    "1"       - Relative mouse mode uses mouse warping
+ *
+ *  By default SDL will use raw input for relative mouse mode
+ */
+#define SDL_HINT_MOUSE_RELATIVE_MODE_WARP    "SDL_MOUSE_RELATIVE_MODE_WARP"
+
+/**
+ *  \brief Allow mouse click events when clicking to focus an SDL window
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Ignore mouse clicks that activate a window
+ *    "1"       - Generate events for mouse clicks that activate a window
+ *
+ *  By default SDL will ignore mouse clicks that activate a window
+ */
+#define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH"
+
+/**
+ *  \brief  A variable controlling whether touch events should generate synthetic mouse events
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Touch events will not generate mouse events
+ *    "1"       - Touch events will generate mouse events
+ *
+ *  By default SDL will generate mouse events for touch events
+ */
+#define SDL_HINT_TOUCH_MOUSE_EVENTS    "SDL_TOUCH_MOUSE_EVENTS"
+
+/**
+ *  \brief  A variable controlling whether mouse events should generate synthetic touch events
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Mouse events will not generate touch events (default for desktop platforms)
+ *    "1"       - Mouse events will generate touch events (default for mobile platforms, such as Android and iOS)
+ */
+
+#define SDL_HINT_MOUSE_TOUCH_EVENTS    "SDL_MOUSE_TOUCH_EVENTS"
+
+/**
+ *  \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true.
+ *
+ */
+#define SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS   "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"
+
+/**
+ *  \brief  A variable controlling whether the idle timer is disabled on iOS.
+ *
+ *  When an iOS app does not receive touches for some time, the screen is
+ *  dimmed automatically. For games where the accelerometer is the only input
+ *  this is problematic. This functionality can be disabled by setting this
+ *  hint.
+ *
+ *  As of SDL 2.0.4, SDL_EnableScreenSaver() and SDL_DisableScreenSaver()
+ *  accomplish the same thing on iOS. They should be preferred over this hint.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Enable idle timer
+ *    "1"       - Disable idle timer
+ */
+#define SDL_HINT_IDLE_TIMER_DISABLED "SDL_IOS_IDLE_TIMER_DISABLED"
+
+/**
+ *  \brief  A variable controlling which orientations are allowed on iOS/Android.
+ *
+ *  In some circumstances it is necessary to be able to explicitly control
+ *  which UI orientations are allowed.
+ *
+ *  This variable is a space delimited list of the following values:
+ *    "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown"
+ */
+#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
+
+/**
+ *  \brief  A variable controlling whether controllers used with the Apple TV
+ *  generate UI events.
+ *
+ * When UI events are generated by controller input, the app will be
+ * backgrounded when the Apple TV remote's menu button is pressed, and when the
+ * pause or B buttons on gamepads are pressed.
+ *
+ * More information about properly making use of controllers for the Apple TV
+ * can be found here:
+ * https://developer.apple.com/tvos/human-interface-guidelines/remote-and-controllers/
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Controller input does not generate UI events (the default).
+ *    "1"       - Controller input generates UI events.
+ */
+#define SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS "SDL_APPLE_TV_CONTROLLER_UI_EVENTS"
+
+/**
+ * \brief  A variable controlling whether the Apple TV remote's joystick axes
+ *         will automatically match the rotation of the remote.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Remote orientation does not affect joystick axes (the default).
+ *    "1"       - Joystick axes are based on the orientation of the remote.
+ */
+#define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"
+
+/**
+ * \brief  A variable controlling whether the home indicator bar on iPhone X
+ *         should be hidden.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The indicator bar is not hidden (default for windowed applications)
+ *    "1"       - The indicator bar is hidden and is shown when the screen is touched (useful for movie playback applications)
+ *    "2"       - The indicator bar is dim and the first swipe makes it visible and the second swipe performs the "home" action (default for fullscreen applications)
+ */
+#define SDL_HINT_IOS_HIDE_HOME_INDICATOR "SDL_IOS_HIDE_HOME_INDICATOR"
+
+/**
+ *  \brief  A variable controlling whether the Android / iOS built-in
+ *  accelerometer should be listed as a joystick device.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The accelerometer is not listed as a joystick
+ *    "1"       - The accelerometer is available as a 3 axis joystick (the default).
+ */
+#define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK"
+
+/**
+ *  \brief  A variable controlling whether the Android / tvOS remotes
+ *  should be listed as joystick devices, instead of sending keyboard events.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Remotes send enter/escape/arrow key events
+ *    "1"       - Remotes are available as 2 axis, 2 button joysticks (the default).
+ */
+#define SDL_HINT_TV_REMOTE_AS_JOYSTICK "SDL_TV_REMOTE_AS_JOYSTICK"
+
+/**
+ *  \brief  A variable that lets you disable the detection and use of Xinput gamepad devices
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Disable XInput detection (only uses direct input)
+ *    "1"       - Enable XInput detection (the default)
+ */
+#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"
+
+/**
+ *  \brief  A variable that causes SDL to use the old axis and button mapping for XInput devices.
+ *
+ *  This hint is for backwards compatibility only and will be removed in SDL 2.1
+ *
+ *  The default value is "0".  This hint must be set before SDL_Init()
+ */
+#define SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING "SDL_XINPUT_USE_OLD_JOYSTICK_MAPPING"
+
+/**
+ *  \brief  A variable that lets you manually hint extra gamecontroller db entries.
+ *
+ *  The variable should be newline delimited rows of gamecontroller config data, see SDL_gamecontroller.h
+ *
+ *  This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER)
+ *  You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping()
+ */
+#define SDL_HINT_GAMECONTROLLERCONFIG "SDL_GAMECONTROLLERCONFIG"
+
+/**
+ *  \brief  A variable that lets you provide a file with extra gamecontroller db entries.
+ *
+ *  The file should contain lines of gamecontroller config data, see SDL_gamecontroller.h
+ *
+ *  This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER)
+ *  You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping()
+ */
+#define SDL_HINT_GAMECONTROLLERCONFIG_FILE "SDL_GAMECONTROLLERCONFIG_FILE"
+
+/**
+ *  \brief  A variable containing a list of devices to skip when scanning for game controllers.
+ *
+ *  The format of the string is a comma separated list of USB VID/PID pairs
+ *  in hexadecimal form, e.g.
+ *
+ *      0xAAAA/0xBBBB,0xCCCC/0xDDDD
+ *
+ *  The variable can also take the form of @file, in which case the named
+ *  file will be loaded and interpreted as the value of the variable.
+ */
+#define SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES "SDL_GAMECONTROLLER_IGNORE_DEVICES"
+
+/**
+ *  \brief  If set, all devices will be skipped when scanning for game controllers except for the ones listed in this variable.
+ *
+ *  The format of the string is a comma separated list of USB VID/PID pairs
+ *  in hexadecimal form, e.g.
+ *
+ *      0xAAAA/0xBBBB,0xCCCC/0xDDDD
+ *
+ *  The variable can also take the form of @file, in which case the named
+ *  file will be loaded and interpreted as the value of the variable.
+ */
+#define SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT "SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT"
+
+/**
+ *  \brief  A variable that lets you enable joystick (and gamecontroller) events even when your app is in the background.
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Disable joystick & gamecontroller input events when the
+ *                application is in the background.
+ *    "1"       - Enable joystick & gamecontroller input events when the
+ *                application is in the background.
+ *
+ *  The default value is "0".  This hint may be set at any time.
+ */
+#define SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS "SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI joystick drivers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI drivers are not used
+ *    "1"       - HIDAPI drivers are used (the default)
+ *
+ *  This variable is the default for all drivers, but can be overridden by the hints for specific drivers below.
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI "SDL_JOYSTICK_HIDAPI"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for PS4 controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_PS4 "SDL_JOYSTICK_HIDAPI_PS4"
+
+/**
+ *  \brief  A variable controlling whether extended input reports should be used for PS4 controllers when using the HIDAPI driver.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - extended reports are not enabled (the default)
+ *    "1"       - extended reports
+ *
+ *  Extended input reports allow rumble on Bluetooth PS4 controllers, but
+ *  break DirectInput handling for applications that don't use SDL.
+ *
+ *  Once extended reports are enabled, they can not be disabled without
+ *  power cycling the controller.
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE "SDL_JOYSTICK_HIDAPI_PS4_RUMBLE"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for Steam Controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_STEAM "SDL_JOYSTICK_HIDAPI_STEAM"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for Nintendo Switch controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH "SDL_JOYSTICK_HIDAPI_SWITCH"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for XBox controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_XBOX   "SDL_JOYSTICK_HIDAPI_XBOX"
+
+/**
+ *  \brief  A variable that controls whether Steam Controllers should be exposed using the SDL joystick and game controller APIs
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Do not scan for Steam Controllers
+ *    "1"       - Scan for Steam Controllers (the default)
+ *
+ *  The default value is "1".  This hint must be set before initializing the joystick subsystem.
+ */
+#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"
+
+
+/**
+ *  \brief If set to "0" then never set the top most bit on a SDL Window, even if the video mode expects it.
+ *      This is a debugging aid for developers and not expected to be used by end users. The default is "1"
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - don't allow topmost
+ *    "1"       - allow topmost
+ */
+#define SDL_HINT_ALLOW_TOPMOST "SDL_ALLOW_TOPMOST"
+
+/**
+ *  \brief A variable that controls the timer resolution, in milliseconds.
+ *
+ *  The higher resolution the timer, the more frequently the CPU services
+ *  timer interrupts, and the more precise delays are, but this takes up
+ *  power and CPU time.  This hint is only used on Windows 7 and earlier.
+ *
+ *  See this blog post for more information:
+ *  http://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/
+ *
+ *  If this variable is set to "0", the system timer resolution is not set.
+ *
+ *  The default value is "1". This hint may be set at any time.
+ */
+#define SDL_HINT_TIMER_RESOLUTION "SDL_TIMER_RESOLUTION"
+
+
+/**
+ *  \brief  A variable describing the content orientation on QtWayland-based platforms.
+ *
+ *  On QtWayland platforms, windows are rotated client-side to allow for custom
+ *  transitions. In order to correctly position overlays (e.g. volume bar) and
+ *  gestures (e.g. events view, close/minimize gestures), the system needs to
+ *  know in which orientation the application is currently drawing its contents.
+ *
+ *  This does not cause the window to be rotated or resized, the application
+ *  needs to take care of drawing the content in the right orientation (the
+ *  framebuffer is always in portrait mode).
+ *
+ *  This variable can be one of the following values:
+ *    "primary" (default), "portrait", "landscape", "inverted-portrait", "inverted-landscape"
+ */
+#define SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION "SDL_QTWAYLAND_CONTENT_ORIENTATION"
+
+/**
+ *  \brief  Flags to set on QtWayland windows to integrate with the native window manager.
+ *
+ *  On QtWayland platforms, this hint controls the flags to set on the windows.
+ *  For example, on Sailfish OS "OverridesSystemGestures" disables swipe gestures.
+ *
+ *  This variable is a space-separated list of the following values (empty = no flags):
+ *    "OverridesSystemGestures", "StaysOnTop", "BypassWindowManager"
+ */
+#define SDL_HINT_QTWAYLAND_WINDOW_FLAGS "SDL_QTWAYLAND_WINDOW_FLAGS"
+
+/**
+*  \brief  A string specifying SDL's threads stack size in bytes or "0" for the backend's default size
+*
+*  Use this hint in case you need to set SDL's threads stack size to other than the default.
+*  This is specially useful if you build SDL against a non glibc libc library (such as musl) which
+*  provides a relatively small default thread stack size (a few kilobytes versus the default 8MB glibc uses).
+*  Support for this hint is currently available only in the pthread, Windows, and PSP backend.
+*
+*  Instead of this hint, in 2.0.9 and later, you can use
+*  SDL_CreateThreadWithStackSize(). This hint only works with the classic
+*  SDL_CreateThread().
+*/
+#define SDL_HINT_THREAD_STACK_SIZE              "SDL_THREAD_STACK_SIZE"
+
+/**
+ *  \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac and iOS)
+ */
+#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"
+
+/**
+ *  \brief A variable that determines whether ctrl+click should generate a right-click event on Mac
+ *
+ *  If present, holding ctrl while left clicking will generate a right click
+ *  event when on Mac.
+ */
+#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
+
+/**
+*  \brief  A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries
+*
+*  SDL has EGL and OpenGL ES2 support on Windows via the ANGLE project. It
+*  can use two different sets of binaries, those compiled by the user from source
+*  or those provided by the Chrome browser. In the later case, these binaries require
+*  that SDL loads a DLL providing the shader compiler.
+*
+*  This variable can be set to the following values:
+*    "d3dcompiler_46.dll" - default, best for Vista or later.
+*    "d3dcompiler_43.dll" - for XP support.
+*    "none" - do not load any library, useful if you compiled ANGLE from source and included the compiler in your binaries.
+*
+*/
+#define SDL_HINT_VIDEO_WIN_D3DCOMPILER              "SDL_VIDEO_WIN_D3DCOMPILER"
+
+/**
+*  \brief  A variable that is the address of another SDL_Window* (as a hex string formatted with "%p").
+*  
+*  If this hint is set before SDL_CreateWindowFrom() and the SDL_Window* it is set to has
+*  SDL_WINDOW_OPENGL set (and running on WGL only, currently), then two things will occur on the newly 
+*  created SDL_Window:
+*
+*  1. Its pixel format will be set to the same pixel format as this SDL_Window.  This is
+*  needed for example when sharing an OpenGL context across multiple windows.
+*
+*  2. The flag SDL_WINDOW_OPENGL will be set on the new window so it can be used for
+*  OpenGL rendering.
+*
+*  This variable can be set to the following values:
+*    The address (as a string "%p") of the SDL_Window* that new windows created with SDL_CreateWindowFrom() should
+*    share a pixel format with.
+*/
+#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT    "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
+
+/**
+ *  \brief A URL to a WinRT app's privacy policy
+ *
+ *  All network-enabled WinRT apps must make a privacy policy available to its
+ *  users.  On Windows 8, 8.1, and RT, Microsoft mandates that this policy be
+ *  be available in the Windows Settings charm, as accessed from within the app.
+ *  SDL provides code to add a URL-based link there, which can point to the app's
+ *  privacy policy.
+ *
+ *  To setup a URL to an app's privacy policy, set SDL_HINT_WINRT_PRIVACY_POLICY_URL
+ *  before calling any SDL_Init() functions.  The contents of the hint should
+ *  be a valid URL.  For example, "http://www.example.com".
+ *
+ *  The default value is "", which will prevent SDL from adding a privacy policy
+ *  link to the Settings charm.  This hint should only be set during app init.
+ *
+ *  The label text of an app's "Privacy Policy" link may be customized via another
+ *  hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL.
+ *
+ *  Please note that on Windows Phone, Microsoft does not provide standard UI
+ *  for displaying a privacy policy link, and as such, SDL_HINT_WINRT_PRIVACY_POLICY_URL
+ *  will not get used on that platform.  Network-enabled phone apps should display
+ *  their privacy policy through some other, in-app means.
+ */
+#define SDL_HINT_WINRT_PRIVACY_POLICY_URL "SDL_WINRT_PRIVACY_POLICY_URL"
+
+/** \brief Label text for a WinRT app's privacy policy link
+ *
+ *  Network-enabled WinRT apps must include a privacy policy.  On Windows 8, 8.1, and RT,
+ *  Microsoft mandates that this policy be available via the Windows Settings charm.
+ *  SDL provides code to add a link there, with its label text being set via the
+ *  optional hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL.
+ *
+ *  Please note that a privacy policy's contents are not set via this hint.  A separate
+ *  hint, SDL_HINT_WINRT_PRIVACY_POLICY_URL, is used to link to the actual text of the
+ *  policy.
+ *
+ *  The contents of this hint should be encoded as a UTF8 string.
+ *
+ *  The default value is "Privacy Policy".  This hint should only be set during app
+ *  initialization, preferably before any calls to SDL_Init().
+ *
+ *  For additional information on linking to a privacy policy, see the documentation for
+ *  SDL_HINT_WINRT_PRIVACY_POLICY_URL.
+ */
+#define SDL_HINT_WINRT_PRIVACY_POLICY_LABEL "SDL_WINRT_PRIVACY_POLICY_LABEL"
+
+/** \brief Allows back-button-press events on Windows Phone to be marked as handled
+ *
+ *  Windows Phone devices typically feature a Back button.  When pressed,
+ *  the OS will emit back-button-press events, which apps are expected to
+ *  handle in an appropriate manner.  If apps do not explicitly mark these
+ *  events as 'Handled', then the OS will invoke its default behavior for
+ *  unhandled back-button-press events, which on Windows Phone 8 and 8.1 is to
+ *  terminate the app (and attempt to switch to the previous app, or to the
+ *  device's home screen).
+ *
+ *  Setting the SDL_HINT_WINRT_HANDLE_BACK_BUTTON hint to "1" will cause SDL
+ *  to mark back-button-press events as Handled, if and when one is sent to
+ *  the app.
+ *
+ *  Internally, Windows Phone sends back button events as parameters to
+ *  special back-button-press callback functions.  Apps that need to respond
+ *  to back-button-press events are expected to register one or more
+ *  callback functions for such, shortly after being launched (during the
+ *  app's initialization phase).  After the back button is pressed, the OS
+ *  will invoke these callbacks.  If the app's callback(s) do not explicitly
+ *  mark the event as handled by the time they return, or if the app never
+ *  registers one of these callback, the OS will consider the event
+ *  un-handled, and it will apply its default back button behavior (terminate
+ *  the app).
+ *
+ *  SDL registers its own back-button-press callback with the Windows Phone
+ *  OS.  This callback will emit a pair of SDL key-press events (SDL_KEYDOWN
+ *  and SDL_KEYUP), each with a scancode of SDL_SCANCODE_AC_BACK, after which
+ *  it will check the contents of the hint, SDL_HINT_WINRT_HANDLE_BACK_BUTTON.
+ *  If the hint's value is set to "1", the back button event's Handled
+ *  property will get set to 'true'.  If the hint's value is set to something
+ *  else, or if it is unset, SDL will leave the event's Handled property
+ *  alone.  (By default, the OS sets this property to 'false', to note.)
+ *
+ *  SDL apps can either set SDL_HINT_WINRT_HANDLE_BACK_BUTTON well before a
+ *  back button is pressed, or can set it in direct-response to a back button
+ *  being pressed.
+ *
+ *  In order to get notified when a back button is pressed, SDL apps should
+ *  register a callback function with SDL_AddEventWatch(), and have it listen
+ *  for SDL_KEYDOWN events that have a scancode of SDL_SCANCODE_AC_BACK.
+ *  (Alternatively, SDL_KEYUP events can be listened-for.  Listening for
+ *  either event type is suitable.)  Any value of SDL_HINT_WINRT_HANDLE_BACK_BUTTON
+ *  set by such a callback, will be applied to the OS' current
+ *  back-button-press event.
+ *
+ *  More details on back button behavior in Windows Phone apps can be found
+ *  at the following page, on Microsoft's developer site:
+ *  http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj247550(v=vs.105).aspx
+ */
+#define SDL_HINT_WINRT_HANDLE_BACK_BUTTON "SDL_WINRT_HANDLE_BACK_BUTTON"
+
+/**
+ *  \brief  A variable that dictates policy for fullscreen Spaces on Mac OS X.
+ *
+ *  This hint only applies to Mac OS X.
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Disable Spaces support (FULLSCREEN_DESKTOP won't use them and
+ *                SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen"
+ *                button on their titlebars).
+ *    "1"       - Enable Spaces support (FULLSCREEN_DESKTOP will use them and
+ *                SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
+ *                button on their titlebars).
+ *
+ *  The default value is "1". Spaces are disabled regardless of this hint if
+ *   the OS isn't at least Mac OS X Lion (10.7). This hint must be set before
+ *   any windows are created.
+ */
+#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES    "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
+
+/**
+*  \brief  When set don't force the SDL app to become a foreground process
+*
+*  This hint only applies to Mac OS X.
+*
+*/
+#define SDL_HINT_MAC_BACKGROUND_APP    "SDL_MAC_BACKGROUND_APP"
+
+/**
+ * \brief Android APK expansion main file version. Should be a string number like "1", "2" etc.
+ *
+ * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION.
+ *
+ * If both hints were set then SDL_RWFromFile() will look into expansion files
+ * after a given relative path was not found in the internal storage and assets.
+ *
+ * By default this hint is not set and the APK expansion files are not searched.
+ */
+#define SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"
+ 
+/**
+ * \brief Android APK expansion patch file version. Should be a string number like "1", "2" etc.
+ *
+ * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION.
+ *
+ * If both hints were set then SDL_RWFromFile() will look into expansion files
+ * after a given relative path was not found in the internal storage and assets.
+ *
+ * By default this hint is not set and the APK expansion files are not searched.
+ */
+#define SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"
+
+/**
+ * \brief A variable to control whether certain IMEs should handle text editing internally instead of sending SDL_TEXTEDITING events.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL_TEXTEDITING events are sent, and it is the application's
+ *               responsibility to render the text from these events and 
+ *               differentiate it somehow from committed text. (default)
+ *   "1"       - If supported by the IME then SDL_TEXTEDITING events are not sent, 
+ *               and text that is being composed will be rendered in its own UI.
+ */
+#define SDL_HINT_IME_INTERNAL_EDITING "SDL_IME_INTERNAL_EDITING"
+
+/**
+ * \brief A variable to control whether we trap the Android back button to handle it manually.
+ *        This is necessary for the right mouse button to work on some Android devices, or
+ *        to be able to trap the back button for use in your code reliably.  If set to true,
+ *        the back button will show up as an SDL_KEYDOWN / SDL_KEYUP pair with a keycode of 
+ *        SDL_SCANCODE_AC_BACK.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - Back button will be handled as usual for system. (default)
+ *   "1"       - Back button will be trapped, allowing you to handle the key press
+ *               manually.  (This will also let right mouse click work on systems 
+ *               where the right mouse button functions as back.)
+ *
+ * The value of this hint is used at runtime, so it can be changed at any time.
+ */
+#define SDL_HINT_ANDROID_TRAP_BACK_BUTTON "SDL_ANDROID_TRAP_BACK_BUTTON"
+
+/**
+ * \brief A variable to control whether the event loop will block itself when the app is paused.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - Non blocking.
+ *   "1"       - Blocking. (default)
+ *
+ * The value should be set before SDL is initialized.
+ */
+#define SDL_HINT_ANDROID_BLOCK_ON_PAUSE "SDL_ANDROID_BLOCK_ON_PAUSE"
+
+ /**
+ * \brief A variable to control whether the return key on the soft keyboard
+ *        should hide the soft keyboard on Android and iOS.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - The return key will be handled as a key event. This is the behaviour of SDL <= 2.0.3. (default)
+ *   "1"       - The return key will hide the keyboard.
+ *
+ * The value of this hint is used at runtime, so it can be changed at any time.
+ */
+#define SDL_HINT_RETURN_KEY_HIDES_IME "SDL_RETURN_KEY_HIDES_IME"
+
+/**
+ *  \brief override the binding element for keyboard inputs for Emscripten builds
+ *
+ * This hint only applies to the emscripten platform
+ *
+ * The variable can be one of
+ *    "#window"      - The javascript window object (this is the default)
+ *    "#document"    - The javascript document object
+ *    "#screen"      - the javascript window.screen object
+ *    "#canvas"      - the WebGL canvas element
+ *    any other string without a leading # sign applies to the element on the page with that ID.
+ */
+#define SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT   "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT"
+
+/**
+ *  \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
+ *
+ * This hint only applies to Unix-like platforms.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL will install a SIGINT and SIGTERM handler, and when it
+ *               catches a signal, convert it into an SDL_QUIT event.
+ *   "1"       - SDL will not install a signal handler at all.
+ */
+#define SDL_HINT_NO_SIGNAL_HANDLERS   "SDL_NO_SIGNAL_HANDLERS"
+
+/**
+ *  \brief Tell SDL not to generate window-close events for Alt+F4 on Windows.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL will generate a window-close event when it sees Alt+F4.
+ *   "1"       - SDL will only do normal key handling for Alt+F4.
+ */
+#define SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 "SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"
+
+/**
+ *  \brief Prevent SDL from using version 4 of the bitmap header when saving BMPs.
+ *
+ * The bitmap header version 4 is required for proper alpha channel support and
+ * SDL will use it when required. Should this not be desired, this hint can
+ * force the use of the 40 byte header version which is supported everywhere.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - Surfaces with a colorkey or an alpha channel are saved to a
+ *               32-bit BMP file with an alpha mask. SDL will use the bitmap
+ *               header version 4 and set the alpha mask accordingly.
+ *   "1"       - Surfaces with a colorkey or an alpha channel are saved to a
+ *               32-bit BMP file without an alpha mask. The alpha channel data
+ *               will be in the file, but applications are going to ignore it.
+ *
+ * The default value is "0".
+ */
+#define SDL_HINT_BMP_SAVE_LEGACY_FORMAT "SDL_BMP_SAVE_LEGACY_FORMAT"
+
+/**
+ * \brief Tell SDL not to name threads on Windows with the 0x406D1388 Exception.
+ *        The 0x406D1388 Exception is a trick used to inform Visual Studio of a
+ *        thread's name, but it tends to cause problems with other debuggers,
+ *        and the .NET runtime. Note that SDL 2.0.6 and later will still use
+ *        the (safer) SetThreadDescription API, introduced in the Windows 10
+ *        Creators Update, if available.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL will raise the 0x406D1388 Exception to name threads.
+ *               This is the default behavior of SDL <= 2.0.4.
+ *   "1"       - SDL will not raise this exception, and threads will be unnamed. (default)
+ *               This is necessary with .NET languages or debuggers that aren't Visual Studio.
+ */
+#define SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING "SDL_WINDOWS_DISABLE_THREAD_NAMING"
+
+/**
+ * \brief Tell SDL which Dispmanx layer to use on a Raspberry PI
+ *
+ * Also known as Z-order. The variable can take a negative or positive value.
+ * The default is 10000.
+ */
+#define SDL_HINT_RPI_VIDEO_LAYER           "SDL_RPI_VIDEO_LAYER"
+
+/**
+ * \brief Tell the video driver that we only want a double buffer.
+ *
+ * By default, most lowlevel 2D APIs will use a triple buffer scheme that 
+ * wastes no CPU time on waiting for vsync after issuing a flip, but
+ * introduces a frame of latency. On the other hand, using a double buffer
+ * scheme instead is recommended for cases where low latency is an important
+ * factor because we save a whole frame of latency.
+ * We do so by waiting for vsync immediately after issuing a flip, usually just
+ * after eglSwapBuffers call in the backend's *_SwapWindow function.
+ *
+ * Since it's driver-specific, it's only supported where possible and
+ * implemented. Currently supported the following drivers:
+ * - KMSDRM (kmsdrm)
+ * - Raspberry Pi (raspberrypi)
+ */
+#define SDL_HINT_VIDEO_DOUBLE_BUFFER      "SDL_VIDEO_DOUBLE_BUFFER"
+
+/**
+ *  \brief  A variable controlling what driver to use for OpenGL ES contexts.
+ *
+ *  On some platforms, currently Windows and X11, OpenGL drivers may support
+ *  creating contexts with an OpenGL ES profile. By default SDL uses these
+ *  profiles, when available, otherwise it attempts to load an OpenGL ES
+ *  library, e.g. that provided by the ANGLE project. This variable controls
+ *  whether SDL follows this default behaviour or will always load an
+ *  OpenGL ES library.
+ *
+ *  Circumstances where this is useful include
+ *  - Testing an app with a particular OpenGL ES implementation, e.g ANGLE,
+ *    or emulator, e.g. those from ARM, Imagination or Qualcomm.
+ *  - Resolving OpenGL ES function addresses at link time by linking with
+ *    the OpenGL ES library instead of querying them at run time with
+ *    SDL_GL_GetProcAddress().
+ *
+ *  Caution: for an application to work with the default behaviour across
+ *  different OpenGL drivers it must query the OpenGL ES function
+ *  addresses at run time using SDL_GL_GetProcAddress().
+ *
+ *  This variable is ignored on most platforms because OpenGL ES is native
+ *  or not supported.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Use ES profile of OpenGL, if available. (Default when not set.)
+ *    "1"       - Load OpenGL ES library using the default library names.
+ *
+ */
+#define SDL_HINT_OPENGL_ES_DRIVER   "SDL_OPENGL_ES_DRIVER"
+
+/**
+ *  \brief  A variable controlling speed/quality tradeoff of audio resampling.
+ *
+ *  If available, SDL can use libsamplerate ( http://www.mega-nerd.com/SRC/ )
+ *  to handle audio resampling. There are different resampling modes available
+ *  that produce different levels of quality, using more CPU.
+ *
+ *  If this hint isn't specified to a valid setting, or libsamplerate isn't
+ *  available, SDL will use the default, internal resampling algorithm.
+ *
+ *  Note that this is currently only applicable to resampling audio that is
+ *  being written to a device for playback or audio being read from a device
+ *  for capture. SDL_AudioCVT always uses the default resampler (although this
+ *  might change for SDL 2.1).
+ *
+ *  This hint is currently only checked at audio subsystem initialization.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "0" or "default" - Use SDL's internal resampling (Default when not set - low quality, fast)
+ *    "1" or "fast"    - Use fast, slightly higher quality resampling, if available
+ *    "2" or "medium"  - Use medium quality resampling, if available
+ *    "3" or "best"    - Use high quality resampling, if available
+ */
+#define SDL_HINT_AUDIO_RESAMPLING_MODE   "SDL_AUDIO_RESAMPLING_MODE"
+
+/**
+ *  \brief  A variable controlling the audio category on iOS and Mac OS X
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "ambient"     - Use the AVAudioSessionCategoryAmbient audio category, will be muted by the phone mute switch (default)
+ *    "playback"    - Use the AVAudioSessionCategoryPlayback category
+ *
+ *  For more information, see Apple's documentation:
+ *  https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html
+ */
+#define SDL_HINT_AUDIO_CATEGORY   "SDL_AUDIO_CATEGORY"
+
+/**
+ *  \brief  A variable controlling whether the 2D render API is compatible or efficient.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "0"     - Don't use batching to make rendering more efficient.
+ *    "1"     - Use batching, but might cause problems if app makes its own direct OpenGL calls.
+ *
+ *  Up to SDL 2.0.9, the render API would draw immediately when requested. Now
+ *  it batches up draw requests and sends them all to the GPU only when forced
+ *  to (during SDL_RenderPresent, when changing render targets, by updating a
+ *  texture that the batch needs, etc). This is significantly more efficient,
+ *  but it can cause problems for apps that expect to render on top of the
+ *  render API's output. As such, SDL will disable batching if a specific
+ *  render backend is requested (since this might indicate that the app is
+ *  planning to use the underlying graphics API directly). This hint can
+ *  be used to explicitly request batching in this instance. It is a contract
+ *  that you will either never use the underlying graphics API directly, or
+ *  if you do, you will call SDL_RenderFlush() before you do so any current
+ *  batch goes to the GPU before your work begins. Not following this contract
+ *  will result in undefined behavior.
+ */
+#define SDL_HINT_RENDER_BATCHING  "SDL_RENDER_BATCHING"
+
+
+/**
+ *  \brief  A variable controlling whether SDL logs all events pushed onto its internal queue.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "0"     - Don't log any events (default)
+ *    "1"     - Log all events except mouse and finger motion, which are pretty spammy.
+ *    "2"     - Log all events.
+ *
+ *  This is generally meant to be used to debug SDL itself, but can be useful
+ *  for application developers that need better visibility into what is going
+ *  on in the event queue. Logged events are sent through SDL_Log(), which
+ *  means by default they appear on stdout on most platforms or maybe
+ *  OutputDebugString() on Windows, and can be funneled by the app with
+ *  SDL_LogSetOutputFunction(), etc.
+ *
+ *  This hint can be toggled on and off at runtime, if you only need to log
+ *  events for a small subset of program execution.
+ */
+#define SDL_HINT_EVENT_LOGGING   "SDL_EVENT_LOGGING"
+
+
+
+/**
+ *  \brief  Controls how the size of the RIFF chunk affects the loading of a WAVE file.
+ *
+ *  The size of the RIFF chunk (which includes all the sub-chunks of the WAVE
+ *  file) is not always reliable. In case the size is wrong, it's possible to
+ *  just ignore it and step through the chunks until a fixed limit is reached.
+ *
+ *  Note that files that have trailing data unrelated to the WAVE file or
+ *  corrupt files may slow down the loading process without a reliable boundary.
+ *  By default, SDL stops after 10000 chunks to prevent wasting time. Use the
+ *  environment variable SDL_WAVE_CHUNK_LIMIT to adjust this value.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "force"        - Always use the RIFF chunk size as a boundary for the chunk search
+ *    "ignorezero"   - Like "force", but a zero size searches up to 4 GiB (default)
+ *    "ignore"       - Ignore the RIFF chunk size and always search up to 4 GiB
+ *    "maximum"      - Search for chunks until the end of file (not recommended)
+ */
+#define SDL_HINT_WAVE_RIFF_CHUNK_SIZE   "SDL_WAVE_RIFF_CHUNK_SIZE"
+
+/**
+ *  \brief  Controls how a truncated WAVE file is handled.
+ *
+ *  A WAVE file is considered truncated if any of the chunks are incomplete or
+ *  the data chunk size is not a multiple of the block size. By default, SDL
+ *  decodes until the first incomplete block, as most applications seem to do.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "verystrict" - Raise an error if the file is truncated
+ *    "strict"     - Like "verystrict", but the size of the RIFF chunk is ignored
+ *    "dropframe"  - Decode until the first incomplete sample frame
+ *    "dropblock"  - Decode until the first incomplete block (default)
+ */
+#define SDL_HINT_WAVE_TRUNCATION   "SDL_WAVE_TRUNCATION"
+
+/**
+ *  \brief  Controls how the fact chunk affects the loading of a WAVE file.
+ *
+ *  The fact chunk stores information about the number of samples of a WAVE
+ *  file. The Standards Update from Microsoft notes that this value can be used
+ *  to 'determine the length of the data in seconds'. This is especially useful
+ *  for compressed formats (for which this is a mandatory chunk) if they produce
+ *  multiple sample frames per block and truncating the block is not allowed.
+ *  The fact chunk can exactly specify how many sample frames there should be
+ *  in this case.
+ *
+ *  Unfortunately, most application seem to ignore the fact chunk and so SDL
+ *  ignores it by default as well.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "truncate"    - Use the number of samples to truncate the wave data if
+ *                    the fact chunk is present and valid
+ *    "strict"      - Like "truncate", but raise an error if the fact chunk
+ *                    is invalid, not present for non-PCM formats, or if the
+ *                    data chunk doesn't have that many samples
+ *    "ignorezero"  - Like "truncate", but ignore fact chunk if the number of
+ *                    samples is zero
+ *    "ignore"      - Ignore fact chunk entirely (default)
+ */
+#define SDL_HINT_WAVE_FACT_CHUNK   "SDL_WAVE_FACT_CHUNK"
+
+/**
+ *  \brief  An enumeration of hint priorities
+ */
+typedef enum
+{
+    SDL_HINT_DEFAULT,
+    SDL_HINT_NORMAL,
+    SDL_HINT_OVERRIDE
+} SDL_HintPriority;
+
+
+/**
+ *  \brief Set a hint with a specific priority
+ *
+ *  The priority controls the behavior when setting a hint that already
+ *  has a value.  Hints will replace existing hints of their priority and
+ *  lower.  Environment variables are considered to have override priority.
+ *
+ *  \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name,
+                                                         const char *value,
+                                                         SDL_HintPriority priority);
+
+/**
+ *  \brief Set a hint with normal priority
+ *
+ *  \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,
+                                             const char *value);
+
+/**
+ *  \brief Get a hint
+ *
+ *  \return The string value of a hint variable.
+ */
+extern DECLSPEC const char * SDLCALL SDL_GetHint(const char *name);
+
+/**
+ *  \brief Get a hint
+ *
+ *  \return The boolean value of a hint variable.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetHintBoolean(const char *name, SDL_bool default_value);
+
+/**
+ * \brief type definition of the hint callback function.
+ */
+typedef void (SDLCALL *SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue);
+
+/**
+ *  \brief Add a function to watch a particular hint
+ *
+ *  \param name The hint to watch
+ *  \param callback The function to call when the hint value changes
+ *  \param userdata A pointer to pass to the callback function
+ */
+extern DECLSPEC void SDLCALL SDL_AddHintCallback(const char *name,
+                                                 SDL_HintCallback callback,
+                                                 void *userdata);
+
+/**
+ *  \brief Remove a function watching a particular hint
+ *
+ *  \param name The hint being watched
+ *  \param callback The function being called when the hint value changes
+ *  \param userdata A pointer being passed to the callback function
+ */
+extern DECLSPEC void SDLCALL SDL_DelHintCallback(const char *name,
+                                                 SDL_HintCallback callback,
+                                                 void *userdata);
+
+/**
+ *  \brief  Clear all hints
+ *
+ *  This function is called during SDL_Quit() to free stored hints.
+ */
+extern DECLSPEC void SDLCALL SDL_ClearHints(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_hints_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h
@@ -1,0 +1,408 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_joystick.h
+ *
+ *  Include file for SDL joystick event handling
+ *
+ * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks(), with the exact joystick
+ *   behind a device_index changing as joysticks are plugged and unplugged.
+ *
+ * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
+ *   then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
+ *
+ * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
+ *   the device (a X360 wired controller for example). This identifier is platform dependent.
+ *
+ *
+ */
+
+#ifndef SDL_joystick_h_
+#define SDL_joystick_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_joystick.h
+ *
+ *  In order to use these functions, SDL_Init() must have been called
+ *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
+ *  for joysticks, and load appropriate drivers.
+ *
+ *  If you would like to receive joystick updates while the application
+ *  is in the background, you should set the following hint before calling
+ *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
+ */
+
+/**
+ * The joystick structure used to identify an SDL joystick
+ */
+struct _SDL_Joystick;
+typedef struct _SDL_Joystick SDL_Joystick;
+
+/* A structure that encodes the stable unique id for a joystick device */
+typedef struct {
+    Uint8 data[16];
+} SDL_JoystickGUID;
+
+/**
+ * This is a unique ID for a joystick for the time it is connected to the system,
+ * and is never reused for the lifetime of the application. If the joystick is
+ * disconnected and reconnected, it will get a new ID.
+ *
+ * The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
+ */
+typedef Sint32 SDL_JoystickID;
+
+typedef enum
+{
+    SDL_JOYSTICK_TYPE_UNKNOWN,
+    SDL_JOYSTICK_TYPE_GAMECONTROLLER,
+    SDL_JOYSTICK_TYPE_WHEEL,
+    SDL_JOYSTICK_TYPE_ARCADE_STICK,
+    SDL_JOYSTICK_TYPE_FLIGHT_STICK,
+    SDL_JOYSTICK_TYPE_DANCE_PAD,
+    SDL_JOYSTICK_TYPE_GUITAR,
+    SDL_JOYSTICK_TYPE_DRUM_KIT,
+    SDL_JOYSTICK_TYPE_ARCADE_PAD,
+    SDL_JOYSTICK_TYPE_THROTTLE
+} SDL_JoystickType;
+
+typedef enum
+{
+    SDL_JOYSTICK_POWER_UNKNOWN = -1,
+    SDL_JOYSTICK_POWER_EMPTY,   /* <= 5% */
+    SDL_JOYSTICK_POWER_LOW,     /* <= 20% */
+    SDL_JOYSTICK_POWER_MEDIUM,  /* <= 70% */
+    SDL_JOYSTICK_POWER_FULL,    /* <= 100% */
+    SDL_JOYSTICK_POWER_WIRED,
+    SDL_JOYSTICK_POWER_MAX
+} SDL_JoystickPowerLevel;
+
+/* Function prototypes */
+
+/**
+ * Locking for multi-threaded access to the joystick API
+ *
+ * If you are using the joystick API or handling events from multiple threads
+ * you should use these locking functions to protect access to the joysticks.
+ *
+ * In particular, you are guaranteed that the joystick list won't change, so
+ * the API functions that take a joystick index will be valid, and joystick
+ * and game controller events will not be delivered.
+ */
+extern DECLSPEC void SDLCALL SDL_LockJoysticks(void);
+extern DECLSPEC void SDLCALL SDL_UnlockJoysticks(void);
+
+/**
+ *  Count the number of joysticks attached to the system right now
+ */
+extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);
+
+/**
+ *  Get the implementation dependent name of a joystick.
+ *  This can be called before any joysticks are opened.
+ *  If no name can be found, this function returns NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
+
+/**
+ *  Get the player index of a joystick, or -1 if it's not available
+ *  This can be called before any joysticks are opened.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickGetDevicePlayerIndex(int device_index);
+
+/**
+ *  Return the GUID for the joystick at this index
+ *  This can be called before any joysticks are opened.
+ */
+extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_index);
+
+/**
+ *  Get the USB vendor ID of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ *  If the vendor ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceVendor(int device_index);
+
+/**
+ *  Get the USB product ID of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ *  If the product ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProduct(int device_index);
+
+/**
+ *  Get the product version of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ *  If the product version isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProductVersion(int device_index);
+
+/**
+ *  Get the type of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ */
+extern DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetDeviceType(int device_index);
+
+/**
+ *  Get the instance ID of a joystick.
+ *  This can be called before any joysticks are opened.
+ *  If the index is out of range, this function will return -1.
+ */
+extern DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickGetDeviceInstanceID(int device_index);
+
+/**
+ *  Open a joystick for use.
+ *  The index passed as an argument refers to the N'th joystick on the system.
+ *  This index is not the value which will identify this joystick in future
+ *  joystick events.  The joystick's instance id (::SDL_JoystickID) will be used
+ *  there instead.
+ *
+ *  \return A joystick identifier, or NULL if an error occurred.
+ */
+extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index);
+
+/**
+ * Return the SDL_Joystick associated with an instance id.
+ */
+extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickFromInstanceID(SDL_JoystickID joyid);
+
+/**
+ *  Return the name for this currently opened joystick.
+ *  If no name can be found, this function returns NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick * joystick);
+
+/**
+ *  Get the player index of an opened joystick, or -1 if it's not available
+ *
+ *  For XInput controllers this returns the XInput user index.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickGetPlayerIndex(SDL_Joystick * joystick);
+
+/**
+ *  Return the GUID for this opened joystick
+ */
+extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick);
+
+/**
+ *  Get the USB vendor ID of an opened joystick, if available.
+ *  If the vendor ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetVendor(SDL_Joystick * joystick);
+
+/**
+ *  Get the USB product ID of an opened joystick, if available.
+ *  If the product ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProduct(SDL_Joystick * joystick);
+
+/**
+ *  Get the product version of an opened joystick, if available.
+ *  If the product version isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick * joystick);
+
+/**
+ *  Get the type of an opened joystick.
+ */
+extern DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetType(SDL_Joystick * joystick);
+
+/**
+ *  Return a string representation for this guid. pszGUID must point to at least 33 bytes
+ *  (32 for the string plus a NULL terminator).
+ */
+extern DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
+
+/**
+ *  Convert a string into a joystick guid
+ */
+extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);
+
+/**
+ *  Returns SDL_TRUE if the joystick has been opened and currently connected, or SDL_FALSE if it has not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAttached(SDL_Joystick * joystick);
+
+/**
+ *  Get the instance ID of an opened joystick or -1 if the joystick is invalid.
+ */
+extern DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickInstanceID(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of general axis controls on a joystick.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of trackballs on a joystick.
+ *
+ *  Joystick trackballs have only relative motion events associated
+ *  with them and their state cannot be polled.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of POV hats on a joystick.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of buttons on a joystick.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick * joystick);
+
+/**
+ *  Update the current state of the open joysticks.
+ *
+ *  This is called automatically by the event loop if any joystick
+ *  events are enabled.
+ */
+extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void);
+
+/**
+ *  Enable/disable joystick event polling.
+ *
+ *  If joystick events are disabled, you must call SDL_JoystickUpdate()
+ *  yourself and check the state of the joystick when you want joystick
+ *  information.
+ *
+ *  The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickEventState(int state);
+
+#define SDL_JOYSTICK_AXIS_MAX   32767
+#define SDL_JOYSTICK_AXIS_MIN   -32768
+/**
+ *  Get the current state of an axis control on a joystick.
+ *
+ *  The state is a value ranging from -32768 to 32767.
+ *
+ *  The axis indices start at index 0.
+ */
+extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick * joystick,
+                                                   int axis);
+
+/**
+ *  Get the initial state of an axis control on a joystick.
+ *
+ *  The state is a value ranging from -32768 to 32767.
+ *
+ *  The axis indices start at index 0.
+ *
+ *  \return SDL_TRUE if this axis has any initial value, or SDL_FALSE if not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAxisInitialState(SDL_Joystick * joystick,
+                                                   int axis, Sint16 *state);
+
+/**
+ *  \name Hat positions
+ */
+/* @{ */
+#define SDL_HAT_CENTERED    0x00
+#define SDL_HAT_UP          0x01
+#define SDL_HAT_RIGHT       0x02
+#define SDL_HAT_DOWN        0x04
+#define SDL_HAT_LEFT        0x08
+#define SDL_HAT_RIGHTUP     (SDL_HAT_RIGHT|SDL_HAT_UP)
+#define SDL_HAT_RIGHTDOWN   (SDL_HAT_RIGHT|SDL_HAT_DOWN)
+#define SDL_HAT_LEFTUP      (SDL_HAT_LEFT|SDL_HAT_UP)
+#define SDL_HAT_LEFTDOWN    (SDL_HAT_LEFT|SDL_HAT_DOWN)
+/* @} */
+
+/**
+ *  Get the current state of a POV hat on a joystick.
+ *
+ *  The hat indices start at index 0.
+ *
+ *  \return The return value is one of the following positions:
+ *           - ::SDL_HAT_CENTERED
+ *           - ::SDL_HAT_UP
+ *           - ::SDL_HAT_RIGHT
+ *           - ::SDL_HAT_DOWN
+ *           - ::SDL_HAT_LEFT
+ *           - ::SDL_HAT_RIGHTUP
+ *           - ::SDL_HAT_RIGHTDOWN
+ *           - ::SDL_HAT_LEFTUP
+ *           - ::SDL_HAT_LEFTDOWN
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick * joystick,
+                                                 int hat);
+
+/**
+ *  Get the ball axis change since the last poll.
+ *
+ *  \return 0, or -1 if you passed it invalid parameters.
+ *
+ *  The ball indices start at index 0.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick * joystick,
+                                                int ball, int *dx, int *dy);
+
+/**
+ *  Get the current state of a button on a joystick.
+ *
+ *  The button indices start at index 0.
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick * joystick,
+                                                    int button);
+
+/**
+ *  Trigger a rumble effect
+ *  Each call to this function cancels any previous rumble effect, and calling it with 0 intensity stops any rumbling.
+ *
+ *  \param joystick The joystick to vibrate
+ *  \param low_frequency_rumble The intensity of the low frequency (left) rumble motor, from 0 to 0xFFFF
+ *  \param high_frequency_rumble The intensity of the high frequency (right) rumble motor, from 0 to 0xFFFF
+ *  \param duration_ms The duration of the rumble effect, in milliseconds
+ *
+ *  \return 0, or -1 if rumble isn't supported on this joystick
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms);
+
+/**
+ *  Close a joystick previously opened with SDL_JoystickOpen().
+ */
+extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick * joystick);
+
+/**
+ *  Return the battery level of this joystick
+ */
+extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick * joystick);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_joystick_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h
@@ -1,0 +1,217 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_keyboard.h
+ *
+ *  Include file for SDL keyboard event handling
+ */
+
+#ifndef SDL_keyboard_h_
+#define SDL_keyboard_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_keycode.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief The SDL keysym structure, used in key events.
+ *
+ *  \note  If you are looking for translated character input, see the ::SDL_TEXTINPUT event.
+ */
+typedef struct SDL_Keysym
+{
+    SDL_Scancode scancode;      /**< SDL physical key code - see ::SDL_Scancode for details */
+    SDL_Keycode sym;            /**< SDL virtual key code - see ::SDL_Keycode for details */
+    Uint16 mod;                 /**< current key modifiers */
+    Uint32 unused;
+} SDL_Keysym;
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the window which currently has keyboard focus.
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetKeyboardFocus(void);
+
+/**
+ *  \brief Get a snapshot of the current state of the keyboard.
+ *
+ *  \param numkeys if non-NULL, receives the length of the returned array.
+ *
+ *  \return An array of key states. Indexes into this array are obtained by using ::SDL_Scancode values.
+ *
+ *  \b Example:
+ *  \code
+ *  const Uint8 *state = SDL_GetKeyboardState(NULL);
+ *  if ( state[SDL_SCANCODE_RETURN] )   {
+ *      printf("<RETURN> is pressed.\n");
+ *  }
+ *  \endcode
+ */
+extern DECLSPEC const Uint8 *SDLCALL SDL_GetKeyboardState(int *numkeys);
+
+/**
+ *  \brief Get the current key modifier state for the keyboard.
+ */
+extern DECLSPEC SDL_Keymod SDLCALL SDL_GetModState(void);
+
+/**
+ *  \brief Set the current key modifier state for the keyboard.
+ *
+ *  \note This does not change the keyboard state, only the key modifier flags.
+ */
+extern DECLSPEC void SDLCALL SDL_SetModState(SDL_Keymod modstate);
+
+/**
+ *  \brief Get the key code corresponding to the given scancode according
+ *         to the current keyboard layout.
+ *
+ *  See ::SDL_Keycode for details.
+ *
+ *  \sa SDL_GetKeyName()
+ */
+extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode);
+
+/**
+ *  \brief Get the scancode corresponding to the given key code according to the
+ *         current keyboard layout.
+ *
+ *  See ::SDL_Scancode for details.
+ *
+ *  \sa SDL_GetScancodeName()
+ */
+extern DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromKey(SDL_Keycode key);
+
+/**
+ *  \brief Get a human-readable name for a scancode.
+ *
+ *  \return A pointer to the name for the scancode.
+ *          If the scancode doesn't have a name, this function returns
+ *          an empty string ("").
+ *
+ *  \sa SDL_Scancode
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode);
+
+/**
+ *  \brief Get a scancode from a human-readable name
+ *
+ *  \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized
+ *
+ *  \sa SDL_Scancode
+ */
+extern DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromName(const char *name);
+
+/**
+ *  \brief Get a human-readable name for a key.
+ *
+ *  \return A pointer to a UTF-8 string that stays valid at least until the next
+ *          call to this function. If you need it around any longer, you must
+ *          copy it.  If the key doesn't have a name, this function returns an
+ *          empty string ("").
+ *
+ *  \sa SDL_Keycode
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDL_Keycode key);
+
+/**
+ *  \brief Get a key code from a human-readable name
+ *
+ *  \return key code, or SDLK_UNKNOWN if the name wasn't recognized
+ *
+ *  \sa SDL_Keycode
+ */
+extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name);
+
+/**
+ *  \brief Start accepting Unicode text input events.
+ *         This function will show the on-screen keyboard if supported.
+ *
+ *  \sa SDL_StopTextInput()
+ *  \sa SDL_SetTextInputRect()
+ *  \sa SDL_HasScreenKeyboardSupport()
+ */
+extern DECLSPEC void SDLCALL SDL_StartTextInput(void);
+
+/**
+ *  \brief Return whether or not Unicode text input events are enabled.
+ *
+ *  \sa SDL_StartTextInput()
+ *  \sa SDL_StopTextInput()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputActive(void);
+
+/**
+ *  \brief Stop receiving any text input events.
+ *         This function will hide the on-screen keyboard if supported.
+ *
+ *  \sa SDL_StartTextInput()
+ *  \sa SDL_HasScreenKeyboardSupport()
+ */
+extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
+
+/**
+ *  \brief Set the rectangle used to type Unicode text inputs.
+ *         This is used as a hint for IME and on-screen keyboard placement.
+ *
+ *  \sa SDL_StartTextInput()
+ */
+extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect);
+
+/**
+ *  \brief Returns whether the platform has some screen keyboard support.
+ *
+ *  \return SDL_TRUE if some keyboard support is available else SDL_FALSE.
+ *
+ *  \note Not all screen keyboard functions are supported on all platforms.
+ *
+ *  \sa SDL_IsScreenKeyboardShown()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasScreenKeyboardSupport(void);
+
+/**
+ *  \brief Returns whether the screen keyboard is shown for given window.
+ *
+ *  \param window The window for which screen keyboard should be queried.
+ *
+ *  \return SDL_TRUE if screen keyboard is shown else SDL_FALSE.
+ *
+ *  \sa SDL_HasScreenKeyboardSupport()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_keyboard_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h
@@ -1,0 +1,349 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_keycode.h
+ *
+ *  Defines constants which identify keyboard keys and modifiers.
+ */
+
+#ifndef SDL_keycode_h_
+#define SDL_keycode_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_scancode.h"
+
+/**
+ *  \brief The SDL virtual key representation.
+ *
+ *  Values of this type are used to represent keyboard keys using the current
+ *  layout of the keyboard.  These values include Unicode values representing
+ *  the unmodified character that would be generated by pressing the key, or
+ *  an SDLK_* constant for those keys that do not generate characters.
+ *
+ *  A special exception is the number keys at the top of the keyboard which
+ *  always map to SDLK_0...SDLK_9, regardless of layout.
+ */
+typedef Sint32 SDL_Keycode;
+
+#define SDLK_SCANCODE_MASK (1<<30)
+#define SDL_SCANCODE_TO_KEYCODE(X)  (X | SDLK_SCANCODE_MASK)
+
+enum
+{
+    SDLK_UNKNOWN = 0,
+
+    SDLK_RETURN = '\r',
+    SDLK_ESCAPE = '\033',
+    SDLK_BACKSPACE = '\b',
+    SDLK_TAB = '\t',
+    SDLK_SPACE = ' ',
+    SDLK_EXCLAIM = '!',
+    SDLK_QUOTEDBL = '"',
+    SDLK_HASH = '#',
+    SDLK_PERCENT = '%',
+    SDLK_DOLLAR = '$',
+    SDLK_AMPERSAND = '&',
+    SDLK_QUOTE = '\'',
+    SDLK_LEFTPAREN = '(',
+    SDLK_RIGHTPAREN = ')',
+    SDLK_ASTERISK = '*',
+    SDLK_PLUS = '+',
+    SDLK_COMMA = ',',
+    SDLK_MINUS = '-',
+    SDLK_PERIOD = '.',
+    SDLK_SLASH = '/',
+    SDLK_0 = '0',
+    SDLK_1 = '1',
+    SDLK_2 = '2',
+    SDLK_3 = '3',
+    SDLK_4 = '4',
+    SDLK_5 = '5',
+    SDLK_6 = '6',
+    SDLK_7 = '7',
+    SDLK_8 = '8',
+    SDLK_9 = '9',
+    SDLK_COLON = ':',
+    SDLK_SEMICOLON = ';',
+    SDLK_LESS = '<',
+    SDLK_EQUALS = '=',
+    SDLK_GREATER = '>',
+    SDLK_QUESTION = '?',
+    SDLK_AT = '@',
+    /*
+       Skip uppercase letters
+     */
+    SDLK_LEFTBRACKET = '[',
+    SDLK_BACKSLASH = '\\',
+    SDLK_RIGHTBRACKET = ']',
+    SDLK_CARET = '^',
+    SDLK_UNDERSCORE = '_',
+    SDLK_BACKQUOTE = '`',
+    SDLK_a = 'a',
+    SDLK_b = 'b',
+    SDLK_c = 'c',
+    SDLK_d = 'd',
+    SDLK_e = 'e',
+    SDLK_f = 'f',
+    SDLK_g = 'g',
+    SDLK_h = 'h',
+    SDLK_i = 'i',
+    SDLK_j = 'j',
+    SDLK_k = 'k',
+    SDLK_l = 'l',
+    SDLK_m = 'm',
+    SDLK_n = 'n',
+    SDLK_o = 'o',
+    SDLK_p = 'p',
+    SDLK_q = 'q',
+    SDLK_r = 'r',
+    SDLK_s = 's',
+    SDLK_t = 't',
+    SDLK_u = 'u',
+    SDLK_v = 'v',
+    SDLK_w = 'w',
+    SDLK_x = 'x',
+    SDLK_y = 'y',
+    SDLK_z = 'z',
+
+    SDLK_CAPSLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK),
+
+    SDLK_F1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1),
+    SDLK_F2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2),
+    SDLK_F3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3),
+    SDLK_F4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4),
+    SDLK_F5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5),
+    SDLK_F6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6),
+    SDLK_F7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7),
+    SDLK_F8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8),
+    SDLK_F9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9),
+    SDLK_F10 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10),
+    SDLK_F11 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11),
+    SDLK_F12 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12),
+
+    SDLK_PRINTSCREEN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN),
+    SDLK_SCROLLLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK),
+    SDLK_PAUSE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE),
+    SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT),
+    SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME),
+    SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP),
+    SDLK_DELETE = '\177',
+    SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END),
+    SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN),
+    SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT),
+    SDLK_LEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT),
+    SDLK_DOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN),
+    SDLK_UP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP),
+
+    SDLK_NUMLOCKCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR),
+    SDLK_KP_DIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE),
+    SDLK_KP_MULTIPLY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY),
+    SDLK_KP_MINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS),
+    SDLK_KP_PLUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS),
+    SDLK_KP_ENTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER),
+    SDLK_KP_1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1),
+    SDLK_KP_2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2),
+    SDLK_KP_3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3),
+    SDLK_KP_4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4),
+    SDLK_KP_5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5),
+    SDLK_KP_6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6),
+    SDLK_KP_7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7),
+    SDLK_KP_8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8),
+    SDLK_KP_9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9),
+    SDLK_KP_0 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0),
+    SDLK_KP_PERIOD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD),
+
+    SDLK_APPLICATION = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION),
+    SDLK_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER),
+    SDLK_KP_EQUALS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS),
+    SDLK_F13 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13),
+    SDLK_F14 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14),
+    SDLK_F15 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15),
+    SDLK_F16 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16),
+    SDLK_F17 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17),
+    SDLK_F18 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18),
+    SDLK_F19 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19),
+    SDLK_F20 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20),
+    SDLK_F21 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21),
+    SDLK_F22 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22),
+    SDLK_F23 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23),
+    SDLK_F24 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24),
+    SDLK_EXECUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE),
+    SDLK_HELP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP),
+    SDLK_MENU = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU),
+    SDLK_SELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT),
+    SDLK_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP),
+    SDLK_AGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN),
+    SDLK_UNDO = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO),
+    SDLK_CUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT),
+    SDLK_COPY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY),
+    SDLK_PASTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE),
+    SDLK_FIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND),
+    SDLK_MUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE),
+    SDLK_VOLUMEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP),
+    SDLK_VOLUMEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN),
+    SDLK_KP_COMMA = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA),
+    SDLK_KP_EQUALSAS400 =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALSAS400),
+
+    SDLK_ALTERASE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE),
+    SDLK_SYSREQ = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ),
+    SDLK_CANCEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL),
+    SDLK_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR),
+    SDLK_PRIOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR),
+    SDLK_RETURN2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2),
+    SDLK_SEPARATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR),
+    SDLK_OUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT),
+    SDLK_OPER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER),
+    SDLK_CLEARAGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN),
+    SDLK_CRSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL),
+    SDLK_EXSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL),
+
+    SDLK_KP_00 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00),
+    SDLK_KP_000 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000),
+    SDLK_THOUSANDSSEPARATOR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_THOUSANDSSEPARATOR),
+    SDLK_DECIMALSEPARATOR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DECIMALSEPARATOR),
+    SDLK_CURRENCYUNIT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT),
+    SDLK_CURRENCYSUBUNIT =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYSUBUNIT),
+    SDLK_KP_LEFTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN),
+    SDLK_KP_RIGHTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN),
+    SDLK_KP_LEFTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE),
+    SDLK_KP_RIGHTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE),
+    SDLK_KP_TAB = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB),
+    SDLK_KP_BACKSPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE),
+    SDLK_KP_A = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A),
+    SDLK_KP_B = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B),
+    SDLK_KP_C = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C),
+    SDLK_KP_D = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D),
+    SDLK_KP_E = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E),
+    SDLK_KP_F = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F),
+    SDLK_KP_XOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR),
+    SDLK_KP_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER),
+    SDLK_KP_PERCENT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT),
+    SDLK_KP_LESS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS),
+    SDLK_KP_GREATER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER),
+    SDLK_KP_AMPERSAND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND),
+    SDLK_KP_DBLAMPERSAND =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLAMPERSAND),
+    SDLK_KP_VERTICALBAR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_VERTICALBAR),
+    SDLK_KP_DBLVERTICALBAR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLVERTICALBAR),
+    SDLK_KP_COLON = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON),
+    SDLK_KP_HASH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH),
+    SDLK_KP_SPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE),
+    SDLK_KP_AT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT),
+    SDLK_KP_EXCLAM = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM),
+    SDLK_KP_MEMSTORE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE),
+    SDLK_KP_MEMRECALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL),
+    SDLK_KP_MEMCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR),
+    SDLK_KP_MEMADD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD),
+    SDLK_KP_MEMSUBTRACT =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSUBTRACT),
+    SDLK_KP_MEMMULTIPLY =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMMULTIPLY),
+    SDLK_KP_MEMDIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE),
+    SDLK_KP_PLUSMINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS),
+    SDLK_KP_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR),
+    SDLK_KP_CLEARENTRY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY),
+    SDLK_KP_BINARY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY),
+    SDLK_KP_OCTAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL),
+    SDLK_KP_DECIMAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL),
+    SDLK_KP_HEXADECIMAL =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HEXADECIMAL),
+
+    SDLK_LCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL),
+    SDLK_LSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT),
+    SDLK_LALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT),
+    SDLK_LGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI),
+    SDLK_RCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL),
+    SDLK_RSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT),
+    SDLK_RALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT),
+    SDLK_RGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI),
+
+    SDLK_MODE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE),
+
+    SDLK_AUDIONEXT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIONEXT),
+    SDLK_AUDIOPREV = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPREV),
+    SDLK_AUDIOSTOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOSTOP),
+    SDLK_AUDIOPLAY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPLAY),
+    SDLK_AUDIOMUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOMUTE),
+    SDLK_MEDIASELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIASELECT),
+    SDLK_WWW = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WWW),
+    SDLK_MAIL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MAIL),
+    SDLK_CALCULATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALCULATOR),
+    SDLK_COMPUTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COMPUTER),
+    SDLK_AC_SEARCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH),
+    SDLK_AC_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME),
+    SDLK_AC_BACK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK),
+    SDLK_AC_FORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD),
+    SDLK_AC_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP),
+    SDLK_AC_REFRESH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH),
+    SDLK_AC_BOOKMARKS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS),
+
+    SDLK_BRIGHTNESSDOWN =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSDOWN),
+    SDLK_BRIGHTNESSUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSUP),
+    SDLK_DISPLAYSWITCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DISPLAYSWITCH),
+    SDLK_KBDILLUMTOGGLE =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMTOGGLE),
+    SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN),
+    SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP),
+    SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT),
+    SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP),
+    SDLK_APP1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP1),
+    SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
+
+    SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
+    SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD)
+};
+
+/**
+ * \brief Enumeration of valid key mods (possibly OR'd together).
+ */
+typedef enum
+{
+    KMOD_NONE = 0x0000,
+    KMOD_LSHIFT = 0x0001,
+    KMOD_RSHIFT = 0x0002,
+    KMOD_LCTRL = 0x0040,
+    KMOD_RCTRL = 0x0080,
+    KMOD_LALT = 0x0100,
+    KMOD_RALT = 0x0200,
+    KMOD_LGUI = 0x0400,
+    KMOD_RGUI = 0x0800,
+    KMOD_NUM = 0x1000,
+    KMOD_CAPS = 0x2000,
+    KMOD_MODE = 0x4000,
+    KMOD_RESERVED = 0x8000
+} SDL_Keymod;
+
+#define KMOD_CTRL   (KMOD_LCTRL|KMOD_RCTRL)
+#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
+#define KMOD_ALT    (KMOD_LALT|KMOD_RALT)
+#define KMOD_GUI    (KMOD_LGUI|KMOD_RGUI)
+
+#endif /* SDL_keycode_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h
@@ -1,0 +1,81 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_loadso.h
+ *
+ *  System dependent library loading routines
+ *
+ *  Some things to keep in mind:
+ *  \li These functions only work on C function names.  Other languages may
+ *      have name mangling and intrinsic language support that varies from
+ *      compiler to compiler.
+ *  \li Make sure you declare your function pointers with the same calling
+ *      convention as the actual library function.  Your code will crash
+ *      mysteriously if you do not do this.
+ *  \li Avoid namespace collisions.  If you load a symbol from the library,
+ *      it is not defined whether or not it goes into the global symbol
+ *      namespace for the application.  If it does and it conflicts with
+ *      symbols in your code or other shared libraries, you will not get
+ *      the results you expect. :)
+ */
+
+#ifndef SDL_loadso_h_
+#define SDL_loadso_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  This function dynamically loads a shared object and returns a pointer
+ *  to the object handle (or NULL if there was an error).
+ *  The 'sofile' parameter is a system dependent name of the object file.
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadObject(const char *sofile);
+
+/**
+ *  Given an object handle, this function looks up the address of the
+ *  named function in the shared object and returns it.  This address
+ *  is no longer valid after calling SDL_UnloadObject().
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadFunction(void *handle,
+                                               const char *name);
+
+/**
+ *  Unload a shared object from memory.
+ */
+extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_loadso_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h
@@ -1,0 +1,211 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_log.h
+ *
+ *  Simple log messages with categories and priorities.
+ *
+ *  By default logs are quiet, but if you're debugging SDL you might want:
+ *
+ *      SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);
+ *
+ *  Here's where the messages go on different platforms:
+ *      Windows: debug output stream
+ *      Android: log output
+ *      Others: standard error output (stderr)
+ */
+
+#ifndef SDL_log_h_
+#define SDL_log_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/**
+ *  \brief The maximum size of a log message
+ *
+ *  Messages longer than the maximum size will be truncated
+ */
+#define SDL_MAX_LOG_MESSAGE 4096
+
+/**
+ *  \brief The predefined log categories
+ *
+ *  By default the application category is enabled at the INFO level,
+ *  the assert category is enabled at the WARN level, test is enabled
+ *  at the VERBOSE level and all other categories are enabled at the
+ *  CRITICAL level.
+ */
+enum
+{
+    SDL_LOG_CATEGORY_APPLICATION,
+    SDL_LOG_CATEGORY_ERROR,
+    SDL_LOG_CATEGORY_ASSERT,
+    SDL_LOG_CATEGORY_SYSTEM,
+    SDL_LOG_CATEGORY_AUDIO,
+    SDL_LOG_CATEGORY_VIDEO,
+    SDL_LOG_CATEGORY_RENDER,
+    SDL_LOG_CATEGORY_INPUT,
+    SDL_LOG_CATEGORY_TEST,
+
+    /* Reserved for future SDL library use */
+    SDL_LOG_CATEGORY_RESERVED1,
+    SDL_LOG_CATEGORY_RESERVED2,
+    SDL_LOG_CATEGORY_RESERVED3,
+    SDL_LOG_CATEGORY_RESERVED4,
+    SDL_LOG_CATEGORY_RESERVED5,
+    SDL_LOG_CATEGORY_RESERVED6,
+    SDL_LOG_CATEGORY_RESERVED7,
+    SDL_LOG_CATEGORY_RESERVED8,
+    SDL_LOG_CATEGORY_RESERVED9,
+    SDL_LOG_CATEGORY_RESERVED10,
+
+    /* Beyond this point is reserved for application use, e.g.
+       enum {
+           MYAPP_CATEGORY_AWESOME1 = SDL_LOG_CATEGORY_CUSTOM,
+           MYAPP_CATEGORY_AWESOME2,
+           MYAPP_CATEGORY_AWESOME3,
+           ...
+       };
+     */
+    SDL_LOG_CATEGORY_CUSTOM
+};
+
+/**
+ *  \brief The predefined log priorities
+ */
+typedef enum
+{
+    SDL_LOG_PRIORITY_VERBOSE = 1,
+    SDL_LOG_PRIORITY_DEBUG,
+    SDL_LOG_PRIORITY_INFO,
+    SDL_LOG_PRIORITY_WARN,
+    SDL_LOG_PRIORITY_ERROR,
+    SDL_LOG_PRIORITY_CRITICAL,
+    SDL_NUM_LOG_PRIORITIES
+} SDL_LogPriority;
+
+
+/**
+ *  \brief Set the priority of all log categories
+ */
+extern DECLSPEC void SDLCALL SDL_LogSetAllPriority(SDL_LogPriority priority);
+
+/**
+ *  \brief Set the priority of a particular log category
+ */
+extern DECLSPEC void SDLCALL SDL_LogSetPriority(int category,
+                                                SDL_LogPriority priority);
+
+/**
+ *  \brief Get the priority of a particular log category
+ */
+extern DECLSPEC SDL_LogPriority SDLCALL SDL_LogGetPriority(int category);
+
+/**
+ *  \brief Reset all priorities to default.
+ *
+ *  \note This is called in SDL_Quit().
+ */
+extern DECLSPEC void SDLCALL SDL_LogResetPriorities(void);
+
+/**
+ *  \brief Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO
+ */
+extern DECLSPEC void SDLCALL SDL_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_VERBOSE
+ */
+extern DECLSPEC void SDLCALL SDL_LogVerbose(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_DEBUG
+ */
+extern DECLSPEC void SDLCALL SDL_LogDebug(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_INFO
+ */
+extern DECLSPEC void SDLCALL SDL_LogInfo(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_WARN
+ */
+extern DECLSPEC void SDLCALL SDL_LogWarn(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_ERROR
+ */
+extern DECLSPEC void SDLCALL SDL_LogError(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_CRITICAL
+ */
+extern DECLSPEC void SDLCALL SDL_LogCritical(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with the specified category and priority.
+ */
+extern DECLSPEC void SDLCALL SDL_LogMessage(int category,
+                                            SDL_LogPriority priority,
+                                            SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(3);
+
+/**
+ *  \brief Log a message with the specified category and priority.
+ */
+extern DECLSPEC void SDLCALL SDL_LogMessageV(int category,
+                                             SDL_LogPriority priority,
+                                             const char *fmt, va_list ap);
+
+/**
+ *  \brief The prototype for the log output function
+ */
+typedef void (SDLCALL *SDL_LogOutputFunction)(void *userdata, int category, SDL_LogPriority priority, const char *message);
+
+/**
+ *  \brief Get the current log output function.
+ */
+extern DECLSPEC void SDLCALL SDL_LogGetOutputFunction(SDL_LogOutputFunction *callback, void **userdata);
+
+/**
+ *  \brief This function allows you to replace the default log output
+ *         function with one of your own.
+ */
+extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_log_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h
@@ -1,0 +1,180 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_main_h_
+#define SDL_main_h_
+
+#include "SDL_stdinc.h"
+
+/**
+ *  \file SDL_main.h
+ *
+ *  Redefine main() on some platforms so that it is called by SDL.
+ */
+
+#ifndef SDL_MAIN_HANDLED
+#if defined(__WIN32__)
+/* On Windows SDL provides WinMain(), which parses the command line and passes
+   the arguments to your main function.
+
+   If you provide your own WinMain(), you may define SDL_MAIN_HANDLED
+ */
+#define SDL_MAIN_AVAILABLE
+
+#elif defined(__WINRT__)
+/* On WinRT, SDL provides a main function that initializes CoreApplication,
+   creating an instance of IFrameworkView in the process.
+
+   Please note that #include'ing SDL_main.h is not enough to get a main()
+   function working.  In non-XAML apps, the file,
+   src/main/winrt/SDL_WinRT_main_NonXAML.cpp, or a copy of it, must be compiled
+   into the app itself.  In XAML apps, the function, SDL_WinRTRunApp must be
+   called, with a pointer to the Direct3D-hosted XAML control passed in.
+*/
+#define SDL_MAIN_NEEDED
+
+#elif defined(__IPHONEOS__)
+/* On iOS SDL provides a main function that creates an application delegate
+   and starts the iOS application run loop.
+
+   If you link with SDL dynamically on iOS, the main function can't be in a
+   shared library, so you need to link with libSDLmain.a, which includes a
+   stub main function that calls into the shared library to start execution.
+
+   See src/video/uikit/SDL_uikitappdelegate.m for more details.
+ */
+#define SDL_MAIN_NEEDED
+
+#elif defined(__ANDROID__)
+/* On Android SDL provides a Java class in SDLActivity.java that is the
+   main activity entry point.
+
+   See docs/README-android.md for more details on extending that class.
+ */
+#define SDL_MAIN_NEEDED
+
+/* We need to export SDL_main so it can be launched from Java */
+#define SDLMAIN_DECLSPEC    DECLSPEC
+
+#elif defined(__NACL__)
+/* On NACL we use ppapi_simple to set up the application helper code,
+   then wait for the first PSE_INSTANCE_DIDCHANGEVIEW event before 
+   starting the user main function.
+   All user code is run in a separate thread by ppapi_simple, thus 
+   allowing for blocking io to take place via nacl_io
+*/
+#define SDL_MAIN_NEEDED
+
+#endif
+#endif /* SDL_MAIN_HANDLED */
+
+#ifndef SDLMAIN_DECLSPEC
+#define SDLMAIN_DECLSPEC
+#endif
+
+/**
+ *  \file SDL_main.h
+ *
+ *  The application's main() function must be called with C linkage,
+ *  and should be declared like this:
+ *  \code
+ *  #ifdef __cplusplus
+ *  extern "C"
+ *  #endif
+ *  int main(int argc, char *argv[])
+ *  {
+ *  }
+ *  \endcode
+ */
+
+#if defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE)
+#define main    SDL_main
+#endif
+
+#include "begin_code.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  The prototype for the application's main() function
+ */
+typedef int (*SDL_main_func)(int argc, char *argv[]);
+extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]);
+
+
+/**
+ *  This is called by the real SDL main function to let the rest of the
+ *  library know that initialization was done properly.
+ *
+ *  Calling this yourself without knowing what you're doing can cause
+ *  crashes and hard to diagnose problems with your application.
+ */
+extern DECLSPEC void SDLCALL SDL_SetMainReady(void);
+
+#ifdef __WIN32__
+
+/**
+ *  This can be called to set the application class at startup
+ */
+extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
+extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
+
+#endif /* __WIN32__ */
+
+
+#ifdef __WINRT__
+
+/**
+ *  \brief Initializes and launches an SDL/WinRT application.
+ *
+ *  \param mainFunction The SDL app's C-style main().
+ *  \param reserved Reserved for future use; should be NULL
+ *  \return 0 on success, -1 on failure.  On failure, use SDL_GetError to retrieve more
+ *      information on the failure.
+ */
+extern DECLSPEC int SDLCALL SDL_WinRTRunApp(SDL_main_func mainFunction, void * reserved);
+
+#endif /* __WINRT__ */
+
+#if defined(__IPHONEOS__)
+
+/**
+ *  \brief Initializes and launches an SDL application.
+ *
+ *  \param argc The argc parameter from the application's main() function
+ *  \param argv The argv parameter from the application's main() function
+ *  \param mainFunction The SDL app's C-style main().
+ *  \return the return value from mainFunction
+ */
+extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_func mainFunction);
+
+#endif /* __IPHONEOS__ */
+
+
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_main_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h
@@ -1,0 +1,144 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_messagebox_h_
+#define SDL_messagebox_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_video.h"      /* For SDL_Window */
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief SDL_MessageBox flags. If supported will display warning icon, etc.
+ */
+typedef enum
+{
+    SDL_MESSAGEBOX_ERROR        = 0x00000010,   /**< error dialog */
+    SDL_MESSAGEBOX_WARNING      = 0x00000020,   /**< warning dialog */
+    SDL_MESSAGEBOX_INFORMATION  = 0x00000040    /**< informational dialog */
+} SDL_MessageBoxFlags;
+
+/**
+ * \brief Flags for SDL_MessageBoxButtonData.
+ */
+typedef enum
+{
+    SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001,  /**< Marks the default button when return is hit */
+    SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002   /**< Marks the default button when escape is hit */
+} SDL_MessageBoxButtonFlags;
+
+/**
+ *  \brief Individual button data.
+ */
+typedef struct
+{
+    Uint32 flags;       /**< ::SDL_MessageBoxButtonFlags */
+    int buttonid;       /**< User defined button id (value returned via SDL_ShowMessageBox) */
+    const char * text;  /**< The UTF-8 button text */
+} SDL_MessageBoxButtonData;
+
+/**
+ * \brief RGB value used in a message box color scheme
+ */
+typedef struct
+{
+    Uint8 r, g, b;
+} SDL_MessageBoxColor;
+
+typedef enum
+{
+    SDL_MESSAGEBOX_COLOR_BACKGROUND,
+    SDL_MESSAGEBOX_COLOR_TEXT,
+    SDL_MESSAGEBOX_COLOR_BUTTON_BORDER,
+    SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND,
+    SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED,
+    SDL_MESSAGEBOX_COLOR_MAX
+} SDL_MessageBoxColorType;
+
+/**
+ * \brief A set of colors to use for message box dialogs
+ */
+typedef struct
+{
+    SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX];
+} SDL_MessageBoxColorScheme;
+
+/**
+ *  \brief MessageBox structure containing title, text, window, etc.
+ */
+typedef struct
+{
+    Uint32 flags;                       /**< ::SDL_MessageBoxFlags */
+    SDL_Window *window;                 /**< Parent window, can be NULL */
+    const char *title;                  /**< UTF-8 title */
+    const char *message;                /**< UTF-8 message text */
+
+    int numbuttons;
+    const SDL_MessageBoxButtonData *buttons;
+
+    const SDL_MessageBoxColorScheme *colorScheme;   /**< ::SDL_MessageBoxColorScheme, can be NULL to use system settings */
+} SDL_MessageBoxData;
+
+/**
+ *  \brief Create a modal message box.
+ *
+ *  \param messageboxdata The SDL_MessageBoxData structure with title, text, etc.
+ *  \param buttonid The pointer to which user id of hit button should be copied.
+ *
+ *  \return -1 on error, otherwise 0 and buttonid contains user id of button
+ *          hit or -1 if dialog was closed.
+ *
+ *  \note This function should be called on the thread that created the parent
+ *        window, or on the main thread if the messagebox has no parent.  It will
+ *        block execution of that thread until the user clicks a button or
+ *        closes the messagebox.
+ */
+extern DECLSPEC int SDLCALL SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
+
+/**
+ *  \brief Create a simple modal message box
+ *
+ *  \param flags    ::SDL_MessageBoxFlags
+ *  \param title    UTF-8 title text
+ *  \param message  UTF-8 message text
+ *  \param window   The parent window, or NULL for no parent
+ *
+ *  \return 0 on success, -1 on error
+ *
+ *  \sa SDL_ShowMessageBox
+ */
+extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_messagebox_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h
@@ -1,0 +1,302 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_mouse.h
+ *
+ *  Include file for SDL mouse event handling.
+ */
+
+#ifndef SDL_mouse_h_
+#define SDL_mouse_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct SDL_Cursor SDL_Cursor;   /**< Implementation dependent */
+
+/**
+ * \brief Cursor types for SDL_CreateSystemCursor().
+ */
+typedef enum
+{
+    SDL_SYSTEM_CURSOR_ARROW,     /**< Arrow */
+    SDL_SYSTEM_CURSOR_IBEAM,     /**< I-beam */
+    SDL_SYSTEM_CURSOR_WAIT,      /**< Wait */
+    SDL_SYSTEM_CURSOR_CROSSHAIR, /**< Crosshair */
+    SDL_SYSTEM_CURSOR_WAITARROW, /**< Small wait cursor (or Wait if not available) */
+    SDL_SYSTEM_CURSOR_SIZENWSE,  /**< Double arrow pointing northwest and southeast */
+    SDL_SYSTEM_CURSOR_SIZENESW,  /**< Double arrow pointing northeast and southwest */
+    SDL_SYSTEM_CURSOR_SIZEWE,    /**< Double arrow pointing west and east */
+    SDL_SYSTEM_CURSOR_SIZENS,    /**< Double arrow pointing north and south */
+    SDL_SYSTEM_CURSOR_SIZEALL,   /**< Four pointed arrow pointing north, south, east, and west */
+    SDL_SYSTEM_CURSOR_NO,        /**< Slashed circle or crossbones */
+    SDL_SYSTEM_CURSOR_HAND,      /**< Hand */
+    SDL_NUM_SYSTEM_CURSORS
+} SDL_SystemCursor;
+
+/**
+ * \brief Scroll direction types for the Scroll event
+ */
+typedef enum
+{
+    SDL_MOUSEWHEEL_NORMAL,    /**< The scroll direction is normal */
+    SDL_MOUSEWHEEL_FLIPPED    /**< The scroll direction is flipped / natural */
+} SDL_MouseWheelDirection;
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the window which currently has mouse focus.
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetMouseFocus(void);
+
+/**
+ *  \brief Retrieve the current state of the mouse.
+ *
+ *  The current button state is returned as a button bitmask, which can
+ *  be tested using the SDL_BUTTON(X) macros, and x and y are set to the
+ *  mouse cursor position relative to the focus window for the currently
+ *  selected mouse.  You can pass NULL for either x or y.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetMouseState(int *x, int *y);
+
+/**
+ *  \brief Get the current state of the mouse, in relation to the desktop
+ *
+ *  This works just like SDL_GetMouseState(), but the coordinates will be
+ *  reported relative to the top-left of the desktop. This can be useful if
+ *  you need to track the mouse outside of a specific window and
+ *  SDL_CaptureMouse() doesn't fit your needs. For example, it could be
+ *  useful if you need to track the mouse while dragging a window, where
+ *  coordinates relative to a window might not be in sync at all times.
+ *
+ *  \note SDL_GetMouseState() returns the mouse position as SDL understands
+ *        it from the last pump of the event queue. This function, however,
+ *        queries the OS for the current mouse position, and as such, might
+ *        be a slightly less efficient function. Unless you know what you're
+ *        doing and have a good reason to use this function, you probably want
+ *        SDL_GetMouseState() instead.
+ *
+ *  \param x Returns the current X coord, relative to the desktop. Can be NULL.
+ *  \param y Returns the current Y coord, relative to the desktop. Can be NULL.
+ *  \return The current button state as a bitmask, which can be tested using the SDL_BUTTON(X) macros.
+ *
+ *  \sa SDL_GetMouseState
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetGlobalMouseState(int *x, int *y);
+
+/**
+ *  \brief Retrieve the relative state of the mouse.
+ *
+ *  The current button state is returned as a button bitmask, which can
+ *  be tested using the SDL_BUTTON(X) macros, and x and y are set to the
+ *  mouse deltas since the last call to SDL_GetRelativeMouseState().
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetRelativeMouseState(int *x, int *y);
+
+/**
+ *  \brief Moves the mouse to the given position within the window.
+ *
+ *  \param window The window to move the mouse into, or NULL for the current mouse focus
+ *  \param x The x coordinate within the window
+ *  \param y The y coordinate within the window
+ *
+ *  \note This function generates a mouse motion event
+ */
+extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_Window * window,
+                                                   int x, int y);
+
+/**
+ *  \brief Moves the mouse to the given position in global screen space.
+ *
+ *  \param x The x coordinate
+ *  \param y The y coordinate
+ *  \return 0 on success, -1 on error (usually: unsupported by a platform).
+ *
+ *  \note This function generates a mouse motion event
+ */
+extern DECLSPEC int SDLCALL SDL_WarpMouseGlobal(int x, int y);
+
+/**
+ *  \brief Set relative mouse mode.
+ *
+ *  \param enabled Whether or not to enable relative mode
+ *
+ *  \return 0 on success, or -1 if relative mode is not supported.
+ *
+ *  While the mouse is in relative mode, the cursor is hidden, and the
+ *  driver will try to report continuous motion in the current window.
+ *  Only relative motion events will be delivered, the mouse position
+ *  will not change.
+ *
+ *  \note This function will flush any pending mouse motion.
+ *
+ *  \sa SDL_GetRelativeMouseMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetRelativeMouseMode(SDL_bool enabled);
+
+/**
+ *  \brief Capture the mouse, to track input outside an SDL window.
+ *
+ *  \param enabled Whether or not to enable capturing
+ *
+ *  Capturing enables your app to obtain mouse events globally, instead of
+ *  just within your window. Not all video targets support this function.
+ *  When capturing is enabled, the current window will get all mouse events,
+ *  but unlike relative mode, no change is made to the cursor and it is
+ *  not restrained to your window.
+ *
+ *  This function may also deny mouse input to other windows--both those in
+ *  your application and others on the system--so you should use this
+ *  function sparingly, and in small bursts. For example, you might want to
+ *  track the mouse while the user is dragging something, until the user
+ *  releases a mouse button. It is not recommended that you capture the mouse
+ *  for long periods of time, such as the entire time your app is running.
+ *
+ *  While captured, mouse events still report coordinates relative to the
+ *  current (foreground) window, but those coordinates may be outside the
+ *  bounds of the window (including negative values). Capturing is only
+ *  allowed for the foreground window. If the window loses focus while
+ *  capturing, the capture will be disabled automatically.
+ *
+ *  While capturing is enabled, the current window will have the
+ *  SDL_WINDOW_MOUSE_CAPTURE flag set.
+ *
+ *  \return 0 on success, or -1 if not supported.
+ */
+extern DECLSPEC int SDLCALL SDL_CaptureMouse(SDL_bool enabled);
+
+/**
+ *  \brief Query whether relative mouse mode is enabled.
+ *
+ *  \sa SDL_SetRelativeMouseMode()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetRelativeMouseMode(void);
+
+/**
+ *  \brief Create a cursor, using the specified bitmap data and
+ *         mask (in MSB format).
+ *
+ *  The cursor width must be a multiple of 8 bits.
+ *
+ *  The cursor is created in black and white according to the following:
+ *  <table>
+ *  <tr><td> data </td><td> mask </td><td> resulting pixel on screen </td></tr>
+ *  <tr><td>  0   </td><td>  1   </td><td> White </td></tr>
+ *  <tr><td>  1   </td><td>  1   </td><td> Black </td></tr>
+ *  <tr><td>  0   </td><td>  0   </td><td> Transparent </td></tr>
+ *  <tr><td>  1   </td><td>  0   </td><td> Inverted color if possible, black
+ *                                         if not. </td></tr>
+ *  </table>
+ *
+ *  \sa SDL_FreeCursor()
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateCursor(const Uint8 * data,
+                                                     const Uint8 * mask,
+                                                     int w, int h, int hot_x,
+                                                     int hot_y);
+
+/**
+ *  \brief Create a color cursor.
+ *
+ *  \sa SDL_FreeCursor()
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateColorCursor(SDL_Surface *surface,
+                                                          int hot_x,
+                                                          int hot_y);
+
+/**
+ *  \brief Create a system cursor.
+ *
+ *  \sa SDL_FreeCursor()
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateSystemCursor(SDL_SystemCursor id);
+
+/**
+ *  \brief Set the active cursor.
+ */
+extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor * cursor);
+
+/**
+ *  \brief Return the active cursor.
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void);
+
+/**
+ *  \brief Return the default cursor.
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetDefaultCursor(void);
+
+/**
+ *  \brief Frees a cursor created with SDL_CreateCursor() or similar functions.
+ *
+ *  \sa SDL_CreateCursor()
+ *  \sa SDL_CreateColorCursor()
+ *  \sa SDL_CreateSystemCursor()
+ */
+extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor * cursor);
+
+/**
+ *  \brief Toggle whether or not the cursor is shown.
+ *
+ *  \param toggle 1 to show the cursor, 0 to hide it, -1 to query the current
+ *                state.
+ *
+ *  \return 1 if the cursor is shown, or 0 if the cursor is hidden.
+ */
+extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle);
+
+/**
+ *  Used as a mask when testing buttons in buttonstate.
+ *   - Button 1:  Left mouse button
+ *   - Button 2:  Middle mouse button
+ *   - Button 3:  Right mouse button
+ */
+#define SDL_BUTTON(X)       (1 << ((X)-1))
+#define SDL_BUTTON_LEFT     1
+#define SDL_BUTTON_MIDDLE   2
+#define SDL_BUTTON_RIGHT    3
+#define SDL_BUTTON_X1       4
+#define SDL_BUTTON_X2       5
+#define SDL_BUTTON_LMASK    SDL_BUTTON(SDL_BUTTON_LEFT)
+#define SDL_BUTTON_MMASK    SDL_BUTTON(SDL_BUTTON_MIDDLE)
+#define SDL_BUTTON_RMASK    SDL_BUTTON(SDL_BUTTON_RIGHT)
+#define SDL_BUTTON_X1MASK   SDL_BUTTON(SDL_BUTTON_X1)
+#define SDL_BUTTON_X2MASK   SDL_BUTTON(SDL_BUTTON_X2)
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_mouse_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h
@@ -1,0 +1,251 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_mutex_h_
+#define SDL_mutex_h_
+
+/**
+ *  \file SDL_mutex.h
+ *
+ *  Functions to provide thread synchronization primitives.
+ */
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  Synchronization functions which can time out return this value
+ *  if they time out.
+ */
+#define SDL_MUTEX_TIMEDOUT  1
+
+/**
+ *  This is the timeout value which corresponds to never time out.
+ */
+#define SDL_MUTEX_MAXWAIT   (~(Uint32)0)
+
+
+/**
+ *  \name Mutex functions
+ */
+/* @{ */
+
+/* The SDL mutex structure, defined in SDL_sysmutex.c */
+struct SDL_mutex;
+typedef struct SDL_mutex SDL_mutex;
+
+/**
+ *  Create a mutex, initialized unlocked.
+ */
+extern DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void);
+
+/**
+ *  Lock the mutex.
+ *
+ *  \return 0, or -1 on error.
+ */
+#define SDL_mutexP(m)   SDL_LockMutex(m)
+extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
+
+/**
+ *  Try to lock the mutex
+ *
+ *  \return 0, SDL_MUTEX_TIMEDOUT, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
+
+/**
+ *  Unlock the mutex.
+ *
+ *  \return 0, or -1 on error.
+ *
+ *  \warning It is an error to unlock a mutex that has not been locked by
+ *           the current thread, and doing so results in undefined behavior.
+ */
+#define SDL_mutexV(m)   SDL_UnlockMutex(m)
+extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
+
+/**
+ *  Destroy a mutex.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex);
+
+/* @} *//* Mutex functions */
+
+
+/**
+ *  \name Semaphore functions
+ */
+/* @{ */
+
+/* The SDL semaphore structure, defined in SDL_syssem.c */
+struct SDL_semaphore;
+typedef struct SDL_semaphore SDL_sem;
+
+/**
+ *  Create a semaphore, initialized with value, returns NULL on failure.
+ */
+extern DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value);
+
+/**
+ *  Destroy a semaphore.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem * sem);
+
+/**
+ *  This function suspends the calling thread until the semaphore pointed
+ *  to by \c sem has a positive count. It then atomically decreases the
+ *  semaphore count.
+ */
+extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem * sem);
+
+/**
+ *  Non-blocking variant of SDL_SemWait().
+ *
+ *  \return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait would
+ *          block, and -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem * sem);
+
+/**
+ *  Variant of SDL_SemWait() with a timeout in milliseconds.
+ *
+ *  \return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait does not
+ *          succeed in the allotted time, and -1 on error.
+ *
+ *  \warning On some platforms this function is implemented by looping with a
+ *           delay of 1 ms, and so should be avoided if possible.
+ */
+extern DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem * sem, Uint32 ms);
+
+/**
+ *  Atomically increases the semaphore's count (not blocking).
+ *
+ *  \return 0, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_SemPost(SDL_sem * sem);
+
+/**
+ *  Returns the current count of the semaphore.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem * sem);
+
+/* @} *//* Semaphore functions */
+
+
+/**
+ *  \name Condition variable functions
+ */
+/* @{ */
+
+/* The SDL condition variable structure, defined in SDL_syscond.c */
+struct SDL_cond;
+typedef struct SDL_cond SDL_cond;
+
+/**
+ *  Create a condition variable.
+ *
+ *  Typical use of condition variables:
+ *
+ *  Thread A:
+ *    SDL_LockMutex(lock);
+ *    while ( ! condition ) {
+ *        SDL_CondWait(cond, lock);
+ *    }
+ *    SDL_UnlockMutex(lock);
+ *
+ *  Thread B:
+ *    SDL_LockMutex(lock);
+ *    ...
+ *    condition = true;
+ *    ...
+ *    SDL_CondSignal(cond);
+ *    SDL_UnlockMutex(lock);
+ *
+ *  There is some discussion whether to signal the condition variable
+ *  with the mutex locked or not.  There is some potential performance
+ *  benefit to unlocking first on some platforms, but there are some
+ *  potential race conditions depending on how your code is structured.
+ *
+ *  In general it's safer to signal the condition variable while the
+ *  mutex is locked.
+ */
+extern DECLSPEC SDL_cond *SDLCALL SDL_CreateCond(void);
+
+/**
+ *  Destroy a condition variable.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond * cond);
+
+/**
+ *  Restart one of the threads that are waiting on the condition variable.
+ *
+ *  \return 0 or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond * cond);
+
+/**
+ *  Restart all threads that are waiting on the condition variable.
+ *
+ *  \return 0 or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond * cond);
+
+/**
+ *  Wait on the condition variable, unlocking the provided mutex.
+ *
+ *  \warning The mutex must be locked before entering this function!
+ *
+ *  The mutex is re-locked once the condition variable is signaled.
+ *
+ *  \return 0 when it is signaled, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex);
+
+/**
+ *  Waits for at most \c ms milliseconds, and returns 0 if the condition
+ *  variable is signaled, ::SDL_MUTEX_TIMEDOUT if the condition is not
+ *  signaled in the allotted time, and -1 on error.
+ *
+ *  \warning On some platforms this function is implemented by looping with a
+ *           delay of 1 ms, and so should be avoided if possible.
+ */
+extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond,
+                                                SDL_mutex * mutex, Uint32 ms);
+
+/* @} *//* Condition variable functions */
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_mutex_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_name.h
@@ -1,0 +1,33 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDLname_h_
+#define SDLname_h_
+
+#if defined(__STDC__) || defined(__cplusplus)
+#define NeedFunctionPrototypes 1
+#endif
+
+#define SDL_NAME(X) SDL_##X
+
+#endif /* SDLname_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h
@@ -1,0 +1,2183 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_opengl.h
+ *
+ *  This is a simple file to encapsulate the OpenGL API headers.
+ */
+
+/**
+ *  \def NO_SDL_GLEXT
+ *
+ *  Define this if you have your own version of glext.h and want to disable the
+ *  version included in SDL_opengl.h.
+ */
+
+#ifndef SDL_opengl_h_
+#define SDL_opengl_h_
+
+#include "SDL_config.h"
+
+#ifndef __IPHONEOS__  /* No OpenGL on iOS. */
+
+/*
+ * Mesa 3-D graphics library
+ *
+ * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
+ * Copyright (C) 2009  VMware, Inc.  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
+ * 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.
+ */
+
+
+#ifndef __gl_h_
+#define __gl_h_
+
+#if defined(USE_MGL_NAMESPACE)
+#include "gl_mangle.h"
+#endif
+
+
+/**********************************************************************
+ * Begin system-specific stuff.
+ */
+
+#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__)
+#define __WIN32__
+#endif
+
+#if defined(__WIN32__) && !defined(__CYGWIN__)
+#  if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
+#    define GLAPI __declspec(dllexport)
+#  elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
+#    define GLAPI __declspec(dllimport)
+#  else /* for use with static link lib build of Win32 edition only */
+#    define GLAPI extern
+#  endif /* _STATIC_MESA support */
+#  if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE)  /* The generated DLLs by MingW with STDCALL are not compatible with the ones done by Microsoft's compilers */
+#    define GLAPIENTRY 
+#  else
+#    define GLAPIENTRY __stdcall
+#  endif
+#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
+#  define GLAPI extern
+#  define GLAPIENTRY __stdcall
+#elif defined(__OS2__) || defined(__EMX__) /* native os/2 opengl */
+#  define GLAPI extern
+#  define GLAPIENTRY _System
+#  define APIENTRY _System
+#  if defined(__GNUC__) && !defined(_System)
+#    define _System
+#  endif
+#elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+#  define GLAPI __attribute__((visibility("default")))
+#  define GLAPIENTRY
+#endif /* WIN32 && !CYGWIN */
+
+/*
+ * WINDOWS: Include windows.h here to define APIENTRY.
+ * It is also useful when applications include this file by
+ * including only glut.h, since glut.h depends on windows.h.
+ * Applications needing to include windows.h with parms other
+ * than "WIN32_LEAN_AND_MEAN" may include windows.h before
+ * glut.h or gl.h.
+ */
+#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN 1
+#endif
+#ifndef NOMINMAX   /* don't define min() and max(). */
+#define NOMINMAX
+#endif
+#include <windows.h>
+#endif
+
+#ifndef GLAPI
+#define GLAPI extern
+#endif
+
+#ifndef GLAPIENTRY
+#define GLAPIENTRY
+#endif
+
+#ifndef APIENTRY
+#define APIENTRY GLAPIENTRY
+#endif
+
+/* "P" suffix to be used for a pointer to a function */
+#ifndef APIENTRYP
+#define APIENTRYP APIENTRY *
+#endif
+
+#ifndef GLAPIENTRYP
+#define GLAPIENTRYP GLAPIENTRY *
+#endif
+
+#if defined(PRAGMA_EXPORT_SUPPORTED)
+#pragma export on
+#endif
+
+/*
+ * End system-specific stuff.
+ **********************************************************************/
+
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+#define GL_VERSION_1_1   1
+#define GL_VERSION_1_2   1
+#define GL_VERSION_1_3   1
+#define GL_ARB_imaging   1
+
+
+/*
+ * Datatypes
+ */
+typedef unsigned int	GLenum;
+typedef unsigned char	GLboolean;
+typedef unsigned int	GLbitfield;
+typedef void		GLvoid;
+typedef signed char	GLbyte;		/* 1-byte signed */
+typedef short		GLshort;	/* 2-byte signed */
+typedef int		GLint;		/* 4-byte signed */
+typedef unsigned char	GLubyte;	/* 1-byte unsigned */
+typedef unsigned short	GLushort;	/* 2-byte unsigned */
+typedef unsigned int	GLuint;		/* 4-byte unsigned */
+typedef int		GLsizei;	/* 4-byte signed */
+typedef float		GLfloat;	/* single precision float */
+typedef float		GLclampf;	/* single precision float in [0,1] */
+typedef double		GLdouble;	/* double precision float */
+typedef double		GLclampd;	/* double precision float in [0,1] */
+
+
+
+/*
+ * Constants
+ */
+
+/* Boolean values */
+#define GL_FALSE				0
+#define GL_TRUE					1
+
+/* Data types */
+#define GL_BYTE					0x1400
+#define GL_UNSIGNED_BYTE			0x1401
+#define GL_SHORT				0x1402
+#define GL_UNSIGNED_SHORT			0x1403
+#define GL_INT					0x1404
+#define GL_UNSIGNED_INT				0x1405
+#define GL_FLOAT				0x1406
+#define GL_2_BYTES				0x1407
+#define GL_3_BYTES				0x1408
+#define GL_4_BYTES				0x1409
+#define GL_DOUBLE				0x140A
+
+/* Primitives */
+#define GL_POINTS				0x0000
+#define GL_LINES				0x0001
+#define GL_LINE_LOOP				0x0002
+#define GL_LINE_STRIP				0x0003
+#define GL_TRIANGLES				0x0004
+#define GL_TRIANGLE_STRIP			0x0005
+#define GL_TRIANGLE_FAN				0x0006
+#define GL_QUADS				0x0007
+#define GL_QUAD_STRIP				0x0008
+#define GL_POLYGON				0x0009
+
+/* Vertex Arrays */
+#define GL_VERTEX_ARRAY				0x8074
+#define GL_NORMAL_ARRAY				0x8075
+#define GL_COLOR_ARRAY				0x8076
+#define GL_INDEX_ARRAY				0x8077
+#define GL_TEXTURE_COORD_ARRAY			0x8078
+#define GL_EDGE_FLAG_ARRAY			0x8079
+#define GL_VERTEX_ARRAY_SIZE			0x807A
+#define GL_VERTEX_ARRAY_TYPE			0x807B
+#define GL_VERTEX_ARRAY_STRIDE			0x807C
+#define GL_NORMAL_ARRAY_TYPE			0x807E
+#define GL_NORMAL_ARRAY_STRIDE			0x807F
+#define GL_COLOR_ARRAY_SIZE			0x8081
+#define GL_COLOR_ARRAY_TYPE			0x8082
+#define GL_COLOR_ARRAY_STRIDE			0x8083
+#define GL_INDEX_ARRAY_TYPE			0x8085
+#define GL_INDEX_ARRAY_STRIDE			0x8086
+#define GL_TEXTURE_COORD_ARRAY_SIZE		0x8088
+#define GL_TEXTURE_COORD_ARRAY_TYPE		0x8089
+#define GL_TEXTURE_COORD_ARRAY_STRIDE		0x808A
+#define GL_EDGE_FLAG_ARRAY_STRIDE		0x808C
+#define GL_VERTEX_ARRAY_POINTER			0x808E
+#define GL_NORMAL_ARRAY_POINTER			0x808F
+#define GL_COLOR_ARRAY_POINTER			0x8090
+#define GL_INDEX_ARRAY_POINTER			0x8091
+#define GL_TEXTURE_COORD_ARRAY_POINTER		0x8092
+#define GL_EDGE_FLAG_ARRAY_POINTER		0x8093
+#define GL_V2F					0x2A20
+#define GL_V3F					0x2A21
+#define GL_C4UB_V2F				0x2A22
+#define GL_C4UB_V3F				0x2A23
+#define GL_C3F_V3F				0x2A24
+#define GL_N3F_V3F				0x2A25
+#define GL_C4F_N3F_V3F				0x2A26
+#define GL_T2F_V3F				0x2A27
+#define GL_T4F_V4F				0x2A28
+#define GL_T2F_C4UB_V3F				0x2A29
+#define GL_T2F_C3F_V3F				0x2A2A
+#define GL_T2F_N3F_V3F				0x2A2B
+#define GL_T2F_C4F_N3F_V3F			0x2A2C
+#define GL_T4F_C4F_N3F_V4F			0x2A2D
+
+/* Matrix Mode */
+#define GL_MATRIX_MODE				0x0BA0
+#define GL_MODELVIEW				0x1700
+#define GL_PROJECTION				0x1701
+#define GL_TEXTURE				0x1702
+
+/* Points */
+#define GL_POINT_SMOOTH				0x0B10
+#define GL_POINT_SIZE				0x0B11
+#define GL_POINT_SIZE_GRANULARITY 		0x0B13
+#define GL_POINT_SIZE_RANGE			0x0B12
+
+/* Lines */
+#define GL_LINE_SMOOTH				0x0B20
+#define GL_LINE_STIPPLE				0x0B24
+#define GL_LINE_STIPPLE_PATTERN			0x0B25
+#define GL_LINE_STIPPLE_REPEAT			0x0B26
+#define GL_LINE_WIDTH				0x0B21
+#define GL_LINE_WIDTH_GRANULARITY		0x0B23
+#define GL_LINE_WIDTH_RANGE			0x0B22
+
+/* Polygons */
+#define GL_POINT				0x1B00
+#define GL_LINE					0x1B01
+#define GL_FILL					0x1B02
+#define GL_CW					0x0900
+#define GL_CCW					0x0901
+#define GL_FRONT				0x0404
+#define GL_BACK					0x0405
+#define GL_POLYGON_MODE				0x0B40
+#define GL_POLYGON_SMOOTH			0x0B41
+#define GL_POLYGON_STIPPLE			0x0B42
+#define GL_EDGE_FLAG				0x0B43
+#define GL_CULL_FACE				0x0B44
+#define GL_CULL_FACE_MODE			0x0B45
+#define GL_FRONT_FACE				0x0B46
+#define GL_POLYGON_OFFSET_FACTOR		0x8038
+#define GL_POLYGON_OFFSET_UNITS			0x2A00
+#define GL_POLYGON_OFFSET_POINT			0x2A01
+#define GL_POLYGON_OFFSET_LINE			0x2A02
+#define GL_POLYGON_OFFSET_FILL			0x8037
+
+/* Display Lists */
+#define GL_COMPILE				0x1300
+#define GL_COMPILE_AND_EXECUTE			0x1301
+#define GL_LIST_BASE				0x0B32
+#define GL_LIST_INDEX				0x0B33
+#define GL_LIST_MODE				0x0B30
+
+/* Depth buffer */
+#define GL_NEVER				0x0200
+#define GL_LESS					0x0201
+#define GL_EQUAL				0x0202
+#define GL_LEQUAL				0x0203
+#define GL_GREATER				0x0204
+#define GL_NOTEQUAL				0x0205
+#define GL_GEQUAL				0x0206
+#define GL_ALWAYS				0x0207
+#define GL_DEPTH_TEST				0x0B71
+#define GL_DEPTH_BITS				0x0D56
+#define GL_DEPTH_CLEAR_VALUE			0x0B73
+#define GL_DEPTH_FUNC				0x0B74
+#define GL_DEPTH_RANGE				0x0B70
+#define GL_DEPTH_WRITEMASK			0x0B72
+#define GL_DEPTH_COMPONENT			0x1902
+
+/* Lighting */
+#define GL_LIGHTING				0x0B50
+#define GL_LIGHT0				0x4000
+#define GL_LIGHT1				0x4001
+#define GL_LIGHT2				0x4002
+#define GL_LIGHT3				0x4003
+#define GL_LIGHT4				0x4004
+#define GL_LIGHT5				0x4005
+#define GL_LIGHT6				0x4006
+#define GL_LIGHT7				0x4007
+#define GL_SPOT_EXPONENT			0x1205
+#define GL_SPOT_CUTOFF				0x1206
+#define GL_CONSTANT_ATTENUATION			0x1207
+#define GL_LINEAR_ATTENUATION			0x1208
+#define GL_QUADRATIC_ATTENUATION		0x1209
+#define GL_AMBIENT				0x1200
+#define GL_DIFFUSE				0x1201
+#define GL_SPECULAR				0x1202
+#define GL_SHININESS				0x1601
+#define GL_EMISSION				0x1600
+#define GL_POSITION				0x1203
+#define GL_SPOT_DIRECTION			0x1204
+#define GL_AMBIENT_AND_DIFFUSE			0x1602
+#define GL_COLOR_INDEXES			0x1603
+#define GL_LIGHT_MODEL_TWO_SIDE			0x0B52
+#define GL_LIGHT_MODEL_LOCAL_VIEWER		0x0B51
+#define GL_LIGHT_MODEL_AMBIENT			0x0B53
+#define GL_FRONT_AND_BACK			0x0408
+#define GL_SHADE_MODEL				0x0B54
+#define GL_FLAT					0x1D00
+#define GL_SMOOTH				0x1D01
+#define GL_COLOR_MATERIAL			0x0B57
+#define GL_COLOR_MATERIAL_FACE			0x0B55
+#define GL_COLOR_MATERIAL_PARAMETER		0x0B56
+#define GL_NORMALIZE				0x0BA1
+
+/* User clipping planes */
+#define GL_CLIP_PLANE0				0x3000
+#define GL_CLIP_PLANE1				0x3001
+#define GL_CLIP_PLANE2				0x3002
+#define GL_CLIP_PLANE3				0x3003
+#define GL_CLIP_PLANE4				0x3004
+#define GL_CLIP_PLANE5				0x3005
+
+/* Accumulation buffer */
+#define GL_ACCUM_RED_BITS			0x0D58
+#define GL_ACCUM_GREEN_BITS			0x0D59
+#define GL_ACCUM_BLUE_BITS			0x0D5A
+#define GL_ACCUM_ALPHA_BITS			0x0D5B
+#define GL_ACCUM_CLEAR_VALUE			0x0B80
+#define GL_ACCUM				0x0100
+#define GL_ADD					0x0104
+#define GL_LOAD					0x0101
+#define GL_MULT					0x0103
+#define GL_RETURN				0x0102
+
+/* Alpha testing */
+#define GL_ALPHA_TEST				0x0BC0
+#define GL_ALPHA_TEST_REF			0x0BC2
+#define GL_ALPHA_TEST_FUNC			0x0BC1
+
+/* Blending */
+#define GL_BLEND				0x0BE2
+#define GL_BLEND_SRC				0x0BE1
+#define GL_BLEND_DST				0x0BE0
+#define GL_ZERO					0
+#define GL_ONE					1
+#define GL_SRC_COLOR				0x0300
+#define GL_ONE_MINUS_SRC_COLOR			0x0301
+#define GL_SRC_ALPHA				0x0302
+#define GL_ONE_MINUS_SRC_ALPHA			0x0303
+#define GL_DST_ALPHA				0x0304
+#define GL_ONE_MINUS_DST_ALPHA			0x0305
+#define GL_DST_COLOR				0x0306
+#define GL_ONE_MINUS_DST_COLOR			0x0307
+#define GL_SRC_ALPHA_SATURATE			0x0308
+
+/* Render Mode */
+#define GL_FEEDBACK				0x1C01
+#define GL_RENDER				0x1C00
+#define GL_SELECT				0x1C02
+
+/* Feedback */
+#define GL_2D					0x0600
+#define GL_3D					0x0601
+#define GL_3D_COLOR				0x0602
+#define GL_3D_COLOR_TEXTURE			0x0603
+#define GL_4D_COLOR_TEXTURE			0x0604
+#define GL_POINT_TOKEN				0x0701
+#define GL_LINE_TOKEN				0x0702
+#define GL_LINE_RESET_TOKEN			0x0707
+#define GL_POLYGON_TOKEN			0x0703
+#define GL_BITMAP_TOKEN				0x0704
+#define GL_DRAW_PIXEL_TOKEN			0x0705
+#define GL_COPY_PIXEL_TOKEN			0x0706
+#define GL_PASS_THROUGH_TOKEN			0x0700
+#define GL_FEEDBACK_BUFFER_POINTER		0x0DF0
+#define GL_FEEDBACK_BUFFER_SIZE			0x0DF1
+#define GL_FEEDBACK_BUFFER_TYPE			0x0DF2
+
+/* Selection */
+#define GL_SELECTION_BUFFER_POINTER		0x0DF3
+#define GL_SELECTION_BUFFER_SIZE		0x0DF4
+
+/* Fog */
+#define GL_FOG					0x0B60
+#define GL_FOG_MODE				0x0B65
+#define GL_FOG_DENSITY				0x0B62
+#define GL_FOG_COLOR				0x0B66
+#define GL_FOG_INDEX				0x0B61
+#define GL_FOG_START				0x0B63
+#define GL_FOG_END				0x0B64
+#define GL_LINEAR				0x2601
+#define GL_EXP					0x0800
+#define GL_EXP2					0x0801
+
+/* Logic Ops */
+#define GL_LOGIC_OP				0x0BF1
+#define GL_INDEX_LOGIC_OP			0x0BF1
+#define GL_COLOR_LOGIC_OP			0x0BF2
+#define GL_LOGIC_OP_MODE			0x0BF0
+#define GL_CLEAR				0x1500
+#define GL_SET					0x150F
+#define GL_COPY					0x1503
+#define GL_COPY_INVERTED			0x150C
+#define GL_NOOP					0x1505
+#define GL_INVERT				0x150A
+#define GL_AND					0x1501
+#define GL_NAND					0x150E
+#define GL_OR					0x1507
+#define GL_NOR					0x1508
+#define GL_XOR					0x1506
+#define GL_EQUIV				0x1509
+#define GL_AND_REVERSE				0x1502
+#define GL_AND_INVERTED				0x1504
+#define GL_OR_REVERSE				0x150B
+#define GL_OR_INVERTED				0x150D
+
+/* Stencil */
+#define GL_STENCIL_BITS				0x0D57
+#define GL_STENCIL_TEST				0x0B90
+#define GL_STENCIL_CLEAR_VALUE			0x0B91
+#define GL_STENCIL_FUNC				0x0B92
+#define GL_STENCIL_VALUE_MASK			0x0B93
+#define GL_STENCIL_FAIL				0x0B94
+#define GL_STENCIL_PASS_DEPTH_FAIL		0x0B95
+#define GL_STENCIL_PASS_DEPTH_PASS		0x0B96
+#define GL_STENCIL_REF				0x0B97
+#define GL_STENCIL_WRITEMASK			0x0B98
+#define GL_STENCIL_INDEX			0x1901
+#define GL_KEEP					0x1E00
+#define GL_REPLACE				0x1E01
+#define GL_INCR					0x1E02
+#define GL_DECR					0x1E03
+
+/* Buffers, Pixel Drawing/Reading */
+#define GL_NONE					0
+#define GL_LEFT					0x0406
+#define GL_RIGHT				0x0407
+/*GL_FRONT					0x0404 */
+/*GL_BACK					0x0405 */
+/*GL_FRONT_AND_BACK				0x0408 */
+#define GL_FRONT_LEFT				0x0400
+#define GL_FRONT_RIGHT				0x0401
+#define GL_BACK_LEFT				0x0402
+#define GL_BACK_RIGHT				0x0403
+#define GL_AUX0					0x0409
+#define GL_AUX1					0x040A
+#define GL_AUX2					0x040B
+#define GL_AUX3					0x040C
+#define GL_COLOR_INDEX				0x1900
+#define GL_RED					0x1903
+#define GL_GREEN				0x1904
+#define GL_BLUE					0x1905
+#define GL_ALPHA				0x1906
+#define GL_LUMINANCE				0x1909
+#define GL_LUMINANCE_ALPHA			0x190A
+#define GL_ALPHA_BITS				0x0D55
+#define GL_RED_BITS				0x0D52
+#define GL_GREEN_BITS				0x0D53
+#define GL_BLUE_BITS				0x0D54
+#define GL_INDEX_BITS				0x0D51
+#define GL_SUBPIXEL_BITS			0x0D50
+#define GL_AUX_BUFFERS				0x0C00
+#define GL_READ_BUFFER				0x0C02
+#define GL_DRAW_BUFFER				0x0C01
+#define GL_DOUBLEBUFFER				0x0C32
+#define GL_STEREO				0x0C33
+#define GL_BITMAP				0x1A00
+#define GL_COLOR				0x1800
+#define GL_DEPTH				0x1801
+#define GL_STENCIL				0x1802
+#define GL_DITHER				0x0BD0
+#define GL_RGB					0x1907
+#define GL_RGBA					0x1908
+
+/* Implementation limits */
+#define GL_MAX_LIST_NESTING			0x0B31
+#define GL_MAX_EVAL_ORDER			0x0D30
+#define GL_MAX_LIGHTS				0x0D31
+#define GL_MAX_CLIP_PLANES			0x0D32
+#define GL_MAX_TEXTURE_SIZE			0x0D33
+#define GL_MAX_PIXEL_MAP_TABLE			0x0D34
+#define GL_MAX_ATTRIB_STACK_DEPTH		0x0D35
+#define GL_MAX_MODELVIEW_STACK_DEPTH		0x0D36
+#define GL_MAX_NAME_STACK_DEPTH			0x0D37
+#define GL_MAX_PROJECTION_STACK_DEPTH		0x0D38
+#define GL_MAX_TEXTURE_STACK_DEPTH		0x0D39
+#define GL_MAX_VIEWPORT_DIMS			0x0D3A
+#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH	0x0D3B
+
+/* Gets */
+#define GL_ATTRIB_STACK_DEPTH			0x0BB0
+#define GL_CLIENT_ATTRIB_STACK_DEPTH		0x0BB1
+#define GL_COLOR_CLEAR_VALUE			0x0C22
+#define GL_COLOR_WRITEMASK			0x0C23
+#define GL_CURRENT_INDEX			0x0B01
+#define GL_CURRENT_COLOR			0x0B00
+#define GL_CURRENT_NORMAL			0x0B02
+#define GL_CURRENT_RASTER_COLOR			0x0B04
+#define GL_CURRENT_RASTER_DISTANCE		0x0B09
+#define GL_CURRENT_RASTER_INDEX			0x0B05
+#define GL_CURRENT_RASTER_POSITION		0x0B07
+#define GL_CURRENT_RASTER_TEXTURE_COORDS	0x0B06
+#define GL_CURRENT_RASTER_POSITION_VALID	0x0B08
+#define GL_CURRENT_TEXTURE_COORDS		0x0B03
+#define GL_INDEX_CLEAR_VALUE			0x0C20
+#define GL_INDEX_MODE				0x0C30
+#define GL_INDEX_WRITEMASK			0x0C21
+#define GL_MODELVIEW_MATRIX			0x0BA6
+#define GL_MODELVIEW_STACK_DEPTH		0x0BA3
+#define GL_NAME_STACK_DEPTH			0x0D70
+#define GL_PROJECTION_MATRIX			0x0BA7
+#define GL_PROJECTION_STACK_DEPTH		0x0BA4
+#define GL_RENDER_MODE				0x0C40
+#define GL_RGBA_MODE				0x0C31
+#define GL_TEXTURE_MATRIX			0x0BA8
+#define GL_TEXTURE_STACK_DEPTH			0x0BA5
+#define GL_VIEWPORT				0x0BA2
+
+/* Evaluators */
+#define GL_AUTO_NORMAL				0x0D80
+#define GL_MAP1_COLOR_4				0x0D90
+#define GL_MAP1_INDEX				0x0D91
+#define GL_MAP1_NORMAL				0x0D92
+#define GL_MAP1_TEXTURE_COORD_1			0x0D93
+#define GL_MAP1_TEXTURE_COORD_2			0x0D94
+#define GL_MAP1_TEXTURE_COORD_3			0x0D95
+#define GL_MAP1_TEXTURE_COORD_4			0x0D96
+#define GL_MAP1_VERTEX_3			0x0D97
+#define GL_MAP1_VERTEX_4			0x0D98
+#define GL_MAP2_COLOR_4				0x0DB0
+#define GL_MAP2_INDEX				0x0DB1
+#define GL_MAP2_NORMAL				0x0DB2
+#define GL_MAP2_TEXTURE_COORD_1			0x0DB3
+#define GL_MAP2_TEXTURE_COORD_2			0x0DB4
+#define GL_MAP2_TEXTURE_COORD_3			0x0DB5
+#define GL_MAP2_TEXTURE_COORD_4			0x0DB6
+#define GL_MAP2_VERTEX_3			0x0DB7
+#define GL_MAP2_VERTEX_4			0x0DB8
+#define GL_MAP1_GRID_DOMAIN			0x0DD0
+#define GL_MAP1_GRID_SEGMENTS			0x0DD1
+#define GL_MAP2_GRID_DOMAIN			0x0DD2
+#define GL_MAP2_GRID_SEGMENTS			0x0DD3
+#define GL_COEFF				0x0A00
+#define GL_ORDER				0x0A01
+#define GL_DOMAIN				0x0A02
+
+/* Hints */
+#define GL_PERSPECTIVE_CORRECTION_HINT		0x0C50
+#define GL_POINT_SMOOTH_HINT			0x0C51
+#define GL_LINE_SMOOTH_HINT			0x0C52
+#define GL_POLYGON_SMOOTH_HINT			0x0C53
+#define GL_FOG_HINT				0x0C54
+#define GL_DONT_CARE				0x1100
+#define GL_FASTEST				0x1101
+#define GL_NICEST				0x1102
+
+/* Scissor box */
+#define GL_SCISSOR_BOX				0x0C10
+#define GL_SCISSOR_TEST				0x0C11
+
+/* Pixel Mode / Transfer */
+#define GL_MAP_COLOR				0x0D10
+#define GL_MAP_STENCIL				0x0D11
+#define GL_INDEX_SHIFT				0x0D12
+#define GL_INDEX_OFFSET				0x0D13
+#define GL_RED_SCALE				0x0D14
+#define GL_RED_BIAS				0x0D15
+#define GL_GREEN_SCALE				0x0D18
+#define GL_GREEN_BIAS				0x0D19
+#define GL_BLUE_SCALE				0x0D1A
+#define GL_BLUE_BIAS				0x0D1B
+#define GL_ALPHA_SCALE				0x0D1C
+#define GL_ALPHA_BIAS				0x0D1D
+#define GL_DEPTH_SCALE				0x0D1E
+#define GL_DEPTH_BIAS				0x0D1F
+#define GL_PIXEL_MAP_S_TO_S_SIZE		0x0CB1
+#define GL_PIXEL_MAP_I_TO_I_SIZE		0x0CB0
+#define GL_PIXEL_MAP_I_TO_R_SIZE		0x0CB2
+#define GL_PIXEL_MAP_I_TO_G_SIZE		0x0CB3
+#define GL_PIXEL_MAP_I_TO_B_SIZE		0x0CB4
+#define GL_PIXEL_MAP_I_TO_A_SIZE		0x0CB5
+#define GL_PIXEL_MAP_R_TO_R_SIZE		0x0CB6
+#define GL_PIXEL_MAP_G_TO_G_SIZE		0x0CB7
+#define GL_PIXEL_MAP_B_TO_B_SIZE		0x0CB8
+#define GL_PIXEL_MAP_A_TO_A_SIZE		0x0CB9
+#define GL_PIXEL_MAP_S_TO_S			0x0C71
+#define GL_PIXEL_MAP_I_TO_I			0x0C70
+#define GL_PIXEL_MAP_I_TO_R			0x0C72
+#define GL_PIXEL_MAP_I_TO_G			0x0C73
+#define GL_PIXEL_MAP_I_TO_B			0x0C74
+#define GL_PIXEL_MAP_I_TO_A			0x0C75
+#define GL_PIXEL_MAP_R_TO_R			0x0C76
+#define GL_PIXEL_MAP_G_TO_G			0x0C77
+#define GL_PIXEL_MAP_B_TO_B			0x0C78
+#define GL_PIXEL_MAP_A_TO_A			0x0C79
+#define GL_PACK_ALIGNMENT			0x0D05
+#define GL_PACK_LSB_FIRST			0x0D01
+#define GL_PACK_ROW_LENGTH			0x0D02
+#define GL_PACK_SKIP_PIXELS			0x0D04
+#define GL_PACK_SKIP_ROWS			0x0D03
+#define GL_PACK_SWAP_BYTES			0x0D00
+#define GL_UNPACK_ALIGNMENT			0x0CF5
+#define GL_UNPACK_LSB_FIRST			0x0CF1
+#define GL_UNPACK_ROW_LENGTH			0x0CF2
+#define GL_UNPACK_SKIP_PIXELS			0x0CF4
+#define GL_UNPACK_SKIP_ROWS			0x0CF3
+#define GL_UNPACK_SWAP_BYTES			0x0CF0
+#define GL_ZOOM_X				0x0D16
+#define GL_ZOOM_Y				0x0D17
+
+/* Texture mapping */
+#define GL_TEXTURE_ENV				0x2300
+#define GL_TEXTURE_ENV_MODE			0x2200
+#define GL_TEXTURE_1D				0x0DE0
+#define GL_TEXTURE_2D				0x0DE1
+#define GL_TEXTURE_WRAP_S			0x2802
+#define GL_TEXTURE_WRAP_T			0x2803
+#define GL_TEXTURE_MAG_FILTER			0x2800
+#define GL_TEXTURE_MIN_FILTER			0x2801
+#define GL_TEXTURE_ENV_COLOR			0x2201
+#define GL_TEXTURE_GEN_S			0x0C60
+#define GL_TEXTURE_GEN_T			0x0C61
+#define GL_TEXTURE_GEN_R			0x0C62
+#define GL_TEXTURE_GEN_Q			0x0C63
+#define GL_TEXTURE_GEN_MODE			0x2500
+#define GL_TEXTURE_BORDER_COLOR			0x1004
+#define GL_TEXTURE_WIDTH			0x1000
+#define GL_TEXTURE_HEIGHT			0x1001
+#define GL_TEXTURE_BORDER			0x1005
+#define GL_TEXTURE_COMPONENTS			0x1003
+#define GL_TEXTURE_RED_SIZE			0x805C
+#define GL_TEXTURE_GREEN_SIZE			0x805D
+#define GL_TEXTURE_BLUE_SIZE			0x805E
+#define GL_TEXTURE_ALPHA_SIZE			0x805F
+#define GL_TEXTURE_LUMINANCE_SIZE		0x8060
+#define GL_TEXTURE_INTENSITY_SIZE		0x8061
+#define GL_NEAREST_MIPMAP_NEAREST		0x2700
+#define GL_NEAREST_MIPMAP_LINEAR		0x2702
+#define GL_LINEAR_MIPMAP_NEAREST		0x2701
+#define GL_LINEAR_MIPMAP_LINEAR			0x2703
+#define GL_OBJECT_LINEAR			0x2401
+#define GL_OBJECT_PLANE				0x2501
+#define GL_EYE_LINEAR				0x2400
+#define GL_EYE_PLANE				0x2502
+#define GL_SPHERE_MAP				0x2402
+#define GL_DECAL				0x2101
+#define GL_MODULATE				0x2100
+#define GL_NEAREST				0x2600
+#define GL_REPEAT				0x2901
+#define GL_CLAMP				0x2900
+#define GL_S					0x2000
+#define GL_T					0x2001
+#define GL_R					0x2002
+#define GL_Q					0x2003
+
+/* Utility */
+#define GL_VENDOR				0x1F00
+#define GL_RENDERER				0x1F01
+#define GL_VERSION				0x1F02
+#define GL_EXTENSIONS				0x1F03
+
+/* Errors */
+#define GL_NO_ERROR 				0
+#define GL_INVALID_ENUM				0x0500
+#define GL_INVALID_VALUE			0x0501
+#define GL_INVALID_OPERATION			0x0502
+#define GL_STACK_OVERFLOW			0x0503
+#define GL_STACK_UNDERFLOW			0x0504
+#define GL_OUT_OF_MEMORY			0x0505
+
+/* glPush/PopAttrib bits */
+#define GL_CURRENT_BIT				0x00000001
+#define GL_POINT_BIT				0x00000002
+#define GL_LINE_BIT				0x00000004
+#define GL_POLYGON_BIT				0x00000008
+#define GL_POLYGON_STIPPLE_BIT			0x00000010
+#define GL_PIXEL_MODE_BIT			0x00000020
+#define GL_LIGHTING_BIT				0x00000040
+#define GL_FOG_BIT				0x00000080
+#define GL_DEPTH_BUFFER_BIT			0x00000100
+#define GL_ACCUM_BUFFER_BIT			0x00000200
+#define GL_STENCIL_BUFFER_BIT			0x00000400
+#define GL_VIEWPORT_BIT				0x00000800
+#define GL_TRANSFORM_BIT			0x00001000
+#define GL_ENABLE_BIT				0x00002000
+#define GL_COLOR_BUFFER_BIT			0x00004000
+#define GL_HINT_BIT				0x00008000
+#define GL_EVAL_BIT				0x00010000
+#define GL_LIST_BIT				0x00020000
+#define GL_TEXTURE_BIT				0x00040000
+#define GL_SCISSOR_BIT				0x00080000
+#define GL_ALL_ATTRIB_BITS			0x000FFFFF
+
+
+/* OpenGL 1.1 */
+#define GL_PROXY_TEXTURE_1D			0x8063
+#define GL_PROXY_TEXTURE_2D			0x8064
+#define GL_TEXTURE_PRIORITY			0x8066
+#define GL_TEXTURE_RESIDENT			0x8067
+#define GL_TEXTURE_BINDING_1D			0x8068
+#define GL_TEXTURE_BINDING_2D			0x8069
+#define GL_TEXTURE_INTERNAL_FORMAT		0x1003
+#define GL_ALPHA4				0x803B
+#define GL_ALPHA8				0x803C
+#define GL_ALPHA12				0x803D
+#define GL_ALPHA16				0x803E
+#define GL_LUMINANCE4				0x803F
+#define GL_LUMINANCE8				0x8040
+#define GL_LUMINANCE12				0x8041
+#define GL_LUMINANCE16				0x8042
+#define GL_LUMINANCE4_ALPHA4			0x8043
+#define GL_LUMINANCE6_ALPHA2			0x8044
+#define GL_LUMINANCE8_ALPHA8			0x8045
+#define GL_LUMINANCE12_ALPHA4			0x8046
+#define GL_LUMINANCE12_ALPHA12			0x8047
+#define GL_LUMINANCE16_ALPHA16			0x8048
+#define GL_INTENSITY				0x8049
+#define GL_INTENSITY4				0x804A
+#define GL_INTENSITY8				0x804B
+#define GL_INTENSITY12				0x804C
+#define GL_INTENSITY16				0x804D
+#define GL_R3_G3_B2				0x2A10
+#define GL_RGB4					0x804F
+#define GL_RGB5					0x8050
+#define GL_RGB8					0x8051
+#define GL_RGB10				0x8052
+#define GL_RGB12				0x8053
+#define GL_RGB16				0x8054
+#define GL_RGBA2				0x8055
+#define GL_RGBA4				0x8056
+#define GL_RGB5_A1				0x8057
+#define GL_RGBA8				0x8058
+#define GL_RGB10_A2				0x8059
+#define GL_RGBA12				0x805A
+#define GL_RGBA16				0x805B
+#define GL_CLIENT_PIXEL_STORE_BIT		0x00000001
+#define GL_CLIENT_VERTEX_ARRAY_BIT		0x00000002
+#define GL_ALL_CLIENT_ATTRIB_BITS 		0xFFFFFFFF
+#define GL_CLIENT_ALL_ATTRIB_BITS 		0xFFFFFFFF
+
+
+
+/*
+ * Miscellaneous
+ */
+
+GLAPI void GLAPIENTRY glClearIndex( GLfloat c );
+
+GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
+
+GLAPI void GLAPIENTRY glClear( GLbitfield mask );
+
+GLAPI void GLAPIENTRY glIndexMask( GLuint mask );
+
+GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
+
+GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref );
+
+GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor );
+
+GLAPI void GLAPIENTRY glLogicOp( GLenum opcode );
+
+GLAPI void GLAPIENTRY glCullFace( GLenum mode );
+
+GLAPI void GLAPIENTRY glFrontFace( GLenum mode );
+
+GLAPI void GLAPIENTRY glPointSize( GLfloat size );
+
+GLAPI void GLAPIENTRY glLineWidth( GLfloat width );
+
+GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern );
+
+GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode );
+
+GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units );
+
+GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask );
+
+GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask );
+
+GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag );
+
+GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag );
+
+GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
+
+GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation );
+
+GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation );
+
+GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode );
+
+GLAPI void GLAPIENTRY glReadBuffer( GLenum mode );
+
+GLAPI void GLAPIENTRY glEnable( GLenum cap );
+
+GLAPI void GLAPIENTRY glDisable( GLenum cap );
+
+GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap );
+
+
+GLAPI void GLAPIENTRY glEnableClientState( GLenum cap );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glDisableClientState( GLenum cap );  /* 1.1 */
+
+
+GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params );
+
+GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params );
+
+GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask );
+
+GLAPI void GLAPIENTRY glPopAttrib( void );
+
+
+GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glPopClientAttrib( void );  /* 1.1 */
+
+
+GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode );
+
+GLAPI GLenum GLAPIENTRY glGetError( void );
+
+GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name );
+
+GLAPI void GLAPIENTRY glFinish( void );
+
+GLAPI void GLAPIENTRY glFlush( void );
+
+GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode );
+
+
+/*
+ * Depth Buffer
+ */
+
+GLAPI void GLAPIENTRY glClearDepth( GLclampd depth );
+
+GLAPI void GLAPIENTRY glDepthFunc( GLenum func );
+
+GLAPI void GLAPIENTRY glDepthMask( GLboolean flag );
+
+GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val );
+
+
+/*
+ * Accumulation Buffer
+ */
+
+GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
+
+GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value );
+
+
+/*
+ * Transformation
+ */
+
+GLAPI void GLAPIENTRY glMatrixMode( GLenum mode );
+
+GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right,
+                                 GLdouble bottom, GLdouble top,
+                                 GLdouble near_val, GLdouble far_val );
+
+GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right,
+                                   GLdouble bottom, GLdouble top,
+                                   GLdouble near_val, GLdouble far_val );
+
+GLAPI void GLAPIENTRY glViewport( GLint x, GLint y,
+                                    GLsizei width, GLsizei height );
+
+GLAPI void GLAPIENTRY glPushMatrix( void );
+
+GLAPI void GLAPIENTRY glPopMatrix( void );
+
+GLAPI void GLAPIENTRY glLoadIdentity( void );
+
+GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m );
+GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m );
+
+GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m );
+GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m );
+
+GLAPI void GLAPIENTRY glRotated( GLdouble angle,
+                                   GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glRotatef( GLfloat angle,
+                                   GLfloat x, GLfloat y, GLfloat z );
+
+GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z );
+
+GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z );
+
+
+/*
+ * Display Lists
+ */
+
+GLAPI GLboolean GLAPIENTRY glIsList( GLuint list );
+
+GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range );
+
+GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range );
+
+GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode );
+
+GLAPI void GLAPIENTRY glEndList( void );
+
+GLAPI void GLAPIENTRY glCallList( GLuint list );
+
+GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type,
+                                     const GLvoid *lists );
+
+GLAPI void GLAPIENTRY glListBase( GLuint base );
+
+
+/*
+ * Drawing Functions
+ */
+
+GLAPI void GLAPIENTRY glBegin( GLenum mode );
+
+GLAPI void GLAPIENTRY glEnd( void );
+
+
+GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y );
+GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y );
+GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y );
+GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y );
+
+GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z );
+GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z );
+GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z );
+
+GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
+GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
+GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w );
+GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
+
+GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glVertex2iv( const GLint *v );
+GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glVertex3iv( const GLint *v );
+GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glVertex4iv( const GLint *v );
+GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz );
+GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz );
+GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz );
+GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz );
+GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz );
+
+GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v );
+GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glNormal3iv( const GLint *v );
+GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glIndexd( GLdouble c );
+GLAPI void GLAPIENTRY glIndexf( GLfloat c );
+GLAPI void GLAPIENTRY glIndexi( GLint c );
+GLAPI void GLAPIENTRY glIndexs( GLshort c );
+GLAPI void GLAPIENTRY glIndexub( GLubyte c );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c );
+GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c );
+GLAPI void GLAPIENTRY glIndexiv( const GLint *c );
+GLAPI void GLAPIENTRY glIndexsv( const GLshort *c );
+GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue );
+GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue );
+GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue );
+GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue );
+GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue );
+GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue );
+GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue );
+GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue );
+
+GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green,
+                                   GLbyte blue, GLbyte alpha );
+GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green,
+                                   GLdouble blue, GLdouble alpha );
+GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green,
+                                   GLfloat blue, GLfloat alpha );
+GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green,
+                                   GLint blue, GLint alpha );
+GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green,
+                                   GLshort blue, GLshort alpha );
+GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green,
+                                    GLubyte blue, GLubyte alpha );
+GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green,
+                                    GLuint blue, GLuint alpha );
+GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green,
+                                    GLushort blue, GLushort alpha );
+
+
+GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v );
+GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glColor3iv( const GLint *v );
+GLAPI void GLAPIENTRY glColor3sv( const GLshort *v );
+GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v );
+GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v );
+GLAPI void GLAPIENTRY glColor3usv( const GLushort *v );
+
+GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v );
+GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glColor4iv( const GLint *v );
+GLAPI void GLAPIENTRY glColor4sv( const GLshort *v );
+GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v );
+GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v );
+GLAPI void GLAPIENTRY glColor4usv( const GLushort *v );
+
+
+GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s );
+GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s );
+GLAPI void GLAPIENTRY glTexCoord1i( GLint s );
+GLAPI void GLAPIENTRY glTexCoord1s( GLshort s );
+
+GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t );
+GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t );
+GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t );
+GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t );
+
+GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r );
+GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r );
+GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r );
+GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r );
+
+GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
+GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q );
+GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q );
+GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q );
+
+GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y );
+GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y );
+GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y );
+GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y );
+
+GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z );
+GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z );
+GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z );
+
+GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
+GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
+GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w );
+GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w );
+
+GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v );
+GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v );
+GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v );
+GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 );
+GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
+GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 );
+GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 );
+
+
+GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 );
+GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 );
+GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 );
+GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 );
+
+
+/*
+ * Vertex Arrays  (1.1)
+ */
+
+GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type,
+                                       GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride,
+                                       const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type,
+                                      GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride,
+                                      const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type,
+                                         GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params );
+
+GLAPI void GLAPIENTRY glArrayElement( GLint i );
+
+GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count );
+
+GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count,
+                                      GLenum type, const GLvoid *indices );
+
+GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride,
+                                           const GLvoid *pointer );
+
+/*
+ * Lighting
+ */
+
+GLAPI void GLAPIENTRY glShadeModel( GLenum mode );
+
+GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param );
+GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname,
+                                 const GLfloat *params );
+GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname,
+                                 const GLint *params );
+
+GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname,
+                                    GLfloat *params );
+GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname,
+                                    GLint *params );
+
+GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param );
+GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param );
+GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params );
+
+GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode );
+
+
+/*
+ * Raster functions
+ */
+
+GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor );
+
+GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize,
+                                    const GLfloat *values );
+GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize,
+                                     const GLuint *values );
+GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize,
+                                     const GLushort *values );
+
+GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values );
+GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values );
+GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values );
+
+GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height,
+                                GLfloat xorig, GLfloat yorig,
+                                GLfloat xmove, GLfloat ymove,
+                                const GLubyte *bitmap );
+
+GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y,
+                                    GLsizei width, GLsizei height,
+                                    GLenum format, GLenum type,
+                                    GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height,
+                                    GLenum format, GLenum type,
+                                    const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y,
+                                    GLsizei width, GLsizei height,
+                                    GLenum type );
+
+/*
+ * Stenciling
+ */
+
+GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask );
+
+GLAPI void GLAPIENTRY glStencilMask( GLuint mask );
+
+GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass );
+
+GLAPI void GLAPIENTRY glClearStencil( GLint s );
+
+
+
+/*
+ * Texture mapping
+ */
+
+GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param );
+GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params );
+GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
+GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname,
+                                          const GLfloat *params );
+GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname,
+                                          const GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target,
+                                           GLenum pname, GLfloat *params);
+GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target,
+                                           GLenum pname, GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level,
+                                                GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level,
+                                                GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level,
+                                    GLint internalFormat,
+                                    GLsizei width, GLint border,
+                                    GLenum format, GLenum type,
+                                    const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level,
+                                    GLint internalFormat,
+                                    GLsizei width, GLsizei height,
+                                    GLint border, GLenum format, GLenum type,
+                                    const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level,
+                                     GLenum format, GLenum type,
+                                     GLvoid *pixels );
+
+
+/* 1.1 functions */
+
+GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures );
+
+GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
+
+GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture );
+
+GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n,
+                                            const GLuint *textures,
+                                            const GLclampf *priorities );
+
+GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n,
+                                                  const GLuint *textures,
+                                                  GLboolean *residences );
+
+GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture );
+
+
+GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level,
+                                       GLint xoffset,
+                                       GLsizei width, GLenum format,
+                                       GLenum type, const GLvoid *pixels );
+
+
+GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level,
+                                       GLint xoffset, GLint yoffset,
+                                       GLsizei width, GLsizei height,
+                                       GLenum format, GLenum type,
+                                       const GLvoid *pixels );
+
+
+GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level,
+                                        GLenum internalformat,
+                                        GLint x, GLint y,
+                                        GLsizei width, GLint border );
+
+
+GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level,
+                                        GLenum internalformat,
+                                        GLint x, GLint y,
+                                        GLsizei width, GLsizei height,
+                                        GLint border );
+
+
+GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level,
+                                           GLint xoffset, GLint x, GLint y,
+                                           GLsizei width );
+
+
+GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level,
+                                           GLint xoffset, GLint yoffset,
+                                           GLint x, GLint y,
+                                           GLsizei width, GLsizei height );
+
+
+/*
+ * Evaluators
+ */
+
+GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2,
+                               GLint stride,
+                               GLint order, const GLdouble *points );
+GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2,
+                               GLint stride,
+                               GLint order, const GLfloat *points );
+
+GLAPI void GLAPIENTRY glMap2d( GLenum target,
+		     GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
+		     GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
+		     const GLdouble *points );
+GLAPI void GLAPIENTRY glMap2f( GLenum target,
+		     GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
+		     GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
+		     const GLfloat *points );
+
+GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v );
+GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v );
+GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v );
+
+GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u );
+GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u );
+
+GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u );
+GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u );
+
+GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v );
+GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v );
+
+GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u );
+GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u );
+
+GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 );
+GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 );
+
+GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2,
+                                   GLint vn, GLdouble v1, GLdouble v2 );
+GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2,
+                                   GLint vn, GLfloat v1, GLfloat v2 );
+
+GLAPI void GLAPIENTRY glEvalPoint1( GLint i );
+
+GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j );
+
+GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 );
+
+GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
+
+
+/*
+ * Fog
+ */
+
+GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param );
+
+GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params );
+
+GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params );
+
+
+/*
+ * Selection and Feedback
+ */
+
+GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
+
+GLAPI void GLAPIENTRY glPassThrough( GLfloat token );
+
+GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer );
+
+GLAPI void GLAPIENTRY glInitNames( void );
+
+GLAPI void GLAPIENTRY glLoadName( GLuint name );
+
+GLAPI void GLAPIENTRY glPushName( GLuint name );
+
+GLAPI void GLAPIENTRY glPopName( void );
+
+
+
+/*
+ * OpenGL 1.2
+ */
+
+#define GL_RESCALE_NORMAL			0x803A
+#define GL_CLAMP_TO_EDGE			0x812F
+#define GL_MAX_ELEMENTS_VERTICES		0x80E8
+#define GL_MAX_ELEMENTS_INDICES			0x80E9
+#define GL_BGR					0x80E0
+#define GL_BGRA					0x80E1
+#define GL_UNSIGNED_BYTE_3_3_2			0x8032
+#define GL_UNSIGNED_BYTE_2_3_3_REV		0x8362
+#define GL_UNSIGNED_SHORT_5_6_5			0x8363
+#define GL_UNSIGNED_SHORT_5_6_5_REV		0x8364
+#define GL_UNSIGNED_SHORT_4_4_4_4		0x8033
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV		0x8365
+#define GL_UNSIGNED_SHORT_5_5_5_1		0x8034
+#define GL_UNSIGNED_SHORT_1_5_5_5_REV		0x8366
+#define GL_UNSIGNED_INT_8_8_8_8			0x8035
+#define GL_UNSIGNED_INT_8_8_8_8_REV		0x8367
+#define GL_UNSIGNED_INT_10_10_10_2		0x8036
+#define GL_UNSIGNED_INT_2_10_10_10_REV		0x8368
+#define GL_LIGHT_MODEL_COLOR_CONTROL		0x81F8
+#define GL_SINGLE_COLOR				0x81F9
+#define GL_SEPARATE_SPECULAR_COLOR		0x81FA
+#define GL_TEXTURE_MIN_LOD			0x813A
+#define GL_TEXTURE_MAX_LOD			0x813B
+#define GL_TEXTURE_BASE_LEVEL			0x813C
+#define GL_TEXTURE_MAX_LEVEL			0x813D
+#define GL_SMOOTH_POINT_SIZE_RANGE		0x0B12
+#define GL_SMOOTH_POINT_SIZE_GRANULARITY	0x0B13
+#define GL_SMOOTH_LINE_WIDTH_RANGE		0x0B22
+#define GL_SMOOTH_LINE_WIDTH_GRANULARITY	0x0B23
+#define GL_ALIASED_POINT_SIZE_RANGE		0x846D
+#define GL_ALIASED_LINE_WIDTH_RANGE		0x846E
+#define GL_PACK_SKIP_IMAGES			0x806B
+#define GL_PACK_IMAGE_HEIGHT			0x806C
+#define GL_UNPACK_SKIP_IMAGES			0x806D
+#define GL_UNPACK_IMAGE_HEIGHT			0x806E
+#define GL_TEXTURE_3D				0x806F
+#define GL_PROXY_TEXTURE_3D			0x8070
+#define GL_TEXTURE_DEPTH			0x8071
+#define GL_TEXTURE_WRAP_R			0x8072
+#define GL_MAX_3D_TEXTURE_SIZE			0x8073
+#define GL_TEXTURE_BINDING_3D			0x806A
+
+GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start,
+	GLuint end, GLsizei count, GLenum type, const GLvoid *indices );
+
+GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level,
+                                      GLint internalFormat,
+                                      GLsizei width, GLsizei height,
+                                      GLsizei depth, GLint border,
+                                      GLenum format, GLenum type,
+                                      const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level,
+                                         GLint xoffset, GLint yoffset,
+                                         GLint zoffset, GLsizei width,
+                                         GLsizei height, GLsizei depth,
+                                         GLenum format,
+                                         GLenum type, const GLvoid *pixels);
+
+GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level,
+                                             GLint xoffset, GLint yoffset,
+                                             GLint zoffset, GLint x,
+                                             GLint y, GLsizei width,
+                                             GLsizei height );
+
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+
+
+/*
+ * GL_ARB_imaging
+ */
+
+#define GL_CONSTANT_COLOR			0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR		0x8002
+#define GL_CONSTANT_ALPHA			0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA		0x8004
+#define GL_COLOR_TABLE				0x80D0
+#define GL_POST_CONVOLUTION_COLOR_TABLE		0x80D1
+#define GL_POST_COLOR_MATRIX_COLOR_TABLE	0x80D2
+#define GL_PROXY_COLOR_TABLE			0x80D3
+#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE	0x80D4
+#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE	0x80D5
+#define GL_COLOR_TABLE_SCALE			0x80D6
+#define GL_COLOR_TABLE_BIAS			0x80D7
+#define GL_COLOR_TABLE_FORMAT			0x80D8
+#define GL_COLOR_TABLE_WIDTH			0x80D9
+#define GL_COLOR_TABLE_RED_SIZE			0x80DA
+#define GL_COLOR_TABLE_GREEN_SIZE		0x80DB
+#define GL_COLOR_TABLE_BLUE_SIZE		0x80DC
+#define GL_COLOR_TABLE_ALPHA_SIZE		0x80DD
+#define GL_COLOR_TABLE_LUMINANCE_SIZE		0x80DE
+#define GL_COLOR_TABLE_INTENSITY_SIZE		0x80DF
+#define GL_CONVOLUTION_1D			0x8010
+#define GL_CONVOLUTION_2D			0x8011
+#define GL_SEPARABLE_2D				0x8012
+#define GL_CONVOLUTION_BORDER_MODE		0x8013
+#define GL_CONVOLUTION_FILTER_SCALE		0x8014
+#define GL_CONVOLUTION_FILTER_BIAS		0x8015
+#define GL_REDUCE				0x8016
+#define GL_CONVOLUTION_FORMAT			0x8017
+#define GL_CONVOLUTION_WIDTH			0x8018
+#define GL_CONVOLUTION_HEIGHT			0x8019
+#define GL_MAX_CONVOLUTION_WIDTH		0x801A
+#define GL_MAX_CONVOLUTION_HEIGHT		0x801B
+#define GL_POST_CONVOLUTION_RED_SCALE		0x801C
+#define GL_POST_CONVOLUTION_GREEN_SCALE		0x801D
+#define GL_POST_CONVOLUTION_BLUE_SCALE		0x801E
+#define GL_POST_CONVOLUTION_ALPHA_SCALE		0x801F
+#define GL_POST_CONVOLUTION_RED_BIAS		0x8020
+#define GL_POST_CONVOLUTION_GREEN_BIAS		0x8021
+#define GL_POST_CONVOLUTION_BLUE_BIAS		0x8022
+#define GL_POST_CONVOLUTION_ALPHA_BIAS		0x8023
+#define GL_CONSTANT_BORDER			0x8151
+#define GL_REPLICATE_BORDER			0x8153
+#define GL_CONVOLUTION_BORDER_COLOR		0x8154
+#define GL_COLOR_MATRIX				0x80B1
+#define GL_COLOR_MATRIX_STACK_DEPTH		0x80B2
+#define GL_MAX_COLOR_MATRIX_STACK_DEPTH		0x80B3
+#define GL_POST_COLOR_MATRIX_RED_SCALE		0x80B4
+#define GL_POST_COLOR_MATRIX_GREEN_SCALE	0x80B5
+#define GL_POST_COLOR_MATRIX_BLUE_SCALE		0x80B6
+#define GL_POST_COLOR_MATRIX_ALPHA_SCALE	0x80B7
+#define GL_POST_COLOR_MATRIX_RED_BIAS		0x80B8
+#define GL_POST_COLOR_MATRIX_GREEN_BIAS		0x80B9
+#define GL_POST_COLOR_MATRIX_BLUE_BIAS		0x80BA
+#define GL_POST_COLOR_MATRIX_ALPHA_BIAS		0x80BB
+#define GL_HISTOGRAM				0x8024
+#define GL_PROXY_HISTOGRAM			0x8025
+#define GL_HISTOGRAM_WIDTH			0x8026
+#define GL_HISTOGRAM_FORMAT			0x8027
+#define GL_HISTOGRAM_RED_SIZE			0x8028
+#define GL_HISTOGRAM_GREEN_SIZE			0x8029
+#define GL_HISTOGRAM_BLUE_SIZE			0x802A
+#define GL_HISTOGRAM_ALPHA_SIZE			0x802B
+#define GL_HISTOGRAM_LUMINANCE_SIZE		0x802C
+#define GL_HISTOGRAM_SINK			0x802D
+#define GL_MINMAX				0x802E
+#define GL_MINMAX_FORMAT			0x802F
+#define GL_MINMAX_SINK				0x8030
+#define GL_TABLE_TOO_LARGE			0x8031
+#define GL_BLEND_EQUATION			0x8009
+#define GL_MIN					0x8007
+#define GL_MAX					0x8008
+#define GL_FUNC_ADD				0x8006
+#define GL_FUNC_SUBTRACT			0x800A
+#define GL_FUNC_REVERSE_SUBTRACT		0x800B
+#define GL_BLEND_COLOR				0x8005
+
+
+GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat,
+                                    GLsizei width, GLenum format,
+                                    GLenum type, const GLvoid *table );
+
+GLAPI void GLAPIENTRY glColorSubTable( GLenum target,
+                                       GLsizei start, GLsizei count,
+                                       GLenum format, GLenum type,
+                                       const GLvoid *data );
+
+GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname,
+                                              const GLint *params);
+
+GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname,
+                                              const GLfloat *params);
+
+GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start,
+                                           GLint x, GLint y, GLsizei width );
+
+GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat,
+                                        GLint x, GLint y, GLsizei width );
+
+GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format,
+                                       GLenum type, GLvoid *table );
+
+GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname,
+                                                  GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname,
+                                                  GLint *params );
+
+GLAPI void GLAPIENTRY glBlendEquation( GLenum mode );
+
+GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green,
+                                    GLclampf blue, GLclampf alpha );
+
+GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width,
+				   GLenum internalformat, GLboolean sink );
+
+GLAPI void GLAPIENTRY glResetHistogram( GLenum target );
+
+GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset,
+				      GLenum format, GLenum type,
+				      GLvoid *values );
+
+GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname,
+						 GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname,
+						 GLint *params );
+
+GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat,
+				GLboolean sink );
+
+GLAPI void GLAPIENTRY glResetMinmax( GLenum target );
+
+GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset,
+                                   GLenum format, GLenum types,
+                                   GLvoid *values );
+
+GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname,
+					      GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname,
+					      GLint *params );
+
+GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target,
+	GLenum internalformat, GLsizei width, GLenum format, GLenum type,
+	const GLvoid *image );
+
+GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target,
+	GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
+	GLenum type, const GLvoid *image );
+
+GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname,
+	GLfloat params );
+
+GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname,
+	const GLfloat *params );
+
+GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname,
+	GLint params );
+
+GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname,
+	const GLint *params );
+
+GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target,
+	GLenum internalformat, GLint x, GLint y, GLsizei width );
+
+GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target,
+	GLenum internalformat, GLint x, GLint y, GLsizei width,
+	GLsizei height);
+
+GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format,
+	GLenum type, GLvoid *image );
+
+GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname,
+	GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname,
+	GLint *params );
+
+GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target,
+	GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
+	GLenum type, const GLvoid *row, const GLvoid *column );
+
+GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format,
+	GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
+
+
+
+
+/*
+ * OpenGL 1.3
+ */
+
+/* multitexture */
+#define GL_TEXTURE0				0x84C0
+#define GL_TEXTURE1				0x84C1
+#define GL_TEXTURE2				0x84C2
+#define GL_TEXTURE3				0x84C3
+#define GL_TEXTURE4				0x84C4
+#define GL_TEXTURE5				0x84C5
+#define GL_TEXTURE6				0x84C6
+#define GL_TEXTURE7				0x84C7
+#define GL_TEXTURE8				0x84C8
+#define GL_TEXTURE9				0x84C9
+#define GL_TEXTURE10				0x84CA
+#define GL_TEXTURE11				0x84CB
+#define GL_TEXTURE12				0x84CC
+#define GL_TEXTURE13				0x84CD
+#define GL_TEXTURE14				0x84CE
+#define GL_TEXTURE15				0x84CF
+#define GL_TEXTURE16				0x84D0
+#define GL_TEXTURE17				0x84D1
+#define GL_TEXTURE18				0x84D2
+#define GL_TEXTURE19				0x84D3
+#define GL_TEXTURE20				0x84D4
+#define GL_TEXTURE21				0x84D5
+#define GL_TEXTURE22				0x84D6
+#define GL_TEXTURE23				0x84D7
+#define GL_TEXTURE24				0x84D8
+#define GL_TEXTURE25				0x84D9
+#define GL_TEXTURE26				0x84DA
+#define GL_TEXTURE27				0x84DB
+#define GL_TEXTURE28				0x84DC
+#define GL_TEXTURE29				0x84DD
+#define GL_TEXTURE30				0x84DE
+#define GL_TEXTURE31				0x84DF
+#define GL_ACTIVE_TEXTURE			0x84E0
+#define GL_CLIENT_ACTIVE_TEXTURE		0x84E1
+#define GL_MAX_TEXTURE_UNITS			0x84E2
+/* texture_cube_map */
+#define GL_NORMAL_MAP				0x8511
+#define GL_REFLECTION_MAP			0x8512
+#define GL_TEXTURE_CUBE_MAP			0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP		0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X		0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X		0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y		0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y		0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z		0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z		0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP		0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE		0x851C
+/* texture_compression */
+#define GL_COMPRESSED_ALPHA			0x84E9
+#define GL_COMPRESSED_LUMINANCE			0x84EA
+#define GL_COMPRESSED_LUMINANCE_ALPHA		0x84EB
+#define GL_COMPRESSED_INTENSITY			0x84EC
+#define GL_COMPRESSED_RGB			0x84ED
+#define GL_COMPRESSED_RGBA			0x84EE
+#define GL_TEXTURE_COMPRESSION_HINT		0x84EF
+#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE	0x86A0
+#define GL_TEXTURE_COMPRESSED			0x86A1
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS	0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS		0x86A3
+/* multisample */
+#define GL_MULTISAMPLE				0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE		0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE			0x809F
+#define GL_SAMPLE_COVERAGE			0x80A0
+#define GL_SAMPLE_BUFFERS			0x80A8
+#define GL_SAMPLES				0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE		0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT		0x80AB
+#define GL_MULTISAMPLE_BIT			0x20000000
+/* transpose_matrix */
+#define GL_TRANSPOSE_MODELVIEW_MATRIX		0x84E3
+#define GL_TRANSPOSE_PROJECTION_MATRIX		0x84E4
+#define GL_TRANSPOSE_TEXTURE_MATRIX		0x84E5
+#define GL_TRANSPOSE_COLOR_MATRIX		0x84E6
+/* texture_env_combine */
+#define GL_COMBINE				0x8570
+#define GL_COMBINE_RGB				0x8571
+#define GL_COMBINE_ALPHA			0x8572
+#define GL_SOURCE0_RGB				0x8580
+#define GL_SOURCE1_RGB				0x8581
+#define GL_SOURCE2_RGB				0x8582
+#define GL_SOURCE0_ALPHA			0x8588
+#define GL_SOURCE1_ALPHA			0x8589
+#define GL_SOURCE2_ALPHA			0x858A
+#define GL_OPERAND0_RGB				0x8590
+#define GL_OPERAND1_RGB				0x8591
+#define GL_OPERAND2_RGB				0x8592
+#define GL_OPERAND0_ALPHA			0x8598
+#define GL_OPERAND1_ALPHA			0x8599
+#define GL_OPERAND2_ALPHA			0x859A
+#define GL_RGB_SCALE				0x8573
+#define GL_ADD_SIGNED				0x8574
+#define GL_INTERPOLATE				0x8575
+#define GL_SUBTRACT				0x84E7
+#define GL_CONSTANT				0x8576
+#define GL_PRIMARY_COLOR			0x8577
+#define GL_PREVIOUS				0x8578
+/* texture_env_dot3 */
+#define GL_DOT3_RGB				0x86AE
+#define GL_DOT3_RGBA				0x86AF
+/* texture_border_clamp */
+#define GL_CLAMP_TO_BORDER			0x812D
+
+GLAPI void GLAPIENTRY glActiveTexture( GLenum texture );
+
+GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
+
+GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] );
+
+GLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] );
+
+GLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] );
+
+GLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] );
+
+GLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert );
+
+
+typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
+
+
+
+/*
+ * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1)
+ */
+#ifndef GL_ARB_multitexture
+#define GL_ARB_multitexture 1
+
+#define GL_TEXTURE0_ARB				0x84C0
+#define GL_TEXTURE1_ARB				0x84C1
+#define GL_TEXTURE2_ARB				0x84C2
+#define GL_TEXTURE3_ARB				0x84C3
+#define GL_TEXTURE4_ARB				0x84C4
+#define GL_TEXTURE5_ARB				0x84C5
+#define GL_TEXTURE6_ARB				0x84C6
+#define GL_TEXTURE7_ARB				0x84C7
+#define GL_TEXTURE8_ARB				0x84C8
+#define GL_TEXTURE9_ARB				0x84C9
+#define GL_TEXTURE10_ARB			0x84CA
+#define GL_TEXTURE11_ARB			0x84CB
+#define GL_TEXTURE12_ARB			0x84CC
+#define GL_TEXTURE13_ARB			0x84CD
+#define GL_TEXTURE14_ARB			0x84CE
+#define GL_TEXTURE15_ARB			0x84CF
+#define GL_TEXTURE16_ARB			0x84D0
+#define GL_TEXTURE17_ARB			0x84D1
+#define GL_TEXTURE18_ARB			0x84D2
+#define GL_TEXTURE19_ARB			0x84D3
+#define GL_TEXTURE20_ARB			0x84D4
+#define GL_TEXTURE21_ARB			0x84D5
+#define GL_TEXTURE22_ARB			0x84D6
+#define GL_TEXTURE23_ARB			0x84D7
+#define GL_TEXTURE24_ARB			0x84D8
+#define GL_TEXTURE25_ARB			0x84D9
+#define GL_TEXTURE26_ARB			0x84DA
+#define GL_TEXTURE27_ARB			0x84DB
+#define GL_TEXTURE28_ARB			0x84DC
+#define GL_TEXTURE29_ARB			0x84DD
+#define GL_TEXTURE30_ARB			0x84DE
+#define GL_TEXTURE31_ARB			0x84DF
+#define GL_ACTIVE_TEXTURE_ARB			0x84E0
+#define GL_CLIENT_ACTIVE_TEXTURE_ARB		0x84E1
+#define GL_MAX_TEXTURE_UNITS_ARB		0x84E2
+
+GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture);
+GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture);
+GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s);
+GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s);
+GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s);
+GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s);
+GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
+GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
+GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
+GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
+GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
+GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
+GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
+GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
+GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
+GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v);
+
+typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
+
+#endif /* GL_ARB_multitexture */
+
+
+
+/*
+ * Define this token if you want "old-style" header file behaviour (extensions
+ * defined in gl.h).  Otherwise, extensions will be included from glext.h.
+ */
+#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
+#include "SDL_opengl_glext.h"
+#endif  /* GL_GLEXT_LEGACY */
+
+
+
+/*
+ * ???. GL_MESA_packed_depth_stencil
+ * XXX obsolete
+ */
+#ifndef GL_MESA_packed_depth_stencil
+#define GL_MESA_packed_depth_stencil 1
+
+#define GL_DEPTH_STENCIL_MESA			0x8750
+#define GL_UNSIGNED_INT_24_8_MESA		0x8751
+#define GL_UNSIGNED_INT_8_24_REV_MESA		0x8752
+#define GL_UNSIGNED_SHORT_15_1_MESA		0x8753
+#define GL_UNSIGNED_SHORT_1_15_REV_MESA		0x8754
+
+#endif /* GL_MESA_packed_depth_stencil */
+
+
+#ifndef GL_ATI_blend_equation_separate
+#define GL_ATI_blend_equation_separate 1
+
+#define GL_ALPHA_BLEND_EQUATION_ATI	        0x883D
+
+GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA );
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA);
+
+#endif /* GL_ATI_blend_equation_separate */
+
+
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+typedef void* GLeglImageOES;
+#endif
+
+#ifndef GL_OES_EGL_image
+#define GL_OES_EGL_image 1
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
+GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
+#endif
+typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
+typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
+#endif
+
+
+/**
+ ** NOTE!!!!!  If you add new functions to this file, or update
+ ** glext.h be sure to regenerate the gl_mangle.h file.  See comments
+ ** in that file for details.
+ **/
+
+
+
+/**********************************************************************
+ * Begin system-specific stuff
+ */
+#if defined(PRAGMA_EXPORT_SUPPORTED)
+#pragma export off
+#endif
+
+/*
+ * End system-specific stuff
+ **********************************************************************/
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gl_h_ */
+
+#endif /* !__IPHONEOS__ */
+
+#endif /* SDL_opengl_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h
@@ -1,0 +1,11177 @@
+#ifndef __glext_h_
+#define __glext_h_ 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+** Copyright (c) 2013-2014 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.
+*/
+/*
+** This header is generated from the Khronos OpenGL / OpenGL ES XML
+** API Registry. The current version of the Registry, generator scripts
+** used to make the header, and the header can be found at
+**   http://www.opengl.org/registry/
+**
+** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
+*/
+
+#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN 1
+#endif
+#include <windows.h>
+#endif
+
+#ifndef APIENTRY
+#define APIENTRY
+#endif
+#ifndef APIENTRYP
+#define APIENTRYP APIENTRY *
+#endif
+#ifndef GLAPI
+#define GLAPI extern
+#endif
+
+#define GL_GLEXT_VERSION 20140521
+
+/* Generated C header for:
+ * API: gl
+ * Profile: compatibility
+ * Versions considered: .*
+ * Versions emitted: 1\.[2-9]|[234]\.[0-9]
+ * Default extensions included: gl
+ * Additional extensions included: _nomatch_^
+ * Extensions removed: _nomatch_^
+ */
+
+#ifndef GL_VERSION_1_2
+#define GL_VERSION_1_2 1
+#define GL_UNSIGNED_BYTE_3_3_2            0x8032
+#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
+#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
+#define GL_UNSIGNED_INT_8_8_8_8           0x8035
+#define GL_UNSIGNED_INT_10_10_10_2        0x8036
+#define GL_TEXTURE_BINDING_3D             0x806A
+#define GL_PACK_SKIP_IMAGES               0x806B
+#define GL_PACK_IMAGE_HEIGHT              0x806C
+#define GL_UNPACK_SKIP_IMAGES             0x806D
+#define GL_UNPACK_IMAGE_HEIGHT            0x806E
+#define GL_TEXTURE_3D                     0x806F
+#define GL_PROXY_TEXTURE_3D               0x8070
+#define GL_TEXTURE_DEPTH                  0x8071
+#define GL_TEXTURE_WRAP_R                 0x8072
+#define GL_MAX_3D_TEXTURE_SIZE            0x8073
+#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
+#define GL_UNSIGNED_SHORT_5_6_5           0x8363
+#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
+#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
+#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
+#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
+#define GL_BGR                            0x80E0
+#define GL_BGRA                           0x80E1
+#define GL_MAX_ELEMENTS_VERTICES          0x80E8
+#define GL_MAX_ELEMENTS_INDICES           0x80E9
+#define GL_CLAMP_TO_EDGE                  0x812F
+#define GL_TEXTURE_MIN_LOD                0x813A
+#define GL_TEXTURE_MAX_LOD                0x813B
+#define GL_TEXTURE_BASE_LEVEL             0x813C
+#define GL_TEXTURE_MAX_LEVEL              0x813D
+#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
+#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
+#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
+#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
+#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
+#define GL_RESCALE_NORMAL                 0x803A
+#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
+#define GL_SINGLE_COLOR                   0x81F9
+#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
+#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_VERSION_1_2 */
+
+#ifndef GL_VERSION_1_3
+#define GL_VERSION_1_3 1
+#define GL_TEXTURE0                       0x84C0
+#define GL_TEXTURE1                       0x84C1
+#define GL_TEXTURE2                       0x84C2
+#define GL_TEXTURE3                       0x84C3
+#define GL_TEXTURE4                       0x84C4
+#define GL_TEXTURE5                       0x84C5
+#define GL_TEXTURE6                       0x84C6
+#define GL_TEXTURE7                       0x84C7
+#define GL_TEXTURE8                       0x84C8
+#define GL_TEXTURE9                       0x84C9
+#define GL_TEXTURE10                      0x84CA
+#define GL_TEXTURE11                      0x84CB
+#define GL_TEXTURE12                      0x84CC
+#define GL_TEXTURE13                      0x84CD
+#define GL_TEXTURE14                      0x84CE
+#define GL_TEXTURE15                      0x84CF
+#define GL_TEXTURE16                      0x84D0
+#define GL_TEXTURE17                      0x84D1
+#define GL_TEXTURE18                      0x84D2
+#define GL_TEXTURE19                      0x84D3
+#define GL_TEXTURE20                      0x84D4
+#define GL_TEXTURE21                      0x84D5
+#define GL_TEXTURE22                      0x84D6
+#define GL_TEXTURE23                      0x84D7
+#define GL_TEXTURE24                      0x84D8
+#define GL_TEXTURE25                      0x84D9
+#define GL_TEXTURE26                      0x84DA
+#define GL_TEXTURE27                      0x84DB
+#define GL_TEXTURE28                      0x84DC
+#define GL_TEXTURE29                      0x84DD
+#define GL_TEXTURE30                      0x84DE
+#define GL_TEXTURE31                      0x84DF
+#define GL_ACTIVE_TEXTURE                 0x84E0
+#define GL_MULTISAMPLE                    0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
+#define GL_SAMPLE_COVERAGE                0x80A0
+#define GL_SAMPLE_BUFFERS                 0x80A8
+#define GL_SAMPLES                        0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
+#define GL_TEXTURE_CUBE_MAP               0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
+#define GL_COMPRESSED_RGB                 0x84ED
+#define GL_COMPRESSED_RGBA                0x84EE
+#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
+#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
+#define GL_TEXTURE_COMPRESSED             0x86A1
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
+#define GL_CLAMP_TO_BORDER                0x812D
+#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
+#define GL_MAX_TEXTURE_UNITS              0x84E2
+#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
+#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
+#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
+#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
+#define GL_MULTISAMPLE_BIT                0x20000000
+#define GL_NORMAL_MAP                     0x8511
+#define GL_REFLECTION_MAP                 0x8512
+#define GL_COMPRESSED_ALPHA               0x84E9
+#define GL_COMPRESSED_LUMINANCE           0x84EA
+#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
+#define GL_COMPRESSED_INTENSITY           0x84EC
+#define GL_COMBINE                        0x8570
+#define GL_COMBINE_RGB                    0x8571
+#define GL_COMBINE_ALPHA                  0x8572
+#define GL_SOURCE0_RGB                    0x8580
+#define GL_SOURCE1_RGB                    0x8581
+#define GL_SOURCE2_RGB                    0x8582
+#define GL_SOURCE0_ALPHA                  0x8588
+#define GL_SOURCE1_ALPHA                  0x8589
+#define GL_SOURCE2_ALPHA                  0x858A
+#define GL_OPERAND0_RGB                   0x8590
+#define GL_OPERAND1_RGB                   0x8591
+#define GL_OPERAND2_RGB                   0x8592
+#define GL_OPERAND0_ALPHA                 0x8598
+#define GL_OPERAND1_ALPHA                 0x8599
+#define GL_OPERAND2_ALPHA                 0x859A
+#define GL_RGB_SCALE                      0x8573
+#define GL_ADD_SIGNED                     0x8574
+#define GL_INTERPOLATE                    0x8575
+#define GL_SUBTRACT                       0x84E7
+#define GL_CONSTANT                       0x8576
+#define GL_PRIMARY_COLOR                  0x8577
+#define GL_PREVIOUS                       0x8578
+#define GL_DOT3_RGB                       0x86AE
+#define GL_DOT3_RGBA                      0x86AF
+typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
+typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glActiveTexture (GLenum texture);
+GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
+GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
+GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
+GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
+GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
+GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
+GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
+GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
+GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
+GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
+GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
+GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
+GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
+GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
+GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
+GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
+GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
+GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
+#endif
+#endif /* GL_VERSION_1_3 */
+
+#ifndef GL_VERSION_1_4
+#define GL_VERSION_1_4 1
+#define GL_BLEND_DST_RGB                  0x80C8
+#define GL_BLEND_SRC_RGB                  0x80C9
+#define GL_BLEND_DST_ALPHA                0x80CA
+#define GL_BLEND_SRC_ALPHA                0x80CB
+#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
+#define GL_DEPTH_COMPONENT16              0x81A5
+#define GL_DEPTH_COMPONENT24              0x81A6
+#define GL_DEPTH_COMPONENT32              0x81A7
+#define GL_MIRRORED_REPEAT                0x8370
+#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
+#define GL_TEXTURE_LOD_BIAS               0x8501
+#define GL_INCR_WRAP                      0x8507
+#define GL_DECR_WRAP                      0x8508
+#define GL_TEXTURE_DEPTH_SIZE             0x884A
+#define GL_TEXTURE_COMPARE_MODE           0x884C
+#define GL_TEXTURE_COMPARE_FUNC           0x884D
+#define GL_POINT_SIZE_MIN                 0x8126
+#define GL_POINT_SIZE_MAX                 0x8127
+#define GL_POINT_DISTANCE_ATTENUATION     0x8129
+#define GL_GENERATE_MIPMAP                0x8191
+#define GL_GENERATE_MIPMAP_HINT           0x8192
+#define GL_FOG_COORDINATE_SOURCE          0x8450
+#define GL_FOG_COORDINATE                 0x8451
+#define GL_FRAGMENT_DEPTH                 0x8452
+#define GL_CURRENT_FOG_COORDINATE         0x8453
+#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
+#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
+#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
+#define GL_FOG_COORDINATE_ARRAY           0x8457
+#define GL_COLOR_SUM                      0x8458
+#define GL_CURRENT_SECONDARY_COLOR        0x8459
+#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
+#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
+#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
+#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
+#define GL_SECONDARY_COLOR_ARRAY          0x845E
+#define GL_TEXTURE_FILTER_CONTROL         0x8500
+#define GL_DEPTH_TEXTURE_MODE             0x884B
+#define GL_COMPARE_R_TO_TEXTURE           0x884E
+#define GL_FUNC_ADD                       0x8006
+#define GL_FUNC_SUBTRACT                  0x800A
+#define GL_FUNC_REVERSE_SUBTRACT          0x800B
+#define GL_MIN                            0x8007
+#define GL_MAX                            0x8008
+#define GL_CONSTANT_COLOR                 0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
+#define GL_CONSTANT_ALPHA                 0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
+typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
+GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
+GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
+GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glFogCoordf (GLfloat coord);
+GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
+GLAPI void APIENTRY glFogCoordd (GLdouble coord);
+GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
+GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
+GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
+GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
+GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
+GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
+GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
+GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
+GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
+GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
+GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
+GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
+GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
+GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
+GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
+GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
+GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
+GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
+GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
+GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
+GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
+GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
+GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
+GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
+GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
+GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+GLAPI void APIENTRY glBlendEquation (GLenum mode);
+#endif
+#endif /* GL_VERSION_1_4 */
+
+#ifndef GL_VERSION_1_5
+#define GL_VERSION_1_5 1
+#include <stddef.h>
+#ifdef __MACOSX__
+typedef long GLsizeiptr;
+typedef long GLintptr;
+#else
+typedef ptrdiff_t GLsizeiptr;
+typedef ptrdiff_t GLintptr;
+#endif
+#define GL_BUFFER_SIZE                    0x8764
+#define GL_BUFFER_USAGE                   0x8765
+#define GL_QUERY_COUNTER_BITS             0x8864
+#define GL_CURRENT_QUERY                  0x8865
+#define GL_QUERY_RESULT                   0x8866
+#define GL_QUERY_RESULT_AVAILABLE         0x8867
+#define GL_ARRAY_BUFFER                   0x8892
+#define GL_ELEMENT_ARRAY_BUFFER           0x8893
+#define GL_ARRAY_BUFFER_BINDING           0x8894
+#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
+#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
+#define GL_READ_ONLY                      0x88B8
+#define GL_WRITE_ONLY                     0x88B9
+#define GL_READ_WRITE                     0x88BA
+#define GL_BUFFER_ACCESS                  0x88BB
+#define GL_BUFFER_MAPPED                  0x88BC
+#define GL_BUFFER_MAP_POINTER             0x88BD
+#define GL_STREAM_DRAW                    0x88E0
+#define GL_STREAM_READ                    0x88E1
+#define GL_STREAM_COPY                    0x88E2
+#define GL_STATIC_DRAW                    0x88E4
+#define GL_STATIC_READ                    0x88E5
+#define GL_STATIC_COPY                    0x88E6
+#define GL_DYNAMIC_DRAW                   0x88E8
+#define GL_DYNAMIC_READ                   0x88E9
+#define GL_DYNAMIC_COPY                   0x88EA
+#define GL_SAMPLES_PASSED                 0x8914
+#define GL_SRC1_ALPHA                     0x8589
+#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
+#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
+#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
+#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
+#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
+#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
+#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
+#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
+#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
+#define GL_FOG_COORD_SRC                  0x8450
+#define GL_FOG_COORD                      0x8451
+#define GL_CURRENT_FOG_COORD              0x8453
+#define GL_FOG_COORD_ARRAY_TYPE           0x8454
+#define GL_FOG_COORD_ARRAY_STRIDE         0x8455
+#define GL_FOG_COORD_ARRAY_POINTER        0x8456
+#define GL_FOG_COORD_ARRAY                0x8457
+#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
+#define GL_SRC0_RGB                       0x8580
+#define GL_SRC1_RGB                       0x8581
+#define GL_SRC2_RGB                       0x8582
+#define GL_SRC0_ALPHA                     0x8588
+#define GL_SRC2_ALPHA                     0x858A
+typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
+typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
+typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
+typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
+typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
+typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
+typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
+typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
+typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
+GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
+GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
+GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
+GLAPI void APIENTRY glEndQuery (GLenum target);
+GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
+GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
+GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
+GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
+GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
+GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
+GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
+GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
+GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
+GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
+#endif
+#endif /* GL_VERSION_1_5 */
+
+#ifndef GL_VERSION_2_0
+#define GL_VERSION_2_0 1
+typedef char GLchar;
+#define GL_BLEND_EQUATION_RGB             0x8009
+#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
+#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
+#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
+#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
+#define GL_CURRENT_VERTEX_ATTRIB          0x8626
+#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
+#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
+#define GL_STENCIL_BACK_FUNC              0x8800
+#define GL_STENCIL_BACK_FAIL              0x8801
+#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
+#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
+#define GL_MAX_DRAW_BUFFERS               0x8824
+#define GL_DRAW_BUFFER0                   0x8825
+#define GL_DRAW_BUFFER1                   0x8826
+#define GL_DRAW_BUFFER2                   0x8827
+#define GL_DRAW_BUFFER3                   0x8828
+#define GL_DRAW_BUFFER4                   0x8829
+#define GL_DRAW_BUFFER5                   0x882A
+#define GL_DRAW_BUFFER6                   0x882B
+#define GL_DRAW_BUFFER7                   0x882C
+#define GL_DRAW_BUFFER8                   0x882D
+#define GL_DRAW_BUFFER9                   0x882E
+#define GL_DRAW_BUFFER10                  0x882F
+#define GL_DRAW_BUFFER11                  0x8830
+#define GL_DRAW_BUFFER12                  0x8831
+#define GL_DRAW_BUFFER13                  0x8832
+#define GL_DRAW_BUFFER14                  0x8833
+#define GL_DRAW_BUFFER15                  0x8834
+#define GL_BLEND_EQUATION_ALPHA           0x883D
+#define GL_MAX_VERTEX_ATTRIBS             0x8869
+#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
+#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
+#define GL_FRAGMENT_SHADER                0x8B30
+#define GL_VERTEX_SHADER                  0x8B31
+#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
+#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
+#define GL_MAX_VARYING_FLOATS             0x8B4B
+#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
+#define GL_SHADER_TYPE                    0x8B4F
+#define GL_FLOAT_VEC2                     0x8B50
+#define GL_FLOAT_VEC3                     0x8B51
+#define GL_FLOAT_VEC4                     0x8B52
+#define GL_INT_VEC2                       0x8B53
+#define GL_INT_VEC3                       0x8B54
+#define GL_INT_VEC4                       0x8B55
+#define GL_BOOL                           0x8B56
+#define GL_BOOL_VEC2                      0x8B57
+#define GL_BOOL_VEC3                      0x8B58
+#define GL_BOOL_VEC4                      0x8B59
+#define GL_FLOAT_MAT2                     0x8B5A
+#define GL_FLOAT_MAT3                     0x8B5B
+#define GL_FLOAT_MAT4                     0x8B5C
+#define GL_SAMPLER_1D                     0x8B5D
+#define GL_SAMPLER_2D                     0x8B5E
+#define GL_SAMPLER_3D                     0x8B5F
+#define GL_SAMPLER_CUBE                   0x8B60
+#define GL_SAMPLER_1D_SHADOW              0x8B61
+#define GL_SAMPLER_2D_SHADOW              0x8B62
+#define GL_DELETE_STATUS                  0x8B80
+#define GL_COMPILE_STATUS                 0x8B81
+#define GL_LINK_STATUS                    0x8B82
+#define GL_VALIDATE_STATUS                0x8B83
+#define GL_INFO_LOG_LENGTH                0x8B84
+#define GL_ATTACHED_SHADERS               0x8B85
+#define GL_ACTIVE_UNIFORMS                0x8B86
+#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
+#define GL_SHADER_SOURCE_LENGTH           0x8B88
+#define GL_ACTIVE_ATTRIBUTES              0x8B89
+#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
+#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
+#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
+#define GL_CURRENT_PROGRAM                0x8B8D
+#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
+#define GL_LOWER_LEFT                     0x8CA1
+#define GL_UPPER_LEFT                     0x8CA2
+#define GL_STENCIL_BACK_REF               0x8CA3
+#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
+#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
+#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
+#define GL_POINT_SPRITE                   0x8861
+#define GL_COORD_REPLACE                  0x8862
+#define GL_MAX_TEXTURE_COORDS             0x8871
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
+typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
+typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
+typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
+typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
+typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
+typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
+typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
+typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
+typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
+typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
+typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
+typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
+typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
+typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
+GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
+GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
+GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
+GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
+GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
+GLAPI void APIENTRY glCompileShader (GLuint shader);
+GLAPI GLuint APIENTRY glCreateProgram (void);
+GLAPI GLuint APIENTRY glCreateShader (GLenum type);
+GLAPI void APIENTRY glDeleteProgram (GLuint program);
+GLAPI void APIENTRY glDeleteShader (GLuint shader);
+GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
+GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
+GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
+GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
+GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
+GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
+GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
+GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
+GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
+GLAPI void APIENTRY glLinkProgram (GLuint program);
+GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
+GLAPI void APIENTRY glUseProgram (GLuint program);
+GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
+GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
+GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glValidateProgram (GLuint program);
+GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
+GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
+GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_VERSION_2_0 */
+
+#ifndef GL_VERSION_2_1
+#define GL_VERSION_2_1 1
+#define GL_PIXEL_PACK_BUFFER              0x88EB
+#define GL_PIXEL_UNPACK_BUFFER            0x88EC
+#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
+#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
+#define GL_FLOAT_MAT2x3                   0x8B65
+#define GL_FLOAT_MAT2x4                   0x8B66
+#define GL_FLOAT_MAT3x2                   0x8B67
+#define GL_FLOAT_MAT3x4                   0x8B68
+#define GL_FLOAT_MAT4x2                   0x8B69
+#define GL_FLOAT_MAT4x3                   0x8B6A
+#define GL_SRGB                           0x8C40
+#define GL_SRGB8                          0x8C41
+#define GL_SRGB_ALPHA                     0x8C42
+#define GL_SRGB8_ALPHA8                   0x8C43
+#define GL_COMPRESSED_SRGB                0x8C48
+#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
+#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
+#define GL_SLUMINANCE_ALPHA               0x8C44
+#define GL_SLUMINANCE8_ALPHA8             0x8C45
+#define GL_SLUMINANCE                     0x8C46
+#define GL_SLUMINANCE8                    0x8C47
+#define GL_COMPRESSED_SLUMINANCE          0x8C4A
+#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+#endif
+#endif /* GL_VERSION_2_1 */
+
+#ifndef GL_VERSION_3_0
+#define GL_VERSION_3_0 1
+typedef unsigned short GLhalf;
+#define GL_COMPARE_REF_TO_TEXTURE         0x884E
+#define GL_CLIP_DISTANCE0                 0x3000
+#define GL_CLIP_DISTANCE1                 0x3001
+#define GL_CLIP_DISTANCE2                 0x3002
+#define GL_CLIP_DISTANCE3                 0x3003
+#define GL_CLIP_DISTANCE4                 0x3004
+#define GL_CLIP_DISTANCE5                 0x3005
+#define GL_CLIP_DISTANCE6                 0x3006
+#define GL_CLIP_DISTANCE7                 0x3007
+#define GL_MAX_CLIP_DISTANCES             0x0D32
+#define GL_MAJOR_VERSION                  0x821B
+#define GL_MINOR_VERSION                  0x821C
+#define GL_NUM_EXTENSIONS                 0x821D
+#define GL_CONTEXT_FLAGS                  0x821E
+#define GL_COMPRESSED_RED                 0x8225
+#define GL_COMPRESSED_RG                  0x8226
+#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
+#define GL_RGBA32F                        0x8814
+#define GL_RGB32F                         0x8815
+#define GL_RGBA16F                        0x881A
+#define GL_RGB16F                         0x881B
+#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
+#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
+#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
+#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
+#define GL_CLAMP_READ_COLOR               0x891C
+#define GL_FIXED_ONLY                     0x891D
+#define GL_MAX_VARYING_COMPONENTS         0x8B4B
+#define GL_TEXTURE_1D_ARRAY               0x8C18
+#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
+#define GL_TEXTURE_2D_ARRAY               0x8C1A
+#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
+#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
+#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
+#define GL_R11F_G11F_B10F                 0x8C3A
+#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
+#define GL_RGB9_E5                        0x8C3D
+#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
+#define GL_TEXTURE_SHARED_SIZE            0x8C3F
+#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
+#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
+#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
+#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
+#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
+#define GL_PRIMITIVES_GENERATED           0x8C87
+#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
+#define GL_RASTERIZER_DISCARD             0x8C89
+#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
+#define GL_INTERLEAVED_ATTRIBS            0x8C8C
+#define GL_SEPARATE_ATTRIBS               0x8C8D
+#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
+#define GL_RGBA32UI                       0x8D70
+#define GL_RGB32UI                        0x8D71
+#define GL_RGBA16UI                       0x8D76
+#define GL_RGB16UI                        0x8D77
+#define GL_RGBA8UI                        0x8D7C
+#define GL_RGB8UI                         0x8D7D
+#define GL_RGBA32I                        0x8D82
+#define GL_RGB32I                         0x8D83
+#define GL_RGBA16I                        0x8D88
+#define GL_RGB16I                         0x8D89
+#define GL_RGBA8I                         0x8D8E
+#define GL_RGB8I                          0x8D8F
+#define GL_RED_INTEGER                    0x8D94
+#define GL_GREEN_INTEGER                  0x8D95
+#define GL_BLUE_INTEGER                   0x8D96
+#define GL_RGB_INTEGER                    0x8D98
+#define GL_RGBA_INTEGER                   0x8D99
+#define GL_BGR_INTEGER                    0x8D9A
+#define GL_BGRA_INTEGER                   0x8D9B
+#define GL_SAMPLER_1D_ARRAY               0x8DC0
+#define GL_SAMPLER_2D_ARRAY               0x8DC1
+#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
+#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
+#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
+#define GL_UNSIGNED_INT_VEC2              0x8DC6
+#define GL_UNSIGNED_INT_VEC3              0x8DC7
+#define GL_UNSIGNED_INT_VEC4              0x8DC8
+#define GL_INT_SAMPLER_1D                 0x8DC9
+#define GL_INT_SAMPLER_2D                 0x8DCA
+#define GL_INT_SAMPLER_3D                 0x8DCB
+#define GL_INT_SAMPLER_CUBE               0x8DCC
+#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
+#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
+#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
+#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
+#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
+#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
+#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
+#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
+#define GL_QUERY_WAIT                     0x8E13
+#define GL_QUERY_NO_WAIT                  0x8E14
+#define GL_QUERY_BY_REGION_WAIT           0x8E15
+#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
+#define GL_BUFFER_ACCESS_FLAGS            0x911F
+#define GL_BUFFER_MAP_LENGTH              0x9120
+#define GL_BUFFER_MAP_OFFSET              0x9121
+#define GL_DEPTH_COMPONENT32F             0x8CAC
+#define GL_DEPTH32F_STENCIL8              0x8CAD
+#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
+#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
+#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
+#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
+#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
+#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
+#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
+#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
+#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
+#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
+#define GL_FRAMEBUFFER_DEFAULT            0x8218
+#define GL_FRAMEBUFFER_UNDEFINED          0x8219
+#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
+#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
+#define GL_DEPTH_STENCIL                  0x84F9
+#define GL_UNSIGNED_INT_24_8              0x84FA
+#define GL_DEPTH24_STENCIL8               0x88F0
+#define GL_TEXTURE_STENCIL_SIZE           0x88F1
+#define GL_TEXTURE_RED_TYPE               0x8C10
+#define GL_TEXTURE_GREEN_TYPE             0x8C11
+#define GL_TEXTURE_BLUE_TYPE              0x8C12
+#define GL_TEXTURE_ALPHA_TYPE             0x8C13
+#define GL_TEXTURE_DEPTH_TYPE             0x8C16
+#define GL_UNSIGNED_NORMALIZED            0x8C17
+#define GL_FRAMEBUFFER_BINDING            0x8CA6
+#define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
+#define GL_RENDERBUFFER_BINDING           0x8CA7
+#define GL_READ_FRAMEBUFFER               0x8CA8
+#define GL_DRAW_FRAMEBUFFER               0x8CA9
+#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
+#define GL_RENDERBUFFER_SAMPLES           0x8CAB
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
+#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
+#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
+#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
+#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
+#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
+#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
+#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
+#define GL_COLOR_ATTACHMENT0              0x8CE0
+#define GL_COLOR_ATTACHMENT1              0x8CE1
+#define GL_COLOR_ATTACHMENT2              0x8CE2
+#define GL_COLOR_ATTACHMENT3              0x8CE3
+#define GL_COLOR_ATTACHMENT4              0x8CE4
+#define GL_COLOR_ATTACHMENT5              0x8CE5
+#define GL_COLOR_ATTACHMENT6              0x8CE6
+#define GL_COLOR_ATTACHMENT7              0x8CE7
+#define GL_COLOR_ATTACHMENT8              0x8CE8
+#define GL_COLOR_ATTACHMENT9              0x8CE9
+#define GL_COLOR_ATTACHMENT10             0x8CEA
+#define GL_COLOR_ATTACHMENT11             0x8CEB
+#define GL_COLOR_ATTACHMENT12             0x8CEC
+#define GL_COLOR_ATTACHMENT13             0x8CED
+#define GL_COLOR_ATTACHMENT14             0x8CEE
+#define GL_COLOR_ATTACHMENT15             0x8CEF
+#define GL_DEPTH_ATTACHMENT               0x8D00
+#define GL_STENCIL_ATTACHMENT             0x8D20
+#define GL_FRAMEBUFFER                    0x8D40
+#define GL_RENDERBUFFER                   0x8D41
+#define GL_RENDERBUFFER_WIDTH             0x8D42
+#define GL_RENDERBUFFER_HEIGHT            0x8D43
+#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
+#define GL_STENCIL_INDEX1                 0x8D46
+#define GL_STENCIL_INDEX4                 0x8D47
+#define GL_STENCIL_INDEX8                 0x8D48
+#define GL_STENCIL_INDEX16                0x8D49
+#define GL_RENDERBUFFER_RED_SIZE          0x8D50
+#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
+#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
+#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
+#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
+#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
+#define GL_MAX_SAMPLES                    0x8D57
+#define GL_INDEX                          0x8222
+#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
+#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
+#define GL_FRAMEBUFFER_SRGB               0x8DB9
+#define GL_HALF_FLOAT                     0x140B
+#define GL_MAP_READ_BIT                   0x0001
+#define GL_MAP_WRITE_BIT                  0x0002
+#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
+#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
+#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
+#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
+#define GL_COMPRESSED_RED_RGTC1           0x8DBB
+#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
+#define GL_COMPRESSED_RG_RGTC2            0x8DBD
+#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
+#define GL_RG                             0x8227
+#define GL_RG_INTEGER                     0x8228
+#define GL_R8                             0x8229
+#define GL_R16                            0x822A
+#define GL_RG8                            0x822B
+#define GL_RG16                           0x822C
+#define GL_R16F                           0x822D
+#define GL_R32F                           0x822E
+#define GL_RG16F                          0x822F
+#define GL_RG32F                          0x8230
+#define GL_R8I                            0x8231
+#define GL_R8UI                           0x8232
+#define GL_R16I                           0x8233
+#define GL_R16UI                          0x8234
+#define GL_R32I                           0x8235
+#define GL_R32UI                          0x8236
+#define GL_RG8I                           0x8237
+#define GL_RG8UI                          0x8238
+#define GL_RG16I                          0x8239
+#define GL_RG16UI                         0x823A
+#define GL_RG32I                          0x823B
+#define GL_RG32UI                         0x823C
+#define GL_VERTEX_ARRAY_BINDING           0x85B5
+#define GL_CLAMP_VERTEX_COLOR             0x891A
+#define GL_CLAMP_FRAGMENT_COLOR           0x891B
+#define GL_ALPHA_INTEGER                  0x8D97
+typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
+typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
+typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
+typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
+typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
+typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
+typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
+typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
+typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
+typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
+typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
+typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
+typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
+typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
+typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
+typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
+typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
+typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
+typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
+typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
+GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
+GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
+GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
+GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
+GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
+GLAPI void APIENTRY glEndTransformFeedback (void);
+GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
+GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
+GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
+GLAPI void APIENTRY glEndConditionalRender (void);
+GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
+GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
+GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
+GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
+GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
+GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
+GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
+GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
+GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
+GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
+GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
+GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
+GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
+GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
+GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
+GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
+GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
+GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
+GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
+GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
+GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
+GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGenerateMipmap (GLenum target);
+GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
+GLAPI void APIENTRY glBindVertexArray (GLuint array);
+GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
+GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
+GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
+#endif
+#endif /* GL_VERSION_3_0 */
+
+#ifndef GL_VERSION_3_1
+#define GL_VERSION_3_1 1
+#define GL_SAMPLER_2D_RECT                0x8B63
+#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
+#define GL_SAMPLER_BUFFER                 0x8DC2
+#define GL_INT_SAMPLER_2D_RECT            0x8DCD
+#define GL_INT_SAMPLER_BUFFER             0x8DD0
+#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
+#define GL_TEXTURE_BUFFER                 0x8C2A
+#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
+#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
+#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
+#define GL_TEXTURE_RECTANGLE              0x84F5
+#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
+#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
+#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
+#define GL_R8_SNORM                       0x8F94
+#define GL_RG8_SNORM                      0x8F95
+#define GL_RGB8_SNORM                     0x8F96
+#define GL_RGBA8_SNORM                    0x8F97
+#define GL_R16_SNORM                      0x8F98
+#define GL_RG16_SNORM                     0x8F99
+#define GL_RGB16_SNORM                    0x8F9A
+#define GL_RGBA16_SNORM                   0x8F9B
+#define GL_SIGNED_NORMALIZED              0x8F9C
+#define GL_PRIMITIVE_RESTART              0x8F9D
+#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
+#define GL_COPY_READ_BUFFER               0x8F36
+#define GL_COPY_WRITE_BUFFER              0x8F37
+#define GL_UNIFORM_BUFFER                 0x8A11
+#define GL_UNIFORM_BUFFER_BINDING         0x8A28
+#define GL_UNIFORM_BUFFER_START           0x8A29
+#define GL_UNIFORM_BUFFER_SIZE            0x8A2A
+#define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
+#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
+#define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
+#define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
+#define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
+#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
+#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
+#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
+#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
+#define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
+#define GL_UNIFORM_TYPE                   0x8A37
+#define GL_UNIFORM_SIZE                   0x8A38
+#define GL_UNIFORM_NAME_LENGTH            0x8A39
+#define GL_UNIFORM_BLOCK_INDEX            0x8A3A
+#define GL_UNIFORM_OFFSET                 0x8A3B
+#define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
+#define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
+#define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
+#define GL_UNIFORM_BLOCK_BINDING          0x8A3F
+#define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
+#define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
+#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
+#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
+#define GL_INVALID_INDEX                  0xFFFFFFFFu
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
+typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
+typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
+typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
+typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
+GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
+GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
+GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
+GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
+GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
+GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
+GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
+GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
+#endif
+#endif /* GL_VERSION_3_1 */
+
+#ifndef GL_VERSION_3_2
+#define GL_VERSION_3_2 1
+typedef struct __GLsync *GLsync;
+#ifndef GLEXT_64_TYPES_DEFINED
+/* This code block is duplicated in glxext.h, so must be protected */
+#define GLEXT_64_TYPES_DEFINED
+/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
+/* (as used in the GL_EXT_timer_query extension). */
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#include <inttypes.h>
+#elif defined(__sun__) || defined(__digital__)
+#include <inttypes.h>
+#if defined(__STDC__)
+#if defined(__arch64__) || defined(_LP64)
+typedef long int int64_t;
+typedef unsigned long int uint64_t;
+#else
+typedef long long int int64_t;
+typedef unsigned long long int uint64_t;
+#endif /* __arch64__ */
+#endif /* __STDC__ */
+#elif defined( __VMS ) || defined(__sgi)
+#include <inttypes.h>
+#elif defined(__SCO__) || defined(__USLC__)
+#include <stdint.h>
+#elif defined(__UNIXOS2__) || defined(__SOL64__)
+typedef long int int32_t;
+typedef long long int int64_t;
+typedef unsigned long long int uint64_t;
+#elif defined(_WIN32) && defined(__GNUC__)
+#include <stdint.h>
+#elif defined(_WIN32)
+typedef __int32 int32_t;
+typedef __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#else
+/* Fallback if nothing above works */
+#include <inttypes.h>
+#endif
+#endif
+typedef uint64_t GLuint64;
+typedef int64_t GLint64;
+#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
+#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
+#define GL_LINES_ADJACENCY                0x000A
+#define GL_LINE_STRIP_ADJACENCY           0x000B
+#define GL_TRIANGLES_ADJACENCY            0x000C
+#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
+#define GL_PROGRAM_POINT_SIZE             0x8642
+#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
+#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
+#define GL_GEOMETRY_SHADER                0x8DD9
+#define GL_GEOMETRY_VERTICES_OUT          0x8916
+#define GL_GEOMETRY_INPUT_TYPE            0x8917
+#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
+#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
+#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
+#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
+#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
+#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
+#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
+#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
+#define GL_CONTEXT_PROFILE_MASK           0x9126
+#define GL_DEPTH_CLAMP                    0x864F
+#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
+#define GL_FIRST_VERTEX_CONVENTION        0x8E4D
+#define GL_LAST_VERTEX_CONVENTION         0x8E4E
+#define GL_PROVOKING_VERTEX               0x8E4F
+#define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
+#define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
+#define GL_OBJECT_TYPE                    0x9112
+#define GL_SYNC_CONDITION                 0x9113
+#define GL_SYNC_STATUS                    0x9114
+#define GL_SYNC_FLAGS                     0x9115
+#define GL_SYNC_FENCE                     0x9116
+#define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
+#define GL_UNSIGNALED                     0x9118
+#define GL_SIGNALED                       0x9119
+#define GL_ALREADY_SIGNALED               0x911A
+#define GL_TIMEOUT_EXPIRED                0x911B
+#define GL_CONDITION_SATISFIED            0x911C
+#define GL_WAIT_FAILED                    0x911D
+#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
+#define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
+#define GL_SAMPLE_POSITION                0x8E50
+#define GL_SAMPLE_MASK                    0x8E51
+#define GL_SAMPLE_MASK_VALUE              0x8E52
+#define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
+#define GL_TEXTURE_2D_MULTISAMPLE         0x9100
+#define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
+#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
+#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
+#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
+#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
+#define GL_TEXTURE_SAMPLES                0x9106
+#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
+#define GL_SAMPLER_2D_MULTISAMPLE         0x9108
+#define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
+#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
+#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
+#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
+#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
+#define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
+#define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
+#define GL_MAX_INTEGER_SAMPLES            0x9110
+typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
+typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
+typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
+typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
+typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
+typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
+typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
+typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
+GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
+GLAPI void APIENTRY glProvokingVertex (GLenum mode);
+GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
+GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
+GLAPI void APIENTRY glDeleteSync (GLsync sync);
+GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
+GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
+GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
+GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
+GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
+#endif
+#endif /* GL_VERSION_3_2 */
+
+#ifndef GL_VERSION_3_3
+#define GL_VERSION_3_3 1
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
+#define GL_SRC1_COLOR                     0x88F9
+#define GL_ONE_MINUS_SRC1_COLOR           0x88FA
+#define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
+#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
+#define GL_ANY_SAMPLES_PASSED             0x8C2F
+#define GL_SAMPLER_BINDING                0x8919
+#define GL_RGB10_A2UI                     0x906F
+#define GL_TEXTURE_SWIZZLE_R              0x8E42
+#define GL_TEXTURE_SWIZZLE_G              0x8E43
+#define GL_TEXTURE_SWIZZLE_B              0x8E44
+#define GL_TEXTURE_SWIZZLE_A              0x8E45
+#define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
+#define GL_TIME_ELAPSED                   0x88BF
+#define GL_TIMESTAMP                      0x8E28
+#define GL_INT_2_10_10_10_REV             0x8D9F
+typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
+typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
+typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
+typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
+typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
+typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
+typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
+typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
+GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
+GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
+GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
+GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
+GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
+GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
+GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
+GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
+GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
+GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
+GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
+GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
+GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
+GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
+GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
+GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
+GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
+GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
+GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
+GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
+GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
+GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
+GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
+GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
+GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
+#endif
+#endif /* GL_VERSION_3_3 */
+
+#ifndef GL_VERSION_4_0
+#define GL_VERSION_4_0 1
+#define GL_SAMPLE_SHADING                 0x8C36
+#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
+#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
+#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
+#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
+#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
+#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
+#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
+#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
+#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
+#define GL_DRAW_INDIRECT_BUFFER           0x8F3F
+#define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
+#define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
+#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
+#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
+#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
+#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
+#define GL_MAX_VERTEX_STREAMS             0x8E71
+#define GL_DOUBLE_VEC2                    0x8FFC
+#define GL_DOUBLE_VEC3                    0x8FFD
+#define GL_DOUBLE_VEC4                    0x8FFE
+#define GL_DOUBLE_MAT2                    0x8F46
+#define GL_DOUBLE_MAT3                    0x8F47
+#define GL_DOUBLE_MAT4                    0x8F48
+#define GL_DOUBLE_MAT2x3                  0x8F49
+#define GL_DOUBLE_MAT2x4                  0x8F4A
+#define GL_DOUBLE_MAT3x2                  0x8F4B
+#define GL_DOUBLE_MAT3x4                  0x8F4C
+#define GL_DOUBLE_MAT4x2                  0x8F4D
+#define GL_DOUBLE_MAT4x3                  0x8F4E
+#define GL_ACTIVE_SUBROUTINES             0x8DE5
+#define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
+#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
+#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
+#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
+#define GL_MAX_SUBROUTINES                0x8DE7
+#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
+#define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
+#define GL_COMPATIBLE_SUBROUTINES         0x8E4B
+#define GL_PATCHES                        0x000E
+#define GL_PATCH_VERTICES                 0x8E72
+#define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
+#define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
+#define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
+#define GL_TESS_GEN_MODE                  0x8E76
+#define GL_TESS_GEN_SPACING               0x8E77
+#define GL_TESS_GEN_VERTEX_ORDER          0x8E78
+#define GL_TESS_GEN_POINT_MODE            0x8E79
+#define GL_ISOLINES                       0x8E7A
+#define GL_FRACTIONAL_ODD                 0x8E7B
+#define GL_FRACTIONAL_EVEN                0x8E7C
+#define GL_MAX_PATCH_VERTICES             0x8E7D
+#define GL_MAX_TESS_GEN_LEVEL             0x8E7E
+#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
+#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
+#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
+#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
+#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
+#define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
+#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
+#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
+#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
+#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
+#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
+#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
+#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
+#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
+#define GL_TESS_EVALUATION_SHADER         0x8E87
+#define GL_TESS_CONTROL_SHADER            0x8E88
+#define GL_TRANSFORM_FEEDBACK             0x8E22
+#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
+#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
+#define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
+#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
+typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
+typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
+typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
+typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
+typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
+typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
+typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
+typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
+typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
+typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
+typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
+typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
+typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMinSampleShading (GLfloat value);
+GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
+GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
+GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
+GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
+GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
+GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
+GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
+GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
+GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
+GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
+GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
+GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
+GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
+GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
+GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
+GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
+GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
+GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
+GLAPI void APIENTRY glPauseTransformFeedback (void);
+GLAPI void APIENTRY glResumeTransformFeedback (void);
+GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
+GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
+GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
+GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
+GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
+#endif
+#endif /* GL_VERSION_4_0 */
+
+#ifndef GL_VERSION_4_1
+#define GL_VERSION_4_1 1
+#define GL_FIXED                          0x140C
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
+#define GL_LOW_FLOAT                      0x8DF0
+#define GL_MEDIUM_FLOAT                   0x8DF1
+#define GL_HIGH_FLOAT                     0x8DF2
+#define GL_LOW_INT                        0x8DF3
+#define GL_MEDIUM_INT                     0x8DF4
+#define GL_HIGH_INT                       0x8DF5
+#define GL_SHADER_COMPILER                0x8DFA
+#define GL_SHADER_BINARY_FORMATS          0x8DF8
+#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
+#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
+#define GL_MAX_VARYING_VECTORS            0x8DFC
+#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
+#define GL_RGB565                         0x8D62
+#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
+#define GL_PROGRAM_BINARY_LENGTH          0x8741
+#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
+#define GL_PROGRAM_BINARY_FORMATS         0x87FF
+#define GL_VERTEX_SHADER_BIT              0x00000001
+#define GL_FRAGMENT_SHADER_BIT            0x00000002
+#define GL_GEOMETRY_SHADER_BIT            0x00000004
+#define GL_TESS_CONTROL_SHADER_BIT        0x00000008
+#define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
+#define GL_ALL_SHADER_BITS                0xFFFFFFFF
+#define GL_PROGRAM_SEPARABLE              0x8258
+#define GL_ACTIVE_PROGRAM                 0x8259
+#define GL_PROGRAM_PIPELINE_BINDING       0x825A
+#define GL_MAX_VIEWPORTS                  0x825B
+#define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
+#define GL_VIEWPORT_BOUNDS_RANGE          0x825D
+#define GL_LAYER_PROVOKING_VERTEX         0x825E
+#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
+#define GL_UNDEFINED_VERTEX               0x8260
+typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
+typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
+typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
+typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
+typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
+typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
+typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
+typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
+typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
+typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
+typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
+typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
+typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
+typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
+typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glReleaseShaderCompiler (void);
+GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
+GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
+GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
+GLAPI void APIENTRY glClearDepthf (GLfloat d);
+GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
+GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
+GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
+GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
+GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
+GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
+GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
+GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
+GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
+GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
+GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
+GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
+GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
+GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
+GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
+GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
+GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
+GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
+GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
+GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
+GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
+GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
+GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
+#endif
+#endif /* GL_VERSION_4_1 */
+
+#ifndef GL_VERSION_4_2
+#define GL_VERSION_4_2 1
+#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
+#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
+#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
+#define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
+#define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
+#define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
+#define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
+#define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
+#define GL_NUM_SAMPLE_COUNTS              0x9380
+#define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
+#define GL_ATOMIC_COUNTER_BUFFER          0x92C0
+#define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
+#define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
+#define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
+#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
+#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
+#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
+#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
+#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
+#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
+#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
+#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
+#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
+#define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
+#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
+#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
+#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
+#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
+#define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
+#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
+#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
+#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
+#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
+#define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
+#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
+#define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
+#define GL_UNIFORM_BARRIER_BIT            0x00000004
+#define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
+#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
+#define GL_COMMAND_BARRIER_BIT            0x00000040
+#define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
+#define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
+#define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
+#define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
+#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
+#define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
+#define GL_ALL_BARRIER_BITS               0xFFFFFFFF
+#define GL_MAX_IMAGE_UNITS                0x8F38
+#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
+#define GL_IMAGE_BINDING_NAME             0x8F3A
+#define GL_IMAGE_BINDING_LEVEL            0x8F3B
+#define GL_IMAGE_BINDING_LAYERED          0x8F3C
+#define GL_IMAGE_BINDING_LAYER            0x8F3D
+#define GL_IMAGE_BINDING_ACCESS           0x8F3E
+#define GL_IMAGE_1D                       0x904C
+#define GL_IMAGE_2D                       0x904D
+#define GL_IMAGE_3D                       0x904E
+#define GL_IMAGE_2D_RECT                  0x904F
+#define GL_IMAGE_CUBE                     0x9050
+#define GL_IMAGE_BUFFER                   0x9051
+#define GL_IMAGE_1D_ARRAY                 0x9052
+#define GL_IMAGE_2D_ARRAY                 0x9053
+#define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
+#define GL_IMAGE_2D_MULTISAMPLE           0x9055
+#define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
+#define GL_INT_IMAGE_1D                   0x9057
+#define GL_INT_IMAGE_2D                   0x9058
+#define GL_INT_IMAGE_3D                   0x9059
+#define GL_INT_IMAGE_2D_RECT              0x905A
+#define GL_INT_IMAGE_CUBE                 0x905B
+#define GL_INT_IMAGE_BUFFER               0x905C
+#define GL_INT_IMAGE_1D_ARRAY             0x905D
+#define GL_INT_IMAGE_2D_ARRAY             0x905E
+#define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
+#define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
+#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
+#define GL_UNSIGNED_INT_IMAGE_1D          0x9062
+#define GL_UNSIGNED_INT_IMAGE_2D          0x9063
+#define GL_UNSIGNED_INT_IMAGE_3D          0x9064
+#define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
+#define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
+#define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
+#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
+#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
+#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
+#define GL_MAX_IMAGE_SAMPLES              0x906D
+#define GL_IMAGE_BINDING_FORMAT           0x906E
+#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
+#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
+#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
+#define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
+#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
+#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
+#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
+#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
+#define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
+#define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
+#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
+#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
+#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
+#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
+typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
+typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
+typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
+typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
+GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
+GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
+GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
+GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
+GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
+GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
+GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
+GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
+#endif
+#endif /* GL_VERSION_4_2 */
+
+#ifndef GL_VERSION_4_3
+#define GL_VERSION_4_3 1
+typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
+#define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
+#define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
+#define GL_COMPRESSED_RGB8_ETC2           0x9274
+#define GL_COMPRESSED_SRGB8_ETC2          0x9275
+#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
+#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
+#define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
+#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
+#define GL_COMPRESSED_R11_EAC             0x9270
+#define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
+#define GL_COMPRESSED_RG11_EAC            0x9272
+#define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
+#define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
+#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
+#define GL_MAX_ELEMENT_INDEX              0x8D6B
+#define GL_COMPUTE_SHADER                 0x91B9
+#define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
+#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
+#define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
+#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
+#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
+#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
+#define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
+#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
+#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
+#define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
+#define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
+#define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
+#define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
+#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
+#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
+#define GL_DEBUG_CALLBACK_FUNCTION        0x8244
+#define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
+#define GL_DEBUG_SOURCE_API               0x8246
+#define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
+#define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
+#define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
+#define GL_DEBUG_SOURCE_APPLICATION       0x824A
+#define GL_DEBUG_SOURCE_OTHER             0x824B
+#define GL_DEBUG_TYPE_ERROR               0x824C
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
+#define GL_DEBUG_TYPE_PORTABILITY         0x824F
+#define GL_DEBUG_TYPE_PERFORMANCE         0x8250
+#define GL_DEBUG_TYPE_OTHER               0x8251
+#define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
+#define GL_DEBUG_LOGGED_MESSAGES          0x9145
+#define GL_DEBUG_SEVERITY_HIGH            0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM          0x9147
+#define GL_DEBUG_SEVERITY_LOW             0x9148
+#define GL_DEBUG_TYPE_MARKER              0x8268
+#define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
+#define GL_DEBUG_TYPE_POP_GROUP           0x826A
+#define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
+#define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
+#define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
+#define GL_BUFFER                         0x82E0
+#define GL_SHADER                         0x82E1
+#define GL_PROGRAM                        0x82E2
+#define GL_QUERY                          0x82E3
+#define GL_PROGRAM_PIPELINE               0x82E4
+#define GL_SAMPLER                        0x82E6
+#define GL_MAX_LABEL_LENGTH               0x82E8
+#define GL_DEBUG_OUTPUT                   0x92E0
+#define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
+#define GL_MAX_UNIFORM_LOCATIONS          0x826E
+#define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
+#define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
+#define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
+#define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
+#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
+#define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
+#define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
+#define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
+#define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
+#define GL_INTERNALFORMAT_SUPPORTED       0x826F
+#define GL_INTERNALFORMAT_PREFERRED       0x8270
+#define GL_INTERNALFORMAT_RED_SIZE        0x8271
+#define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
+#define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
+#define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
+#define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
+#define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
+#define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
+#define GL_INTERNALFORMAT_RED_TYPE        0x8278
+#define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
+#define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
+#define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
+#define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
+#define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
+#define GL_MAX_WIDTH                      0x827E
+#define GL_MAX_HEIGHT                     0x827F
+#define GL_MAX_DEPTH                      0x8280
+#define GL_MAX_LAYERS                     0x8281
+#define GL_MAX_COMBINED_DIMENSIONS        0x8282
+#define GL_COLOR_COMPONENTS               0x8283
+#define GL_DEPTH_COMPONENTS               0x8284
+#define GL_STENCIL_COMPONENTS             0x8285
+#define GL_COLOR_RENDERABLE               0x8286
+#define GL_DEPTH_RENDERABLE               0x8287
+#define GL_STENCIL_RENDERABLE             0x8288
+#define GL_FRAMEBUFFER_RENDERABLE         0x8289
+#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
+#define GL_FRAMEBUFFER_BLEND              0x828B
+#define GL_READ_PIXELS                    0x828C
+#define GL_READ_PIXELS_FORMAT             0x828D
+#define GL_READ_PIXELS_TYPE               0x828E
+#define GL_TEXTURE_IMAGE_FORMAT           0x828F
+#define GL_TEXTURE_IMAGE_TYPE             0x8290
+#define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
+#define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
+#define GL_MIPMAP                         0x8293
+#define GL_MANUAL_GENERATE_MIPMAP         0x8294
+#define GL_AUTO_GENERATE_MIPMAP           0x8295
+#define GL_COLOR_ENCODING                 0x8296
+#define GL_SRGB_READ                      0x8297
+#define GL_SRGB_WRITE                     0x8298
+#define GL_FILTER                         0x829A
+#define GL_VERTEX_TEXTURE                 0x829B
+#define GL_TESS_CONTROL_TEXTURE           0x829C
+#define GL_TESS_EVALUATION_TEXTURE        0x829D
+#define GL_GEOMETRY_TEXTURE               0x829E
+#define GL_FRAGMENT_TEXTURE               0x829F
+#define GL_COMPUTE_TEXTURE                0x82A0
+#define GL_TEXTURE_SHADOW                 0x82A1
+#define GL_TEXTURE_GATHER                 0x82A2
+#define GL_TEXTURE_GATHER_SHADOW          0x82A3
+#define GL_SHADER_IMAGE_LOAD              0x82A4
+#define GL_SHADER_IMAGE_STORE             0x82A5
+#define GL_SHADER_IMAGE_ATOMIC            0x82A6
+#define GL_IMAGE_TEXEL_SIZE               0x82A7
+#define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
+#define GL_IMAGE_PIXEL_FORMAT             0x82A9
+#define GL_IMAGE_PIXEL_TYPE               0x82AA
+#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
+#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
+#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
+#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
+#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
+#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
+#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
+#define GL_CLEAR_BUFFER                   0x82B4
+#define GL_TEXTURE_VIEW                   0x82B5
+#define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
+#define GL_FULL_SUPPORT                   0x82B7
+#define GL_CAVEAT_SUPPORT                 0x82B8
+#define GL_IMAGE_CLASS_4_X_32             0x82B9
+#define GL_IMAGE_CLASS_2_X_32             0x82BA
+#define GL_IMAGE_CLASS_1_X_32             0x82BB
+#define GL_IMAGE_CLASS_4_X_16             0x82BC
+#define GL_IMAGE_CLASS_2_X_16             0x82BD
+#define GL_IMAGE_CLASS_1_X_16             0x82BE
+#define GL_IMAGE_CLASS_4_X_8              0x82BF
+#define GL_IMAGE_CLASS_2_X_8              0x82C0
+#define GL_IMAGE_CLASS_1_X_8              0x82C1
+#define GL_IMAGE_CLASS_11_11_10           0x82C2
+#define GL_IMAGE_CLASS_10_10_10_2         0x82C3
+#define GL_VIEW_CLASS_128_BITS            0x82C4
+#define GL_VIEW_CLASS_96_BITS             0x82C5
+#define GL_VIEW_CLASS_64_BITS             0x82C6
+#define GL_VIEW_CLASS_48_BITS             0x82C7
+#define GL_VIEW_CLASS_32_BITS             0x82C8
+#define GL_VIEW_CLASS_24_BITS             0x82C9
+#define GL_VIEW_CLASS_16_BITS             0x82CA
+#define GL_VIEW_CLASS_8_BITS              0x82CB
+#define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
+#define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
+#define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
+#define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
+#define GL_VIEW_CLASS_RGTC1_RED           0x82D0
+#define GL_VIEW_CLASS_RGTC2_RG            0x82D1
+#define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
+#define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
+#define GL_UNIFORM                        0x92E1
+#define GL_UNIFORM_BLOCK                  0x92E2
+#define GL_PROGRAM_INPUT                  0x92E3
+#define GL_PROGRAM_OUTPUT                 0x92E4
+#define GL_BUFFER_VARIABLE                0x92E5
+#define GL_SHADER_STORAGE_BLOCK           0x92E6
+#define GL_VERTEX_SUBROUTINE              0x92E8
+#define GL_TESS_CONTROL_SUBROUTINE        0x92E9
+#define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
+#define GL_GEOMETRY_SUBROUTINE            0x92EB
+#define GL_FRAGMENT_SUBROUTINE            0x92EC
+#define GL_COMPUTE_SUBROUTINE             0x92ED
+#define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
+#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
+#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
+#define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
+#define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
+#define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
+#define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
+#define GL_ACTIVE_RESOURCES               0x92F5
+#define GL_MAX_NAME_LENGTH                0x92F6
+#define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
+#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
+#define GL_NAME_LENGTH                    0x92F9
+#define GL_TYPE                           0x92FA
+#define GL_ARRAY_SIZE                     0x92FB
+#define GL_OFFSET                         0x92FC
+#define GL_BLOCK_INDEX                    0x92FD
+#define GL_ARRAY_STRIDE                   0x92FE
+#define GL_MATRIX_STRIDE                  0x92FF
+#define GL_IS_ROW_MAJOR                   0x9300
+#define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
+#define GL_BUFFER_BINDING                 0x9302
+#define GL_BUFFER_DATA_SIZE               0x9303
+#define GL_NUM_ACTIVE_VARIABLES           0x9304
+#define GL_ACTIVE_VARIABLES               0x9305
+#define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
+#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
+#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
+#define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
+#define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
+#define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
+#define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
+#define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
+#define GL_LOCATION                       0x930E
+#define GL_LOCATION_INDEX                 0x930F
+#define GL_IS_PER_PATCH                   0x92E7
+#define GL_SHADER_STORAGE_BUFFER          0x90D2
+#define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
+#define GL_SHADER_STORAGE_BUFFER_START    0x90D4
+#define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
+#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
+#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
+#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
+#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
+#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
+#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
+#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
+#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
+#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
+#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
+#define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
+#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
+#define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
+#define GL_TEXTURE_BUFFER_OFFSET          0x919D
+#define GL_TEXTURE_BUFFER_SIZE            0x919E
+#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
+#define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
+#define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
+#define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
+#define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
+#define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
+#define GL_VERTEX_ATTRIB_BINDING          0x82D4
+#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
+#define GL_VERTEX_BINDING_DIVISOR         0x82D6
+#define GL_VERTEX_BINDING_OFFSET          0x82D7
+#define GL_VERTEX_BINDING_STRIDE          0x82D8
+#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
+#define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
+#define GL_VERTEX_BINDING_BUFFER          0x8F4F
+#define GL_DISPLAY_LIST                   0x82E7
+typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
+typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
+typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
+typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
+typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
+typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
+typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
+typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
+typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
+typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
+typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
+typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
+typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
+typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
+GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
+GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
+GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
+GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
+GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
+GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
+GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
+GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
+GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
+GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
+GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
+GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
+GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
+GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
+GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
+GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
+GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
+GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
+GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
+GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
+GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+GLAPI void APIENTRY glPopDebugGroup (void);
+GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
+GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+#endif /* GL_VERSION_4_3 */
+
+#ifndef GL_VERSION_4_4
+#define GL_VERSION_4_4 1
+#define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
+#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
+#define GL_TEXTURE_BUFFER_BINDING         0x8C2A
+#define GL_MAP_PERSISTENT_BIT             0x0040
+#define GL_MAP_COHERENT_BIT               0x0080
+#define GL_DYNAMIC_STORAGE_BIT            0x0100
+#define GL_CLIENT_STORAGE_BIT             0x0200
+#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
+#define GL_BUFFER_IMMUTABLE_STORAGE       0x821F
+#define GL_BUFFER_STORAGE_FLAGS           0x8220
+#define GL_CLEAR_TEXTURE                  0x9365
+#define GL_LOCATION_COMPONENT             0x934A
+#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
+#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
+#define GL_QUERY_BUFFER                   0x9192
+#define GL_QUERY_BUFFER_BARRIER_BIT       0x00008000
+#define GL_QUERY_BUFFER_BINDING           0x9193
+#define GL_QUERY_RESULT_NO_WAIT           0x9194
+#define GL_MIRROR_CLAMP_TO_EDGE           0x8743
+typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
+typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
+typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
+typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
+typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
+typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
+typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
+GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
+GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
+GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
+GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
+GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
+GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
+#endif
+#endif /* GL_VERSION_4_4 */
+
+#ifndef GL_ARB_ES2_compatibility
+#define GL_ARB_ES2_compatibility 1
+#endif /* GL_ARB_ES2_compatibility */
+
+#ifndef GL_ARB_ES3_compatibility
+#define GL_ARB_ES3_compatibility 1
+#endif /* GL_ARB_ES3_compatibility */
+
+#ifndef GL_ARB_arrays_of_arrays
+#define GL_ARB_arrays_of_arrays 1
+#endif /* GL_ARB_arrays_of_arrays */
+
+#ifndef GL_ARB_base_instance
+#define GL_ARB_base_instance 1
+#endif /* GL_ARB_base_instance */
+
+#ifndef GL_ARB_bindless_texture
+#define GL_ARB_bindless_texture 1
+typedef uint64_t GLuint64EXT;
+#define GL_UNSIGNED_INT64_ARB             0x140F
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
+typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
+typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
+GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
+GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
+GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
+GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
+GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
+GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
+GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
+GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
+GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
+GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
+GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
+GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
+#endif
+#endif /* GL_ARB_bindless_texture */
+
+#ifndef GL_ARB_blend_func_extended
+#define GL_ARB_blend_func_extended 1
+#endif /* GL_ARB_blend_func_extended */
+
+#ifndef GL_ARB_buffer_storage
+#define GL_ARB_buffer_storage 1
+#endif /* GL_ARB_buffer_storage */
+
+#ifndef GL_ARB_cl_event
+#define GL_ARB_cl_event 1
+struct _cl_context;
+struct _cl_event;
+#define GL_SYNC_CL_EVENT_ARB              0x8240
+#define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
+typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
+#endif
+#endif /* GL_ARB_cl_event */
+
+#ifndef GL_ARB_clear_buffer_object
+#define GL_ARB_clear_buffer_object 1
+#endif /* GL_ARB_clear_buffer_object */
+
+#ifndef GL_ARB_clear_texture
+#define GL_ARB_clear_texture 1
+#endif /* GL_ARB_clear_texture */
+
+#ifndef GL_ARB_color_buffer_float
+#define GL_ARB_color_buffer_float 1
+#define GL_RGBA_FLOAT_MODE_ARB            0x8820
+#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
+#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
+#define GL_CLAMP_READ_COLOR_ARB           0x891C
+#define GL_FIXED_ONLY_ARB                 0x891D
+typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
+#endif
+#endif /* GL_ARB_color_buffer_float */
+
+#ifndef GL_ARB_compatibility
+#define GL_ARB_compatibility 1
+#endif /* GL_ARB_compatibility */
+
+#ifndef GL_ARB_compressed_texture_pixel_storage
+#define GL_ARB_compressed_texture_pixel_storage 1
+#endif /* GL_ARB_compressed_texture_pixel_storage */
+
+#ifndef GL_ARB_compute_shader
+#define GL_ARB_compute_shader 1
+#define GL_COMPUTE_SHADER_BIT             0x00000020
+#endif /* GL_ARB_compute_shader */
+
+#ifndef GL_ARB_compute_variable_group_size
+#define GL_ARB_compute_variable_group_size 1
+#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
+#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
+#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
+#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
+typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
+#endif
+#endif /* GL_ARB_compute_variable_group_size */
+
+#ifndef GL_ARB_conservative_depth
+#define GL_ARB_conservative_depth 1
+#endif /* GL_ARB_conservative_depth */
+
+#ifndef GL_ARB_copy_buffer
+#define GL_ARB_copy_buffer 1
+#define GL_COPY_READ_BUFFER_BINDING       0x8F36
+#define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
+#endif /* GL_ARB_copy_buffer */
+
+#ifndef GL_ARB_copy_image
+#define GL_ARB_copy_image 1
+#endif /* GL_ARB_copy_image */
+
+#ifndef GL_ARB_debug_output
+#define GL_ARB_debug_output 1
+typedef void (APIENTRY  *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
+#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
+#define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
+#define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
+#define GL_DEBUG_SOURCE_API_ARB           0x8246
+#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
+#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
+#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
+#define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
+#define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
+#define GL_DEBUG_TYPE_ERROR_ARB           0x824C
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
+#define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
+#define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
+#define GL_DEBUG_TYPE_OTHER_ARB           0x8251
+#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
+#define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
+#define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
+#define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
+typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
+GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+#endif
+#endif /* GL_ARB_debug_output */
+
+#ifndef GL_ARB_depth_buffer_float
+#define GL_ARB_depth_buffer_float 1
+#endif /* GL_ARB_depth_buffer_float */
+
+#ifndef GL_ARB_depth_clamp
+#define GL_ARB_depth_clamp 1
+#endif /* GL_ARB_depth_clamp */
+
+#ifndef GL_ARB_depth_texture
+#define GL_ARB_depth_texture 1
+#define GL_DEPTH_COMPONENT16_ARB          0x81A5
+#define GL_DEPTH_COMPONENT24_ARB          0x81A6
+#define GL_DEPTH_COMPONENT32_ARB          0x81A7
+#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
+#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
+#endif /* GL_ARB_depth_texture */
+
+#ifndef GL_ARB_draw_buffers
+#define GL_ARB_draw_buffers 1
+#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
+#define GL_DRAW_BUFFER0_ARB               0x8825
+#define GL_DRAW_BUFFER1_ARB               0x8826
+#define GL_DRAW_BUFFER2_ARB               0x8827
+#define GL_DRAW_BUFFER3_ARB               0x8828
+#define GL_DRAW_BUFFER4_ARB               0x8829
+#define GL_DRAW_BUFFER5_ARB               0x882A
+#define GL_DRAW_BUFFER6_ARB               0x882B
+#define GL_DRAW_BUFFER7_ARB               0x882C
+#define GL_DRAW_BUFFER8_ARB               0x882D
+#define GL_DRAW_BUFFER9_ARB               0x882E
+#define GL_DRAW_BUFFER10_ARB              0x882F
+#define GL_DRAW_BUFFER11_ARB              0x8830
+#define GL_DRAW_BUFFER12_ARB              0x8831
+#define GL_DRAW_BUFFER13_ARB              0x8832
+#define GL_DRAW_BUFFER14_ARB              0x8833
+#define GL_DRAW_BUFFER15_ARB              0x8834
+typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
+#endif
+#endif /* GL_ARB_draw_buffers */
+
+#ifndef GL_ARB_draw_buffers_blend
+#define GL_ARB_draw_buffers_blend 1
+typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
+GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
+GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+#endif
+#endif /* GL_ARB_draw_buffers_blend */
+
+#ifndef GL_ARB_draw_elements_base_vertex
+#define GL_ARB_draw_elements_base_vertex 1
+#endif /* GL_ARB_draw_elements_base_vertex */
+
+#ifndef GL_ARB_draw_indirect
+#define GL_ARB_draw_indirect 1
+#endif /* GL_ARB_draw_indirect */
+
+#ifndef GL_ARB_draw_instanced
+#define GL_ARB_draw_instanced 1
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#endif
+#endif /* GL_ARB_draw_instanced */
+
+#ifndef GL_ARB_enhanced_layouts
+#define GL_ARB_enhanced_layouts 1
+#endif /* GL_ARB_enhanced_layouts */
+
+#ifndef GL_ARB_explicit_attrib_location
+#define GL_ARB_explicit_attrib_location 1
+#endif /* GL_ARB_explicit_attrib_location */
+
+#ifndef GL_ARB_explicit_uniform_location
+#define GL_ARB_explicit_uniform_location 1
+#endif /* GL_ARB_explicit_uniform_location */
+
+#ifndef GL_ARB_fragment_coord_conventions
+#define GL_ARB_fragment_coord_conventions 1
+#endif /* GL_ARB_fragment_coord_conventions */
+
+#ifndef GL_ARB_fragment_layer_viewport
+#define GL_ARB_fragment_layer_viewport 1
+#endif /* GL_ARB_fragment_layer_viewport */
+
+#ifndef GL_ARB_fragment_program
+#define GL_ARB_fragment_program 1
+#define GL_FRAGMENT_PROGRAM_ARB           0x8804
+#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
+#define GL_PROGRAM_LENGTH_ARB             0x8627
+#define GL_PROGRAM_FORMAT_ARB             0x8876
+#define GL_PROGRAM_BINDING_ARB            0x8677
+#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
+#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
+#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
+#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
+#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
+#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
+#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
+#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
+#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
+#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
+#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
+#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
+#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
+#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
+#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
+#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
+#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
+#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
+#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
+#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
+#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
+#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
+#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
+#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
+#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
+#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
+#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
+#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
+#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
+#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
+#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
+#define GL_PROGRAM_STRING_ARB             0x8628
+#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
+#define GL_CURRENT_MATRIX_ARB             0x8641
+#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
+#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
+#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
+#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
+#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
+#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
+#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
+#define GL_MATRIX0_ARB                    0x88C0
+#define GL_MATRIX1_ARB                    0x88C1
+#define GL_MATRIX2_ARB                    0x88C2
+#define GL_MATRIX3_ARB                    0x88C3
+#define GL_MATRIX4_ARB                    0x88C4
+#define GL_MATRIX5_ARB                    0x88C5
+#define GL_MATRIX6_ARB                    0x88C6
+#define GL_MATRIX7_ARB                    0x88C7
+#define GL_MATRIX8_ARB                    0x88C8
+#define GL_MATRIX9_ARB                    0x88C9
+#define GL_MATRIX10_ARB                   0x88CA
+#define GL_MATRIX11_ARB                   0x88CB
+#define GL_MATRIX12_ARB                   0x88CC
+#define GL_MATRIX13_ARB                   0x88CD
+#define GL_MATRIX14_ARB                   0x88CE
+#define GL_MATRIX15_ARB                   0x88CF
+#define GL_MATRIX16_ARB                   0x88D0
+#define GL_MATRIX17_ARB                   0x88D1
+#define GL_MATRIX18_ARB                   0x88D2
+#define GL_MATRIX19_ARB                   0x88D3
+#define GL_MATRIX20_ARB                   0x88D4
+#define GL_MATRIX21_ARB                   0x88D5
+#define GL_MATRIX22_ARB                   0x88D6
+#define GL_MATRIX23_ARB                   0x88D7
+#define GL_MATRIX24_ARB                   0x88D8
+#define GL_MATRIX25_ARB                   0x88D9
+#define GL_MATRIX26_ARB                   0x88DA
+#define GL_MATRIX27_ARB                   0x88DB
+#define GL_MATRIX28_ARB                   0x88DC
+#define GL_MATRIX29_ARB                   0x88DD
+#define GL_MATRIX30_ARB                   0x88DE
+#define GL_MATRIX31_ARB                   0x88DF
+typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
+typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
+typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
+GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
+GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
+GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
+GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
+GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
+GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
+GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
+GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
+GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
+#endif
+#endif /* GL_ARB_fragment_program */
+
+#ifndef GL_ARB_fragment_program_shadow
+#define GL_ARB_fragment_program_shadow 1
+#endif /* GL_ARB_fragment_program_shadow */
+
+#ifndef GL_ARB_fragment_shader
+#define GL_ARB_fragment_shader 1
+#define GL_FRAGMENT_SHADER_ARB            0x8B30
+#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
+#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
+#endif /* GL_ARB_fragment_shader */
+
+#ifndef GL_ARB_framebuffer_no_attachments
+#define GL_ARB_framebuffer_no_attachments 1
+#endif /* GL_ARB_framebuffer_no_attachments */
+
+#ifndef GL_ARB_framebuffer_object
+#define GL_ARB_framebuffer_object 1
+#endif /* GL_ARB_framebuffer_object */
+
+#ifndef GL_ARB_framebuffer_sRGB
+#define GL_ARB_framebuffer_sRGB 1
+#endif /* GL_ARB_framebuffer_sRGB */
+
+#ifndef GL_KHR_context_flush_control
+#define GL_CONTEXT_RELEASE_BEHAVIOR       0x82FB
+#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
+#endif /* GL_KHR_context_flush_control */
+
+#ifndef GL_ARB_geometry_shader4
+#define GL_ARB_geometry_shader4 1
+#define GL_LINES_ADJACENCY_ARB            0x000A
+#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
+#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
+#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
+#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
+#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
+#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
+#define GL_GEOMETRY_SHADER_ARB            0x8DD9
+#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
+#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
+#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
+#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
+#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
+#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
+#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
+#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
+GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#endif
+#endif /* GL_ARB_geometry_shader4 */
+
+#ifndef GL_ARB_get_program_binary
+#define GL_ARB_get_program_binary 1
+#endif /* GL_ARB_get_program_binary */
+
+#ifndef GL_ARB_gpu_shader5
+#define GL_ARB_gpu_shader5 1
+#endif /* GL_ARB_gpu_shader5 */
+
+#ifndef GL_ARB_gpu_shader_fp64
+#define GL_ARB_gpu_shader_fp64 1
+#endif /* GL_ARB_gpu_shader_fp64 */
+
+#ifndef GL_ARB_half_float_pixel
+#define GL_ARB_half_float_pixel 1
+typedef unsigned short GLhalfARB;
+#define GL_HALF_FLOAT_ARB                 0x140B
+#endif /* GL_ARB_half_float_pixel */
+
+#ifndef GL_ARB_half_float_vertex
+#define GL_ARB_half_float_vertex 1
+#endif /* GL_ARB_half_float_vertex */
+
+#ifndef GL_ARB_imaging
+#define GL_ARB_imaging 1
+#define GL_BLEND_COLOR                    0x8005
+#define GL_BLEND_EQUATION                 0x8009
+#define GL_CONVOLUTION_1D                 0x8010
+#define GL_CONVOLUTION_2D                 0x8011
+#define GL_SEPARABLE_2D                   0x8012
+#define GL_CONVOLUTION_BORDER_MODE        0x8013
+#define GL_CONVOLUTION_FILTER_SCALE       0x8014
+#define GL_CONVOLUTION_FILTER_BIAS        0x8015
+#define GL_REDUCE                         0x8016
+#define GL_CONVOLUTION_FORMAT             0x8017
+#define GL_CONVOLUTION_WIDTH              0x8018
+#define GL_CONVOLUTION_HEIGHT             0x8019
+#define GL_MAX_CONVOLUTION_WIDTH          0x801A
+#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
+#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
+#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
+#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
+#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
+#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
+#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
+#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
+#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
+#define GL_HISTOGRAM                      0x8024
+#define GL_PROXY_HISTOGRAM                0x8025
+#define GL_HISTOGRAM_WIDTH                0x8026
+#define GL_HISTOGRAM_FORMAT               0x8027
+#define GL_HISTOGRAM_RED_SIZE             0x8028
+#define GL_HISTOGRAM_GREEN_SIZE           0x8029
+#define GL_HISTOGRAM_BLUE_SIZE            0x802A
+#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
+#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
+#define GL_HISTOGRAM_SINK                 0x802D
+#define GL_MINMAX                         0x802E
+#define GL_MINMAX_FORMAT                  0x802F
+#define GL_MINMAX_SINK                    0x8030
+#define GL_TABLE_TOO_LARGE                0x8031
+#define GL_COLOR_MATRIX                   0x80B1
+#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
+#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
+#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
+#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
+#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
+#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
+#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
+#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
+#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
+#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
+#define GL_COLOR_TABLE                    0x80D0
+#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
+#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
+#define GL_PROXY_COLOR_TABLE              0x80D3
+#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
+#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
+#define GL_COLOR_TABLE_SCALE              0x80D6
+#define GL_COLOR_TABLE_BIAS               0x80D7
+#define GL_COLOR_TABLE_FORMAT             0x80D8
+#define GL_COLOR_TABLE_WIDTH              0x80D9
+#define GL_COLOR_TABLE_RED_SIZE           0x80DA
+#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
+#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
+#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
+#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
+#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
+#define GL_CONSTANT_BORDER                0x8151
+#define GL_REPLICATE_BORDER               0x8153
+#define GL_CONVOLUTION_BORDER_COLOR       0x8154
+typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
+GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
+GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
+GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
+GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glResetHistogram (GLenum target);
+GLAPI void APIENTRY glResetMinmax (GLenum target);
+#endif
+#endif /* GL_ARB_imaging */
+
+#ifndef GL_ARB_indirect_parameters
+#define GL_ARB_indirect_parameters 1
+#define GL_PARAMETER_BUFFER_ARB           0x80EE
+#define GL_PARAMETER_BUFFER_BINDING_ARB   0x80EF
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+#endif
+#endif /* GL_ARB_indirect_parameters */
+
+#ifndef GL_ARB_instanced_arrays
+#define GL_ARB_instanced_arrays 1
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
+typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
+#endif
+#endif /* GL_ARB_instanced_arrays */
+
+#ifndef GL_ARB_internalformat_query
+#define GL_ARB_internalformat_query 1
+#endif /* GL_ARB_internalformat_query */
+
+#ifndef GL_ARB_internalformat_query2
+#define GL_ARB_internalformat_query2 1
+#define GL_SRGB_DECODE_ARB                0x8299
+#endif /* GL_ARB_internalformat_query2 */
+
+#ifndef GL_ARB_invalidate_subdata
+#define GL_ARB_invalidate_subdata 1
+#endif /* GL_ARB_invalidate_subdata */
+
+#ifndef GL_ARB_map_buffer_alignment
+#define GL_ARB_map_buffer_alignment 1
+#endif /* GL_ARB_map_buffer_alignment */
+
+#ifndef GL_ARB_map_buffer_range
+#define GL_ARB_map_buffer_range 1
+#endif /* GL_ARB_map_buffer_range */
+
+#ifndef GL_ARB_matrix_palette
+#define GL_ARB_matrix_palette 1
+#define GL_MATRIX_PALETTE_ARB             0x8840
+#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
+#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
+#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
+#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
+#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
+#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
+#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
+#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
+#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
+typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
+typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
+typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
+typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
+typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
+GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
+GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
+GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
+GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_ARB_matrix_palette */
+
+#ifndef GL_ARB_multi_bind
+#define GL_ARB_multi_bind 1
+#endif /* GL_ARB_multi_bind */
+
+#ifndef GL_ARB_multi_draw_indirect
+#define GL_ARB_multi_draw_indirect 1
+#endif /* GL_ARB_multi_draw_indirect */
+
+#ifndef GL_ARB_multisample
+#define GL_ARB_multisample 1
+#define GL_MULTISAMPLE_ARB                0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
+#define GL_SAMPLE_COVERAGE_ARB            0x80A0
+#define GL_SAMPLE_BUFFERS_ARB             0x80A8
+#define GL_SAMPLES_ARB                    0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
+#define GL_MULTISAMPLE_BIT_ARB            0x20000000
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
+#endif
+#endif /* GL_ARB_multisample */
+
+#ifndef GL_ARB_multitexture
+#define GL_ARB_multitexture 1
+#define GL_TEXTURE0_ARB                   0x84C0
+#define GL_TEXTURE1_ARB                   0x84C1
+#define GL_TEXTURE2_ARB                   0x84C2
+#define GL_TEXTURE3_ARB                   0x84C3
+#define GL_TEXTURE4_ARB                   0x84C4
+#define GL_TEXTURE5_ARB                   0x84C5
+#define GL_TEXTURE6_ARB                   0x84C6
+#define GL_TEXTURE7_ARB                   0x84C7
+#define GL_TEXTURE8_ARB                   0x84C8
+#define GL_TEXTURE9_ARB                   0x84C9
+#define GL_TEXTURE10_ARB                  0x84CA
+#define GL_TEXTURE11_ARB                  0x84CB
+#define GL_TEXTURE12_ARB                  0x84CC
+#define GL_TEXTURE13_ARB                  0x84CD
+#define GL_TEXTURE14_ARB                  0x84CE
+#define GL_TEXTURE15_ARB                  0x84CF
+#define GL_TEXTURE16_ARB                  0x84D0
+#define GL_TEXTURE17_ARB                  0x84D1
+#define GL_TEXTURE18_ARB                  0x84D2
+#define GL_TEXTURE19_ARB                  0x84D3
+#define GL_TEXTURE20_ARB                  0x84D4
+#define GL_TEXTURE21_ARB                  0x84D5
+#define GL_TEXTURE22_ARB                  0x84D6
+#define GL_TEXTURE23_ARB                  0x84D7
+#define GL_TEXTURE24_ARB                  0x84D8
+#define GL_TEXTURE25_ARB                  0x84D9
+#define GL_TEXTURE26_ARB                  0x84DA
+#define GL_TEXTURE27_ARB                  0x84DB
+#define GL_TEXTURE28_ARB                  0x84DC
+#define GL_TEXTURE29_ARB                  0x84DD
+#define GL_TEXTURE30_ARB                  0x84DE
+#define GL_TEXTURE31_ARB                  0x84DF
+#define GL_ACTIVE_TEXTURE_ARB             0x84E0
+#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
+#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
+typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
+GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
+GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
+GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
+GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
+GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
+GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
+GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
+GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
+GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
+GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
+GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
+GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
+GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
+#endif
+#endif /* GL_ARB_multitexture */
+
+#ifndef GL_ARB_occlusion_query
+#define GL_ARB_occlusion_query 1
+#define GL_QUERY_COUNTER_BITS_ARB         0x8864
+#define GL_CURRENT_QUERY_ARB              0x8865
+#define GL_QUERY_RESULT_ARB               0x8866
+#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
+#define GL_SAMPLES_PASSED_ARB             0x8914
+typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
+typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
+GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
+GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
+GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
+GLAPI void APIENTRY glEndQueryARB (GLenum target);
+GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
+#endif
+#endif /* GL_ARB_occlusion_query */
+
+#ifndef GL_ARB_occlusion_query2
+#define GL_ARB_occlusion_query2 1
+#endif /* GL_ARB_occlusion_query2 */
+
+#ifndef GL_ARB_pixel_buffer_object
+#define GL_ARB_pixel_buffer_object 1
+#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
+#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
+#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
+#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
+#endif /* GL_ARB_pixel_buffer_object */
+
+#ifndef GL_ARB_point_parameters
+#define GL_ARB_point_parameters 1
+#define GL_POINT_SIZE_MIN_ARB             0x8126
+#define GL_POINT_SIZE_MAX_ARB             0x8127
+#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
+#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
+#endif
+#endif /* GL_ARB_point_parameters */
+
+#ifndef GL_ARB_point_sprite
+#define GL_ARB_point_sprite 1
+#define GL_POINT_SPRITE_ARB               0x8861
+#define GL_COORD_REPLACE_ARB              0x8862
+#endif /* GL_ARB_point_sprite */
+
+#ifndef GL_ARB_program_interface_query
+#define GL_ARB_program_interface_query 1
+#endif /* GL_ARB_program_interface_query */
+
+#ifndef GL_ARB_provoking_vertex
+#define GL_ARB_provoking_vertex 1
+#endif /* GL_ARB_provoking_vertex */
+
+#ifndef GL_ARB_query_buffer_object
+#define GL_ARB_query_buffer_object 1
+#endif /* GL_ARB_query_buffer_object */
+
+#ifndef GL_ARB_robust_buffer_access_behavior
+#define GL_ARB_robust_buffer_access_behavior 1
+#endif /* GL_ARB_robust_buffer_access_behavior */
+
+#ifndef GL_ARB_robustness
+#define GL_ARB_robustness 1
+#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
+#define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
+#define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
+#define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
+#define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
+#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
+#define GL_NO_RESET_NOTIFICATION_ARB      0x8261
+typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
+typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
+typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
+typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
+typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
+typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
+typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
+typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
+typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
+typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
+typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
+typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
+typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
+typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
+typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
+typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
+GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
+GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
+GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
+GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
+GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
+GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
+GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
+GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
+GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
+GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
+GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
+GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
+GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
+GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
+GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
+GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+#endif
+#endif /* GL_ARB_robustness */
+
+#ifndef GL_ARB_robustness_isolation
+#define GL_ARB_robustness_isolation 1
+#endif /* GL_ARB_robustness_isolation */
+
+#ifndef GL_ARB_sample_shading
+#define GL_ARB_sample_shading 1
+#define GL_SAMPLE_SHADING_ARB             0x8C36
+#define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
+typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
+#endif
+#endif /* GL_ARB_sample_shading */
+
+#ifndef GL_ARB_sampler_objects
+#define GL_ARB_sampler_objects 1
+#endif /* GL_ARB_sampler_objects */
+
+#ifndef GL_ARB_seamless_cube_map
+#define GL_ARB_seamless_cube_map 1
+#endif /* GL_ARB_seamless_cube_map */
+
+#ifndef GL_ARB_seamless_cubemap_per_texture
+#define GL_ARB_seamless_cubemap_per_texture 1
+#endif /* GL_ARB_seamless_cubemap_per_texture */
+
+#ifndef GL_ARB_separate_shader_objects
+#define GL_ARB_separate_shader_objects 1
+#endif /* GL_ARB_separate_shader_objects */
+
+#ifndef GL_ARB_shader_atomic_counters
+#define GL_ARB_shader_atomic_counters 1
+#endif /* GL_ARB_shader_atomic_counters */
+
+#ifndef GL_ARB_shader_bit_encoding
+#define GL_ARB_shader_bit_encoding 1
+#endif /* GL_ARB_shader_bit_encoding */
+
+#ifndef GL_ARB_shader_draw_parameters
+#define GL_ARB_shader_draw_parameters 1
+#endif /* GL_ARB_shader_draw_parameters */
+
+#ifndef GL_ARB_shader_group_vote
+#define GL_ARB_shader_group_vote 1
+#endif /* GL_ARB_shader_group_vote */
+
+#ifndef GL_ARB_shader_image_load_store
+#define GL_ARB_shader_image_load_store 1
+#endif /* GL_ARB_shader_image_load_store */
+
+#ifndef GL_ARB_shader_image_size
+#define GL_ARB_shader_image_size 1
+#endif /* GL_ARB_shader_image_size */
+
+#ifndef GL_ARB_shader_objects
+#define GL_ARB_shader_objects 1
+#ifdef __APPLE__
+typedef void *GLhandleARB;
+#else
+typedef unsigned int GLhandleARB;
+#endif
+typedef char GLcharARB;
+#define GL_PROGRAM_OBJECT_ARB             0x8B40
+#define GL_SHADER_OBJECT_ARB              0x8B48
+#define GL_OBJECT_TYPE_ARB                0x8B4E
+#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
+#define GL_FLOAT_VEC2_ARB                 0x8B50
+#define GL_FLOAT_VEC3_ARB                 0x8B51
+#define GL_FLOAT_VEC4_ARB                 0x8B52
+#define GL_INT_VEC2_ARB                   0x8B53
+#define GL_INT_VEC3_ARB                   0x8B54
+#define GL_INT_VEC4_ARB                   0x8B55
+#define GL_BOOL_ARB                       0x8B56
+#define GL_BOOL_VEC2_ARB                  0x8B57
+#define GL_BOOL_VEC3_ARB                  0x8B58
+#define GL_BOOL_VEC4_ARB                  0x8B59
+#define GL_FLOAT_MAT2_ARB                 0x8B5A
+#define GL_FLOAT_MAT3_ARB                 0x8B5B
+#define GL_FLOAT_MAT4_ARB                 0x8B5C
+#define GL_SAMPLER_1D_ARB                 0x8B5D
+#define GL_SAMPLER_2D_ARB                 0x8B5E
+#define GL_SAMPLER_3D_ARB                 0x8B5F
+#define GL_SAMPLER_CUBE_ARB               0x8B60
+#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
+#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
+#define GL_SAMPLER_2D_RECT_ARB            0x8B63
+#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
+#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
+#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
+#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
+#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
+#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
+#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
+#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
+#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
+#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
+typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
+typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
+typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
+typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
+typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
+typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
+typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
+typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
+typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
+typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
+typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
+typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
+typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
+typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
+typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
+GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
+GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
+GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
+GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
+GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
+GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
+GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
+GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
+GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
+GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
+GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
+GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
+GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
+GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
+GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
+GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
+GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
+GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
+#endif
+#endif /* GL_ARB_shader_objects */
+
+#ifndef GL_ARB_shader_precision
+#define GL_ARB_shader_precision 1
+#endif /* GL_ARB_shader_precision */
+
+#ifndef GL_ARB_shader_stencil_export
+#define GL_ARB_shader_stencil_export 1
+#endif /* GL_ARB_shader_stencil_export */
+
+#ifndef GL_ARB_shader_storage_buffer_object
+#define GL_ARB_shader_storage_buffer_object 1
+#endif /* GL_ARB_shader_storage_buffer_object */
+
+#ifndef GL_ARB_shader_subroutine
+#define GL_ARB_shader_subroutine 1
+#endif /* GL_ARB_shader_subroutine */
+
+#ifndef GL_ARB_shader_texture_lod
+#define GL_ARB_shader_texture_lod 1
+#endif /* GL_ARB_shader_texture_lod */
+
+#ifndef GL_ARB_shading_language_100
+#define GL_ARB_shading_language_100 1
+#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
+#endif /* GL_ARB_shading_language_100 */
+
+#ifndef GL_ARB_shading_language_420pack
+#define GL_ARB_shading_language_420pack 1
+#endif /* GL_ARB_shading_language_420pack */
+
+#ifndef GL_ARB_shading_language_include
+#define GL_ARB_shading_language_include 1
+#define GL_SHADER_INCLUDE_ARB             0x8DAE
+#define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
+#define GL_NAMED_STRING_TYPE_ARB          0x8DEA
+typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
+typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
+typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
+typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
+typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
+GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
+GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
+GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
+GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
+GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
+#endif
+#endif /* GL_ARB_shading_language_include */
+
+#ifndef GL_ARB_shading_language_packing
+#define GL_ARB_shading_language_packing 1
+#endif /* GL_ARB_shading_language_packing */
+
+#ifndef GL_ARB_shadow
+#define GL_ARB_shadow 1
+#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
+#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
+#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
+#endif /* GL_ARB_shadow */
+
+#ifndef GL_ARB_shadow_ambient
+#define GL_ARB_shadow_ambient 1
+#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
+#endif /* GL_ARB_shadow_ambient */
+
+#ifndef GL_ARB_sparse_texture
+#define GL_ARB_sparse_texture 1
+#define GL_TEXTURE_SPARSE_ARB             0x91A6
+#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB    0x91A7
+#define GL_MIN_SPARSE_LEVEL_ARB           0x919B
+#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB     0x91A8
+#define GL_VIRTUAL_PAGE_SIZE_X_ARB        0x9195
+#define GL_VIRTUAL_PAGE_SIZE_Y_ARB        0x9196
+#define GL_VIRTUAL_PAGE_SIZE_Z_ARB        0x9197
+#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB    0x9198
+#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
+#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
+#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
+typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+#endif
+#endif /* GL_ARB_sparse_texture */
+
+#ifndef GL_ARB_stencil_texturing
+#define GL_ARB_stencil_texturing 1
+#endif /* GL_ARB_stencil_texturing */
+
+#ifndef GL_ARB_sync
+#define GL_ARB_sync 1
+#endif /* GL_ARB_sync */
+
+#ifndef GL_ARB_tessellation_shader
+#define GL_ARB_tessellation_shader 1
+#endif /* GL_ARB_tessellation_shader */
+
+#ifndef GL_ARB_texture_border_clamp
+#define GL_ARB_texture_border_clamp 1
+#define GL_CLAMP_TO_BORDER_ARB            0x812D
+#endif /* GL_ARB_texture_border_clamp */
+
+#ifndef GL_ARB_texture_buffer_object
+#define GL_ARB_texture_buffer_object 1
+#define GL_TEXTURE_BUFFER_ARB             0x8C2A
+#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
+#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
+#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
+#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
+typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
+#endif
+#endif /* GL_ARB_texture_buffer_object */
+
+#ifndef GL_ARB_texture_buffer_object_rgb32
+#define GL_ARB_texture_buffer_object_rgb32 1
+#endif /* GL_ARB_texture_buffer_object_rgb32 */
+
+#ifndef GL_ARB_texture_buffer_range
+#define GL_ARB_texture_buffer_range 1
+#endif /* GL_ARB_texture_buffer_range */
+
+#ifndef GL_ARB_texture_compression
+#define GL_ARB_texture_compression 1
+#define GL_COMPRESSED_ALPHA_ARB           0x84E9
+#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
+#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
+#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
+#define GL_COMPRESSED_RGB_ARB             0x84ED
+#define GL_COMPRESSED_RGBA_ARB            0x84EE
+#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
+#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
+#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
+#endif
+#endif /* GL_ARB_texture_compression */
+
+#ifndef GL_ARB_texture_compression_bptc
+#define GL_ARB_texture_compression_bptc 1
+#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
+#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
+#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
+#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
+#endif /* GL_ARB_texture_compression_bptc */
+
+#ifndef GL_ARB_texture_compression_rgtc
+#define GL_ARB_texture_compression_rgtc 1
+#endif /* GL_ARB_texture_compression_rgtc */
+
+#ifndef GL_ARB_texture_cube_map
+#define GL_ARB_texture_cube_map 1
+#define GL_NORMAL_MAP_ARB                 0x8511
+#define GL_REFLECTION_MAP_ARB             0x8512
+#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
+#endif /* GL_ARB_texture_cube_map */
+
+#ifndef GL_ARB_texture_cube_map_array
+#define GL_ARB_texture_cube_map_array 1
+#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
+#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
+#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
+#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
+#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
+#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
+#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
+#endif /* GL_ARB_texture_cube_map_array */
+
+#ifndef GL_ARB_texture_env_add
+#define GL_ARB_texture_env_add 1
+#endif /* GL_ARB_texture_env_add */
+
+#ifndef GL_ARB_texture_env_combine
+#define GL_ARB_texture_env_combine 1
+#define GL_COMBINE_ARB                    0x8570
+#define GL_COMBINE_RGB_ARB                0x8571
+#define GL_COMBINE_ALPHA_ARB              0x8572
+#define GL_SOURCE0_RGB_ARB                0x8580
+#define GL_SOURCE1_RGB_ARB                0x8581
+#define GL_SOURCE2_RGB_ARB                0x8582
+#define GL_SOURCE0_ALPHA_ARB              0x8588
+#define GL_SOURCE1_ALPHA_ARB              0x8589
+#define GL_SOURCE2_ALPHA_ARB              0x858A
+#define GL_OPERAND0_RGB_ARB               0x8590
+#define GL_OPERAND1_RGB_ARB               0x8591
+#define GL_OPERAND2_RGB_ARB               0x8592
+#define GL_OPERAND0_ALPHA_ARB             0x8598
+#define GL_OPERAND1_ALPHA_ARB             0x8599
+#define GL_OPERAND2_ALPHA_ARB             0x859A
+#define GL_RGB_SCALE_ARB                  0x8573
+#define GL_ADD_SIGNED_ARB                 0x8574
+#define GL_INTERPOLATE_ARB                0x8575
+#define GL_SUBTRACT_ARB                   0x84E7
+#define GL_CONSTANT_ARB                   0x8576
+#define GL_PRIMARY_COLOR_ARB              0x8577
+#define GL_PREVIOUS_ARB                   0x8578
+#endif /* GL_ARB_texture_env_combine */
+
+#ifndef GL_ARB_texture_env_crossbar
+#define GL_ARB_texture_env_crossbar 1
+#endif /* GL_ARB_texture_env_crossbar */
+
+#ifndef GL_ARB_texture_env_dot3
+#define GL_ARB_texture_env_dot3 1
+#define GL_DOT3_RGB_ARB                   0x86AE
+#define GL_DOT3_RGBA_ARB                  0x86AF
+#endif /* GL_ARB_texture_env_dot3 */
+
+#ifndef GL_ARB_texture_float
+#define GL_ARB_texture_float 1
+#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
+#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
+#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
+#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
+#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
+#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
+#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
+#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
+#define GL_RGBA32F_ARB                    0x8814
+#define GL_RGB32F_ARB                     0x8815
+#define GL_ALPHA32F_ARB                   0x8816
+#define GL_INTENSITY32F_ARB               0x8817
+#define GL_LUMINANCE32F_ARB               0x8818
+#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
+#define GL_RGBA16F_ARB                    0x881A
+#define GL_RGB16F_ARB                     0x881B
+#define GL_ALPHA16F_ARB                   0x881C
+#define GL_INTENSITY16F_ARB               0x881D
+#define GL_LUMINANCE16F_ARB               0x881E
+#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
+#endif /* GL_ARB_texture_float */
+
+#ifndef GL_ARB_texture_gather
+#define GL_ARB_texture_gather 1
+#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
+#endif /* GL_ARB_texture_gather */
+
+#ifndef GL_ARB_texture_mirror_clamp_to_edge
+#define GL_ARB_texture_mirror_clamp_to_edge 1
+#endif /* GL_ARB_texture_mirror_clamp_to_edge */
+
+#ifndef GL_ARB_texture_mirrored_repeat
+#define GL_ARB_texture_mirrored_repeat 1
+#define GL_MIRRORED_REPEAT_ARB            0x8370
+#endif /* GL_ARB_texture_mirrored_repeat */
+
+#ifndef GL_ARB_texture_multisample
+#define GL_ARB_texture_multisample 1
+#endif /* GL_ARB_texture_multisample */
+
+#ifndef GL_ARB_texture_non_power_of_two
+#define GL_ARB_texture_non_power_of_two 1
+#endif /* GL_ARB_texture_non_power_of_two */
+
+#ifndef GL_ARB_texture_query_levels
+#define GL_ARB_texture_query_levels 1
+#endif /* GL_ARB_texture_query_levels */
+
+#ifndef GL_ARB_texture_query_lod
+#define GL_ARB_texture_query_lod 1
+#endif /* GL_ARB_texture_query_lod */
+
+#ifndef GL_ARB_texture_rectangle
+#define GL_ARB_texture_rectangle 1
+#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
+#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
+#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
+#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
+#endif /* GL_ARB_texture_rectangle */
+
+#ifndef GL_ARB_texture_rg
+#define GL_ARB_texture_rg 1
+#endif /* GL_ARB_texture_rg */
+
+#ifndef GL_ARB_texture_rgb10_a2ui
+#define GL_ARB_texture_rgb10_a2ui 1
+#endif /* GL_ARB_texture_rgb10_a2ui */
+
+#ifndef GL_ARB_texture_stencil8
+#define GL_ARB_texture_stencil8 1
+#endif /* GL_ARB_texture_stencil8 */
+
+#ifndef GL_ARB_texture_storage
+#define GL_ARB_texture_storage 1
+#endif /* GL_ARB_texture_storage */
+
+#ifndef GL_ARB_texture_storage_multisample
+#define GL_ARB_texture_storage_multisample 1
+#endif /* GL_ARB_texture_storage_multisample */
+
+#ifndef GL_ARB_texture_swizzle
+#define GL_ARB_texture_swizzle 1
+#endif /* GL_ARB_texture_swizzle */
+
+#ifndef GL_ARB_texture_view
+#define GL_ARB_texture_view 1
+#endif /* GL_ARB_texture_view */
+
+#ifndef GL_ARB_timer_query
+#define GL_ARB_timer_query 1
+#endif /* GL_ARB_timer_query */
+
+#ifndef GL_ARB_transform_feedback2
+#define GL_ARB_transform_feedback2 1
+#define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
+#define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
+#endif /* GL_ARB_transform_feedback2 */
+
+#ifndef GL_ARB_transform_feedback3
+#define GL_ARB_transform_feedback3 1
+#endif /* GL_ARB_transform_feedback3 */
+
+#ifndef GL_ARB_transform_feedback_instanced
+#define GL_ARB_transform_feedback_instanced 1
+#endif /* GL_ARB_transform_feedback_instanced */
+
+#ifndef GL_ARB_transpose_matrix
+#define GL_ARB_transpose_matrix 1
+#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
+#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
+#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
+#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
+GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
+GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
+GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
+#endif
+#endif /* GL_ARB_transpose_matrix */
+
+#ifndef GL_ARB_uniform_buffer_object
+#define GL_ARB_uniform_buffer_object 1
+#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
+#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
+#endif /* GL_ARB_uniform_buffer_object */
+
+#ifndef GL_ARB_vertex_array_bgra
+#define GL_ARB_vertex_array_bgra 1
+#endif /* GL_ARB_vertex_array_bgra */
+
+#ifndef GL_ARB_vertex_array_object
+#define GL_ARB_vertex_array_object 1
+#endif /* GL_ARB_vertex_array_object */
+
+#ifndef GL_ARB_vertex_attrib_64bit
+#define GL_ARB_vertex_attrib_64bit 1
+#endif /* GL_ARB_vertex_attrib_64bit */
+
+#ifndef GL_ARB_vertex_attrib_binding
+#define GL_ARB_vertex_attrib_binding 1
+#endif /* GL_ARB_vertex_attrib_binding */
+
+#ifndef GL_ARB_vertex_blend
+#define GL_ARB_vertex_blend 1
+#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
+#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
+#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
+#define GL_VERTEX_BLEND_ARB               0x86A7
+#define GL_CURRENT_WEIGHT_ARB             0x86A8
+#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
+#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
+#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
+#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
+#define GL_WEIGHT_ARRAY_ARB               0x86AD
+#define GL_MODELVIEW0_ARB                 0x1700
+#define GL_MODELVIEW1_ARB                 0x850A
+#define GL_MODELVIEW2_ARB                 0x8722
+#define GL_MODELVIEW3_ARB                 0x8723
+#define GL_MODELVIEW4_ARB                 0x8724
+#define GL_MODELVIEW5_ARB                 0x8725
+#define GL_MODELVIEW6_ARB                 0x8726
+#define GL_MODELVIEW7_ARB                 0x8727
+#define GL_MODELVIEW8_ARB                 0x8728
+#define GL_MODELVIEW9_ARB                 0x8729
+#define GL_MODELVIEW10_ARB                0x872A
+#define GL_MODELVIEW11_ARB                0x872B
+#define GL_MODELVIEW12_ARB                0x872C
+#define GL_MODELVIEW13_ARB                0x872D
+#define GL_MODELVIEW14_ARB                0x872E
+#define GL_MODELVIEW15_ARB                0x872F
+#define GL_MODELVIEW16_ARB                0x8730
+#define GL_MODELVIEW17_ARB                0x8731
+#define GL_MODELVIEW18_ARB                0x8732
+#define GL_MODELVIEW19_ARB                0x8733
+#define GL_MODELVIEW20_ARB                0x8734
+#define GL_MODELVIEW21_ARB                0x8735
+#define GL_MODELVIEW22_ARB                0x8736
+#define GL_MODELVIEW23_ARB                0x8737
+#define GL_MODELVIEW24_ARB                0x8738
+#define GL_MODELVIEW25_ARB                0x8739
+#define GL_MODELVIEW26_ARB                0x873A
+#define GL_MODELVIEW27_ARB                0x873B
+#define GL_MODELVIEW28_ARB                0x873C
+#define GL_MODELVIEW29_ARB                0x873D
+#define GL_MODELVIEW30_ARB                0x873E
+#define GL_MODELVIEW31_ARB                0x873F
+typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
+typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
+typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
+typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
+typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
+typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
+typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
+typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
+typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
+GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
+GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
+GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
+GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
+GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
+GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
+GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
+GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glVertexBlendARB (GLint count);
+#endif
+#endif /* GL_ARB_vertex_blend */
+
+#ifndef GL_ARB_vertex_buffer_object
+#define GL_ARB_vertex_buffer_object 1
+#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
+typedef long GLsizeiptrARB;
+typedef long GLintptrARB;
+#else
+typedef ptrdiff_t GLsizeiptrARB;
+typedef ptrdiff_t GLintptrARB;
+#endif
+#define GL_BUFFER_SIZE_ARB                0x8764
+#define GL_BUFFER_USAGE_ARB               0x8765
+#define GL_ARRAY_BUFFER_ARB               0x8892
+#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
+#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
+#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
+#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
+#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
+#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
+#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
+#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
+#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
+#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
+#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
+#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
+#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
+#define GL_READ_ONLY_ARB                  0x88B8
+#define GL_WRITE_ONLY_ARB                 0x88B9
+#define GL_READ_WRITE_ARB                 0x88BA
+#define GL_BUFFER_ACCESS_ARB              0x88BB
+#define GL_BUFFER_MAPPED_ARB              0x88BC
+#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
+#define GL_STREAM_DRAW_ARB                0x88E0
+#define GL_STREAM_READ_ARB                0x88E1
+#define GL_STREAM_COPY_ARB                0x88E2
+#define GL_STATIC_DRAW_ARB                0x88E4
+#define GL_STATIC_READ_ARB                0x88E5
+#define GL_STATIC_COPY_ARB                0x88E6
+#define GL_DYNAMIC_DRAW_ARB               0x88E8
+#define GL_DYNAMIC_READ_ARB               0x88E9
+#define GL_DYNAMIC_COPY_ARB               0x88EA
+typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
+typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
+typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
+typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
+typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
+typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
+typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
+typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
+GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
+GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
+GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
+GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
+GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
+GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
+GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
+GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
+GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
+#endif
+#endif /* GL_ARB_vertex_buffer_object */
+
+#ifndef GL_ARB_vertex_program
+#define GL_ARB_vertex_program 1
+#define GL_COLOR_SUM_ARB                  0x8458
+#define GL_VERTEX_PROGRAM_ARB             0x8620
+#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
+#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
+#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
+#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
+#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
+#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
+#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
+#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
+#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
+#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
+#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
+#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
+#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
+#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
+GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
+GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
+GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
+GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
+#endif
+#endif /* GL_ARB_vertex_program */
+
+#ifndef GL_ARB_vertex_shader
+#define GL_ARB_vertex_shader 1
+#define GL_VERTEX_SHADER_ARB              0x8B31
+#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
+#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
+#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
+#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
+#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
+typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
+typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
+GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
+#endif
+#endif /* GL_ARB_vertex_shader */
+
+#ifndef GL_ARB_vertex_type_10f_11f_11f_rev
+#define GL_ARB_vertex_type_10f_11f_11f_rev 1
+#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
+
+#ifndef GL_ARB_vertex_type_2_10_10_10_rev
+#define GL_ARB_vertex_type_2_10_10_10_rev 1
+#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
+
+#ifndef GL_ARB_viewport_array
+#define GL_ARB_viewport_array 1
+#endif /* GL_ARB_viewport_array */
+
+#ifndef GL_ARB_window_pos
+#define GL_ARB_window_pos 1
+typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
+GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
+GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
+GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
+GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
+GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
+GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
+GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
+#endif
+#endif /* GL_ARB_window_pos */
+
+#ifndef GL_KHR_debug
+#define GL_KHR_debug 1
+#endif /* GL_KHR_debug */
+
+#ifndef GL_KHR_texture_compression_astc_hdr
+#define GL_KHR_texture_compression_astc_hdr 1
+#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
+#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
+#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
+#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
+#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
+#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
+#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
+#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
+#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
+#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
+#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
+#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
+#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
+#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
+#endif /* GL_KHR_texture_compression_astc_hdr */
+
+#ifndef GL_KHR_texture_compression_astc_ldr
+#define GL_KHR_texture_compression_astc_ldr 1
+#endif /* GL_KHR_texture_compression_astc_ldr */
+
+#ifndef GL_OES_byte_coordinates
+#define GL_OES_byte_coordinates 1
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
+typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
+typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
+typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
+typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
+typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
+typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
+GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
+GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
+GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
+GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
+GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
+GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glVertex2bOES (GLbyte x);
+GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
+GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
+GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
+#endif
+#endif /* GL_OES_byte_coordinates */
+
+#ifndef GL_OES_compressed_paletted_texture
+#define GL_OES_compressed_paletted_texture 1
+#define GL_PALETTE4_RGB8_OES              0x8B90
+#define GL_PALETTE4_RGBA8_OES             0x8B91
+#define GL_PALETTE4_R5_G6_B5_OES          0x8B92
+#define GL_PALETTE4_RGBA4_OES             0x8B93
+#define GL_PALETTE4_RGB5_A1_OES           0x8B94
+#define GL_PALETTE8_RGB8_OES              0x8B95
+#define GL_PALETTE8_RGBA8_OES             0x8B96
+#define GL_PALETTE8_R5_G6_B5_OES          0x8B97
+#define GL_PALETTE8_RGBA4_OES             0x8B98
+#define GL_PALETTE8_RGB5_A1_OES           0x8B99
+#endif /* GL_OES_compressed_paletted_texture */
+
+#ifndef GL_OES_fixed_point
+#define GL_OES_fixed_point 1
+typedef GLint GLfixed;
+#define GL_FIXED_OES                      0x140C
+typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
+typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
+typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
+typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
+typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
+typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
+typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
+typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
+typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
+typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
+typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
+typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
+typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
+typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
+typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
+typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
+typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
+typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
+typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
+typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
+typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
+typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
+typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
+typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
+typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
+typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
+typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
+typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
+typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
+typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
+typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
+typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
+typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
+typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
+typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
+typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
+typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
+typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
+typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
+GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
+GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
+GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
+GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
+GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
+GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
+GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
+GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
+GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
+GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glPointSizexOES (GLfixed size);
+GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
+GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
+GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
+GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
+GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
+GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
+GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
+GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
+GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
+GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
+GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
+GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
+GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glIndexxOES (GLfixed component);
+GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
+GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
+GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
+GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
+GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
+GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
+GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
+GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
+GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
+GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
+GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
+GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
+GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
+GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
+GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
+GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
+GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
+GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
+GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
+GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glVertex2xOES (GLfixed x);
+GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
+GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
+#endif
+#endif /* GL_OES_fixed_point */
+
+#ifndef GL_OES_query_matrix
+#define GL_OES_query_matrix 1
+typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
+#endif
+#endif /* GL_OES_query_matrix */
+
+#ifndef GL_OES_read_format
+#define GL_OES_read_format 1
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
+#endif /* GL_OES_read_format */
+
+#ifndef GL_OES_single_precision
+#define GL_OES_single_precision 1
+typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
+typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
+typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
+typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
+typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
+GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
+GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
+GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
+GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+#endif
+#endif /* GL_OES_single_precision */
+
+#ifndef GL_3DFX_multisample
+#define GL_3DFX_multisample 1
+#define GL_MULTISAMPLE_3DFX               0x86B2
+#define GL_SAMPLE_BUFFERS_3DFX            0x86B3
+#define GL_SAMPLES_3DFX                   0x86B4
+#define GL_MULTISAMPLE_BIT_3DFX           0x20000000
+#endif /* GL_3DFX_multisample */
+
+#ifndef GL_3DFX_tbuffer
+#define GL_3DFX_tbuffer 1
+typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
+#endif
+#endif /* GL_3DFX_tbuffer */
+
+#ifndef GL_3DFX_texture_compression_FXT1
+#define GL_3DFX_texture_compression_FXT1 1
+#define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
+#define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
+#endif /* GL_3DFX_texture_compression_FXT1 */
+
+#ifndef GL_AMD_blend_minmax_factor
+#define GL_AMD_blend_minmax_factor 1
+#define GL_FACTOR_MIN_AMD                 0x901C
+#define GL_FACTOR_MAX_AMD                 0x901D
+#endif /* GL_AMD_blend_minmax_factor */
+
+#ifndef GL_AMD_conservative_depth
+#define GL_AMD_conservative_depth 1
+#endif /* GL_AMD_conservative_depth */
+
+#ifndef GL_AMD_debug_output
+#define GL_AMD_debug_output 1
+typedef void (APIENTRY  *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
+#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD   0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD  0x9144
+#define GL_DEBUG_LOGGED_MESSAGES_AMD      0x9145
+#define GL_DEBUG_SEVERITY_HIGH_AMD        0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM_AMD      0x9147
+#define GL_DEBUG_SEVERITY_LOW_AMD         0x9148
+#define GL_DEBUG_CATEGORY_API_ERROR_AMD   0x9149
+#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
+#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
+#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
+#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
+#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
+#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
+#define GL_DEBUG_CATEGORY_OTHER_AMD       0x9150
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
+typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
+GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
+GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
+#endif
+#endif /* GL_AMD_debug_output */
+
+#ifndef GL_AMD_depth_clamp_separate
+#define GL_AMD_depth_clamp_separate 1
+#define GL_DEPTH_CLAMP_NEAR_AMD           0x901E
+#define GL_DEPTH_CLAMP_FAR_AMD            0x901F
+#endif /* GL_AMD_depth_clamp_separate */
+
+#ifndef GL_AMD_draw_buffers_blend
+#define GL_AMD_draw_buffers_blend 1
+typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
+GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
+GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+#endif
+#endif /* GL_AMD_draw_buffers_blend */
+
+#ifndef GL_AMD_gcn_shader
+#define GL_AMD_gcn_shader 1
+#endif /* GL_AMD_gcn_shader */
+
+#ifndef GL_AMD_gpu_shader_int64
+#define GL_AMD_gpu_shader_int64 1
+typedef int64_t GLint64EXT;
+#define GL_INT64_NV                       0x140E
+#define GL_UNSIGNED_INT64_NV              0x140F
+#define GL_INT8_NV                        0x8FE0
+#define GL_INT8_VEC2_NV                   0x8FE1
+#define GL_INT8_VEC3_NV                   0x8FE2
+#define GL_INT8_VEC4_NV                   0x8FE3
+#define GL_INT16_NV                       0x8FE4
+#define GL_INT16_VEC2_NV                  0x8FE5
+#define GL_INT16_VEC3_NV                  0x8FE6
+#define GL_INT16_VEC4_NV                  0x8FE7
+#define GL_INT64_VEC2_NV                  0x8FE9
+#define GL_INT64_VEC3_NV                  0x8FEA
+#define GL_INT64_VEC4_NV                  0x8FEB
+#define GL_UNSIGNED_INT8_NV               0x8FEC
+#define GL_UNSIGNED_INT8_VEC2_NV          0x8FED
+#define GL_UNSIGNED_INT8_VEC3_NV          0x8FEE
+#define GL_UNSIGNED_INT8_VEC4_NV          0x8FEF
+#define GL_UNSIGNED_INT16_NV              0x8FF0
+#define GL_UNSIGNED_INT16_VEC2_NV         0x8FF1
+#define GL_UNSIGNED_INT16_VEC3_NV         0x8FF2
+#define GL_UNSIGNED_INT16_VEC4_NV         0x8FF3
+#define GL_UNSIGNED_INT64_VEC2_NV         0x8FF5
+#define GL_UNSIGNED_INT64_VEC3_NV         0x8FF6
+#define GL_UNSIGNED_INT64_VEC4_NV         0x8FF7
+#define GL_FLOAT16_NV                     0x8FF8
+#define GL_FLOAT16_VEC2_NV                0x8FF9
+#define GL_FLOAT16_VEC3_NV                0x8FFA
+#define GL_FLOAT16_VEC4_NV                0x8FFB
+typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
+typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
+typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
+typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
+typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
+GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
+GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
+GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
+GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
+GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
+GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
+GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
+GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
+GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
+GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#endif
+#endif /* GL_AMD_gpu_shader_int64 */
+
+#ifndef GL_AMD_interleaved_elements
+#define GL_AMD_interleaved_elements 1
+#define GL_VERTEX_ELEMENT_SWIZZLE_AMD     0x91A4
+#define GL_VERTEX_ID_SWIZZLE_AMD          0x91A5
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
+#endif
+#endif /* GL_AMD_interleaved_elements */
+
+#ifndef GL_AMD_multi_draw_indirect
+#define GL_AMD_multi_draw_indirect 1
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
+GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
+#endif
+#endif /* GL_AMD_multi_draw_indirect */
+
+#ifndef GL_AMD_name_gen_delete
+#define GL_AMD_name_gen_delete 1
+#define GL_DATA_BUFFER_AMD                0x9151
+#define GL_PERFORMANCE_MONITOR_AMD        0x9152
+#define GL_QUERY_OBJECT_AMD               0x9153
+#define GL_VERTEX_ARRAY_OBJECT_AMD        0x9154
+#define GL_SAMPLER_OBJECT_AMD             0x9155
+typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
+typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
+typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
+GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
+GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
+#endif
+#endif /* GL_AMD_name_gen_delete */
+
+#ifndef GL_AMD_occlusion_query_event
+#define GL_AMD_occlusion_query_event 1
+#define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
+#define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
+#define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
+#define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
+#define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
+#define GL_QUERY_ALL_EVENT_BITS_AMD       0xFFFFFFFF
+typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
+#endif
+#endif /* GL_AMD_occlusion_query_event */
+
+#ifndef GL_AMD_performance_monitor
+#define GL_AMD_performance_monitor 1
+#define GL_COUNTER_TYPE_AMD               0x8BC0
+#define GL_COUNTER_RANGE_AMD              0x8BC1
+#define GL_UNSIGNED_INT64_AMD             0x8BC2
+#define GL_PERCENTAGE_AMD                 0x8BC3
+#define GL_PERFMON_RESULT_AVAILABLE_AMD   0x8BC4
+#define GL_PERFMON_RESULT_SIZE_AMD        0x8BC5
+#define GL_PERFMON_RESULT_AMD             0x8BC6
+typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
+typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
+typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
+GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
+GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
+GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
+GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#endif
+#endif /* GL_AMD_performance_monitor */
+
+#ifndef GL_AMD_pinned_memory
+#define GL_AMD_pinned_memory 1
+#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
+#endif /* GL_AMD_pinned_memory */
+
+#ifndef GL_AMD_query_buffer_object
+#define GL_AMD_query_buffer_object 1
+#define GL_QUERY_BUFFER_AMD               0x9192
+#define GL_QUERY_BUFFER_BINDING_AMD       0x9193
+#define GL_QUERY_RESULT_NO_WAIT_AMD       0x9194
+#endif /* GL_AMD_query_buffer_object */
+
+#ifndef GL_AMD_sample_positions
+#define GL_AMD_sample_positions 1
+#define GL_SUBSAMPLE_DISTANCE_AMD         0x883F
+typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
+#endif
+#endif /* GL_AMD_sample_positions */
+
+#ifndef GL_AMD_seamless_cubemap_per_texture
+#define GL_AMD_seamless_cubemap_per_texture 1
+#endif /* GL_AMD_seamless_cubemap_per_texture */
+
+#ifndef GL_AMD_shader_atomic_counter_ops
+#define GL_AMD_shader_atomic_counter_ops 1
+#endif /* GL_AMD_shader_atomic_counter_ops */
+
+#ifndef GL_AMD_shader_stencil_export
+#define GL_AMD_shader_stencil_export 1
+#endif /* GL_AMD_shader_stencil_export */
+
+#ifndef GL_AMD_shader_trinary_minmax
+#define GL_AMD_shader_trinary_minmax 1
+#endif /* GL_AMD_shader_trinary_minmax */
+
+#ifndef GL_AMD_sparse_texture
+#define GL_AMD_sparse_texture 1
+#define GL_VIRTUAL_PAGE_SIZE_X_AMD        0x9195
+#define GL_VIRTUAL_PAGE_SIZE_Y_AMD        0x9196
+#define GL_VIRTUAL_PAGE_SIZE_Z_AMD        0x9197
+#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD    0x9198
+#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
+#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
+#define GL_MIN_SPARSE_LEVEL_AMD           0x919B
+#define GL_MIN_LOD_WARNING_AMD            0x919C
+#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
+typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+#endif
+#endif /* GL_AMD_sparse_texture */
+
+#ifndef GL_AMD_stencil_operation_extended
+#define GL_AMD_stencil_operation_extended 1
+#define GL_SET_AMD                        0x874A
+#define GL_REPLACE_VALUE_AMD              0x874B
+#define GL_STENCIL_OP_VALUE_AMD           0x874C
+#define GL_STENCIL_BACK_OP_VALUE_AMD      0x874D
+typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
+#endif
+#endif /* GL_AMD_stencil_operation_extended */
+
+#ifndef GL_AMD_texture_texture4
+#define GL_AMD_texture_texture4 1
+#endif /* GL_AMD_texture_texture4 */
+
+#ifndef GL_AMD_transform_feedback3_lines_triangles
+#define GL_AMD_transform_feedback3_lines_triangles 1
+#endif /* GL_AMD_transform_feedback3_lines_triangles */
+
+#ifndef GL_AMD_transform_feedback4
+#define GL_AMD_transform_feedback4 1
+#define GL_STREAM_RASTERIZATION_AMD       0x91A0
+#endif /* GL_AMD_transform_feedback4 */
+
+#ifndef GL_AMD_vertex_shader_layer
+#define GL_AMD_vertex_shader_layer 1
+#endif /* GL_AMD_vertex_shader_layer */
+
+#ifndef GL_AMD_vertex_shader_tessellator
+#define GL_AMD_vertex_shader_tessellator 1
+#define GL_SAMPLER_BUFFER_AMD             0x9001
+#define GL_INT_SAMPLER_BUFFER_AMD         0x9002
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
+#define GL_TESSELLATION_MODE_AMD          0x9004
+#define GL_TESSELLATION_FACTOR_AMD        0x9005
+#define GL_DISCRETE_AMD                   0x9006
+#define GL_CONTINUOUS_AMD                 0x9007
+typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
+typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
+GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
+#endif
+#endif /* GL_AMD_vertex_shader_tessellator */
+
+#ifndef GL_AMD_vertex_shader_viewport_index
+#define GL_AMD_vertex_shader_viewport_index 1
+#endif /* GL_AMD_vertex_shader_viewport_index */
+
+#ifndef GL_APPLE_aux_depth_stencil
+#define GL_APPLE_aux_depth_stencil 1
+#define GL_AUX_DEPTH_STENCIL_APPLE        0x8A14
+#endif /* GL_APPLE_aux_depth_stencil */
+
+#ifndef GL_APPLE_client_storage
+#define GL_APPLE_client_storage 1
+#define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
+#endif /* GL_APPLE_client_storage */
+
+#ifndef GL_APPLE_element_array
+#define GL_APPLE_element_array 1
+#define GL_ELEMENT_ARRAY_APPLE            0x8A0C
+#define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8A0D
+#define GL_ELEMENT_ARRAY_POINTER_APPLE    0x8A0E
+typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
+typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
+GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
+GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
+GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
+#endif
+#endif /* GL_APPLE_element_array */
+
+#ifndef GL_APPLE_fence
+#define GL_APPLE_fence 1
+#define GL_DRAW_PIXELS_APPLE              0x8A0A
+#define GL_FENCE_APPLE                    0x8A0B
+typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
+typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
+typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
+typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
+typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
+GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
+GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
+GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
+GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
+GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
+GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
+GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
+#endif
+#endif /* GL_APPLE_fence */
+
+#ifndef GL_APPLE_float_pixels
+#define GL_APPLE_float_pixels 1
+#define GL_HALF_APPLE                     0x140B
+#define GL_RGBA_FLOAT32_APPLE             0x8814
+#define GL_RGB_FLOAT32_APPLE              0x8815
+#define GL_ALPHA_FLOAT32_APPLE            0x8816
+#define GL_INTENSITY_FLOAT32_APPLE        0x8817
+#define GL_LUMINANCE_FLOAT32_APPLE        0x8818
+#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE  0x8819
+#define GL_RGBA_FLOAT16_APPLE             0x881A
+#define GL_RGB_FLOAT16_APPLE              0x881B
+#define GL_ALPHA_FLOAT16_APPLE            0x881C
+#define GL_INTENSITY_FLOAT16_APPLE        0x881D
+#define GL_LUMINANCE_FLOAT16_APPLE        0x881E
+#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE  0x881F
+#define GL_COLOR_FLOAT_APPLE              0x8A0F
+#endif /* GL_APPLE_float_pixels */
+
+#ifndef GL_APPLE_flush_buffer_range
+#define GL_APPLE_flush_buffer_range 1
+#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
+#define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
+typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
+#endif
+#endif /* GL_APPLE_flush_buffer_range */
+
+#ifndef GL_APPLE_object_purgeable
+#define GL_APPLE_object_purgeable 1
+#define GL_BUFFER_OBJECT_APPLE            0x85B3
+#define GL_RELEASED_APPLE                 0x8A19
+#define GL_VOLATILE_APPLE                 0x8A1A
+#define GL_RETAINED_APPLE                 0x8A1B
+#define GL_UNDEFINED_APPLE                0x8A1C
+#define GL_PURGEABLE_APPLE                0x8A1D
+typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
+typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
+typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
+GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
+GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
+#endif
+#endif /* GL_APPLE_object_purgeable */
+
+#ifndef GL_APPLE_rgb_422
+#define GL_APPLE_rgb_422 1
+#define GL_RGB_422_APPLE                  0x8A1F
+#define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
+#define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
+#define GL_RGB_RAW_422_APPLE              0x8A51
+#endif /* GL_APPLE_rgb_422 */
+
+#ifndef GL_APPLE_row_bytes
+#define GL_APPLE_row_bytes 1
+#define GL_PACK_ROW_BYTES_APPLE           0x8A15
+#define GL_UNPACK_ROW_BYTES_APPLE         0x8A16
+#endif /* GL_APPLE_row_bytes */
+
+#ifndef GL_APPLE_specular_vector
+#define GL_APPLE_specular_vector 1
+#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
+#endif /* GL_APPLE_specular_vector */
+
+#ifndef GL_APPLE_texture_range
+#define GL_APPLE_texture_range 1
+#define GL_TEXTURE_RANGE_LENGTH_APPLE     0x85B7
+#define GL_TEXTURE_RANGE_POINTER_APPLE    0x85B8
+#define GL_TEXTURE_STORAGE_HINT_APPLE     0x85BC
+#define GL_STORAGE_PRIVATE_APPLE          0x85BD
+#define GL_STORAGE_CACHED_APPLE           0x85BE
+#define GL_STORAGE_SHARED_APPLE           0x85BF
+typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
+GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
+#endif
+#endif /* GL_APPLE_texture_range */
+
+#ifndef GL_APPLE_transform_hint
+#define GL_APPLE_transform_hint 1
+#define GL_TRANSFORM_HINT_APPLE           0x85B1
+#endif /* GL_APPLE_transform_hint */
+
+#ifndef GL_APPLE_vertex_array_object
+#define GL_APPLE_vertex_array_object 1
+#define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
+typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
+typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
+typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
+typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
+GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
+GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
+GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
+#endif
+#endif /* GL_APPLE_vertex_array_object */
+
+#ifndef GL_APPLE_vertex_array_range
+#define GL_APPLE_vertex_array_range 1
+#define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
+#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
+#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
+#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
+#define GL_STORAGE_CLIENT_APPLE           0x85B4
+typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
+typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
+GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
+GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
+#endif
+#endif /* GL_APPLE_vertex_array_range */
+
+#ifndef GL_APPLE_vertex_program_evaluators
+#define GL_APPLE_vertex_program_evaluators 1
+#define GL_VERTEX_ATTRIB_MAP1_APPLE       0x8A00
+#define GL_VERTEX_ATTRIB_MAP2_APPLE       0x8A01
+#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE  0x8A02
+#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
+#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
+#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
+#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE  0x8A06
+#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
+#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
+#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
+typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
+typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
+GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
+GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
+GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
+GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
+GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
+GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
+#endif
+#endif /* GL_APPLE_vertex_program_evaluators */
+
+#ifndef GL_APPLE_ycbcr_422
+#define GL_APPLE_ycbcr_422 1
+#define GL_YCBCR_422_APPLE                0x85B9
+#endif /* GL_APPLE_ycbcr_422 */
+
+#ifndef GL_ATI_draw_buffers
+#define GL_ATI_draw_buffers 1
+#define GL_MAX_DRAW_BUFFERS_ATI           0x8824
+#define GL_DRAW_BUFFER0_ATI               0x8825
+#define GL_DRAW_BUFFER1_ATI               0x8826
+#define GL_DRAW_BUFFER2_ATI               0x8827
+#define GL_DRAW_BUFFER3_ATI               0x8828
+#define GL_DRAW_BUFFER4_ATI               0x8829
+#define GL_DRAW_BUFFER5_ATI               0x882A
+#define GL_DRAW_BUFFER6_ATI               0x882B
+#define GL_DRAW_BUFFER7_ATI               0x882C
+#define GL_DRAW_BUFFER8_ATI               0x882D
+#define GL_DRAW_BUFFER9_ATI               0x882E
+#define GL_DRAW_BUFFER10_ATI              0x882F
+#define GL_DRAW_BUFFER11_ATI              0x8830
+#define GL_DRAW_BUFFER12_ATI              0x8831
+#define GL_DRAW_BUFFER13_ATI              0x8832
+#define GL_DRAW_BUFFER14_ATI              0x8833
+#define GL_DRAW_BUFFER15_ATI              0x8834
+typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
+#endif
+#endif /* GL_ATI_draw_buffers */
+
+#ifndef GL_ATI_element_array
+#define GL_ATI_element_array 1
+#define GL_ELEMENT_ARRAY_ATI              0x8768
+#define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
+#define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
+typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
+typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
+GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
+GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
+#endif
+#endif /* GL_ATI_element_array */
+
+#ifndef GL_ATI_envmap_bumpmap
+#define GL_ATI_envmap_bumpmap 1
+#define GL_BUMP_ROT_MATRIX_ATI            0x8775
+#define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
+#define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
+#define GL_BUMP_TEX_UNITS_ATI             0x8778
+#define GL_DUDV_ATI                       0x8779
+#define GL_DU8DV8_ATI                     0x877A
+#define GL_BUMP_ENVMAP_ATI                0x877B
+#define GL_BUMP_TARGET_ATI                0x877C
+typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
+typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
+typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
+typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
+GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
+GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
+GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
+#endif
+#endif /* GL_ATI_envmap_bumpmap */
+
+#ifndef GL_ATI_fragment_shader
+#define GL_ATI_fragment_shader 1
+#define GL_FRAGMENT_SHADER_ATI            0x8920
+#define GL_REG_0_ATI                      0x8921
+#define GL_REG_1_ATI                      0x8922
+#define GL_REG_2_ATI                      0x8923
+#define GL_REG_3_ATI                      0x8924
+#define GL_REG_4_ATI                      0x8925
+#define GL_REG_5_ATI                      0x8926
+#define GL_REG_6_ATI                      0x8927
+#define GL_REG_7_ATI                      0x8928
+#define GL_REG_8_ATI                      0x8929
+#define GL_REG_9_ATI                      0x892A
+#define GL_REG_10_ATI                     0x892B
+#define GL_REG_11_ATI                     0x892C
+#define GL_REG_12_ATI                     0x892D
+#define GL_REG_13_ATI                     0x892E
+#define GL_REG_14_ATI                     0x892F
+#define GL_REG_15_ATI                     0x8930
+#define GL_REG_16_ATI                     0x8931
+#define GL_REG_17_ATI                     0x8932
+#define GL_REG_18_ATI                     0x8933
+#define GL_REG_19_ATI                     0x8934
+#define GL_REG_20_ATI                     0x8935
+#define GL_REG_21_ATI                     0x8936
+#define GL_REG_22_ATI                     0x8937
+#define GL_REG_23_ATI                     0x8938
+#define GL_REG_24_ATI                     0x8939
+#define GL_REG_25_ATI                     0x893A
+#define GL_REG_26_ATI                     0x893B
+#define GL_REG_27_ATI                     0x893C
+#define GL_REG_28_ATI                     0x893D
+#define GL_REG_29_ATI                     0x893E
+#define GL_REG_30_ATI                     0x893F
+#define GL_REG_31_ATI                     0x8940
+#define GL_CON_0_ATI                      0x8941
+#define GL_CON_1_ATI                      0x8942
+#define GL_CON_2_ATI                      0x8943
+#define GL_CON_3_ATI                      0x8944
+#define GL_CON_4_ATI                      0x8945
+#define GL_CON_5_ATI                      0x8946
+#define GL_CON_6_ATI                      0x8947
+#define GL_CON_7_ATI                      0x8948
+#define GL_CON_8_ATI                      0x8949
+#define GL_CON_9_ATI                      0x894A
+#define GL_CON_10_ATI                     0x894B
+#define GL_CON_11_ATI                     0x894C
+#define GL_CON_12_ATI                     0x894D
+#define GL_CON_13_ATI                     0x894E
+#define GL_CON_14_ATI                     0x894F
+#define GL_CON_15_ATI                     0x8950
+#define GL_CON_16_ATI                     0x8951
+#define GL_CON_17_ATI                     0x8952
+#define GL_CON_18_ATI                     0x8953
+#define GL_CON_19_ATI                     0x8954
+#define GL_CON_20_ATI                     0x8955
+#define GL_CON_21_ATI                     0x8956
+#define GL_CON_22_ATI                     0x8957
+#define GL_CON_23_ATI                     0x8958
+#define GL_CON_24_ATI                     0x8959
+#define GL_CON_25_ATI                     0x895A
+#define GL_CON_26_ATI                     0x895B
+#define GL_CON_27_ATI                     0x895C
+#define GL_CON_28_ATI                     0x895D
+#define GL_CON_29_ATI                     0x895E
+#define GL_CON_30_ATI                     0x895F
+#define GL_CON_31_ATI                     0x8960
+#define GL_MOV_ATI                        0x8961
+#define GL_ADD_ATI                        0x8963
+#define GL_MUL_ATI                        0x8964
+#define GL_SUB_ATI                        0x8965
+#define GL_DOT3_ATI                       0x8966
+#define GL_DOT4_ATI                       0x8967
+#define GL_MAD_ATI                        0x8968
+#define GL_LERP_ATI                       0x8969
+#define GL_CND_ATI                        0x896A
+#define GL_CND0_ATI                       0x896B
+#define GL_DOT2_ADD_ATI                   0x896C
+#define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
+#define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
+#define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
+#define GL_NUM_PASSES_ATI                 0x8970
+#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
+#define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
+#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
+#define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
+#define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
+#define GL_SWIZZLE_STR_ATI                0x8976
+#define GL_SWIZZLE_STQ_ATI                0x8977
+#define GL_SWIZZLE_STR_DR_ATI             0x8978
+#define GL_SWIZZLE_STQ_DQ_ATI             0x8979
+#define GL_SWIZZLE_STRQ_ATI               0x897A
+#define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
+#define GL_RED_BIT_ATI                    0x00000001
+#define GL_GREEN_BIT_ATI                  0x00000002
+#define GL_BLUE_BIT_ATI                   0x00000004
+#define GL_2X_BIT_ATI                     0x00000001
+#define GL_4X_BIT_ATI                     0x00000002
+#define GL_8X_BIT_ATI                     0x00000004
+#define GL_HALF_BIT_ATI                   0x00000008
+#define GL_QUARTER_BIT_ATI                0x00000010
+#define GL_EIGHTH_BIT_ATI                 0x00000020
+#define GL_SATURATE_BIT_ATI               0x00000040
+#define GL_COMP_BIT_ATI                   0x00000002
+#define GL_NEGATE_BIT_ATI                 0x00000004
+#define GL_BIAS_BIT_ATI                   0x00000008
+typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
+typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
+typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
+typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
+typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
+typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
+GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
+GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
+GLAPI void APIENTRY glBeginFragmentShaderATI (void);
+GLAPI void APIENTRY glEndFragmentShaderATI (void);
+GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
+GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
+GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
+#endif
+#endif /* GL_ATI_fragment_shader */
+
+#ifndef GL_ATI_map_object_buffer
+#define GL_ATI_map_object_buffer 1
+typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
+GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
+#endif
+#endif /* GL_ATI_map_object_buffer */
+
+#ifndef GL_ATI_meminfo
+#define GL_ATI_meminfo 1
+#define GL_VBO_FREE_MEMORY_ATI            0x87FB
+#define GL_TEXTURE_FREE_MEMORY_ATI        0x87FC
+#define GL_RENDERBUFFER_FREE_MEMORY_ATI   0x87FD
+#endif /* GL_ATI_meminfo */
+
+#ifndef GL_ATI_pixel_format_float
+#define GL_ATI_pixel_format_float 1
+#define GL_RGBA_FLOAT_MODE_ATI            0x8820
+#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
+#endif /* GL_ATI_pixel_format_float */
+
+#ifndef GL_ATI_pn_triangles
+#define GL_ATI_pn_triangles 1
+#define GL_PN_TRIANGLES_ATI               0x87F0
+#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
+#define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
+#define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
+#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
+#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
+#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
+#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
+#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
+typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
+GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
+#endif
+#endif /* GL_ATI_pn_triangles */
+
+#ifndef GL_ATI_separate_stencil
+#define GL_ATI_separate_stencil 1
+#define GL_STENCIL_BACK_FUNC_ATI          0x8800
+#define GL_STENCIL_BACK_FAIL_ATI          0x8801
+#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
+#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
+typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+#endif
+#endif /* GL_ATI_separate_stencil */
+
+#ifndef GL_ATI_text_fragment_shader
+#define GL_ATI_text_fragment_shader 1
+#define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
+#endif /* GL_ATI_text_fragment_shader */
+
+#ifndef GL_ATI_texture_env_combine3
+#define GL_ATI_texture_env_combine3 1
+#define GL_MODULATE_ADD_ATI               0x8744
+#define GL_MODULATE_SIGNED_ADD_ATI        0x8745
+#define GL_MODULATE_SUBTRACT_ATI          0x8746
+#endif /* GL_ATI_texture_env_combine3 */
+
+#ifndef GL_ATI_texture_float
+#define GL_ATI_texture_float 1
+#define GL_RGBA_FLOAT32_ATI               0x8814
+#define GL_RGB_FLOAT32_ATI                0x8815
+#define GL_ALPHA_FLOAT32_ATI              0x8816
+#define GL_INTENSITY_FLOAT32_ATI          0x8817
+#define GL_LUMINANCE_FLOAT32_ATI          0x8818
+#define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
+#define GL_RGBA_FLOAT16_ATI               0x881A
+#define GL_RGB_FLOAT16_ATI                0x881B
+#define GL_ALPHA_FLOAT16_ATI              0x881C
+#define GL_INTENSITY_FLOAT16_ATI          0x881D
+#define GL_LUMINANCE_FLOAT16_ATI          0x881E
+#define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
+#endif /* GL_ATI_texture_float */
+
+#ifndef GL_ATI_texture_mirror_once
+#define GL_ATI_texture_mirror_once 1
+#define GL_MIRROR_CLAMP_ATI               0x8742
+#define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
+#endif /* GL_ATI_texture_mirror_once */
+
+#ifndef GL_ATI_vertex_array_object
+#define GL_ATI_vertex_array_object 1
+#define GL_STATIC_ATI                     0x8760
+#define GL_DYNAMIC_ATI                    0x8761
+#define GL_PRESERVE_ATI                   0x8762
+#define GL_DISCARD_ATI                    0x8763
+#define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
+#define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
+#define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
+#define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
+typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
+typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
+typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
+GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
+GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
+GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
+GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
+GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
+#endif
+#endif /* GL_ATI_vertex_array_object */
+
+#ifndef GL_ATI_vertex_attrib_array_object
+#define GL_ATI_vertex_attrib_array_object 1
+typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
+GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
+#endif
+#endif /* GL_ATI_vertex_attrib_array_object */
+
+#ifndef GL_ATI_vertex_streams
+#define GL_ATI_vertex_streams 1
+#define GL_MAX_VERTEX_STREAMS_ATI         0x876B
+#define GL_VERTEX_STREAM0_ATI             0x876C
+#define GL_VERTEX_STREAM1_ATI             0x876D
+#define GL_VERTEX_STREAM2_ATI             0x876E
+#define GL_VERTEX_STREAM3_ATI             0x876F
+#define GL_VERTEX_STREAM4_ATI             0x8770
+#define GL_VERTEX_STREAM5_ATI             0x8771
+#define GL_VERTEX_STREAM6_ATI             0x8772
+#define GL_VERTEX_STREAM7_ATI             0x8773
+#define GL_VERTEX_SOURCE_ATI              0x8774
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
+typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
+GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
+GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
+GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
+GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
+GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
+GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
+GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
+GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
+GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
+GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
+GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
+GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
+GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
+#endif
+#endif /* GL_ATI_vertex_streams */
+
+#ifndef GL_EXT_422_pixels
+#define GL_EXT_422_pixels 1
+#define GL_422_EXT                        0x80CC
+#define GL_422_REV_EXT                    0x80CD
+#define GL_422_AVERAGE_EXT                0x80CE
+#define GL_422_REV_AVERAGE_EXT            0x80CF
+#endif /* GL_EXT_422_pixels */
+
+#ifndef GL_EXT_abgr
+#define GL_EXT_abgr 1
+#define GL_ABGR_EXT                       0x8000
+#endif /* GL_EXT_abgr */
+
+#ifndef GL_EXT_bgra
+#define GL_EXT_bgra 1
+#define GL_BGR_EXT                        0x80E0
+#define GL_BGRA_EXT                       0x80E1
+#endif /* GL_EXT_bgra */
+
+#ifndef GL_EXT_bindable_uniform
+#define GL_EXT_bindable_uniform 1
+#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
+#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
+#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
+#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
+#define GL_UNIFORM_BUFFER_EXT             0x8DEE
+#define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
+typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
+typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
+typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
+GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
+GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
+#endif
+#endif /* GL_EXT_bindable_uniform */
+
+#ifndef GL_EXT_blend_color
+#define GL_EXT_blend_color 1
+#define GL_CONSTANT_COLOR_EXT             0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
+#define GL_CONSTANT_ALPHA_EXT             0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
+#define GL_BLEND_COLOR_EXT                0x8005
+typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+#endif
+#endif /* GL_EXT_blend_color */
+
+#ifndef GL_EXT_blend_equation_separate
+#define GL_EXT_blend_equation_separate 1
+#define GL_BLEND_EQUATION_RGB_EXT         0x8009
+#define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
+#endif
+#endif /* GL_EXT_blend_equation_separate */
+
+#ifndef GL_EXT_blend_func_separate
+#define GL_EXT_blend_func_separate 1
+#define GL_BLEND_DST_RGB_EXT              0x80C8
+#define GL_BLEND_SRC_RGB_EXT              0x80C9
+#define GL_BLEND_DST_ALPHA_EXT            0x80CA
+#define GL_BLEND_SRC_ALPHA_EXT            0x80CB
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#endif
+#endif /* GL_EXT_blend_func_separate */
+
+#ifndef GL_EXT_blend_logic_op
+#define GL_EXT_blend_logic_op 1
+#endif /* GL_EXT_blend_logic_op */
+
+#ifndef GL_EXT_blend_minmax
+#define GL_EXT_blend_minmax 1
+#define GL_MIN_EXT                        0x8007
+#define GL_MAX_EXT                        0x8008
+#define GL_FUNC_ADD_EXT                   0x8006
+#define GL_BLEND_EQUATION_EXT             0x8009
+typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
+#endif
+#endif /* GL_EXT_blend_minmax */
+
+#ifndef GL_EXT_blend_subtract
+#define GL_EXT_blend_subtract 1
+#define GL_FUNC_SUBTRACT_EXT              0x800A
+#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
+#endif /* GL_EXT_blend_subtract */
+
+#ifndef GL_EXT_clip_volume_hint
+#define GL_EXT_clip_volume_hint 1
+#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
+#endif /* GL_EXT_clip_volume_hint */
+
+#ifndef GL_EXT_cmyka
+#define GL_EXT_cmyka 1
+#define GL_CMYK_EXT                       0x800C
+#define GL_CMYKA_EXT                      0x800D
+#define GL_PACK_CMYK_HINT_EXT             0x800E
+#define GL_UNPACK_CMYK_HINT_EXT           0x800F
+#endif /* GL_EXT_cmyka */
+
+#ifndef GL_EXT_color_subtable
+#define GL_EXT_color_subtable 1
+typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+#endif
+#endif /* GL_EXT_color_subtable */
+
+#ifndef GL_EXT_compiled_vertex_array
+#define GL_EXT_compiled_vertex_array 1
+#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
+#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
+typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
+GLAPI void APIENTRY glUnlockArraysEXT (void);
+#endif
+#endif /* GL_EXT_compiled_vertex_array */
+
+#ifndef GL_EXT_convolution
+#define GL_EXT_convolution 1
+#define GL_CONVOLUTION_1D_EXT             0x8010
+#define GL_CONVOLUTION_2D_EXT             0x8011
+#define GL_SEPARABLE_2D_EXT               0x8012
+#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
+#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
+#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
+#define GL_REDUCE_EXT                     0x8016
+#define GL_CONVOLUTION_FORMAT_EXT         0x8017
+#define GL_CONVOLUTION_WIDTH_EXT          0x8018
+#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
+#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
+#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
+#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
+#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
+#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
+#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
+#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
+#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
+#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
+#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
+GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
+GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
+GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+#endif
+#endif /* GL_EXT_convolution */
+
+#ifndef GL_EXT_coordinate_frame
+#define GL_EXT_coordinate_frame 1
+#define GL_TANGENT_ARRAY_EXT              0x8439
+#define GL_BINORMAL_ARRAY_EXT             0x843A
+#define GL_CURRENT_TANGENT_EXT            0x843B
+#define GL_CURRENT_BINORMAL_EXT           0x843C
+#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
+#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
+#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
+#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
+#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
+#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
+#define GL_MAP1_TANGENT_EXT               0x8444
+#define GL_MAP2_TANGENT_EXT               0x8445
+#define GL_MAP1_BINORMAL_EXT              0x8446
+#define GL_MAP2_BINORMAL_EXT              0x8447
+typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
+typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
+typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
+typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
+typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
+typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
+typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
+typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
+typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
+typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
+typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
+GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
+GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
+GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
+GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
+GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
+GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
+GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
+GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
+GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
+GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
+GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
+GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
+GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
+GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
+GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
+GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
+GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
+GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
+GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
+GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_coordinate_frame */
+
+#ifndef GL_EXT_copy_texture
+#define GL_EXT_copy_texture 1
+typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_EXT_copy_texture */
+
+#ifndef GL_EXT_cull_vertex
+#define GL_EXT_cull_vertex 1
+#define GL_CULL_VERTEX_EXT                0x81AA
+#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
+#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
+typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_EXT_cull_vertex */
+
+#ifndef GL_EXT_debug_label
+#define GL_EXT_debug_label 1
+#define GL_PROGRAM_PIPELINE_OBJECT_EXT    0x8A4F
+#define GL_PROGRAM_OBJECT_EXT             0x8B40
+#define GL_SHADER_OBJECT_EXT              0x8B48
+#define GL_BUFFER_OBJECT_EXT              0x9151
+#define GL_QUERY_OBJECT_EXT               0x9153
+#define GL_VERTEX_ARRAY_OBJECT_EXT        0x9154
+typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+#endif /* GL_EXT_debug_label */
+
+#ifndef GL_EXT_debug_marker
+#define GL_EXT_debug_marker 1
+typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
+GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
+GLAPI void APIENTRY glPopGroupMarkerEXT (void);
+#endif
+#endif /* GL_EXT_debug_marker */
+
+#ifndef GL_EXT_depth_bounds_test
+#define GL_EXT_depth_bounds_test 1
+#define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
+#define GL_DEPTH_BOUNDS_EXT               0x8891
+typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
+#endif
+#endif /* GL_EXT_depth_bounds_test */
+
+#ifndef GL_EXT_direct_state_access
+#define GL_EXT_direct_state_access 1
+#define GL_PROGRAM_MATRIX_EXT             0x8E2D
+#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
+#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
+typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
+typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
+typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
+typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
+typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
+typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
+typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
+typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
+typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
+typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
+typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
+typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
+typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
+typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
+typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
+typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
+typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
+typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
+typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
+typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
+GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
+GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
+GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
+GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
+GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
+GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
+GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
+GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
+GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
+GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
+GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
+GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
+GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
+GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
+GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
+GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
+GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
+GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
+GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
+GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
+GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
+GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
+GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
+GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
+GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
+GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
+GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
+GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
+GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
+GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
+GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
+GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
+GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
+GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
+GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
+GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
+GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
+GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
+GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
+GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
+GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
+GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
+GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
+GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
+GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
+GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
+GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
+GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
+GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
+GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
+GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
+GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
+GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
+GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
+GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
+GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
+GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
+GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
+GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
+GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
+GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
+GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
+#endif
+#endif /* GL_EXT_direct_state_access */
+
+#ifndef GL_EXT_draw_buffers2
+#define GL_EXT_draw_buffers2 1
+typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+#endif
+#endif /* GL_EXT_draw_buffers2 */
+
+#ifndef GL_EXT_draw_instanced
+#define GL_EXT_draw_instanced 1
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
+GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#endif
+#endif /* GL_EXT_draw_instanced */
+
+#ifndef GL_EXT_draw_range_elements
+#define GL_EXT_draw_range_elements 1
+#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
+#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+#endif
+#endif /* GL_EXT_draw_range_elements */
+
+#ifndef GL_EXT_fog_coord
+#define GL_EXT_fog_coord 1
+#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
+#define GL_FOG_COORDINATE_EXT             0x8451
+#define GL_FRAGMENT_DEPTH_EXT             0x8452
+#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
+#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
+#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
+#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
+#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
+typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
+typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
+GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
+GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
+GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
+GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_fog_coord */
+
+#ifndef GL_EXT_framebuffer_blit
+#define GL_EXT_framebuffer_blit 1
+#define GL_READ_FRAMEBUFFER_EXT           0x8CA8
+#define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_EXT   0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
+typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+#endif /* GL_EXT_framebuffer_blit */
+
+#ifndef GL_EXT_framebuffer_multisample
+#define GL_EXT_framebuffer_multisample 1
+#define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
+#define GL_MAX_SAMPLES_EXT                0x8D57
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_EXT_framebuffer_multisample */
+
+#ifndef GL_EXT_framebuffer_multisample_blit_scaled
+#define GL_EXT_framebuffer_multisample_blit_scaled 1
+#define GL_SCALED_RESOLVE_FASTEST_EXT     0x90BA
+#define GL_SCALED_RESOLVE_NICEST_EXT      0x90BB
+#endif /* GL_EXT_framebuffer_multisample_blit_scaled */
+
+#ifndef GL_EXT_framebuffer_object
+#define GL_EXT_framebuffer_object 1
+#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
+#define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
+#define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
+#define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
+#define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
+#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
+#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
+#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
+#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
+#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
+#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
+#define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
+#define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
+#define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
+#define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
+#define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
+#define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
+#define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
+#define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
+#define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
+#define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
+#define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
+#define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
+#define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
+#define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
+#define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
+#define GL_COLOR_ATTACHMENT13_EXT         0x8CED
+#define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
+#define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
+#define GL_DEPTH_ATTACHMENT_EXT           0x8D00
+#define GL_STENCIL_ATTACHMENT_EXT         0x8D20
+#define GL_FRAMEBUFFER_EXT                0x8D40
+#define GL_RENDERBUFFER_EXT               0x8D41
+#define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
+#define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
+#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
+#define GL_STENCIL_INDEX1_EXT             0x8D46
+#define GL_STENCIL_INDEX4_EXT             0x8D47
+#define GL_STENCIL_INDEX8_EXT             0x8D48
+#define GL_STENCIL_INDEX16_EXT            0x8D49
+#define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
+#define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
+#define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
+#define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
+#define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
+#define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
+typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
+typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
+typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
+typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
+typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
+GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
+GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
+GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
+GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
+GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
+GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
+GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
+GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
+#endif
+#endif /* GL_EXT_framebuffer_object */
+
+#ifndef GL_EXT_framebuffer_sRGB
+#define GL_EXT_framebuffer_sRGB 1
+#define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
+#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
+#endif /* GL_EXT_framebuffer_sRGB */
+
+#ifndef GL_EXT_geometry_shader4
+#define GL_EXT_geometry_shader4 1
+#define GL_GEOMETRY_SHADER_EXT            0x8DD9
+#define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
+#define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
+#define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
+#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
+#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
+#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
+#define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
+#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
+#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
+#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
+#define GL_LINES_ADJACENCY_EXT            0x000A
+#define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
+#define GL_TRIANGLES_ADJACENCY_EXT        0x000C
+#define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
+#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
+#define GL_PROGRAM_POINT_SIZE_EXT         0x8642
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
+#endif
+#endif /* GL_EXT_geometry_shader4 */
+
+#ifndef GL_EXT_gpu_program_parameters
+#define GL_EXT_gpu_program_parameters 1
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+#endif
+#endif /* GL_EXT_gpu_program_parameters */
+
+#ifndef GL_EXT_gpu_shader4
+#define GL_EXT_gpu_shader4 1
+#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
+#define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
+#define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
+#define GL_SAMPLER_BUFFER_EXT             0x8DC2
+#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
+#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
+#define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
+#define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
+#define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
+#define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
+#define GL_INT_SAMPLER_1D_EXT             0x8DC9
+#define GL_INT_SAMPLER_2D_EXT             0x8DCA
+#define GL_INT_SAMPLER_3D_EXT             0x8DCB
+#define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
+#define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
+#define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
+#define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
+#define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
+#define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
+#define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
+#define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
+#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
+#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
+#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
+#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
+#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT   0x8904
+#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT   0x8905
+typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
+typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
+GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
+GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
+GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
+#endif
+#endif /* GL_EXT_gpu_shader4 */
+
+#ifndef GL_EXT_histogram
+#define GL_EXT_histogram 1
+#define GL_HISTOGRAM_EXT                  0x8024
+#define GL_PROXY_HISTOGRAM_EXT            0x8025
+#define GL_HISTOGRAM_WIDTH_EXT            0x8026
+#define GL_HISTOGRAM_FORMAT_EXT           0x8027
+#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
+#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
+#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
+#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
+#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
+#define GL_HISTOGRAM_SINK_EXT             0x802D
+#define GL_MINMAX_EXT                     0x802E
+#define GL_MINMAX_FORMAT_EXT              0x802F
+#define GL_MINMAX_SINK_EXT                0x8030
+#define GL_TABLE_TOO_LARGE_EXT            0x8031
+typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
+GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
+#endif
+#endif /* GL_EXT_histogram */
+
+#ifndef GL_EXT_index_array_formats
+#define GL_EXT_index_array_formats 1
+#define GL_IUI_V2F_EXT                    0x81AD
+#define GL_IUI_V3F_EXT                    0x81AE
+#define GL_IUI_N3F_V2F_EXT                0x81AF
+#define GL_IUI_N3F_V3F_EXT                0x81B0
+#define GL_T2F_IUI_V2F_EXT                0x81B1
+#define GL_T2F_IUI_V3F_EXT                0x81B2
+#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
+#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
+#endif /* GL_EXT_index_array_formats */
+
+#ifndef GL_EXT_index_func
+#define GL_EXT_index_func 1
+#define GL_INDEX_TEST_EXT                 0x81B5
+#define GL_INDEX_TEST_FUNC_EXT            0x81B6
+#define GL_INDEX_TEST_REF_EXT             0x81B7
+typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
+#endif
+#endif /* GL_EXT_index_func */
+
+#ifndef GL_EXT_index_material
+#define GL_EXT_index_material 1
+#define GL_INDEX_MATERIAL_EXT             0x81B8
+#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
+#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
+typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
+#endif
+#endif /* GL_EXT_index_material */
+
+#ifndef GL_EXT_index_texture
+#define GL_EXT_index_texture 1
+#endif /* GL_EXT_index_texture */
+
+#ifndef GL_EXT_light_texture
+#define GL_EXT_light_texture 1
+#define GL_FRAGMENT_MATERIAL_EXT          0x8349
+#define GL_FRAGMENT_NORMAL_EXT            0x834A
+#define GL_FRAGMENT_COLOR_EXT             0x834C
+#define GL_ATTENUATION_EXT                0x834D
+#define GL_SHADOW_ATTENUATION_EXT         0x834E
+#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
+#define GL_TEXTURE_LIGHT_EXT              0x8350
+#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
+#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
+typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
+typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
+GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
+GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
+#endif
+#endif /* GL_EXT_light_texture */
+
+#ifndef GL_EXT_misc_attribute
+#define GL_EXT_misc_attribute 1
+#endif /* GL_EXT_misc_attribute */
+
+#ifndef GL_EXT_multi_draw_arrays
+#define GL_EXT_multi_draw_arrays 1
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
+#endif
+#endif /* GL_EXT_multi_draw_arrays */
+
+#ifndef GL_EXT_multisample
+#define GL_EXT_multisample 1
+#define GL_MULTISAMPLE_EXT                0x809D
+#define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
+#define GL_SAMPLE_MASK_EXT                0x80A0
+#define GL_1PASS_EXT                      0x80A1
+#define GL_2PASS_0_EXT                    0x80A2
+#define GL_2PASS_1_EXT                    0x80A3
+#define GL_4PASS_0_EXT                    0x80A4
+#define GL_4PASS_1_EXT                    0x80A5
+#define GL_4PASS_2_EXT                    0x80A6
+#define GL_4PASS_3_EXT                    0x80A7
+#define GL_SAMPLE_BUFFERS_EXT             0x80A8
+#define GL_SAMPLES_EXT                    0x80A9
+#define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
+#define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
+#define GL_SAMPLE_PATTERN_EXT             0x80AC
+#define GL_MULTISAMPLE_BIT_EXT            0x20000000
+typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
+typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
+GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
+#endif
+#endif /* GL_EXT_multisample */
+
+#ifndef GL_EXT_packed_depth_stencil
+#define GL_EXT_packed_depth_stencil 1
+#define GL_DEPTH_STENCIL_EXT              0x84F9
+#define GL_UNSIGNED_INT_24_8_EXT          0x84FA
+#define GL_DEPTH24_STENCIL8_EXT           0x88F0
+#define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
+#endif /* GL_EXT_packed_depth_stencil */
+
+#ifndef GL_EXT_packed_float
+#define GL_EXT_packed_float 1
+#define GL_R11F_G11F_B10F_EXT             0x8C3A
+#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
+#define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
+#endif /* GL_EXT_packed_float */
+
+#ifndef GL_EXT_packed_pixels
+#define GL_EXT_packed_pixels 1
+#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
+#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
+#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
+#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
+#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
+#endif /* GL_EXT_packed_pixels */
+
+#ifndef GL_EXT_paletted_texture
+#define GL_EXT_paletted_texture 1
+#define GL_COLOR_INDEX1_EXT               0x80E2
+#define GL_COLOR_INDEX2_EXT               0x80E3
+#define GL_COLOR_INDEX4_EXT               0x80E4
+#define GL_COLOR_INDEX8_EXT               0x80E5
+#define GL_COLOR_INDEX12_EXT              0x80E6
+#define GL_COLOR_INDEX16_EXT              0x80E7
+#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
+typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
+GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
+GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_EXT_paletted_texture */
+
+#ifndef GL_EXT_pixel_buffer_object
+#define GL_EXT_pixel_buffer_object 1
+#define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
+#define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
+#define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
+#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
+#endif /* GL_EXT_pixel_buffer_object */
+
+#ifndef GL_EXT_pixel_transform
+#define GL_EXT_pixel_transform 1
+#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
+#define GL_PIXEL_MAG_FILTER_EXT           0x8331
+#define GL_PIXEL_MIN_FILTER_EXT           0x8332
+#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
+#define GL_CUBIC_EXT                      0x8334
+#define GL_AVERAGE_EXT                    0x8335
+#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
+#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
+#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_EXT_pixel_transform */
+
+#ifndef GL_EXT_pixel_transform_color_table
+#define GL_EXT_pixel_transform_color_table 1
+#endif /* GL_EXT_pixel_transform_color_table */
+
+#ifndef GL_EXT_point_parameters
+#define GL_EXT_point_parameters 1
+#define GL_POINT_SIZE_MIN_EXT             0x8126
+#define GL_POINT_SIZE_MAX_EXT             0x8127
+#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
+#define GL_DISTANCE_ATTENUATION_EXT       0x8129
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
+#endif
+#endif /* GL_EXT_point_parameters */
+
+#ifndef GL_EXT_polygon_offset
+#define GL_EXT_polygon_offset 1
+#define GL_POLYGON_OFFSET_EXT             0x8037
+#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
+#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
+typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
+#endif
+#endif /* GL_EXT_polygon_offset */
+
+#ifndef GL_EXT_provoking_vertex
+#define GL_EXT_provoking_vertex 1
+#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
+#define GL_FIRST_VERTEX_CONVENTION_EXT    0x8E4D
+#define GL_LAST_VERTEX_CONVENTION_EXT     0x8E4E
+#define GL_PROVOKING_VERTEX_EXT           0x8E4F
+typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
+#endif
+#endif /* GL_EXT_provoking_vertex */
+
+#ifndef GL_EXT_rescale_normal
+#define GL_EXT_rescale_normal 1
+#define GL_RESCALE_NORMAL_EXT             0x803A
+#endif /* GL_EXT_rescale_normal */
+
+#ifndef GL_EXT_secondary_color
+#define GL_EXT_secondary_color 1
+#define GL_COLOR_SUM_EXT                  0x8458
+#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
+#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
+#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
+#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
+#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
+#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
+GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
+GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
+GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
+GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
+GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
+GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
+GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
+GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
+GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
+GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
+GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
+GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
+GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
+GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
+GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
+GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_secondary_color */
+
+#ifndef GL_EXT_separate_shader_objects
+#define GL_EXT_separate_shader_objects 1
+#define GL_ACTIVE_PROGRAM_EXT             0x8B8D
+typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
+typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
+typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
+GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
+GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
+#endif
+#endif /* GL_EXT_separate_shader_objects */
+
+#ifndef GL_EXT_separate_specular_color
+#define GL_EXT_separate_specular_color 1
+#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
+#define GL_SINGLE_COLOR_EXT               0x81F9
+#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
+#endif /* GL_EXT_separate_specular_color */
+
+#ifndef GL_EXT_shader_image_load_formatted
+#define GL_EXT_shader_image_load_formatted 1
+#endif /* GL_EXT_shader_image_load_formatted */
+
+#ifndef GL_EXT_shader_image_load_store
+#define GL_EXT_shader_image_load_store 1
+#define GL_MAX_IMAGE_UNITS_EXT            0x8F38
+#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
+#define GL_IMAGE_BINDING_NAME_EXT         0x8F3A
+#define GL_IMAGE_BINDING_LEVEL_EXT        0x8F3B
+#define GL_IMAGE_BINDING_LAYERED_EXT      0x8F3C
+#define GL_IMAGE_BINDING_LAYER_EXT        0x8F3D
+#define GL_IMAGE_BINDING_ACCESS_EXT       0x8F3E
+#define GL_IMAGE_1D_EXT                   0x904C
+#define GL_IMAGE_2D_EXT                   0x904D
+#define GL_IMAGE_3D_EXT                   0x904E
+#define GL_IMAGE_2D_RECT_EXT              0x904F
+#define GL_IMAGE_CUBE_EXT                 0x9050
+#define GL_IMAGE_BUFFER_EXT               0x9051
+#define GL_IMAGE_1D_ARRAY_EXT             0x9052
+#define GL_IMAGE_2D_ARRAY_EXT             0x9053
+#define GL_IMAGE_CUBE_MAP_ARRAY_EXT       0x9054
+#define GL_IMAGE_2D_MULTISAMPLE_EXT       0x9055
+#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
+#define GL_INT_IMAGE_1D_EXT               0x9057
+#define GL_INT_IMAGE_2D_EXT               0x9058
+#define GL_INT_IMAGE_3D_EXT               0x9059
+#define GL_INT_IMAGE_2D_RECT_EXT          0x905A
+#define GL_INT_IMAGE_CUBE_EXT             0x905B
+#define GL_INT_IMAGE_BUFFER_EXT           0x905C
+#define GL_INT_IMAGE_1D_ARRAY_EXT         0x905D
+#define GL_INT_IMAGE_2D_ARRAY_EXT         0x905E
+#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT   0x905F
+#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT   0x9060
+#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
+#define GL_UNSIGNED_INT_IMAGE_1D_EXT      0x9062
+#define GL_UNSIGNED_INT_IMAGE_2D_EXT      0x9063
+#define GL_UNSIGNED_INT_IMAGE_3D_EXT      0x9064
+#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
+#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT    0x9066
+#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT  0x9067
+#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
+#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
+#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
+#define GL_MAX_IMAGE_SAMPLES_EXT          0x906D
+#define GL_IMAGE_BINDING_FORMAT_EXT       0x906E
+#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
+#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT  0x00000002
+#define GL_UNIFORM_BARRIER_BIT_EXT        0x00000004
+#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT  0x00000008
+#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
+#define GL_COMMAND_BARRIER_BIT_EXT        0x00000040
+#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT   0x00000080
+#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
+#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT  0x00000200
+#define GL_FRAMEBUFFER_BARRIER_BIT_EXT    0x00000400
+#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
+#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
+#define GL_ALL_BARRIER_BITS_EXT           0xFFFFFFFF
+typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
+typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
+GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
+#endif
+#endif /* GL_EXT_shader_image_load_store */
+
+#ifndef GL_EXT_shader_integer_mix
+#define GL_EXT_shader_integer_mix 1
+#endif /* GL_EXT_shader_integer_mix */
+
+#ifndef GL_EXT_shadow_funcs
+#define GL_EXT_shadow_funcs 1
+#endif /* GL_EXT_shadow_funcs */
+
+#ifndef GL_EXT_shared_texture_palette
+#define GL_EXT_shared_texture_palette 1
+#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
+#endif /* GL_EXT_shared_texture_palette */
+
+#ifndef GL_EXT_stencil_clear_tag
+#define GL_EXT_stencil_clear_tag 1
+#define GL_STENCIL_TAG_BITS_EXT           0x88F2
+#define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
+typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
+#endif
+#endif /* GL_EXT_stencil_clear_tag */
+
+#ifndef GL_EXT_stencil_two_side
+#define GL_EXT_stencil_two_side 1
+#define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
+#define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
+typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
+#endif
+#endif /* GL_EXT_stencil_two_side */
+
+#ifndef GL_EXT_stencil_wrap
+#define GL_EXT_stencil_wrap 1
+#define GL_INCR_WRAP_EXT                  0x8507
+#define GL_DECR_WRAP_EXT                  0x8508
+#endif /* GL_EXT_stencil_wrap */
+
+#ifndef GL_EXT_subtexture
+#define GL_EXT_subtexture 1
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+#endif
+#endif /* GL_EXT_subtexture */
+
+#ifndef GL_EXT_texture
+#define GL_EXT_texture 1
+#define GL_ALPHA4_EXT                     0x803B
+#define GL_ALPHA8_EXT                     0x803C
+#define GL_ALPHA12_EXT                    0x803D
+#define GL_ALPHA16_EXT                    0x803E
+#define GL_LUMINANCE4_EXT                 0x803F
+#define GL_LUMINANCE8_EXT                 0x8040
+#define GL_LUMINANCE12_EXT                0x8041
+#define GL_LUMINANCE16_EXT                0x8042
+#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
+#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
+#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
+#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
+#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
+#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
+#define GL_INTENSITY_EXT                  0x8049
+#define GL_INTENSITY4_EXT                 0x804A
+#define GL_INTENSITY8_EXT                 0x804B
+#define GL_INTENSITY12_EXT                0x804C
+#define GL_INTENSITY16_EXT                0x804D
+#define GL_RGB2_EXT                       0x804E
+#define GL_RGB4_EXT                       0x804F
+#define GL_RGB5_EXT                       0x8050
+#define GL_RGB8_EXT                       0x8051
+#define GL_RGB10_EXT                      0x8052
+#define GL_RGB12_EXT                      0x8053
+#define GL_RGB16_EXT                      0x8054
+#define GL_RGBA2_EXT                      0x8055
+#define GL_RGBA4_EXT                      0x8056
+#define GL_RGB5_A1_EXT                    0x8057
+#define GL_RGBA8_EXT                      0x8058
+#define GL_RGB10_A2_EXT                   0x8059
+#define GL_RGBA12_EXT                     0x805A
+#define GL_RGBA16_EXT                     0x805B
+#define GL_TEXTURE_RED_SIZE_EXT           0x805C
+#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
+#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
+#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
+#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
+#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
+#define GL_REPLACE_EXT                    0x8062
+#define GL_PROXY_TEXTURE_1D_EXT           0x8063
+#define GL_PROXY_TEXTURE_2D_EXT           0x8064
+#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
+#endif /* GL_EXT_texture */
+
+#ifndef GL_EXT_texture3D
+#define GL_EXT_texture3D 1
+#define GL_PACK_SKIP_IMAGES_EXT           0x806B
+#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
+#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
+#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
+#define GL_TEXTURE_3D_EXT                 0x806F
+#define GL_PROXY_TEXTURE_3D_EXT           0x8070
+#define GL_TEXTURE_DEPTH_EXT              0x8071
+#define GL_TEXTURE_WRAP_R_EXT             0x8072
+#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
+typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+#endif
+#endif /* GL_EXT_texture3D */
+
+#ifndef GL_EXT_texture_array
+#define GL_EXT_texture_array 1
+#define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
+#define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
+#define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
+#define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
+#define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
+#define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
+#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
+#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
+#endif /* GL_EXT_texture_array */
+
+#ifndef GL_EXT_texture_buffer_object
+#define GL_EXT_texture_buffer_object 1
+#define GL_TEXTURE_BUFFER_EXT             0x8C2A
+#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
+#define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
+#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
+#define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
+typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
+#endif
+#endif /* GL_EXT_texture_buffer_object */
+
+#ifndef GL_EXT_texture_compression_latc
+#define GL_EXT_texture_compression_latc 1
+#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
+#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
+#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
+#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
+#endif /* GL_EXT_texture_compression_latc */
+
+#ifndef GL_EXT_texture_compression_rgtc
+#define GL_EXT_texture_compression_rgtc 1
+#define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
+#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
+#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
+#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
+#endif /* GL_EXT_texture_compression_rgtc */
+
+#ifndef GL_EXT_texture_compression_s3tc
+#define GL_EXT_texture_compression_s3tc 1
+#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
+#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
+#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
+#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
+#endif /* GL_EXT_texture_compression_s3tc */
+
+#ifndef GL_EXT_texture_cube_map
+#define GL_EXT_texture_cube_map 1
+#define GL_NORMAL_MAP_EXT                 0x8511
+#define GL_REFLECTION_MAP_EXT             0x8512
+#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
+#endif /* GL_EXT_texture_cube_map */
+
+#ifndef GL_EXT_texture_env_add
+#define GL_EXT_texture_env_add 1
+#endif /* GL_EXT_texture_env_add */
+
+#ifndef GL_EXT_texture_env_combine
+#define GL_EXT_texture_env_combine 1
+#define GL_COMBINE_EXT                    0x8570
+#define GL_COMBINE_RGB_EXT                0x8571
+#define GL_COMBINE_ALPHA_EXT              0x8572
+#define GL_RGB_SCALE_EXT                  0x8573
+#define GL_ADD_SIGNED_EXT                 0x8574
+#define GL_INTERPOLATE_EXT                0x8575
+#define GL_CONSTANT_EXT                   0x8576
+#define GL_PRIMARY_COLOR_EXT              0x8577
+#define GL_PREVIOUS_EXT                   0x8578
+#define GL_SOURCE0_RGB_EXT                0x8580
+#define GL_SOURCE1_RGB_EXT                0x8581
+#define GL_SOURCE2_RGB_EXT                0x8582
+#define GL_SOURCE0_ALPHA_EXT              0x8588
+#define GL_SOURCE1_ALPHA_EXT              0x8589
+#define GL_SOURCE2_ALPHA_EXT              0x858A
+#define GL_OPERAND0_RGB_EXT               0x8590
+#define GL_OPERAND1_RGB_EXT               0x8591
+#define GL_OPERAND2_RGB_EXT               0x8592
+#define GL_OPERAND0_ALPHA_EXT             0x8598
+#define GL_OPERAND1_ALPHA_EXT             0x8599
+#define GL_OPERAND2_ALPHA_EXT             0x859A
+#endif /* GL_EXT_texture_env_combine */
+
+#ifndef GL_EXT_texture_env_dot3
+#define GL_EXT_texture_env_dot3 1
+#define GL_DOT3_RGB_EXT                   0x8740
+#define GL_DOT3_RGBA_EXT                  0x8741
+#endif /* GL_EXT_texture_env_dot3 */
+
+#ifndef GL_EXT_texture_filter_anisotropic
+#define GL_EXT_texture_filter_anisotropic 1
+#define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
+#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
+#endif /* GL_EXT_texture_filter_anisotropic */
+
+#ifndef GL_EXT_texture_integer
+#define GL_EXT_texture_integer 1
+#define GL_RGBA32UI_EXT                   0x8D70
+#define GL_RGB32UI_EXT                    0x8D71
+#define GL_ALPHA32UI_EXT                  0x8D72
+#define GL_INTENSITY32UI_EXT              0x8D73
+#define GL_LUMINANCE32UI_EXT              0x8D74
+#define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
+#define GL_RGBA16UI_EXT                   0x8D76
+#define GL_RGB16UI_EXT                    0x8D77
+#define GL_ALPHA16UI_EXT                  0x8D78
+#define GL_INTENSITY16UI_EXT              0x8D79
+#define GL_LUMINANCE16UI_EXT              0x8D7A
+#define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
+#define GL_RGBA8UI_EXT                    0x8D7C
+#define GL_RGB8UI_EXT                     0x8D7D
+#define GL_ALPHA8UI_EXT                   0x8D7E
+#define GL_INTENSITY8UI_EXT               0x8D7F
+#define GL_LUMINANCE8UI_EXT               0x8D80
+#define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
+#define GL_RGBA32I_EXT                    0x8D82
+#define GL_RGB32I_EXT                     0x8D83
+#define GL_ALPHA32I_EXT                   0x8D84
+#define GL_INTENSITY32I_EXT               0x8D85
+#define GL_LUMINANCE32I_EXT               0x8D86
+#define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
+#define GL_RGBA16I_EXT                    0x8D88
+#define GL_RGB16I_EXT                     0x8D89
+#define GL_ALPHA16I_EXT                   0x8D8A
+#define GL_INTENSITY16I_EXT               0x8D8B
+#define GL_LUMINANCE16I_EXT               0x8D8C
+#define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
+#define GL_RGBA8I_EXT                     0x8D8E
+#define GL_RGB8I_EXT                      0x8D8F
+#define GL_ALPHA8I_EXT                    0x8D90
+#define GL_INTENSITY8I_EXT                0x8D91
+#define GL_LUMINANCE8I_EXT                0x8D92
+#define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
+#define GL_RED_INTEGER_EXT                0x8D94
+#define GL_GREEN_INTEGER_EXT              0x8D95
+#define GL_BLUE_INTEGER_EXT               0x8D96
+#define GL_ALPHA_INTEGER_EXT              0x8D97
+#define GL_RGB_INTEGER_EXT                0x8D98
+#define GL_RGBA_INTEGER_EXT               0x8D99
+#define GL_BGR_INTEGER_EXT                0x8D9A
+#define GL_BGRA_INTEGER_EXT               0x8D9B
+#define GL_LUMINANCE_INTEGER_EXT          0x8D9C
+#define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
+#define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
+typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
+typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
+GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
+#endif
+#endif /* GL_EXT_texture_integer */
+
+#ifndef GL_EXT_texture_lod_bias
+#define GL_EXT_texture_lod_bias 1
+#define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
+#define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
+#define GL_TEXTURE_LOD_BIAS_EXT           0x8501
+#endif /* GL_EXT_texture_lod_bias */
+
+#ifndef GL_EXT_texture_mirror_clamp
+#define GL_EXT_texture_mirror_clamp 1
+#define GL_MIRROR_CLAMP_EXT               0x8742
+#define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
+#define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
+#endif /* GL_EXT_texture_mirror_clamp */
+
+#ifndef GL_EXT_texture_object
+#define GL_EXT_texture_object 1
+#define GL_TEXTURE_PRIORITY_EXT           0x8066
+#define GL_TEXTURE_RESIDENT_EXT           0x8067
+#define GL_TEXTURE_1D_BINDING_EXT         0x8068
+#define GL_TEXTURE_2D_BINDING_EXT         0x8069
+#define GL_TEXTURE_3D_BINDING_EXT         0x806A
+typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
+typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
+typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
+typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
+typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
+typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
+GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
+GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
+GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
+GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
+GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
+#endif
+#endif /* GL_EXT_texture_object */
+
+#ifndef GL_EXT_texture_perturb_normal
+#define GL_EXT_texture_perturb_normal 1
+#define GL_PERTURB_EXT                    0x85AE
+#define GL_TEXTURE_NORMAL_EXT             0x85AF
+typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
+#endif
+#endif /* GL_EXT_texture_perturb_normal */
+
+#ifndef GL_EXT_texture_sRGB
+#define GL_EXT_texture_sRGB 1
+#define GL_SRGB_EXT                       0x8C40
+#define GL_SRGB8_EXT                      0x8C41
+#define GL_SRGB_ALPHA_EXT                 0x8C42
+#define GL_SRGB8_ALPHA8_EXT               0x8C43
+#define GL_SLUMINANCE_ALPHA_EXT           0x8C44
+#define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
+#define GL_SLUMINANCE_EXT                 0x8C46
+#define GL_SLUMINANCE8_EXT                0x8C47
+#define GL_COMPRESSED_SRGB_EXT            0x8C48
+#define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
+#define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
+#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
+#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
+#endif /* GL_EXT_texture_sRGB */
+
+#ifndef GL_EXT_texture_sRGB_decode
+#define GL_EXT_texture_sRGB_decode 1
+#define GL_TEXTURE_SRGB_DECODE_EXT        0x8A48
+#define GL_DECODE_EXT                     0x8A49
+#define GL_SKIP_DECODE_EXT                0x8A4A
+#endif /* GL_EXT_texture_sRGB_decode */
+
+#ifndef GL_EXT_texture_shared_exponent
+#define GL_EXT_texture_shared_exponent 1
+#define GL_RGB9_E5_EXT                    0x8C3D
+#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
+#define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
+#endif /* GL_EXT_texture_shared_exponent */
+
+#ifndef GL_EXT_texture_snorm
+#define GL_EXT_texture_snorm 1
+#define GL_ALPHA_SNORM                    0x9010
+#define GL_LUMINANCE_SNORM                0x9011
+#define GL_LUMINANCE_ALPHA_SNORM          0x9012
+#define GL_INTENSITY_SNORM                0x9013
+#define GL_ALPHA8_SNORM                   0x9014
+#define GL_LUMINANCE8_SNORM               0x9015
+#define GL_LUMINANCE8_ALPHA8_SNORM        0x9016
+#define GL_INTENSITY8_SNORM               0x9017
+#define GL_ALPHA16_SNORM                  0x9018
+#define GL_LUMINANCE16_SNORM              0x9019
+#define GL_LUMINANCE16_ALPHA16_SNORM      0x901A
+#define GL_INTENSITY16_SNORM              0x901B
+#define GL_RED_SNORM                      0x8F90
+#define GL_RG_SNORM                       0x8F91
+#define GL_RGB_SNORM                      0x8F92
+#define GL_RGBA_SNORM                     0x8F93
+#endif /* GL_EXT_texture_snorm */
+
+#ifndef GL_EXT_texture_swizzle
+#define GL_EXT_texture_swizzle 1
+#define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
+#define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
+#define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
+#define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
+#define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
+#endif /* GL_EXT_texture_swizzle */
+
+#ifndef GL_EXT_timer_query
+#define GL_EXT_timer_query 1
+#define GL_TIME_ELAPSED_EXT               0x88BF
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
+GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
+#endif
+#endif /* GL_EXT_timer_query */
+
+#ifndef GL_EXT_transform_feedback
+#define GL_EXT_transform_feedback 1
+#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
+#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
+#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
+#define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
+#define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
+#define GL_PRIMITIVES_GENERATED_EXT       0x8C87
+#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
+#define GL_RASTERIZER_DISCARD_EXT         0x8C89
+#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
+#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
+#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
+#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
+typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
+typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
+typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
+GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
+GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
+GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+#endif
+#endif /* GL_EXT_transform_feedback */
+
+#ifndef GL_EXT_vertex_array
+#define GL_EXT_vertex_array 1
+#define GL_VERTEX_ARRAY_EXT               0x8074
+#define GL_NORMAL_ARRAY_EXT               0x8075
+#define GL_COLOR_ARRAY_EXT                0x8076
+#define GL_INDEX_ARRAY_EXT                0x8077
+#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
+#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
+#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
+#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
+#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
+#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
+#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
+#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
+#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
+#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
+#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
+#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
+#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
+#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
+#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
+#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
+#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
+#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
+#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
+#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
+#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
+#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
+#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
+#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
+#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
+#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
+#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
+#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
+typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
+typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
+typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
+typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glArrayElementEXT (GLint i);
+GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
+GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
+GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
+GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+#endif
+#endif /* GL_EXT_vertex_array */
+
+#ifndef GL_EXT_vertex_array_bgra
+#define GL_EXT_vertex_array_bgra 1
+#endif /* GL_EXT_vertex_array_bgra */
+
+#ifndef GL_EXT_vertex_attrib_64bit
+#define GL_EXT_vertex_attrib_64bit 1
+#define GL_DOUBLE_VEC2_EXT                0x8FFC
+#define GL_DOUBLE_VEC3_EXT                0x8FFD
+#define GL_DOUBLE_VEC4_EXT                0x8FFE
+#define GL_DOUBLE_MAT2_EXT                0x8F46
+#define GL_DOUBLE_MAT3_EXT                0x8F47
+#define GL_DOUBLE_MAT4_EXT                0x8F48
+#define GL_DOUBLE_MAT2x3_EXT              0x8F49
+#define GL_DOUBLE_MAT2x4_EXT              0x8F4A
+#define GL_DOUBLE_MAT3x2_EXT              0x8F4B
+#define GL_DOUBLE_MAT3x4_EXT              0x8F4C
+#define GL_DOUBLE_MAT4x2_EXT              0x8F4D
+#define GL_DOUBLE_MAT4x3_EXT              0x8F4E
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
+#endif
+#endif /* GL_EXT_vertex_attrib_64bit */
+
+#ifndef GL_EXT_vertex_shader
+#define GL_EXT_vertex_shader 1
+#define GL_VERTEX_SHADER_EXT              0x8780
+#define GL_VERTEX_SHADER_BINDING_EXT      0x8781
+#define GL_OP_INDEX_EXT                   0x8782
+#define GL_OP_NEGATE_EXT                  0x8783
+#define GL_OP_DOT3_EXT                    0x8784
+#define GL_OP_DOT4_EXT                    0x8785
+#define GL_OP_MUL_EXT                     0x8786
+#define GL_OP_ADD_EXT                     0x8787
+#define GL_OP_MADD_EXT                    0x8788
+#define GL_OP_FRAC_EXT                    0x8789
+#define GL_OP_MAX_EXT                     0x878A
+#define GL_OP_MIN_EXT                     0x878B
+#define GL_OP_SET_GE_EXT                  0x878C
+#define GL_OP_SET_LT_EXT                  0x878D
+#define GL_OP_CLAMP_EXT                   0x878E
+#define GL_OP_FLOOR_EXT                   0x878F
+#define GL_OP_ROUND_EXT                   0x8790
+#define GL_OP_EXP_BASE_2_EXT              0x8791
+#define GL_OP_LOG_BASE_2_EXT              0x8792
+#define GL_OP_POWER_EXT                   0x8793
+#define GL_OP_RECIP_EXT                   0x8794
+#define GL_OP_RECIP_SQRT_EXT              0x8795
+#define GL_OP_SUB_EXT                     0x8796
+#define GL_OP_CROSS_PRODUCT_EXT           0x8797
+#define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
+#define GL_OP_MOV_EXT                     0x8799
+#define GL_OUTPUT_VERTEX_EXT              0x879A
+#define GL_OUTPUT_COLOR0_EXT              0x879B
+#define GL_OUTPUT_COLOR1_EXT              0x879C
+#define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
+#define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
+#define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
+#define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
+#define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
+#define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
+#define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
+#define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
+#define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
+#define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
+#define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
+#define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
+#define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
+#define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
+#define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
+#define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
+#define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
+#define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
+#define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
+#define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
+#define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
+#define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
+#define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
+#define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
+#define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
+#define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
+#define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
+#define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
+#define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
+#define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
+#define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
+#define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
+#define GL_OUTPUT_FOG_EXT                 0x87BD
+#define GL_SCALAR_EXT                     0x87BE
+#define GL_VECTOR_EXT                     0x87BF
+#define GL_MATRIX_EXT                     0x87C0
+#define GL_VARIANT_EXT                    0x87C1
+#define GL_INVARIANT_EXT                  0x87C2
+#define GL_LOCAL_CONSTANT_EXT             0x87C3
+#define GL_LOCAL_EXT                      0x87C4
+#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
+#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
+#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
+#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
+#define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
+#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
+#define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
+#define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
+#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
+#define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
+#define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
+#define GL_X_EXT                          0x87D5
+#define GL_Y_EXT                          0x87D6
+#define GL_Z_EXT                          0x87D7
+#define GL_W_EXT                          0x87D8
+#define GL_NEGATIVE_X_EXT                 0x87D9
+#define GL_NEGATIVE_Y_EXT                 0x87DA
+#define GL_NEGATIVE_Z_EXT                 0x87DB
+#define GL_NEGATIVE_W_EXT                 0x87DC
+#define GL_ZERO_EXT                       0x87DD
+#define GL_ONE_EXT                        0x87DE
+#define GL_NEGATIVE_ONE_EXT               0x87DF
+#define GL_NORMALIZED_RANGE_EXT           0x87E0
+#define GL_FULL_RANGE_EXT                 0x87E1
+#define GL_CURRENT_VERTEX_EXT             0x87E2
+#define GL_MVP_MATRIX_EXT                 0x87E3
+#define GL_VARIANT_VALUE_EXT              0x87E4
+#define GL_VARIANT_DATATYPE_EXT           0x87E5
+#define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
+#define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
+#define GL_VARIANT_ARRAY_EXT              0x87E8
+#define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
+#define GL_INVARIANT_VALUE_EXT            0x87EA
+#define GL_INVARIANT_DATATYPE_EXT         0x87EB
+#define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
+#define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
+typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
+typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
+typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
+typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
+typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
+typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
+typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
+typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
+typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
+typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
+typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
+typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
+typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
+typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
+typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
+typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
+typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
+typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
+typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
+typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
+typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
+typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
+typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
+typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
+typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
+typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
+typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
+typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
+typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginVertexShaderEXT (void);
+GLAPI void APIENTRY glEndVertexShaderEXT (void);
+GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
+GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
+GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
+GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
+GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
+GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
+GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
+GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
+GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
+GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
+GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
+GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
+GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
+GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
+GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
+GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
+GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
+GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
+GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
+GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
+GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
+GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
+GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
+GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
+GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
+GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
+GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
+GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
+GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
+GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
+GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
+GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
+GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
+GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
+GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
+GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
+GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
+GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
+#endif
+#endif /* GL_EXT_vertex_shader */
+
+#ifndef GL_EXT_vertex_weighting
+#define GL_EXT_vertex_weighting 1
+#define GL_MODELVIEW0_STACK_DEPTH_EXT     0x0BA3
+#define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
+#define GL_MODELVIEW0_MATRIX_EXT          0x0BA6
+#define GL_MODELVIEW1_MATRIX_EXT          0x8506
+#define GL_VERTEX_WEIGHTING_EXT           0x8509
+#define GL_MODELVIEW0_EXT                 0x1700
+#define GL_MODELVIEW1_EXT                 0x850A
+#define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
+#define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
+#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
+#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
+#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
+#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
+GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
+GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_vertex_weighting */
+
+#ifndef GL_EXT_x11_sync_object
+#define GL_EXT_x11_sync_object 1
+#define GL_SYNC_X11_FENCE_EXT             0x90E1
+typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
+#endif
+#endif /* GL_EXT_x11_sync_object */
+
+#ifndef GL_GREMEDY_frame_terminator
+#define GL_GREMEDY_frame_terminator 1
+typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
+#endif
+#endif /* GL_GREMEDY_frame_terminator */
+
+#ifndef GL_GREMEDY_string_marker
+#define GL_GREMEDY_string_marker 1
+typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
+#endif
+#endif /* GL_GREMEDY_string_marker */
+
+#ifndef GL_HP_convolution_border_modes
+#define GL_HP_convolution_border_modes 1
+#define GL_IGNORE_BORDER_HP               0x8150
+#define GL_CONSTANT_BORDER_HP             0x8151
+#define GL_REPLICATE_BORDER_HP            0x8153
+#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
+#endif /* GL_HP_convolution_border_modes */
+
+#ifndef GL_HP_image_transform
+#define GL_HP_image_transform 1
+#define GL_IMAGE_SCALE_X_HP               0x8155
+#define GL_IMAGE_SCALE_Y_HP               0x8156
+#define GL_IMAGE_TRANSLATE_X_HP           0x8157
+#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
+#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
+#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
+#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
+#define GL_IMAGE_MAG_FILTER_HP            0x815C
+#define GL_IMAGE_MIN_FILTER_HP            0x815D
+#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
+#define GL_CUBIC_HP                       0x815F
+#define GL_AVERAGE_HP                     0x8160
+#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
+#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
+#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_HP_image_transform */
+
+#ifndef GL_HP_occlusion_test
+#define GL_HP_occlusion_test 1
+#define GL_OCCLUSION_TEST_HP              0x8165
+#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
+#endif /* GL_HP_occlusion_test */
+
+#ifndef GL_HP_texture_lighting
+#define GL_HP_texture_lighting 1
+#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
+#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
+#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
+#endif /* GL_HP_texture_lighting */
+
+#ifndef GL_IBM_cull_vertex
+#define GL_IBM_cull_vertex 1
+#define GL_CULL_VERTEX_IBM                103050
+#endif /* GL_IBM_cull_vertex */
+
+#ifndef GL_IBM_multimode_draw_arrays
+#define GL_IBM_multimode_draw_arrays 1
+typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
+typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
+GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
+#endif
+#endif /* GL_IBM_multimode_draw_arrays */
+
+#ifndef GL_IBM_rasterpos_clip
+#define GL_IBM_rasterpos_clip 1
+#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
+#endif /* GL_IBM_rasterpos_clip */
+
+#ifndef GL_IBM_static_data
+#define GL_IBM_static_data 1
+#define GL_ALL_STATIC_DATA_IBM            103060
+#define GL_STATIC_VERTEX_ARRAY_IBM        103061
+typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
+#endif
+#endif /* GL_IBM_static_data */
+
+#ifndef GL_IBM_texture_mirrored_repeat
+#define GL_IBM_texture_mirrored_repeat 1
+#define GL_MIRRORED_REPEAT_IBM            0x8370
+#endif /* GL_IBM_texture_mirrored_repeat */
+
+#ifndef GL_IBM_vertex_array_lists
+#define GL_IBM_vertex_array_lists 1
+#define GL_VERTEX_ARRAY_LIST_IBM          103070
+#define GL_NORMAL_ARRAY_LIST_IBM          103071
+#define GL_COLOR_ARRAY_LIST_IBM           103072
+#define GL_INDEX_ARRAY_LIST_IBM           103073
+#define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
+#define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
+#define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
+#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
+#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
+#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
+#define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
+#define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
+#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
+#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
+#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
+#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
+typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
+GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+#endif
+#endif /* GL_IBM_vertex_array_lists */
+
+#ifndef GL_INGR_blend_func_separate
+#define GL_INGR_blend_func_separate 1
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#endif
+#endif /* GL_INGR_blend_func_separate */
+
+#ifndef GL_INGR_color_clamp
+#define GL_INGR_color_clamp 1
+#define GL_RED_MIN_CLAMP_INGR             0x8560
+#define GL_GREEN_MIN_CLAMP_INGR           0x8561
+#define GL_BLUE_MIN_CLAMP_INGR            0x8562
+#define GL_ALPHA_MIN_CLAMP_INGR           0x8563
+#define GL_RED_MAX_CLAMP_INGR             0x8564
+#define GL_GREEN_MAX_CLAMP_INGR           0x8565
+#define GL_BLUE_MAX_CLAMP_INGR            0x8566
+#define GL_ALPHA_MAX_CLAMP_INGR           0x8567
+#endif /* GL_INGR_color_clamp */
+
+#ifndef GL_INGR_interlace_read
+#define GL_INGR_interlace_read 1
+#define GL_INTERLACE_READ_INGR            0x8568
+#endif /* GL_INGR_interlace_read */
+
+#ifndef GL_INTEL_fragment_shader_ordering
+#define GL_INTEL_fragment_shader_ordering 1
+#endif /* GL_INTEL_fragment_shader_ordering */
+
+#ifndef GL_INTEL_map_texture
+#define GL_INTEL_map_texture 1
+#define GL_TEXTURE_MEMORY_LAYOUT_INTEL    0x83FF
+#define GL_LAYOUT_DEFAULT_INTEL           0
+#define GL_LAYOUT_LINEAR_INTEL            1
+#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
+typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
+typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
+typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
+GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
+GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
+#endif
+#endif /* GL_INTEL_map_texture */
+
+#ifndef GL_INTEL_parallel_arrays
+#define GL_INTEL_parallel_arrays 1
+#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
+#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
+#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
+#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
+#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
+typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
+typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
+typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
+typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
+GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
+GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
+GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
+#endif
+#endif /* GL_INTEL_parallel_arrays */
+
+#ifndef GL_INTEL_performance_query
+#define GL_INTEL_performance_query 1
+#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
+#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
+#define GL_PERFQUERY_WAIT_INTEL           0x83FB
+#define GL_PERFQUERY_FLUSH_INTEL          0x83FA
+#define GL_PERFQUERY_DONOT_FLUSH_INTEL    0x83F9
+#define GL_PERFQUERY_COUNTER_EVENT_INTEL  0x94F0
+#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
+#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
+#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
+#define GL_PERFQUERY_COUNTER_RAW_INTEL    0x94F4
+#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
+#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
+#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
+#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
+#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
+#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
+#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
+#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
+#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
+#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
+typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
+typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
+typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
+typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
+typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
+typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
+typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
+typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
+typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
+typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
+GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
+GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
+GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
+GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
+GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
+GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
+GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
+GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
+GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
+#endif
+#endif /* GL_INTEL_performance_query */
+
+#ifndef GL_MESAX_texture_stack
+#define GL_MESAX_texture_stack 1
+#define GL_TEXTURE_1D_STACK_MESAX         0x8759
+#define GL_TEXTURE_2D_STACK_MESAX         0x875A
+#define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
+#define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
+#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
+#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
+#endif /* GL_MESAX_texture_stack */
+
+#ifndef GL_MESA_pack_invert
+#define GL_MESA_pack_invert 1
+#define GL_PACK_INVERT_MESA               0x8758
+#endif /* GL_MESA_pack_invert */
+
+#ifndef GL_MESA_resize_buffers
+#define GL_MESA_resize_buffers 1
+typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glResizeBuffersMESA (void);
+#endif
+#endif /* GL_MESA_resize_buffers */
+
+#ifndef GL_MESA_window_pos
+#define GL_MESA_window_pos 1
+typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
+GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
+GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
+GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
+GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
+GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
+GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
+GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
+GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
+GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
+#endif
+#endif /* GL_MESA_window_pos */
+
+#ifndef GL_MESA_ycbcr_texture
+#define GL_MESA_ycbcr_texture 1
+#define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
+#define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
+#define GL_YCBCR_MESA                     0x8757
+#endif /* GL_MESA_ycbcr_texture */
+
+#ifndef GL_NVX_conditional_render
+#define GL_NVX_conditional_render 1
+typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
+GLAPI void APIENTRY glEndConditionalRenderNVX (void);
+#endif
+#endif /* GL_NVX_conditional_render */
+
+#ifndef GL_NVX_gpu_memory_info
+#define GL_NVX_gpu_memory_info 1
+#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
+#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
+#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
+#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
+#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
+#endif /* GL_NVX_gpu_memory_info */
+
+#ifndef GL_NV_bindless_multi_draw_indirect
+#define GL_NV_bindless_multi_draw_indirect 1
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+#endif
+#endif /* GL_NV_bindless_multi_draw_indirect */
+
+#ifndef GL_NV_bindless_texture
+#define GL_NV_bindless_texture 1
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
+typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
+typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
+GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
+GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
+GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
+GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
+GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
+GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
+GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
+GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
+GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
+GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
+#endif
+#endif /* GL_NV_bindless_texture */
+
+#ifndef GL_NV_blend_equation_advanced
+#define GL_NV_blend_equation_advanced 1
+#define GL_BLEND_OVERLAP_NV               0x9281
+#define GL_BLEND_PREMULTIPLIED_SRC_NV     0x9280
+#define GL_BLUE_NV                        0x1905
+#define GL_COLORBURN_NV                   0x929A
+#define GL_COLORDODGE_NV                  0x9299
+#define GL_CONJOINT_NV                    0x9284
+#define GL_CONTRAST_NV                    0x92A1
+#define GL_DARKEN_NV                      0x9297
+#define GL_DIFFERENCE_NV                  0x929E
+#define GL_DISJOINT_NV                    0x9283
+#define GL_DST_ATOP_NV                    0x928F
+#define GL_DST_IN_NV                      0x928B
+#define GL_DST_NV                         0x9287
+#define GL_DST_OUT_NV                     0x928D
+#define GL_DST_OVER_NV                    0x9289
+#define GL_EXCLUSION_NV                   0x92A0
+#define GL_GREEN_NV                       0x1904
+#define GL_HARDLIGHT_NV                   0x929B
+#define GL_HARDMIX_NV                     0x92A9
+#define GL_HSL_COLOR_NV                   0x92AF
+#define GL_HSL_HUE_NV                     0x92AD
+#define GL_HSL_LUMINOSITY_NV              0x92B0
+#define GL_HSL_SATURATION_NV              0x92AE
+#define GL_INVERT_OVG_NV                  0x92B4
+#define GL_INVERT_RGB_NV                  0x92A3
+#define GL_LIGHTEN_NV                     0x9298
+#define GL_LINEARBURN_NV                  0x92A5
+#define GL_LINEARDODGE_NV                 0x92A4
+#define GL_LINEARLIGHT_NV                 0x92A7
+#define GL_MINUS_CLAMPED_NV               0x92B3
+#define GL_MINUS_NV                       0x929F
+#define GL_MULTIPLY_NV                    0x9294
+#define GL_OVERLAY_NV                     0x9296
+#define GL_PINLIGHT_NV                    0x92A8
+#define GL_PLUS_CLAMPED_ALPHA_NV          0x92B2
+#define GL_PLUS_CLAMPED_NV                0x92B1
+#define GL_PLUS_DARKER_NV                 0x9292
+#define GL_PLUS_NV                        0x9291
+#define GL_RED_NV                         0x1903
+#define GL_SCREEN_NV                      0x9295
+#define GL_SOFTLIGHT_NV                   0x929C
+#define GL_SRC_ATOP_NV                    0x928E
+#define GL_SRC_IN_NV                      0x928A
+#define GL_SRC_NV                         0x9286
+#define GL_SRC_OUT_NV                     0x928C
+#define GL_SRC_OVER_NV                    0x9288
+#define GL_UNCORRELATED_NV                0x9282
+#define GL_VIVIDLIGHT_NV                  0x92A6
+#define GL_XOR_NV                         0x1506
+typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
+GLAPI void APIENTRY glBlendBarrierNV (void);
+#endif
+#endif /* GL_NV_blend_equation_advanced */
+
+#ifndef GL_NV_blend_equation_advanced_coherent
+#define GL_NV_blend_equation_advanced_coherent 1
+#define GL_BLEND_ADVANCED_COHERENT_NV     0x9285
+#endif /* GL_NV_blend_equation_advanced_coherent */
+
+#ifndef GL_NV_blend_square
+#define GL_NV_blend_square 1
+#endif /* GL_NV_blend_square */
+
+#ifndef GL_NV_compute_program5
+#define GL_NV_compute_program5 1
+#define GL_COMPUTE_PROGRAM_NV             0x90FB
+#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
+#endif /* GL_NV_compute_program5 */
+
+#ifndef GL_NV_conditional_render
+#define GL_NV_conditional_render 1
+#define GL_QUERY_WAIT_NV                  0x8E13
+#define GL_QUERY_NO_WAIT_NV               0x8E14
+#define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
+#define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
+typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
+typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
+GLAPI void APIENTRY glEndConditionalRenderNV (void);
+#endif
+#endif /* GL_NV_conditional_render */
+
+#ifndef GL_NV_copy_depth_to_color
+#define GL_NV_copy_depth_to_color 1
+#define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
+#define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
+#endif /* GL_NV_copy_depth_to_color */
+
+#ifndef GL_NV_copy_image
+#define GL_NV_copy_image 1
+typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
+#endif
+#endif /* GL_NV_copy_image */
+
+#ifndef GL_NV_deep_texture3D
+#define GL_NV_deep_texture3D 1
+#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
+#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV   0x90D1
+#endif /* GL_NV_deep_texture3D */
+
+#ifndef GL_NV_depth_buffer_float
+#define GL_NV_depth_buffer_float 1
+#define GL_DEPTH_COMPONENT32F_NV          0x8DAB
+#define GL_DEPTH32F_STENCIL8_NV           0x8DAC
+#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
+#define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
+typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
+typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
+typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
+GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
+GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
+#endif
+#endif /* GL_NV_depth_buffer_float */
+
+#ifndef GL_NV_depth_clamp
+#define GL_NV_depth_clamp 1
+#define GL_DEPTH_CLAMP_NV                 0x864F
+#endif /* GL_NV_depth_clamp */
+
+#ifndef GL_NV_draw_texture
+#define GL_NV_draw_texture 1
+typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
+#endif
+#endif /* GL_NV_draw_texture */
+
+#ifndef GL_NV_evaluators
+#define GL_NV_evaluators 1
+#define GL_EVAL_2D_NV                     0x86C0
+#define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
+#define GL_MAP_TESSELLATION_NV            0x86C2
+#define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
+#define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
+#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
+#define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
+#define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
+#define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
+#define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
+#define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
+#define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
+#define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
+#define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
+#define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
+#define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
+#define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
+#define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
+#define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
+#define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
+#define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
+#define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
+#define GL_MAX_MAP_TESSELLATION_NV        0x86D6
+#define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
+typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
+typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
+typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
+GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
+GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
+#endif
+#endif /* GL_NV_evaluators */
+
+#ifndef GL_NV_explicit_multisample
+#define GL_NV_explicit_multisample 1
+#define GL_SAMPLE_POSITION_NV             0x8E50
+#define GL_SAMPLE_MASK_NV                 0x8E51
+#define GL_SAMPLE_MASK_VALUE_NV           0x8E52
+#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
+#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
+#define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
+#define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
+#define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
+#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
+#define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
+typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
+typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
+typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
+GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
+GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
+#endif
+#endif /* GL_NV_explicit_multisample */
+
+#ifndef GL_NV_fence
+#define GL_NV_fence 1
+#define GL_ALL_COMPLETED_NV               0x84F2
+#define GL_FENCE_STATUS_NV                0x84F3
+#define GL_FENCE_CONDITION_NV             0x84F4
+typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
+typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
+typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
+typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
+typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
+GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
+GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
+GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
+GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
+GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
+GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
+#endif
+#endif /* GL_NV_fence */
+
+#ifndef GL_NV_float_buffer
+#define GL_NV_float_buffer 1
+#define GL_FLOAT_R_NV                     0x8880
+#define GL_FLOAT_RG_NV                    0x8881
+#define GL_FLOAT_RGB_NV                   0x8882
+#define GL_FLOAT_RGBA_NV                  0x8883
+#define GL_FLOAT_R16_NV                   0x8884
+#define GL_FLOAT_R32_NV                   0x8885
+#define GL_FLOAT_RG16_NV                  0x8886
+#define GL_FLOAT_RG32_NV                  0x8887
+#define GL_FLOAT_RGB16_NV                 0x8888
+#define GL_FLOAT_RGB32_NV                 0x8889
+#define GL_FLOAT_RGBA16_NV                0x888A
+#define GL_FLOAT_RGBA32_NV                0x888B
+#define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
+#define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
+#define GL_FLOAT_RGBA_MODE_NV             0x888E
+#endif /* GL_NV_float_buffer */
+
+#ifndef GL_NV_fog_distance
+#define GL_NV_fog_distance 1
+#define GL_FOG_DISTANCE_MODE_NV           0x855A
+#define GL_EYE_RADIAL_NV                  0x855B
+#define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
+#endif /* GL_NV_fog_distance */
+
+#ifndef GL_NV_fragment_program
+#define GL_NV_fragment_program 1
+#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
+#define GL_FRAGMENT_PROGRAM_NV            0x8870
+#define GL_MAX_TEXTURE_COORDS_NV          0x8871
+#define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
+#define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
+#define GL_PROGRAM_ERROR_STRING_NV        0x8874
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
+typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
+GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
+GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
+GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
+#endif
+#endif /* GL_NV_fragment_program */
+
+#ifndef GL_NV_fragment_program2
+#define GL_NV_fragment_program2 1
+#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
+#define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
+#define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
+#define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
+#define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
+#endif /* GL_NV_fragment_program2 */
+
+#ifndef GL_NV_fragment_program4
+#define GL_NV_fragment_program4 1
+#endif /* GL_NV_fragment_program4 */
+
+#ifndef GL_NV_fragment_program_option
+#define GL_NV_fragment_program_option 1
+#endif /* GL_NV_fragment_program_option */
+
+#ifndef GL_NV_framebuffer_multisample_coverage
+#define GL_NV_framebuffer_multisample_coverage 1
+#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
+#define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
+#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
+#define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_NV_framebuffer_multisample_coverage */
+
+#ifndef GL_NV_geometry_program4
+#define GL_NV_geometry_program4 1
+#define GL_GEOMETRY_PROGRAM_NV            0x8C26
+#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
+#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
+typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
+GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#endif
+#endif /* GL_NV_geometry_program4 */
+
+#ifndef GL_NV_geometry_shader4
+#define GL_NV_geometry_shader4 1
+#endif /* GL_NV_geometry_shader4 */
+
+#ifndef GL_NV_gpu_program4
+#define GL_NV_gpu_program4 1
+#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
+#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
+#define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
+#define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
+#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
+#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
+#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
+#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
+GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
+GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
+GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
+GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
+GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
+GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
+GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
+#endif
+#endif /* GL_NV_gpu_program4 */
+
+#ifndef GL_NV_gpu_program5
+#define GL_NV_gpu_program5 1
+#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
+#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
+#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
+#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
+#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
+#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
+#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV  0x8F45
+typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
+#endif
+#endif /* GL_NV_gpu_program5 */
+
+#ifndef GL_NV_gpu_program5_mem_extended
+#define GL_NV_gpu_program5_mem_extended 1
+#endif /* GL_NV_gpu_program5_mem_extended */
+
+#ifndef GL_NV_gpu_shader5
+#define GL_NV_gpu_shader5 1
+#endif /* GL_NV_gpu_shader5 */
+
+#ifndef GL_NV_half_float
+#define GL_NV_half_float 1
+typedef unsigned short GLhalfNV;
+#define GL_HALF_FLOAT_NV                  0x140B
+typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
+typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
+typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
+typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
+typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
+typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
+typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
+typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
+typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
+GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
+GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
+GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
+GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
+GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
+GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
+GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
+GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
+GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
+GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
+GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
+GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
+GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
+GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
+GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
+GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
+GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+#endif
+#endif /* GL_NV_half_float */
+
+#ifndef GL_NV_light_max_exponent
+#define GL_NV_light_max_exponent 1
+#define GL_MAX_SHININESS_NV               0x8504
+#define GL_MAX_SPOT_EXPONENT_NV           0x8505
+#endif /* GL_NV_light_max_exponent */
+
+#ifndef GL_NV_multisample_coverage
+#define GL_NV_multisample_coverage 1
+#define GL_COLOR_SAMPLES_NV               0x8E20
+#endif /* GL_NV_multisample_coverage */
+
+#ifndef GL_NV_multisample_filter_hint
+#define GL_NV_multisample_filter_hint 1
+#define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
+#endif /* GL_NV_multisample_filter_hint */
+
+#ifndef GL_NV_occlusion_query
+#define GL_NV_occlusion_query 1
+#define GL_PIXEL_COUNTER_BITS_NV          0x8864
+#define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
+#define GL_PIXEL_COUNT_NV                 0x8866
+#define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
+typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
+typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
+typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
+GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
+GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
+GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
+GLAPI void APIENTRY glEndOcclusionQueryNV (void);
+GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
+#endif
+#endif /* GL_NV_occlusion_query */
+
+#ifndef GL_NV_packed_depth_stencil
+#define GL_NV_packed_depth_stencil 1
+#define GL_DEPTH_STENCIL_NV               0x84F9
+#define GL_UNSIGNED_INT_24_8_NV           0x84FA
+#endif /* GL_NV_packed_depth_stencil */
+
+#ifndef GL_NV_parameter_buffer_object
+#define GL_NV_parameter_buffer_object 1
+#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
+#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
+#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
+#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
+#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
+typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
+GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
+#endif
+#endif /* GL_NV_parameter_buffer_object */
+
+#ifndef GL_NV_parameter_buffer_object2
+#define GL_NV_parameter_buffer_object2 1
+#endif /* GL_NV_parameter_buffer_object2 */
+
+#ifndef GL_NV_path_rendering
+#define GL_NV_path_rendering 1
+#define GL_PATH_FORMAT_SVG_NV             0x9070
+#define GL_PATH_FORMAT_PS_NV              0x9071
+#define GL_STANDARD_FONT_NAME_NV          0x9072
+#define GL_SYSTEM_FONT_NAME_NV            0x9073
+#define GL_FILE_NAME_NV                   0x9074
+#define GL_PATH_STROKE_WIDTH_NV           0x9075
+#define GL_PATH_END_CAPS_NV               0x9076
+#define GL_PATH_INITIAL_END_CAP_NV        0x9077
+#define GL_PATH_TERMINAL_END_CAP_NV       0x9078
+#define GL_PATH_JOIN_STYLE_NV             0x9079
+#define GL_PATH_MITER_LIMIT_NV            0x907A
+#define GL_PATH_DASH_CAPS_NV              0x907B
+#define GL_PATH_INITIAL_DASH_CAP_NV       0x907C
+#define GL_PATH_TERMINAL_DASH_CAP_NV      0x907D
+#define GL_PATH_DASH_OFFSET_NV            0x907E
+#define GL_PATH_CLIENT_LENGTH_NV          0x907F
+#define GL_PATH_FILL_MODE_NV              0x9080
+#define GL_PATH_FILL_MASK_NV              0x9081
+#define GL_PATH_FILL_COVER_MODE_NV        0x9082
+#define GL_PATH_STROKE_COVER_MODE_NV      0x9083
+#define GL_PATH_STROKE_MASK_NV            0x9084
+#define GL_COUNT_UP_NV                    0x9088
+#define GL_COUNT_DOWN_NV                  0x9089
+#define GL_PATH_OBJECT_BOUNDING_BOX_NV    0x908A
+#define GL_CONVEX_HULL_NV                 0x908B
+#define GL_BOUNDING_BOX_NV                0x908D
+#define GL_TRANSLATE_X_NV                 0x908E
+#define GL_TRANSLATE_Y_NV                 0x908F
+#define GL_TRANSLATE_2D_NV                0x9090
+#define GL_TRANSLATE_3D_NV                0x9091
+#define GL_AFFINE_2D_NV                   0x9092
+#define GL_AFFINE_3D_NV                   0x9094
+#define GL_TRANSPOSE_AFFINE_2D_NV         0x9096
+#define GL_TRANSPOSE_AFFINE_3D_NV         0x9098
+#define GL_UTF8_NV                        0x909A
+#define GL_UTF16_NV                       0x909B
+#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
+#define GL_PATH_COMMAND_COUNT_NV          0x909D
+#define GL_PATH_COORD_COUNT_NV            0x909E
+#define GL_PATH_DASH_ARRAY_COUNT_NV       0x909F
+#define GL_PATH_COMPUTED_LENGTH_NV        0x90A0
+#define GL_PATH_FILL_BOUNDING_BOX_NV      0x90A1
+#define GL_PATH_STROKE_BOUNDING_BOX_NV    0x90A2
+#define GL_SQUARE_NV                      0x90A3
+#define GL_ROUND_NV                       0x90A4
+#define GL_TRIANGULAR_NV                  0x90A5
+#define GL_BEVEL_NV                       0x90A6
+#define GL_MITER_REVERT_NV                0x90A7
+#define GL_MITER_TRUNCATE_NV              0x90A8
+#define GL_SKIP_MISSING_GLYPH_NV          0x90A9
+#define GL_USE_MISSING_GLYPH_NV           0x90AA
+#define GL_PATH_ERROR_POSITION_NV         0x90AB
+#define GL_PATH_FOG_GEN_MODE_NV           0x90AC
+#define GL_ACCUM_ADJACENT_PAIRS_NV        0x90AD
+#define GL_ADJACENT_PAIRS_NV              0x90AE
+#define GL_FIRST_TO_REST_NV               0x90AF
+#define GL_PATH_GEN_MODE_NV               0x90B0
+#define GL_PATH_GEN_COEFF_NV              0x90B1
+#define GL_PATH_GEN_COLOR_FORMAT_NV       0x90B2
+#define GL_PATH_GEN_COMPONENTS_NV         0x90B3
+#define GL_PATH_STENCIL_FUNC_NV           0x90B7
+#define GL_PATH_STENCIL_REF_NV            0x90B8
+#define GL_PATH_STENCIL_VALUE_MASK_NV     0x90B9
+#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
+#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
+#define GL_PATH_COVER_DEPTH_FUNC_NV       0x90BF
+#define GL_PATH_DASH_OFFSET_RESET_NV      0x90B4
+#define GL_MOVE_TO_RESETS_NV              0x90B5
+#define GL_MOVE_TO_CONTINUES_NV           0x90B6
+#define GL_CLOSE_PATH_NV                  0x00
+#define GL_MOVE_TO_NV                     0x02
+#define GL_RELATIVE_MOVE_TO_NV            0x03
+#define GL_LINE_TO_NV                     0x04
+#define GL_RELATIVE_LINE_TO_NV            0x05
+#define GL_HORIZONTAL_LINE_TO_NV          0x06
+#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
+#define GL_VERTICAL_LINE_TO_NV            0x08
+#define GL_RELATIVE_VERTICAL_LINE_TO_NV   0x09
+#define GL_QUADRATIC_CURVE_TO_NV          0x0A
+#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
+#define GL_CUBIC_CURVE_TO_NV              0x0C
+#define GL_RELATIVE_CUBIC_CURVE_TO_NV     0x0D
+#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV   0x0E
+#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
+#define GL_SMOOTH_CUBIC_CURVE_TO_NV       0x10
+#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
+#define GL_SMALL_CCW_ARC_TO_NV            0x12
+#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV   0x13
+#define GL_SMALL_CW_ARC_TO_NV             0x14
+#define GL_RELATIVE_SMALL_CW_ARC_TO_NV    0x15
+#define GL_LARGE_CCW_ARC_TO_NV            0x16
+#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV   0x17
+#define GL_LARGE_CW_ARC_TO_NV             0x18
+#define GL_RELATIVE_LARGE_CW_ARC_TO_NV    0x19
+#define GL_RESTART_PATH_NV                0xF0
+#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV    0xF2
+#define GL_DUP_LAST_CUBIC_CURVE_TO_NV     0xF4
+#define GL_RECT_NV                        0xF6
+#define GL_CIRCULAR_CCW_ARC_TO_NV         0xF8
+#define GL_CIRCULAR_CW_ARC_TO_NV          0xFA
+#define GL_CIRCULAR_TANGENT_ARC_TO_NV     0xFC
+#define GL_ARC_TO_NV                      0xFE
+#define GL_RELATIVE_ARC_TO_NV             0xFF
+#define GL_BOLD_BIT_NV                    0x01
+#define GL_ITALIC_BIT_NV                  0x02
+#define GL_GLYPH_WIDTH_BIT_NV             0x01
+#define GL_GLYPH_HEIGHT_BIT_NV            0x02
+#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
+#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
+#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
+#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
+#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
+#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
+#define GL_GLYPH_HAS_KERNING_BIT_NV       0x100
+#define GL_FONT_X_MIN_BOUNDS_BIT_NV       0x00010000
+#define GL_FONT_Y_MIN_BOUNDS_BIT_NV       0x00020000
+#define GL_FONT_X_MAX_BOUNDS_BIT_NV       0x00040000
+#define GL_FONT_Y_MAX_BOUNDS_BIT_NV       0x00080000
+#define GL_FONT_UNITS_PER_EM_BIT_NV       0x00100000
+#define GL_FONT_ASCENDER_BIT_NV           0x00200000
+#define GL_FONT_DESCENDER_BIT_NV          0x00400000
+#define GL_FONT_HEIGHT_BIT_NV             0x00800000
+#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV  0x01000000
+#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
+#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
+#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
+#define GL_FONT_HAS_KERNING_BIT_NV        0x10000000
+#define GL_PRIMARY_COLOR_NV               0x852C
+#define GL_SECONDARY_COLOR_NV             0x852D
+typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
+typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
+typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
+typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
+typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
+typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
+typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
+typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
+typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
+typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
+typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
+typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
+typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
+typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
+typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
+typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
+typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
+typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
+typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
+typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
+typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
+typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
+typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
+typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
+typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
+typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
+typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
+typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
+typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
+typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
+typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
+typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
+typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
+typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
+typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
+typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
+GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
+GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
+GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
+GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
+GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
+GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
+GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
+GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
+GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
+GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
+GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
+GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
+GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
+GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
+GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
+GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
+GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
+GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
+GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
+GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
+GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
+GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
+GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
+GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
+GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
+GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
+GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
+GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
+GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
+GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
+GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
+GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
+GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
+GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
+GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
+GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
+GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
+#endif
+#endif /* GL_NV_path_rendering */
+
+#ifndef GL_NV_pixel_data_range
+#define GL_NV_pixel_data_range 1
+#define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
+#define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
+#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
+#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
+#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
+#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
+typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
+typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
+GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
+#endif
+#endif /* GL_NV_pixel_data_range */
+
+#ifndef GL_NV_point_sprite
+#define GL_NV_point_sprite 1
+#define GL_POINT_SPRITE_NV                0x8861
+#define GL_COORD_REPLACE_NV               0x8862
+#define GL_POINT_SPRITE_R_MODE_NV         0x8863
+typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
+GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
+#endif
+#endif /* GL_NV_point_sprite */
+
+#ifndef GL_NV_present_video
+#define GL_NV_present_video 1
+#define GL_FRAME_NV                       0x8E26
+#define GL_FIELDS_NV                      0x8E27
+#define GL_CURRENT_TIME_NV                0x8E28
+#define GL_NUM_FILL_STREAMS_NV            0x8E29
+#define GL_PRESENT_TIME_NV                0x8E2A
+#define GL_PRESENT_DURATION_NV            0x8E2B
+typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
+typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
+typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
+typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
+GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
+GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
+GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
+#endif
+#endif /* GL_NV_present_video */
+
+#ifndef GL_NV_primitive_restart
+#define GL_NV_primitive_restart 1
+#define GL_PRIMITIVE_RESTART_NV           0x8558
+#define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
+typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
+typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPrimitiveRestartNV (void);
+GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
+#endif
+#endif /* GL_NV_primitive_restart */
+
+#ifndef GL_NV_register_combiners
+#define GL_NV_register_combiners 1
+#define GL_REGISTER_COMBINERS_NV          0x8522
+#define GL_VARIABLE_A_NV                  0x8523
+#define GL_VARIABLE_B_NV                  0x8524
+#define GL_VARIABLE_C_NV                  0x8525
+#define GL_VARIABLE_D_NV                  0x8526
+#define GL_VARIABLE_E_NV                  0x8527
+#define GL_VARIABLE_F_NV                  0x8528
+#define GL_VARIABLE_G_NV                  0x8529
+#define GL_CONSTANT_COLOR0_NV             0x852A
+#define GL_CONSTANT_COLOR1_NV             0x852B
+#define GL_SPARE0_NV                      0x852E
+#define GL_SPARE1_NV                      0x852F
+#define GL_DISCARD_NV                     0x8530
+#define GL_E_TIMES_F_NV                   0x8531
+#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
+#define GL_UNSIGNED_IDENTITY_NV           0x8536
+#define GL_UNSIGNED_INVERT_NV             0x8537
+#define GL_EXPAND_NORMAL_NV               0x8538
+#define GL_EXPAND_NEGATE_NV               0x8539
+#define GL_HALF_BIAS_NORMAL_NV            0x853A
+#define GL_HALF_BIAS_NEGATE_NV            0x853B
+#define GL_SIGNED_IDENTITY_NV             0x853C
+#define GL_SIGNED_NEGATE_NV               0x853D
+#define GL_SCALE_BY_TWO_NV                0x853E
+#define GL_SCALE_BY_FOUR_NV               0x853F
+#define GL_SCALE_BY_ONE_HALF_NV           0x8540
+#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
+#define GL_COMBINER_INPUT_NV              0x8542
+#define GL_COMBINER_MAPPING_NV            0x8543
+#define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
+#define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
+#define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
+#define GL_COMBINER_MUX_SUM_NV            0x8547
+#define GL_COMBINER_SCALE_NV              0x8548
+#define GL_COMBINER_BIAS_NV               0x8549
+#define GL_COMBINER_AB_OUTPUT_NV          0x854A
+#define GL_COMBINER_CD_OUTPUT_NV          0x854B
+#define GL_COMBINER_SUM_OUTPUT_NV         0x854C
+#define GL_MAX_GENERAL_COMBINERS_NV       0x854D
+#define GL_NUM_GENERAL_COMBINERS_NV       0x854E
+#define GL_COLOR_SUM_CLAMP_NV             0x854F
+#define GL_COMBINER0_NV                   0x8550
+#define GL_COMBINER1_NV                   0x8551
+#define GL_COMBINER2_NV                   0x8552
+#define GL_COMBINER3_NV                   0x8553
+#define GL_COMBINER4_NV                   0x8554
+#define GL_COMBINER5_NV                   0x8555
+#define GL_COMBINER6_NV                   0x8556
+#define GL_COMBINER7_NV                   0x8557
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
+typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
+GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
+GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
+#endif
+#endif /* GL_NV_register_combiners */
+
+#ifndef GL_NV_register_combiners2
+#define GL_NV_register_combiners2 1
+#define GL_PER_STAGE_CONSTANTS_NV         0x8535
+typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_NV_register_combiners2 */
+
+#ifndef GL_NV_shader_atomic_counters
+#define GL_NV_shader_atomic_counters 1
+#endif /* GL_NV_shader_atomic_counters */
+
+#ifndef GL_NV_shader_atomic_float
+#define GL_NV_shader_atomic_float 1
+#endif /* GL_NV_shader_atomic_float */
+
+#ifndef GL_NV_shader_buffer_load
+#define GL_NV_shader_buffer_load 1
+#define GL_BUFFER_GPU_ADDRESS_NV          0x8F1D
+#define GL_GPU_ADDRESS_NV                 0x8F34
+#define GL_MAX_SHADER_BUFFER_ADDRESS_NV   0x8F35
+typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
+typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
+typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
+typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
+typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
+typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
+typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
+GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
+GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
+GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
+GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
+GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
+GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
+GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
+GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
+GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
+GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
+GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#endif
+#endif /* GL_NV_shader_buffer_load */
+
+#ifndef GL_NV_shader_buffer_store
+#define GL_NV_shader_buffer_store 1
+#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
+#endif /* GL_NV_shader_buffer_store */
+
+#ifndef GL_NV_shader_storage_buffer_object
+#define GL_NV_shader_storage_buffer_object 1
+#endif /* GL_NV_shader_storage_buffer_object */
+
+#ifndef GL_NV_shader_thread_group
+#define GL_NV_shader_thread_group 1
+#define GL_WARP_SIZE_NV                   0x9339
+#define GL_WARPS_PER_SM_NV                0x933A
+#define GL_SM_COUNT_NV                    0x933B
+#endif /* GL_NV_shader_thread_group */
+
+#ifndef GL_NV_shader_thread_shuffle
+#define GL_NV_shader_thread_shuffle 1
+#endif /* GL_NV_shader_thread_shuffle */
+
+#ifndef GL_NV_tessellation_program5
+#define GL_NV_tessellation_program5 1
+#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV   0x86D8
+#define GL_TESS_CONTROL_PROGRAM_NV        0x891E
+#define GL_TESS_EVALUATION_PROGRAM_NV     0x891F
+#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
+#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
+#endif /* GL_NV_tessellation_program5 */
+
+#ifndef GL_NV_texgen_emboss
+#define GL_NV_texgen_emboss 1
+#define GL_EMBOSS_LIGHT_NV                0x855D
+#define GL_EMBOSS_CONSTANT_NV             0x855E
+#define GL_EMBOSS_MAP_NV                  0x855F
+#endif /* GL_NV_texgen_emboss */
+
+#ifndef GL_NV_texgen_reflection
+#define GL_NV_texgen_reflection 1
+#define GL_NORMAL_MAP_NV                  0x8511
+#define GL_REFLECTION_MAP_NV              0x8512
+#endif /* GL_NV_texgen_reflection */
+
+#ifndef GL_NV_texture_barrier
+#define GL_NV_texture_barrier 1
+typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureBarrierNV (void);
+#endif
+#endif /* GL_NV_texture_barrier */
+
+#ifndef GL_NV_texture_compression_vtc
+#define GL_NV_texture_compression_vtc 1
+#endif /* GL_NV_texture_compression_vtc */
+
+#ifndef GL_NV_texture_env_combine4
+#define GL_NV_texture_env_combine4 1
+#define GL_COMBINE4_NV                    0x8503
+#define GL_SOURCE3_RGB_NV                 0x8583
+#define GL_SOURCE3_ALPHA_NV               0x858B
+#define GL_OPERAND3_RGB_NV                0x8593
+#define GL_OPERAND3_ALPHA_NV              0x859B
+#endif /* GL_NV_texture_env_combine4 */
+
+#ifndef GL_NV_texture_expand_normal
+#define GL_NV_texture_expand_normal 1
+#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
+#endif /* GL_NV_texture_expand_normal */
+
+#ifndef GL_NV_texture_multisample
+#define GL_NV_texture_multisample 1
+#define GL_TEXTURE_COVERAGE_SAMPLES_NV    0x9045
+#define GL_TEXTURE_COLOR_SAMPLES_NV       0x9046
+typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+#endif
+#endif /* GL_NV_texture_multisample */
+
+#ifndef GL_NV_texture_rectangle
+#define GL_NV_texture_rectangle 1
+#define GL_TEXTURE_RECTANGLE_NV           0x84F5
+#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
+#define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
+#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
+#endif /* GL_NV_texture_rectangle */
+
+#ifndef GL_NV_texture_shader
+#define GL_NV_texture_shader 1
+#define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
+#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
+#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
+#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
+#define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
+#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
+#define GL_DSDT_MAG_INTENSITY_NV          0x86DC
+#define GL_SHADER_CONSISTENT_NV           0x86DD
+#define GL_TEXTURE_SHADER_NV              0x86DE
+#define GL_SHADER_OPERATION_NV            0x86DF
+#define GL_CULL_MODES_NV                  0x86E0
+#define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
+#define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
+#define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
+#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    0x86E1
+#define GL_OFFSET_TEXTURE_2D_SCALE_NV     0x86E2
+#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
+#define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
+#define GL_CONST_EYE_NV                   0x86E5
+#define GL_PASS_THROUGH_NV                0x86E6
+#define GL_CULL_FRAGMENT_NV               0x86E7
+#define GL_OFFSET_TEXTURE_2D_NV           0x86E8
+#define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
+#define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
+#define GL_DOT_PRODUCT_NV                 0x86EC
+#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
+#define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
+#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
+#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
+#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
+#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
+#define GL_HILO_NV                        0x86F4
+#define GL_DSDT_NV                        0x86F5
+#define GL_DSDT_MAG_NV                    0x86F6
+#define GL_DSDT_MAG_VIB_NV                0x86F7
+#define GL_HILO16_NV                      0x86F8
+#define GL_SIGNED_HILO_NV                 0x86F9
+#define GL_SIGNED_HILO16_NV               0x86FA
+#define GL_SIGNED_RGBA_NV                 0x86FB
+#define GL_SIGNED_RGBA8_NV                0x86FC
+#define GL_SIGNED_RGB_NV                  0x86FE
+#define GL_SIGNED_RGB8_NV                 0x86FF
+#define GL_SIGNED_LUMINANCE_NV            0x8701
+#define GL_SIGNED_LUMINANCE8_NV           0x8702
+#define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
+#define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
+#define GL_SIGNED_ALPHA_NV                0x8705
+#define GL_SIGNED_ALPHA8_NV               0x8706
+#define GL_SIGNED_INTENSITY_NV            0x8707
+#define GL_SIGNED_INTENSITY8_NV           0x8708
+#define GL_DSDT8_NV                       0x8709
+#define GL_DSDT8_MAG8_NV                  0x870A
+#define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
+#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
+#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
+#define GL_HI_SCALE_NV                    0x870E
+#define GL_LO_SCALE_NV                    0x870F
+#define GL_DS_SCALE_NV                    0x8710
+#define GL_DT_SCALE_NV                    0x8711
+#define GL_MAGNITUDE_SCALE_NV             0x8712
+#define GL_VIBRANCE_SCALE_NV              0x8713
+#define GL_HI_BIAS_NV                     0x8714
+#define GL_LO_BIAS_NV                     0x8715
+#define GL_DS_BIAS_NV                     0x8716
+#define GL_DT_BIAS_NV                     0x8717
+#define GL_MAGNITUDE_BIAS_NV              0x8718
+#define GL_VIBRANCE_BIAS_NV               0x8719
+#define GL_TEXTURE_BORDER_VALUES_NV       0x871A
+#define GL_TEXTURE_HI_SIZE_NV             0x871B
+#define GL_TEXTURE_LO_SIZE_NV             0x871C
+#define GL_TEXTURE_DS_SIZE_NV             0x871D
+#define GL_TEXTURE_DT_SIZE_NV             0x871E
+#define GL_TEXTURE_MAG_SIZE_NV            0x871F
+#endif /* GL_NV_texture_shader */
+
+#ifndef GL_NV_texture_shader2
+#define GL_NV_texture_shader2 1
+#define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
+#endif /* GL_NV_texture_shader2 */
+
+#ifndef GL_NV_texture_shader3
+#define GL_NV_texture_shader3 1
+#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
+#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
+#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
+#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
+#define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
+#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
+#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
+#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
+#define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
+#define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
+#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
+#define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
+#define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
+#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
+#define GL_HILO8_NV                       0x885E
+#define GL_SIGNED_HILO8_NV                0x885F
+#define GL_FORCE_BLUE_TO_ONE_NV           0x8860
+#endif /* GL_NV_texture_shader3 */
+
+#ifndef GL_NV_transform_feedback
+#define GL_NV_transform_feedback 1
+#define GL_BACK_PRIMARY_COLOR_NV          0x8C77
+#define GL_BACK_SECONDARY_COLOR_NV        0x8C78
+#define GL_TEXTURE_COORD_NV               0x8C79
+#define GL_CLIP_DISTANCE_NV               0x8C7A
+#define GL_VERTEX_ID_NV                   0x8C7B
+#define GL_PRIMITIVE_ID_NV                0x8C7C
+#define GL_GENERIC_ATTRIB_NV              0x8C7D
+#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV  0x8C7E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
+#define GL_ACTIVE_VARYINGS_NV             0x8C81
+#define GL_ACTIVE_VARYING_MAX_LENGTH_NV   0x8C82
+#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
+#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
+#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
+#define GL_TRANSFORM_FEEDBACK_RECORD_NV   0x8C86
+#define GL_PRIMITIVES_GENERATED_NV        0x8C87
+#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
+#define GL_RASTERIZER_DISCARD_NV          0x8C89
+#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
+#define GL_INTERLEAVED_ATTRIBS_NV         0x8C8C
+#define GL_SEPARATE_ATTRIBS_NV            0x8C8D
+#define GL_TRANSFORM_FEEDBACK_BUFFER_NV   0x8C8E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
+#define GL_LAYER_NV                       0x8DAA
+#define GL_NEXT_BUFFER_NV                 -2
+#define GL_SKIP_COMPONENTS4_NV            -3
+#define GL_SKIP_COMPONENTS3_NV            -4
+#define GL_SKIP_COMPONENTS2_NV            -5
+#define GL_SKIP_COMPONENTS1_NV            -6
+typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
+typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
+GLAPI void APIENTRY glEndTransformFeedbackNV (void);
+GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
+GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
+GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
+GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
+GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
+GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
+#endif
+#endif /* GL_NV_transform_feedback */
+
+#ifndef GL_NV_transform_feedback2
+#define GL_NV_transform_feedback2 1
+#define GL_TRANSFORM_FEEDBACK_NV          0x8E22
+#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
+#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
+#define GL_TRANSFORM_FEEDBACK_BINDING_NV  0x8E25
+typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
+typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
+typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
+GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
+GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
+GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
+GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
+GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
+GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
+#endif
+#endif /* GL_NV_transform_feedback2 */
+
+#ifndef GL_NV_vdpau_interop
+#define GL_NV_vdpau_interop 1
+typedef GLintptr GLvdpauSurfaceNV;
+#define GL_SURFACE_STATE_NV               0x86EB
+#define GL_SURFACE_REGISTERED_NV          0x86FD
+#define GL_SURFACE_MAPPED_NV              0x8700
+#define GL_WRITE_DISCARD_NV               0x88BE
+typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
+typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
+typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
+typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
+typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
+typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
+typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
+GLAPI void APIENTRY glVDPAUFiniNV (void);
+GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
+GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
+GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
+GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
+GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
+#endif
+#endif /* GL_NV_vdpau_interop */
+
+#ifndef GL_NV_vertex_array_range
+#define GL_NV_vertex_array_range 1
+#define GL_VERTEX_ARRAY_RANGE_NV          0x851D
+#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
+#define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
+#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
+#define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
+typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
+typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
+GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
+#endif
+#endif /* GL_NV_vertex_array_range */
+
+#ifndef GL_NV_vertex_array_range2
+#define GL_NV_vertex_array_range2 1
+#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
+#endif /* GL_NV_vertex_array_range2 */
+
+#ifndef GL_NV_vertex_attrib_integer_64bit
+#define GL_NV_vertex_attrib_integer_64bit 1
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
+GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
+GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
+GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
+GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
+GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
+GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
+#endif
+#endif /* GL_NV_vertex_attrib_integer_64bit */
+
+#ifndef GL_NV_vertex_buffer_unified_memory
+#define GL_NV_vertex_buffer_unified_memory 1
+#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
+#define GL_ELEMENT_ARRAY_UNIFIED_NV       0x8F1F
+#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
+#define GL_VERTEX_ARRAY_ADDRESS_NV        0x8F21
+#define GL_NORMAL_ARRAY_ADDRESS_NV        0x8F22
+#define GL_COLOR_ARRAY_ADDRESS_NV         0x8F23
+#define GL_INDEX_ARRAY_ADDRESS_NV         0x8F24
+#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
+#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV     0x8F26
+#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
+#define GL_FOG_COORD_ARRAY_ADDRESS_NV     0x8F28
+#define GL_ELEMENT_ARRAY_ADDRESS_NV       0x8F29
+#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV  0x8F2A
+#define GL_VERTEX_ARRAY_LENGTH_NV         0x8F2B
+#define GL_NORMAL_ARRAY_LENGTH_NV         0x8F2C
+#define GL_COLOR_ARRAY_LENGTH_NV          0x8F2D
+#define GL_INDEX_ARRAY_LENGTH_NV          0x8F2E
+#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV  0x8F2F
+#define GL_EDGE_FLAG_ARRAY_LENGTH_NV      0x8F30
+#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
+#define GL_FOG_COORD_ARRAY_LENGTH_NV      0x8F32
+#define GL_ELEMENT_ARRAY_LENGTH_NV        0x8F33
+#define GL_DRAW_INDIRECT_UNIFIED_NV       0x8F40
+#define GL_DRAW_INDIRECT_ADDRESS_NV       0x8F41
+#define GL_DRAW_INDIRECT_LENGTH_NV        0x8F42
+typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
+GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
+GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
+GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
+GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
+GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
+GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
+#endif
+#endif /* GL_NV_vertex_buffer_unified_memory */
+
+#ifndef GL_NV_vertex_program
+#define GL_NV_vertex_program 1
+#define GL_VERTEX_PROGRAM_NV              0x8620
+#define GL_VERTEX_STATE_PROGRAM_NV        0x8621
+#define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
+#define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
+#define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
+#define GL_CURRENT_ATTRIB_NV              0x8626
+#define GL_PROGRAM_LENGTH_NV              0x8627
+#define GL_PROGRAM_STRING_NV              0x8628
+#define GL_MODELVIEW_PROJECTION_NV        0x8629
+#define GL_IDENTITY_NV                    0x862A
+#define GL_INVERSE_NV                     0x862B
+#define GL_TRANSPOSE_NV                   0x862C
+#define GL_INVERSE_TRANSPOSE_NV           0x862D
+#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
+#define GL_MAX_TRACK_MATRICES_NV          0x862F
+#define GL_MATRIX0_NV                     0x8630
+#define GL_MATRIX1_NV                     0x8631
+#define GL_MATRIX2_NV                     0x8632
+#define GL_MATRIX3_NV                     0x8633
+#define GL_MATRIX4_NV                     0x8634
+#define GL_MATRIX5_NV                     0x8635
+#define GL_MATRIX6_NV                     0x8636
+#define GL_MATRIX7_NV                     0x8637
+#define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
+#define GL_CURRENT_MATRIX_NV              0x8641
+#define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
+#define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
+#define GL_PROGRAM_PARAMETER_NV           0x8644
+#define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
+#define GL_PROGRAM_TARGET_NV              0x8646
+#define GL_PROGRAM_RESIDENT_NV            0x8647
+#define GL_TRACK_MATRIX_NV                0x8648
+#define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
+#define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
+#define GL_PROGRAM_ERROR_POSITION_NV      0x864B
+#define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
+#define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
+#define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
+#define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
+#define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
+#define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
+#define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
+#define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
+#define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
+#define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
+#define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
+#define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
+#define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
+#define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
+#define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
+#define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
+#define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
+#define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
+#define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
+#define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
+#define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
+#define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
+#define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
+#define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
+#define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
+#define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
+#define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
+#define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
+#define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
+#define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
+#define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
+#define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
+#define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
+#define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
+#define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
+#define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
+#define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
+#define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
+#define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
+#define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
+#define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
+#define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
+#define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
+#define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
+#define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
+#define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
+#define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
+#define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
+typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
+typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
+typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
+typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
+typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
+typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
+GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
+GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
+GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
+GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
+GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
+GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
+GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
+GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
+GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
+GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
+GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
+GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
+GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
+#endif
+#endif /* GL_NV_vertex_program */
+
+#ifndef GL_NV_vertex_program1_1
+#define GL_NV_vertex_program1_1 1
+#endif /* GL_NV_vertex_program1_1 */
+
+#ifndef GL_NV_vertex_program2
+#define GL_NV_vertex_program2 1
+#endif /* GL_NV_vertex_program2 */
+
+#ifndef GL_NV_vertex_program2_option
+#define GL_NV_vertex_program2_option 1
+#endif /* GL_NV_vertex_program2_option */
+
+#ifndef GL_NV_vertex_program3
+#define GL_NV_vertex_program3 1
+#endif /* GL_NV_vertex_program3 */
+
+#ifndef GL_NV_vertex_program4
+#define GL_NV_vertex_program4 1
+#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
+GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
+GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
+GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
+GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
+GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
+#endif
+#endif /* GL_NV_vertex_program4 */
+
+#ifndef GL_NV_video_capture
+#define GL_NV_video_capture 1
+#define GL_VIDEO_BUFFER_NV                0x9020
+#define GL_VIDEO_BUFFER_BINDING_NV        0x9021
+#define GL_FIELD_UPPER_NV                 0x9022
+#define GL_FIELD_LOWER_NV                 0x9023
+#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV   0x9024
+#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
+#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
+#define GL_LAST_VIDEO_CAPTURE_STATUS_NV   0x9027
+#define GL_VIDEO_BUFFER_PITCH_NV          0x9028
+#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
+#define GL_VIDEO_COLOR_CONVERSION_MAX_NV  0x902A
+#define GL_VIDEO_COLOR_CONVERSION_MIN_NV  0x902B
+#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
+#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
+#define GL_PARTIAL_SUCCESS_NV             0x902E
+#define GL_SUCCESS_NV                     0x902F
+#define GL_FAILURE_NV                     0x9030
+#define GL_YCBYCR8_422_NV                 0x9031
+#define GL_YCBAYCR8A_4224_NV              0x9032
+#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV  0x9033
+#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
+#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV  0x9035
+#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
+#define GL_Z4Y12Z4CB12Z4CR12_444_NV       0x9037
+#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV   0x9038
+#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV  0x9039
+#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
+#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
+#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
+typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
+typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
+typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
+typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
+typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
+typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
+GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
+GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
+GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
+GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
+GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
+GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
+#endif
+#endif /* GL_NV_video_capture */
+
+#ifndef GL_OML_interlace
+#define GL_OML_interlace 1
+#define GL_INTERLACE_OML                  0x8980
+#define GL_INTERLACE_READ_OML             0x8981
+#endif /* GL_OML_interlace */
+
+#ifndef GL_OML_resample
+#define GL_OML_resample 1
+#define GL_PACK_RESAMPLE_OML              0x8984
+#define GL_UNPACK_RESAMPLE_OML            0x8985
+#define GL_RESAMPLE_REPLICATE_OML         0x8986
+#define GL_RESAMPLE_ZERO_FILL_OML         0x8987
+#define GL_RESAMPLE_AVERAGE_OML           0x8988
+#define GL_RESAMPLE_DECIMATE_OML          0x8989
+#endif /* GL_OML_resample */
+
+#ifndef GL_OML_subsample
+#define GL_OML_subsample 1
+#define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
+#define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
+#endif /* GL_OML_subsample */
+
+#ifndef GL_PGI_misc_hints
+#define GL_PGI_misc_hints 1
+#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
+#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
+#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
+#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
+#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
+#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
+#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
+#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
+#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
+#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
+#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
+#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
+#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
+#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
+#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
+#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
+#define GL_CLIP_NEAR_HINT_PGI             0x1A220
+#define GL_CLIP_FAR_HINT_PGI              0x1A221
+#define GL_WIDE_LINE_HINT_PGI             0x1A222
+#define GL_BACK_NORMALS_HINT_PGI          0x1A223
+typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
+#endif
+#endif /* GL_PGI_misc_hints */
+
+#ifndef GL_PGI_vertex_hints
+#define GL_PGI_vertex_hints 1
+#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
+#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
+#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
+#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
+#define GL_COLOR3_BIT_PGI                 0x00010000
+#define GL_COLOR4_BIT_PGI                 0x00020000
+#define GL_EDGEFLAG_BIT_PGI               0x00040000
+#define GL_INDEX_BIT_PGI                  0x00080000
+#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
+#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
+#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
+#define GL_MAT_EMISSION_BIT_PGI           0x00800000
+#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
+#define GL_MAT_SHININESS_BIT_PGI          0x02000000
+#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
+#define GL_NORMAL_BIT_PGI                 0x08000000
+#define GL_TEXCOORD1_BIT_PGI              0x10000000
+#define GL_TEXCOORD2_BIT_PGI              0x20000000
+#define GL_TEXCOORD3_BIT_PGI              0x40000000
+#define GL_TEXCOORD4_BIT_PGI              0x80000000
+#define GL_VERTEX23_BIT_PGI               0x00000004
+#define GL_VERTEX4_BIT_PGI                0x00000008
+#endif /* GL_PGI_vertex_hints */
+
+#ifndef GL_REND_screen_coordinates
+#define GL_REND_screen_coordinates 1
+#define GL_SCREEN_COORDINATES_REND        0x8490
+#define GL_INVERTED_SCREEN_W_REND         0x8491
+#endif /* GL_REND_screen_coordinates */
+
+#ifndef GL_S3_s3tc
+#define GL_S3_s3tc 1
+#define GL_RGB_S3TC                       0x83A0
+#define GL_RGB4_S3TC                      0x83A1
+#define GL_RGBA_S3TC                      0x83A2
+#define GL_RGBA4_S3TC                     0x83A3
+#define GL_RGBA_DXT5_S3TC                 0x83A4
+#define GL_RGBA4_DXT5_S3TC                0x83A5
+#endif /* GL_S3_s3tc */
+
+#ifndef GL_SGIS_detail_texture
+#define GL_SGIS_detail_texture 1
+#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
+#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
+#define GL_LINEAR_DETAIL_SGIS             0x8097
+#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
+#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
+#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
+#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
+#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
+typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
+typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
+GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
+#endif
+#endif /* GL_SGIS_detail_texture */
+
+#ifndef GL_SGIS_fog_function
+#define GL_SGIS_fog_function 1
+#define GL_FOG_FUNC_SGIS                  0x812A
+#define GL_FOG_FUNC_POINTS_SGIS           0x812B
+#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
+typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
+typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
+GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
+#endif
+#endif /* GL_SGIS_fog_function */
+
+#ifndef GL_SGIS_generate_mipmap
+#define GL_SGIS_generate_mipmap 1
+#define GL_GENERATE_MIPMAP_SGIS           0x8191
+#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
+#endif /* GL_SGIS_generate_mipmap */
+
+#ifndef GL_SGIS_multisample
+#define GL_SGIS_multisample 1
+#define GL_MULTISAMPLE_SGIS               0x809D
+#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
+#define GL_SAMPLE_MASK_SGIS               0x80A0
+#define GL_1PASS_SGIS                     0x80A1
+#define GL_2PASS_0_SGIS                   0x80A2
+#define GL_2PASS_1_SGIS                   0x80A3
+#define GL_4PASS_0_SGIS                   0x80A4
+#define GL_4PASS_1_SGIS                   0x80A5
+#define GL_4PASS_2_SGIS                   0x80A6
+#define GL_4PASS_3_SGIS                   0x80A7
+#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
+#define GL_SAMPLES_SGIS                   0x80A9
+#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
+#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
+#define GL_SAMPLE_PATTERN_SGIS            0x80AC
+typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
+typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
+GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
+#endif
+#endif /* GL_SGIS_multisample */
+
+#ifndef GL_SGIS_pixel_texture
+#define GL_SGIS_pixel_texture 1
+#define GL_PIXEL_TEXTURE_SGIS             0x8353
+#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
+#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
+#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
+GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_SGIS_pixel_texture */
+
+#ifndef GL_SGIS_point_line_texgen
+#define GL_SGIS_point_line_texgen 1
+#define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
+#define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
+#define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
+#define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
+#define GL_EYE_POINT_SGIS                 0x81F4
+#define GL_OBJECT_POINT_SGIS              0x81F5
+#define GL_EYE_LINE_SGIS                  0x81F6
+#define GL_OBJECT_LINE_SGIS               0x81F7
+#endif /* GL_SGIS_point_line_texgen */
+
+#ifndef GL_SGIS_point_parameters
+#define GL_SGIS_point_parameters 1
+#define GL_POINT_SIZE_MIN_SGIS            0x8126
+#define GL_POINT_SIZE_MAX_SGIS            0x8127
+#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
+#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
+#endif
+#endif /* GL_SGIS_point_parameters */
+
+#ifndef GL_SGIS_sharpen_texture
+#define GL_SGIS_sharpen_texture 1
+#define GL_LINEAR_SHARPEN_SGIS            0x80AD
+#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
+#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
+#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
+typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
+typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
+GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
+#endif
+#endif /* GL_SGIS_sharpen_texture */
+
+#ifndef GL_SGIS_texture4D
+#define GL_SGIS_texture4D 1
+#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
+#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
+#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
+#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
+#define GL_TEXTURE_4D_SGIS                0x8134
+#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
+#define GL_TEXTURE_4DSIZE_SGIS            0x8136
+#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
+#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
+#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
+typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
+#endif
+#endif /* GL_SGIS_texture4D */
+
+#ifndef GL_SGIS_texture_border_clamp
+#define GL_SGIS_texture_border_clamp 1
+#define GL_CLAMP_TO_BORDER_SGIS           0x812D
+#endif /* GL_SGIS_texture_border_clamp */
+
+#ifndef GL_SGIS_texture_color_mask
+#define GL_SGIS_texture_color_mask 1
+#define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
+typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+#endif
+#endif /* GL_SGIS_texture_color_mask */
+
+#ifndef GL_SGIS_texture_edge_clamp
+#define GL_SGIS_texture_edge_clamp 1
+#define GL_CLAMP_TO_EDGE_SGIS             0x812F
+#endif /* GL_SGIS_texture_edge_clamp */
+
+#ifndef GL_SGIS_texture_filter4
+#define GL_SGIS_texture_filter4 1
+#define GL_FILTER4_SGIS                   0x8146
+#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
+typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
+typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
+GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
+#endif
+#endif /* GL_SGIS_texture_filter4 */
+
+#ifndef GL_SGIS_texture_lod
+#define GL_SGIS_texture_lod 1
+#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
+#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
+#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
+#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
+#endif /* GL_SGIS_texture_lod */
+
+#ifndef GL_SGIS_texture_select
+#define GL_SGIS_texture_select 1
+#define GL_DUAL_ALPHA4_SGIS               0x8110
+#define GL_DUAL_ALPHA8_SGIS               0x8111
+#define GL_DUAL_ALPHA12_SGIS              0x8112
+#define GL_DUAL_ALPHA16_SGIS              0x8113
+#define GL_DUAL_LUMINANCE4_SGIS           0x8114
+#define GL_DUAL_LUMINANCE8_SGIS           0x8115
+#define GL_DUAL_LUMINANCE12_SGIS          0x8116
+#define GL_DUAL_LUMINANCE16_SGIS          0x8117
+#define GL_DUAL_INTENSITY4_SGIS           0x8118
+#define GL_DUAL_INTENSITY8_SGIS           0x8119
+#define GL_DUAL_INTENSITY12_SGIS          0x811A
+#define GL_DUAL_INTENSITY16_SGIS          0x811B
+#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
+#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
+#define GL_QUAD_ALPHA4_SGIS               0x811E
+#define GL_QUAD_ALPHA8_SGIS               0x811F
+#define GL_QUAD_LUMINANCE4_SGIS           0x8120
+#define GL_QUAD_LUMINANCE8_SGIS           0x8121
+#define GL_QUAD_INTENSITY4_SGIS           0x8122
+#define GL_QUAD_INTENSITY8_SGIS           0x8123
+#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
+#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
+#endif /* GL_SGIS_texture_select */
+
+#ifndef GL_SGIX_async
+#define GL_SGIX_async 1
+#define GL_ASYNC_MARKER_SGIX              0x8329
+typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
+typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
+typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
+typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
+typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
+typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
+GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
+GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
+GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
+GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
+GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
+#endif
+#endif /* GL_SGIX_async */
+
+#ifndef GL_SGIX_async_histogram
+#define GL_SGIX_async_histogram 1
+#define GL_ASYNC_HISTOGRAM_SGIX           0x832C
+#define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
+#endif /* GL_SGIX_async_histogram */
+
+#ifndef GL_SGIX_async_pixel
+#define GL_SGIX_async_pixel 1
+#define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
+#define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
+#define GL_ASYNC_READ_PIXELS_SGIX         0x835E
+#define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
+#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
+#define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
+#endif /* GL_SGIX_async_pixel */
+
+#ifndef GL_SGIX_blend_alpha_minmax
+#define GL_SGIX_blend_alpha_minmax 1
+#define GL_ALPHA_MIN_SGIX                 0x8320
+#define GL_ALPHA_MAX_SGIX                 0x8321
+#endif /* GL_SGIX_blend_alpha_minmax */
+
+#ifndef GL_SGIX_calligraphic_fragment
+#define GL_SGIX_calligraphic_fragment 1
+#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
+#endif /* GL_SGIX_calligraphic_fragment */
+
+#ifndef GL_SGIX_clipmap
+#define GL_SGIX_clipmap 1
+#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
+#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
+#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
+#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
+#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
+#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
+#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
+#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
+#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
+#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
+#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
+#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
+#endif /* GL_SGIX_clipmap */
+
+#ifndef GL_SGIX_convolution_accuracy
+#define GL_SGIX_convolution_accuracy 1
+#define GL_CONVOLUTION_HINT_SGIX          0x8316
+#endif /* GL_SGIX_convolution_accuracy */
+
+#ifndef GL_SGIX_depth_pass_instrument
+#define GL_SGIX_depth_pass_instrument 1
+#endif /* GL_SGIX_depth_pass_instrument */
+
+#ifndef GL_SGIX_depth_texture
+#define GL_SGIX_depth_texture 1
+#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
+#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
+#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
+#endif /* GL_SGIX_depth_texture */
+
+#ifndef GL_SGIX_flush_raster
+#define GL_SGIX_flush_raster 1
+typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFlushRasterSGIX (void);
+#endif
+#endif /* GL_SGIX_flush_raster */
+
+#ifndef GL_SGIX_fog_offset
+#define GL_SGIX_fog_offset 1
+#define GL_FOG_OFFSET_SGIX                0x8198
+#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
+#endif /* GL_SGIX_fog_offset */
+
+#ifndef GL_SGIX_fragment_lighting
+#define GL_SGIX_fragment_lighting 1
+#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
+#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
+#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
+#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
+#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
+#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
+#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
+#define GL_LIGHT_ENV_MODE_SGIX            0x8407
+#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
+#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
+#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
+#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
+#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
+#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
+#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
+#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
+#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
+#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
+#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
+#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
+typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
+GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
+GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
+GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
+GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
+GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
+#endif
+#endif /* GL_SGIX_fragment_lighting */
+
+#ifndef GL_SGIX_framezoom
+#define GL_SGIX_framezoom 1
+#define GL_FRAMEZOOM_SGIX                 0x818B
+#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
+#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
+typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
+#endif
+#endif /* GL_SGIX_framezoom */
+
+#ifndef GL_SGIX_igloo_interface
+#define GL_SGIX_igloo_interface 1
+typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
+#endif
+#endif /* GL_SGIX_igloo_interface */
+
+#ifndef GL_SGIX_instruments
+#define GL_SGIX_instruments 1
+#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
+#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
+typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
+typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
+typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
+typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
+typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
+typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
+GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
+GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
+GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
+GLAPI void APIENTRY glStartInstrumentsSGIX (void);
+GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
+#endif
+#endif /* GL_SGIX_instruments */
+
+#ifndef GL_SGIX_interlace
+#define GL_SGIX_interlace 1
+#define GL_INTERLACE_SGIX                 0x8094
+#endif /* GL_SGIX_interlace */
+
+#ifndef GL_SGIX_ir_instrument1
+#define GL_SGIX_ir_instrument1 1
+#define GL_IR_INSTRUMENT1_SGIX            0x817F
+#endif /* GL_SGIX_ir_instrument1 */
+
+#ifndef GL_SGIX_list_priority
+#define GL_SGIX_list_priority 1
+#define GL_LIST_PRIORITY_SGIX             0x8182
+typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
+GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
+GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
+#endif
+#endif /* GL_SGIX_list_priority */
+
+#ifndef GL_SGIX_pixel_texture
+#define GL_SGIX_pixel_texture 1
+#define GL_PIXEL_TEX_GEN_SGIX             0x8139
+#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
+typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
+#endif
+#endif /* GL_SGIX_pixel_texture */
+
+#ifndef GL_SGIX_pixel_tiles
+#define GL_SGIX_pixel_tiles 1
+#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
+#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
+#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
+#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
+#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
+#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
+#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
+#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
+#endif /* GL_SGIX_pixel_tiles */
+
+#ifndef GL_SGIX_polynomial_ffd
+#define GL_SGIX_polynomial_ffd 1
+#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
+#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
+#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
+#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
+#define GL_DEFORMATIONS_MASK_SGIX         0x8196
+#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
+typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
+typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
+typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
+typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
+GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
+GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
+GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
+#endif
+#endif /* GL_SGIX_polynomial_ffd */
+
+#ifndef GL_SGIX_reference_plane
+#define GL_SGIX_reference_plane 1
+#define GL_REFERENCE_PLANE_SGIX           0x817D
+#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
+typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
+#endif
+#endif /* GL_SGIX_reference_plane */
+
+#ifndef GL_SGIX_resample
+#define GL_SGIX_resample 1
+#define GL_PACK_RESAMPLE_SGIX             0x842C
+#define GL_UNPACK_RESAMPLE_SGIX           0x842D
+#define GL_RESAMPLE_REPLICATE_SGIX        0x842E
+#define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
+#define GL_RESAMPLE_DECIMATE_SGIX         0x8430
+#endif /* GL_SGIX_resample */
+
+#ifndef GL_SGIX_scalebias_hint
+#define GL_SGIX_scalebias_hint 1
+#define GL_SCALEBIAS_HINT_SGIX            0x8322
+#endif /* GL_SGIX_scalebias_hint */
+
+#ifndef GL_SGIX_shadow
+#define GL_SGIX_shadow 1
+#define GL_TEXTURE_COMPARE_SGIX           0x819A
+#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
+#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
+#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
+#endif /* GL_SGIX_shadow */
+
+#ifndef GL_SGIX_shadow_ambient
+#define GL_SGIX_shadow_ambient 1
+#define GL_SHADOW_AMBIENT_SGIX            0x80BF
+#endif /* GL_SGIX_shadow_ambient */
+
+#ifndef GL_SGIX_sprite
+#define GL_SGIX_sprite 1
+#define GL_SPRITE_SGIX                    0x8148
+#define GL_SPRITE_MODE_SGIX               0x8149
+#define GL_SPRITE_AXIS_SGIX               0x814A
+#define GL_SPRITE_TRANSLATION_SGIX        0x814B
+#define GL_SPRITE_AXIAL_SGIX              0x814C
+#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
+#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
+GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
+#endif
+#endif /* GL_SGIX_sprite */
+
+#ifndef GL_SGIX_subsample
+#define GL_SGIX_subsample 1
+#define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
+#define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
+#define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
+#define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
+#define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
+#endif /* GL_SGIX_subsample */
+
+#ifndef GL_SGIX_tag_sample_buffer
+#define GL_SGIX_tag_sample_buffer 1
+typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTagSampleBufferSGIX (void);
+#endif
+#endif /* GL_SGIX_tag_sample_buffer */
+
+#ifndef GL_SGIX_texture_add_env
+#define GL_SGIX_texture_add_env 1
+#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
+#endif /* GL_SGIX_texture_add_env */
+
+#ifndef GL_SGIX_texture_coordinate_clamp
+#define GL_SGIX_texture_coordinate_clamp 1
+#define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
+#define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
+#define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
+#endif /* GL_SGIX_texture_coordinate_clamp */
+
+#ifndef GL_SGIX_texture_lod_bias
+#define GL_SGIX_texture_lod_bias 1
+#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
+#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
+#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
+#endif /* GL_SGIX_texture_lod_bias */
+
+#ifndef GL_SGIX_texture_multi_buffer
+#define GL_SGIX_texture_multi_buffer 1
+#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
+#endif /* GL_SGIX_texture_multi_buffer */
+
+#ifndef GL_SGIX_texture_scale_bias
+#define GL_SGIX_texture_scale_bias 1
+#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
+#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
+#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
+#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
+#endif /* GL_SGIX_texture_scale_bias */
+
+#ifndef GL_SGIX_vertex_preclip
+#define GL_SGIX_vertex_preclip 1
+#define GL_VERTEX_PRECLIP_SGIX            0x83EE
+#define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
+#endif /* GL_SGIX_vertex_preclip */
+
+#ifndef GL_SGIX_ycrcb
+#define GL_SGIX_ycrcb 1
+#define GL_YCRCB_422_SGIX                 0x81BB
+#define GL_YCRCB_444_SGIX                 0x81BC
+#endif /* GL_SGIX_ycrcb */
+
+#ifndef GL_SGIX_ycrcb_subsample
+#define GL_SGIX_ycrcb_subsample 1
+#endif /* GL_SGIX_ycrcb_subsample */
+
+#ifndef GL_SGIX_ycrcba
+#define GL_SGIX_ycrcba 1
+#define GL_YCRCB_SGIX                     0x8318
+#define GL_YCRCBA_SGIX                    0x8319
+#endif /* GL_SGIX_ycrcba */
+
+#ifndef GL_SGI_color_matrix
+#define GL_SGI_color_matrix 1
+#define GL_COLOR_MATRIX_SGI               0x80B1
+#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
+#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
+#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
+#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
+#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
+#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
+#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
+#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
+#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
+#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
+#endif /* GL_SGI_color_matrix */
+
+#ifndef GL_SGI_color_table
+#define GL_SGI_color_table 1
+#define GL_COLOR_TABLE_SGI                0x80D0
+#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
+#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
+#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
+#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
+#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
+#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
+#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
+#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
+#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
+#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
+#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
+#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
+#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
+#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
+#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
+typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
+GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
+#endif
+#endif /* GL_SGI_color_table */
+
+#ifndef GL_SGI_texture_color_table
+#define GL_SGI_texture_color_table 1
+#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
+#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
+#endif /* GL_SGI_texture_color_table */
+
+#ifndef GL_SUNX_constant_data
+#define GL_SUNX_constant_data 1
+#define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
+#define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
+typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFinishTextureSUNX (void);
+#endif
+#endif /* GL_SUNX_constant_data */
+
+#ifndef GL_SUN_convolution_border_modes
+#define GL_SUN_convolution_border_modes 1
+#define GL_WRAP_BORDER_SUN                0x81D4
+#endif /* GL_SUN_convolution_border_modes */
+
+#ifndef GL_SUN_global_alpha
+#define GL_SUN_global_alpha 1
+#define GL_GLOBAL_ALPHA_SUN               0x81D9
+#define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
+GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
+GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
+GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
+GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
+GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
+GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
+GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
+#endif
+#endif /* GL_SUN_global_alpha */
+
+#ifndef GL_SUN_mesh_array
+#define GL_SUN_mesh_array 1
+#define GL_QUAD_MESH_SUN                  0x8614
+#define GL_TRIANGLE_MESH_SUN              0x8615
+typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
+#endif
+#endif /* GL_SUN_mesh_array */
+
+#ifndef GL_SUN_slice_accum
+#define GL_SUN_slice_accum 1
+#define GL_SLICE_ACCUM_SUN                0x85CC
+#endif /* GL_SUN_slice_accum */
+
+#ifndef GL_SUN_triangle_list
+#define GL_SUN_triangle_list 1
+#define GL_RESTART_SUN                    0x0001
+#define GL_REPLACE_MIDDLE_SUN             0x0002
+#define GL_REPLACE_OLDEST_SUN             0x0003
+#define GL_TRIANGLE_LIST_SUN              0x81D7
+#define GL_REPLACEMENT_CODE_SUN           0x81D8
+#define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
+#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
+#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
+#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
+#define GL_R1UI_V3F_SUN                   0x85C4
+#define GL_R1UI_C4UB_V3F_SUN              0x85C5
+#define GL_R1UI_C3F_V3F_SUN               0x85C6
+#define GL_R1UI_N3F_V3F_SUN               0x85C7
+#define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
+#define GL_R1UI_T2F_V3F_SUN               0x85C9
+#define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
+#define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
+GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
+GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
+GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
+GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
+GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
+GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
+#endif
+#endif /* GL_SUN_triangle_list */
+
+#ifndef GL_SUN_vertex
+#define GL_SUN_vertex 1
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
+GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+#endif
+#endif /* GL_SUN_vertex */
+
+#ifndef GL_WIN_phong_shading
+#define GL_WIN_phong_shading 1
+#define GL_PHONG_WIN                      0x80EA
+#define GL_PHONG_HINT_WIN                 0x80EB
+#endif /* GL_WIN_phong_shading */
+
+#ifndef GL_WIN_specular_fog
+#define GL_WIN_specular_fog 1
+#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
+#endif /* GL_WIN_specular_fog */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h
@@ -1,0 +1,39 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_opengles.h
+ *
+ *  This is a simple file to encapsulate the OpenGL ES 1.X API headers.
+ */
+#include "SDL_config.h"
+
+#ifdef __IPHONEOS__
+#include <OpenGLES/ES1/gl.h>
+#include <OpenGLES/ES1/glext.h>
+#else
+#include <GLES/gl.h>
+#include <GLES/glext.h>
+#endif
+
+#ifndef APIENTRY
+#define APIENTRY
+#endif
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h
@@ -1,0 +1,52 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_opengles2.h
+ *
+ *  This is a simple file to encapsulate the OpenGL ES 2.0 API headers.
+ */
+#include "SDL_config.h"
+
+#ifndef _MSC_VER
+
+#ifdef __IPHONEOS__
+#include <OpenGLES/ES2/gl.h>
+#include <OpenGLES/ES2/glext.h>
+#else
+#include <GLES2/gl2platform.h>
+#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
+#endif
+
+#else /* _MSC_VER */
+
+/* OpenGL ES2 headers for Visual Studio */
+#include "SDL_opengles2_khrplatform.h"
+#include "SDL_opengles2_gl2platform.h"
+#include "SDL_opengles2_gl2.h"
+#include "SDL_opengles2_gl2ext.h"
+
+#endif /* _MSC_VER */
+
+#ifndef APIENTRY
+#define APIENTRY GL_APIENTRY
+#endif
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h
@@ -1,0 +1,621 @@
+#ifndef __gl2_h_
+#define __gl2_h_
+
+/* $Revision: 20555 $ on $Date:: 2013-02-12 14:32:47 -0800 #$ */
+
+/*#include <GLES2/gl2platform.h>*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/*-------------------------------------------------------------------------
+ * Data type definitions
+ *-----------------------------------------------------------------------*/
+
+typedef void             GLvoid;
+typedef char             GLchar;
+typedef unsigned int     GLenum;
+typedef unsigned char    GLboolean;
+typedef unsigned int     GLbitfield;
+typedef khronos_int8_t   GLbyte;
+typedef short            GLshort;
+typedef int              GLint;
+typedef int              GLsizei;
+typedef khronos_uint8_t  GLubyte;
+typedef unsigned short   GLushort;
+typedef unsigned int     GLuint;
+typedef khronos_float_t  GLfloat;
+typedef khronos_float_t  GLclampf;
+typedef khronos_int32_t  GLfixed;
+
+/* GL types for handling large vertex buffer objects */
+typedef khronos_intptr_t GLintptr;
+typedef khronos_ssize_t  GLsizeiptr;
+
+/* OpenGL ES core versions */
+#define GL_ES_VERSION_2_0                 1
+
+/* ClearBufferMask */
+#define GL_DEPTH_BUFFER_BIT               0x00000100
+#define GL_STENCIL_BUFFER_BIT             0x00000400
+#define GL_COLOR_BUFFER_BIT               0x00004000
+
+/* Boolean */
+#define GL_FALSE                          0
+#define GL_TRUE                           1
+
+/* BeginMode */
+#define GL_POINTS                         0x0000
+#define GL_LINES                          0x0001
+#define GL_LINE_LOOP                      0x0002
+#define GL_LINE_STRIP                     0x0003
+#define GL_TRIANGLES                      0x0004
+#define GL_TRIANGLE_STRIP                 0x0005
+#define GL_TRIANGLE_FAN                   0x0006
+
+/* AlphaFunction (not supported in ES20) */
+/*      GL_NEVER */
+/*      GL_LESS */
+/*      GL_EQUAL */
+/*      GL_LEQUAL */
+/*      GL_GREATER */
+/*      GL_NOTEQUAL */
+/*      GL_GEQUAL */
+/*      GL_ALWAYS */
+
+/* BlendingFactorDest */
+#define GL_ZERO                           0
+#define GL_ONE                            1
+#define GL_SRC_COLOR                      0x0300
+#define GL_ONE_MINUS_SRC_COLOR            0x0301
+#define GL_SRC_ALPHA                      0x0302
+#define GL_ONE_MINUS_SRC_ALPHA            0x0303
+#define GL_DST_ALPHA                      0x0304
+#define GL_ONE_MINUS_DST_ALPHA            0x0305
+
+/* BlendingFactorSrc */
+/*      GL_ZERO */
+/*      GL_ONE */
+#define GL_DST_COLOR                      0x0306
+#define GL_ONE_MINUS_DST_COLOR            0x0307
+#define GL_SRC_ALPHA_SATURATE             0x0308
+/*      GL_SRC_ALPHA */
+/*      GL_ONE_MINUS_SRC_ALPHA */
+/*      GL_DST_ALPHA */
+/*      GL_ONE_MINUS_DST_ALPHA */
+
+/* BlendEquationSeparate */
+#define GL_FUNC_ADD                       0x8006
+#define GL_BLEND_EQUATION                 0x8009
+#define GL_BLEND_EQUATION_RGB             0x8009    /* same as BLEND_EQUATION */
+#define GL_BLEND_EQUATION_ALPHA           0x883D
+
+/* BlendSubtract */
+#define GL_FUNC_SUBTRACT                  0x800A
+#define GL_FUNC_REVERSE_SUBTRACT          0x800B
+
+/* Separate Blend Functions */
+#define GL_BLEND_DST_RGB                  0x80C8
+#define GL_BLEND_SRC_RGB                  0x80C9
+#define GL_BLEND_DST_ALPHA                0x80CA
+#define GL_BLEND_SRC_ALPHA                0x80CB
+#define GL_CONSTANT_COLOR                 0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
+#define GL_CONSTANT_ALPHA                 0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
+#define GL_BLEND_COLOR                    0x8005
+
+/* Buffer Objects */
+#define GL_ARRAY_BUFFER                   0x8892
+#define GL_ELEMENT_ARRAY_BUFFER           0x8893
+#define GL_ARRAY_BUFFER_BINDING           0x8894
+#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
+
+#define GL_STREAM_DRAW                    0x88E0
+#define GL_STATIC_DRAW                    0x88E4
+#define GL_DYNAMIC_DRAW                   0x88E8
+
+#define GL_BUFFER_SIZE                    0x8764
+#define GL_BUFFER_USAGE                   0x8765
+
+#define GL_CURRENT_VERTEX_ATTRIB          0x8626
+
+/* CullFaceMode */
+#define GL_FRONT                          0x0404
+#define GL_BACK                           0x0405
+#define GL_FRONT_AND_BACK                 0x0408
+
+/* DepthFunction */
+/*      GL_NEVER */
+/*      GL_LESS */
+/*      GL_EQUAL */
+/*      GL_LEQUAL */
+/*      GL_GREATER */
+/*      GL_NOTEQUAL */
+/*      GL_GEQUAL */
+/*      GL_ALWAYS */
+
+/* EnableCap */
+#define GL_TEXTURE_2D                     0x0DE1
+#define GL_CULL_FACE                      0x0B44
+#define GL_BLEND                          0x0BE2
+#define GL_DITHER                         0x0BD0
+#define GL_STENCIL_TEST                   0x0B90
+#define GL_DEPTH_TEST                     0x0B71
+#define GL_SCISSOR_TEST                   0x0C11
+#define GL_POLYGON_OFFSET_FILL            0x8037
+#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
+#define GL_SAMPLE_COVERAGE                0x80A0
+
+/* ErrorCode */
+#define GL_NO_ERROR                       0
+#define GL_INVALID_ENUM                   0x0500
+#define GL_INVALID_VALUE                  0x0501
+#define GL_INVALID_OPERATION              0x0502
+#define GL_OUT_OF_MEMORY                  0x0505
+
+/* FrontFaceDirection */
+#define GL_CW                             0x0900
+#define GL_CCW                            0x0901
+
+/* GetPName */
+#define GL_LINE_WIDTH                     0x0B21
+#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
+#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
+#define GL_CULL_FACE_MODE                 0x0B45
+#define GL_FRONT_FACE                     0x0B46
+#define GL_DEPTH_RANGE                    0x0B70
+#define GL_DEPTH_WRITEMASK                0x0B72
+#define GL_DEPTH_CLEAR_VALUE              0x0B73
+#define GL_DEPTH_FUNC                     0x0B74
+#define GL_STENCIL_CLEAR_VALUE            0x0B91
+#define GL_STENCIL_FUNC                   0x0B92
+#define GL_STENCIL_FAIL                   0x0B94
+#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
+#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
+#define GL_STENCIL_REF                    0x0B97
+#define GL_STENCIL_VALUE_MASK             0x0B93
+#define GL_STENCIL_WRITEMASK              0x0B98
+#define GL_STENCIL_BACK_FUNC              0x8800
+#define GL_STENCIL_BACK_FAIL              0x8801
+#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
+#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
+#define GL_STENCIL_BACK_REF               0x8CA3
+#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
+#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
+#define GL_VIEWPORT                       0x0BA2
+#define GL_SCISSOR_BOX                    0x0C10
+/*      GL_SCISSOR_TEST */
+#define GL_COLOR_CLEAR_VALUE              0x0C22
+#define GL_COLOR_WRITEMASK                0x0C23
+#define GL_UNPACK_ALIGNMENT               0x0CF5
+#define GL_PACK_ALIGNMENT                 0x0D05
+#define GL_MAX_TEXTURE_SIZE               0x0D33
+#define GL_MAX_VIEWPORT_DIMS              0x0D3A
+#define GL_SUBPIXEL_BITS                  0x0D50
+#define GL_RED_BITS                       0x0D52
+#define GL_GREEN_BITS                     0x0D53
+#define GL_BLUE_BITS                      0x0D54
+#define GL_ALPHA_BITS                     0x0D55
+#define GL_DEPTH_BITS                     0x0D56
+#define GL_STENCIL_BITS                   0x0D57
+#define GL_POLYGON_OFFSET_UNITS           0x2A00
+/*      GL_POLYGON_OFFSET_FILL */
+#define GL_POLYGON_OFFSET_FACTOR          0x8038
+#define GL_TEXTURE_BINDING_2D             0x8069
+#define GL_SAMPLE_BUFFERS                 0x80A8
+#define GL_SAMPLES                        0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
+
+/* GetTextureParameter */
+/*      GL_TEXTURE_MAG_FILTER */
+/*      GL_TEXTURE_MIN_FILTER */
+/*      GL_TEXTURE_WRAP_S */
+/*      GL_TEXTURE_WRAP_T */
+
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
+
+/* HintMode */
+#define GL_DONT_CARE                      0x1100
+#define GL_FASTEST                        0x1101
+#define GL_NICEST                         0x1102
+
+/* HintTarget */
+#define GL_GENERATE_MIPMAP_HINT            0x8192
+
+/* DataType */
+#define GL_BYTE                           0x1400
+#define GL_UNSIGNED_BYTE                  0x1401
+#define GL_SHORT                          0x1402
+#define GL_UNSIGNED_SHORT                 0x1403
+#define GL_INT                            0x1404
+#define GL_UNSIGNED_INT                   0x1405
+#define GL_FLOAT                          0x1406
+#define GL_FIXED                          0x140C
+
+/* PixelFormat */
+#define GL_DEPTH_COMPONENT                0x1902
+#define GL_ALPHA                          0x1906
+#define GL_RGB                            0x1907
+#define GL_RGBA                           0x1908
+#define GL_LUMINANCE                      0x1909
+#define GL_LUMINANCE_ALPHA                0x190A
+
+/* PixelType */
+/*      GL_UNSIGNED_BYTE */
+#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
+#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
+#define GL_UNSIGNED_SHORT_5_6_5           0x8363
+
+/* Shaders */
+#define GL_FRAGMENT_SHADER                  0x8B30
+#define GL_VERTEX_SHADER                    0x8B31
+#define GL_MAX_VERTEX_ATTRIBS               0x8869
+#define GL_MAX_VERTEX_UNIFORM_VECTORS       0x8DFB
+#define GL_MAX_VARYING_VECTORS              0x8DFC
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
+#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS   0x8B4C
+#define GL_MAX_TEXTURE_IMAGE_UNITS          0x8872
+#define GL_MAX_FRAGMENT_UNIFORM_VECTORS     0x8DFD
+#define GL_SHADER_TYPE                      0x8B4F
+#define GL_DELETE_STATUS                    0x8B80
+#define GL_LINK_STATUS                      0x8B82
+#define GL_VALIDATE_STATUS                  0x8B83
+#define GL_ATTACHED_SHADERS                 0x8B85
+#define GL_ACTIVE_UNIFORMS                  0x8B86
+#define GL_ACTIVE_UNIFORM_MAX_LENGTH        0x8B87
+#define GL_ACTIVE_ATTRIBUTES                0x8B89
+#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH      0x8B8A
+#define GL_SHADING_LANGUAGE_VERSION         0x8B8C
+#define GL_CURRENT_PROGRAM                  0x8B8D
+
+/* StencilFunction */
+#define GL_NEVER                          0x0200
+#define GL_LESS                           0x0201
+#define GL_EQUAL                          0x0202
+#define GL_LEQUAL                         0x0203
+#define GL_GREATER                        0x0204
+#define GL_NOTEQUAL                       0x0205
+#define GL_GEQUAL                         0x0206
+#define GL_ALWAYS                         0x0207
+
+/* StencilOp */
+/*      GL_ZERO */
+#define GL_KEEP                           0x1E00
+#define GL_REPLACE                        0x1E01
+#define GL_INCR                           0x1E02
+#define GL_DECR                           0x1E03
+#define GL_INVERT                         0x150A
+#define GL_INCR_WRAP                      0x8507
+#define GL_DECR_WRAP                      0x8508
+
+/* StringName */
+#define GL_VENDOR                         0x1F00
+#define GL_RENDERER                       0x1F01
+#define GL_VERSION                        0x1F02
+#define GL_EXTENSIONS                     0x1F03
+
+/* TextureMagFilter */
+#define GL_NEAREST                        0x2600
+#define GL_LINEAR                         0x2601
+
+/* TextureMinFilter */
+/*      GL_NEAREST */
+/*      GL_LINEAR */
+#define GL_NEAREST_MIPMAP_NEAREST         0x2700
+#define GL_LINEAR_MIPMAP_NEAREST          0x2701
+#define GL_NEAREST_MIPMAP_LINEAR          0x2702
+#define GL_LINEAR_MIPMAP_LINEAR           0x2703
+
+/* TextureParameterName */
+#define GL_TEXTURE_MAG_FILTER             0x2800
+#define GL_TEXTURE_MIN_FILTER             0x2801
+#define GL_TEXTURE_WRAP_S                 0x2802
+#define GL_TEXTURE_WRAP_T                 0x2803
+
+/* TextureTarget */
+/*      GL_TEXTURE_2D */
+#define GL_TEXTURE                        0x1702
+
+#define GL_TEXTURE_CUBE_MAP               0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
+
+/* TextureUnit */
+#define GL_TEXTURE0                       0x84C0
+#define GL_TEXTURE1                       0x84C1
+#define GL_TEXTURE2                       0x84C2
+#define GL_TEXTURE3                       0x84C3
+#define GL_TEXTURE4                       0x84C4
+#define GL_TEXTURE5                       0x84C5
+#define GL_TEXTURE6                       0x84C6
+#define GL_TEXTURE7                       0x84C7
+#define GL_TEXTURE8                       0x84C8
+#define GL_TEXTURE9                       0x84C9
+#define GL_TEXTURE10                      0x84CA
+#define GL_TEXTURE11                      0x84CB
+#define GL_TEXTURE12                      0x84CC
+#define GL_TEXTURE13                      0x84CD
+#define GL_TEXTURE14                      0x84CE
+#define GL_TEXTURE15                      0x84CF
+#define GL_TEXTURE16                      0x84D0
+#define GL_TEXTURE17                      0x84D1
+#define GL_TEXTURE18                      0x84D2
+#define GL_TEXTURE19                      0x84D3
+#define GL_TEXTURE20                      0x84D4
+#define GL_TEXTURE21                      0x84D5
+#define GL_TEXTURE22                      0x84D6
+#define GL_TEXTURE23                      0x84D7
+#define GL_TEXTURE24                      0x84D8
+#define GL_TEXTURE25                      0x84D9
+#define GL_TEXTURE26                      0x84DA
+#define GL_TEXTURE27                      0x84DB
+#define GL_TEXTURE28                      0x84DC
+#define GL_TEXTURE29                      0x84DD
+#define GL_TEXTURE30                      0x84DE
+#define GL_TEXTURE31                      0x84DF
+#define GL_ACTIVE_TEXTURE                 0x84E0
+
+/* TextureWrapMode */
+#define GL_REPEAT                         0x2901
+#define GL_CLAMP_TO_EDGE                  0x812F
+#define GL_MIRRORED_REPEAT                0x8370
+
+/* Uniform Types */
+#define GL_FLOAT_VEC2                     0x8B50
+#define GL_FLOAT_VEC3                     0x8B51
+#define GL_FLOAT_VEC4                     0x8B52
+#define GL_INT_VEC2                       0x8B53
+#define GL_INT_VEC3                       0x8B54
+#define GL_INT_VEC4                       0x8B55
+#define GL_BOOL                           0x8B56
+#define GL_BOOL_VEC2                      0x8B57
+#define GL_BOOL_VEC3                      0x8B58
+#define GL_BOOL_VEC4                      0x8B59
+#define GL_FLOAT_MAT2                     0x8B5A
+#define GL_FLOAT_MAT3                     0x8B5B
+#define GL_FLOAT_MAT4                     0x8B5C
+#define GL_SAMPLER_2D                     0x8B5E
+#define GL_SAMPLER_CUBE                   0x8B60
+
+/* Vertex Arrays */
+#define GL_VERTEX_ATTRIB_ARRAY_ENABLED        0x8622
+#define GL_VERTEX_ATTRIB_ARRAY_SIZE           0x8623
+#define GL_VERTEX_ATTRIB_ARRAY_STRIDE         0x8624
+#define GL_VERTEX_ATTRIB_ARRAY_TYPE           0x8625
+#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED     0x886A
+#define GL_VERTEX_ATTRIB_ARRAY_POINTER        0x8645
+#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
+
+/* Read Format */
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE   0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
+
+/* Shader Source */
+#define GL_COMPILE_STATUS                 0x8B81
+#define GL_INFO_LOG_LENGTH                0x8B84
+#define GL_SHADER_SOURCE_LENGTH           0x8B88
+#define GL_SHADER_COMPILER                0x8DFA
+
+/* Shader Binary */
+#define GL_SHADER_BINARY_FORMATS          0x8DF8
+#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
+
+/* Shader Precision-Specified Types */
+#define GL_LOW_FLOAT                      0x8DF0
+#define GL_MEDIUM_FLOAT                   0x8DF1
+#define GL_HIGH_FLOAT                     0x8DF2
+#define GL_LOW_INT                        0x8DF3
+#define GL_MEDIUM_INT                     0x8DF4
+#define GL_HIGH_INT                       0x8DF5
+
+/* Framebuffer Object. */
+#define GL_FRAMEBUFFER                    0x8D40
+#define GL_RENDERBUFFER                   0x8D41
+
+#define GL_RGBA4                          0x8056
+#define GL_RGB5_A1                        0x8057
+#define GL_RGB565                         0x8D62
+#define GL_DEPTH_COMPONENT16              0x81A5
+#define GL_STENCIL_INDEX8                 0x8D48
+
+#define GL_RENDERBUFFER_WIDTH             0x8D42
+#define GL_RENDERBUFFER_HEIGHT            0x8D43
+#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
+#define GL_RENDERBUFFER_RED_SIZE          0x8D50
+#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
+#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
+#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
+#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
+#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
+
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE           0x8CD0
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME           0x8CD1
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL         0x8CD2
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
+
+#define GL_COLOR_ATTACHMENT0              0x8CE0
+#define GL_DEPTH_ATTACHMENT               0x8D00
+#define GL_STENCIL_ATTACHMENT             0x8D20
+
+#define GL_NONE                           0
+
+#define GL_FRAMEBUFFER_COMPLETE                      0x8CD5
+#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT         0x8CD6
+#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
+#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS         0x8CD9
+#define GL_FRAMEBUFFER_UNSUPPORTED                   0x8CDD
+
+#define GL_FRAMEBUFFER_BINDING            0x8CA6
+#define GL_RENDERBUFFER_BINDING           0x8CA7
+#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
+
+#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
+
+/*-------------------------------------------------------------------------
+ * GL core functions.
+ *-----------------------------------------------------------------------*/
+
+GL_APICALL void         GL_APIENTRY glActiveTexture (GLenum texture);
+GL_APICALL void         GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
+GL_APICALL void         GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name);
+GL_APICALL void         GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
+GL_APICALL void         GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
+GL_APICALL void         GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
+GL_APICALL void         GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
+GL_APICALL void         GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+GL_APICALL void         GL_APIENTRY glBlendEquation ( GLenum mode );
+GL_APICALL void         GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
+GL_APICALL void         GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
+GL_APICALL void         GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+GL_APICALL void         GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
+GL_APICALL void         GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
+GL_APICALL GLenum       GL_APIENTRY glCheckFramebufferStatus (GLenum target);
+GL_APICALL void         GL_APIENTRY glClear (GLbitfield mask);
+GL_APICALL void         GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+GL_APICALL void         GL_APIENTRY glClearDepthf (GLclampf depth);
+GL_APICALL void         GL_APIENTRY glClearStencil (GLint s);
+GL_APICALL void         GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+GL_APICALL void         GL_APIENTRY glCompileShader (GLuint shader);
+GL_APICALL void         GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void         GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void         GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GL_APICALL void         GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GL_APICALL GLuint       GL_APIENTRY glCreateProgram (void);
+GL_APICALL GLuint       GL_APIENTRY glCreateShader (GLenum type);
+GL_APICALL void         GL_APIENTRY glCullFace (GLenum mode);
+GL_APICALL void         GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers);
+GL_APICALL void         GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers);
+GL_APICALL void         GL_APIENTRY glDeleteProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers);
+GL_APICALL void         GL_APIENTRY glDeleteShader (GLuint shader);
+GL_APICALL void         GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures);
+GL_APICALL void         GL_APIENTRY glDepthFunc (GLenum func);
+GL_APICALL void         GL_APIENTRY glDepthMask (GLboolean flag);
+GL_APICALL void         GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
+GL_APICALL void         GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
+GL_APICALL void         GL_APIENTRY glDisable (GLenum cap);
+GL_APICALL void         GL_APIENTRY glDisableVertexAttribArray (GLuint index);
+GL_APICALL void         GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
+GL_APICALL void         GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
+GL_APICALL void         GL_APIENTRY glEnable (GLenum cap);
+GL_APICALL void         GL_APIENTRY glEnableVertexAttribArray (GLuint index);
+GL_APICALL void         GL_APIENTRY glFinish (void);
+GL_APICALL void         GL_APIENTRY glFlush (void);
+GL_APICALL void         GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GL_APICALL void         GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GL_APICALL void         GL_APIENTRY glFrontFace (GLenum mode);
+GL_APICALL void         GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers);
+GL_APICALL void         GL_APIENTRY glGenerateMipmap (GLenum target);
+GL_APICALL void         GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers);
+GL_APICALL void         GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers);
+GL_APICALL void         GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures);
+GL_APICALL void         GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
+GL_APICALL GLint        GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params);
+GL_APICALL void         GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params);
+GL_APICALL GLenum       GL_APIENTRY glGetError (void);
+GL_APICALL void         GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
+GL_APICALL void         GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
+GL_APICALL void         GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
+GL_APICALL void         GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
+GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name);
+GL_APICALL void         GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params);
+GL_APICALL GLint        GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer);
+GL_APICALL void         GL_APIENTRY glHint (GLenum target, GLenum mode);
+GL_APICALL GLboolean    GL_APIENTRY glIsBuffer (GLuint buffer);
+GL_APICALL GLboolean    GL_APIENTRY glIsEnabled (GLenum cap);
+GL_APICALL GLboolean    GL_APIENTRY glIsFramebuffer (GLuint framebuffer);
+GL_APICALL GLboolean    GL_APIENTRY glIsProgram (GLuint program);
+GL_APICALL GLboolean    GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer);
+GL_APICALL GLboolean    GL_APIENTRY glIsShader (GLuint shader);
+GL_APICALL GLboolean    GL_APIENTRY glIsTexture (GLuint texture);
+GL_APICALL void         GL_APIENTRY glLineWidth (GLfloat width);
+GL_APICALL void         GL_APIENTRY glLinkProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
+GL_APICALL void         GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
+GL_APICALL void         GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
+GL_APICALL void         GL_APIENTRY glReleaseShaderCompiler (void);
+GL_APICALL void         GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void         GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
+GL_APICALL void         GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
+GL_APICALL void         GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
+GL_APICALL void         GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);
+GL_APICALL void         GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilMask (GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
+GL_APICALL void         GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
+GL_APICALL void         GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void         GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
+GL_APICALL void         GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params);
+GL_APICALL void         GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
+GL_APICALL void         GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params);
+GL_APICALL void         GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void         GL_APIENTRY glUniform1f (GLint location, GLfloat x);
+GL_APICALL void         GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform1i (GLint location, GLint x);
+GL_APICALL void         GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y);
+GL_APICALL void         GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y);
+GL_APICALL void         GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z);
+GL_APICALL void         GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z);
+GL_APICALL void         GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GL_APICALL void         GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w);
+GL_APICALL void         GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+GL_APICALL void         GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+GL_APICALL void         GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+GL_APICALL void         GL_APIENTRY glUseProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glValidateProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x);
+GL_APICALL void         GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y);
+GL_APICALL void         GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z);
+GL_APICALL void         GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GL_APICALL void         GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr);
+GL_APICALL void         GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gl2_h_ */
+
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h
@@ -1,0 +1,2050 @@
+#ifndef __gl2ext_h_
+#define __gl2ext_h_
+
+/* $Revision: 22801 $ on $Date:: 2013-08-21 03:20:48 -0700 #$ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+#ifndef GL_APIENTRYP
+#   define GL_APIENTRYP GL_APIENTRY*
+#endif
+
+/* New types shared by several extensions */
+
+#ifndef __gl3_h_
+/* These are defined with respect to <inttypes.h> in the
+ * Apple extension spec, but they are also used by non-APPLE
+ * extensions, and in the Khronos header we use the Khronos
+ * portable types in khrplatform.h, which must be defined.
+ */
+typedef khronos_int64_t GLint64;
+typedef khronos_uint64_t GLuint64;
+typedef struct __GLsync *GLsync;
+#endif
+
+
+/*------------------------------------------------------------------------*
+ * OES extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_OES_compressed_ETC1_RGB8_texture */
+#ifndef GL_OES_compressed_ETC1_RGB8_texture
+#define GL_ETC1_RGB8_OES                                        0x8D64
+#endif
+
+/* GL_OES_compressed_paletted_texture */
+#ifndef GL_OES_compressed_paletted_texture
+#define GL_PALETTE4_RGB8_OES                                    0x8B90
+#define GL_PALETTE4_RGBA8_OES                                   0x8B91
+#define GL_PALETTE4_R5_G6_B5_OES                                0x8B92
+#define GL_PALETTE4_RGBA4_OES                                   0x8B93
+#define GL_PALETTE4_RGB5_A1_OES                                 0x8B94
+#define GL_PALETTE8_RGB8_OES                                    0x8B95
+#define GL_PALETTE8_RGBA8_OES                                   0x8B96
+#define GL_PALETTE8_R5_G6_B5_OES                                0x8B97
+#define GL_PALETTE8_RGBA4_OES                                   0x8B98
+#define GL_PALETTE8_RGB5_A1_OES                                 0x8B99
+#endif
+
+/* GL_OES_depth24 */
+#ifndef GL_OES_depth24
+#define GL_DEPTH_COMPONENT24_OES                                0x81A6
+#endif
+
+/* GL_OES_depth32 */
+#ifndef GL_OES_depth32
+#define GL_DEPTH_COMPONENT32_OES                                0x81A7
+#endif
+
+/* GL_OES_depth_texture */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+typedef void* GLeglImageOES;
+#endif
+
+/* GL_OES_EGL_image_external */
+#ifndef GL_OES_EGL_image_external
+/* GLeglImageOES defined in GL_OES_EGL_image already. */
+#define GL_TEXTURE_EXTERNAL_OES                                 0x8D65
+#define GL_SAMPLER_EXTERNAL_OES                                 0x8D66
+#define GL_TEXTURE_BINDING_EXTERNAL_OES                         0x8D67
+#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES                     0x8D68
+#endif
+
+/* GL_OES_element_index_uint */
+#ifndef GL_OES_element_index_uint
+#define GL_UNSIGNED_INT                                         0x1405
+#endif
+
+/* GL_OES_get_program_binary */
+#ifndef GL_OES_get_program_binary
+#define GL_PROGRAM_BINARY_LENGTH_OES                            0x8741
+#define GL_NUM_PROGRAM_BINARY_FORMATS_OES                       0x87FE
+#define GL_PROGRAM_BINARY_FORMATS_OES                           0x87FF
+#endif
+
+/* GL_OES_mapbuffer */
+#ifndef GL_OES_mapbuffer
+#define GL_WRITE_ONLY_OES                                       0x88B9
+#define GL_BUFFER_ACCESS_OES                                    0x88BB
+#define GL_BUFFER_MAPPED_OES                                    0x88BC
+#define GL_BUFFER_MAP_POINTER_OES                               0x88BD
+#endif
+
+/* GL_OES_packed_depth_stencil */
+#ifndef GL_OES_packed_depth_stencil
+#define GL_DEPTH_STENCIL_OES                                    0x84F9
+#define GL_UNSIGNED_INT_24_8_OES                                0x84FA
+#define GL_DEPTH24_STENCIL8_OES                                 0x88F0
+#endif
+
+/* GL_OES_required_internalformat */
+#ifndef GL_OES_required_internalformat
+#define GL_ALPHA8_OES                                           0x803C
+#define GL_DEPTH_COMPONENT16_OES                                0x81A5
+/* reuse GL_DEPTH_COMPONENT24_OES */
+/* reuse GL_DEPTH24_STENCIL8_OES */
+/* reuse GL_DEPTH_COMPONENT32_OES */
+#define GL_LUMINANCE4_ALPHA4_OES                                0x8043
+#define GL_LUMINANCE8_ALPHA8_OES                                0x8045
+#define GL_LUMINANCE8_OES                                       0x8040
+#define GL_RGBA4_OES                                            0x8056
+#define GL_RGB5_A1_OES                                          0x8057
+#define GL_RGB565_OES                                           0x8D62
+/* reuse GL_RGB8_OES */
+/* reuse GL_RGBA8_OES */
+/* reuse GL_RGB10_EXT */
+/* reuse GL_RGB10_A2_EXT */
+#endif
+
+/* GL_OES_rgb8_rgba8 */
+#ifndef GL_OES_rgb8_rgba8
+#define GL_RGB8_OES                                             0x8051
+#define GL_RGBA8_OES                                            0x8058
+#endif
+
+/* GL_OES_standard_derivatives */
+#ifndef GL_OES_standard_derivatives
+#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES                  0x8B8B
+#endif
+
+/* GL_OES_stencil1 */
+#ifndef GL_OES_stencil1
+#define GL_STENCIL_INDEX1_OES                                   0x8D46
+#endif
+
+/* GL_OES_stencil4 */
+#ifndef GL_OES_stencil4
+#define GL_STENCIL_INDEX4_OES                                   0x8D47
+#endif
+
+#ifndef GL_OES_surfaceless_context
+#define GL_FRAMEBUFFER_UNDEFINED_OES                            0x8219
+#endif
+
+/* GL_OES_texture_3D */
+#ifndef GL_OES_texture_3D
+#define GL_TEXTURE_WRAP_R_OES                                   0x8072
+#define GL_TEXTURE_3D_OES                                       0x806F
+#define GL_TEXTURE_BINDING_3D_OES                               0x806A
+#define GL_MAX_3D_TEXTURE_SIZE_OES                              0x8073
+#define GL_SAMPLER_3D_OES                                       0x8B5F
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES        0x8CD4
+#endif
+
+/* GL_OES_texture_float */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_texture_float_linear */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_texture_half_float */
+#ifndef GL_OES_texture_half_float
+#define GL_HALF_FLOAT_OES                                       0x8D61
+#endif
+
+/* GL_OES_texture_half_float_linear */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_texture_npot */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_vertex_array_object */
+#ifndef GL_OES_vertex_array_object
+#define GL_VERTEX_ARRAY_BINDING_OES                             0x85B5
+#endif
+
+/* GL_OES_vertex_half_float */
+/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */
+
+/* GL_OES_vertex_type_10_10_10_2 */
+#ifndef GL_OES_vertex_type_10_10_10_2
+#define GL_UNSIGNED_INT_10_10_10_2_OES                          0x8DF6
+#define GL_INT_10_10_10_2_OES                                   0x8DF7
+#endif
+
+/*------------------------------------------------------------------------*
+ * KHR extension tokens
+ *------------------------------------------------------------------------*/
+
+#ifndef GL_KHR_debug
+typedef void (GL_APIENTRYP GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR                         0x8242
+#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR                 0x8243
+#define GL_DEBUG_CALLBACK_FUNCTION_KHR                          0x8244
+#define GL_DEBUG_CALLBACK_USER_PARAM_KHR                        0x8245
+#define GL_DEBUG_SOURCE_API_KHR                                 0x8246
+#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR                       0x8247
+#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR                     0x8248
+#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR                         0x8249
+#define GL_DEBUG_SOURCE_APPLICATION_KHR                         0x824A
+#define GL_DEBUG_SOURCE_OTHER_KHR                               0x824B
+#define GL_DEBUG_TYPE_ERROR_KHR                                 0x824C
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR                   0x824D
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR                    0x824E
+#define GL_DEBUG_TYPE_PORTABILITY_KHR                           0x824F
+#define GL_DEBUG_TYPE_PERFORMANCE_KHR                           0x8250
+#define GL_DEBUG_TYPE_OTHER_KHR                                 0x8251
+#define GL_DEBUG_TYPE_MARKER_KHR                                0x8268
+#define GL_DEBUG_TYPE_PUSH_GROUP_KHR                            0x8269
+#define GL_DEBUG_TYPE_POP_GROUP_KHR                             0x826A
+#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR                      0x826B
+#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR                      0x826C
+#define GL_DEBUG_GROUP_STACK_DEPTH_KHR                          0x826D
+#define GL_BUFFER_KHR                                           0x82E0
+#define GL_SHADER_KHR                                           0x82E1
+#define GL_PROGRAM_KHR                                          0x82E2
+#define GL_QUERY_KHR                                            0x82E3
+/* PROGRAM_PIPELINE only in GL */
+#define GL_SAMPLER_KHR                                          0x82E6
+/* DISPLAY_LIST only in GL */
+#define GL_MAX_LABEL_LENGTH_KHR                                 0x82E8
+#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR                         0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR                        0x9144
+#define GL_DEBUG_LOGGED_MESSAGES_KHR                            0x9145
+#define GL_DEBUG_SEVERITY_HIGH_KHR                              0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM_KHR                            0x9147
+#define GL_DEBUG_SEVERITY_LOW_KHR                               0x9148
+#define GL_DEBUG_OUTPUT_KHR                                     0x92E0
+#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR                           0x00000002
+#define GL_STACK_OVERFLOW_KHR                                   0x0503
+#define GL_STACK_UNDERFLOW_KHR                                  0x0504
+#endif
+
+#ifndef GL_KHR_texture_compression_astc_ldr
+#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR                         0x93B0
+#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR                         0x93B1
+#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR                         0x93B2
+#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR                         0x93B3
+#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR                         0x93B4
+#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR                         0x93B5
+#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR                         0x93B6
+#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR                         0x93B7
+#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR                        0x93B8
+#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR                        0x93B9
+#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR                        0x93BA
+#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR                       0x93BB
+#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR                       0x93BC
+#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR                       0x93BD
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR                 0x93D0
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR                 0x93D1
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR                 0x93D2
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR                 0x93D3
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR                 0x93D4
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR                 0x93D5
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR                 0x93D6
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR                 0x93D7
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR                0x93D8
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR                0x93D9
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR                0x93DA
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR               0x93DB
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR               0x93DC
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR               0x93DD
+#endif
+
+/*------------------------------------------------------------------------*
+ * AMD extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_AMD_compressed_3DC_texture */
+#ifndef GL_AMD_compressed_3DC_texture
+#define GL_3DC_X_AMD                                            0x87F9
+#define GL_3DC_XY_AMD                                           0x87FA
+#endif
+
+/* GL_AMD_compressed_ATC_texture */
+#ifndef GL_AMD_compressed_ATC_texture
+#define GL_ATC_RGB_AMD                                          0x8C92
+#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD                          0x8C93
+#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD                      0x87EE
+#endif
+
+/* GL_AMD_performance_monitor */
+#ifndef GL_AMD_performance_monitor
+#define GL_COUNTER_TYPE_AMD                                     0x8BC0
+#define GL_COUNTER_RANGE_AMD                                    0x8BC1
+#define GL_UNSIGNED_INT64_AMD                                   0x8BC2
+#define GL_PERCENTAGE_AMD                                       0x8BC3
+#define GL_PERFMON_RESULT_AVAILABLE_AMD                         0x8BC4
+#define GL_PERFMON_RESULT_SIZE_AMD                              0x8BC5
+#define GL_PERFMON_RESULT_AMD                                   0x8BC6
+#endif
+
+/* GL_AMD_program_binary_Z400 */
+#ifndef GL_AMD_program_binary_Z400
+#define GL_Z400_BINARY_AMD                                      0x8740
+#endif
+
+/*------------------------------------------------------------------------*
+ * ANGLE extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_ANGLE_depth_texture */
+#ifndef GL_ANGLE_depth_texture
+#define GL_DEPTH_COMPONENT                                      0x1902
+#define GL_DEPTH_STENCIL_OES                                    0x84F9
+#define GL_UNSIGNED_SHORT                                       0x1403
+#define GL_UNSIGNED_INT                                         0x1405
+#define GL_UNSIGNED_INT_24_8_OES                                0x84FA
+#define GL_DEPTH_COMPONENT16                                    0x81A5
+#define GL_DEPTH_COMPONENT32_OES                                0x81A7
+#define GL_DEPTH24_STENCIL8_OES                                 0x88F0
+#endif
+
+/* GL_ANGLE_framebuffer_blit */
+#ifndef GL_ANGLE_framebuffer_blit
+#define GL_READ_FRAMEBUFFER_ANGLE                               0x8CA8
+#define GL_DRAW_FRAMEBUFFER_ANGLE                               0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE                       0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_ANGLE                       0x8CAA
+#endif
+
+/* GL_ANGLE_framebuffer_multisample */
+#ifndef GL_ANGLE_framebuffer_multisample
+#define GL_RENDERBUFFER_SAMPLES_ANGLE                           0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE             0x8D56
+#define GL_MAX_SAMPLES_ANGLE                                    0x8D57
+#endif
+
+/* GL_ANGLE_instanced_arrays */
+#ifndef GL_ANGLE_instanced_arrays
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE                    0x88FE
+#endif
+
+/* GL_ANGLE_pack_reverse_row_order */
+#ifndef GL_ANGLE_pack_reverse_row_order
+#define GL_PACK_REVERSE_ROW_ORDER_ANGLE                         0x93A4
+#endif
+
+/* GL_ANGLE_program_binary */
+#ifndef GL_ANGLE_program_binary
+#define GL_PROGRAM_BINARY_ANGLE                                 0x93A6
+#endif
+
+/* GL_ANGLE_texture_compression_dxt3 */
+#ifndef GL_ANGLE_texture_compression_dxt3
+#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE                      0x83F2
+#endif
+
+/* GL_ANGLE_texture_compression_dxt5 */
+#ifndef GL_ANGLE_texture_compression_dxt5
+#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE                      0x83F3
+#endif
+
+/* GL_ANGLE_texture_usage */
+#ifndef GL_ANGLE_texture_usage
+#define GL_TEXTURE_USAGE_ANGLE                                  0x93A2
+#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE                         0x93A3
+#endif
+
+/* GL_ANGLE_translated_shader_source */
+#ifndef GL_ANGLE_translated_shader_source
+#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE                0x93A0
+#endif
+
+/*------------------------------------------------------------------------*
+ * APPLE extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_APPLE_copy_texture_levels */
+/* No new tokens introduced by this extension. */
+
+/* GL_APPLE_framebuffer_multisample */
+#ifndef GL_APPLE_framebuffer_multisample
+#define GL_RENDERBUFFER_SAMPLES_APPLE                           0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE             0x8D56
+#define GL_MAX_SAMPLES_APPLE                                    0x8D57
+#define GL_READ_FRAMEBUFFER_APPLE                               0x8CA8
+#define GL_DRAW_FRAMEBUFFER_APPLE                               0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE                       0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_APPLE                       0x8CAA
+#endif
+
+/* GL_APPLE_rgb_422 */
+#ifndef GL_APPLE_rgb_422
+#define GL_RGB_422_APPLE                                        0x8A1F
+#define GL_UNSIGNED_SHORT_8_8_APPLE                             0x85BA
+#define GL_UNSIGNED_SHORT_8_8_REV_APPLE                         0x85BB
+#endif
+
+/* GL_APPLE_sync */
+#ifndef GL_APPLE_sync
+
+#define GL_SYNC_OBJECT_APPLE                                    0x8A53
+#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE                        0x9111
+#define GL_OBJECT_TYPE_APPLE                                    0x9112
+#define GL_SYNC_CONDITION_APPLE                                 0x9113
+#define GL_SYNC_STATUS_APPLE                                    0x9114
+#define GL_SYNC_FLAGS_APPLE                                     0x9115
+#define GL_SYNC_FENCE_APPLE                                     0x9116
+#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE                     0x9117
+#define GL_UNSIGNALED_APPLE                                     0x9118
+#define GL_SIGNALED_APPLE                                       0x9119
+#define GL_ALREADY_SIGNALED_APPLE                               0x911A
+#define GL_TIMEOUT_EXPIRED_APPLE                                0x911B
+#define GL_CONDITION_SATISFIED_APPLE                            0x911C
+#define GL_WAIT_FAILED_APPLE                                    0x911D
+#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE                        0x00000001
+#define GL_TIMEOUT_IGNORED_APPLE                                0xFFFFFFFFFFFFFFFFull
+#endif
+
+/* GL_APPLE_texture_format_BGRA8888 */
+#ifndef GL_APPLE_texture_format_BGRA8888
+#define GL_BGRA_EXT                                             0x80E1
+#endif
+
+/* GL_APPLE_texture_max_level */
+#ifndef GL_APPLE_texture_max_level
+#define GL_TEXTURE_MAX_LEVEL_APPLE                              0x813D
+#endif
+
+/*------------------------------------------------------------------------*
+ * ARM extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_ARM_mali_program_binary */
+#ifndef GL_ARM_mali_program_binary
+#define GL_MALI_PROGRAM_BINARY_ARM                              0x8F61
+#endif
+
+/* GL_ARM_mali_shader_binary */
+#ifndef GL_ARM_mali_shader_binary
+#define GL_MALI_SHADER_BINARY_ARM                               0x8F60
+#endif
+
+/* GL_ARM_rgba8 */
+/* No new tokens introduced by this extension. */
+
+/*------------------------------------------------------------------------*
+ * EXT extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_EXT_blend_minmax */
+#ifndef GL_EXT_blend_minmax
+#define GL_MIN_EXT                                              0x8007
+#define GL_MAX_EXT                                              0x8008
+#endif
+
+/* GL_EXT_color_buffer_half_float */
+#ifndef GL_EXT_color_buffer_half_float
+#define GL_RGBA16F_EXT                                          0x881A
+#define GL_RGB16F_EXT                                           0x881B
+#define GL_RG16F_EXT                                            0x822F
+#define GL_R16F_EXT                                             0x822D
+#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT            0x8211
+#define GL_UNSIGNED_NORMALIZED_EXT                              0x8C17
+#endif
+
+/* GL_EXT_debug_label */
+#ifndef GL_EXT_debug_label
+#define GL_PROGRAM_PIPELINE_OBJECT_EXT                          0x8A4F
+#define GL_PROGRAM_OBJECT_EXT                                   0x8B40
+#define GL_SHADER_OBJECT_EXT                                    0x8B48
+#define GL_BUFFER_OBJECT_EXT                                    0x9151
+#define GL_QUERY_OBJECT_EXT                                     0x9153
+#define GL_VERTEX_ARRAY_OBJECT_EXT                              0x9154
+#endif
+
+/* GL_EXT_debug_marker */
+/* No new tokens introduced by this extension. */
+
+/* GL_EXT_discard_framebuffer */
+#ifndef GL_EXT_discard_framebuffer
+#define GL_COLOR_EXT                                            0x1800
+#define GL_DEPTH_EXT                                            0x1801
+#define GL_STENCIL_EXT                                          0x1802
+#endif
+
+#ifndef GL_EXT_disjoint_timer_query
+#define GL_QUERY_COUNTER_BITS_EXT                               0x8864
+#define GL_CURRENT_QUERY_EXT                                    0x8865
+#define GL_QUERY_RESULT_EXT                                     0x8866
+#define GL_QUERY_RESULT_AVAILABLE_EXT                           0x8867
+#define GL_TIME_ELAPSED_EXT                                     0x88BF
+#define GL_TIMESTAMP_EXT                                        0x8E28
+#define GL_GPU_DISJOINT_EXT                                     0x8FBB
+#endif
+
+#ifndef GL_EXT_draw_buffers
+#define GL_EXT_draw_buffers 1
+#define GL_MAX_COLOR_ATTACHMENTS_EXT                            0x8CDF
+#define GL_MAX_DRAW_BUFFERS_EXT                                 0x8824
+#define GL_DRAW_BUFFER0_EXT                                     0x8825
+#define GL_DRAW_BUFFER1_EXT                                     0x8826
+#define GL_DRAW_BUFFER2_EXT                                     0x8827
+#define GL_DRAW_BUFFER3_EXT                                     0x8828
+#define GL_DRAW_BUFFER4_EXT                                     0x8829
+#define GL_DRAW_BUFFER5_EXT                                     0x882A
+#define GL_DRAW_BUFFER6_EXT                                     0x882B
+#define GL_DRAW_BUFFER7_EXT                                     0x882C
+#define GL_DRAW_BUFFER8_EXT                                     0x882D
+#define GL_DRAW_BUFFER9_EXT                                     0x882E
+#define GL_DRAW_BUFFER10_EXT                                    0x882F
+#define GL_DRAW_BUFFER11_EXT                                    0x8830
+#define GL_DRAW_BUFFER12_EXT                                    0x8831
+#define GL_DRAW_BUFFER13_EXT                                    0x8832
+#define GL_DRAW_BUFFER14_EXT                                    0x8833
+#define GL_DRAW_BUFFER15_EXT                                    0x8834
+#define GL_COLOR_ATTACHMENT0_EXT                                0x8CE0
+#define GL_COLOR_ATTACHMENT1_EXT                                0x8CE1
+#define GL_COLOR_ATTACHMENT2_EXT                                0x8CE2
+#define GL_COLOR_ATTACHMENT3_EXT                                0x8CE3
+#define GL_COLOR_ATTACHMENT4_EXT                                0x8CE4
+#define GL_COLOR_ATTACHMENT5_EXT                                0x8CE5
+#define GL_COLOR_ATTACHMENT6_EXT                                0x8CE6
+#define GL_COLOR_ATTACHMENT7_EXT                                0x8CE7
+#define GL_COLOR_ATTACHMENT8_EXT                                0x8CE8
+#define GL_COLOR_ATTACHMENT9_EXT                                0x8CE9
+#define GL_COLOR_ATTACHMENT10_EXT                               0x8CEA
+#define GL_COLOR_ATTACHMENT11_EXT                               0x8CEB
+#define GL_COLOR_ATTACHMENT12_EXT                               0x8CEC
+#define GL_COLOR_ATTACHMENT13_EXT                               0x8CED
+#define GL_COLOR_ATTACHMENT14_EXT                               0x8CEE
+#define GL_COLOR_ATTACHMENT15_EXT                               0x8CEF
+#endif
+
+/* GL_EXT_map_buffer_range */
+#ifndef GL_EXT_map_buffer_range
+#define GL_MAP_READ_BIT_EXT                                     0x0001
+#define GL_MAP_WRITE_BIT_EXT                                    0x0002
+#define GL_MAP_INVALIDATE_RANGE_BIT_EXT                         0x0004
+#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT                        0x0008
+#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT                           0x0010
+#define GL_MAP_UNSYNCHRONIZED_BIT_EXT                           0x0020
+#endif
+
+/* GL_EXT_multisampled_render_to_texture */
+#ifndef GL_EXT_multisampled_render_to_texture
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT           0x8D6C
+/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */
+#define GL_RENDERBUFFER_SAMPLES_EXT                             0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT               0x8D56
+#define GL_MAX_SAMPLES_EXT                                      0x8D57
+#endif
+
+/* GL_EXT_multiview_draw_buffers */
+#ifndef GL_EXT_multiview_draw_buffers
+#define GL_COLOR_ATTACHMENT_EXT                                 0x90F0
+#define GL_MULTIVIEW_EXT                                        0x90F1
+#define GL_DRAW_BUFFER_EXT                                      0x0C01
+#define GL_READ_BUFFER_EXT                                      0x0C02
+#define GL_MAX_MULTIVIEW_BUFFERS_EXT                            0x90F2
+#endif
+
+/* GL_EXT_multi_draw_arrays */
+/* No new tokens introduced by this extension. */
+
+/* GL_EXT_occlusion_query_boolean */
+#ifndef GL_EXT_occlusion_query_boolean
+#define GL_ANY_SAMPLES_PASSED_EXT                               0x8C2F
+#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT                  0x8D6A
+#define GL_CURRENT_QUERY_EXT                                    0x8865
+#define GL_QUERY_RESULT_EXT                                     0x8866
+#define GL_QUERY_RESULT_AVAILABLE_EXT                           0x8867
+#endif
+
+/* GL_EXT_read_format_bgra */
+#ifndef GL_EXT_read_format_bgra
+#define GL_BGRA_EXT                                             0x80E1
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT                       0x8365
+#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT                       0x8366
+#endif
+
+/* GL_EXT_robustness */
+#ifndef GL_EXT_robustness
+/* reuse GL_NO_ERROR */
+#define GL_GUILTY_CONTEXT_RESET_EXT                             0x8253
+#define GL_INNOCENT_CONTEXT_RESET_EXT                           0x8254
+#define GL_UNKNOWN_CONTEXT_RESET_EXT                            0x8255
+#define GL_CONTEXT_ROBUST_ACCESS_EXT                            0x90F3
+#define GL_RESET_NOTIFICATION_STRATEGY_EXT                      0x8256
+#define GL_LOSE_CONTEXT_ON_RESET_EXT                            0x8252
+#define GL_NO_RESET_NOTIFICATION_EXT                            0x8261
+#endif
+
+/* GL_EXT_separate_shader_objects */
+#ifndef GL_EXT_separate_shader_objects
+#define GL_VERTEX_SHADER_BIT_EXT                                0x00000001
+#define GL_FRAGMENT_SHADER_BIT_EXT                              0x00000002
+#define GL_ALL_SHADER_BITS_EXT                                  0xFFFFFFFF
+#define GL_PROGRAM_SEPARABLE_EXT                                0x8258
+#define GL_ACTIVE_PROGRAM_EXT                                   0x8259
+#define GL_PROGRAM_PIPELINE_BINDING_EXT                         0x825A
+#endif
+
+/* GL_EXT_shader_framebuffer_fetch */
+#ifndef GL_EXT_shader_framebuffer_fetch
+#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT                 0x8A52
+#endif
+
+/* GL_EXT_shader_texture_lod */
+/* No new tokens introduced by this extension. */
+
+/* GL_EXT_shadow_samplers */
+#ifndef GL_EXT_shadow_samplers
+#define GL_TEXTURE_COMPARE_MODE_EXT                             0x884C
+#define GL_TEXTURE_COMPARE_FUNC_EXT                             0x884D
+#define GL_COMPARE_REF_TO_TEXTURE_EXT                           0x884E
+#define GL_SAMPLER_2D_SHADOW_EXT                                0x8B62
+#endif
+
+/* GL_EXT_sRGB */
+#ifndef GL_EXT_sRGB
+#define GL_SRGB_EXT                                             0x8C40
+#define GL_SRGB_ALPHA_EXT                                       0x8C42
+#define GL_SRGB8_ALPHA8_EXT                                     0x8C43
+#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT            0x8210
+#endif
+
+/* GL_EXT_sRGB_write_control */
+#ifndef GL_EXT_sRGB_write_control
+#define GL_EXT_sRGB_write_control 1
+#define GL_FRAMEBUFFER_SRGB_EXT                                 0x8DB9
+#endif
+
+/* GL_EXT_texture_compression_dxt1 */
+#ifndef GL_EXT_texture_compression_dxt1
+#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                         0x83F0
+#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                        0x83F1
+#endif
+
+/* GL_EXT_texture_filter_anisotropic */
+#ifndef GL_EXT_texture_filter_anisotropic
+#define GL_TEXTURE_MAX_ANISOTROPY_EXT                           0x84FE
+#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                       0x84FF
+#endif
+
+/* GL_EXT_texture_format_BGRA8888 */
+#ifndef GL_EXT_texture_format_BGRA8888
+#define GL_BGRA_EXT                                             0x80E1
+#endif
+
+/* GL_EXT_texture_rg */
+#ifndef GL_EXT_texture_rg
+#define GL_RED_EXT                                              0x1903
+#define GL_RG_EXT                                               0x8227
+#define GL_R8_EXT                                               0x8229
+#define GL_RG8_EXT                                              0x822B
+#endif
+
+/* GL_EXT_texture_sRGB_decode */
+#ifndef GL_EXT_texture_sRGB_decode
+#define GL_EXT_texture_sRGB_decode 1
+#define GL_TEXTURE_SRGB_DECODE_EXT                              0x8A48
+#define GL_DECODE_EXT                                           0x8A49
+#define GL_SKIP_DECODE_EXT                                      0x8A4A
+#endif
+
+/* GL_EXT_texture_storage */
+#ifndef GL_EXT_texture_storage
+#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT                         0x912F
+#define GL_ALPHA8_EXT                                           0x803C
+#define GL_LUMINANCE8_EXT                                       0x8040
+#define GL_LUMINANCE8_ALPHA8_EXT                                0x8045
+#define GL_RGBA32F_EXT                                          0x8814
+#define GL_RGB32F_EXT                                           0x8815
+#define GL_ALPHA32F_EXT                                         0x8816
+#define GL_LUMINANCE32F_EXT                                     0x8818
+#define GL_LUMINANCE_ALPHA32F_EXT                               0x8819
+/* reuse GL_RGBA16F_EXT */
+/* reuse GL_RGB16F_EXT */
+#define GL_ALPHA16F_EXT                                         0x881C
+#define GL_LUMINANCE16F_EXT                                     0x881E
+#define GL_LUMINANCE_ALPHA16F_EXT                               0x881F
+#define GL_RGB10_A2_EXT                                         0x8059
+#define GL_RGB10_EXT                                            0x8052
+#define GL_BGRA8_EXT                                            0x93A1
+#define GL_R8_EXT                                               0x8229
+#define GL_RG8_EXT                                              0x822B
+#define GL_R32F_EXT                                             0x822E
+#define GL_RG32F_EXT                                            0x8230
+#define GL_R16F_EXT                                             0x822D
+#define GL_RG16F_EXT                                            0x822F
+#endif
+
+/* GL_EXT_texture_type_2_10_10_10_REV */
+#ifndef GL_EXT_texture_type_2_10_10_10_REV
+#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT                      0x8368
+#endif
+
+/* GL_EXT_unpack_subimage */
+#ifndef GL_EXT_unpack_subimage
+#define GL_UNPACK_ROW_LENGTH_EXT                                0x0CF2
+#define GL_UNPACK_SKIP_ROWS_EXT                                 0x0CF3
+#define GL_UNPACK_SKIP_PIXELS_EXT                               0x0CF4
+#endif
+
+/*------------------------------------------------------------------------*
+ * DMP extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_DMP_shader_binary */
+#ifndef GL_DMP_shader_binary
+#define GL_SHADER_BINARY_DMP                                    0x9250
+#endif
+
+/*------------------------------------------------------------------------*
+ * FJ extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_FJ_shader_binary_GCCSO */
+#ifndef GL_FJ_shader_binary_GCCSO
+#define GL_GCCSO_SHADER_BINARY_FJ                               0x9260
+#endif
+
+/*------------------------------------------------------------------------*
+ * IMG extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_IMG_program_binary */
+#ifndef GL_IMG_program_binary
+#define GL_SGX_PROGRAM_BINARY_IMG                               0x9130
+#endif
+
+/* GL_IMG_read_format */
+#ifndef GL_IMG_read_format
+#define GL_BGRA_IMG                                             0x80E1
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG                       0x8365
+#endif
+
+/* GL_IMG_shader_binary */
+#ifndef GL_IMG_shader_binary
+#define GL_SGX_BINARY_IMG                                       0x8C0A
+#endif
+
+/* GL_IMG_texture_compression_pvrtc */
+#ifndef GL_IMG_texture_compression_pvrtc
+#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG                      0x8C00
+#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG                      0x8C01
+#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG                     0x8C02
+#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG                     0x8C03
+#endif
+
+/* GL_IMG_texture_compression_pvrtc2 */
+#ifndef GL_IMG_texture_compression_pvrtc2
+#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG                     0x9137
+#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG                     0x9138
+#endif
+
+/* GL_IMG_multisampled_render_to_texture */
+#ifndef GL_IMG_multisampled_render_to_texture
+#define GL_RENDERBUFFER_SAMPLES_IMG                             0x9133
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG               0x9134
+#define GL_MAX_SAMPLES_IMG                                      0x9135
+#define GL_TEXTURE_SAMPLES_IMG                                  0x9136
+#endif
+
+/*------------------------------------------------------------------------*
+ * NV extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_NV_coverage_sample */
+#ifndef GL_NV_coverage_sample
+#define GL_COVERAGE_COMPONENT_NV                                0x8ED0
+#define GL_COVERAGE_COMPONENT4_NV                               0x8ED1
+#define GL_COVERAGE_ATTACHMENT_NV                               0x8ED2
+#define GL_COVERAGE_BUFFERS_NV                                  0x8ED3
+#define GL_COVERAGE_SAMPLES_NV                                  0x8ED4
+#define GL_COVERAGE_ALL_FRAGMENTS_NV                            0x8ED5
+#define GL_COVERAGE_EDGE_FRAGMENTS_NV                           0x8ED6
+#define GL_COVERAGE_AUTOMATIC_NV                                0x8ED7
+#define GL_COVERAGE_BUFFER_BIT_NV                               0x00008000
+#endif
+
+/* GL_NV_depth_nonlinear */
+#ifndef GL_NV_depth_nonlinear
+#define GL_DEPTH_COMPONENT16_NONLINEAR_NV                       0x8E2C
+#endif
+
+/* GL_NV_draw_buffers */
+#ifndef GL_NV_draw_buffers
+#define GL_MAX_DRAW_BUFFERS_NV                                  0x8824
+#define GL_DRAW_BUFFER0_NV                                      0x8825
+#define GL_DRAW_BUFFER1_NV                                      0x8826
+#define GL_DRAW_BUFFER2_NV                                      0x8827
+#define GL_DRAW_BUFFER3_NV                                      0x8828
+#define GL_DRAW_BUFFER4_NV                                      0x8829
+#define GL_DRAW_BUFFER5_NV                                      0x882A
+#define GL_DRAW_BUFFER6_NV                                      0x882B
+#define GL_DRAW_BUFFER7_NV                                      0x882C
+#define GL_DRAW_BUFFER8_NV                                      0x882D
+#define GL_DRAW_BUFFER9_NV                                      0x882E
+#define GL_DRAW_BUFFER10_NV                                     0x882F
+#define GL_DRAW_BUFFER11_NV                                     0x8830
+#define GL_DRAW_BUFFER12_NV                                     0x8831
+#define GL_DRAW_BUFFER13_NV                                     0x8832
+#define GL_DRAW_BUFFER14_NV                                     0x8833
+#define GL_DRAW_BUFFER15_NV                                     0x8834
+#define GL_COLOR_ATTACHMENT0_NV                                 0x8CE0
+#define GL_COLOR_ATTACHMENT1_NV                                 0x8CE1
+#define GL_COLOR_ATTACHMENT2_NV                                 0x8CE2
+#define GL_COLOR_ATTACHMENT3_NV                                 0x8CE3
+#define GL_COLOR_ATTACHMENT4_NV                                 0x8CE4
+#define GL_COLOR_ATTACHMENT5_NV                                 0x8CE5
+#define GL_COLOR_ATTACHMENT6_NV                                 0x8CE6
+#define GL_COLOR_ATTACHMENT7_NV                                 0x8CE7
+#define GL_COLOR_ATTACHMENT8_NV                                 0x8CE8
+#define GL_COLOR_ATTACHMENT9_NV                                 0x8CE9
+#define GL_COLOR_ATTACHMENT10_NV                                0x8CEA
+#define GL_COLOR_ATTACHMENT11_NV                                0x8CEB
+#define GL_COLOR_ATTACHMENT12_NV                                0x8CEC
+#define GL_COLOR_ATTACHMENT13_NV                                0x8CED
+#define GL_COLOR_ATTACHMENT14_NV                                0x8CEE
+#define GL_COLOR_ATTACHMENT15_NV                                0x8CEF
+#endif
+
+/* GL_NV_draw_instanced */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_fbo_color_attachments */
+#ifndef GL_NV_fbo_color_attachments
+#define GL_MAX_COLOR_ATTACHMENTS_NV                             0x8CDF
+/* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */
+#endif
+
+/* GL_NV_fence */
+#ifndef GL_NV_fence
+#define GL_ALL_COMPLETED_NV                                     0x84F2
+#define GL_FENCE_STATUS_NV                                      0x84F3
+#define GL_FENCE_CONDITION_NV                                   0x84F4
+#endif
+
+/* GL_NV_framebuffer_blit */
+#ifndef GL_NV_framebuffer_blit
+#define GL_READ_FRAMEBUFFER_NV                                  0x8CA8
+#define GL_DRAW_FRAMEBUFFER_NV                                  0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_NV                          0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_NV                          0x8CAA
+#endif
+
+/* GL_NV_framebuffer_multisample */
+#ifndef GL_NV_framebuffer_multisample
+#define GL_RENDERBUFFER_SAMPLES_NV                              0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV                0x8D56
+#define GL_MAX_SAMPLES_NV                                       0x8D57
+#endif
+
+/* GL_NV_generate_mipmap_sRGB */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_instanced_arrays */
+#ifndef GL_NV_instanced_arrays
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV                       0x88FE
+#endif
+
+/* GL_NV_read_buffer */
+#ifndef GL_NV_read_buffer
+#define GL_READ_BUFFER_NV                                       0x0C02
+#endif
+
+/* GL_NV_read_buffer_front */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_read_depth */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_read_depth_stencil */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_read_stencil */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_shadow_samplers_array */
+#ifndef GL_NV_shadow_samplers_array
+#define GL_SAMPLER_2D_ARRAY_SHADOW_NV                           0x8DC4
+#endif
+
+/* GL_NV_shadow_samplers_cube */
+#ifndef GL_NV_shadow_samplers_cube
+#define GL_SAMPLER_CUBE_SHADOW_NV                               0x8DC5
+#endif
+
+/* GL_NV_sRGB_formats */
+#ifndef GL_NV_sRGB_formats
+#define GL_SLUMINANCE_NV                                        0x8C46
+#define GL_SLUMINANCE_ALPHA_NV                                  0x8C44
+#define GL_SRGB8_NV                                             0x8C41
+#define GL_SLUMINANCE8_NV                                       0x8C47
+#define GL_SLUMINANCE8_ALPHA8_NV                                0x8C45
+#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV                         0x8C4C
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV                   0x8C4D
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV                   0x8C4E
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV                   0x8C4F
+#define GL_ETC1_SRGB8_NV                                        0x88EE
+#endif
+
+/* GL_NV_texture_border_clamp */
+#ifndef GL_NV_texture_border_clamp
+#define GL_TEXTURE_BORDER_COLOR_NV                              0x1004
+#define GL_CLAMP_TO_BORDER_NV                                   0x812D
+#endif
+
+/* GL_NV_texture_compression_s3tc_update */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_texture_npot_2D_mipmap */
+/* No new tokens introduced by this extension. */
+
+/*------------------------------------------------------------------------*
+ * QCOM extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_QCOM_alpha_test */
+#ifndef GL_QCOM_alpha_test
+#define GL_ALPHA_TEST_QCOM                                      0x0BC0
+#define GL_ALPHA_TEST_FUNC_QCOM                                 0x0BC1
+#define GL_ALPHA_TEST_REF_QCOM                                  0x0BC2
+#endif
+
+/* GL_QCOM_binning_control */
+#ifndef GL_QCOM_binning_control
+#define GL_BINNING_CONTROL_HINT_QCOM                            0x8FB0
+#define GL_CPU_OPTIMIZED_QCOM                                   0x8FB1
+#define GL_GPU_OPTIMIZED_QCOM                                   0x8FB2
+#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM                    0x8FB3
+#endif
+
+/* GL_QCOM_driver_control */
+/* No new tokens introduced by this extension. */
+
+/* GL_QCOM_extended_get */
+#ifndef GL_QCOM_extended_get
+#define GL_TEXTURE_WIDTH_QCOM                                   0x8BD2
+#define GL_TEXTURE_HEIGHT_QCOM                                  0x8BD3
+#define GL_TEXTURE_DEPTH_QCOM                                   0x8BD4
+#define GL_TEXTURE_INTERNAL_FORMAT_QCOM                         0x8BD5
+#define GL_TEXTURE_FORMAT_QCOM                                  0x8BD6
+#define GL_TEXTURE_TYPE_QCOM                                    0x8BD7
+#define GL_TEXTURE_IMAGE_VALID_QCOM                             0x8BD8
+#define GL_TEXTURE_NUM_LEVELS_QCOM                              0x8BD9
+#define GL_TEXTURE_TARGET_QCOM                                  0x8BDA
+#define GL_TEXTURE_OBJECT_VALID_QCOM                            0x8BDB
+#define GL_STATE_RESTORE                                        0x8BDC
+#endif
+
+/* GL_QCOM_extended_get2 */
+/* No new tokens introduced by this extension. */
+
+/* GL_QCOM_perfmon_global_mode */
+#ifndef GL_QCOM_perfmon_global_mode
+#define GL_PERFMON_GLOBAL_MODE_QCOM                             0x8FA0
+#endif
+
+/* GL_QCOM_writeonly_rendering */
+#ifndef GL_QCOM_writeonly_rendering
+#define GL_WRITEONLY_RENDERING_QCOM                             0x8823
+#endif
+
+/* GL_QCOM_tiled_rendering */
+#ifndef GL_QCOM_tiled_rendering
+#define GL_COLOR_BUFFER_BIT0_QCOM                               0x00000001
+#define GL_COLOR_BUFFER_BIT1_QCOM                               0x00000002
+#define GL_COLOR_BUFFER_BIT2_QCOM                               0x00000004
+#define GL_COLOR_BUFFER_BIT3_QCOM                               0x00000008
+#define GL_COLOR_BUFFER_BIT4_QCOM                               0x00000010
+#define GL_COLOR_BUFFER_BIT5_QCOM                               0x00000020
+#define GL_COLOR_BUFFER_BIT6_QCOM                               0x00000040
+#define GL_COLOR_BUFFER_BIT7_QCOM                               0x00000080
+#define GL_DEPTH_BUFFER_BIT0_QCOM                               0x00000100
+#define GL_DEPTH_BUFFER_BIT1_QCOM                               0x00000200
+#define GL_DEPTH_BUFFER_BIT2_QCOM                               0x00000400
+#define GL_DEPTH_BUFFER_BIT3_QCOM                               0x00000800
+#define GL_DEPTH_BUFFER_BIT4_QCOM                               0x00001000
+#define GL_DEPTH_BUFFER_BIT5_QCOM                               0x00002000
+#define GL_DEPTH_BUFFER_BIT6_QCOM                               0x00004000
+#define GL_DEPTH_BUFFER_BIT7_QCOM                               0x00008000
+#define GL_STENCIL_BUFFER_BIT0_QCOM                             0x00010000
+#define GL_STENCIL_BUFFER_BIT1_QCOM                             0x00020000
+#define GL_STENCIL_BUFFER_BIT2_QCOM                             0x00040000
+#define GL_STENCIL_BUFFER_BIT3_QCOM                             0x00080000
+#define GL_STENCIL_BUFFER_BIT4_QCOM                             0x00100000
+#define GL_STENCIL_BUFFER_BIT5_QCOM                             0x00200000
+#define GL_STENCIL_BUFFER_BIT6_QCOM                             0x00400000
+#define GL_STENCIL_BUFFER_BIT7_QCOM                             0x00800000
+#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM                         0x01000000
+#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM                         0x02000000
+#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM                         0x04000000
+#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM                         0x08000000
+#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM                         0x10000000
+#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM                         0x20000000
+#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM                         0x40000000
+#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM                         0x80000000
+#endif
+
+/*------------------------------------------------------------------------*
+ * VIV extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_VIV_shader_binary */
+#ifndef GL_VIV_shader_binary
+#define GL_SHADER_BINARY_VIV                                    0x8FC4
+#endif
+
+/*------------------------------------------------------------------------*
+ * End of extension tokens, start of corresponding extension functions
+ *------------------------------------------------------------------------*/
+
+/*------------------------------------------------------------------------*
+ * OES extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_OES_compressed_ETC1_RGB8_texture */
+#ifndef GL_OES_compressed_ETC1_RGB8_texture
+#define GL_OES_compressed_ETC1_RGB8_texture 1
+#endif
+
+/* GL_OES_compressed_paletted_texture */
+#ifndef GL_OES_compressed_paletted_texture
+#define GL_OES_compressed_paletted_texture 1
+#endif
+
+/* GL_OES_depth24 */
+#ifndef GL_OES_depth24
+#define GL_OES_depth24 1
+#endif
+
+/* GL_OES_depth32 */
+#ifndef GL_OES_depth32
+#define GL_OES_depth32 1
+#endif
+
+/* GL_OES_depth_texture */
+#ifndef GL_OES_depth_texture
+#define GL_OES_depth_texture 1
+#endif
+
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+#define GL_OES_EGL_image 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
+GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
+#endif
+typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
+typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
+#endif
+
+/* GL_OES_EGL_image_external */
+#ifndef GL_OES_EGL_image_external
+#define GL_OES_EGL_image_external 1
+/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */
+#endif
+
+/* GL_OES_element_index_uint */
+#ifndef GL_OES_element_index_uint
+#define GL_OES_element_index_uint 1
+#endif
+
+/* GL_OES_fbo_render_mipmap */
+#ifndef GL_OES_fbo_render_mipmap
+#define GL_OES_fbo_render_mipmap 1
+#endif
+
+/* GL_OES_fragment_precision_high */
+#ifndef GL_OES_fragment_precision_high
+#define GL_OES_fragment_precision_high 1
+#endif
+
+/* GL_OES_get_program_binary */
+#ifndef GL_OES_get_program_binary
+#define GL_OES_get_program_binary 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
+GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
+typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
+#endif
+
+/* GL_OES_mapbuffer */
+#ifndef GL_OES_mapbuffer
+#define GL_OES_mapbuffer 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
+GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
+GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid **params);
+#endif
+typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
+typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
+typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid **params);
+#endif
+
+/* GL_OES_packed_depth_stencil */
+#ifndef GL_OES_packed_depth_stencil
+#define GL_OES_packed_depth_stencil 1
+#endif
+
+/* GL_OES_required_internalformat */
+#ifndef GL_OES_required_internalformat
+#define GL_OES_required_internalformat 1
+#endif
+
+/* GL_OES_rgb8_rgba8 */
+#ifndef GL_OES_rgb8_rgba8
+#define GL_OES_rgb8_rgba8 1
+#endif
+
+/* GL_OES_standard_derivatives */
+#ifndef GL_OES_standard_derivatives
+#define GL_OES_standard_derivatives 1
+#endif
+
+/* GL_OES_stencil1 */
+#ifndef GL_OES_stencil1
+#define GL_OES_stencil1 1
+#endif
+
+/* GL_OES_stencil4 */
+#ifndef GL_OES_stencil4
+#define GL_OES_stencil4 1
+#endif
+
+#ifndef GL_OES_surfaceless_context
+#define GL_OES_surfaceless_context 1
+#endif
+
+/* GL_OES_texture_3D */
+#ifndef GL_OES_texture_3D
+#define GL_OES_texture_3D 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+#endif
+typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
+typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
+typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
+typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
+typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+#endif
+
+/* GL_OES_texture_float */
+#ifndef GL_OES_texture_float
+#define GL_OES_texture_float 1
+#endif
+
+/* GL_OES_texture_float_linear */
+#ifndef GL_OES_texture_float_linear
+#define GL_OES_texture_float_linear 1
+#endif
+
+/* GL_OES_texture_half_float */
+#ifndef GL_OES_texture_half_float
+#define GL_OES_texture_half_float 1
+#endif
+
+/* GL_OES_texture_half_float_linear */
+#ifndef GL_OES_texture_half_float_linear
+#define GL_OES_texture_half_float_linear 1
+#endif
+
+/* GL_OES_texture_npot */
+#ifndef GL_OES_texture_npot
+#define GL_OES_texture_npot 1
+#endif
+
+/* GL_OES_vertex_array_object */
+#ifndef GL_OES_vertex_array_object
+#define GL_OES_vertex_array_object 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
+GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
+GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
+GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
+#endif
+typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
+typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
+typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
+typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
+#endif
+
+/* GL_OES_vertex_half_float */
+#ifndef GL_OES_vertex_half_float
+#define GL_OES_vertex_half_float 1
+#endif
+
+/* GL_OES_vertex_type_10_10_10_2 */
+#ifndef GL_OES_vertex_type_10_10_10_2
+#define GL_OES_vertex_type_10_10_10_2 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * KHR extension functions
+ *------------------------------------------------------------------------*/
+
+#ifndef GL_KHR_debug
+#define GL_KHR_debug 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
+GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
+GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
+GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, GLvoid **params);
+#endif
+typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
+typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
+typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, GLvoid **params);
+#endif
+
+#ifndef GL_KHR_texture_compression_astc_ldr
+#define GL_KHR_texture_compression_astc_ldr 1
+#endif
+
+
+/*------------------------------------------------------------------------*
+ * AMD extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_AMD_compressed_3DC_texture */
+#ifndef GL_AMD_compressed_3DC_texture
+#define GL_AMD_compressed_3DC_texture 1
+#endif
+
+/* GL_AMD_compressed_ATC_texture */
+#ifndef GL_AMD_compressed_ATC_texture
+#define GL_AMD_compressed_ATC_texture 1
+#endif
+
+/* AMD_performance_monitor */
+#ifndef GL_AMD_performance_monitor
+#define GL_AMD_performance_monitor 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
+GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
+GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
+GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
+typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
+typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#endif
+
+/* GL_AMD_program_binary_Z400 */
+#ifndef GL_AMD_program_binary_Z400
+#define GL_AMD_program_binary_Z400 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * ANGLE extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_ANGLE_depth_texture */
+#ifndef GL_ANGLE_depth_texture
+#define GL_ANGLE_depth_texture 1
+#endif
+
+/* GL_ANGLE_framebuffer_blit */
+#ifndef GL_ANGLE_framebuffer_blit
+#define GL_ANGLE_framebuffer_blit 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+
+/* GL_ANGLE_framebuffer_multisample */
+#ifndef GL_ANGLE_framebuffer_multisample
+#define GL_ANGLE_framebuffer_multisample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+
+#ifndef GL_ANGLE_instanced_arrays
+#define GL_ANGLE_instanced_arrays 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
+#endif
+
+/* GL_ANGLE_pack_reverse_row_order */
+#ifndef GL_ANGLE_pack_reverse_row_order
+#define GL_ANGLE_pack_reverse_row_order 1
+#endif
+
+/* GL_ANGLE_program_binary */
+#ifndef GL_ANGLE_program_binary
+#define GL_ANGLE_program_binary 1
+#endif
+
+/* GL_ANGLE_texture_compression_dxt3 */
+#ifndef GL_ANGLE_texture_compression_dxt3
+#define GL_ANGLE_texture_compression_dxt3 1
+#endif
+
+/* GL_ANGLE_texture_compression_dxt5 */
+#ifndef GL_ANGLE_texture_compression_dxt5
+#define GL_ANGLE_texture_compression_dxt5 1
+#endif
+
+/* GL_ANGLE_texture_usage */
+#ifndef GL_ANGLE_texture_usage
+#define GL_ANGLE_texture_usage 1
+#endif
+
+#ifndef GL_ANGLE_translated_shader_source
+#define GL_ANGLE_translated_shader_source 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
+#endif
+
+/*------------------------------------------------------------------------*
+ * APPLE extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_APPLE_copy_texture_levels */
+#ifndef GL_APPLE_copy_texture_levels
+#define GL_APPLE_copy_texture_levels 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
+#endif
+typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
+#endif
+
+/* GL_APPLE_framebuffer_multisample */
+#ifndef GL_APPLE_framebuffer_multisample
+#define GL_APPLE_framebuffer_multisample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
+#endif /* GL_GLEXT_PROTOTYPES */
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
+#endif
+
+/* GL_APPLE_rgb_422 */
+#ifndef GL_APPLE_rgb_422
+#define GL_APPLE_rgb_422 1
+#endif
+
+/* GL_APPLE_sync */
+#ifndef GL_APPLE_sync
+#define GL_APPLE_sync 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
+GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
+GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
+GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
+GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+#endif
+typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
+typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
+typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
+typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
+typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+#endif
+
+/* GL_APPLE_texture_format_BGRA8888 */
+#ifndef GL_APPLE_texture_format_BGRA8888
+#define GL_APPLE_texture_format_BGRA8888 1
+#endif
+
+/* GL_APPLE_texture_max_level */
+#ifndef GL_APPLE_texture_max_level
+#define GL_APPLE_texture_max_level 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * ARM extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_ARM_mali_program_binary */
+#ifndef GL_ARM_mali_program_binary
+#define GL_ARM_mali_program_binary 1
+#endif
+
+/* GL_ARM_mali_shader_binary */
+#ifndef GL_ARM_mali_shader_binary
+#define GL_ARM_mali_shader_binary 1
+#endif
+
+/* GL_ARM_rgba8 */
+#ifndef GL_ARM_rgba8
+#define GL_ARM_rgba8 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * EXT extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_EXT_blend_minmax */
+#ifndef GL_EXT_blend_minmax
+#define GL_EXT_blend_minmax 1
+#endif
+
+/* GL_EXT_color_buffer_half_float */
+#ifndef GL_EXT_color_buffer_half_float
+#define GL_EXT_color_buffer_half_float 1
+#endif
+
+/* GL_EXT_debug_label */
+#ifndef GL_EXT_debug_label
+#define GL_EXT_debug_label 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+
+/* GL_EXT_debug_marker */
+#ifndef GL_EXT_debug_marker
+#define GL_EXT_debug_marker 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
+GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
+GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
+#endif
+typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
+#endif
+
+/* GL_EXT_discard_framebuffer */
+#ifndef GL_EXT_discard_framebuffer
+#define GL_EXT_discard_framebuffer 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+#endif
+typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+#endif
+
+#ifndef GL_EXT_disjoint_timer_query
+#define GL_EXT_disjoint_timer_query 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
+GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
+GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
+GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
+GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
+GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
+GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
+#endif
+typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
+typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
+typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
+typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
+typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
+typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
+#endif /* GL_EXT_disjoint_timer_query */
+
+#ifndef GL_EXT_draw_buffers
+#define GL_EXT_draw_buffers 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
+#endif /* GL_EXT_draw_buffers */
+
+/* GL_EXT_map_buffer_range */
+#ifndef GL_EXT_map_buffer_range
+#define GL_EXT_map_buffer_range 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void* GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
+#endif
+typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
+#endif
+
+/* GL_EXT_multisampled_render_to_texture */
+#ifndef GL_EXT_multisampled_render_to_texture
+#define GL_EXT_multisampled_render_to_texture 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);             
+GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+
+/* GL_EXT_multiview_draw_buffers */
+#ifndef GL_EXT_multiview_draw_buffers
+#define GL_EXT_multiview_draw_buffers 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
+GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
+GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
+#endif
+typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
+typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
+typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
+#endif
+
+#ifndef GL_EXT_multi_draw_arrays
+#define GL_EXT_multi_draw_arrays 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
+#endif /* GL_GLEXT_PROTOTYPES */
+typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
+#endif
+
+/* GL_EXT_occlusion_query_boolean */
+#ifndef GL_EXT_occlusion_query_boolean
+#define GL_EXT_occlusion_query_boolean 1
+/* All entry points also exist in GL_EXT_disjoint_timer_query */
+#endif
+
+/* GL_EXT_read_format_bgra */
+#ifndef GL_EXT_read_format_bgra
+#define GL_EXT_read_format_bgra 1
+#endif
+
+/* GL_EXT_robustness */
+#ifndef GL_EXT_robustness
+#define GL_EXT_robustness 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
+GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
+GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+#endif
+typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
+typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
+typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+#endif
+
+/* GL_EXT_separate_shader_objects */
+#ifndef GL_EXT_separate_shader_objects
+#define GL_EXT_separate_shader_objects 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
+GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
+GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
+GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
+GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
+GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
+GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
+GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
+GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint x);
+GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint x, GLint y);
+GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z);
+GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
+GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat x);
+GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat x, GLfloat y);
+GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
+GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
+GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+#endif
+typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
+typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
+typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
+typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
+typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
+typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
+typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
+typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
+typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint x);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint x, GLint y);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat x);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
+typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+#endif
+
+/* GL_EXT_shader_framebuffer_fetch */
+#ifndef GL_EXT_shader_framebuffer_fetch
+#define GL_EXT_shader_framebuffer_fetch 1
+#endif
+
+/* GL_EXT_shader_texture_lod */
+#ifndef GL_EXT_shader_texture_lod
+#define GL_EXT_shader_texture_lod 1
+#endif
+
+/* GL_EXT_shadow_samplers */
+#ifndef GL_EXT_shadow_samplers
+#define GL_EXT_shadow_samplers 1
+#endif
+
+/* GL_EXT_sRGB */
+#ifndef GL_EXT_sRGB
+#define GL_EXT_sRGB 1
+#endif
+
+/* GL_EXT_texture_compression_dxt1 */
+#ifndef GL_EXT_texture_compression_dxt1
+#define GL_EXT_texture_compression_dxt1 1
+#endif
+
+/* GL_EXT_texture_filter_anisotropic */
+#ifndef GL_EXT_texture_filter_anisotropic
+#define GL_EXT_texture_filter_anisotropic 1
+#endif
+
+/* GL_EXT_texture_format_BGRA8888 */
+#ifndef GL_EXT_texture_format_BGRA8888
+#define GL_EXT_texture_format_BGRA8888 1
+#endif
+
+/* GL_EXT_texture_rg */
+#ifndef GL_EXT_texture_rg
+#define GL_EXT_texture_rg 1
+#endif
+
+/* GL_EXT_texture_storage */
+#ifndef GL_EXT_texture_storage
+#define GL_EXT_texture_storage 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+#endif
+typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+#endif
+
+/* GL_EXT_texture_type_2_10_10_10_REV */
+#ifndef GL_EXT_texture_type_2_10_10_10_REV
+#define GL_EXT_texture_type_2_10_10_10_REV 1
+#endif
+
+/* GL_EXT_unpack_subimage */
+#ifndef GL_EXT_unpack_subimage
+#define GL_EXT_unpack_subimage 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * DMP extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_DMP_shader_binary */
+#ifndef GL_DMP_shader_binary
+#define GL_DMP_shader_binary 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * FJ extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_FJ_shader_binary_GCCSO */
+#ifndef GL_FJ_shader_binary_GCCSO
+#define GL_FJ_shader_binary_GCCSO 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * IMG extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_IMG_program_binary */
+#ifndef GL_IMG_program_binary
+#define GL_IMG_program_binary 1
+#endif
+
+/* GL_IMG_read_format */
+#ifndef GL_IMG_read_format
+#define GL_IMG_read_format 1
+#endif
+
+/* GL_IMG_shader_binary */
+#ifndef GL_IMG_shader_binary
+#define GL_IMG_shader_binary 1
+#endif
+
+/* GL_IMG_texture_compression_pvrtc */
+#ifndef GL_IMG_texture_compression_pvrtc
+#define GL_IMG_texture_compression_pvrtc 1
+#endif
+
+/* GL_IMG_texture_compression_pvrtc2 */
+#ifndef GL_IMG_texture_compression_pvrtc2
+#define GL_IMG_texture_compression_pvrtc2 1
+#endif
+
+/* GL_IMG_multisampled_render_to_texture */
+#ifndef GL_IMG_multisampled_render_to_texture
+#define GL_IMG_multisampled_render_to_texture 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+
+/*------------------------------------------------------------------------*
+ * NV extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_NV_coverage_sample */
+#ifndef GL_NV_coverage_sample
+#define GL_NV_coverage_sample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
+GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
+#endif
+typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
+typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
+#endif
+
+/* GL_NV_depth_nonlinear */
+#ifndef GL_NV_depth_nonlinear
+#define GL_NV_depth_nonlinear 1
+#endif
+
+/* GL_NV_draw_buffers */
+#ifndef GL_NV_draw_buffers
+#define GL_NV_draw_buffers 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
+#endif
+
+/* GL_NV_draw_instanced */
+#ifndef GL_NV_draw_instanced
+#define GL_NV_draw_instanced 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
+#endif
+
+/* GL_NV_fbo_color_attachments */
+#ifndef GL_NV_fbo_color_attachments
+#define GL_NV_fbo_color_attachments 1
+#endif
+
+/* GL_NV_fence */
+#ifndef GL_NV_fence
+#define GL_NV_fence 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
+GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
+GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
+GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
+GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
+GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
+#endif
+typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
+typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
+typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
+typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
+typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
+typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
+#endif
+
+/* GL_NV_framebuffer_blit */
+#ifndef GL_NV_framebuffer_blit
+#define GL_NV_framebuffer_blit 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+
+/* GL_NV_framebuffer_multisample */
+#ifndef GL_NV_framebuffer_multisample
+#define GL_NV_framebuffer_multisample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+
+/* GL_NV_generate_mipmap_sRGB */
+#ifndef GL_NV_generate_mipmap_sRGB
+#define GL_NV_generate_mipmap_sRGB 1
+#endif
+
+/* GL_NV_instanced_arrays */
+#ifndef GL_NV_instanced_arrays
+#define GL_NV_instanced_arrays 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
+#endif
+typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
+#endif
+
+/* GL_NV_read_buffer */
+#ifndef GL_NV_read_buffer
+#define GL_NV_read_buffer 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
+#endif
+typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
+#endif
+
+/* GL_NV_read_buffer_front */
+#ifndef GL_NV_read_buffer_front
+#define GL_NV_read_buffer_front 1
+#endif
+
+/* GL_NV_read_depth */
+#ifndef GL_NV_read_depth
+#define GL_NV_read_depth 1
+#endif
+
+/* GL_NV_read_depth_stencil */
+#ifndef GL_NV_read_depth_stencil
+#define GL_NV_read_depth_stencil 1
+#endif
+
+/* GL_NV_read_stencil */
+#ifndef GL_NV_read_stencil
+#define GL_NV_read_stencil 1
+#endif
+
+/* GL_NV_shadow_samplers_array */
+#ifndef GL_NV_shadow_samplers_array
+#define GL_NV_shadow_samplers_array 1
+#endif
+
+/* GL_NV_shadow_samplers_cube */
+#ifndef GL_NV_shadow_samplers_cube
+#define GL_NV_shadow_samplers_cube 1
+#endif
+
+/* GL_NV_sRGB_formats */
+#ifndef GL_NV_sRGB_formats
+#define GL_NV_sRGB_formats 1
+#endif
+
+/* GL_NV_texture_border_clamp */
+#ifndef GL_NV_texture_border_clamp
+#define GL_NV_texture_border_clamp 1
+#endif
+
+/* GL_NV_texture_compression_s3tc_update */
+#ifndef GL_NV_texture_compression_s3tc_update
+#define GL_NV_texture_compression_s3tc_update 1
+#endif
+
+/* GL_NV_texture_npot_2D_mipmap */
+#ifndef GL_NV_texture_npot_2D_mipmap
+#define GL_NV_texture_npot_2D_mipmap 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * QCOM extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_QCOM_alpha_test */
+#ifndef GL_QCOM_alpha_test
+#define GL_QCOM_alpha_test 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
+#endif
+typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
+#endif
+
+/* GL_QCOM_binning_control */
+#ifndef GL_QCOM_binning_control
+#define GL_QCOM_binning_control 1
+#endif
+
+/* GL_QCOM_driver_control */
+#ifndef GL_QCOM_driver_control
+#define GL_QCOM_driver_control 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
+GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
+GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
+GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
+typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
+typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
+typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
+#endif
+
+/* GL_QCOM_extended_get */
+#ifndef GL_QCOM_extended_get
+#define GL_QCOM_extended_get 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
+GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
+GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
+GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
+GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
+GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
+GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params);
+#endif
+typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
+typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
+typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
+typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
+typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
+typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params);
+#endif
+
+/* GL_QCOM_extended_get2 */
+#ifndef GL_QCOM_extended_get2
+#define GL_QCOM_extended_get2 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
+GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
+GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
+GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
+#endif
+typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
+typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
+typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
+typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
+#endif
+
+/* GL_QCOM_perfmon_global_mode */
+#ifndef GL_QCOM_perfmon_global_mode
+#define GL_QCOM_perfmon_global_mode 1
+#endif
+
+/* GL_QCOM_writeonly_rendering */
+#ifndef GL_QCOM_writeonly_rendering
+#define GL_QCOM_writeonly_rendering 1
+#endif
+
+/* GL_QCOM_tiled_rendering */
+#ifndef GL_QCOM_tiled_rendering
+#define GL_QCOM_tiled_rendering 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
+GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
+#endif
+typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
+typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
+#endif
+
+/*------------------------------------------------------------------------*
+ * VIV extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_VIV_shader_binary */
+#ifndef GL_VIV_shader_binary
+#define GL_VIV_shader_binary 1
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gl2ext_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h
@@ -1,0 +1,30 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/* Platform-specific types and definitions for OpenGL ES 2.X  gl2.h
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * You are encouraged to submit all modifications to the Khronos group so that
+ * they can be included in future versions of this file.  Please submit changes
+ * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+ * by filing a bug against product "OpenGL-ES" component "Registry".
+ */
+
+/*#include <KHR/khrplatform.h>*/
+
+#ifndef GL_APICALL
+#define GL_APICALL  KHRONOS_APICALL
+#endif
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __gl2platform_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h
@@ -1,0 +1,282 @@
+#ifndef __khrplatform_h_
+#define __khrplatform_h_
+
+/*
+** Copyright (c) 2008-2009 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.
+*/
+
+/* Khronos platform-specific types and definitions.
+ *
+ * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $
+ *
+ * Adopters may modify this file to suit their platform. Adopters are
+ * encouraged to submit platform specific modifications to the Khronos
+ * group so that they can be included in future versions of this file.
+ * Please submit changes by sending them to the public Khronos Bugzilla
+ * (http://khronos.org/bugzilla) by filing a bug against product
+ * "Khronos (general)" component "Registry".
+ *
+ * A predefined template which fills in some of the bug fields can be
+ * reached using http://tinyurl.com/khrplatform-h-bugreport, but you
+ * must create a Bugzilla login first.
+ *
+ *
+ * See the Implementer's Guidelines for information about where this file
+ * should be located on your system and for more details of its use:
+ *    http://www.khronos.org/registry/implementers_guide.pdf
+ *
+ * This file should be included as
+ *        #include <KHR/khrplatform.h>
+ * by Khronos client API header files that use its types and defines.
+ *
+ * The types in khrplatform.h should only be used to define API-specific types.
+ *
+ * Types defined in khrplatform.h:
+ *    khronos_int8_t              signed   8  bit
+ *    khronos_uint8_t             unsigned 8  bit
+ *    khronos_int16_t             signed   16 bit
+ *    khronos_uint16_t            unsigned 16 bit
+ *    khronos_int32_t             signed   32 bit
+ *    khronos_uint32_t            unsigned 32 bit
+ *    khronos_int64_t             signed   64 bit
+ *    khronos_uint64_t            unsigned 64 bit
+ *    khronos_intptr_t            signed   same number of bits as a pointer
+ *    khronos_uintptr_t           unsigned same number of bits as a pointer
+ *    khronos_ssize_t             signed   size
+ *    khronos_usize_t             unsigned size
+ *    khronos_float_t             signed   32 bit floating point
+ *    khronos_time_ns_t           unsigned 64 bit time in nanoseconds
+ *    khronos_utime_nanoseconds_t unsigned time interval or absolute time in
+ *                                         nanoseconds
+ *    khronos_stime_nanoseconds_t signed time interval in nanoseconds
+ *    khronos_boolean_enum_t      enumerated boolean type. This should
+ *      only be used as a base type when a client API's boolean type is
+ *      an enum. Client APIs which use an integer or other type for
+ *      booleans cannot use this as the base type for their boolean.
+ *
+ * Tokens defined in khrplatform.h:
+ *
+ *    KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
+ *
+ *    KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
+ *    KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
+ *
+ * Calling convention macros defined in this file:
+ *    KHRONOS_APICALL
+ *    KHRONOS_APIENTRY
+ *    KHRONOS_APIATTRIBUTES
+ *
+ * These may be used in function prototypes as:
+ *
+ *      KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
+ *                                  int arg1,
+ *                                  int arg2) KHRONOS_APIATTRIBUTES;
+ */
+
+/*-------------------------------------------------------------------------
+ * Definition of KHRONOS_APICALL
+ *-------------------------------------------------------------------------
+ * This precedes the return type of the function in the function prototype.
+ */
+#if defined(_WIN32) && !defined(__SCITECH_SNAP__)
+#   define KHRONOS_APICALL __declspec(dllimport)
+#elif defined (__SYMBIAN32__)
+#   define KHRONOS_APICALL IMPORT_C
+#else
+#   define KHRONOS_APICALL
+#endif
+
+/*-------------------------------------------------------------------------
+ * Definition of KHRONOS_APIENTRY
+ *-------------------------------------------------------------------------
+ * This follows the return type of the function  and precedes the function
+ * name in the function prototype.
+ */
+#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
+    /* Win32 but not WinCE */
+#   define KHRONOS_APIENTRY __stdcall
+#else
+#   define KHRONOS_APIENTRY
+#endif
+
+/*-------------------------------------------------------------------------
+ * Definition of KHRONOS_APIATTRIBUTES
+ *-------------------------------------------------------------------------
+ * This follows the closing parenthesis of the function prototype arguments.
+ */
+#if defined (__ARMCC_2__)
+#define KHRONOS_APIATTRIBUTES __softfp
+#else
+#define KHRONOS_APIATTRIBUTES
+#endif
+
+/*-------------------------------------------------------------------------
+ * basic type definitions
+ *-----------------------------------------------------------------------*/
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
+
+
+/*
+ * Using <stdint.h>
+ */
+#include <stdint.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(__VMS ) || defined(__sgi)
+
+/*
+ * Using <inttypes.h>
+ */
+#include <inttypes.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
+
+/*
+ * Win32
+ */
+typedef __int32                 khronos_int32_t;
+typedef unsigned __int32        khronos_uint32_t;
+typedef __int64                 khronos_int64_t;
+typedef unsigned __int64        khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(__sun__) || defined(__digital__)
+
+/*
+ * Sun or Digital
+ */
+typedef int                     khronos_int32_t;
+typedef unsigned int            khronos_uint32_t;
+#if defined(__arch64__) || defined(_LP64)
+typedef long int                khronos_int64_t;
+typedef unsigned long int       khronos_uint64_t;
+#else
+typedef long long int           khronos_int64_t;
+typedef unsigned long long int  khronos_uint64_t;
+#endif /* __arch64__ */
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif 0
+
+/*
+ * Hypothetical platform with no float or int64 support
+ */
+typedef int                     khronos_int32_t;
+typedef unsigned int            khronos_uint32_t;
+#define KHRONOS_SUPPORT_INT64   0
+#define KHRONOS_SUPPORT_FLOAT   0
+
+#else
+
+/*
+ * Generic fallback
+ */
+#include <stdint.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#endif
+
+
+/*
+ * Types that are (so far) the same on all platforms
+ */
+typedef signed   char          khronos_int8_t;
+typedef unsigned char          khronos_uint8_t;
+typedef signed   short int     khronos_int16_t;
+typedef unsigned short int     khronos_uint16_t;
+
+/*
+ * Types that differ between LLP64 and LP64 architectures - in LLP64, 
+ * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
+ * to be the only LLP64 architecture in current use.
+ */
+#ifdef _WIN64
+typedef signed   long long int khronos_intptr_t;
+typedef unsigned long long int khronos_uintptr_t;
+typedef signed   long long int khronos_ssize_t;
+typedef unsigned long long int khronos_usize_t;
+#else
+typedef signed   long  int     khronos_intptr_t;
+typedef unsigned long  int     khronos_uintptr_t;
+typedef signed   long  int     khronos_ssize_t;
+typedef unsigned long  int     khronos_usize_t;
+#endif
+
+#if KHRONOS_SUPPORT_FLOAT
+/*
+ * Float type
+ */
+typedef          float         khronos_float_t;
+#endif
+
+#if KHRONOS_SUPPORT_INT64
+/* Time types
+ *
+ * These types can be used to represent a time interval in nanoseconds or
+ * an absolute Unadjusted System Time.  Unadjusted System Time is the number
+ * of nanoseconds since some arbitrary system event (e.g. since the last
+ * time the system booted).  The Unadjusted System Time is an unsigned
+ * 64 bit value that wraps back to 0 every 584 years.  Time intervals
+ * may be either signed or unsigned.
+ */
+typedef khronos_uint64_t       khronos_utime_nanoseconds_t;
+typedef khronos_int64_t        khronos_stime_nanoseconds_t;
+#endif
+
+/*
+ * Dummy value used to pad enum types to 32 bits.
+ */
+#ifndef KHRONOS_MAX_ENUM
+#define KHRONOS_MAX_ENUM 0x7FFFFFFF
+#endif
+
+/*
+ * Enumerated boolean type
+ *
+ * Values other than zero should be considered to be true.  Therefore
+ * comparisons should not be made against KHRONOS_TRUE.
+ */
+typedef enum {
+    KHRONOS_FALSE = 0,
+    KHRONOS_TRUE  = 1,
+    KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
+} khronos_boolean_enum_t;
+
+#endif /* __khrplatform_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h
@@ -1,0 +1,470 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_pixels.h
+ *
+ *  Header for the enumerated pixel format definitions.
+ */
+
+#ifndef SDL_pixels_h_
+#define SDL_pixels_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_endian.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \name Transparency definitions
+ *
+ *  These define alpha as the opacity of a surface.
+ */
+/* @{ */
+#define SDL_ALPHA_OPAQUE 255
+#define SDL_ALPHA_TRANSPARENT 0
+/* @} */
+
+/** Pixel type. */
+enum
+{
+    SDL_PIXELTYPE_UNKNOWN,
+    SDL_PIXELTYPE_INDEX1,
+    SDL_PIXELTYPE_INDEX4,
+    SDL_PIXELTYPE_INDEX8,
+    SDL_PIXELTYPE_PACKED8,
+    SDL_PIXELTYPE_PACKED16,
+    SDL_PIXELTYPE_PACKED32,
+    SDL_PIXELTYPE_ARRAYU8,
+    SDL_PIXELTYPE_ARRAYU16,
+    SDL_PIXELTYPE_ARRAYU32,
+    SDL_PIXELTYPE_ARRAYF16,
+    SDL_PIXELTYPE_ARRAYF32
+};
+
+/** Bitmap pixel order, high bit -> low bit. */
+enum
+{
+    SDL_BITMAPORDER_NONE,
+    SDL_BITMAPORDER_4321,
+    SDL_BITMAPORDER_1234
+};
+
+/** Packed component order, high bit -> low bit. */
+enum
+{
+    SDL_PACKEDORDER_NONE,
+    SDL_PACKEDORDER_XRGB,
+    SDL_PACKEDORDER_RGBX,
+    SDL_PACKEDORDER_ARGB,
+    SDL_PACKEDORDER_RGBA,
+    SDL_PACKEDORDER_XBGR,
+    SDL_PACKEDORDER_BGRX,
+    SDL_PACKEDORDER_ABGR,
+    SDL_PACKEDORDER_BGRA
+};
+
+/** Array component order, low byte -> high byte. */
+/* !!! FIXME: in 2.1, make these not overlap differently with
+   !!! FIXME:  SDL_PACKEDORDER_*, so we can simplify SDL_ISPIXELFORMAT_ALPHA */
+enum
+{
+    SDL_ARRAYORDER_NONE,
+    SDL_ARRAYORDER_RGB,
+    SDL_ARRAYORDER_RGBA,
+    SDL_ARRAYORDER_ARGB,
+    SDL_ARRAYORDER_BGR,
+    SDL_ARRAYORDER_BGRA,
+    SDL_ARRAYORDER_ABGR
+};
+
+/** Packed component layout. */
+enum
+{
+    SDL_PACKEDLAYOUT_NONE,
+    SDL_PACKEDLAYOUT_332,
+    SDL_PACKEDLAYOUT_4444,
+    SDL_PACKEDLAYOUT_1555,
+    SDL_PACKEDLAYOUT_5551,
+    SDL_PACKEDLAYOUT_565,
+    SDL_PACKEDLAYOUT_8888,
+    SDL_PACKEDLAYOUT_2101010,
+    SDL_PACKEDLAYOUT_1010102
+};
+
+#define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D)
+
+#define SDL_DEFINE_PIXELFORMAT(type, order, layout, bits, bytes) \
+    ((1 << 28) | ((type) << 24) | ((order) << 20) | ((layout) << 16) | \
+     ((bits) << 8) | ((bytes) << 0))
+
+#define SDL_PIXELFLAG(X)    (((X) >> 28) & 0x0F)
+#define SDL_PIXELTYPE(X)    (((X) >> 24) & 0x0F)
+#define SDL_PIXELORDER(X)   (((X) >> 20) & 0x0F)
+#define SDL_PIXELLAYOUT(X)  (((X) >> 16) & 0x0F)
+#define SDL_BITSPERPIXEL(X) (((X) >> 8) & 0xFF)
+#define SDL_BYTESPERPIXEL(X) \
+    (SDL_ISPIXELFORMAT_FOURCC(X) ? \
+        ((((X) == SDL_PIXELFORMAT_YUY2) || \
+          ((X) == SDL_PIXELFORMAT_UYVY) || \
+          ((X) == SDL_PIXELFORMAT_YVYU)) ? 2 : 1) : (((X) >> 0) & 0xFF))
+
+#define SDL_ISPIXELFORMAT_INDEXED(format)   \
+    (!SDL_ISPIXELFORMAT_FOURCC(format) && \
+     ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX1) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX4) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX8)))
+
+#define SDL_ISPIXELFORMAT_PACKED(format) \
+    (!SDL_ISPIXELFORMAT_FOURCC(format) && \
+     ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED8) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED16) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED32)))
+
+#define SDL_ISPIXELFORMAT_ARRAY(format) \
+    (!SDL_ISPIXELFORMAT_FOURCC(format) && \
+     ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU8) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU16) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU32) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF16) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF32)))
+
+#define SDL_ISPIXELFORMAT_ALPHA(format)   \
+    ((SDL_ISPIXELFORMAT_PACKED(format) && \
+     ((SDL_PIXELORDER(format) == SDL_PACKEDORDER_ARGB) || \
+      (SDL_PIXELORDER(format) == SDL_PACKEDORDER_RGBA) || \
+      (SDL_PIXELORDER(format) == SDL_PACKEDORDER_ABGR) || \
+      (SDL_PIXELORDER(format) == SDL_PACKEDORDER_BGRA))) || \
+    (SDL_ISPIXELFORMAT_ARRAY(format) && \
+     ((SDL_PIXELORDER(format) == SDL_ARRAYORDER_ARGB) || \
+      (SDL_PIXELORDER(format) == SDL_ARRAYORDER_RGBA) || \
+      (SDL_PIXELORDER(format) == SDL_ARRAYORDER_ABGR) || \
+      (SDL_PIXELORDER(format) == SDL_ARRAYORDER_BGRA))))
+
+/* The flag is set to 1 because 0x1? is not in the printable ASCII range */
+#define SDL_ISPIXELFORMAT_FOURCC(format)    \
+    ((format) && (SDL_PIXELFLAG(format) != 1))
+
+/* Note: If you modify this list, update SDL_GetPixelFormatName() */
+typedef enum
+{
+    SDL_PIXELFORMAT_UNKNOWN,
+    SDL_PIXELFORMAT_INDEX1LSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0,
+                               1, 0),
+    SDL_PIXELFORMAT_INDEX1MSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_1234, 0,
+                               1, 0),
+    SDL_PIXELFORMAT_INDEX4LSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0,
+                               4, 0),
+    SDL_PIXELFORMAT_INDEX4MSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0,
+                               4, 0),
+    SDL_PIXELFORMAT_INDEX8 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
+    SDL_PIXELFORMAT_RGB332 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_332, 8, 1),
+    SDL_PIXELFORMAT_RGB444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_4444, 12, 2),
+    SDL_PIXELFORMAT_RGB555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_1555, 15, 2),
+    SDL_PIXELFORMAT_BGR555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR,
+                               SDL_PACKEDLAYOUT_1555, 15, 2),
+    SDL_PIXELFORMAT_ARGB4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_RGBA4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_ABGR4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_BGRA4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_ARGB1555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_1555, 16, 2),
+    SDL_PIXELFORMAT_RGBA5551 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA,
+                               SDL_PACKEDLAYOUT_5551, 16, 2),
+    SDL_PIXELFORMAT_ABGR1555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR,
+                               SDL_PACKEDLAYOUT_1555, 16, 2),
+    SDL_PIXELFORMAT_BGRA5551 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA,
+                               SDL_PACKEDLAYOUT_5551, 16, 2),
+    SDL_PIXELFORMAT_RGB565 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_565, 16, 2),
+    SDL_PIXELFORMAT_BGR565 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR,
+                               SDL_PACKEDLAYOUT_565, 16, 2),
+    SDL_PIXELFORMAT_RGB24 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_RGB, 0,
+                               24, 3),
+    SDL_PIXELFORMAT_BGR24 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_BGR, 0,
+                               24, 3),
+    SDL_PIXELFORMAT_RGB888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_RGBX8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBX,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_BGR888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XBGR,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_BGRX8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRX,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_ARGB8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_RGBA8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBA,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_ABGR8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ABGR,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_BGRA8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRA,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_ARGB2101010 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_2101010, 32, 4),
+
+    /* Aliases for RGBA byte arrays of color data, for the current platform */
+#if SDL_BYTEORDER == SDL_BIG_ENDIAN
+    SDL_PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_RGBA8888,
+    SDL_PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_ARGB8888,
+    SDL_PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_BGRA8888,
+    SDL_PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_ABGR8888,
+#else
+    SDL_PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_ABGR8888,
+    SDL_PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_BGRA8888,
+    SDL_PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_ARGB8888,
+    SDL_PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_RGBA8888,
+#endif
+
+    SDL_PIXELFORMAT_YV12 =      /**< Planar mode: Y + V + U  (3 planes) */
+        SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'),
+    SDL_PIXELFORMAT_IYUV =      /**< Planar mode: Y + U + V  (3 planes) */
+        SDL_DEFINE_PIXELFOURCC('I', 'Y', 'U', 'V'),
+    SDL_PIXELFORMAT_YUY2 =      /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */
+        SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'),
+    SDL_PIXELFORMAT_UYVY =      /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */
+        SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
+    SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
+        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
+    SDL_PIXELFORMAT_NV12 =      /**< Planar mode: Y + U/V interleaved  (2 planes) */
+        SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'),
+    SDL_PIXELFORMAT_NV21 =      /**< Planar mode: Y + V/U interleaved  (2 planes) */
+        SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1'),
+    SDL_PIXELFORMAT_EXTERNAL_OES =      /**< Android video texture format */
+        SDL_DEFINE_PIXELFOURCC('O', 'E', 'S', ' ')
+} SDL_PixelFormatEnum;
+
+typedef struct SDL_Color
+{
+    Uint8 r;
+    Uint8 g;
+    Uint8 b;
+    Uint8 a;
+} SDL_Color;
+#define SDL_Colour SDL_Color
+
+typedef struct SDL_Palette
+{
+    int ncolors;
+    SDL_Color *colors;
+    Uint32 version;
+    int refcount;
+} SDL_Palette;
+
+/**
+ *  \note Everything in the pixel format structure is read-only.
+ */
+typedef struct SDL_PixelFormat
+{
+    Uint32 format;
+    SDL_Palette *palette;
+    Uint8 BitsPerPixel;
+    Uint8 BytesPerPixel;
+    Uint8 padding[2];
+    Uint32 Rmask;
+    Uint32 Gmask;
+    Uint32 Bmask;
+    Uint32 Amask;
+    Uint8 Rloss;
+    Uint8 Gloss;
+    Uint8 Bloss;
+    Uint8 Aloss;
+    Uint8 Rshift;
+    Uint8 Gshift;
+    Uint8 Bshift;
+    Uint8 Ashift;
+    int refcount;
+    struct SDL_PixelFormat *next;
+} SDL_PixelFormat;
+
+/**
+ * \brief Get the human readable name of a pixel format
+ */
+extern DECLSPEC const char* SDLCALL SDL_GetPixelFormatName(Uint32 format);
+
+/**
+ *  \brief Convert one of the enumerated pixel formats to a bpp and RGBA masks.
+ *
+ *  \return SDL_TRUE, or SDL_FALSE if the conversion wasn't possible.
+ *
+ *  \sa SDL_MasksToPixelFormatEnum()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_PixelFormatEnumToMasks(Uint32 format,
+                                                            int *bpp,
+                                                            Uint32 * Rmask,
+                                                            Uint32 * Gmask,
+                                                            Uint32 * Bmask,
+                                                            Uint32 * Amask);
+
+/**
+ *  \brief Convert a bpp and RGBA masks to an enumerated pixel format.
+ *
+ *  \return The pixel format, or ::SDL_PIXELFORMAT_UNKNOWN if the conversion
+ *          wasn't possible.
+ *
+ *  \sa SDL_PixelFormatEnumToMasks()
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_MasksToPixelFormatEnum(int bpp,
+                                                          Uint32 Rmask,
+                                                          Uint32 Gmask,
+                                                          Uint32 Bmask,
+                                                          Uint32 Amask);
+
+/**
+ *  \brief Create an SDL_PixelFormat structure from a pixel format enum.
+ */
+extern DECLSPEC SDL_PixelFormat * SDLCALL SDL_AllocFormat(Uint32 pixel_format);
+
+/**
+ *  \brief Free an SDL_PixelFormat structure.
+ */
+extern DECLSPEC void SDLCALL SDL_FreeFormat(SDL_PixelFormat *format);
+
+/**
+ *  \brief Create a palette structure with the specified number of color
+ *         entries.
+ *
+ *  \return A new palette, or NULL if there wasn't enough memory.
+ *
+ *  \note The palette entries are initialized to white.
+ *
+ *  \sa SDL_FreePalette()
+ */
+extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors);
+
+/**
+ *  \brief Set the palette for a pixel format structure.
+ */
+extern DECLSPEC int SDLCALL SDL_SetPixelFormatPalette(SDL_PixelFormat * format,
+                                                      SDL_Palette *palette);
+
+/**
+ *  \brief Set a range of colors in a palette.
+ *
+ *  \param palette    The palette to modify.
+ *  \param colors     An array of colors to copy into the palette.
+ *  \param firstcolor The index of the first palette entry to modify.
+ *  \param ncolors    The number of entries to modify.
+ *
+ *  \return 0 on success, or -1 if not all of the colors could be set.
+ */
+extern DECLSPEC int SDLCALL SDL_SetPaletteColors(SDL_Palette * palette,
+                                                 const SDL_Color * colors,
+                                                 int firstcolor, int ncolors);
+
+/**
+ *  \brief Free a palette created with SDL_AllocPalette().
+ *
+ *  \sa SDL_AllocPalette()
+ */
+extern DECLSPEC void SDLCALL SDL_FreePalette(SDL_Palette * palette);
+
+/**
+ *  \brief Maps an RGB triple to an opaque pixel value for a given pixel format.
+ *
+ *  \sa SDL_MapRGBA
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_MapRGB(const SDL_PixelFormat * format,
+                                          Uint8 r, Uint8 g, Uint8 b);
+
+/**
+ *  \brief Maps an RGBA quadruple to a pixel value for a given pixel format.
+ *
+ *  \sa SDL_MapRGB
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_MapRGBA(const SDL_PixelFormat * format,
+                                           Uint8 r, Uint8 g, Uint8 b,
+                                           Uint8 a);
+
+/**
+ *  \brief Get the RGB components from a pixel of the specified format.
+ *
+ *  \sa SDL_GetRGBA
+ */
+extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel,
+                                        const SDL_PixelFormat * format,
+                                        Uint8 * r, Uint8 * g, Uint8 * b);
+
+/**
+ *  \brief Get the RGBA components from a pixel of the specified format.
+ *
+ *  \sa SDL_GetRGB
+ */
+extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel,
+                                         const SDL_PixelFormat * format,
+                                         Uint8 * r, Uint8 * g, Uint8 * b,
+                                         Uint8 * a);
+
+/**
+ *  \brief Calculate a 256 entry gamma ramp for a gamma value.
+ */
+extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_pixels_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h
@@ -1,0 +1,198 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_platform.h
+ *
+ *  Try to get a standard set of platform defines.
+ */
+
+#ifndef SDL_platform_h_
+#define SDL_platform_h_
+
+#if defined(_AIX)
+#undef __AIX__
+#define __AIX__     1
+#endif
+#if defined(__HAIKU__)
+#undef __HAIKU__
+#define __HAIKU__   1
+#endif
+#if defined(bsdi) || defined(__bsdi) || defined(__bsdi__)
+#undef __BSDI__
+#define __BSDI__    1
+#endif
+#if defined(_arch_dreamcast)
+#undef __DREAMCAST__
+#define __DREAMCAST__   1
+#endif
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+#undef __FREEBSD__
+#define __FREEBSD__ 1
+#endif
+#if defined(hpux) || defined(__hpux) || defined(__hpux__)
+#undef __HPUX__
+#define __HPUX__    1
+#endif
+#if defined(sgi) || defined(__sgi) || defined(__sgi__) || defined(_SGI_SOURCE)
+#undef __IRIX__
+#define __IRIX__    1
+#endif
+#if (defined(linux) || defined(__linux) || defined(__linux__))
+#undef __LINUX__
+#define __LINUX__   1
+#endif
+#if defined(ANDROID) || defined(__ANDROID__)
+#undef __ANDROID__
+#undef __LINUX__ /* do we need to do this? */
+#define __ANDROID__ 1
+#endif
+
+#if defined(__APPLE__)
+/* lets us know what version of Mac OS X we're compiling on */
+#include "AvailabilityMacros.h"
+#include "TargetConditionals.h"
+#if TARGET_OS_TV
+#undef __TVOS__
+#define __TVOS__ 1
+#endif
+#if TARGET_OS_IPHONE
+/* if compiling for iOS */
+#undef __IPHONEOS__
+#define __IPHONEOS__ 1
+#undef __MACOSX__
+#else
+/* if not compiling for iOS */
+#undef __MACOSX__
+#define __MACOSX__  1
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+# error SDL for Mac OS X only supports deploying on 10.6 and above.
+#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
+#endif /* TARGET_OS_IPHONE */
+#endif /* defined(__APPLE__) */
+
+#if defined(__NetBSD__)
+#undef __NETBSD__
+#define __NETBSD__  1
+#endif
+#if defined(__OpenBSD__)
+#undef __OPENBSD__
+#define __OPENBSD__ 1
+#endif
+#if defined(__OS2__) || defined(__EMX__)
+#undef __OS2__
+#define __OS2__     1
+#endif
+#if defined(osf) || defined(__osf) || defined(__osf__) || defined(_OSF_SOURCE)
+#undef __OSF__
+#define __OSF__     1
+#endif
+#if defined(__QNXNTO__)
+#undef __QNXNTO__
+#define __QNXNTO__  1
+#endif
+#if defined(riscos) || defined(__riscos) || defined(__riscos__)
+#undef __RISCOS__
+#define __RISCOS__  1
+#endif
+#if defined(__sun) && defined(__SVR4)
+#undef __SOLARIS__
+#define __SOLARIS__ 1
+#endif
+
+#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
+/* Try to find out if we're compiling for WinRT or non-WinRT */
+#if defined(_MSC_VER) && defined(__has_include)
+#if __has_include(<winapifamily.h>)
+#define HAVE_WINAPIFAMILY_H 1
+#else
+#define HAVE_WINAPIFAMILY_H 0
+#endif
+
+/* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */
+#elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */
+#define HAVE_WINAPIFAMILY_H 1
+#else
+#define HAVE_WINAPIFAMILY_H 0
+#endif
+
+#if HAVE_WINAPIFAMILY_H
+#include <winapifamily.h>
+#define WINAPI_FAMILY_WINRT (!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP))
+#else
+#define WINAPI_FAMILY_WINRT 0
+#endif /* HAVE_WINAPIFAMILY_H */
+
+#if WINAPI_FAMILY_WINRT
+#undef __WINRT__
+#define __WINRT__ 1
+#else
+#undef __WINDOWS__
+#define __WINDOWS__ 1
+#endif
+#endif /* defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) */
+
+#if defined(__WINDOWS__)
+#undef __WIN32__
+#define __WIN32__ 1
+#endif
+#if defined(__PSP__)
+#undef __PSP__
+#define __PSP__ 1
+#endif
+
+/* The NACL compiler defines __native_client__ and __pnacl__
+ * Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
+ */
+#if defined(__native_client__)
+#undef __LINUX__
+#undef __NACL__
+#define __NACL__ 1
+#endif
+#if defined(__pnacl__)
+#undef __LINUX__
+#undef __PNACL__
+#define __PNACL__ 1
+/* PNACL with newlib supports static linking only */
+#define __SDL_NOGETPROCADDR__
+#endif
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Gets the name of the platform.
+ */
+extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_platform_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h
@@ -1,0 +1,75 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_power_h_
+#define SDL_power_h_
+
+/**
+ *  \file SDL_power.h
+ *
+ *  Header for the SDL power management routines.
+ */
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief The basic state for the system's power supply.
+ */
+typedef enum
+{
+    SDL_POWERSTATE_UNKNOWN,      /**< cannot determine power status */
+    SDL_POWERSTATE_ON_BATTERY,   /**< Not plugged in, running on the battery */
+    SDL_POWERSTATE_NO_BATTERY,   /**< Plugged in, no battery available */
+    SDL_POWERSTATE_CHARGING,     /**< Plugged in, charging battery */
+    SDL_POWERSTATE_CHARGED       /**< Plugged in, battery charged */
+} SDL_PowerState;
+
+
+/**
+ *  \brief Get the current power supply details.
+ *
+ *  \param secs Seconds of battery life left. You can pass a NULL here if
+ *              you don't care. Will return -1 if we can't determine a
+ *              value, or we're not running on a battery.
+ *
+ *  \param pct Percentage of battery life left, between 0 and 100. You can
+ *             pass a NULL here if you don't care. Will return -1 if we
+ *             can't determine a value, or we're not running on a battery.
+ *
+ *  \return The state of the battery (if any).
+ */
+extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_power_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h
@@ -1,0 +1,58 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_quit.h
+ *
+ *  Include file for SDL quit event handling.
+ */
+
+#ifndef SDL_quit_h_
+#define SDL_quit_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+/**
+ *  \file SDL_quit.h
+ *
+ *  An ::SDL_QUIT event is generated when the user tries to close the application
+ *  window.  If it is ignored or filtered out, the window will remain open.
+ *  If it is not ignored or filtered, it is queued normally and the window
+ *  is allowed to close.  When the window is closed, screen updates will
+ *  complete, but have no effect.
+ *
+ *  SDL_Init() installs signal handlers for SIGINT (keyboard interrupt)
+ *  and SIGTERM (system termination request), if handlers do not already
+ *  exist, that generate ::SDL_QUIT events as well.  There is no way
+ *  to determine the cause of an ::SDL_QUIT event, but setting a signal
+ *  handler in your application will override the default generation of
+ *  quit events for that signal.
+ *
+ *  \sa SDL_Quit()
+ */
+
+/* There are no functions directly affecting the quit event */
+
+#define SDL_QuitRequested() \
+        (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0))
+
+#endif /* SDL_quit_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h
@@ -1,0 +1,174 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_rect.h
+ *
+ *  Header file for SDL_rect definition and management functions.
+ */
+
+#ifndef SDL_rect_h_
+#define SDL_rect_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_pixels.h"
+#include "SDL_rwops.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief  The structure that defines a point (integer)
+ *
+ *  \sa SDL_EnclosePoints
+ *  \sa SDL_PointInRect
+ */
+typedef struct SDL_Point
+{
+    int x;
+    int y;
+} SDL_Point;
+
+/**
+ *  \brief  The structure that defines a point (floating point)
+ *
+ *  \sa SDL_EnclosePoints
+ *  \sa SDL_PointInRect
+ */
+typedef struct SDL_FPoint
+{
+    float x;
+    float y;
+} SDL_FPoint;
+
+
+/**
+ *  \brief A rectangle, with the origin at the upper left (integer).
+ *
+ *  \sa SDL_RectEmpty
+ *  \sa SDL_RectEquals
+ *  \sa SDL_HasIntersection
+ *  \sa SDL_IntersectRect
+ *  \sa SDL_UnionRect
+ *  \sa SDL_EnclosePoints
+ */
+typedef struct SDL_Rect
+{
+    int x, y;
+    int w, h;
+} SDL_Rect;
+
+
+/**
+ *  \brief A rectangle, with the origin at the upper left (floating point).
+ */
+typedef struct SDL_FRect
+{
+    float x;
+    float y;
+    float w;
+    float h;
+} SDL_FRect;
+
+
+/**
+ *  \brief Returns true if point resides inside a rectangle.
+ */
+SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r)
+{
+    return ( (p->x >= r->x) && (p->x < (r->x + r->w)) &&
+             (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE;
+}
+
+/**
+ *  \brief Returns true if the rectangle has no area.
+ */
+SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r)
+{
+    return ((!r) || (r->w <= 0) || (r->h <= 0)) ? SDL_TRUE : SDL_FALSE;
+}
+
+/**
+ *  \brief Returns true if the two rectangles are equal.
+ */
+SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b)
+{
+    return (a && b && (a->x == b->x) && (a->y == b->y) &&
+            (a->w == b->w) && (a->h == b->h)) ? SDL_TRUE : SDL_FALSE;
+}
+
+/**
+ *  \brief Determine whether two rectangles intersect.
+ *
+ *  \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersection(const SDL_Rect * A,
+                                                     const SDL_Rect * B);
+
+/**
+ *  \brief Calculate the intersection of two rectangles.
+ *
+ *  \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A,
+                                                   const SDL_Rect * B,
+                                                   SDL_Rect * result);
+
+/**
+ *  \brief Calculate the union of two rectangles.
+ */
+extern DECLSPEC void SDLCALL SDL_UnionRect(const SDL_Rect * A,
+                                           const SDL_Rect * B,
+                                           SDL_Rect * result);
+
+/**
+ *  \brief Calculate a minimal rectangle enclosing a set of points
+ *
+ *  \return SDL_TRUE if any points were within the clipping rect
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_EnclosePoints(const SDL_Point * points,
+                                                   int count,
+                                                   const SDL_Rect * clip,
+                                                   SDL_Rect * result);
+
+/**
+ *  \brief Calculate the intersection of a rectangle and line segment.
+ *
+ *  \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect *
+                                                          rect, int *X1,
+                                                          int *Y1, int *X2,
+                                                          int *Y2);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_rect_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h
@@ -1,0 +1,1098 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_render.h
+ *
+ *  Header file for SDL 2D rendering functions.
+ *
+ *  This API supports the following features:
+ *      * single pixel points
+ *      * single pixel lines
+ *      * filled rectangles
+ *      * texture images
+ *
+ *  The primitives may be drawn in opaque, blended, or additive modes.
+ *
+ *  The texture images may be drawn in opaque, blended, or additive modes.
+ *  They can have an additional color tint or alpha modulation applied to
+ *  them, and may also be stretched with linear interpolation.
+ *
+ *  This API is designed to accelerate simple 2D operations. You may
+ *  want more functionality such as polygons and particle effects and
+ *  in that case you should use SDL's OpenGL/Direct3D support or one
+ *  of the many good 3D engines.
+ *
+ *  These functions must be called from the main thread.
+ *  See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995
+ */
+
+#ifndef SDL_render_h_
+#define SDL_render_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_rect.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Flags used when creating a rendering context
+ */
+typedef enum
+{
+    SDL_RENDERER_SOFTWARE = 0x00000001,         /**< The renderer is a software fallback */
+    SDL_RENDERER_ACCELERATED = 0x00000002,      /**< The renderer uses hardware
+                                                     acceleration */
+    SDL_RENDERER_PRESENTVSYNC = 0x00000004,     /**< Present is synchronized
+                                                     with the refresh rate */
+    SDL_RENDERER_TARGETTEXTURE = 0x00000008     /**< The renderer supports
+                                                     rendering to texture */
+} SDL_RendererFlags;
+
+/**
+ *  \brief Information on the capabilities of a render driver or context.
+ */
+typedef struct SDL_RendererInfo
+{
+    const char *name;           /**< The name of the renderer */
+    Uint32 flags;               /**< Supported ::SDL_RendererFlags */
+    Uint32 num_texture_formats; /**< The number of available texture formats */
+    Uint32 texture_formats[16]; /**< The available texture formats */
+    int max_texture_width;      /**< The maximum texture width */
+    int max_texture_height;     /**< The maximum texture height */
+} SDL_RendererInfo;
+
+/**
+ *  \brief The access pattern allowed for a texture.
+ */
+typedef enum
+{
+    SDL_TEXTUREACCESS_STATIC,    /**< Changes rarely, not lockable */
+    SDL_TEXTUREACCESS_STREAMING, /**< Changes frequently, lockable */
+    SDL_TEXTUREACCESS_TARGET     /**< Texture can be used as a render target */
+} SDL_TextureAccess;
+
+/**
+ *  \brief The texture channel modulation used in SDL_RenderCopy().
+ */
+typedef enum
+{
+    SDL_TEXTUREMODULATE_NONE = 0x00000000,     /**< No modulation */
+    SDL_TEXTUREMODULATE_COLOR = 0x00000001,    /**< srcC = srcC * color */
+    SDL_TEXTUREMODULATE_ALPHA = 0x00000002     /**< srcA = srcA * alpha */
+} SDL_TextureModulate;
+
+/**
+ *  \brief Flip constants for SDL_RenderCopyEx
+ */
+typedef enum
+{
+    SDL_FLIP_NONE = 0x00000000,     /**< Do not flip */
+    SDL_FLIP_HORIZONTAL = 0x00000001,    /**< flip horizontally */
+    SDL_FLIP_VERTICAL = 0x00000002     /**< flip vertically */
+} SDL_RendererFlip;
+
+/**
+ *  \brief A structure representing rendering state
+ */
+struct SDL_Renderer;
+typedef struct SDL_Renderer SDL_Renderer;
+
+/**
+ *  \brief An efficient driver-specific representation of pixel data
+ */
+struct SDL_Texture;
+typedef struct SDL_Texture SDL_Texture;
+
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the number of 2D rendering drivers available for the current
+ *         display.
+ *
+ *  A render driver is a set of code that handles rendering and texture
+ *  management on a particular display.  Normally there is only one, but
+ *  some drivers may have several available with different capabilities.
+ *
+ *  \sa SDL_GetRenderDriverInfo()
+ *  \sa SDL_CreateRenderer()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumRenderDrivers(void);
+
+/**
+ *  \brief Get information about a specific 2D rendering driver for the current
+ *         display.
+ *
+ *  \param index The index of the driver to query information about.
+ *  \param info  A pointer to an SDL_RendererInfo struct to be filled with
+ *               information on the rendering driver.
+ *
+ *  \return 0 on success, -1 if the index was out of range.
+ *
+ *  \sa SDL_CreateRenderer()
+ */
+extern DECLSPEC int SDLCALL SDL_GetRenderDriverInfo(int index,
+                                                    SDL_RendererInfo * info);
+
+/**
+ *  \brief Create a window and default renderer
+ *
+ *  \param width    The width of the window
+ *  \param height   The height of the window
+ *  \param window_flags The flags used to create the window
+ *  \param window   A pointer filled with the window, or NULL on error
+ *  \param renderer A pointer filled with the renderer, or NULL on error
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_CreateWindowAndRenderer(
+                                int width, int height, Uint32 window_flags,
+                                SDL_Window **window, SDL_Renderer **renderer);
+
+
+/**
+ *  \brief Create a 2D rendering context for a window.
+ *
+ *  \param window The window where rendering is displayed.
+ *  \param index    The index of the rendering driver to initialize, or -1 to
+ *                  initialize the first one supporting the requested flags.
+ *  \param flags    ::SDL_RendererFlags.
+ *
+ *  \return A valid rendering context or NULL if there was an error.
+ *
+ *  \sa SDL_CreateSoftwareRenderer()
+ *  \sa SDL_GetRendererInfo()
+ *  \sa SDL_DestroyRenderer()
+ */
+extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window * window,
+                                               int index, Uint32 flags);
+
+/**
+ *  \brief Create a 2D software rendering context for a surface.
+ *
+ *  \param surface The surface where rendering is done.
+ *
+ *  \return A valid rendering context or NULL if there was an error.
+ *
+ *  \sa SDL_CreateRenderer()
+ *  \sa SDL_DestroyRenderer()
+ */
+extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface * surface);
+
+/**
+ *  \brief Get the renderer associated with a window.
+ */
+extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);
+
+/**
+ *  \brief Get information about a rendering context.
+ */
+extern DECLSPEC int SDLCALL SDL_GetRendererInfo(SDL_Renderer * renderer,
+                                                SDL_RendererInfo * info);
+
+/**
+ *  \brief Get the output size in pixels of a rendering context.
+ */
+extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer,
+                                                      int *w, int *h);
+
+/**
+ *  \brief Create a texture for a rendering context.
+ *
+ *  \param renderer The renderer.
+ *  \param format The format of the texture.
+ *  \param access One of the enumerated values in ::SDL_TextureAccess.
+ *  \param w      The width of the texture in pixels.
+ *  \param h      The height of the texture in pixels.
+ *
+ *  \return The created texture is returned, or NULL if no rendering context was
+ *          active,  the format was unsupported, or the width or height were out
+ *          of range.
+ *
+ *  \note The contents of the texture are not defined at creation.
+ *
+ *  \sa SDL_QueryTexture()
+ *  \sa SDL_UpdateTexture()
+ *  \sa SDL_DestroyTexture()
+ */
+extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer * renderer,
+                                                        Uint32 format,
+                                                        int access, int w,
+                                                        int h);
+
+/**
+ *  \brief Create a texture from an existing surface.
+ *
+ *  \param renderer The renderer.
+ *  \param surface The surface containing pixel data used to fill the texture.
+ *
+ *  \return The created texture is returned, or NULL on error.
+ *
+ *  \note The surface is not modified or freed by this function.
+ *
+ *  \sa SDL_QueryTexture()
+ *  \sa SDL_DestroyTexture()
+ */
+extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Renderer * renderer, SDL_Surface * surface);
+
+/**
+ *  \brief Query the attributes of a texture
+ *
+ *  \param texture A texture to be queried.
+ *  \param format  A pointer filled in with the raw format of the texture.  The
+ *                 actual format may differ, but pixel transfers will use this
+ *                 format.
+ *  \param access  A pointer filled in with the actual access to the texture.
+ *  \param w       A pointer filled in with the width of the texture in pixels.
+ *  \param h       A pointer filled in with the height of the texture in pixels.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ */
+extern DECLSPEC int SDLCALL SDL_QueryTexture(SDL_Texture * texture,
+                                             Uint32 * format, int *access,
+                                             int *w, int *h);
+
+/**
+ *  \brief Set an additional color value used in render copy operations.
+ *
+ *  \param texture The texture to update.
+ *  \param r       The red color value multiplied into copy operations.
+ *  \param g       The green color value multiplied into copy operations.
+ *  \param b       The blue color value multiplied into copy operations.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or color modulation
+ *          is not supported.
+ *
+ *  \sa SDL_GetTextureColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetTextureColorMod(SDL_Texture * texture,
+                                                   Uint8 r, Uint8 g, Uint8 b);
+
+
+/**
+ *  \brief Get the additional color value used in render copy operations.
+ *
+ *  \param texture The texture to query.
+ *  \param r         A pointer filled in with the current red color value.
+ *  \param g         A pointer filled in with the current green color value.
+ *  \param b         A pointer filled in with the current blue color value.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \sa SDL_SetTextureColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetTextureColorMod(SDL_Texture * texture,
+                                                   Uint8 * r, Uint8 * g,
+                                                   Uint8 * b);
+
+/**
+ *  \brief Set an additional alpha value used in render copy operations.
+ *
+ *  \param texture The texture to update.
+ *  \param alpha     The alpha value multiplied into copy operations.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or alpha modulation
+ *          is not supported.
+ *
+ *  \sa SDL_GetTextureAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetTextureAlphaMod(SDL_Texture * texture,
+                                                   Uint8 alpha);
+
+/**
+ *  \brief Get the additional alpha value used in render copy operations.
+ *
+ *  \param texture The texture to query.
+ *  \param alpha     A pointer filled in with the current alpha value.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \sa SDL_SetTextureAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetTextureAlphaMod(SDL_Texture * texture,
+                                                   Uint8 * alpha);
+
+/**
+ *  \brief Set the blend mode used for texture copy operations.
+ *
+ *  \param texture The texture to update.
+ *  \param blendMode ::SDL_BlendMode to use for texture blending.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or the blend mode is
+ *          not supported.
+ *
+ *  \note If the blend mode is not supported, the closest supported mode is
+ *        chosen.
+ *
+ *  \sa SDL_GetTextureBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetTextureBlendMode(SDL_Texture * texture,
+                                                    SDL_BlendMode blendMode);
+
+/**
+ *  \brief Get the blend mode used for texture copy operations.
+ *
+ *  \param texture   The texture to query.
+ *  \param blendMode A pointer filled in with the current blend mode.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \sa SDL_SetTextureBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetTextureBlendMode(SDL_Texture * texture,
+                                                    SDL_BlendMode *blendMode);
+
+/**
+ *  \brief Update the given texture rectangle with new pixel data.
+ *
+ *  \param texture   The texture to update
+ *  \param rect      A pointer to the rectangle of pixels to update, or NULL to
+ *                   update the entire texture.
+ *  \param pixels    The raw pixel data in the format of the texture.
+ *  \param pitch     The number of bytes in a row of pixel data, including padding between lines.
+ *
+ *  The pixel data must be in the format of the texture. The pixel format can be
+ *  queried with SDL_QueryTexture.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \note This is a fairly slow function.
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
+                                              const SDL_Rect * rect,
+                                              const void *pixels, int pitch);
+
+/**
+ *  \brief Update a rectangle within a planar YV12 or IYUV texture with new pixel data.
+ *
+ *  \param texture   The texture to update
+ *  \param rect      A pointer to the rectangle of pixels to update, or NULL to
+ *                   update the entire texture.
+ *  \param Yplane    The raw pixel data for the Y plane.
+ *  \param Ypitch    The number of bytes between rows of pixel data for the Y plane.
+ *  \param Uplane    The raw pixel data for the U plane.
+ *  \param Upitch    The number of bytes between rows of pixel data for the U plane.
+ *  \param Vplane    The raw pixel data for the V plane.
+ *  \param Vpitch    The number of bytes between rows of pixel data for the V plane.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \note You can use SDL_UpdateTexture() as long as your pixel data is
+ *        a contiguous block of Y and U/V planes in the proper order, but
+ *        this function is available if your pixel data is not contiguous.
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateYUVTexture(SDL_Texture * texture,
+                                                 const SDL_Rect * rect,
+                                                 const Uint8 *Yplane, int Ypitch,
+                                                 const Uint8 *Uplane, int Upitch,
+                                                 const Uint8 *Vplane, int Vpitch);
+
+/**
+ *  \brief Lock a portion of the texture for write-only pixel access.
+ *
+ *  \param texture   The texture to lock for access, which was created with
+ *                   ::SDL_TEXTUREACCESS_STREAMING.
+ *  \param rect      A pointer to the rectangle to lock for access. If the rect
+ *                   is NULL, the entire texture will be locked.
+ *  \param pixels    This is filled in with a pointer to the locked pixels,
+ *                   appropriately offset by the locked area.
+ *  \param pitch     This is filled in with the pitch of the locked pixels.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or was not created with ::SDL_TEXTUREACCESS_STREAMING.
+ *
+ *  \sa SDL_UnlockTexture()
+ */
+extern DECLSPEC int SDLCALL SDL_LockTexture(SDL_Texture * texture,
+                                            const SDL_Rect * rect,
+                                            void **pixels, int *pitch);
+
+/**
+ *  \brief Unlock a texture, uploading the changes to video memory, if needed.
+ *
+ *  \sa SDL_LockTexture()
+ */
+extern DECLSPEC void SDLCALL SDL_UnlockTexture(SDL_Texture * texture);
+
+/**
+ * \brief Determines whether a window supports the use of render targets
+ *
+ * \param renderer The renderer that will be checked
+ *
+ * \return SDL_TRUE if supported, SDL_FALSE if not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *renderer);
+
+/**
+ * \brief Set a texture as the current rendering target.
+ *
+ * \param renderer The renderer.
+ * \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target
+ *
+ * \return 0 on success, or -1 on error
+ *
+ *  \sa SDL_GetRenderTarget()
+ */
+extern DECLSPEC int SDLCALL SDL_SetRenderTarget(SDL_Renderer *renderer,
+                                                SDL_Texture *texture);
+
+/**
+ * \brief Get the current render target or NULL for the default render target.
+ *
+ * \return The current render target
+ *
+ *  \sa SDL_SetRenderTarget()
+ */
+extern DECLSPEC SDL_Texture * SDLCALL SDL_GetRenderTarget(SDL_Renderer *renderer);
+
+/**
+ *  \brief Set device independent resolution for rendering
+ *
+ *  \param renderer The renderer for which resolution should be set.
+ *  \param w      The width of the logical resolution
+ *  \param h      The height of the logical resolution
+ *
+ *  This function uses the viewport and scaling functionality to allow a fixed logical
+ *  resolution for rendering, regardless of the actual output resolution.  If the actual
+ *  output resolution doesn't have the same aspect ratio the output rendering will be
+ *  centered within the output display.
+ *
+ *  If the output display is a window, mouse events in the window will be filtered
+ *  and scaled so they seem to arrive within the logical resolution.
+ *
+ *  \note If this function results in scaling or subpixel drawing by the
+ *        rendering backend, it will be handled using the appropriate
+ *        quality hints.
+ *
+ *  \sa SDL_RenderGetLogicalSize()
+ *  \sa SDL_RenderSetScale()
+ *  \sa SDL_RenderSetViewport()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetLogicalSize(SDL_Renderer * renderer, int w, int h);
+
+/**
+ *  \brief Get device independent resolution for rendering
+ *
+ *  \param renderer The renderer from which resolution should be queried.
+ *  \param w      A pointer filled with the width of the logical resolution
+ *  \param h      A pointer filled with the height of the logical resolution
+ *
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetLogicalSize(SDL_Renderer * renderer, int *w, int *h);
+
+/**
+ *  \brief Set whether to force integer scales for resolution-independent rendering
+ *
+ *  \param renderer The renderer for which integer scaling should be set.
+ *  \param enable   Enable or disable integer scaling
+ *
+ *  This function restricts the logical viewport to integer values - that is, when
+ *  a resolution is between two multiples of a logical size, the viewport size is
+ *  rounded down to the lower multiple.
+ *
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetIntegerScale(SDL_Renderer * renderer,
+                                                      SDL_bool enable);
+
+/**
+ *  \brief Get whether integer scales are forced for resolution-independent rendering
+ *
+ *  \param renderer The renderer from which integer scaling should be queried.
+ *
+ *  \sa SDL_RenderSetIntegerScale()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RenderGetIntegerScale(SDL_Renderer * renderer);
+
+/**
+ *  \brief Set the drawing area for rendering on the current target.
+ *
+ *  \param renderer The renderer for which the drawing area should be set.
+ *  \param rect The rectangle representing the drawing area, or NULL to set the viewport to the entire target.
+ *
+ *  The x,y of the viewport rect represents the origin for rendering.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \note If the window associated with the renderer is resized, the viewport is automatically reset.
+ *
+ *  \sa SDL_RenderGetViewport()
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetViewport(SDL_Renderer * renderer,
+                                                  const SDL_Rect * rect);
+
+/**
+ *  \brief Get the drawing area for the current target.
+ *
+ *  \sa SDL_RenderSetViewport()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetViewport(SDL_Renderer * renderer,
+                                                   SDL_Rect * rect);
+
+/**
+ *  \brief Set the clip rectangle for the current target.
+ *
+ *  \param renderer The renderer for which clip rectangle should be set.
+ *  \param rect   A pointer to the rectangle to set as the clip rectangle, or
+ *                NULL to disable clipping.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \sa SDL_RenderGetClipRect()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetClipRect(SDL_Renderer * renderer,
+                                                  const SDL_Rect * rect);
+
+/**
+ *  \brief Get the clip rectangle for the current target.
+ *
+ *  \param renderer The renderer from which clip rectangle should be queried.
+ *  \param rect   A pointer filled in with the current clip rectangle, or
+ *                an empty rectangle if clipping is disabled.
+ *
+ *  \sa SDL_RenderSetClipRect()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetClipRect(SDL_Renderer * renderer,
+                                                   SDL_Rect * rect);
+
+/**
+ *  \brief Get whether clipping is enabled on the given renderer.
+ *
+ *  \param renderer The renderer from which clip state should be queried.
+ *
+ *  \sa SDL_RenderGetClipRect()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RenderIsClipEnabled(SDL_Renderer * renderer);
+
+
+/**
+ *  \brief Set the drawing scale for rendering on the current target.
+ *
+ *  \param renderer The renderer for which the drawing scale should be set.
+ *  \param scaleX The horizontal scaling factor
+ *  \param scaleY The vertical scaling factor
+ *
+ *  The drawing coordinates are scaled by the x/y scaling factors
+ *  before they are used by the renderer.  This allows resolution
+ *  independent drawing with a single coordinate system.
+ *
+ *  \note If this results in scaling or subpixel drawing by the
+ *        rendering backend, it will be handled using the appropriate
+ *        quality hints.  For best results use integer scaling factors.
+ *
+ *  \sa SDL_RenderGetScale()
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetScale(SDL_Renderer * renderer,
+                                               float scaleX, float scaleY);
+
+/**
+ *  \brief Get the drawing scale for the current target.
+ *
+ *  \param renderer The renderer from which drawing scale should be queried.
+ *  \param scaleX A pointer filled in with the horizontal scaling factor
+ *  \param scaleY A pointer filled in with the vertical scaling factor
+ *
+ *  \sa SDL_RenderSetScale()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetScale(SDL_Renderer * renderer,
+                                               float *scaleX, float *scaleY);
+
+/**
+ *  \brief Set the color used for drawing operations (Rect, Line and Clear).
+ *
+ *  \param renderer The renderer for which drawing color should be set.
+ *  \param r The red value used to draw on the rendering target.
+ *  \param g The green value used to draw on the rendering target.
+ *  \param b The blue value used to draw on the rendering target.
+ *  \param a The alpha value used to draw on the rendering target, usually
+ *           ::SDL_ALPHA_OPAQUE (255).
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_SetRenderDrawColor(SDL_Renderer * renderer,
+                                           Uint8 r, Uint8 g, Uint8 b,
+                                           Uint8 a);
+
+/**
+ *  \brief Get the color used for drawing operations (Rect, Line and Clear).
+ *
+ *  \param renderer The renderer from which drawing color should be queried.
+ *  \param r A pointer to the red value used to draw on the rendering target.
+ *  \param g A pointer to the green value used to draw on the rendering target.
+ *  \param b A pointer to the blue value used to draw on the rendering target.
+ *  \param a A pointer to the alpha value used to draw on the rendering target,
+ *           usually ::SDL_ALPHA_OPAQUE (255).
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_GetRenderDrawColor(SDL_Renderer * renderer,
+                                           Uint8 * r, Uint8 * g, Uint8 * b,
+                                           Uint8 * a);
+
+/**
+ *  \brief Set the blend mode used for drawing operations (Fill and Line).
+ *
+ *  \param renderer The renderer for which blend mode should be set.
+ *  \param blendMode ::SDL_BlendMode to use for blending.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \note If the blend mode is not supported, the closest supported mode is
+ *        chosen.
+ *
+ *  \sa SDL_GetRenderDrawBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetRenderDrawBlendMode(SDL_Renderer * renderer,
+                                                       SDL_BlendMode blendMode);
+
+/**
+ *  \brief Get the blend mode used for drawing operations.
+ *
+ *  \param renderer The renderer from which blend mode should be queried.
+ *  \param blendMode A pointer filled in with the current blend mode.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \sa SDL_SetRenderDrawBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer * renderer,
+                                                       SDL_BlendMode *blendMode);
+
+/**
+ *  \brief Clear the current rendering target with the drawing color
+ *
+ *  This function clears the entire rendering target, ignoring the viewport and
+ *  the clip rectangle.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderClear(SDL_Renderer * renderer);
+
+/**
+ *  \brief Draw a point on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a point.
+ *  \param x The x coordinate of the point.
+ *  \param y The y coordinate of the point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPoint(SDL_Renderer * renderer,
+                                                int x, int y);
+
+/**
+ *  \brief Draw multiple points on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple points.
+ *  \param points The points to draw
+ *  \param count The number of points to draw
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPoints(SDL_Renderer * renderer,
+                                                 const SDL_Point * points,
+                                                 int count);
+
+/**
+ *  \brief Draw a line on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a line.
+ *  \param x1 The x coordinate of the start point.
+ *  \param y1 The y coordinate of the start point.
+ *  \param x2 The x coordinate of the end point.
+ *  \param y2 The y coordinate of the end point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLine(SDL_Renderer * renderer,
+                                               int x1, int y1, int x2, int y2);
+
+/**
+ *  \brief Draw a series of connected lines on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple lines.
+ *  \param points The points along the lines
+ *  \param count The number of points, drawing count-1 lines
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLines(SDL_Renderer * renderer,
+                                                const SDL_Point * points,
+                                                int count);
+
+/**
+ *  \brief Draw a rectangle on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRect(SDL_Renderer * renderer,
+                                               const SDL_Rect * rect);
+
+/**
+ *  \brief Draw some number of rectangles on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRects(SDL_Renderer * renderer,
+                                                const SDL_Rect * rects,
+                                                int count);
+
+/**
+ *  \brief Fill a rectangle on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL for the entire
+ *              rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRect(SDL_Renderer * renderer,
+                                               const SDL_Rect * rect);
+
+/**
+ *  \brief Fill some number of rectangles on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRects(SDL_Renderer * renderer,
+                                                const SDL_Rect * rects,
+                                                int count);
+
+/**
+ *  \brief Copy a portion of the texture to the current rendering target.
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopy(SDL_Renderer * renderer,
+                                           SDL_Texture * texture,
+                                           const SDL_Rect * srcrect,
+                                           const SDL_Rect * dstrect);
+
+/**
+ *  \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *  \param angle    An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction
+ *  \param center   A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2).
+ *  \param flip     An SDL_RendererFlip value stating which flipping actions should be performed on the texture
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopyEx(SDL_Renderer * renderer,
+                                           SDL_Texture * texture,
+                                           const SDL_Rect * srcrect,
+                                           const SDL_Rect * dstrect,
+                                           const double angle,
+                                           const SDL_Point *center,
+                                           const SDL_RendererFlip flip);
+
+
+/**
+ *  \brief Draw a point on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a point.
+ *  \param x The x coordinate of the point.
+ *  \param y The y coordinate of the point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPointF(SDL_Renderer * renderer,
+                                                 float x, float y);
+
+/**
+ *  \brief Draw multiple points on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple points.
+ *  \param points The points to draw
+ *  \param count The number of points to draw
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPointsF(SDL_Renderer * renderer,
+                                                  const SDL_FPoint * points,
+                                                  int count);
+
+/**
+ *  \brief Draw a line on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a line.
+ *  \param x1 The x coordinate of the start point.
+ *  \param y1 The y coordinate of the start point.
+ *  \param x2 The x coordinate of the end point.
+ *  \param y2 The y coordinate of the end point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLineF(SDL_Renderer * renderer,
+                                                float x1, float y1, float x2, float y2);
+
+/**
+ *  \brief Draw a series of connected lines on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple lines.
+ *  \param points The points along the lines
+ *  \param count The number of points, drawing count-1 lines
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLinesF(SDL_Renderer * renderer,
+                                                const SDL_FPoint * points,
+                                                int count);
+
+/**
+ *  \brief Draw a rectangle on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRectF(SDL_Renderer * renderer,
+                                               const SDL_FRect * rect);
+
+/**
+ *  \brief Draw some number of rectangles on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRectsF(SDL_Renderer * renderer,
+                                                 const SDL_FRect * rects,
+                                                 int count);
+
+/**
+ *  \brief Fill a rectangle on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL for the entire
+ *              rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRectF(SDL_Renderer * renderer,
+                                                const SDL_FRect * rect);
+
+/**
+ *  \brief Fill some number of rectangles on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRectsF(SDL_Renderer * renderer,
+                                                 const SDL_FRect * rects,
+                                                 int count);
+
+/**
+ *  \brief Copy a portion of the texture to the current rendering target.
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopyF(SDL_Renderer * renderer,
+                                            SDL_Texture * texture,
+                                            const SDL_Rect * srcrect,
+                                            const SDL_FRect * dstrect);
+
+/**
+ *  \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *  \param angle    An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction
+ *  \param center   A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2).
+ *  \param flip     An SDL_RendererFlip value stating which flipping actions should be performed on the texture
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopyExF(SDL_Renderer * renderer,
+                                            SDL_Texture * texture,
+                                            const SDL_Rect * srcrect,
+                                            const SDL_FRect * dstrect,
+                                            const double angle,
+                                            const SDL_FPoint *center,
+                                            const SDL_RendererFlip flip);
+
+/**
+ *  \brief Read pixels from the current rendering target.
+ *
+ *  \param renderer The renderer from which pixels should be read.
+ *  \param rect   A pointer to the rectangle to read, or NULL for the entire
+ *                render target.
+ *  \param format The desired format of the pixel data, or 0 to use the format
+ *                of the rendering target
+ *  \param pixels A pointer to be filled in with the pixel data
+ *  \param pitch  The pitch of the pixels parameter.
+ *
+ *  \return 0 on success, or -1 if pixel reading is not supported.
+ *
+ *  \warning This is a very slow operation, and should not be used frequently.
+ */
+extern DECLSPEC int SDLCALL SDL_RenderReadPixels(SDL_Renderer * renderer,
+                                                 const SDL_Rect * rect,
+                                                 Uint32 format,
+                                                 void *pixels, int pitch);
+
+/**
+ *  \brief Update the screen with rendering performed.
+ */
+extern DECLSPEC void SDLCALL SDL_RenderPresent(SDL_Renderer * renderer);
+
+/**
+ *  \brief Destroy the specified texture.
+ *
+ *  \sa SDL_CreateTexture()
+ *  \sa SDL_CreateTextureFromSurface()
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture * texture);
+
+/**
+ *  \brief Destroy the rendering context for a window and free associated
+ *         textures.
+ *
+ *  \sa SDL_CreateRenderer()
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyRenderer(SDL_Renderer * renderer);
+
+/**
+ *  \brief Force the rendering context to flush any pending commands to the
+ *         underlying rendering API.
+ *
+ *  You do not need to (and in fact, shouldn't) call this function unless
+ *  you are planning to call into OpenGL/Direct3D/Metal/whatever directly
+ *  in addition to using an SDL_Renderer.
+ *
+ *  This is for a very-specific case: if you are using SDL's render API,
+ *  you asked for a specific renderer backend (OpenGL, Direct3D, etc),
+ *  you set SDL_HINT_RENDER_BATCHING to "1", and you plan to make
+ *  OpenGL/D3D/whatever calls in addition to SDL render API calls. If all of
+ *  this applies, you should call SDL_RenderFlush() between calls to SDL's
+ *  render API and the low-level API you're using in cooperation.
+ *
+ *  In all other cases, you can ignore this function. This is only here to
+ *  get maximum performance out of a specific situation. In all other cases,
+ *  SDL will do the right thing, perhaps at a performance loss.
+ *
+ *  This function is first available in SDL 2.0.10, and is not needed in
+ *  2.0.9 and earlier, as earlier versions did not queue rendering commands
+ *  at all, instead flushing them to the OS immediately.
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFlush(SDL_Renderer * renderer);
+
+
+/**
+ *  \brief Bind the texture to the current OpenGL/ES/ES2 context for use with
+ *         OpenGL instructions.
+ *
+ *  \param texture  The SDL texture to bind
+ *  \param texw     A pointer to a float that will be filled with the texture width
+ *  \param texh     A pointer to a float that will be filled with the texture height
+ *
+ *  \return 0 on success, or -1 if the operation is not supported
+ */
+extern DECLSPEC int SDLCALL SDL_GL_BindTexture(SDL_Texture *texture, float *texw, float *texh);
+
+/**
+ *  \brief Unbind a texture from the current OpenGL/ES/ES2 context.
+ *
+ *  \param texture  The SDL texture to unbind
+ *
+ *  \return 0 on success, or -1 if the operation is not supported
+ */
+extern DECLSPEC int SDLCALL SDL_GL_UnbindTexture(SDL_Texture *texture);
+
+/**
+ *  \brief Get the CAMetalLayer associated with the given Metal renderer
+ *
+ *  \param renderer The renderer to query
+ *
+ *  \return CAMetalLayer* on success, or NULL if the renderer isn't a Metal renderer
+ *
+ *  \sa SDL_RenderGetMetalCommandEncoder()
+ */
+extern DECLSPEC void *SDLCALL SDL_RenderGetMetalLayer(SDL_Renderer * renderer);
+
+/**
+ *  \brief Get the Metal command encoder for the current frame
+ *
+ *  \param renderer The renderer to query
+ *
+ *  \return id<MTLRenderCommandEncoder> on success, or NULL if the renderer isn't a Metal renderer
+ *
+ *  \sa SDL_RenderGetMetalLayer()
+ */
+extern DECLSPEC void *SDLCALL SDL_RenderGetMetalCommandEncoder(SDL_Renderer * renderer);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_render_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h
@@ -1,0 +1,2 @@
+#define SDL_REVISION "hg-12952:bc90ce38f1e2"
+#define SDL_REVISION_NUMBER 12952
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h
@@ -1,0 +1,291 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_rwops.h
+ *
+ *  This file provides a general interface for SDL to read and write
+ *  data streams.  It can easily be extended to files, memory, etc.
+ */
+
+#ifndef SDL_rwops_h_
+#define SDL_rwops_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* RWops Types */
+#define SDL_RWOPS_UNKNOWN   0U  /**< Unknown stream type */
+#define SDL_RWOPS_WINFILE   1U  /**< Win32 file */
+#define SDL_RWOPS_STDFILE   2U  /**< Stdio file */
+#define SDL_RWOPS_JNIFILE   3U  /**< Android asset */
+#define SDL_RWOPS_MEMORY    4U  /**< Memory stream */
+#define SDL_RWOPS_MEMORY_RO 5U  /**< Read-Only memory stream */
+
+/**
+ * This is the read/write operation structure -- very basic.
+ */
+typedef struct SDL_RWops
+{
+    /**
+     *  Return the size of the file in this rwops, or -1 if unknown
+     */
+    Sint64 (SDLCALL * size) (struct SDL_RWops * context);
+
+    /**
+     *  Seek to \c offset relative to \c whence, one of stdio's whence values:
+     *  RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
+     *
+     *  \return the final offset in the data stream, or -1 on error.
+     */
+    Sint64 (SDLCALL * seek) (struct SDL_RWops * context, Sint64 offset,
+                             int whence);
+
+    /**
+     *  Read up to \c maxnum objects each of size \c size from the data
+     *  stream to the area pointed at by \c ptr.
+     *
+     *  \return the number of objects read, or 0 at error or end of file.
+     */
+    size_t (SDLCALL * read) (struct SDL_RWops * context, void *ptr,
+                             size_t size, size_t maxnum);
+
+    /**
+     *  Write exactly \c num objects each of size \c size from the area
+     *  pointed at by \c ptr to data stream.
+     *
+     *  \return the number of objects written, or 0 at error or end of file.
+     */
+    size_t (SDLCALL * write) (struct SDL_RWops * context, const void *ptr,
+                              size_t size, size_t num);
+
+    /**
+     *  Close and free an allocated SDL_RWops structure.
+     *
+     *  \return 0 if successful or -1 on write error when flushing data.
+     */
+    int (SDLCALL * close) (struct SDL_RWops * context);
+
+    Uint32 type;
+    union
+    {
+#if defined(__ANDROID__)
+        struct
+        {
+            void *fileNameRef;
+            void *inputStreamRef;
+            void *readableByteChannelRef;
+            void *readMethod;
+            void *assetFileDescriptorRef;
+            long position;
+            long size;
+            long offset;
+            int fd;
+        } androidio;
+#elif defined(__WIN32__)
+        struct
+        {
+            SDL_bool append;
+            void *h;
+            struct
+            {
+                void *data;
+                size_t size;
+                size_t left;
+            } buffer;
+        } windowsio;
+#endif
+
+#ifdef HAVE_STDIO_H
+        struct
+        {
+            SDL_bool autoclose;
+            FILE *fp;
+        } stdio;
+#endif
+        struct
+        {
+            Uint8 *base;
+            Uint8 *here;
+            Uint8 *stop;
+        } mem;
+        struct
+        {
+            void *data1;
+            void *data2;
+        } unknown;
+    } hidden;
+
+} SDL_RWops;
+
+
+/**
+ *  \name RWFrom functions
+ *
+ *  Functions to create SDL_RWops structures from various data streams.
+ */
+/* @{ */
+
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile(const char *file,
+                                                  const char *mode);
+
+#ifdef HAVE_STDIO_H
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp,
+                                                SDL_bool autoclose);
+#else
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(void * fp,
+                                                SDL_bool autoclose);
+#endif
+
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size);
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem,
+                                                      int size);
+
+/* @} *//* RWFrom functions */
+
+
+extern DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW(void);
+extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops * area);
+
+#define RW_SEEK_SET 0       /**< Seek from the beginning of data */
+#define RW_SEEK_CUR 1       /**< Seek relative to current read point */
+#define RW_SEEK_END 2       /**< Seek relative to the end of data */
+
+/**
+ *  Return the size of the file in this rwops, or -1 if unknown
+ */
+extern DECLSPEC Sint64 SDLCALL SDL_RWsize(SDL_RWops *context);
+
+/**
+ *  Seek to \c offset relative to \c whence, one of stdio's whence values:
+ *  RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
+ *
+ *  \return the final offset in the data stream, or -1 on error.
+ */
+extern DECLSPEC Sint64 SDLCALL SDL_RWseek(SDL_RWops *context,
+                                          Sint64 offset, int whence);
+
+/**
+ *  Return the current offset in the data stream, or -1 on error.
+ */
+extern DECLSPEC Sint64 SDLCALL SDL_RWtell(SDL_RWops *context);
+
+/**
+ *  Read up to \c maxnum objects each of size \c size from the data
+ *  stream to the area pointed at by \c ptr.
+ *
+ *  \return the number of objects read, or 0 at error or end of file.
+ */
+extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context,
+                                          void *ptr, size_t size, size_t maxnum);
+
+/**
+ *  Write exactly \c num objects each of size \c size from the area
+ *  pointed at by \c ptr to data stream.
+ *
+ *  \return the number of objects written, or 0 at error or end of file.
+ */
+extern DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context,
+                                           const void *ptr, size_t size, size_t num);
+
+/**
+ *  Close and free an allocated SDL_RWops structure.
+ *
+ *  \return 0 if successful or -1 on write error when flushing data.
+ */
+extern DECLSPEC int SDLCALL SDL_RWclose(SDL_RWops *context);
+
+/**
+ *  Load all the data from an SDL data stream.
+ *
+ *  The data is allocated with a zero byte at the end (null terminated)
+ *
+ *  If \c datasize is not NULL, it is filled with the size of the data read.
+ *
+ *  If \c freesrc is non-zero, the stream will be closed after being read.
+ *
+ *  The data should be freed with SDL_free().
+ *
+ *  \return the data, or NULL if there was an error.
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadFile_RW(SDL_RWops * src, size_t *datasize,
+                                                    int freesrc);
+
+/**
+ *  Load an entire file.
+ *
+ *  The data is allocated with a zero byte at the end (null terminated)
+ *
+ *  If \c datasize is not NULL, it is filled with the size of the data read.
+ *
+ *  If \c freesrc is non-zero, the stream will be closed after being read.
+ *
+ *  The data should be freed with SDL_free().
+ *
+ *  \return the data, or NULL if there was an error.
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadFile(const char *file, size_t *datasize);
+
+/**
+ *  \name Read endian functions
+ *
+ *  Read an item of the specified endianness and return in native format.
+ */
+/* @{ */
+extern DECLSPEC Uint8 SDLCALL SDL_ReadU8(SDL_RWops * src);
+extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops * src);
+extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops * src);
+extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops * src);
+extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src);
+extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src);
+extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src);
+/* @} *//* Read endian functions */
+
+/**
+ *  \name Write endian functions
+ *
+ *  Write an item of native format to the specified endianness.
+ */
+/* @{ */
+extern DECLSPEC size_t SDLCALL SDL_WriteU8(SDL_RWops * dst, Uint8 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteLE32(SDL_RWops * dst, Uint32 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
+/* @} *//* Write endian functions */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_rwops_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h
@@ -1,0 +1,413 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_scancode.h
+ *
+ *  Defines keyboard scancodes.
+ */
+
+#ifndef SDL_scancode_h_
+#define SDL_scancode_h_
+
+#include "SDL_stdinc.h"
+
+/**
+ *  \brief The SDL keyboard scancode representation.
+ *
+ *  Values of this type are used to represent keyboard keys, among other places
+ *  in the \link SDL_Keysym::scancode key.keysym.scancode \endlink field of the
+ *  SDL_Event structure.
+ *
+ *  The values in this enumeration are based on the USB usage page standard:
+ *  https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf
+ */
+typedef enum
+{
+    SDL_SCANCODE_UNKNOWN = 0,
+
+    /**
+     *  \name Usage page 0x07
+     *
+     *  These values are from usage page 0x07 (USB keyboard page).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_A = 4,
+    SDL_SCANCODE_B = 5,
+    SDL_SCANCODE_C = 6,
+    SDL_SCANCODE_D = 7,
+    SDL_SCANCODE_E = 8,
+    SDL_SCANCODE_F = 9,
+    SDL_SCANCODE_G = 10,
+    SDL_SCANCODE_H = 11,
+    SDL_SCANCODE_I = 12,
+    SDL_SCANCODE_J = 13,
+    SDL_SCANCODE_K = 14,
+    SDL_SCANCODE_L = 15,
+    SDL_SCANCODE_M = 16,
+    SDL_SCANCODE_N = 17,
+    SDL_SCANCODE_O = 18,
+    SDL_SCANCODE_P = 19,
+    SDL_SCANCODE_Q = 20,
+    SDL_SCANCODE_R = 21,
+    SDL_SCANCODE_S = 22,
+    SDL_SCANCODE_T = 23,
+    SDL_SCANCODE_U = 24,
+    SDL_SCANCODE_V = 25,
+    SDL_SCANCODE_W = 26,
+    SDL_SCANCODE_X = 27,
+    SDL_SCANCODE_Y = 28,
+    SDL_SCANCODE_Z = 29,
+
+    SDL_SCANCODE_1 = 30,
+    SDL_SCANCODE_2 = 31,
+    SDL_SCANCODE_3 = 32,
+    SDL_SCANCODE_4 = 33,
+    SDL_SCANCODE_5 = 34,
+    SDL_SCANCODE_6 = 35,
+    SDL_SCANCODE_7 = 36,
+    SDL_SCANCODE_8 = 37,
+    SDL_SCANCODE_9 = 38,
+    SDL_SCANCODE_0 = 39,
+
+    SDL_SCANCODE_RETURN = 40,
+    SDL_SCANCODE_ESCAPE = 41,
+    SDL_SCANCODE_BACKSPACE = 42,
+    SDL_SCANCODE_TAB = 43,
+    SDL_SCANCODE_SPACE = 44,
+
+    SDL_SCANCODE_MINUS = 45,
+    SDL_SCANCODE_EQUALS = 46,
+    SDL_SCANCODE_LEFTBRACKET = 47,
+    SDL_SCANCODE_RIGHTBRACKET = 48,
+    SDL_SCANCODE_BACKSLASH = 49, /**< Located at the lower left of the return
+                                  *   key on ISO keyboards and at the right end
+                                  *   of the QWERTY row on ANSI keyboards.
+                                  *   Produces REVERSE SOLIDUS (backslash) and
+                                  *   VERTICAL LINE in a US layout, REVERSE
+                                  *   SOLIDUS and VERTICAL LINE in a UK Mac
+                                  *   layout, NUMBER SIGN and TILDE in a UK
+                                  *   Windows layout, DOLLAR SIGN and POUND SIGN
+                                  *   in a Swiss German layout, NUMBER SIGN and
+                                  *   APOSTROPHE in a German layout, GRAVE
+                                  *   ACCENT and POUND SIGN in a French Mac
+                                  *   layout, and ASTERISK and MICRO SIGN in a
+                                  *   French Windows layout.
+                                  */
+    SDL_SCANCODE_NONUSHASH = 50, /**< ISO USB keyboards actually use this code
+                                  *   instead of 49 for the same key, but all
+                                  *   OSes I've seen treat the two codes
+                                  *   identically. So, as an implementor, unless
+                                  *   your keyboard generates both of those
+                                  *   codes and your OS treats them differently,
+                                  *   you should generate SDL_SCANCODE_BACKSLASH
+                                  *   instead of this code. As a user, you
+                                  *   should not rely on this code because SDL
+                                  *   will never generate it with most (all?)
+                                  *   keyboards.
+                                  */
+    SDL_SCANCODE_SEMICOLON = 51,
+    SDL_SCANCODE_APOSTROPHE = 52,
+    SDL_SCANCODE_GRAVE = 53, /**< Located in the top left corner (on both ANSI
+                              *   and ISO keyboards). Produces GRAVE ACCENT and
+                              *   TILDE in a US Windows layout and in US and UK
+                              *   Mac layouts on ANSI keyboards, GRAVE ACCENT
+                              *   and NOT SIGN in a UK Windows layout, SECTION
+                              *   SIGN and PLUS-MINUS SIGN in US and UK Mac
+                              *   layouts on ISO keyboards, SECTION SIGN and
+                              *   DEGREE SIGN in a Swiss German layout (Mac:
+                              *   only on ISO keyboards), CIRCUMFLEX ACCENT and
+                              *   DEGREE SIGN in a German layout (Mac: only on
+                              *   ISO keyboards), SUPERSCRIPT TWO and TILDE in a
+                              *   French Windows layout, COMMERCIAL AT and
+                              *   NUMBER SIGN in a French Mac layout on ISO
+                              *   keyboards, and LESS-THAN SIGN and GREATER-THAN
+                              *   SIGN in a Swiss German, German, or French Mac
+                              *   layout on ANSI keyboards.
+                              */
+    SDL_SCANCODE_COMMA = 54,
+    SDL_SCANCODE_PERIOD = 55,
+    SDL_SCANCODE_SLASH = 56,
+
+    SDL_SCANCODE_CAPSLOCK = 57,
+
+    SDL_SCANCODE_F1 = 58,
+    SDL_SCANCODE_F2 = 59,
+    SDL_SCANCODE_F3 = 60,
+    SDL_SCANCODE_F4 = 61,
+    SDL_SCANCODE_F5 = 62,
+    SDL_SCANCODE_F6 = 63,
+    SDL_SCANCODE_F7 = 64,
+    SDL_SCANCODE_F8 = 65,
+    SDL_SCANCODE_F9 = 66,
+    SDL_SCANCODE_F10 = 67,
+    SDL_SCANCODE_F11 = 68,
+    SDL_SCANCODE_F12 = 69,
+
+    SDL_SCANCODE_PRINTSCREEN = 70,
+    SDL_SCANCODE_SCROLLLOCK = 71,
+    SDL_SCANCODE_PAUSE = 72,
+    SDL_SCANCODE_INSERT = 73, /**< insert on PC, help on some Mac keyboards (but
+                                   does send code 73, not 117) */
+    SDL_SCANCODE_HOME = 74,
+    SDL_SCANCODE_PAGEUP = 75,
+    SDL_SCANCODE_DELETE = 76,
+    SDL_SCANCODE_END = 77,
+    SDL_SCANCODE_PAGEDOWN = 78,
+    SDL_SCANCODE_RIGHT = 79,
+    SDL_SCANCODE_LEFT = 80,
+    SDL_SCANCODE_DOWN = 81,
+    SDL_SCANCODE_UP = 82,
+
+    SDL_SCANCODE_NUMLOCKCLEAR = 83, /**< num lock on PC, clear on Mac keyboards
+                                     */
+    SDL_SCANCODE_KP_DIVIDE = 84,
+    SDL_SCANCODE_KP_MULTIPLY = 85,
+    SDL_SCANCODE_KP_MINUS = 86,
+    SDL_SCANCODE_KP_PLUS = 87,
+    SDL_SCANCODE_KP_ENTER = 88,
+    SDL_SCANCODE_KP_1 = 89,
+    SDL_SCANCODE_KP_2 = 90,
+    SDL_SCANCODE_KP_3 = 91,
+    SDL_SCANCODE_KP_4 = 92,
+    SDL_SCANCODE_KP_5 = 93,
+    SDL_SCANCODE_KP_6 = 94,
+    SDL_SCANCODE_KP_7 = 95,
+    SDL_SCANCODE_KP_8 = 96,
+    SDL_SCANCODE_KP_9 = 97,
+    SDL_SCANCODE_KP_0 = 98,
+    SDL_SCANCODE_KP_PERIOD = 99,
+
+    SDL_SCANCODE_NONUSBACKSLASH = 100, /**< This is the additional key that ISO
+                                        *   keyboards have over ANSI ones,
+                                        *   located between left shift and Y.
+                                        *   Produces GRAVE ACCENT and TILDE in a
+                                        *   US or UK Mac layout, REVERSE SOLIDUS
+                                        *   (backslash) and VERTICAL LINE in a
+                                        *   US or UK Windows layout, and
+                                        *   LESS-THAN SIGN and GREATER-THAN SIGN
+                                        *   in a Swiss German, German, or French
+                                        *   layout. */
+    SDL_SCANCODE_APPLICATION = 101, /**< windows contextual menu, compose */
+    SDL_SCANCODE_POWER = 102, /**< The USB document says this is a status flag,
+                               *   not a physical key - but some Mac keyboards
+                               *   do have a power key. */
+    SDL_SCANCODE_KP_EQUALS = 103,
+    SDL_SCANCODE_F13 = 104,
+    SDL_SCANCODE_F14 = 105,
+    SDL_SCANCODE_F15 = 106,
+    SDL_SCANCODE_F16 = 107,
+    SDL_SCANCODE_F17 = 108,
+    SDL_SCANCODE_F18 = 109,
+    SDL_SCANCODE_F19 = 110,
+    SDL_SCANCODE_F20 = 111,
+    SDL_SCANCODE_F21 = 112,
+    SDL_SCANCODE_F22 = 113,
+    SDL_SCANCODE_F23 = 114,
+    SDL_SCANCODE_F24 = 115,
+    SDL_SCANCODE_EXECUTE = 116,
+    SDL_SCANCODE_HELP = 117,
+    SDL_SCANCODE_MENU = 118,
+    SDL_SCANCODE_SELECT = 119,
+    SDL_SCANCODE_STOP = 120,
+    SDL_SCANCODE_AGAIN = 121,   /**< redo */
+    SDL_SCANCODE_UNDO = 122,
+    SDL_SCANCODE_CUT = 123,
+    SDL_SCANCODE_COPY = 124,
+    SDL_SCANCODE_PASTE = 125,
+    SDL_SCANCODE_FIND = 126,
+    SDL_SCANCODE_MUTE = 127,
+    SDL_SCANCODE_VOLUMEUP = 128,
+    SDL_SCANCODE_VOLUMEDOWN = 129,
+/* not sure whether there's a reason to enable these */
+/*     SDL_SCANCODE_LOCKINGCAPSLOCK = 130,  */
+/*     SDL_SCANCODE_LOCKINGNUMLOCK = 131, */
+/*     SDL_SCANCODE_LOCKINGSCROLLLOCK = 132, */
+    SDL_SCANCODE_KP_COMMA = 133,
+    SDL_SCANCODE_KP_EQUALSAS400 = 134,
+
+    SDL_SCANCODE_INTERNATIONAL1 = 135, /**< used on Asian keyboards, see
+                                            footnotes in USB doc */
+    SDL_SCANCODE_INTERNATIONAL2 = 136,
+    SDL_SCANCODE_INTERNATIONAL3 = 137, /**< Yen */
+    SDL_SCANCODE_INTERNATIONAL4 = 138,
+    SDL_SCANCODE_INTERNATIONAL5 = 139,
+    SDL_SCANCODE_INTERNATIONAL6 = 140,
+    SDL_SCANCODE_INTERNATIONAL7 = 141,
+    SDL_SCANCODE_INTERNATIONAL8 = 142,
+    SDL_SCANCODE_INTERNATIONAL9 = 143,
+    SDL_SCANCODE_LANG1 = 144, /**< Hangul/English toggle */
+    SDL_SCANCODE_LANG2 = 145, /**< Hanja conversion */
+    SDL_SCANCODE_LANG3 = 146, /**< Katakana */
+    SDL_SCANCODE_LANG4 = 147, /**< Hiragana */
+    SDL_SCANCODE_LANG5 = 148, /**< Zenkaku/Hankaku */
+    SDL_SCANCODE_LANG6 = 149, /**< reserved */
+    SDL_SCANCODE_LANG7 = 150, /**< reserved */
+    SDL_SCANCODE_LANG8 = 151, /**< reserved */
+    SDL_SCANCODE_LANG9 = 152, /**< reserved */
+
+    SDL_SCANCODE_ALTERASE = 153, /**< Erase-Eaze */
+    SDL_SCANCODE_SYSREQ = 154,
+    SDL_SCANCODE_CANCEL = 155,
+    SDL_SCANCODE_CLEAR = 156,
+    SDL_SCANCODE_PRIOR = 157,
+    SDL_SCANCODE_RETURN2 = 158,
+    SDL_SCANCODE_SEPARATOR = 159,
+    SDL_SCANCODE_OUT = 160,
+    SDL_SCANCODE_OPER = 161,
+    SDL_SCANCODE_CLEARAGAIN = 162,
+    SDL_SCANCODE_CRSEL = 163,
+    SDL_SCANCODE_EXSEL = 164,
+
+    SDL_SCANCODE_KP_00 = 176,
+    SDL_SCANCODE_KP_000 = 177,
+    SDL_SCANCODE_THOUSANDSSEPARATOR = 178,
+    SDL_SCANCODE_DECIMALSEPARATOR = 179,
+    SDL_SCANCODE_CURRENCYUNIT = 180,
+    SDL_SCANCODE_CURRENCYSUBUNIT = 181,
+    SDL_SCANCODE_KP_LEFTPAREN = 182,
+    SDL_SCANCODE_KP_RIGHTPAREN = 183,
+    SDL_SCANCODE_KP_LEFTBRACE = 184,
+    SDL_SCANCODE_KP_RIGHTBRACE = 185,
+    SDL_SCANCODE_KP_TAB = 186,
+    SDL_SCANCODE_KP_BACKSPACE = 187,
+    SDL_SCANCODE_KP_A = 188,
+    SDL_SCANCODE_KP_B = 189,
+    SDL_SCANCODE_KP_C = 190,
+    SDL_SCANCODE_KP_D = 191,
+    SDL_SCANCODE_KP_E = 192,
+    SDL_SCANCODE_KP_F = 193,
+    SDL_SCANCODE_KP_XOR = 194,
+    SDL_SCANCODE_KP_POWER = 195,
+    SDL_SCANCODE_KP_PERCENT = 196,
+    SDL_SCANCODE_KP_LESS = 197,
+    SDL_SCANCODE_KP_GREATER = 198,
+    SDL_SCANCODE_KP_AMPERSAND = 199,
+    SDL_SCANCODE_KP_DBLAMPERSAND = 200,
+    SDL_SCANCODE_KP_VERTICALBAR = 201,
+    SDL_SCANCODE_KP_DBLVERTICALBAR = 202,
+    SDL_SCANCODE_KP_COLON = 203,
+    SDL_SCANCODE_KP_HASH = 204,
+    SDL_SCANCODE_KP_SPACE = 205,
+    SDL_SCANCODE_KP_AT = 206,
+    SDL_SCANCODE_KP_EXCLAM = 207,
+    SDL_SCANCODE_KP_MEMSTORE = 208,
+    SDL_SCANCODE_KP_MEMRECALL = 209,
+    SDL_SCANCODE_KP_MEMCLEAR = 210,
+    SDL_SCANCODE_KP_MEMADD = 211,
+    SDL_SCANCODE_KP_MEMSUBTRACT = 212,
+    SDL_SCANCODE_KP_MEMMULTIPLY = 213,
+    SDL_SCANCODE_KP_MEMDIVIDE = 214,
+    SDL_SCANCODE_KP_PLUSMINUS = 215,
+    SDL_SCANCODE_KP_CLEAR = 216,
+    SDL_SCANCODE_KP_CLEARENTRY = 217,
+    SDL_SCANCODE_KP_BINARY = 218,
+    SDL_SCANCODE_KP_OCTAL = 219,
+    SDL_SCANCODE_KP_DECIMAL = 220,
+    SDL_SCANCODE_KP_HEXADECIMAL = 221,
+
+    SDL_SCANCODE_LCTRL = 224,
+    SDL_SCANCODE_LSHIFT = 225,
+    SDL_SCANCODE_LALT = 226, /**< alt, option */
+    SDL_SCANCODE_LGUI = 227, /**< windows, command (apple), meta */
+    SDL_SCANCODE_RCTRL = 228,
+    SDL_SCANCODE_RSHIFT = 229,
+    SDL_SCANCODE_RALT = 230, /**< alt gr, option */
+    SDL_SCANCODE_RGUI = 231, /**< windows, command (apple), meta */
+
+    SDL_SCANCODE_MODE = 257,    /**< I'm not sure if this is really not covered
+                                 *   by any of the above, but since there's a
+                                 *   special KMOD_MODE for it I'm adding it here
+                                 */
+
+    /* @} *//* Usage page 0x07 */
+
+    /**
+     *  \name Usage page 0x0C
+     *
+     *  These values are mapped from usage page 0x0C (USB consumer page).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_AUDIONEXT = 258,
+    SDL_SCANCODE_AUDIOPREV = 259,
+    SDL_SCANCODE_AUDIOSTOP = 260,
+    SDL_SCANCODE_AUDIOPLAY = 261,
+    SDL_SCANCODE_AUDIOMUTE = 262,
+    SDL_SCANCODE_MEDIASELECT = 263,
+    SDL_SCANCODE_WWW = 264,
+    SDL_SCANCODE_MAIL = 265,
+    SDL_SCANCODE_CALCULATOR = 266,
+    SDL_SCANCODE_COMPUTER = 267,
+    SDL_SCANCODE_AC_SEARCH = 268,
+    SDL_SCANCODE_AC_HOME = 269,
+    SDL_SCANCODE_AC_BACK = 270,
+    SDL_SCANCODE_AC_FORWARD = 271,
+    SDL_SCANCODE_AC_STOP = 272,
+    SDL_SCANCODE_AC_REFRESH = 273,
+    SDL_SCANCODE_AC_BOOKMARKS = 274,
+
+    /* @} *//* Usage page 0x0C */
+
+    /**
+     *  \name Walther keys
+     *
+     *  These are values that Christian Walther added (for mac keyboard?).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_BRIGHTNESSDOWN = 275,
+    SDL_SCANCODE_BRIGHTNESSUP = 276,
+    SDL_SCANCODE_DISPLAYSWITCH = 277, /**< display mirroring/dual display
+                                           switch, video mode switch */
+    SDL_SCANCODE_KBDILLUMTOGGLE = 278,
+    SDL_SCANCODE_KBDILLUMDOWN = 279,
+    SDL_SCANCODE_KBDILLUMUP = 280,
+    SDL_SCANCODE_EJECT = 281,
+    SDL_SCANCODE_SLEEP = 282,
+
+    SDL_SCANCODE_APP1 = 283,
+    SDL_SCANCODE_APP2 = 284,
+
+    /* @} *//* Walther keys */
+
+    /**
+     *  \name Usage page 0x0C (additional media keys)
+     *
+     *  These values are mapped from usage page 0x0C (USB consumer page).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_AUDIOREWIND = 285,
+    SDL_SCANCODE_AUDIOFASTFORWARD = 286,
+
+    /* @} *//* Usage page 0x0C (additional media keys) */
+
+    /* Add any other keys here. */
+
+    SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
+                                 for array bounds */
+} SDL_Scancode;
+
+#endif /* SDL_scancode_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h
@@ -1,0 +1,251 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_sensor.h
+ *
+ *  Include file for SDL sensor event handling
+ *
+ */
+
+#ifndef SDL_sensor_h_
+#define SDL_sensor_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+/* *INDENT-OFF* */
+extern "C" {
+/* *INDENT-ON* */
+#endif
+
+/**
+ *  \brief SDL_sensor.h
+ *
+ *  In order to use these functions, SDL_Init() must have been called
+ *  with the ::SDL_INIT_SENSOR flag.  This causes SDL to scan the system
+ *  for sensors, and load appropriate drivers.
+ */
+
+struct _SDL_Sensor;
+typedef struct _SDL_Sensor SDL_Sensor;
+
+/**
+ * This is a unique ID for a sensor for the time it is connected to the system,
+ * and is never reused for the lifetime of the application.
+ *
+ * The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
+ */
+typedef Sint32 SDL_SensorID;
+
+/* The different sensors defined by SDL
+ *
+ * Additional sensors may be available, using platform dependent semantics.
+ *
+ * Hare are the additional Android sensors:
+ * https://developer.android.com/reference/android/hardware/SensorEvent.html#values
+ */
+typedef enum
+{
+    SDL_SENSOR_INVALID = -1,    /**< Returned for an invalid sensor */
+    SDL_SENSOR_UNKNOWN,         /**< Unknown sensor type */
+    SDL_SENSOR_ACCEL,           /**< Accelerometer */
+    SDL_SENSOR_GYRO             /**< Gyroscope */
+} SDL_SensorType;
+
+/**
+ * Accelerometer sensor
+ *
+ * The accelerometer returns the current acceleration in SI meters per
+ * second squared. This includes gravity, so a device at rest will have
+ * an acceleration of SDL_STANDARD_GRAVITY straight down.
+ *
+ * values[0]: Acceleration on the x axis
+ * values[1]: Acceleration on the y axis
+ * values[2]: Acceleration on the z axis
+ *
+ * For phones held in portrait mode, the axes are defined as follows:
+ * -X ... +X : left ... right
+ * -Y ... +Y : bottom ... top
+ * -Z ... +Z : farther ... closer
+ * 
+ * The axis data is not changed when the phone is rotated.
+ *
+ * \sa SDL_GetDisplayOrientation()
+ */
+#define SDL_STANDARD_GRAVITY    9.80665f
+
+/**
+ * Gyroscope sensor
+ *
+ * The gyroscope returns the current rate of rotation in radians per second.
+ * The rotation is positive in the counter-clockwise direction. That is,
+ * an observer looking from a positive location on one of the axes would
+ * see positive rotation on that axis when it appeared to be rotating
+ * counter-clockwise.
+ *
+ * values[0]: Angular speed around the x axis
+ * values[1]: Angular speed around the y axis
+ * values[2]: Angular speed around the z axis
+ *
+ * For phones held in portrait mode, the axes are defined as follows:
+ * -X ... +X : left ... right
+ * -Y ... +Y : bottom ... top
+ * -Z ... +Z : farther ... closer
+ * 
+ * The axis data is not changed when the phone is rotated.
+ *
+ * \sa SDL_GetDisplayOrientation()
+ */
+
+/* Function prototypes */
+
+/**
+ *  \brief Count the number of sensors attached to the system right now
+ */
+extern DECLSPEC int SDLCALL SDL_NumSensors(void);
+
+/**
+ *  \brief Get the implementation dependent name of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ * 
+ *  \return The sensor name, or NULL if device_index is out of range.
+ */
+extern DECLSPEC const char *SDLCALL SDL_SensorGetDeviceName(int device_index);
+
+/**
+ *  \brief Get the type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor type, or SDL_SENSOR_INVALID if device_index is out of range.
+ */
+extern DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetDeviceType(int device_index);
+
+/**
+ *  \brief Get the platform dependent type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor platform dependent type, or -1 if device_index is out of range.
+ */
+extern DECLSPEC int SDLCALL SDL_SensorGetDeviceNonPortableType(int device_index);
+
+/**
+ *  \brief Get the instance ID of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor instance ID, or -1 if device_index is out of range.
+ */
+extern DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetDeviceInstanceID(int device_index);
+
+/**
+ *  \brief Open a sensor for use.
+ *
+ *  The index passed as an argument refers to the N'th sensor on the system.
+ *
+ *  \return A sensor identifier, or NULL if an error occurred.
+ */
+extern DECLSPEC SDL_Sensor *SDLCALL SDL_SensorOpen(int device_index);
+
+/**
+ * Return the SDL_Sensor associated with an instance id.
+ */
+extern DECLSPEC SDL_Sensor *SDLCALL SDL_SensorFromInstanceID(SDL_SensorID instance_id);
+
+/**
+ *  \brief Get the implementation dependent name of a sensor.
+ *
+ *  \return The sensor name, or NULL if the sensor is NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_SensorGetName(SDL_Sensor *sensor);
+
+/**
+ *  \brief Get the type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor type, or SDL_SENSOR_INVALID if the sensor is NULL.
+ */
+extern DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetType(SDL_Sensor *sensor);
+
+/**
+ *  \brief Get the platform dependent type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor platform dependent type, or -1 if the sensor is NULL.
+ */
+extern DECLSPEC int SDLCALL SDL_SensorGetNonPortableType(SDL_Sensor *sensor);
+
+/**
+ *  \brief Get the instance ID of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor instance ID, or -1 if the sensor is NULL.
+ */
+extern DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetInstanceID(SDL_Sensor *sensor);
+
+/**
+ *  Get the current state of an opened sensor.
+ *
+ *  The number of values and interpretation of the data is sensor dependent.
+ *
+ *  \param sensor The sensor to query
+ *  \param data A pointer filled with the current sensor state
+ *  \param num_values The number of values to write to data
+ *
+ *  \return 0 or -1 if an error occurred.
+ */
+extern DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor * sensor, float *data, int num_values);
+
+/**
+ *  Close a sensor previously opened with SDL_SensorOpen()
+ */
+extern DECLSPEC void SDLCALL SDL_SensorClose(SDL_Sensor * sensor);
+
+/**
+ *  Update the current state of the open sensors.
+ *
+ *  This is called automatically by the event loop if sensor events are enabled.
+ *
+ *  This needs to be called from the thread that initialized the sensor subsystem.
+ */
+extern DECLSPEC void SDLCALL SDL_SensorUpdate(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+/* *INDENT-OFF* */
+}
+/* *INDENT-ON* */
+#endif
+#include "close_code.h"
+
+#endif /* SDL_sensor_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h
@@ -1,0 +1,144 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_shape_h_
+#define SDL_shape_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_pixels.h"
+#include "SDL_rect.h"
+#include "SDL_surface.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** \file SDL_shape.h
+ *
+ * Header file for the shaped window API.
+ */
+
+#define SDL_NONSHAPEABLE_WINDOW -1
+#define SDL_INVALID_SHAPE_ARGUMENT -2
+#define SDL_WINDOW_LACKS_SHAPE -3
+
+/**
+ *  \brief Create a window that can be shaped with the specified position, dimensions, and flags.
+ *
+ *  \param title The title of the window, in UTF-8 encoding.
+ *  \param x     The x position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param y     The y position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param w     The width of the window.
+ *  \param h     The height of the window.
+ *  \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following:
+ *               ::SDL_WINDOW_OPENGL,     ::SDL_WINDOW_INPUT_GRABBED,
+ *               ::SDL_WINDOW_HIDDEN,     ::SDL_WINDOW_RESIZABLE,
+ *               ::SDL_WINDOW_MAXIMIZED,  ::SDL_WINDOW_MINIMIZED,
+ *       ::SDL_WINDOW_BORDERLESS is always set, and ::SDL_WINDOW_FULLSCREEN is always unset.
+ *
+ *  \return The window created, or NULL if window creation failed.
+ *
+ *  \sa SDL_DestroyWindow()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
+
+/**
+ * \brief Return whether the given window is a shaped window.
+ *
+ * \param window The window to query for being shaped.
+ *
+ * \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
+ *
+ * \sa SDL_CreateShapedWindow
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
+
+/** \brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union. */
+typedef enum {
+    /** \brief The default mode, a binarized alpha cutoff of 1. */
+    ShapeModeDefault,
+    /** \brief A binarized alpha cutoff with a given integer value. */
+    ShapeModeBinarizeAlpha,
+    /** \brief A binarized alpha cutoff with a given integer value, but with the opposite comparison. */
+    ShapeModeReverseBinarizeAlpha,
+    /** \brief A color key is applied. */
+    ShapeModeColorKey
+} WindowShapeMode;
+
+#define SDL_SHAPEMODEALPHA(mode) (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha)
+
+/** \brief A union containing parameters for shaped windows. */
+typedef union {
+    /** \brief A cutoff alpha value for binarization of the window shape's alpha channel. */
+    Uint8 binarizationCutoff;
+    SDL_Color colorKey;
+} SDL_WindowShapeParams;
+
+/** \brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents. */
+typedef struct SDL_WindowShapeMode {
+    /** \brief The mode of these window-shape parameters. */
+    WindowShapeMode mode;
+    /** \brief Window-shape parameters. */
+    SDL_WindowShapeParams parameters;
+} SDL_WindowShapeMode;
+
+/**
+ * \brief Set the shape and parameters of a shaped window.
+ *
+ * \param window The shaped window whose parameters should be set.
+ * \param shape A surface encoding the desired shape for the window.
+ * \param shape_mode The parameters to set for the shaped window.
+ *
+ * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
+ *           if the SDL_Window given does not reference a valid shaped window.
+ *
+ * \sa SDL_WindowShapeMode
+ * \sa SDL_GetShapedWindowMode.
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
+
+/**
+ * \brief Get the shape parameters of a shaped window.
+ *
+ * \param window The shaped window whose parameters should be retrieved.
+ * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape.
+ *
+ * \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
+ *           data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
+ *           the SDL_Window given is a shapeable window currently lacking a shape.
+ *
+ * \sa SDL_WindowShapeMode
+ * \sa SDL_SetWindowShape
+ */
+extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_shape_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h
@@ -1,0 +1,607 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_stdinc.h
+ *
+ *  This is a general header that includes C language support.
+ */
+
+#ifndef SDL_stdinc_h_
+#define SDL_stdinc_h_
+
+#include "SDL_config.h"
+
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+#if defined(STDC_HEADERS)
+# include <stdlib.h>
+# include <stddef.h>
+# include <stdarg.h>
+#else
+# if defined(HAVE_STDLIB_H)
+#  include <stdlib.h>
+# elif defined(HAVE_MALLOC_H)
+#  include <malloc.h>
+# endif
+# if defined(HAVE_STDDEF_H)
+#  include <stddef.h>
+# endif
+# if defined(HAVE_STDARG_H)
+#  include <stdarg.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
+#  include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_WCHAR_H
+# include <wchar.h>
+#endif
+#if defined(HAVE_INTTYPES_H)
+# include <inttypes.h>
+#elif defined(HAVE_STDINT_H)
+# include <stdint.h>
+#endif
+#ifdef HAVE_CTYPE_H
+# include <ctype.h>
+#endif
+#ifdef HAVE_MATH_H
+# if defined(__WINRT__)
+/* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on
+   WinRT.  See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
+   for more information.
+*/
+#  define _USE_MATH_DEFINES
+# endif
+# include <math.h>
+#endif
+#ifdef HAVE_FLOAT_H
+# include <float.h>
+#endif
+#if defined(HAVE_ALLOCA) && !defined(alloca)
+# if defined(HAVE_ALLOCA_H)
+#  include <alloca.h>
+# elif defined(__GNUC__)
+#  define alloca __builtin_alloca
+# elif defined(_MSC_VER)
+#  include <malloc.h>
+#  define alloca _alloca
+# elif defined(__WATCOMC__)
+#  include <malloc.h>
+# elif defined(__BORLANDC__)
+#  include <malloc.h>
+# elif defined(__DMC__)
+#  include <stdlib.h>
+# elif defined(__AIX__)
+#pragma alloca
+# elif defined(__MRC__)
+void *alloca(unsigned);
+# else
+char *alloca();
+# endif
+#endif
+
+/**
+ *  The number of elements in an array.
+ */
+#define SDL_arraysize(array)    (sizeof(array)/sizeof(array[0]))
+#define SDL_TABLESIZE(table)    SDL_arraysize(table)
+
+/**
+ *  Macro useful for building other macros with strings in them
+ *
+ *  e.g. #define LOG_ERROR(X) OutputDebugString(SDL_STRINGIFY_ARG(__FUNCTION__) ": " X "\n")
+ */
+#define SDL_STRINGIFY_ARG(arg)  #arg
+
+/**
+ *  \name Cast operators
+ *
+ *  Use proper C++ casts when compiled as C++ to be compatible with the option
+ *  -Wold-style-cast of GCC (and -Werror=old-style-cast in GCC 4.2 and above).
+ */
+/* @{ */
+#ifdef __cplusplus
+#define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
+#define SDL_static_cast(type, expression) static_cast<type>(expression)
+#define SDL_const_cast(type, expression) const_cast<type>(expression)
+#else
+#define SDL_reinterpret_cast(type, expression) ((type)(expression))
+#define SDL_static_cast(type, expression) ((type)(expression))
+#define SDL_const_cast(type, expression) ((type)(expression))
+#endif
+/* @} *//* Cast operators */
+
+/* Define a four character code as a Uint32 */
+#define SDL_FOURCC(A, B, C, D) \
+    ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \
+     (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \
+     (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \
+     (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24))
+
+/**
+ *  \name Basic data types
+ */
+/* @{ */
+
+#ifdef __CC_ARM
+/* ARM's compiler throws warnings if we use an enum: like "SDL_bool x = a < b;" */
+#define SDL_FALSE 0
+#define SDL_TRUE 1
+typedef int SDL_bool;
+#else
+typedef enum
+{
+    SDL_FALSE = 0,
+    SDL_TRUE = 1
+} SDL_bool;
+#endif
+
+/**
+ * \brief A signed 8-bit integer type.
+ */
+#define SDL_MAX_SINT8   ((Sint8)0x7F)           /* 127 */
+#define SDL_MIN_SINT8   ((Sint8)(~0x7F))        /* -128 */
+typedef int8_t Sint8;
+/**
+ * \brief An unsigned 8-bit integer type.
+ */
+#define SDL_MAX_UINT8   ((Uint8)0xFF)           /* 255 */
+#define SDL_MIN_UINT8   ((Uint8)0x00)           /* 0 */
+typedef uint8_t Uint8;
+/**
+ * \brief A signed 16-bit integer type.
+ */
+#define SDL_MAX_SINT16  ((Sint16)0x7FFF)        /* 32767 */
+#define SDL_MIN_SINT16  ((Sint16)(~0x7FFF))     /* -32768 */
+typedef int16_t Sint16;
+/**
+ * \brief An unsigned 16-bit integer type.
+ */
+#define SDL_MAX_UINT16  ((Uint16)0xFFFF)        /* 65535 */
+#define SDL_MIN_UINT16  ((Uint16)0x0000)        /* 0 */
+typedef uint16_t Uint16;
+/**
+ * \brief A signed 32-bit integer type.
+ */
+#define SDL_MAX_SINT32  ((Sint32)0x7FFFFFFF)    /* 2147483647 */
+#define SDL_MIN_SINT32  ((Sint32)(~0x7FFFFFFF)) /* -2147483648 */
+typedef int32_t Sint32;
+/**
+ * \brief An unsigned 32-bit integer type.
+ */
+#define SDL_MAX_UINT32  ((Uint32)0xFFFFFFFFu)   /* 4294967295 */
+#define SDL_MIN_UINT32  ((Uint32)0x00000000)    /* 0 */
+typedef uint32_t Uint32;
+
+/**
+ * \brief A signed 64-bit integer type.
+ */
+#define SDL_MAX_SINT64  ((Sint64)0x7FFFFFFFFFFFFFFFll)      /* 9223372036854775807 */
+#define SDL_MIN_SINT64  ((Sint64)(~0x7FFFFFFFFFFFFFFFll))   /* -9223372036854775808 */
+typedef int64_t Sint64;
+/**
+ * \brief An unsigned 64-bit integer type.
+ */
+#define SDL_MAX_UINT64  ((Uint64)0xFFFFFFFFFFFFFFFFull)     /* 18446744073709551615 */
+#define SDL_MIN_UINT64  ((Uint64)(0x0000000000000000ull))   /* 0 */
+typedef uint64_t Uint64;
+
+/* @} *//* Basic data types */
+
+/* Make sure we have macros for printing 64 bit values.
+ * <stdint.h> should define these but this is not true all platforms.
+ * (for example win32) */
+#ifndef SDL_PRIs64
+#ifdef PRIs64
+#define SDL_PRIs64 PRIs64
+#elif defined(__WIN32__)
+#define SDL_PRIs64 "I64d"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIs64 "ld"
+#else
+#define SDL_PRIs64 "lld"
+#endif
+#endif
+#ifndef SDL_PRIu64
+#ifdef PRIu64
+#define SDL_PRIu64 PRIu64
+#elif defined(__WIN32__)
+#define SDL_PRIu64 "I64u"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIu64 "lu"
+#else
+#define SDL_PRIu64 "llu"
+#endif
+#endif
+#ifndef SDL_PRIx64
+#ifdef PRIx64
+#define SDL_PRIx64 PRIx64
+#elif defined(__WIN32__)
+#define SDL_PRIx64 "I64x"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIx64 "lx"
+#else
+#define SDL_PRIx64 "llx"
+#endif
+#endif
+#ifndef SDL_PRIX64
+#ifdef PRIX64
+#define SDL_PRIX64 PRIX64
+#elif defined(__WIN32__)
+#define SDL_PRIX64 "I64X"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIX64 "lX"
+#else
+#define SDL_PRIX64 "llX"
+#endif
+#endif
+
+/* Annotations to help code analysis tools */
+#ifdef SDL_DISABLE_ANALYZE_MACROS
+#define SDL_IN_BYTECAP(x)
+#define SDL_INOUT_Z_CAP(x)
+#define SDL_OUT_Z_CAP(x)
+#define SDL_OUT_CAP(x)
+#define SDL_OUT_BYTECAP(x)
+#define SDL_OUT_Z_BYTECAP(x)
+#define SDL_PRINTF_FORMAT_STRING
+#define SDL_SCANF_FORMAT_STRING
+#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
+#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
+#else
+#if defined(_MSC_VER) && (_MSC_VER >= 1600) /* VS 2010 and above */
+#include <sal.h>
+
+#define SDL_IN_BYTECAP(x) _In_bytecount_(x)
+#define SDL_INOUT_Z_CAP(x) _Inout_z_cap_(x)
+#define SDL_OUT_Z_CAP(x) _Out_z_cap_(x)
+#define SDL_OUT_CAP(x) _Out_cap_(x)
+#define SDL_OUT_BYTECAP(x) _Out_bytecap_(x)
+#define SDL_OUT_Z_BYTECAP(x) _Out_z_bytecap_(x)
+
+#define SDL_PRINTF_FORMAT_STRING _Printf_format_string_
+#define SDL_SCANF_FORMAT_STRING _Scanf_format_string_impl_
+#else
+#define SDL_IN_BYTECAP(x)
+#define SDL_INOUT_Z_CAP(x)
+#define SDL_OUT_Z_CAP(x)
+#define SDL_OUT_CAP(x)
+#define SDL_OUT_BYTECAP(x)
+#define SDL_OUT_Z_BYTECAP(x)
+#define SDL_PRINTF_FORMAT_STRING
+#define SDL_SCANF_FORMAT_STRING
+#endif
+#if defined(__GNUC__)
+#define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __printf__, fmtargnumber, fmtargnumber+1 )))
+#define SDL_SCANF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __scanf__, fmtargnumber, fmtargnumber+1 )))
+#else
+#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
+#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
+#endif
+#endif /* SDL_DISABLE_ANALYZE_MACROS */
+
+#define SDL_COMPILE_TIME_ASSERT(name, x)               \
+       typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1]
+/** \cond */
+#ifndef DOXYGEN_SHOULD_IGNORE_THIS
+SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
+SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
+SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
+SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
+SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
+SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
+SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
+SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
+#endif /* DOXYGEN_SHOULD_IGNORE_THIS */
+/** \endcond */
+
+/* Check to make sure enums are the size of ints, for structure packing.
+   For both Watcom C/C++ and Borland C/C++ the compiler option that makes
+   enums having the size of an int must be enabled.
+   This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11).
+*/
+
+/** \cond */
+#ifndef DOXYGEN_SHOULD_IGNORE_THIS
+#if !defined(__ANDROID__)
+   /* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */
+typedef enum
+{
+    DUMMY_ENUM_VALUE
+} SDL_DUMMY_ENUM;
+
+SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int));
+#endif
+#endif /* DOXYGEN_SHOULD_IGNORE_THIS */
+/** \endcond */
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef HAVE_ALLOCA
+#define SDL_stack_alloc(type, count)    (type*)alloca(sizeof(type)*(count))
+#define SDL_stack_free(data)
+#else
+#define SDL_stack_alloc(type, count)    (type*)SDL_malloc(sizeof(type)*(count))
+#define SDL_stack_free(data)            SDL_free(data)
+#endif
+
+extern DECLSPEC void *SDLCALL SDL_malloc(size_t size);
+extern DECLSPEC void *SDLCALL SDL_calloc(size_t nmemb, size_t size);
+extern DECLSPEC void *SDLCALL SDL_realloc(void *mem, size_t size);
+extern DECLSPEC void SDLCALL SDL_free(void *mem);
+
+typedef void *(SDLCALL *SDL_malloc_func)(size_t size);
+typedef void *(SDLCALL *SDL_calloc_func)(size_t nmemb, size_t size);
+typedef void *(SDLCALL *SDL_realloc_func)(void *mem, size_t size);
+typedef void (SDLCALL *SDL_free_func)(void *mem);
+
+/**
+ *  \brief Get the current set of SDL memory functions
+ */
+extern DECLSPEC void SDLCALL SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func,
+                                                    SDL_calloc_func *calloc_func,
+                                                    SDL_realloc_func *realloc_func,
+                                                    SDL_free_func *free_func);
+
+/**
+ *  \brief Replace SDL's memory allocation functions with a custom set
+ *
+ *  \note If you are replacing SDL's memory functions, you should call
+ *        SDL_GetNumAllocations() and be very careful if it returns non-zero.
+ *        That means that your free function will be called with memory
+ *        allocated by the previous memory allocation functions.
+ */
+extern DECLSPEC int SDLCALL SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
+                                                   SDL_calloc_func calloc_func,
+                                                   SDL_realloc_func realloc_func,
+                                                   SDL_free_func free_func);
+
+/**
+ *  \brief Get the number of outstanding (unfreed) allocations
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumAllocations(void);
+
+extern DECLSPEC char *SDLCALL SDL_getenv(const char *name);
+extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite);
+
+extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, const void *));
+
+extern DECLSPEC int SDLCALL SDL_abs(int x);
+
+/* !!! FIXME: these have side effects. You probably shouldn't use them. */
+/* !!! FIXME: Maybe we do forceinline functions of SDL_mini, SDL_minf, etc? */
+#define SDL_min(x, y) (((x) < (y)) ? (x) : (y))
+#define SDL_max(x, y) (((x) > (y)) ? (x) : (y))
+
+extern DECLSPEC int SDLCALL SDL_isdigit(int x);
+extern DECLSPEC int SDLCALL SDL_isspace(int x);
+extern DECLSPEC int SDLCALL SDL_toupper(int x);
+extern DECLSPEC int SDLCALL SDL_tolower(int x);
+
+extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);
+
+#define SDL_zero(x) SDL_memset(&(x), 0, sizeof((x)))
+#define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))
+
+/* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */
+SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)
+{
+#if defined(__GNUC__) && defined(i386)
+    int u0, u1, u2;
+    __asm__ __volatile__ (
+        "cld \n\t"
+        "rep ; stosl \n\t"
+        : "=&D" (u0), "=&a" (u1), "=&c" (u2)
+        : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords))
+        : "memory"
+    );
+#else
+    size_t _n = (dwords + 3) / 4;
+    Uint32 *_p = SDL_static_cast(Uint32 *, dst);
+    Uint32 _val = (val);
+    if (dwords == 0)
+        return;
+    switch (dwords % 4)
+    {
+        case 0: do {    *_p++ = _val;   /* fallthrough */
+        case 3:         *_p++ = _val;   /* fallthrough */
+        case 2:         *_p++ = _val;   /* fallthrough */
+        case 1:         *_p++ = _val;   /* fallthrough */
+        } while ( --_n );
+    }
+#endif
+}
+
+extern DECLSPEC void *SDLCALL SDL_memcpy(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len);
+
+extern DECLSPEC void *SDLCALL SDL_memmove(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len);
+extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len);
+
+extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr);
+extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr);
+extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen);
+extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen);
+extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2);
+
+extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str);
+extern DECLSPEC size_t SDLCALL SDL_strlcpy(SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen);
+extern DECLSPEC size_t SDLCALL SDL_utf8strlcpy(SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes);
+extern DECLSPEC size_t SDLCALL SDL_strlcat(SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen);
+extern DECLSPEC char *SDLCALL SDL_strdup(const char *str);
+extern DECLSPEC char *SDLCALL SDL_strrev(char *str);
+extern DECLSPEC char *SDLCALL SDL_strupr(char *str);
+extern DECLSPEC char *SDLCALL SDL_strlwr(char *str);
+extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c);
+extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c);
+extern DECLSPEC char *SDLCALL SDL_strstr(const char *haystack, const char *needle);
+extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str);
+
+extern DECLSPEC char *SDLCALL SDL_itoa(int value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_uitoa(unsigned int value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_ltoa(long value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_ultoa(unsigned long value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_lltoa(Sint64 value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix);
+
+extern DECLSPEC int SDLCALL SDL_atoi(const char *str);
+extern DECLSPEC double SDLCALL SDL_atof(const char *str);
+extern DECLSPEC long SDLCALL SDL_strtol(const char *str, char **endp, int base);
+extern DECLSPEC unsigned long SDLCALL SDL_strtoul(const char *str, char **endp, int base);
+extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *str, char **endp, int base);
+extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *str, char **endp, int base);
+extern DECLSPEC double SDLCALL SDL_strtod(const char *str, char **endp);
+
+extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2);
+extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen);
+extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2);
+extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t len);
+
+extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, SDL_SCANF_FORMAT_STRING const char *fmt, ...) SDL_SCANF_VARARG_FUNC(2);
+extern DECLSPEC int SDLCALL SDL_vsscanf(const char *text, const char *fmt, va_list ap);
+extern DECLSPEC int SDLCALL SDL_snprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt, ... ) SDL_PRINTF_VARARG_FUNC(3);
+extern DECLSPEC int SDLCALL SDL_vsnprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, const char *fmt, va_list ap);
+
+#ifndef HAVE_M_PI
+#ifndef M_PI
+#define M_PI    3.14159265358979323846264338327950288   /**< pi */
+#endif
+#endif
+
+extern DECLSPEC double SDLCALL SDL_acos(double x);
+extern DECLSPEC float SDLCALL SDL_acosf(float x);
+extern DECLSPEC double SDLCALL SDL_asin(double x);
+extern DECLSPEC float SDLCALL SDL_asinf(float x);
+extern DECLSPEC double SDLCALL SDL_atan(double x);
+extern DECLSPEC float SDLCALL SDL_atanf(float x);
+extern DECLSPEC double SDLCALL SDL_atan2(double x, double y);
+extern DECLSPEC float SDLCALL SDL_atan2f(float x, float y);
+extern DECLSPEC double SDLCALL SDL_ceil(double x);
+extern DECLSPEC float SDLCALL SDL_ceilf(float x);
+extern DECLSPEC double SDLCALL SDL_copysign(double x, double y);
+extern DECLSPEC float SDLCALL SDL_copysignf(float x, float y);
+extern DECLSPEC double SDLCALL SDL_cos(double x);
+extern DECLSPEC float SDLCALL SDL_cosf(float x);
+extern DECLSPEC double SDLCALL SDL_exp(double x);
+extern DECLSPEC float SDLCALL SDL_expf(float x);
+extern DECLSPEC double SDLCALL SDL_fabs(double x);
+extern DECLSPEC float SDLCALL SDL_fabsf(float x);
+extern DECLSPEC double SDLCALL SDL_floor(double x);
+extern DECLSPEC float SDLCALL SDL_floorf(float x);
+extern DECLSPEC double SDLCALL SDL_fmod(double x, double y);
+extern DECLSPEC float SDLCALL SDL_fmodf(float x, float y);
+extern DECLSPEC double SDLCALL SDL_log(double x);
+extern DECLSPEC float SDLCALL SDL_logf(float x);
+extern DECLSPEC double SDLCALL SDL_log10(double x);
+extern DECLSPEC float SDLCALL SDL_log10f(float x);
+extern DECLSPEC double SDLCALL SDL_pow(double x, double y);
+extern DECLSPEC float SDLCALL SDL_powf(float x, float y);
+extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n);
+extern DECLSPEC float SDLCALL SDL_scalbnf(float x, int n);
+extern DECLSPEC double SDLCALL SDL_sin(double x);
+extern DECLSPEC float SDLCALL SDL_sinf(float x);
+extern DECLSPEC double SDLCALL SDL_sqrt(double x);
+extern DECLSPEC float SDLCALL SDL_sqrtf(float x);
+extern DECLSPEC double SDLCALL SDL_tan(double x);
+extern DECLSPEC float SDLCALL SDL_tanf(float x);
+
+/* The SDL implementation of iconv() returns these error codes */
+#define SDL_ICONV_ERROR     (size_t)-1
+#define SDL_ICONV_E2BIG     (size_t)-2
+#define SDL_ICONV_EILSEQ    (size_t)-3
+#define SDL_ICONV_EINVAL    (size_t)-4
+
+/* SDL_iconv_* are now always real symbols/types, not macros or inlined. */
+typedef struct _SDL_iconv_t *SDL_iconv_t;
+extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode,
+                                                   const char *fromcode);
+extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd);
+extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf,
+                                         size_t * inbytesleft, char **outbuf,
+                                         size_t * outbytesleft);
+/**
+ *  This function converts a string between encodings in one pass, returning a
+ *  string that must be freed with SDL_free() or NULL on error.
+ */
+extern DECLSPEC char *SDLCALL SDL_iconv_string(const char *tocode,
+                                               const char *fromcode,
+                                               const char *inbuf,
+                                               size_t inbytesleft);
+#define SDL_iconv_utf8_locale(S)    SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1)
+#define SDL_iconv_utf8_ucs2(S)      (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
+#define SDL_iconv_utf8_ucs4(S)      (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
+
+/* force builds using Clang's static analysis tools to use literal C runtime
+   here, since there are possibly tests that are ineffective otherwise. */
+#if defined(__clang_analyzer__) && !defined(SDL_DISABLE_ANALYZE_MACROS)
+#define SDL_malloc malloc
+#define SDL_calloc calloc
+#define SDL_realloc realloc
+#define SDL_free free
+#define SDL_memset memset
+#define SDL_memcpy memcpy
+#define SDL_memmove memmove
+#define SDL_memcmp memcmp
+#define SDL_strlen strlen
+#define SDL_strlcpy strlcpy
+#define SDL_strlcat strlcat
+#define SDL_strdup strdup
+#define SDL_strchr strchr
+#define SDL_strrchr strrchr
+#define SDL_strstr strstr
+#define SDL_strcmp strcmp
+#define SDL_strncmp strncmp
+#define SDL_strcasecmp strcasecmp
+#define SDL_strncasecmp strncasecmp
+#define SDL_sscanf sscanf
+#define SDL_vsscanf vsscanf
+#define SDL_snprintf snprintf
+#define SDL_vsnprintf vsnprintf
+#endif
+
+SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, SDL_IN_BYTECAP(dwords*4) const void *src, size_t dwords)
+{
+    return SDL_memcpy(dst, src, dwords * 4);
+}
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_stdinc_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h
@@ -1,0 +1,554 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_surface.h
+ *
+ *  Header file for ::SDL_Surface definition and management functions.
+ */
+
+#ifndef SDL_surface_h_
+#define SDL_surface_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_pixels.h"
+#include "SDL_rect.h"
+#include "SDL_blendmode.h"
+#include "SDL_rwops.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \name Surface flags
+ *
+ *  These are the currently supported flags for the ::SDL_Surface.
+ *
+ *  \internal
+ *  Used internally (read-only).
+ */
+/* @{ */
+#define SDL_SWSURFACE       0           /**< Just here for compatibility */
+#define SDL_PREALLOC        0x00000001  /**< Surface uses preallocated memory */
+#define SDL_RLEACCEL        0x00000002  /**< Surface is RLE encoded */
+#define SDL_DONTFREE        0x00000004  /**< Surface is referenced internally */
+#define SDL_SIMD_ALIGNED    0x00000008  /**< Surface uses aligned memory */
+/* @} *//* Surface flags */
+
+/**
+ *  Evaluates to true if the surface needs to be locked before access.
+ */
+#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0)
+
+/**
+ * \brief A collection of pixels used in software blitting.
+ *
+ * \note  This structure should be treated as read-only, except for \c pixels,
+ *        which, if not NULL, contains the raw pixel data for the surface.
+ */
+typedef struct SDL_Surface
+{
+    Uint32 flags;               /**< Read-only */
+    SDL_PixelFormat *format;    /**< Read-only */
+    int w, h;                   /**< Read-only */
+    int pitch;                  /**< Read-only */
+    void *pixels;               /**< Read-write */
+
+    /** Application data associated with the surface */
+    void *userdata;             /**< Read-write */
+
+    /** information needed for surfaces requiring locks */
+    int locked;                 /**< Read-only */
+    void *lock_data;            /**< Read-only */
+
+    /** clipping information */
+    SDL_Rect clip_rect;         /**< Read-only */
+
+    /** info for fast blit mapping to other surfaces */
+    struct SDL_BlitMap *map;    /**< Private */
+
+    /** Reference count -- used when freeing surface */
+    int refcount;               /**< Read-mostly */
+} SDL_Surface;
+
+/**
+ * \brief The type of function used for surface blitting functions.
+ */
+typedef int (SDLCALL *SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect,
+                                 struct SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ * \brief The formula used for converting between YUV and RGB
+ */
+typedef enum
+{
+    SDL_YUV_CONVERSION_JPEG,        /**< Full range JPEG */
+    SDL_YUV_CONVERSION_BT601,       /**< BT.601 (the default) */
+    SDL_YUV_CONVERSION_BT709,       /**< BT.709 */
+    SDL_YUV_CONVERSION_AUTOMATIC    /**< BT.601 for SD content, BT.709 for HD content */
+} SDL_YUV_CONVERSION_MODE;
+
+/**
+ *  Allocate and free an RGB surface.
+ *
+ *  If the depth is 4 or 8 bits, an empty palette is allocated for the surface.
+ *  If the depth is greater than 8 bits, the pixel format is set using the
+ *  flags '[RGB]mask'.
+ *
+ *  If the function runs out of memory, it will return NULL.
+ *
+ *  \param flags The \c flags are obsolete and should be set to 0.
+ *  \param width The width in pixels of the surface to create.
+ *  \param height The height in pixels of the surface to create.
+ *  \param depth The depth in bits of the surface to create.
+ *  \param Rmask The red mask of the surface to create.
+ *  \param Gmask The green mask of the surface to create.
+ *  \param Bmask The blue mask of the surface to create.
+ *  \param Amask The alpha mask of the surface to create.
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurface
+    (Uint32 flags, int width, int height, int depth,
+     Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
+
+/* !!! FIXME for 2.1: why does this ask for depth? Format provides that. */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormat
+    (Uint32 flags, int width, int height, int depth, Uint32 format);
+
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
+                                                              int width,
+                                                              int height,
+                                                              int depth,
+                                                              int pitch,
+                                                              Uint32 Rmask,
+                                                              Uint32 Gmask,
+                                                              Uint32 Bmask,
+                                                              Uint32 Amask);
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormatFrom
+    (void *pixels, int width, int height, int depth, int pitch, Uint32 format);
+extern DECLSPEC void SDLCALL SDL_FreeSurface(SDL_Surface * surface);
+
+/**
+ *  \brief Set the palette used by a surface.
+ *
+ *  \return 0, or -1 if the surface format doesn't use a palette.
+ *
+ *  \note A single palette can be shared with many surfaces.
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfacePalette(SDL_Surface * surface,
+                                                  SDL_Palette * palette);
+
+/**
+ *  \brief Sets up a surface for directly accessing the pixels.
+ *
+ *  Between calls to SDL_LockSurface() / SDL_UnlockSurface(), you can write
+ *  to and read from \c surface->pixels, using the pixel format stored in
+ *  \c surface->format.  Once you are done accessing the surface, you should
+ *  use SDL_UnlockSurface() to release it.
+ *
+ *  Not all surfaces require locking.  If SDL_MUSTLOCK(surface) evaluates
+ *  to 0, then you can read and write to the surface at any time, and the
+ *  pixel format of the surface will not change.
+ *
+ *  No operating system or library calls should be made between lock/unlock
+ *  pairs, as critical system locks may be held during this time.
+ *
+ *  SDL_LockSurface() returns 0, or -1 if the surface couldn't be locked.
+ *
+ *  \sa SDL_UnlockSurface()
+ */
+extern DECLSPEC int SDLCALL SDL_LockSurface(SDL_Surface * surface);
+/** \sa SDL_LockSurface() */
+extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface * surface);
+
+/**
+ *  Load a surface from a seekable SDL data stream (memory or file).
+ *
+ *  If \c freesrc is non-zero, the stream will be closed after being read.
+ *
+ *  The new surface should be freed with SDL_FreeSurface().
+ *
+ *  \return the new surface, or NULL if there was an error.
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_LoadBMP_RW(SDL_RWops * src,
+                                                    int freesrc);
+
+/**
+ *  Load a surface from a file.
+ *
+ *  Convenience macro.
+ */
+#define SDL_LoadBMP(file)   SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1)
+
+/**
+ *  Save a surface to a seekable SDL data stream (memory or file).
+ *
+ *  Surfaces with a 24-bit, 32-bit and paletted 8-bit format get saved in the
+ *  BMP directly. Other RGB formats with 8-bit or higher get converted to a
+ *  24-bit surface or, if they have an alpha mask or a colorkey, to a 32-bit
+ *  surface before they are saved. YUV and paletted 1-bit and 4-bit formats are
+ *  not supported.
+ *
+ *  If \c freedst is non-zero, the stream will be closed after being written.
+ *
+ *  \return 0 if successful or -1 if there was an error.
+ */
+extern DECLSPEC int SDLCALL SDL_SaveBMP_RW
+    (SDL_Surface * surface, SDL_RWops * dst, int freedst);
+
+/**
+ *  Save a surface to a file.
+ *
+ *  Convenience macro.
+ */
+#define SDL_SaveBMP(surface, file) \
+        SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1)
+
+/**
+ *  \brief Sets the RLE acceleration hint for a surface.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid
+ *
+ *  \note If RLE is enabled, colorkey and alpha blending blits are much faster,
+ *        but the surface must be locked before directly accessing the pixels.
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceRLE(SDL_Surface * surface,
+                                              int flag);
+
+/**
+ *  \brief Sets the color key (transparent pixel) in a blittable surface.
+ *
+ *  \param surface The surface to update
+ *  \param flag Non-zero to enable colorkey and 0 to disable colorkey
+ *  \param key The transparent pixel in the native surface format
+ *
+ *  \return 0 on success, or -1 if the surface is not valid
+ *
+ *  You can pass SDL_RLEACCEL to enable RLE accelerated blits.
+ */
+extern DECLSPEC int SDLCALL SDL_SetColorKey(SDL_Surface * surface,
+                                            int flag, Uint32 key);
+
+/**
+ *  \brief Returns whether the surface has a color key
+ *
+ *  \return SDL_TRUE if the surface has a color key, or SDL_FALSE if the surface is NULL or has no color key
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasColorKey(SDL_Surface * surface);
+
+/**
+ *  \brief Gets the color key (transparent pixel) in a blittable surface.
+ *
+ *  \param surface The surface to update
+ *  \param key A pointer filled in with the transparent pixel in the native
+ *             surface format
+ *
+ *  \return 0 on success, or -1 if the surface is not valid or colorkey is not
+ *          enabled.
+ */
+extern DECLSPEC int SDLCALL SDL_GetColorKey(SDL_Surface * surface,
+                                            Uint32 * key);
+
+/**
+ *  \brief Set an additional color value used in blit operations.
+ *
+ *  \param surface The surface to update.
+ *  \param r The red color value multiplied into blit operations.
+ *  \param g The green color value multiplied into blit operations.
+ *  \param b The blue color value multiplied into blit operations.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_GetSurfaceColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceColorMod(SDL_Surface * surface,
+                                                   Uint8 r, Uint8 g, Uint8 b);
+
+
+/**
+ *  \brief Get the additional color value used in blit operations.
+ *
+ *  \param surface The surface to query.
+ *  \param r A pointer filled in with the current red color value.
+ *  \param g A pointer filled in with the current green color value.
+ *  \param b A pointer filled in with the current blue color value.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_SetSurfaceColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetSurfaceColorMod(SDL_Surface * surface,
+                                                   Uint8 * r, Uint8 * g,
+                                                   Uint8 * b);
+
+/**
+ *  \brief Set an additional alpha value used in blit operations.
+ *
+ *  \param surface The surface to update.
+ *  \param alpha The alpha value multiplied into blit operations.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_GetSurfaceAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceAlphaMod(SDL_Surface * surface,
+                                                   Uint8 alpha);
+
+/**
+ *  \brief Get the additional alpha value used in blit operations.
+ *
+ *  \param surface The surface to query.
+ *  \param alpha A pointer filled in with the current alpha value.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_SetSurfaceAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetSurfaceAlphaMod(SDL_Surface * surface,
+                                                   Uint8 * alpha);
+
+/**
+ *  \brief Set the blend mode used for blit operations.
+ *
+ *  \param surface The surface to update.
+ *  \param blendMode ::SDL_BlendMode to use for blit blending.
+ *
+ *  \return 0 on success, or -1 if the parameters are not valid.
+ *
+ *  \sa SDL_GetSurfaceBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceBlendMode(SDL_Surface * surface,
+                                                    SDL_BlendMode blendMode);
+
+/**
+ *  \brief Get the blend mode used for blit operations.
+ *
+ *  \param surface   The surface to query.
+ *  \param blendMode A pointer filled in with the current blend mode.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_SetSurfaceBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetSurfaceBlendMode(SDL_Surface * surface,
+                                                    SDL_BlendMode *blendMode);
+
+/**
+ *  Sets the clipping rectangle for the destination surface in a blit.
+ *
+ *  If the clip rectangle is NULL, clipping will be disabled.
+ *
+ *  If the clip rectangle doesn't intersect the surface, the function will
+ *  return SDL_FALSE and blits will be completely clipped.  Otherwise the
+ *  function returns SDL_TRUE and blits to the surface will be clipped to
+ *  the intersection of the surface area and the clipping rectangle.
+ *
+ *  Note that blits are automatically clipped to the edges of the source
+ *  and destination surfaces.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_SetClipRect(SDL_Surface * surface,
+                                                 const SDL_Rect * rect);
+
+/**
+ *  Gets the clipping rectangle for the destination surface in a blit.
+ *
+ *  \c rect must be a pointer to a valid rectangle which will be filled
+ *  with the correct values.
+ */
+extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
+                                             SDL_Rect * rect);
+
+/*
+ * Creates a new surface identical to the existing surface
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_DuplicateSurface(SDL_Surface * surface);
+
+/**
+ *  Creates a new surface of the specified format, and then copies and maps
+ *  the given surface to it so the blit of the converted surface will be as
+ *  fast as possible.  If this function fails, it returns NULL.
+ *
+ *  The \c flags parameter is passed to SDL_CreateRGBSurface() and has those
+ *  semantics.  You can also pass ::SDL_RLEACCEL in the flags parameter and
+ *  SDL will try to RLE accelerate colorkey and alpha blits in the resulting
+ *  surface.
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface
+    (SDL_Surface * src, const SDL_PixelFormat * fmt, Uint32 flags);
+extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
+    (SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
+
+/**
+ * \brief Copy a block of pixels of one format to another format
+ *
+ *  \return 0 on success, or -1 if there was an error
+ */
+extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
+                                              Uint32 src_format,
+                                              const void * src, int src_pitch,
+                                              Uint32 dst_format,
+                                              void * dst, int dst_pitch);
+
+/**
+ *  Performs a fast fill of the given rectangle with \c color.
+ *
+ *  If \c rect is NULL, the whole surface will be filled with \c color.
+ *
+ *  The color should be a pixel of the format used by the surface, and
+ *  can be generated by the SDL_MapRGB() function.
+ *
+ *  \return 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_FillRect
+    (SDL_Surface * dst, const SDL_Rect * rect, Uint32 color);
+extern DECLSPEC int SDLCALL SDL_FillRects
+    (SDL_Surface * dst, const SDL_Rect * rects, int count, Uint32 color);
+
+/**
+ *  Performs a fast blit from the source surface to the destination surface.
+ *
+ *  This assumes that the source and destination rectangles are
+ *  the same size.  If either \c srcrect or \c dstrect are NULL, the entire
+ *  surface (\c src or \c dst) is copied.  The final blit rectangles are saved
+ *  in \c srcrect and \c dstrect after all clipping is performed.
+ *
+ *  \return If the blit is successful, it returns 0, otherwise it returns -1.
+ *
+ *  The blit function should not be called on a locked surface.
+ *
+ *  The blit semantics for surfaces with and without blending and colorkey
+ *  are defined as follows:
+ *  \verbatim
+    RGBA->RGB:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source alpha-channel and per-surface alpha)
+        SDL_SRCCOLORKEY ignored.
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy RGB.
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        RGB values of the source color key, ignoring alpha in the
+        comparison.
+
+    RGB->RGBA:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source per-surface alpha)
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy RGB, set destination alpha to source per-surface alpha value.
+      both:
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        source color key.
+
+    RGBA->RGBA:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source alpha-channel and per-surface alpha)
+        SDL_SRCCOLORKEY ignored.
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy all of RGBA to the destination.
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        RGB values of the source color key, ignoring alpha in the
+        comparison.
+
+    RGB->RGB:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source per-surface alpha)
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy RGB.
+      both:
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        source color key.
+    \endverbatim
+ *
+ *  You should call SDL_BlitSurface() unless you know exactly how SDL
+ *  blitting works internally and how to use the other blit functions.
+ */
+#define SDL_BlitSurface SDL_UpperBlit
+
+/**
+ *  This is the public blit function, SDL_BlitSurface(), and it performs
+ *  rectangle validation and clipping before passing it to SDL_LowerBlit()
+ */
+extern DECLSPEC int SDLCALL SDL_UpperBlit
+    (SDL_Surface * src, const SDL_Rect * srcrect,
+     SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  This is a semi-private blit function and it performs low-level surface
+ *  blitting only.
+ */
+extern DECLSPEC int SDLCALL SDL_LowerBlit
+    (SDL_Surface * src, SDL_Rect * srcrect,
+     SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  \brief Perform a fast, low quality, stretch blit between two surfaces of the
+ *         same pixel format.
+ *
+ *  \note This function uses a static buffer, and is not thread-safe.
+ */
+extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src,
+                                            const SDL_Rect * srcrect,
+                                            SDL_Surface * dst,
+                                            const SDL_Rect * dstrect);
+
+#define SDL_BlitScaled SDL_UpperBlitScaled
+
+/**
+ *  This is the public scaled blit function, SDL_BlitScaled(), and it performs
+ *  rectangle validation and clipping before passing it to SDL_LowerBlitScaled()
+ */
+extern DECLSPEC int SDLCALL SDL_UpperBlitScaled
+    (SDL_Surface * src, const SDL_Rect * srcrect,
+    SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  This is a semi-private blit function and it performs low-level surface
+ *  scaled blitting only.
+ */
+extern DECLSPEC int SDLCALL SDL_LowerBlitScaled
+    (SDL_Surface * src, SDL_Rect * srcrect,
+    SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  \brief Set the YUV conversion mode
+ */
+extern DECLSPEC void SDLCALL SDL_SetYUVConversionMode(SDL_YUV_CONVERSION_MODE mode);
+
+/**
+ *  \brief Get the YUV conversion mode
+ */
+extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionMode(void);
+
+/**
+ *  \brief Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC
+ */
+extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionModeForResolution(int width, int height);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_surface_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h
@@ -1,0 +1,279 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_system.h
+ *
+ *  Include file for platform specific SDL API functions
+ */
+
+#ifndef SDL_system_h_
+#define SDL_system_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_keyboard.h"
+#include "SDL_render.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Platform specific functions for Windows */
+#ifdef __WIN32__
+	
+/**
+   \brief Set a function that is called for every windows message, before TranslateMessage()
+*/
+typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);
+extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata);
+
+/**
+   \brief Returns the D3D9 adapter index that matches the specified display index.
+
+   This adapter index can be passed to IDirect3D9::CreateDevice and controls
+   on which monitor a full screen application will appear.
+*/
+extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
+
+typedef struct IDirect3DDevice9 IDirect3DDevice9;
+/**
+   \brief Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer.
+
+   Once you are done using the device, you should release it to avoid a resource leak.
+ */
+extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
+
+/**
+   \brief Returns the DXGI Adapter and Output indices for the specified display index.
+
+   These can be passed to EnumAdapters and EnumOutputs respectively to get the objects
+   required to create a DX10 or DX11 device and swap chain.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *outputIndex );
+
+#endif /* __WIN32__ */
+
+
+/* Platform specific functions for Linux */
+#ifdef __LINUX__
+
+/**
+   \brief Sets the UNIX nice value for a thread, using setpriority() if possible, and RealtimeKit if available.
+
+   \return 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_LinuxSetThreadPriority(Sint64 threadID, int priority);
+ 
+#endif /* __LINUX__ */
+	
+/* Platform specific functions for iOS */
+#if defined(__IPHONEOS__) && __IPHONEOS__
+
+#define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam)
+extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (*callback)(void*), void *callbackParam);
+
+#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
+extern DECLSPEC void SDLCALL SDL_iPhoneSetEventPump(SDL_bool enabled);
+
+#endif /* __IPHONEOS__ */
+
+
+/* Platform specific functions for Android */
+#if defined(__ANDROID__) && __ANDROID__
+
+/**
+   \brief Get the JNI environment for the current thread
+
+   This returns JNIEnv*, but the prototype is void* so we don't need jni.h
+ */
+extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv(void);
+
+/**
+   \brief Get the SDL Activity object for the application
+
+   This returns jobject, but the prototype is void* so we don't need jni.h
+   The jobject returned by SDL_AndroidGetActivity is a local reference.
+   It is the caller's responsibility to properly release it
+   (using env->Push/PopLocalFrame or manually with env->DeleteLocalRef)
+ */
+extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
+
+/**
+   \brief Return true if the application is running on Android TV
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void);
+
+/**
+   \brief Return true if the application is running on a Chromebook
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsChromebook(void);
+
+/**
+  \brief Return true is the application is running on a Samsung DeX docking station
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsDeXMode(void);
+
+/**
+ \brief Trigger the Android system back button behavior.
+ */
+extern DECLSPEC void SDLCALL SDL_AndroidBackButton(void);
+
+/**
+   See the official Android developer guide for more information:
+   http://developer.android.com/guide/topics/data/data-storage.html
+*/
+#define SDL_ANDROID_EXTERNAL_STORAGE_READ   0x01
+#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE  0x02
+
+/**
+   \brief Get the path used for internal storage for this application.
+
+   This path is unique to your application and cannot be written to
+   by other applications.
+ */
+extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath(void);
+
+/**
+   \brief Get the current state of external storage, a bitmask of these values:
+    SDL_ANDROID_EXTERNAL_STORAGE_READ
+    SDL_ANDROID_EXTERNAL_STORAGE_WRITE
+
+   If external storage is currently unavailable, this will return 0.
+*/
+extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState(void);
+
+/**
+   \brief Get the path used for external storage for this application.
+
+   This path is unique to your application, but is public and can be
+   written to by other applications.
+ */
+extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void);
+
+#endif /* __ANDROID__ */
+
+/* Platform specific functions for WinRT */
+#if defined(__WINRT__) && __WINRT__
+
+/**
+ *  \brief WinRT / Windows Phone path types
+ */
+typedef enum
+{
+    /** \brief The installed app's root directory.
+        Files here are likely to be read-only. */
+    SDL_WINRT_PATH_INSTALLED_LOCATION,
+
+    /** \brief The app's local data store.  Files may be written here */
+    SDL_WINRT_PATH_LOCAL_FOLDER,
+
+    /** \brief The app's roaming data store.  Unsupported on Windows Phone.
+        Files written here may be copied to other machines via a network
+        connection.
+    */
+    SDL_WINRT_PATH_ROAMING_FOLDER,
+
+    /** \brief The app's temporary data store.  Unsupported on Windows Phone.
+        Files written here may be deleted at any time. */
+    SDL_WINRT_PATH_TEMP_FOLDER
+} SDL_WinRT_Path;
+
+
+/**
+ *  \brief WinRT Device Family
+ */
+typedef enum
+{
+    /** \brief Unknown family  */
+    SDL_WINRT_DEVICEFAMILY_UNKNOWN,
+
+    /** \brief Desktop family*/
+    SDL_WINRT_DEVICEFAMILY_DESKTOP,
+
+    /** \brief Mobile family (for example smartphone) */
+    SDL_WINRT_DEVICEFAMILY_MOBILE,
+
+    /** \brief XBox family */
+    SDL_WINRT_DEVICEFAMILY_XBOX,
+} SDL_WinRT_DeviceFamily;
+
+
+/**
+ *  \brief Retrieves a WinRT defined path on the local file system
+ *
+ *  \note Documentation on most app-specific path types on WinRT
+ *      can be found on MSDN, at the URL:
+ *      http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
+ *
+ *  \param pathType The type of path to retrieve.
+ *  \return A UCS-2 string (16-bit, wide-char) containing the path, or NULL
+ *      if the path is not available for any reason.  Not all paths are
+ *      available on all versions of Windows.  This is especially true on
+ *      Windows Phone.  Check the documentation for the given
+ *      SDL_WinRT_Path for more information on which path types are
+ *      supported where.
+ */
+extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
+
+/**
+ *  \brief Retrieves a WinRT defined path on the local file system
+ *
+ *  \note Documentation on most app-specific path types on WinRT
+ *      can be found on MSDN, at the URL:
+ *      http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
+ *
+ *  \param pathType The type of path to retrieve.
+ *  \return A UTF-8 string (8-bit, multi-byte) containing the path, or NULL
+ *      if the path is not available for any reason.  Not all paths are
+ *      available on all versions of Windows.  This is especially true on
+ *      Windows Phone.  Check the documentation for the given
+ *      SDL_WinRT_Path for more information on which path types are
+ *      supported where.
+ */
+extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
+
+/**
+ *  \brief Detects the device family of WinRT plattform on runtime
+ *
+ *  \return Device family
+ */
+extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
+
+#endif /* __WINRT__ */
+
+/**
+ \brief Return true if the current device is a tablet.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsTablet(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_system_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h
@@ -1,0 +1,327 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_syswm.h
+ *
+ *  Include file for SDL custom system window manager hooks.
+ */
+
+#ifndef SDL_syswm_h_
+#define SDL_syswm_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+#include "SDL_version.h"
+
+/**
+ *  \brief SDL_syswm.h
+ *
+ *  Your application has access to a special type of event ::SDL_SYSWMEVENT,
+ *  which contains window-manager specific information and arrives whenever
+ *  an unhandled window event occurs.  This event is ignored by default, but
+ *  you can enable it with SDL_EventState().
+ */
+struct SDL_SysWMinfo;
+
+#if !defined(SDL_PROTOTYPES_ONLY)
+
+#if defined(SDL_VIDEO_DRIVER_WINDOWS)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+#include <windows.h>
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_WINRT)
+#include <Inspectable.h>
+#endif
+
+/* This is the structure for custom window manager events */
+#if defined(SDL_VIDEO_DRIVER_X11)
+#if defined(__APPLE__) && defined(__MACH__)
+/* conflicts with Quickdraw.h */
+#define Cursor X11Cursor
+#endif
+
+#include <X11/Xlib.h>
+#include <X11/Xatom.h>
+
+#if defined(__APPLE__) && defined(__MACH__)
+/* matches the re-define above */
+#undef Cursor
+#endif
+
+#endif /* defined(SDL_VIDEO_DRIVER_X11) */
+
+#if defined(SDL_VIDEO_DRIVER_DIRECTFB)
+#include <directfb.h>
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_COCOA)
+#ifdef __OBJC__
+@class NSWindow;
+#else
+typedef struct _NSWindow NSWindow;
+#endif
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_UIKIT)
+#ifdef __OBJC__
+#include <UIKit/UIKit.h>
+#else
+typedef struct _UIWindow UIWindow;
+typedef struct _UIViewController UIViewController;
+#endif
+typedef Uint32 GLuint;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_ANDROID)
+typedef struct ANativeWindow ANativeWindow;
+typedef void *EGLSurface;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_VIVANTE)
+#include "SDL_egl.h"
+#endif
+#endif /* SDL_PROTOTYPES_ONLY */
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if !defined(SDL_PROTOTYPES_ONLY)
+/**
+ *  These are the various supported windowing subsystems
+ */
+typedef enum
+{
+    SDL_SYSWM_UNKNOWN,
+    SDL_SYSWM_WINDOWS,
+    SDL_SYSWM_X11,
+    SDL_SYSWM_DIRECTFB,
+    SDL_SYSWM_COCOA,
+    SDL_SYSWM_UIKIT,
+    SDL_SYSWM_WAYLAND,
+    SDL_SYSWM_MIR,  /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
+    SDL_SYSWM_WINRT,
+    SDL_SYSWM_ANDROID,
+    SDL_SYSWM_VIVANTE,
+    SDL_SYSWM_OS2
+} SDL_SYSWM_TYPE;
+
+/**
+ *  The custom event structure.
+ */
+struct SDL_SysWMmsg
+{
+    SDL_version version;
+    SDL_SYSWM_TYPE subsystem;
+    union
+    {
+#if defined(SDL_VIDEO_DRIVER_WINDOWS)
+        struct {
+            HWND hwnd;                  /**< The window for the message */
+            UINT msg;                   /**< The type of message */
+            WPARAM wParam;              /**< WORD message parameter */
+            LPARAM lParam;              /**< LONG message parameter */
+        } win;
+#endif
+#if defined(SDL_VIDEO_DRIVER_X11)
+        struct {
+            XEvent event;
+        } x11;
+#endif
+#if defined(SDL_VIDEO_DRIVER_DIRECTFB)
+        struct {
+            DFBEvent event;
+        } dfb;
+#endif
+#if defined(SDL_VIDEO_DRIVER_COCOA)
+        struct
+        {
+            /* Latest version of Xcode clang complains about empty structs in C v. C++:
+                 error: empty struct has size 0 in C, size 1 in C++
+             */
+            int dummy;
+            /* No Cocoa window events yet */
+        } cocoa;
+#endif
+#if defined(SDL_VIDEO_DRIVER_UIKIT)
+        struct
+        {
+            int dummy;
+            /* No UIKit window events yet */
+        } uikit;
+#endif
+#if defined(SDL_VIDEO_DRIVER_VIVANTE)
+        struct
+        {
+            int dummy;
+            /* No Vivante window events yet */
+        } vivante;
+#endif
+        /* Can't have an empty union */
+        int dummy;
+    } msg;
+};
+
+/**
+ *  The custom window manager information structure.
+ *
+ *  When this structure is returned, it holds information about which
+ *  low level system it is using, and will be one of SDL_SYSWM_TYPE.
+ */
+struct SDL_SysWMinfo
+{
+    SDL_version version;
+    SDL_SYSWM_TYPE subsystem;
+    union
+    {
+#if defined(SDL_VIDEO_DRIVER_WINDOWS)
+        struct
+        {
+            HWND window;                /**< The window handle */
+            HDC hdc;                    /**< The window device context */
+            HINSTANCE hinstance;        /**< The instance handle */
+        } win;
+#endif
+#if defined(SDL_VIDEO_DRIVER_WINRT)
+        struct
+        {
+            IInspectable * window;      /**< The WinRT CoreWindow */
+        } winrt;
+#endif
+#if defined(SDL_VIDEO_DRIVER_X11)
+        struct
+        {
+            Display *display;           /**< The X11 display */
+            Window window;              /**< The X11 window */
+        } x11;
+#endif
+#if defined(SDL_VIDEO_DRIVER_DIRECTFB)
+        struct
+        {
+            IDirectFB *dfb;             /**< The directfb main interface */
+            IDirectFBWindow *window;    /**< The directfb window handle */
+            IDirectFBSurface *surface;  /**< The directfb client surface */
+        } dfb;
+#endif
+#if defined(SDL_VIDEO_DRIVER_COCOA)
+        struct
+        {
+#if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc)
+            NSWindow __unsafe_unretained *window; /**< The Cocoa window */
+#else
+            NSWindow *window;                     /**< The Cocoa window */
+#endif
+        } cocoa;
+#endif
+#if defined(SDL_VIDEO_DRIVER_UIKIT)
+        struct
+        {
+#if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc)
+            UIWindow __unsafe_unretained *window; /**< The UIKit window */
+#else
+            UIWindow *window;                     /**< The UIKit window */
+#endif
+            GLuint framebuffer; /**< The GL view's Framebuffer Object. It must be bound when rendering to the screen using GL. */
+            GLuint colorbuffer; /**< The GL view's color Renderbuffer Object. It must be bound when SDL_GL_SwapWindow is called. */
+            GLuint resolveFramebuffer; /**< The Framebuffer Object which holds the resolve color Renderbuffer, when MSAA is used. */
+        } uikit;
+#endif
+#if defined(SDL_VIDEO_DRIVER_WAYLAND)
+        struct
+        {
+            struct wl_display *display;            /**< Wayland display */
+            struct wl_surface *surface;            /**< Wayland surface */
+            struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */
+        } wl;
+#endif
+#if defined(SDL_VIDEO_DRIVER_MIR)  /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
+        struct
+        {
+            void *connection;  /**< Mir display server connection */
+            void *surface;  /**< Mir surface */
+        } mir;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_ANDROID)
+        struct
+        {
+            ANativeWindow *window;
+            EGLSurface surface;
+        } android;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_VIVANTE)
+        struct
+        {
+            EGLNativeDisplayType display;
+            EGLNativeWindowType window;
+        } vivante;
+#endif
+
+        /* Make sure this union is always 64 bytes (8 64-bit pointers). */
+        /* Be careful not to overflow this if you add a new target! */
+        Uint8 dummy[64];
+    } info;
+};
+
+#endif /* SDL_PROTOTYPES_ONLY */
+
+typedef struct SDL_SysWMinfo SDL_SysWMinfo;
+
+/* Function prototypes */
+/**
+ *  \brief This function allows access to driver-dependent window information.
+ *
+ *  \param window The window about which information is being requested
+ *  \param info This structure must be initialized with the SDL version, and is
+ *              then filled in with information about the given window.
+ *
+ *  \return SDL_TRUE if the function is implemented and the version member of
+ *          the \c info struct is valid, SDL_FALSE otherwise.
+ *
+ *  You typically use this function like this:
+ *  \code
+ *  SDL_SysWMinfo info;
+ *  SDL_VERSION(&info.version);
+ *  if ( SDL_GetWindowWMInfo(window, &info) ) { ... }
+ *  \endcode
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window,
+                                                     SDL_SysWMinfo * info);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_syswm_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h
@@ -1,0 +1,343 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_thread_h_
+#define SDL_thread_h_
+
+/**
+ *  \file SDL_thread.h
+ *
+ *  Header for the SDL thread management routines.
+ */
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+/* Thread synchronization primitives */
+#include "SDL_atomic.h"
+#include "SDL_mutex.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* The SDL thread structure, defined in SDL_thread.c */
+struct SDL_Thread;
+typedef struct SDL_Thread SDL_Thread;
+
+/* The SDL thread ID */
+typedef unsigned long SDL_threadID;
+
+/* Thread local storage ID, 0 is the invalid ID */
+typedef unsigned int SDL_TLSID;
+
+/**
+ *  The SDL thread priority.
+ *
+ *  \note On many systems you require special privileges to set high or time critical priority.
+ */
+typedef enum {
+    SDL_THREAD_PRIORITY_LOW,
+    SDL_THREAD_PRIORITY_NORMAL,
+    SDL_THREAD_PRIORITY_HIGH,
+    SDL_THREAD_PRIORITY_TIME_CRITICAL
+} SDL_ThreadPriority;
+
+/**
+ *  The function passed to SDL_CreateThread().
+ *  It is passed a void* user context parameter and returns an int.
+ */
+typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
+
+#if defined(__WIN32__) && !defined(HAVE_LIBC)
+/**
+ *  \file SDL_thread.h
+ *
+ *  We compile SDL into a DLL. This means, that it's the DLL which
+ *  creates a new thread for the calling process with the SDL_CreateThread()
+ *  API. There is a problem with this, that only the RTL of the SDL2.DLL will
+ *  be initialized for those threads, and not the RTL of the calling
+ *  application!
+ *
+ *  To solve this, we make a little hack here.
+ *
+ *  We'll always use the caller's _beginthread() and _endthread() APIs to
+ *  start a new thread. This way, if it's the SDL2.DLL which uses this API,
+ *  then the RTL of SDL2.DLL will be used to create the new thread, and if it's
+ *  the application, then the RTL of the application will be used.
+ *
+ *  So, in short:
+ *  Always use the _beginthread() and _endthread() of the calling runtime
+ *  library!
+ */
+#define SDL_PASSED_BEGINTHREAD_ENDTHREAD
+#include <process.h> /* _beginthreadex() and _endthreadex() */
+
+typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread)
+                   (void *, unsigned, unsigned (__stdcall *func)(void *),
+                    void * /*arg*/, unsigned, unsigned * /* threadID */);
+typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
+
+/**
+ *  Create a thread.
+ */
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),
+                 const char *name, const size_t stacksize, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+
+
+/**
+ *  Create a thread.
+ */
+#if defined(SDL_CreateThread) && SDL_DYNAMIC_API
+#undef SDL_CreateThread
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#undef SDL_CreateThreadWithStackSize
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#else
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#endif
+
+#elif defined(__OS2__)
+/*
+ * just like the windows case above:  We compile SDL2
+ * into a dll with Watcom's runtime statically linked.
+ */
+#define SDL_PASSED_BEGINTHREAD_ENDTHREAD
+#ifndef __EMX__
+#include <process.h>
+#else
+#include <stdlib.h>
+#endif
+typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void * /*arg*/);
+typedef void (*pfnSDL_CurrentEndThread)(void);
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn, const char *name, const size_t stacksize, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+#if defined(SDL_CreateThread) && SDL_DYNAMIC_API
+#undef SDL_CreateThread
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#undef SDL_CreateThreadWithStackSize
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#else
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#endif
+
+#else
+
+/**
+ *  Create a thread with a default stack size.
+ *
+ *  This is equivalent to calling:
+ *  SDL_CreateThreadWithStackSize(fn, name, 0, data);
+ */
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data);
+
+/**
+ *  Create a thread.
+ *
+ *   Thread naming is a little complicated: Most systems have very small
+ *    limits for the string length (Haiku has 32 bytes, Linux currently has 16,
+ *    Visual C++ 6.0 has nine!), and possibly other arbitrary rules. You'll
+ *    have to see what happens with your system's debugger. The name should be
+ *    UTF-8 (but using the naming limits of C identifiers is a better bet).
+ *   There are no requirements for thread naming conventions, so long as the
+ *    string is null-terminated UTF-8, but these guidelines are helpful in
+ *    choosing a name:
+ *
+ *    http://stackoverflow.com/questions/149932/naming-conventions-for-threads
+ *
+ *   If a system imposes requirements, SDL will try to munge the string for
+ *    it (truncate, etc), but the original string contents will be available
+ *    from SDL_GetThreadName().
+ *
+ *   The size (in bytes) of the new stack can be specified. Zero means "use
+ *    the system default" which might be wildly different between platforms
+ *    (x86 Linux generally defaults to eight megabytes, an embedded device
+ *    might be a few kilobytes instead).
+ *
+ *   In SDL 2.1, stacksize will be folded into the original SDL_CreateThread
+ *    function.
+ */
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn, const char *name, const size_t stacksize, void *data);
+
+#endif
+
+/**
+ * Get the thread name, as it was specified in SDL_CreateThread().
+ *  This function returns a pointer to a UTF-8 string that names the
+ *  specified thread, or NULL if it doesn't have a name. This is internal
+ *  memory, not to be free()'d by the caller, and remains valid until the
+ *  specified thread is cleaned up by SDL_WaitThread().
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetThreadName(SDL_Thread *thread);
+
+/**
+ *  Get the thread identifier for the current thread.
+ */
+extern DECLSPEC SDL_threadID SDLCALL SDL_ThreadID(void);
+
+/**
+ *  Get the thread identifier for the specified thread.
+ *
+ *  Equivalent to SDL_ThreadID() if the specified thread is NULL.
+ */
+extern DECLSPEC SDL_threadID SDLCALL SDL_GetThreadID(SDL_Thread * thread);
+
+/**
+ *  Set the priority for the current thread
+ */
+extern DECLSPEC int SDLCALL SDL_SetThreadPriority(SDL_ThreadPriority priority);
+
+/**
+ *  Wait for a thread to finish. Threads that haven't been detached will
+ *  remain (as a "zombie") until this function cleans them up. Not doing so
+ *  is a resource leak.
+ *
+ *  Once a thread has been cleaned up through this function, the SDL_Thread
+ *  that references it becomes invalid and should not be referenced again.
+ *  As such, only one thread may call SDL_WaitThread() on another.
+ *
+ *  The return code for the thread function is placed in the area
+ *  pointed to by \c status, if \c status is not NULL.
+ *
+ *  You may not wait on a thread that has been used in a call to
+ *  SDL_DetachThread(). Use either that function or this one, but not
+ *  both, or behavior is undefined.
+ *
+ *  It is safe to pass NULL to this function; it is a no-op.
+ */
+extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread * thread, int *status);
+
+/**
+ *  A thread may be "detached" to signify that it should not remain until
+ *  another thread has called SDL_WaitThread() on it. Detaching a thread
+ *  is useful for long-running threads that nothing needs to synchronize
+ *  with or further manage. When a detached thread is done, it simply
+ *  goes away.
+ *
+ *  There is no way to recover the return code of a detached thread. If you
+ *  need this, don't detach the thread and instead use SDL_WaitThread().
+ *
+ *  Once a thread is detached, you should usually assume the SDL_Thread isn't
+ *  safe to reference again, as it will become invalid immediately upon
+ *  the detached thread's exit, instead of remaining until someone has called
+ *  SDL_WaitThread() to finally clean it up. As such, don't detach the same
+ *  thread more than once.
+ *
+ *  If a thread has already exited when passed to SDL_DetachThread(), it will
+ *  stop waiting for a call to SDL_WaitThread() and clean up immediately.
+ *  It is not safe to detach a thread that might be used with SDL_WaitThread().
+ *
+ *  You may not call SDL_WaitThread() on a thread that has been detached.
+ *  Use either that function or this one, but not both, or behavior is
+ *  undefined.
+ *
+ *  It is safe to pass NULL to this function; it is a no-op.
+ */
+extern DECLSPEC void SDLCALL SDL_DetachThread(SDL_Thread * thread);
+
+/**
+ *  \brief Create an identifier that is globally visible to all threads but refers to data that is thread-specific.
+ *
+ *  \return The newly created thread local storage identifier, or 0 on error
+ *
+ *  \code
+ *  static SDL_SpinLock tls_lock;
+ *  static SDL_TLSID thread_local_storage;
+ * 
+ *  void SetMyThreadData(void *value)
+ *  {
+ *      if (!thread_local_storage) {
+ *          SDL_AtomicLock(&tls_lock);
+ *          if (!thread_local_storage) {
+ *              thread_local_storage = SDL_TLSCreate();
+ *          }
+ *          SDL_AtomicUnlock(&tls_lock);
+ *      }
+ *      SDL_TLSSet(thread_local_storage, value, 0);
+ *  }
+ *  
+ *  void *GetMyThreadData(void)
+ *  {
+ *      return SDL_TLSGet(thread_local_storage);
+ *  }
+ *  \endcode
+ *
+ *  \sa SDL_TLSGet()
+ *  \sa SDL_TLSSet()
+ */
+extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void);
+
+/**
+ *  \brief Get the value associated with a thread local storage ID for the current thread.
+ *
+ *  \param id The thread local storage ID
+ *
+ *  \return The value associated with the ID for the current thread, or NULL if no value has been set.
+ *
+ *  \sa SDL_TLSCreate()
+ *  \sa SDL_TLSSet()
+ */
+extern DECLSPEC void * SDLCALL SDL_TLSGet(SDL_TLSID id);
+
+/**
+ *  \brief Set the value associated with a thread local storage ID for the current thread.
+ *
+ *  \param id The thread local storage ID
+ *  \param value The value to associate with the ID for the current thread
+ *  \param destructor A function called when the thread exits, to free the value.
+ *
+ *  \return 0 on success, -1 on error
+ *
+ *  \sa SDL_TLSCreate()
+ *  \sa SDL_TLSGet()
+ */
+extern DECLSPEC int SDLCALL SDL_TLSSet(SDL_TLSID id, const void *value, void (SDLCALL *destructor)(void*));
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_thread_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h
@@ -1,0 +1,115 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_timer_h_
+#define SDL_timer_h_
+
+/**
+ *  \file SDL_timer.h
+ *
+ *  Header for the SDL time management routines.
+ */
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Get the number of milliseconds since the SDL library initialization.
+ *
+ * \note This value wraps if the program runs for more than ~49 days.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void);
+
+/**
+ * \brief Compare SDL ticks values, and return true if A has passed B
+ *
+ * e.g. if you want to wait 100 ms, you could do this:
+ *  Uint32 timeout = SDL_GetTicks() + 100;
+ *  while (!SDL_TICKS_PASSED(SDL_GetTicks(), timeout)) {
+ *      ... do work until timeout has elapsed
+ *  }
+ */
+#define SDL_TICKS_PASSED(A, B)  ((Sint32)((B) - (A)) <= 0)
+
+/**
+ * \brief Get the current value of the high resolution counter
+ */
+extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void);
+
+/**
+ * \brief Get the count per second of the high resolution counter
+ */
+extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void);
+
+/**
+ * \brief Wait a specified number of milliseconds before returning.
+ */
+extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms);
+
+/**
+ *  Function prototype for the timer callback function.
+ *
+ *  The callback function is passed the current timer interval and returns
+ *  the next timer interval.  If the returned value is the same as the one
+ *  passed in, the periodic alarm continues, otherwise a new alarm is
+ *  scheduled.  If the callback returns 0, the periodic alarm is cancelled.
+ */
+typedef Uint32 (SDLCALL * SDL_TimerCallback) (Uint32 interval, void *param);
+
+/**
+ * Definition of the timer ID type.
+ */
+typedef int SDL_TimerID;
+
+/**
+ * \brief Add a new timer to the pool of timers already running.
+ *
+ * \return A timer ID, or 0 when an error occurs.
+ */
+extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval,
+                                                 SDL_TimerCallback callback,
+                                                 void *param);
+
+/**
+ * \brief Remove a timer knowing its ID.
+ *
+ * \return A boolean value indicating success or failure.
+ *
+ * \warning It is not safe to remove a timer multiple times.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_timer_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h
@@ -1,0 +1,102 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_touch.h
+ *
+ *  Include file for SDL touch event handling.
+ */
+
+#ifndef SDL_touch_h_
+#define SDL_touch_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef Sint64 SDL_TouchID;
+typedef Sint64 SDL_FingerID;
+
+typedef enum
+{
+    SDL_TOUCH_DEVICE_INVALID = -1,
+    SDL_TOUCH_DEVICE_DIRECT,            /* touch screen with window-relative coordinates */
+    SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE, /* trackpad with absolute device coordinates */
+    SDL_TOUCH_DEVICE_INDIRECT_RELATIVE  /* trackpad with screen cursor-relative coordinates */
+} SDL_TouchDeviceType;
+
+typedef struct SDL_Finger
+{
+    SDL_FingerID id;
+    float x;
+    float y;
+    float pressure;
+} SDL_Finger;
+
+/* Used as the device ID for mouse events simulated with touch input */
+#define SDL_TOUCH_MOUSEID ((Uint32)-1)
+
+/* Used as the SDL_TouchID for touch events simulated with mouse input */
+#define SDL_MOUSE_TOUCHID ((Sint64)-1)
+
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the number of registered touch devices.
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void);
+
+/**
+ *  \brief Get the touch ID with the given index, or 0 if the index is invalid.
+ */
+extern DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice(int index);
+
+/**
+ * \brief Get the type of the given touch device.
+ */
+extern DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType(SDL_TouchID touchID);
+
+/**
+ *  \brief Get the number of active fingers for a given touch device.
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumTouchFingers(SDL_TouchID touchID);
+
+/**
+ *  \brief Get the finger object of the given touch, with the given index.
+ */
+extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int index);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_touch_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h
@@ -1,0 +1,29 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_types.h
+ *
+ *  \deprecated
+ */
+
+/* DEPRECATED */
+#include "SDL_stdinc.h"
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h
@@ -1,0 +1,162 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_version.h
+ *
+ *  This header defines the current SDL version.
+ */
+
+#ifndef SDL_version_h_
+#define SDL_version_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Information the version of SDL in use.
+ *
+ *  Represents the library's version as three levels: major revision
+ *  (increments with massive changes, additions, and enhancements),
+ *  minor revision (increments with backwards-compatible changes to the
+ *  major revision), and patchlevel (increments with fixes to the minor
+ *  revision).
+ *
+ *  \sa SDL_VERSION
+ *  \sa SDL_GetVersion
+ */
+typedef struct SDL_version
+{
+    Uint8 major;        /**< major version */
+    Uint8 minor;        /**< minor version */
+    Uint8 patch;        /**< update version */
+} SDL_version;
+
+/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL
+*/
+#define SDL_MAJOR_VERSION   2
+#define SDL_MINOR_VERSION   0
+#define SDL_PATCHLEVEL      10
+
+/**
+ *  \brief Macro to determine SDL version program was compiled against.
+ *
+ *  This macro fills in a SDL_version structure with the version of the
+ *  library you compiled against. This is determined by what header the
+ *  compiler uses. Note that if you dynamically linked the library, you might
+ *  have a slightly newer or older version at runtime. That version can be
+ *  determined with SDL_GetVersion(), which, unlike SDL_VERSION(),
+ *  is not a macro.
+ *
+ *  \param x A pointer to a SDL_version struct to initialize.
+ *
+ *  \sa SDL_version
+ *  \sa SDL_GetVersion
+ */
+#define SDL_VERSION(x)                          \
+{                                   \
+    (x)->major = SDL_MAJOR_VERSION;                 \
+    (x)->minor = SDL_MINOR_VERSION;                 \
+    (x)->patch = SDL_PATCHLEVEL;                    \
+}
+
+/**
+ *  This macro turns the version numbers into a numeric value:
+ *  \verbatim
+    (1,2,3) -> (1203)
+    \endverbatim
+ *
+ *  This assumes that there will never be more than 100 patchlevels.
+ */
+#define SDL_VERSIONNUM(X, Y, Z)                     \
+    ((X)*1000 + (Y)*100 + (Z))
+
+/**
+ *  This is the version number macro for the current SDL version.
+ */
+#define SDL_COMPILEDVERSION \
+    SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL)
+
+/**
+ *  This macro will evaluate to true if compiled with SDL at least X.Y.Z.
+ */
+#define SDL_VERSION_ATLEAST(X, Y, Z) \
+    (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))
+
+/**
+ *  \brief Get the version of SDL that is linked against your program.
+ *
+ *  If you are linking to SDL dynamically, then it is possible that the
+ *  current version will be different than the version you compiled against.
+ *  This function returns the current version, while SDL_VERSION() is a
+ *  macro that tells you what version you compiled with.
+ *
+ *  \code
+ *  SDL_version compiled;
+ *  SDL_version linked;
+ *
+ *  SDL_VERSION(&compiled);
+ *  SDL_GetVersion(&linked);
+ *  printf("We compiled against SDL version %d.%d.%d ...\n",
+ *         compiled.major, compiled.minor, compiled.patch);
+ *  printf("But we linked against SDL version %d.%d.%d.\n",
+ *         linked.major, linked.minor, linked.patch);
+ *  \endcode
+ *
+ *  This function may be called safely at any time, even before SDL_Init().
+ *
+ *  \sa SDL_VERSION
+ */
+extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
+
+/**
+ *  \brief Get the code revision of SDL that is linked against your program.
+ *
+ *  Returns an arbitrary string (a hash value) uniquely identifying the
+ *  exact revision of the SDL library in use, and is only useful in comparing
+ *  against other revisions. It is NOT an incrementing number.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
+
+/**
+ *  \brief Get the revision number of SDL that is linked against your program.
+ *
+ *  Returns a number uniquely identifying the exact revision of the SDL
+ *  library in use. It is an incrementing number based on commits to
+ *  hg.libsdl.org.
+ */
+extern DECLSPEC int SDLCALL SDL_GetRevisionNumber(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_version_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h
@@ -1,0 +1,1276 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_video.h
+ *
+ *  Header file for SDL video functions.
+ */
+
+#ifndef SDL_video_h_
+#define SDL_video_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_pixels.h"
+#include "SDL_rect.h"
+#include "SDL_surface.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief  The structure that defines a display mode
+ *
+ *  \sa SDL_GetNumDisplayModes()
+ *  \sa SDL_GetDisplayMode()
+ *  \sa SDL_GetDesktopDisplayMode()
+ *  \sa SDL_GetCurrentDisplayMode()
+ *  \sa SDL_GetClosestDisplayMode()
+ *  \sa SDL_SetWindowDisplayMode()
+ *  \sa SDL_GetWindowDisplayMode()
+ */
+typedef struct
+{
+    Uint32 format;              /**< pixel format */
+    int w;                      /**< width, in screen coordinates */
+    int h;                      /**< height, in screen coordinates */
+    int refresh_rate;           /**< refresh rate (or zero for unspecified) */
+    void *driverdata;           /**< driver-specific data, initialize to 0 */
+} SDL_DisplayMode;
+
+/**
+ *  \brief The type used to identify a window
+ *
+ *  \sa SDL_CreateWindow()
+ *  \sa SDL_CreateWindowFrom()
+ *  \sa SDL_DestroyWindow()
+ *  \sa SDL_GetWindowData()
+ *  \sa SDL_GetWindowFlags()
+ *  \sa SDL_GetWindowGrab()
+ *  \sa SDL_GetWindowPosition()
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_GetWindowTitle()
+ *  \sa SDL_HideWindow()
+ *  \sa SDL_MaximizeWindow()
+ *  \sa SDL_MinimizeWindow()
+ *  \sa SDL_RaiseWindow()
+ *  \sa SDL_RestoreWindow()
+ *  \sa SDL_SetWindowData()
+ *  \sa SDL_SetWindowFullscreen()
+ *  \sa SDL_SetWindowGrab()
+ *  \sa SDL_SetWindowIcon()
+ *  \sa SDL_SetWindowPosition()
+ *  \sa SDL_SetWindowSize()
+ *  \sa SDL_SetWindowBordered()
+ *  \sa SDL_SetWindowResizable()
+ *  \sa SDL_SetWindowTitle()
+ *  \sa SDL_ShowWindow()
+ */
+typedef struct SDL_Window SDL_Window;
+
+/**
+ *  \brief The flags on a window
+ *
+ *  \sa SDL_GetWindowFlags()
+ */
+typedef enum
+{
+    /* !!! FIXME: change this to name = (1<<x). */
+    SDL_WINDOW_FULLSCREEN = 0x00000001,         /**< fullscreen window */
+    SDL_WINDOW_OPENGL = 0x00000002,             /**< window usable with OpenGL context */
+    SDL_WINDOW_SHOWN = 0x00000004,              /**< window is visible */
+    SDL_WINDOW_HIDDEN = 0x00000008,             /**< window is not visible */
+    SDL_WINDOW_BORDERLESS = 0x00000010,         /**< no window decoration */
+    SDL_WINDOW_RESIZABLE = 0x00000020,          /**< window can be resized */
+    SDL_WINDOW_MINIMIZED = 0x00000040,          /**< window is minimized */
+    SDL_WINDOW_MAXIMIZED = 0x00000080,          /**< window is maximized */
+    SDL_WINDOW_INPUT_GRABBED = 0x00000100,      /**< window has grabbed input focus */
+    SDL_WINDOW_INPUT_FOCUS = 0x00000200,        /**< window has input focus */
+    SDL_WINDOW_MOUSE_FOCUS = 0x00000400,        /**< window has mouse focus */
+    SDL_WINDOW_FULLSCREEN_DESKTOP = ( SDL_WINDOW_FULLSCREEN | 0x00001000 ),
+    SDL_WINDOW_FOREIGN = 0x00000800,            /**< window not created by SDL */
+    SDL_WINDOW_ALLOW_HIGHDPI = 0x00002000,      /**< window should be created in high-DPI mode if supported.
+                                                     On macOS NSHighResolutionCapable must be set true in the
+                                                     application's Info.plist for this to have any effect. */
+    SDL_WINDOW_MOUSE_CAPTURE = 0x00004000,      /**< window has mouse captured (unrelated to INPUT_GRABBED) */
+    SDL_WINDOW_ALWAYS_ON_TOP = 0x00008000,      /**< window should always be above others */
+    SDL_WINDOW_SKIP_TASKBAR  = 0x00010000,      /**< window should not be added to the taskbar */
+    SDL_WINDOW_UTILITY       = 0x00020000,      /**< window should be treated as a utility window */
+    SDL_WINDOW_TOOLTIP       = 0x00040000,      /**< window should be treated as a tooltip */
+    SDL_WINDOW_POPUP_MENU    = 0x00080000,      /**< window should be treated as a popup menu */
+    SDL_WINDOW_VULKAN        = 0x10000000       /**< window usable for Vulkan surface */
+} SDL_WindowFlags;
+
+/**
+ *  \brief Used to indicate that you don't care what the window position is.
+ */
+#define SDL_WINDOWPOS_UNDEFINED_MASK    0x1FFF0000u
+#define SDL_WINDOWPOS_UNDEFINED_DISPLAY(X)  (SDL_WINDOWPOS_UNDEFINED_MASK|(X))
+#define SDL_WINDOWPOS_UNDEFINED         SDL_WINDOWPOS_UNDEFINED_DISPLAY(0)
+#define SDL_WINDOWPOS_ISUNDEFINED(X)    \
+            (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK)
+
+/**
+ *  \brief Used to indicate that the window position should be centered.
+ */
+#define SDL_WINDOWPOS_CENTERED_MASK    0x2FFF0000u
+#define SDL_WINDOWPOS_CENTERED_DISPLAY(X)  (SDL_WINDOWPOS_CENTERED_MASK|(X))
+#define SDL_WINDOWPOS_CENTERED         SDL_WINDOWPOS_CENTERED_DISPLAY(0)
+#define SDL_WINDOWPOS_ISCENTERED(X)    \
+            (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK)
+
+/**
+ *  \brief Event subtype for window events
+ */
+typedef enum
+{
+    SDL_WINDOWEVENT_NONE,           /**< Never used */
+    SDL_WINDOWEVENT_SHOWN,          /**< Window has been shown */
+    SDL_WINDOWEVENT_HIDDEN,         /**< Window has been hidden */
+    SDL_WINDOWEVENT_EXPOSED,        /**< Window has been exposed and should be
+                                         redrawn */
+    SDL_WINDOWEVENT_MOVED,          /**< Window has been moved to data1, data2
+                                     */
+    SDL_WINDOWEVENT_RESIZED,        /**< Window has been resized to data1xdata2 */
+    SDL_WINDOWEVENT_SIZE_CHANGED,   /**< The window size has changed, either as
+                                         a result of an API call or through the
+                                         system or user changing the window size. */
+    SDL_WINDOWEVENT_MINIMIZED,      /**< Window has been minimized */
+    SDL_WINDOWEVENT_MAXIMIZED,      /**< Window has been maximized */
+    SDL_WINDOWEVENT_RESTORED,       /**< Window has been restored to normal size
+                                         and position */
+    SDL_WINDOWEVENT_ENTER,          /**< Window has gained mouse focus */
+    SDL_WINDOWEVENT_LEAVE,          /**< Window has lost mouse focus */
+    SDL_WINDOWEVENT_FOCUS_GAINED,   /**< Window has gained keyboard focus */
+    SDL_WINDOWEVENT_FOCUS_LOST,     /**< Window has lost keyboard focus */
+    SDL_WINDOWEVENT_CLOSE,          /**< The window manager requests that the window be closed */
+    SDL_WINDOWEVENT_TAKE_FOCUS,     /**< Window is being offered a focus (should SetWindowInputFocus() on itself or a subwindow, or ignore) */
+    SDL_WINDOWEVENT_HIT_TEST        /**< Window had a hit test that wasn't SDL_HITTEST_NORMAL. */
+} SDL_WindowEventID;
+
+/**
+ *  \brief Event subtype for display events
+ */
+typedef enum
+{
+    SDL_DISPLAYEVENT_NONE,          /**< Never used */
+    SDL_DISPLAYEVENT_ORIENTATION    /**< Display orientation has changed to data1 */
+} SDL_DisplayEventID;
+
+typedef enum
+{
+    SDL_ORIENTATION_UNKNOWN,            /**< The display orientation can't be determined */
+    SDL_ORIENTATION_LANDSCAPE,          /**< The display is in landscape mode, with the right side up, relative to portrait mode */
+    SDL_ORIENTATION_LANDSCAPE_FLIPPED,  /**< The display is in landscape mode, with the left side up, relative to portrait mode */
+    SDL_ORIENTATION_PORTRAIT,           /**< The display is in portrait mode */
+    SDL_ORIENTATION_PORTRAIT_FLIPPED    /**< The display is in portrait mode, upside down */
+} SDL_DisplayOrientation;
+
+/**
+ *  \brief An opaque handle to an OpenGL context.
+ */
+typedef void *SDL_GLContext;
+
+/**
+ *  \brief OpenGL configuration attributes
+ */
+typedef enum
+{
+    SDL_GL_RED_SIZE,
+    SDL_GL_GREEN_SIZE,
+    SDL_GL_BLUE_SIZE,
+    SDL_GL_ALPHA_SIZE,
+    SDL_GL_BUFFER_SIZE,
+    SDL_GL_DOUBLEBUFFER,
+    SDL_GL_DEPTH_SIZE,
+    SDL_GL_STENCIL_SIZE,
+    SDL_GL_ACCUM_RED_SIZE,
+    SDL_GL_ACCUM_GREEN_SIZE,
+    SDL_GL_ACCUM_BLUE_SIZE,
+    SDL_GL_ACCUM_ALPHA_SIZE,
+    SDL_GL_STEREO,
+    SDL_GL_MULTISAMPLEBUFFERS,
+    SDL_GL_MULTISAMPLESAMPLES,
+    SDL_GL_ACCELERATED_VISUAL,
+    SDL_GL_RETAINED_BACKING,
+    SDL_GL_CONTEXT_MAJOR_VERSION,
+    SDL_GL_CONTEXT_MINOR_VERSION,
+    SDL_GL_CONTEXT_EGL,
+    SDL_GL_CONTEXT_FLAGS,
+    SDL_GL_CONTEXT_PROFILE_MASK,
+    SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
+    SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
+    SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
+    SDL_GL_CONTEXT_RESET_NOTIFICATION,
+    SDL_GL_CONTEXT_NO_ERROR
+} SDL_GLattr;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_PROFILE_CORE           = 0x0001,
+    SDL_GL_CONTEXT_PROFILE_COMPATIBILITY  = 0x0002,
+    SDL_GL_CONTEXT_PROFILE_ES             = 0x0004 /**< GLX_CONTEXT_ES2_PROFILE_BIT_EXT */
+} SDL_GLprofile;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_DEBUG_FLAG              = 0x0001,
+    SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 0x0002,
+    SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG      = 0x0004,
+    SDL_GL_CONTEXT_RESET_ISOLATION_FLAG    = 0x0008
+} SDL_GLcontextFlag;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE   = 0x0000,
+    SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH  = 0x0001
+} SDL_GLcontextReleaseFlag;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_RESET_NO_NOTIFICATION = 0x0000,
+    SDL_GL_CONTEXT_RESET_LOSE_CONTEXT    = 0x0001
+} SDL_GLContextResetNotification;
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the number of video drivers compiled into SDL
+ *
+ *  \sa SDL_GetVideoDriver()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumVideoDrivers(void);
+
+/**
+ *  \brief Get the name of a built in video driver.
+ *
+ *  \note The video drivers are presented in the order in which they are
+ *        normally checked during initialization.
+ *
+ *  \sa SDL_GetNumVideoDrivers()
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetVideoDriver(int index);
+
+/**
+ *  \brief Initialize the video subsystem, optionally specifying a video driver.
+ *
+ *  \param driver_name Initialize a specific driver by name, or NULL for the
+ *                     default video driver.
+ *
+ *  \return 0 on success, -1 on error
+ *
+ *  This function initializes the video subsystem; setting up a connection
+ *  to the window manager, etc, and determines the available display modes
+ *  and pixel formats, but does not initialize a window or graphics mode.
+ *
+ *  \sa SDL_VideoQuit()
+ */
+extern DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name);
+
+/**
+ *  \brief Shuts down the video subsystem.
+ *
+ *  This function closes all windows, and restores the original video mode.
+ *
+ *  \sa SDL_VideoInit()
+ */
+extern DECLSPEC void SDLCALL SDL_VideoQuit(void);
+
+/**
+ *  \brief Returns the name of the currently initialized video driver.
+ *
+ *  \return The name of the current video driver or NULL if no driver
+ *          has been initialized
+ *
+ *  \sa SDL_GetNumVideoDrivers()
+ *  \sa SDL_GetVideoDriver()
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetCurrentVideoDriver(void);
+
+/**
+ *  \brief Returns the number of available video displays.
+ *
+ *  \sa SDL_GetDisplayBounds()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumVideoDisplays(void);
+
+/**
+ *  \brief Get the name of a display in UTF-8 encoding
+ *
+ *  \return The name of a display, or NULL for an invalid display index.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC const char * SDLCALL SDL_GetDisplayName(int displayIndex);
+
+/**
+ *  \brief Get the desktop area represented by a display, with the primary
+ *         display located at 0,0
+ *
+ *  \return 0 on success, or -1 if the index is out of range.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayBounds(int displayIndex, SDL_Rect * rect);
+
+/**
+ *  \brief Get the usable desktop area represented by a display, with the
+ *         primary display located at 0,0
+ *
+ *  This is the same area as SDL_GetDisplayBounds() reports, but with portions
+ *  reserved by the system removed. For example, on Mac OS X, this subtracts
+ *  the area occupied by the menu bar and dock.
+ *
+ *  Setting a window to be fullscreen generally bypasses these unusable areas,
+ *  so these are good guidelines for the maximum space available to a
+ *  non-fullscreen window.
+ *
+ *  \return 0 on success, or -1 if the index is out of range.
+ *
+ *  \sa SDL_GetDisplayBounds()
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rect * rect);
+
+/**
+ *  \brief Get the dots/pixels-per-inch for a display
+ *
+ *  \note Diagonal, horizontal and vertical DPI can all be optionally
+ *        returned if the parameter is non-NULL.
+ *
+ *  \return 0 on success, or -1 if no DPI information is available or the index is out of range.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi);
+
+/**
+ *  \brief Get the orientation of a display
+ *
+ *  \return The orientation of the display, or SDL_ORIENTATION_UNKNOWN if it isn't available.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC SDL_DisplayOrientation SDLCALL SDL_GetDisplayOrientation(int displayIndex);
+
+/**
+ *  \brief Returns the number of available display modes.
+ *
+ *  \sa SDL_GetDisplayMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumDisplayModes(int displayIndex);
+
+/**
+ *  \brief Fill in information about a specific display mode.
+ *
+ *  \note The display modes are sorted in this priority:
+ *        \li bits per pixel -> more colors to fewer colors
+ *        \li width -> largest to smallest
+ *        \li height -> largest to smallest
+ *        \li refresh rate -> highest to lowest
+ *
+ *  \sa SDL_GetNumDisplayModes()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayMode(int displayIndex, int modeIndex,
+                                               SDL_DisplayMode * mode);
+
+/**
+ *  \brief Fill in information about the desktop display mode.
+ */
+extern DECLSPEC int SDLCALL SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode * mode);
+
+/**
+ *  \brief Fill in information about the current display mode.
+ */
+extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(int displayIndex, SDL_DisplayMode * mode);
+
+
+/**
+ *  \brief Get the closest match to the requested display mode.
+ *
+ *  \param displayIndex The index of display from which mode should be queried.
+ *  \param mode The desired display mode
+ *  \param closest A pointer to a display mode to be filled in with the closest
+ *                 match of the available display modes.
+ *
+ *  \return The passed in value \c closest, or NULL if no matching video mode
+ *          was available.
+ *
+ *  The available display modes are scanned, and \c closest is filled in with the
+ *  closest mode matching the requested mode and returned.  The mode format and
+ *  refresh_rate default to the desktop mode if they are 0.  The modes are
+ *  scanned with size being first priority, format being second priority, and
+ *  finally checking the refresh_rate.  If all the available modes are too
+ *  small, then NULL is returned.
+ *
+ *  \sa SDL_GetNumDisplayModes()
+ *  \sa SDL_GetDisplayMode()
+ */
+extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode * mode, SDL_DisplayMode * closest);
+
+/**
+ *  \brief Get the display index associated with a window.
+ *
+ *  \return the display index of the display containing the center of the
+ *          window, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowDisplayIndex(SDL_Window * window);
+
+/**
+ *  \brief Set the display mode used when a fullscreen window is visible.
+ *
+ *  By default the window's dimensions and the desktop format and refresh rate
+ *  are used.
+ *
+ *  \param window The window for which the display mode should be set.
+ *  \param mode The mode to use, or NULL for the default mode.
+ *
+ *  \return 0 on success, or -1 if setting the display mode failed.
+ *
+ *  \sa SDL_GetWindowDisplayMode()
+ *  \sa SDL_SetWindowFullscreen()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowDisplayMode(SDL_Window * window,
+                                                     const SDL_DisplayMode
+                                                         * mode);
+
+/**
+ *  \brief Fill in information about the display mode used when a fullscreen
+ *         window is visible.
+ *
+ *  \sa SDL_SetWindowDisplayMode()
+ *  \sa SDL_SetWindowFullscreen()
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_Window * window,
+                                                     SDL_DisplayMode * mode);
+
+/**
+ *  \brief Get the pixel format associated with the window.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window);
+
+/**
+ *  \brief Create a window with the specified position, dimensions, and flags.
+ *
+ *  \param title The title of the window, in UTF-8 encoding.
+ *  \param x     The x position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param y     The y position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param w     The width of the window, in screen coordinates.
+ *  \param h     The height of the window, in screen coordinates.
+ *  \param flags The flags for the window, a mask of any of the following:
+ *               ::SDL_WINDOW_FULLSCREEN,    ::SDL_WINDOW_OPENGL,
+ *               ::SDL_WINDOW_HIDDEN,        ::SDL_WINDOW_BORDERLESS,
+ *               ::SDL_WINDOW_RESIZABLE,     ::SDL_WINDOW_MAXIMIZED,
+ *               ::SDL_WINDOW_MINIMIZED,     ::SDL_WINDOW_INPUT_GRABBED,
+ *               ::SDL_WINDOW_ALLOW_HIGHDPI, ::SDL_WINDOW_VULKAN.
+ *
+ *  \return The created window, or NULL if window creation failed.
+ *
+ *  If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size
+ *  in pixels may differ from its size in screen coordinates on platforms with
+ *  high-DPI support (e.g. iOS and Mac OS X). Use SDL_GetWindowSize() to query
+ *  the client area's size in screen coordinates, and SDL_GL_GetDrawableSize(),
+ *  SDL_Vulkan_GetDrawableSize(), or SDL_GetRendererOutputSize() to query the
+ *  drawable size in pixels.
+ *
+ *  If the window is created with any of the SDL_WINDOW_OPENGL or
+ *  SDL_WINDOW_VULKAN flags, then the corresponding LoadLibrary function
+ *  (SDL_GL_LoadLibrary or SDL_Vulkan_LoadLibrary) is called and the
+ *  corresponding UnloadLibrary function is called by SDL_DestroyWindow().
+ *
+ *  If SDL_WINDOW_VULKAN is specified and there isn't a working Vulkan driver,
+ *  SDL_CreateWindow() will fail because SDL_Vulkan_LoadLibrary() will fail.
+ *
+ *  \note On non-Apple devices, SDL requires you to either not link to the
+ *        Vulkan loader or link to a dynamic library version. This limitation
+ *        may be removed in a future version of SDL.
+ *
+ *  \sa SDL_DestroyWindow()
+ *  \sa SDL_GL_LoadLibrary()
+ *  \sa SDL_Vulkan_LoadLibrary()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindow(const char *title,
+                                                      int x, int y, int w,
+                                                      int h, Uint32 flags);
+
+/**
+ *  \brief Create an SDL window from an existing native window.
+ *
+ *  \param data A pointer to driver-dependent window creation data
+ *
+ *  \return The created window, or NULL if window creation failed.
+ *
+ *  \sa SDL_DestroyWindow()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindowFrom(const void *data);
+
+/**
+ *  \brief Get the numeric ID of a window, for logging purposes.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetWindowID(SDL_Window * window);
+
+/**
+ *  \brief Get a window from a stored ID, or NULL if it doesn't exist.
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetWindowFromID(Uint32 id);
+
+/**
+ *  \brief Get the window flags.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetWindowFlags(SDL_Window * window);
+
+/**
+ *  \brief Set the title of a window, in UTF-8 format.
+ *
+ *  \sa SDL_GetWindowTitle()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowTitle(SDL_Window * window,
+                                                const char *title);
+
+/**
+ *  \brief Get the title of a window, in UTF-8 format.
+ *
+ *  \sa SDL_SetWindowTitle()
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_Window * window);
+
+/**
+ *  \brief Set the icon for a window.
+ *
+ *  \param window The window for which the icon should be set.
+ *  \param icon The icon for the window.
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Window * window,
+                                               SDL_Surface * icon);
+
+/**
+ *  \brief Associate an arbitrary named pointer with a window.
+ *
+ *  \param window   The window to associate with the pointer.
+ *  \param name     The name of the pointer.
+ *  \param userdata The associated pointer.
+ *
+ *  \return The previous value associated with 'name'
+ *
+ *  \note The name is case-sensitive.
+ *
+ *  \sa SDL_GetWindowData()
+ */
+extern DECLSPEC void* SDLCALL SDL_SetWindowData(SDL_Window * window,
+                                                const char *name,
+                                                void *userdata);
+
+/**
+ *  \brief Retrieve the data pointer associated with a window.
+ *
+ *  \param window   The window to query.
+ *  \param name     The name of the pointer.
+ *
+ *  \return The value associated with 'name'
+ *
+ *  \sa SDL_SetWindowData()
+ */
+extern DECLSPEC void *SDLCALL SDL_GetWindowData(SDL_Window * window,
+                                                const char *name);
+
+/**
+ *  \brief Set the position of a window.
+ *
+ *  \param window   The window to reposition.
+ *  \param x        The x coordinate of the window in screen coordinates, or
+ *                  ::SDL_WINDOWPOS_CENTERED or ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param y        The y coordinate of the window in screen coordinates, or
+ *                  ::SDL_WINDOWPOS_CENTERED or ::SDL_WINDOWPOS_UNDEFINED.
+ *
+ *  \note The window coordinate origin is the upper left of the display.
+ *
+ *  \sa SDL_GetWindowPosition()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowPosition(SDL_Window * window,
+                                                   int x, int y);
+
+/**
+ *  \brief Get the position of a window.
+ *
+ *  \param window   The window to query.
+ *  \param x        Pointer to variable for storing the x position, in screen
+ *                  coordinates. May be NULL.
+ *  \param y        Pointer to variable for storing the y position, in screen
+ *                  coordinates. May be NULL.
+ *
+ *  \sa SDL_SetWindowPosition()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window * window,
+                                                   int *x, int *y);
+
+/**
+ *  \brief Set the size of a window's client area.
+ *
+ *  \param window   The window to resize.
+ *  \param w        The width of the window, in screen coordinates. Must be >0.
+ *  \param h        The height of the window, in screen coordinates. Must be >0.
+ *
+ *  \note Fullscreen windows automatically match the size of the display mode,
+ *        and you should use SDL_SetWindowDisplayMode() to change their size.
+ *
+ *  The window size in screen coordinates may differ from the size in pixels, if
+ *  the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with
+ *  high-dpi support (e.g. iOS or OS X). Use SDL_GL_GetDrawableSize() or
+ *  SDL_GetRendererOutputSize() to get the real client area size in pixels.
+ *
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_SetWindowDisplayMode()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowSize(SDL_Window * window, int w,
+                                               int h);
+
+/**
+ *  \brief Get the size of a window's client area.
+ *
+ *  \param window   The window to query.
+ *  \param w        Pointer to variable for storing the width, in screen
+ *                  coordinates. May be NULL.
+ *  \param h        Pointer to variable for storing the height, in screen
+ *                  coordinates. May be NULL.
+ *
+ *  The window size in screen coordinates may differ from the size in pixels, if
+ *  the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with
+ *  high-dpi support (e.g. iOS or OS X). Use SDL_GL_GetDrawableSize() or
+ *  SDL_GetRendererOutputSize() to get the real client area size in pixels.
+ *
+ *  \sa SDL_SetWindowSize()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window * window, int *w,
+                                               int *h);
+
+/**
+ *  \brief Get the size of a window's borders (decorations) around the client area.
+ *
+ *  \param window The window to query.
+ *  \param top Pointer to variable for storing the size of the top border. NULL is permitted.
+ *  \param left Pointer to variable for storing the size of the left border. NULL is permitted.
+ *  \param bottom Pointer to variable for storing the size of the bottom border. NULL is permitted.
+ *  \param right Pointer to variable for storing the size of the right border. NULL is permitted.
+ *
+ *  \return 0 on success, or -1 if getting this information is not supported.
+ *
+ *  \note if this function fails (returns -1), the size values will be
+ *        initialized to 0, 0, 0, 0 (if a non-NULL pointer is provided), as
+ *        if the window in question was borderless.
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowBordersSize(SDL_Window * window,
+                                                     int *top, int *left,
+                                                     int *bottom, int *right);
+
+/**
+ *  \brief Set the minimum size of a window's client area.
+ *
+ *  \param window    The window to set a new minimum size.
+ *  \param min_w     The minimum width of the window, must be >0
+ *  \param min_h     The minimum height of the window, must be >0
+ *
+ *  \note You can't change the minimum size of a fullscreen window, it
+ *        automatically matches the size of the display mode.
+ *
+ *  \sa SDL_GetWindowMinimumSize()
+ *  \sa SDL_SetWindowMaximumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window,
+                                                      int min_w, int min_h);
+
+/**
+ *  \brief Get the minimum size of a window's client area.
+ *
+ *  \param window   The window to query.
+ *  \param w        Pointer to variable for storing the minimum width, may be NULL
+ *  \param h        Pointer to variable for storing the minimum height, may be NULL
+ *
+ *  \sa SDL_GetWindowMaximumSize()
+ *  \sa SDL_SetWindowMinimumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window,
+                                                      int *w, int *h);
+
+/**
+ *  \brief Set the maximum size of a window's client area.
+ *
+ *  \param window    The window to set a new maximum size.
+ *  \param max_w     The maximum width of the window, must be >0
+ *  \param max_h     The maximum height of the window, must be >0
+ *
+ *  \note You can't change the maximum size of a fullscreen window, it
+ *        automatically matches the size of the display mode.
+ *
+ *  \sa SDL_GetWindowMaximumSize()
+ *  \sa SDL_SetWindowMinimumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window * window,
+                                                      int max_w, int max_h);
+
+/**
+ *  \brief Get the maximum size of a window's client area.
+ *
+ *  \param window   The window to query.
+ *  \param w        Pointer to variable for storing the maximum width, may be NULL
+ *  \param h        Pointer to variable for storing the maximum height, may be NULL
+ *
+ *  \sa SDL_GetWindowMinimumSize()
+ *  \sa SDL_SetWindowMaximumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowMaximumSize(SDL_Window * window,
+                                                      int *w, int *h);
+
+/**
+ *  \brief Set the border state of a window.
+ *
+ *  This will add or remove the window's SDL_WINDOW_BORDERLESS flag and
+ *  add or remove the border from the actual window. This is a no-op if the
+ *  window's border already matches the requested state.
+ *
+ *  \param window The window of which to change the border state.
+ *  \param bordered SDL_FALSE to remove border, SDL_TRUE to add border.
+ *
+ *  \note You can't change the border state of a fullscreen window.
+ *
+ *  \sa SDL_GetWindowFlags()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowBordered(SDL_Window * window,
+                                                   SDL_bool bordered);
+
+/**
+ *  \brief Set the user-resizable state of a window.
+ *
+ *  This will add or remove the window's SDL_WINDOW_RESIZABLE flag and
+ *  allow/disallow user resizing of the window. This is a no-op if the
+ *  window's resizable state already matches the requested state.
+ *
+ *  \param window The window of which to change the resizable state.
+ *  \param resizable SDL_TRUE to allow resizing, SDL_FALSE to disallow.
+ *
+ *  \note You can't change the resizable state of a fullscreen window.
+ *
+ *  \sa SDL_GetWindowFlags()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowResizable(SDL_Window * window,
+                                                    SDL_bool resizable);
+
+/**
+ *  \brief Show a window.
+ *
+ *  \sa SDL_HideWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_ShowWindow(SDL_Window * window);
+
+/**
+ *  \brief Hide a window.
+ *
+ *  \sa SDL_ShowWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_HideWindow(SDL_Window * window);
+
+/**
+ *  \brief Raise a window above other windows and set the input focus.
+ */
+extern DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_Window * window);
+
+/**
+ *  \brief Make a window as large as possible.
+ *
+ *  \sa SDL_RestoreWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_MaximizeWindow(SDL_Window * window);
+
+/**
+ *  \brief Minimize a window to an iconic representation.
+ *
+ *  \sa SDL_RestoreWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_MinimizeWindow(SDL_Window * window);
+
+/**
+ *  \brief Restore the size and position of a minimized or maximized window.
+ *
+ *  \sa SDL_MaximizeWindow()
+ *  \sa SDL_MinimizeWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_RestoreWindow(SDL_Window * window);
+
+/**
+ *  \brief Set a window's fullscreen state.
+ *
+ *  \return 0 on success, or -1 if setting the display mode failed.
+ *
+ *  \sa SDL_SetWindowDisplayMode()
+ *  \sa SDL_GetWindowDisplayMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowFullscreen(SDL_Window * window,
+                                                    Uint32 flags);
+
+/**
+ *  \brief Get the SDL surface associated with the window.
+ *
+ *  \return The window's framebuffer surface, or NULL on error.
+ *
+ *  A new surface will be created with the optimal format for the window,
+ *  if necessary. This surface will be freed when the window is destroyed.
+ *
+ *  \note You may not combine this with 3D or the rendering API on this window.
+ *
+ *  \sa SDL_UpdateWindowSurface()
+ *  \sa SDL_UpdateWindowSurfaceRects()
+ */
+extern DECLSPEC SDL_Surface * SDLCALL SDL_GetWindowSurface(SDL_Window * window);
+
+/**
+ *  \brief Copy the window surface to the screen.
+ *
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_GetWindowSurface()
+ *  \sa SDL_UpdateWindowSurfaceRects()
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateWindowSurface(SDL_Window * window);
+
+/**
+ *  \brief Copy a number of rectangles on the window surface to the screen.
+ *
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_GetWindowSurface()
+ *  \sa SDL_UpdateWindowSurface()
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateWindowSurfaceRects(SDL_Window * window,
+                                                         const SDL_Rect * rects,
+                                                         int numrects);
+
+/**
+ *  \brief Set a window's input grab mode.
+ *
+ *  \param window The window for which the input grab mode should be set.
+ *  \param grabbed This is SDL_TRUE to grab input, and SDL_FALSE to release input.
+ *
+ *  If the caller enables a grab while another window is currently grabbed,
+ *  the other window loses its grab in favor of the caller's window.
+ *
+ *  \sa SDL_GetWindowGrab()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
+                                               SDL_bool grabbed);
+
+/**
+ *  \brief Get a window's input grab mode.
+ *
+ *  \return This returns SDL_TRUE if input is grabbed, and SDL_FALSE otherwise.
+ *
+ *  \sa SDL_SetWindowGrab()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab(SDL_Window * window);
+
+/**
+ *  \brief Get the window that currently has an input grab enabled.
+ *
+ *  \return This returns the window if input is grabbed, and NULL otherwise.
+ *
+ *  \sa SDL_SetWindowGrab()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetGrabbedWindow(void);
+
+/**
+ *  \brief Set the brightness (gamma correction) for a window.
+ *
+ *  \return 0 on success, or -1 if setting the brightness isn't supported.
+ *
+ *  \sa SDL_GetWindowBrightness()
+ *  \sa SDL_SetWindowGammaRamp()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowBrightness(SDL_Window * window, float brightness);
+
+/**
+ *  \brief Get the brightness (gamma correction) for a window.
+ *
+ *  \return The last brightness value passed to SDL_SetWindowBrightness()
+ *
+ *  \sa SDL_SetWindowBrightness()
+ */
+extern DECLSPEC float SDLCALL SDL_GetWindowBrightness(SDL_Window * window);
+
+/**
+ *  \brief Set the opacity for a window
+ *
+ *  \param window The window which will be made transparent or opaque
+ *  \param opacity Opacity (0.0f - transparent, 1.0f - opaque) This will be
+ *                 clamped internally between 0.0f and 1.0f.
+ *
+ *  \return 0 on success, or -1 if setting the opacity isn't supported.
+ *
+ *  \sa SDL_GetWindowOpacity()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowOpacity(SDL_Window * window, float opacity);
+
+/**
+ *  \brief Get the opacity of a window.
+ *
+ *  If transparency isn't supported on this platform, opacity will be reported
+ *  as 1.0f without error.
+ *
+ *  \param window The window in question.
+ *  \param out_opacity Opacity (0.0f - transparent, 1.0f - opaque)
+ *
+ *  \return 0 on success, or -1 on error (invalid window, etc).
+ *
+ *  \sa SDL_SetWindowOpacity()
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window * window, float * out_opacity);
+
+/**
+ *  \brief Sets the window as a modal for another window (TODO: reconsider this function and/or its name)
+ *
+ *  \param modal_window The window that should be modal
+ *  \param parent_window The parent window
+ *
+ *  \return 0 on success, or -1 otherwise.
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowModalFor(SDL_Window * modal_window, SDL_Window * parent_window);
+
+/**
+ *  \brief Explicitly sets input focus to the window.
+ *
+ *  You almost certainly want SDL_RaiseWindow() instead of this function. Use
+ *  this with caution, as you might give focus to a window that's completely
+ *  obscured by other windows.
+ *
+ *  \param window The window that should get the input focus
+ *
+ *  \return 0 on success, or -1 otherwise.
+ *  \sa SDL_RaiseWindow()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowInputFocus(SDL_Window * window);
+
+/**
+ *  \brief Set the gamma ramp for a window.
+ *
+ *  \param window The window for which the gamma ramp should be set.
+ *  \param red The translation table for the red channel, or NULL.
+ *  \param green The translation table for the green channel, or NULL.
+ *  \param blue The translation table for the blue channel, or NULL.
+ *
+ *  \return 0 on success, or -1 if gamma ramps are unsupported.
+ *
+ *  Set the gamma translation table for the red, green, and blue channels
+ *  of the video hardware.  Each table is an array of 256 16-bit quantities,
+ *  representing a mapping between the input and output for that channel.
+ *  The input is the index into the array, and the output is the 16-bit
+ *  gamma value at that index, scaled to the output color precision.
+ *
+ *  \sa SDL_GetWindowGammaRamp()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowGammaRamp(SDL_Window * window,
+                                                   const Uint16 * red,
+                                                   const Uint16 * green,
+                                                   const Uint16 * blue);
+
+/**
+ *  \brief Get the gamma ramp for a window.
+ *
+ *  \param window The window from which the gamma ramp should be queried.
+ *  \param red   A pointer to a 256 element array of 16-bit quantities to hold
+ *               the translation table for the red channel, or NULL.
+ *  \param green A pointer to a 256 element array of 16-bit quantities to hold
+ *               the translation table for the green channel, or NULL.
+ *  \param blue  A pointer to a 256 element array of 16-bit quantities to hold
+ *               the translation table for the blue channel, or NULL.
+ *
+ *  \return 0 on success, or -1 if gamma ramps are unsupported.
+ *
+ *  \sa SDL_SetWindowGammaRamp()
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowGammaRamp(SDL_Window * window,
+                                                   Uint16 * red,
+                                                   Uint16 * green,
+                                                   Uint16 * blue);
+
+/**
+ *  \brief Possible return values from the SDL_HitTest callback.
+ *
+ *  \sa SDL_HitTest
+ */
+typedef enum
+{
+    SDL_HITTEST_NORMAL,  /**< Region is normal. No special properties. */
+    SDL_HITTEST_DRAGGABLE,  /**< Region can drag entire window. */
+    SDL_HITTEST_RESIZE_TOPLEFT,
+    SDL_HITTEST_RESIZE_TOP,
+    SDL_HITTEST_RESIZE_TOPRIGHT,
+    SDL_HITTEST_RESIZE_RIGHT,
+    SDL_HITTEST_RESIZE_BOTTOMRIGHT,
+    SDL_HITTEST_RESIZE_BOTTOM,
+    SDL_HITTEST_RESIZE_BOTTOMLEFT,
+    SDL_HITTEST_RESIZE_LEFT
+} SDL_HitTestResult;
+
+/**
+ *  \brief Callback used for hit-testing.
+ *
+ *  \sa SDL_SetWindowHitTest
+ */
+typedef SDL_HitTestResult (SDLCALL *SDL_HitTest)(SDL_Window *win,
+                                                 const SDL_Point *area,
+                                                 void *data);
+
+/**
+ *  \brief Provide a callback that decides if a window region has special properties.
+ *
+ *  Normally windows are dragged and resized by decorations provided by the
+ *  system window manager (a title bar, borders, etc), but for some apps, it
+ *  makes sense to drag them from somewhere else inside the window itself; for
+ *  example, one might have a borderless window that wants to be draggable
+ *  from any part, or simulate its own title bar, etc.
+ *
+ *  This function lets the app provide a callback that designates pieces of
+ *  a given window as special. This callback is run during event processing
+ *  if we need to tell the OS to treat a region of the window specially; the
+ *  use of this callback is known as "hit testing."
+ *
+ *  Mouse input may not be delivered to your application if it is within
+ *  a special area; the OS will often apply that input to moving the window or
+ *  resizing the window and not deliver it to the application.
+ *
+ *  Specifying NULL for a callback disables hit-testing. Hit-testing is
+ *  disabled by default.
+ *
+ *  Platforms that don't support this functionality will return -1
+ *  unconditionally, even if you're attempting to disable hit-testing.
+ *
+ *  Your callback may fire at any time, and its firing does not indicate any
+ *  specific behavior (for example, on Windows, this certainly might fire
+ *  when the OS is deciding whether to drag your window, but it fires for lots
+ *  of other reasons, too, some unrelated to anything you probably care about
+ *  _and when the mouse isn't actually at the location it is testing_).
+ *  Since this can fire at any time, you should try to keep your callback
+ *  efficient, devoid of allocations, etc.
+ *
+ *  \param window The window to set hit-testing on.
+ *  \param callback The callback to call when doing a hit-test.
+ *  \param callback_data An app-defined void pointer passed to the callback.
+ *  \return 0 on success, -1 on error (including unsupported).
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window * window,
+                                                 SDL_HitTest callback,
+                                                 void *callback_data);
+
+/**
+ *  \brief Destroy a window.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window * window);
+
+
+/**
+ *  \brief Returns whether the screensaver is currently enabled (default off).
+ *
+ *  \sa SDL_EnableScreenSaver()
+ *  \sa SDL_DisableScreenSaver()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled(void);
+
+/**
+ *  \brief Allow the screen to be blanked by a screensaver
+ *
+ *  \sa SDL_IsScreenSaverEnabled()
+ *  \sa SDL_DisableScreenSaver()
+ */
+extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void);
+
+/**
+ *  \brief Prevent the screen from being blanked by a screensaver
+ *
+ *  \sa SDL_IsScreenSaverEnabled()
+ *  \sa SDL_EnableScreenSaver()
+ */
+extern DECLSPEC void SDLCALL SDL_DisableScreenSaver(void);
+
+
+/**
+ *  \name OpenGL support functions
+ */
+/* @{ */
+
+/**
+ *  \brief Dynamically load an OpenGL library.
+ *
+ *  \param path The platform dependent OpenGL library name, or NULL to open the
+ *              default OpenGL library.
+ *
+ *  \return 0 on success, or -1 if the library couldn't be loaded.
+ *
+ *  This should be done after initializing the video driver, but before
+ *  creating any OpenGL windows.  If no OpenGL library is loaded, the default
+ *  library will be loaded upon creation of the first OpenGL window.
+ *
+ *  \note If you do this, you need to retrieve all of the GL functions used in
+ *        your program from the dynamic library using SDL_GL_GetProcAddress().
+ *
+ *  \sa SDL_GL_GetProcAddress()
+ *  \sa SDL_GL_UnloadLibrary()
+ */
+extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path);
+
+/**
+ *  \brief Get the address of an OpenGL function.
+ */
+extern DECLSPEC void *SDLCALL SDL_GL_GetProcAddress(const char *proc);
+
+/**
+ *  \brief Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().
+ *
+ *  \sa SDL_GL_LoadLibrary()
+ */
+extern DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void);
+
+/**
+ *  \brief Return true if an OpenGL extension is supported for the current
+ *         context.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GL_ExtensionSupported(const char
+                                                           *extension);
+
+/**
+ *  \brief Reset all previously set OpenGL context attributes to their default values
+ */
+extern DECLSPEC void SDLCALL SDL_GL_ResetAttributes(void);
+
+/**
+ *  \brief Set an OpenGL window attribute before window creation.
+ *
+ *  \return 0 on success, or -1 if the attribute could not be set.
+ */
+extern DECLSPEC int SDLCALL SDL_GL_SetAttribute(SDL_GLattr attr, int value);
+
+/**
+ *  \brief Get the actual value for an attribute from the current context.
+ *
+ *  \return 0 on success, or -1 if the attribute could not be retrieved.
+ *          The integer at \c value will be modified in either case.
+ */
+extern DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int *value);
+
+/**
+ *  \brief Create an OpenGL context for use with an OpenGL window, and make it
+ *         current.
+ *
+ *  \sa SDL_GL_DeleteContext()
+ */
+extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_CreateContext(SDL_Window *
+                                                           window);
+
+/**
+ *  \brief Set up an OpenGL context for rendering into an OpenGL window.
+ *
+ *  \note The context must have been created with a compatible window.
+ */
+extern DECLSPEC int SDLCALL SDL_GL_MakeCurrent(SDL_Window * window,
+                                               SDL_GLContext context);
+
+/**
+ *  \brief Get the currently active OpenGL window.
+ */
+extern DECLSPEC SDL_Window* SDLCALL SDL_GL_GetCurrentWindow(void);
+
+/**
+ *  \brief Get the currently active OpenGL context.
+ */
+extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
+
+/**
+ *  \brief Get the size of a window's underlying drawable in pixels (for use
+ *         with glViewport).
+ *
+ *  \param window   Window from which the drawable size should be queried
+ *  \param w        Pointer to variable for storing the width in pixels, may be NULL
+ *  \param h        Pointer to variable for storing the height in pixels, may be NULL
+ *
+ * This may differ from SDL_GetWindowSize() if we're rendering to a high-DPI
+ * drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a
+ * platform with high-DPI support (Apple calls this "Retina"), and not disabled
+ * by the SDL_HINT_VIDEO_HIGHDPI_DISABLED hint.
+ *
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_CreateWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_GL_GetDrawableSize(SDL_Window * window, int *w,
+                                                    int *h);
+
+/**
+ *  \brief Set the swap interval for the current OpenGL context.
+ *
+ *  \param interval 0 for immediate updates, 1 for updates synchronized with the
+ *                  vertical retrace. If the system supports it, you may
+ *                  specify -1 to allow late swaps to happen immediately
+ *                  instead of waiting for the next retrace.
+ *
+ *  \return 0 on success, or -1 if setting the swap interval is not supported.
+ *
+ *  \sa SDL_GL_GetSwapInterval()
+ */
+extern DECLSPEC int SDLCALL SDL_GL_SetSwapInterval(int interval);
+
+/**
+ *  \brief Get the swap interval for the current OpenGL context.
+ *
+ *  \return 0 if there is no vertical retrace synchronization, 1 if the buffer
+ *          swap is synchronized with the vertical retrace, and -1 if late
+ *          swaps happen immediately instead of waiting for the next retrace.
+ *          If the system can't determine the swap interval, or there isn't a
+ *          valid current context, this will return 0 as a safe default.
+ *
+ *  \sa SDL_GL_SetSwapInterval()
+ */
+extern DECLSPEC int SDLCALL SDL_GL_GetSwapInterval(void);
+
+/**
+ * \brief Swap the OpenGL buffers for a window, if double-buffering is
+ *        supported.
+ */
+extern DECLSPEC void SDLCALL SDL_GL_SwapWindow(SDL_Window * window);
+
+/**
+ *  \brief Delete an OpenGL context.
+ *
+ *  \sa SDL_GL_CreateContext()
+ */
+extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context);
+
+/* @} *//* OpenGL support functions */
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_video_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h
@@ -1,0 +1,278 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 2017, Mark Callow
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_vulkan.h
+ *
+ *  Header file for functions to creating Vulkan surfaces on SDL windows.
+ */
+
+#ifndef SDL_vulkan_h_
+#define SDL_vulkan_h_
+
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Avoid including vulkan.h, don't define VkInstance if it's already included */
+#ifdef VULKAN_H_
+#define NO_SDL_VULKAN_TYPEDEFS
+#endif
+#ifndef NO_SDL_VULKAN_TYPEDEFS
+#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
+
+#if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
+#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
+#else
+#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
+#endif
+
+VK_DEFINE_HANDLE(VkInstance)
+VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSurfaceKHR)
+
+#endif /* !NO_SDL_VULKAN_TYPEDEFS */
+
+typedef VkInstance SDL_vulkanInstance;
+typedef VkSurfaceKHR SDL_vulkanSurface; /* for compatibility with Tizen */
+
+/**
+ *  \name Vulkan support functions
+ *
+ *  \note SDL_Vulkan_GetInstanceExtensions & SDL_Vulkan_CreateSurface API
+ *        is compatable with Tizen's implementation of Vulkan in SDL.
+ */
+/* @{ */
+
+/**
+ *  \brief Dynamically load a Vulkan loader library.
+ *
+ *  \param [in] path The platform dependent Vulkan loader library name, or
+ *              \c NULL.
+ *
+ *  \return \c 0 on success, or \c -1 if the library couldn't be loaded.
+ *
+ *  If \a path is NULL SDL will use the value of the environment variable
+ *  \c SDL_VULKAN_LIBRARY, if set, otherwise it loads the default Vulkan
+ *  loader library.
+ *
+ *  This should be called after initializing the video driver, but before
+ *  creating any Vulkan windows. If no Vulkan loader library is loaded, the
+ *  default library will be loaded upon creation of the first Vulkan window.
+ *
+ *  \note It is fairly common for Vulkan applications to link with \a libvulkan
+ *        instead of explicitly loading it at run time. This will work with
+ *        SDL provided the application links to a dynamic library and both it
+ *        and SDL use the same search path.
+ *
+ *  \note If you specify a non-NULL \c path, an application should retrieve all
+ *        of the Vulkan functions it uses from the dynamic library using
+ *        \c SDL_Vulkan_GetVkGetInstanceProcAddr() unless you can guarantee
+ *        \c path points to the same vulkan loader library the application
+ *        linked to.
+ *
+ *  \note On Apple devices, if \a path is NULL, SDL will attempt to find
+ *        the vkGetInstanceProcAddr address within all the mach-o images of
+ *        the current process. This is because it is fairly common for Vulkan
+ *        applications to link with libvulkan (and historically MoltenVK was
+ *        provided as a static library). If it is not found then, on macOS, SDL
+ *        will attempt to load \c vulkan.framework/vulkan, \c libvulkan.1.dylib,
+ *        followed by \c libvulkan.dylib, in that order.
+ *        On iOS SDL will attempt to load \c libvulkan.dylib only. Applications
+ *        using a dynamic framework or .dylib must ensure it is included in its
+ *        application bundle.
+ *
+ *  \note On non-Apple devices, application linking with a static libvulkan is
+ *        not supported. Either do not link to the Vulkan loader or link to a
+ *        dynamic library version.
+ *
+ *  \note This function will fail if there are no working Vulkan drivers
+ *        installed.
+ *
+ *  \sa SDL_Vulkan_GetVkGetInstanceProcAddr()
+ *  \sa SDL_Vulkan_UnloadLibrary()
+ */
+extern DECLSPEC int SDLCALL SDL_Vulkan_LoadLibrary(const char *path);
+
+/**
+ *  \brief Get the address of the \c vkGetInstanceProcAddr function.
+ *
+ *  \note This should be called after either calling SDL_Vulkan_LoadLibrary
+ *        or creating an SDL_Window with the SDL_WINDOW_VULKAN flag.
+ */
+extern DECLSPEC void *SDLCALL SDL_Vulkan_GetVkGetInstanceProcAddr(void);
+
+/**
+ *  \brief Unload the Vulkan loader library previously loaded by
+ *         \c SDL_Vulkan_LoadLibrary().
+ *
+ *  \sa SDL_Vulkan_LoadLibrary()
+ */
+extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void);
+
+/**
+ *  \brief Get the names of the Vulkan instance extensions needed to create
+ *         a surface with \c SDL_Vulkan_CreateSurface().
+ *
+ *  \param [in]     \c NULL or window Window for which the required Vulkan instance
+ *                  extensions should be retrieved
+ *  \param [in,out] pCount pointer to an \c unsigned related to the number of
+ *                  required Vulkan instance extensions
+ *  \param [out]    pNames \c NULL or a pointer to an array to be filled with the
+ *                  required Vulkan instance extensions
+ *
+ *  \return \c SDL_TRUE on success, \c SDL_FALSE on error.
+ *
+ *  If \a pNames is \c NULL, then the number of required Vulkan instance
+ *  extensions is returned in pCount. Otherwise, \a pCount must point to a
+ *  variable set to the number of elements in the \a pNames array, and on
+ *  return the variable is overwritten with the number of names actually
+ *  written to \a pNames. If \a pCount is less than the number of required
+ *  extensions, at most \a pCount structures will be written. If \a pCount
+ *  is smaller than the number of required extensions, \c SDL_FALSE will be
+ *  returned instead of \c SDL_TRUE, to indicate that not all the required
+ *  extensions were returned.
+ *
+ *  \note If \c window is not NULL, it will be checked against its creation
+ *        flags to ensure that the Vulkan flag is present. This parameter
+ *        will be removed in a future major release.
+ *
+ *  \note The returned list of extensions will contain \c VK_KHR_surface
+ *        and zero or more platform specific extensions
+ *
+ *  \note The extension names queried here must be enabled when calling
+ *        VkCreateInstance, otherwise surface creation will fail.
+ *
+ *  \note \c window should have been created with the \c SDL_WINDOW_VULKAN flag
+ *        or be \c NULL
+ *
+ *  \code
+ *  unsigned int count;
+ *  // get count of required extensions
+ *  if(!SDL_Vulkan_GetInstanceExtensions(NULL, &count, NULL))
+ *      handle_error();
+ *
+ *  static const char *const additionalExtensions[] =
+ *  {
+ *      VK_EXT_DEBUG_REPORT_EXTENSION_NAME, // example additional extension
+ *  };
+ *  size_t additionalExtensionsCount = sizeof(additionalExtensions) / sizeof(additionalExtensions[0]);
+ *  size_t extensionCount = count + additionalExtensionsCount;
+ *  const char **names = malloc(sizeof(const char *) * extensionCount);
+ *  if(!names)
+ *      handle_error();
+ *
+ *  // get names of required extensions
+ *  if(!SDL_Vulkan_GetInstanceExtensions(NULL, &count, names))
+ *      handle_error();
+ *
+ *  // copy additional extensions after required extensions
+ *  for(size_t i = 0; i < additionalExtensionsCount; i++)
+ *      names[i + count] = additionalExtensions[i];
+ *
+ *  VkInstanceCreateInfo instanceCreateInfo = {};
+ *  instanceCreateInfo.enabledExtensionCount = extensionCount;
+ *  instanceCreateInfo.ppEnabledExtensionNames = names;
+ *  // fill in rest of instanceCreateInfo
+ *
+ *  VkInstance instance;
+ *  // create the Vulkan instance
+ *  VkResult result = vkCreateInstance(&instanceCreateInfo, NULL, &instance);
+ *  free(names);
+ *  \endcode
+ *
+ *  \sa SDL_Vulkan_CreateSurface()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Vulkan_GetInstanceExtensions(
+														SDL_Window *window,
+														unsigned int *pCount,
+														const char **pNames);
+
+/**
+ *  \brief Create a Vulkan rendering surface for a window.
+ *
+ *  \param [in]  window   SDL_Window to which to attach the rendering surface.
+ *  \param [in]  instance handle to the Vulkan instance to use.
+ *  \param [out] surface  pointer to a VkSurfaceKHR handle to receive the
+ *                        handle of the newly created surface.
+ *
+ *  \return \c SDL_TRUE on success, \c SDL_FALSE on error.
+ *
+ *  \code
+ *  VkInstance instance;
+ *  SDL_Window *window;
+ *
+ *  // create instance and window
+ *
+ *  // create the Vulkan surface
+ *  VkSurfaceKHR surface;
+ *  if(!SDL_Vulkan_CreateSurface(window, instance, &surface))
+ *      handle_error();
+ *  \endcode
+ *
+ *  \note \a window should have been created with the \c SDL_WINDOW_VULKAN flag.
+ *
+ *  \note \a instance should have been created with the extensions returned
+ *        by \c SDL_Vulkan_CreateSurface() enabled.
+ *
+ *  \sa SDL_Vulkan_GetInstanceExtensions()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Vulkan_CreateSurface(
+												SDL_Window *window,
+												VkInstance instance,
+												VkSurfaceKHR* surface);
+
+/**
+ *  \brief Get the size of a window's underlying drawable in pixels (for use
+ *         with setting viewport, scissor & etc).
+ *
+ *  \param window   SDL_Window from which the drawable size should be queried
+ *  \param w        Pointer to variable for storing the width in pixels,
+ *                  may be NULL
+ *  \param h        Pointer to variable for storing the height in pixels,
+ *                  may be NULL
+ *
+ * This may differ from SDL_GetWindowSize() if we're rendering to a high-DPI
+ * drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a
+ * platform with high-DPI support (Apple calls this "Retina"), and not disabled
+ * by the \c SDL_HINT_VIDEO_HIGHDPI_DISABLED hint.
+ *
+ *  \note On macOS high-DPI support must be enabled for an application by
+ *        setting NSHighResolutionCapable to true in its Info.plist.
+ *
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_CreateWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_Vulkan_GetDrawableSize(SDL_Window * window,
+                                                        int *w, int *h);
+
+/* @} *//* Vulkan support functions */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_vulkan_h_ */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h
@@ -1,0 +1,170 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file begin_code.h
+ *
+ *  This file sets things up for C dynamic library function definitions,
+ *  static inlined functions, and structures aligned at 4-byte alignment.
+ *  If you don't like ugly C preprocessor code, don't look at this file. :)
+ */
+
+/* This shouldn't be nested -- included it around code only. */
+#ifdef _begin_code_h
+#error Nested inclusion of begin_code.h
+#endif
+#define _begin_code_h
+
+#ifndef SDL_DEPRECATED
+#  if (__GNUC__ >= 4)  /* technically, this arrived in gcc 3.1, but oh well. */
+#    define SDL_DEPRECATED __attribute__((deprecated))
+#  else
+#    define SDL_DEPRECATED
+#  endif
+#endif
+
+#ifndef SDL_UNUSED
+#  ifdef __GNUC__
+#    define SDL_UNUSED __attribute__((unused))
+#  else
+#    define SDL_UNUSED
+#  endif
+#endif
+
+/* Some compilers use a special export keyword */
+#ifndef DECLSPEC
+# if defined(__WIN32__) || defined(__WINRT__)
+#  ifdef __BORLANDC__
+#   ifdef BUILD_SDL
+#    define DECLSPEC
+#   else
+#    define DECLSPEC    __declspec(dllimport)
+#   endif
+#  else
+#   define DECLSPEC __declspec(dllexport)
+#  endif
+# elif defined(__OS2__)
+#   ifdef BUILD_SDL
+#    define DECLSPEC    __declspec(dllexport)
+#   else
+#    define DECLSPEC
+#   endif
+# else
+#  if defined(__GNUC__) && __GNUC__ >= 4
+#   define DECLSPEC __attribute__ ((visibility("default")))
+#  else
+#   define DECLSPEC
+#  endif
+# endif
+#endif
+
+/* By default SDL uses the C calling convention */
+#ifndef SDLCALL
+#if (defined(__WIN32__) || defined(__WINRT__)) && !defined(__GNUC__)
+#define SDLCALL __cdecl
+#elif defined(__OS2__) || defined(__EMX__)
+#define SDLCALL _System
+# if defined (__GNUC__) && !defined(_System)
+#  define _System /* for old EMX/GCC compat.  */
+# endif
+#else
+#define SDLCALL
+#endif
+#endif /* SDLCALL */
+
+/* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */
+#ifdef __SYMBIAN32__
+#undef DECLSPEC
+#define DECLSPEC
+#endif /* __SYMBIAN32__ */
+
+/* Force structure packing at 4 byte alignment.
+   This is necessary if the header is included in code which has structure
+   packing set to an alternate value, say for loading structures from disk.
+   The packing is reset to the previous value in close_code.h
+ */
+#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
+#ifdef _MSC_VER
+#pragma warning(disable: 4103)
+#endif
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wpragma-pack"
+#endif
+#ifdef __BORLANDC__
+#pragma nopackwarning
+#endif
+#ifdef _M_X64
+/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
+#pragma pack(push,8)
+#else
+#pragma pack(push,4)
+#endif
+#endif /* Compiler needs structure packing set */
+
+#ifndef SDL_INLINE
+#if defined(__GNUC__)
+#define SDL_INLINE __inline__
+#elif defined(_MSC_VER) || defined(__BORLANDC__) || \
+      defined(__DMC__) || defined(__SC__) || \
+      defined(__WATCOMC__) || defined(__LCC__) || \
+      defined(__DECC) || defined(__CC_ARM)
+#define SDL_INLINE __inline
+#ifndef __inline__
+#define __inline__ __inline
+#endif
+#else
+#define SDL_INLINE inline
+#ifndef __inline__
+#define __inline__ inline
+#endif
+#endif
+#endif /* SDL_INLINE not defined */
+
+#ifndef SDL_FORCE_INLINE
+#if defined(_MSC_VER)
+#define SDL_FORCE_INLINE __forceinline
+#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
+#define SDL_FORCE_INLINE __attribute__((always_inline)) static __inline__
+#else
+#define SDL_FORCE_INLINE static SDL_INLINE
+#endif
+#endif /* SDL_FORCE_INLINE not defined */
+
+#ifndef SDL_NORETURN
+#if defined(__GNUC__)
+#define SDL_NORETURN __attribute__((noreturn))
+#elif defined(_MSC_VER)
+#define SDL_NORETURN __declspec(noreturn)
+#else
+#define SDL_NORETURN
+#endif
+#endif /* SDL_NORETURN not defined */
+
+/* Apparently this is needed by several Windows compilers */
+#if !defined(__MACH__)
+#ifndef NULL
+#ifdef __cplusplus
+#define NULL 0
+#else
+#define NULL ((void *)0)
+#endif
+#endif /* NULL */
+#endif /* ! Mac OS X - breaks precompiled headers */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/close_code.h
@@ -1,0 +1,40 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file close_code.h
+ *
+ *  This file reverses the effects of begin_code.h and should be included
+ *  after you finish any function and structure declarations in your headers
+ */
+
+#ifndef _begin_code_h
+#error close_code.h included without matching begin_code.h
+#endif
+#undef _begin_code_h
+
+/* Reset structure packing at previous byte alignment */
+#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
+#ifdef __BORLANDC__
+#pragma nopackwarning
+#endif
+#pragma pack(pop)
+#endif /* Compiler needs structure packing set */
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist
@@ -1,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>BuildMachineOSBuild</key>
+	<string>18D109</string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>SDL2</string>
+	<key>CFBundleGetInfoString</key>
+	<string>http://www.libsdl.org</string>
+	<key>CFBundleIdentifier</key>
+	<string>org.libsdl.SDL2</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>Simple DirectMedia Layer</string>
+	<key>CFBundlePackageType</key>
+	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>2.0.10</string>
+	<key>CFBundleSignature</key>
+	<string>SDLX</string>
+	<key>CFBundleSupportedPlatforms</key>
+	<array>
+		<string>MacOSX</string>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>2.0.10</string>
+	<key>DTCompiler</key>
+	<string>com.apple.compilers.llvm.clang.1_0</string>
+	<key>DTPlatformBuild</key>
+	<string>10E1001</string>
+	<key>DTPlatformVersion</key>
+	<string>GM</string>
+	<key>DTSDKBuild</key>
+	<string>18E219</string>
+	<key>DTSDKName</key>
+	<string>macosx10.14</string>
+	<key>DTXcode</key>
+	<string>1020</string>
+	<key>DTXcodeBuild</key>
+	<string>10E1001</string>
+</dict>
+</plist>
binary files /dev/null b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/SDL2 differ
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/Current
@@ -1,0 +1,5 @@
+XSym
+0001
+7fc56270e7a70fa81a5935b72eacbe29
+A
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
\ No newline at end of file
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/Info.plist
@@ -1,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+    <key>CFBundleDocumentTypes</key>
+    <array>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>XM</string>
+                <string>xm</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>Fasttracker II module</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>MOD</string>
+                <string>MOD</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>ProTracker module</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>S3M</string>
+                <string>s3m</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>Scream Tracker 3 module</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>STM</string>
+                <string>stm</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>Scream Tracker 2 module</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>XI</string>
+                <string>xi</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>Fasttracker II instrument</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>XT</string>
+                <string>xt</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>Fasttracker II pattern track</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+        <dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>XP</string>
+                <string>xp</string>
+            </array>
+            <key>CFBundleTypeIconFile</key>
+            <string>ft2-clone-macos.icns</string>
+            <key>CFBundleTypeName</key>
+            <string>Fasttracker II pattern</string>
+            <key>CFBundleTypeRole</key>
+            <string>Editor</string>
+        </dict>
+    </array>
+    <key>CFBundleDevelopmentRegion</key>
+    <string>English</string>
+    <key>CFBundleExecutable</key>
+    <string>ft2-clone-macos</string>
+    <key>CFBundleGetInfoString</key>
+    <string>Fasttracker II clone</string>
+    <key>CFBundleIconFile</key>
+    <string>ft2-clone-macos.icns</string>
+    <key>CFBundleIdentifier</key>
+    <string>org.16-bits.ft2-clone-macos</string>
+    <key>CFBundleInfoDictionaryVersion</key>
+    <string>6.0</string>
+    <key>CFBundleName</key>
+    <string>Fasttracker II clone</string>
+    <key>CFBundleDisplayName</key>
+    <string>Fasttracker II clone</string>
+    <key>CFBundlePackageType</key>
+    <string>APPL</string>
+    <key>CFBundleVersion</key>
+    <string>1.0.0</string>
+    <key>CFBundleShortVersion</key>
+    <string>1.0.0</string>
+    <key>CFBundleSignature</key>
+    <string>Ft2c</string>
+    <key>NSHumanReadableCopyright</key>
+    <string>Copyright © Olav "8bitbubsy" Sørensen
+https://16-bits.org</string>
+    <key>LSMinimumSystemVersion</key>
+    <string>10.7</string>
+    <key>CGDisableCoalescedUpdates</key>
+    <true/>
+    <key>NSHighResolutionCapable</key>
+    <true/>
+</dict>
+</plist>
--- /dev/null
+++ b/release/macos/ft2-clone-macos.app/Contents/PkgInfo
@@ -1,0 +1,1 @@
+APPLFt2c
\ No newline at end of file
binary files /dev/null b/release/macos/ft2-clone-macos.app/Contents/Resources/ft2-clone-macos.icns differ
--- /dev/null
+++ b/release/problems.txt
@@ -1,0 +1,8 @@
+If you have any problems, read Help -> "Problems/FAQ" inside the program.
+Also read "Known bugs".
+
+If the program can't start at all, then I recommend that you send me a mail
+to [email protected]
+
+If you selected a big window size by accident and can't go back, press
+ALT+ENTER to enter fullscreen, then you go to Config and reset the config.
\ No newline at end of file
binary files /dev/null b/release/win32/SDL2.dll differ
binary files /dev/null b/release/win64/SDL2.dll differ
--- /dev/null
+++ b/src/LICENSE.txt
@@ -1,0 +1,26 @@
+BSD 3-clause license:
+
+Copyright (c) 2016-2019, Olav S�rensen
+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.
+    * Neither the name of the <organization> nor the
+      names of its contributors 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 OLAV S�RENSEN 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.
\ No newline at end of file
--- /dev/null
+++ b/src/ft2-clone.rc
@@ -1,0 +1,33 @@
+#include <winver.h>
+#include "ft2_header.h" // PROG_VER_STR
+
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION     1,0,0,0
+FILETYPE        VFT_APP
+
+BEGIN
+	BLOCK "StringFileInfo"
+	BEGIN
+		BLOCK "040904b0"
+		BEGIN
+			VALUE "FileDescription",  "Fasttracker II clone for Windows"
+			VALUE "ProductName",      "Fasttracker II clone"
+			VALUE "ProductVersion",   PROG_VER_STR
+#ifdef _WIN64
+			VALUE "InternalName",     "ft2-clone-win64"
+			VALUE "OriginalFilename", "ft2-clone-win64.exe"
+#else
+			VALUE "InternalName",     "ft2-clone-win32"
+			VALUE "OriginalFilename", "ft2-clone-win32.exe"
+#endif
+			VALUE "LegalCopyright",   "Copyright � Olav ""8bitbubsy"" S�rensen"
+		END
+	END
+
+	BLOCK "VarFileInfo"
+	BEGIN
+		VALUE "Translation", 0x0409, 1200
+	END
+END
+
+IDI_MAIN_ICON ICON "gfxdata\\icon\\ft2-clone.ico"
--- /dev/null
+++ b/src/ft2_about.c
@@ -1,0 +1,354 @@
+#include <stdio.h> // sprintf()
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gfxdata.h"
+#include "ft2_video.h"
+
+// ported from original FT2 code
+
+#define NUM_STARS 512
+#define ABOUT_SCREEN_W 626
+#define ABOUT_SCREEN_H 167
+#define FT2_LOGO_W 449
+#define FT2_LOGO_H 75
+#define ABOUT_TEXT_W 349
+#define ABOUT_TEXT_H 29
+
+typedef struct
+{
+	int16_t x, y, z;
+} vector_t;
+
+typedef struct
+{
+	uint16_t x, y, z;
+} rotate_t;
+
+typedef struct
+{
+	vector_t x, y, z;
+} matrix_t;
+
+extern const uint16_t sinusTables[256 * 5]; // defined at the bottom of this file
+
+static const uint8_t starColConv[24] = { 2,2,2,2,2,2,2,2, 2,2,2,1,1,1,3,3, 3,3,3,3,3,3,3,3 };
+static const int16_t *sin32767 = (const int16_t *)sinusTables, *cos32767 = (const int16_t *)&sinusTables[256];
+static int16_t hastighet;
+static int32_t lastStarScreenPos[NUM_STARS];
+static uint32_t randSeed;
+static vector_t starcrd[NUM_STARS];
+static rotate_t star_a;
+static matrix_t starmat;
+
+void seedAboutScreenRandom(uint32_t newseed)
+{
+	randSeed = newseed;
+}
+
+static inline int32_t random32(int32_t l) // Turbo Pascal Random() implementation
+{
+	int32_t r;
+
+	randSeed *= 134775813;
+	randSeed += 1;
+
+	r = (int32_t)(((int64_t)randSeed * l) >> 32);
+	return r;
+}
+
+static void fixaMatris(rotate_t a, matrix_t *mat)
+{
+	int16_t sa, sb, sc, ca, cb, cc;
+
+	sa = sin32767[a.x >> 6];
+	ca = cos32767[a.x >> 6];
+	sb = sin32767[a.y >> 6];
+	cb = cos32767[a.y >> 6];
+	sc = sin32767[a.z >> 6];
+	cc = cos32767[a.z >> 6];
+
+	mat->x.x = ((ca * cc) >> 16) + (((sc * ((sa * sb) >> 16)) >> 16) << 1);
+	mat->y.x = (sa * cb) >> 16;
+	mat->z.x = (((cc * ((sa * sb) >> 16)) >> 16) << 1) - ((ca * sc) >> 16);
+
+	mat->x.y = (((sc * ((ca * sb) >> 16)) >> 16) << 1) - ((sa * cc) >> 16);
+	mat->y.y = (ca * cb) >> 16;
+	mat->z.y = ((sa * sc) >> 16) + (((cc * ((ca * sb) >> 16)) >> 16) << 1);
+
+	mat->x.z = (cb * sc) >> 16;
+	mat->y.z = 0 - (sb >> 1);
+	mat->z.z = (cb * cc) >> 16;
+}
+
+static inline int32_t sqr(int32_t x)
+{
+	return x * x;
+}
+
+static void aboutInit(void)
+{
+	uint8_t type;
+	int16_t i;
+	int32_t r, n, w, h;
+	double ww;
+
+	type = (uint8_t)random32(4);
+	switch (type)
+	{
+		case 0:
+		{
+			hastighet = 309;
+			for (i = 0; i < NUM_STARS; i++)
+			{
+				starcrd[i].z = (int16_t)random32(0xFFFF) - 0x8000;
+				starcrd[i].y = (int16_t)random32(0xFFFF) - 0x8000;
+				starcrd[i].x = (int16_t)random32(0xFFFF) - 0x8000;
+			}
+		}
+		break;
+
+		case 1:
+		{
+			hastighet = 0;
+			for (i = 0; i < NUM_STARS; i++)
+			{
+				if (i < (NUM_STARS / 4))
+				{
+					starcrd[i].z = (int16_t)random32(0xFFFF) - 0x8000;
+					starcrd[i].y = (int16_t)random32(0xFFFF) - 0x8000;
+					starcrd[i].x = (int16_t)random32(0xFFFF) - 0x8000;
+				}
+				else
+				{
+					r = random32(30000);
+					n = random32(5);
+					w = ((2 * random32(2)) - 1) * sqr(random32(1000));
+					ww = (((M_PI * 2.0) / 5.0) * n) + (r / 12000.0) + (w / 3000000.0);
+					h = ((sqr(r) / 30000) * (random32(10000) - 5000)) / 12000;
+
+					starcrd[i].x = (int16_t)trunc(r * cos(ww));
+					starcrd[i].y = (int16_t)trunc(r * sin(ww));
+					starcrd[i].z = (int16_t)h;
+				}
+			}
+		}
+		break;
+
+		case 2:
+		case 3:
+		{
+			hastighet = 0;
+			for (i = 0; i < NUM_STARS; i++)
+			{
+				r = (int32_t)round(sqrt(random32(500) * 500));
+				w = random32(3000);
+				h = cos32767[(((w * 8) + r) / 16) & 1023] / 4;
+
+				starcrd[i].z = (int16_t)((cos32767[w & 1023] * (w + r)) / 3500);
+				starcrd[i].y = (int16_t)((sin32767[w & 1023] * (w + r)) / 3500);
+				starcrd[i].x = (int16_t)((h * r) / 500);
+			}
+		}
+		break;
+
+		default:
+			break;
+	}
+
+	for (i = 0; i < NUM_STARS; i++)
+		lastStarScreenPos[i] = -1;
+}
+
+static void realStars(void)
+{
+	uint8_t col;
+	int16_t x, y, z, xx, xy, xz, yx, yy, yz, zx, zy, zz;
+	int32_t screenBufferPos;
+	vector_t *star;
+
+	xx = starmat.x.x; xy = starmat.x.y; xz = starmat.x.z;
+	yx = starmat.y.x; yy = starmat.y.y; yz = starmat.y.z;
+	zx = starmat.z.x; zy = starmat.z.y; zz = starmat.z.z;
+
+	for (int16_t i = 0; i < NUM_STARS; i++)
+	{
+		// erase last star pixel
+		screenBufferPos = lastStarScreenPos[i];
+		if (screenBufferPos >= 0)
+		{
+			if (!(video.frameBuffer[screenBufferPos] & 0xFF000000))
+				video.frameBuffer[screenBufferPos] = video.palette[PAL_BCKGRND];
+
+			lastStarScreenPos[i] = -1;
+		}
+
+		star = &starcrd[i];
+		star->z += hastighet;
+
+		z = (((xz * star->x) >> 16) + ((yz * star->y) >> 16) + ((zz * star->z) >> 16)) + 9000;
+		if (z <= 100)
+			continue;
+
+		y = ((xy * star->x) >> 16) + ((yy * star->y) >> 16) + ((zy * star->z) >> 16);
+		y = (int16_t)((y << 7) / z) + 84;
+		if ((uint16_t)y >= 173-6)
+			continue;
+
+		x = ((xx * star->x) >> 16) + ((yx * star->y) >> 16) + ((zx * star->z) >> 16);
+		x = (int16_t)((((x >> 2) + x) << 7) / z) + (320-8);
+		if ((uint16_t)x >= 640-16)
+			continue;
+
+		// render star pixel if the pixel under it is the background
+		screenBufferPos = ((y + 4) * SCREEN_W) + (x + 4);
+		if ((video.frameBuffer[screenBufferPos] >> 24) == PAL_BCKGRND)
+		{
+			col = ((uint8_t)~(z >> 8) >> 3) - (22 - 8);
+			if (col < 24)
+			{
+				video.frameBuffer[screenBufferPos] = video.palette[starColConv[col]] & 0xFFFFFF;
+				lastStarScreenPos[i] = screenBufferPos;
+			}
+		}
+	}
+}
+
+void aboutFrame(void)
+{
+	star_a.x += 3*64;
+	star_a.y += 2*64;
+	star_a.z -= 1*64;
+
+	fixaMatris(star_a, &starmat);
+	realStars();
+}
+
+void showAboutScreen(void) // called once when About screen is opened
+{
+	const char *infoString = "Clone by Olav \"8bitbubsy\" S\025rensen - https://16-bits.org";
+	char verText[32];
+	uint16_t x, y;
+
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+
+	drawFramework(0, 0, 632, 173, FRAMEWORK_TYPE1);
+	drawFramework(2, 2, 628, 169, FRAMEWORK_TYPE2);
+
+	showPushButton(PB_EXIT_ABOUT);
+
+	blit32(91, 31, ft2Logo, FT2_LOGO_W, FT2_LOGO_H);
+    blit(146, 113, aboutText, ABOUT_TEXT_W, ABOUT_TEXT_H);
+
+	x = 5 + (SCREEN_W - textWidth(infoString)) / 2;
+	y = 147;
+	textOut(x, y, PAL_FORGRND, infoString);
+
+	sprintf(verText, "v%s (compiled on %s)", PROG_VER_STR, __DATE__);
+	x = ((3 + ABOUT_SCREEN_W) - textWidth(verText)) / 2;
+	y = (3 + ABOUT_SCREEN_H) - ((FONT1_CHAR_H - 2) + 3);
+	textOut(x, y, PAL_FORGRND, verText);
+
+	aboutInit();
+
+	editor.ui.aboutScreenShown = true;
+}
+
+void hideAboutScreen(void)
+{
+	hidePushButton(PB_EXIT_ABOUT);
+	editor.ui.aboutScreenShown = false;
+}
+
+void exitAboutScreen(void)
+{
+	hideAboutScreen();
+	showTopScreen(true);
+}
+
+const uint16_t sinusTables[256 * 5] =
+{
+	0x0000,0x00C9,0x0192,0x025B,0x0324,0x03ED,0x04B6,0x057F,0x0648,0x0711,0x07D9,0x08A2,0x096A,0x0A33,0x0AFB,0x0BC3,
+	0x0C8C,0x0D54,0x0E1C,0x0EE3,0x0FAB,0x1072,0x113A,0x1201,0x12C8,0x138F,0x1455,0x151C,0x15E2,0x16A8,0x176D,0x1833,
+	0x18F8,0x19BD,0x1A82,0x1B47,0x1C0B,0x1CCF,0x1D93,0x1E56,0x1F19,0x1FDC,0x209F,0x2161,0x2223,0x22E5,0x23A6,0x2467,
+	0x2527,0x25E8,0x26A8,0x2767,0x2826,0x28E5,0x29A3,0x2A61,0x2B1F,0x2BDC,0x2C98,0x2D55,0x2E10,0x2ECC,0x2F87,0x3041,
+	0x30FB,0x31B5,0x326E,0x3326,0x33DE,0x3496,0x354D,0x3603,0x36B9,0x376F,0x3824,0x38D8,0x398C,0x3A3F,0x3AF2,0x3BA4,
+	0x3C56,0x3D07,0x3DB7,0x3E67,0x3F16,0x3FC5,0x4073,0x4120,0x41CD,0x4279,0x4325,0x43D0,0x447A,0x4523,0x45CC,0x4674,
+	0x471C,0x47C3,0x4869,0x490E,0x49B3,0x4A57,0x4AFA,0x4B9D,0x4C3F,0x4CE0,0x4D80,0x4E20,0x4EBF,0x4F5D,0x4FFA,0x5097,
+	0x5133,0x51CE,0x5268,0x5301,0x539A,0x5432,0x54C9,0x555F,0x55F4,0x5689,0x571D,0x57AF,0x5841,0x58D3,0x5963,0x59F2,
+	0x5A81,0x5B0F,0x5B9C,0x5C28,0x5CB3,0x5D3D,0x5DC6,0x5E4F,0x5ED6,0x5F5D,0x5FE2,0x6067,0x60EB,0x616E,0x61EF,0x6270,
+	0x62F0,0x6370,0x63EE,0x646B,0x64E7,0x6562,0x65DC,0x6656,0x66CE,0x6745,0x67BB,0x6831,0x68A5,0x6918,0x698A,0x69FC,
+	0x6A6C,0x6ADB,0x6B49,0x6BB6,0x6C22,0x6C8E,0x6CF8,0x6D60,0x6DC8,0x6E2F,0x6E95,0x6EFA,0x6F5D,0x6FC0,0x7021,0x7082,
+	0x70E1,0x713F,0x719C,0x71F8,0x7253,0x72AD,0x7306,0x735E,0x73B4,0x740A,0x745E,0x74B1,0x7503,0x7554,0x75A4,0x75F2,
+	0x7640,0x768C,0x76D7,0x7722,0x776A,0x77B2,0x77F9,0x783E,0x7883,0x78C6,0x7908,0x7949,0x7988,0x79C7,0x7A04,0x7A40,
+	0x7A7B,0x7AB5,0x7AED,0x7B25,0x7B5B,0x7B90,0x7BC4,0x7BF7,0x7C28,0x7C58,0x7C87,0x7CB5,0x7CE2,0x7D0D,0x7D38,0x7D61,
+	0x7D88,0x7DAF,0x7DD4,0x7DF9,0x7E1C,0x7E3D,0x7E5E,0x7E7D,0x7E9B,0x7EB8,0x7ED4,0x7EEE,0x7F08,0x7F20,0x7F36,0x7F4C,
+	0x7F60,0x7F73,0x7F85,0x7F96,0x7FA5,0x7FB3,0x7FC0,0x7FCC,0x7FD7,0x7FE0,0x7FE8,0x7FEF,0x7FF4,0x7FF8,0x7FFC,0x7FFD,
+	0x7FFE,0x7FFD,0x7FFC,0x7FF8,0x7FF4,0x7FEF,0x7FE8,0x7FE0,0x7FD7,0x7FCC,0x7FC0,0x7FB3,0x7FA5,0x7F96,0x7F85,0x7F73,
+	0x7F60,0x7F4C,0x7F36,0x7F20,0x7F08,0x7EEE,0x7ED4,0x7EB8,0x7E9B,0x7E7D,0x7E5E,0x7E3D,0x7E1C,0x7DF9,0x7DD4,0x7DAF,
+	0x7D88,0x7D61,0x7D38,0x7D0D,0x7CE2,0x7CB5,0x7C87,0x7C58,0x7C28,0x7BF7,0x7BC4,0x7B90,0x7B5B,0x7B25,0x7AED,0x7AB5,
+	0x7A7B,0x7A40,0x7A04,0x79C7,0x7988,0x7949,0x7908,0x78C6,0x7883,0x783E,0x77F9,0x77B2,0x776A,0x7722,0x76D7,0x768C,
+	0x7640,0x75F2,0x75A4,0x7554,0x7503,0x74B1,0x745E,0x740A,0x73B4,0x735E,0x7306,0x72AD,0x7253,0x71F8,0x719C,0x713F,
+	0x70E1,0x7082,0x7021,0x6FC0,0x6F5D,0x6EFA,0x6E95,0x6E2F,0x6DC8,0x6D60,0x6CF8,0x6C8E,0x6C22,0x6BB6,0x6B49,0x6ADB,
+	0x6A6C,0x69FC,0x698A,0x6918,0x68A5,0x6831,0x67BB,0x6745,0x66CE,0x6656,0x65DC,0x6562,0x64E7,0x646B,0x63EE,0x6370,
+	0x62F0,0x6270,0x61EF,0x616E,0x60EB,0x6067,0x5FE2,0x5F5D,0x5ED6,0x5E4F,0x5DC6,0x5D3D,0x5CB3,0x5C28,0x5B9C,0x5B0F,
+	0x5A81,0x59F2,0x5963,0x58D3,0x5841,0x57AF,0x571D,0x5689,0x55F4,0x555F,0x54C9,0x5432,0x539A,0x5301,0x5268,0x51CE,
+	0x5133,0x5097,0x4FFA,0x4F5D,0x4EBF,0x4E20,0x4D80,0x4CE0,0x4C3F,0x4B9D,0x4AFA,0x4A57,0x49B3,0x490E,0x4869,0x47C3,
+	0x471C,0x4674,0x45CC,0x4523,0x447A,0x43D0,0x4325,0x4279,0x41CD,0x4120,0x4073,0x3FC5,0x3F16,0x3E67,0x3DB7,0x3D07,
+	0x3C56,0x3BA4,0x3AF2,0x3A3F,0x398C,0x38D8,0x3824,0x376F,0x36B9,0x3603,0x354D,0x3496,0x33DE,0x3326,0x326E,0x31B5,
+	0x30FB,0x3041,0x2F87,0x2ECC,0x2E10,0x2D55,0x2C98,0x2BDC,0x2B1F,0x2A61,0x29A3,0x28E5,0x2826,0x2767,0x26A8,0x25E8,
+	0x2527,0x2467,0x23A6,0x22E5,0x2223,0x2161,0x209F,0x1FDC,0x1F19,0x1E56,0x1D93,0x1CCF,0x1C0B,0x1B47,0x1A82,0x19BD,
+	0x18F8,0x1833,0x176D,0x16A8,0x15E2,0x151C,0x1455,0x138F,0x12C8,0x1201,0x113A,0x1072,0x0FAB,0x0EE3,0x0E1C,0x0D54,
+	0x0C8C,0x0BC3,0x0AFB,0x0A33,0x096A,0x08A2,0x07D9,0x0711,0x0648,0x057F,0x04B6,0x03ED,0x0324,0x025B,0x0192,0x00C9,
+	0x0000,0xFF37,0xFE6E,0xFDA5,0xFCDC,0xFC13,0xFB4A,0xFA81,0xF9B8,0xF8EF,0xF827,0xF75E,0xF696,0xF5CD,0xF505,0xF43D,
+	0xF374,0xF2AC,0xF1E4,0xF11D,0xF055,0xEF8E,0xEEC6,0xEDFF,0xED38,0xEC71,0xEBAB,0xEAE4,0xEA1E,0xE958,0xE893,0xE7CD,
+	0xE708,0xE643,0xE57E,0xE4B9,0xE3F5,0xE331,0xE26D,0xE1AA,0xE0E7,0xE024,0xDF61,0xDE9F,0xDDDD,0xDD1B,0xDC5A,0xDB99,
+	0xDAD9,0xDA18,0xD958,0xD899,0xD7DA,0xD71B,0xD65D,0xD59F,0xD4E1,0xD424,0xD368,0xD2AB,0xD1F0,0xD134,0xD079,0xCFBF,
+	0xCF05,0xCE4B,0xCD92,0xCCDA,0xCC22,0xCB6A,0xCAB3,0xC9FD,0xC947,0xC891,0xC7DC,0xC728,0xC674,0xC5C1,0xC50E,0xC45C,
+	0xC3AA,0xC2F9,0xC249,0xC199,0xC0EA,0xC03B,0xBF8D,0xBEE0,0xBE33,0xBD87,0xBCDB,0xBC30,0xBB86,0xBADD,0xBA34,0xB98C,
+	0xB8E4,0xB83D,0xB797,0xB6F2,0xB64D,0xB5A9,0xB506,0xB463,0xB3C1,0xB320,0xB280,0xB1E0,0xB141,0xB0A3,0xB006,0xAF69,
+	0xAECD,0xAE32,0xAD98,0xACFF,0xAC66,0xABCE,0xAB37,0xAAA1,0xAA0C,0xA977,0xA8E3,0xA851,0xA7BF,0xA72D,0xA69D,0xA60E,
+	0xA57F,0xA4F1,0xA464,0xA3D8,0xA34D,0xA2C3,0xA23A,0xA1B1,0xA12A,0xA0A3,0xA01E,0x9F99,0x9F15,0x9E92,0x9E11,0x9D90,
+	0x9D10,0x9C90,0x9C12,0x9B95,0x9B19,0x9A9E,0x9A24,0x99AA,0x9932,0x98BB,0x9845,0x97CF,0x975B,0x96E8,0x9676,0x9604,
+	0x9594,0x9525,0x94B7,0x944A,0x93DE,0x9372,0x9308,0x92A0,0x9238,0x91D1,0x916B,0x9106,0x90A3,0x9040,0x8FDF,0x8F7E,
+	0x8F1F,0x8EC1,0x8E64,0x8E08,0x8DAD,0x8D53,0x8CFA,0x8CA2,0x8C4C,0x8BF6,0x8BA2,0x8B4F,0x8AFD,0x8AAC,0x8A5C,0x8A0E,
+	0x89C0,0x8974,0x8929,0x88DE,0x8896,0x884E,0x8807,0x87C2,0x877D,0x873A,0x86F8,0x86B7,0x8678,0x8639,0x85FC,0x85C0,
+	0x8585,0x854B,0x8513,0x84DB,0x84A5,0x8470,0x843C,0x8409,0x83D8,0x83A8,0x8379,0x834B,0x831E,0x82F3,0x82C8,0x829F,
+	0x8278,0x8251,0x822C,0x8207,0x81E4,0x81C3,0x81A2,0x8183,0x8165,0x8148,0x812C,0x8112,0x80F8,0x80E0,0x80CA,0x80B4,
+	0x80A0,0x808D,0x807B,0x806A,0x805B,0x804D,0x8040,0x8034,0x8029,0x8020,0x8018,0x8011,0x800C,0x8008,0x8004,0x8003,
+	0x8002,0x8003,0x8004,0x8008,0x800C,0x8011,0x8018,0x8020,0x8029,0x8034,0x8040,0x804D,0x805B,0x806A,0x807B,0x808D,
+	0x80A0,0x80B4,0x80CA,0x80E0,0x80F8,0x8112,0x812C,0x8148,0x8165,0x8183,0x81A2,0x81C3,0x81E4,0x8207,0x822C,0x8251,
+	0x8278,0x829F,0x82C8,0x82F3,0x831E,0x834B,0x8379,0x83A8,0x83D8,0x8409,0x843C,0x8470,0x84A5,0x84DB,0x8513,0x854B,
+	0x8585,0x85C0,0x85FC,0x8639,0x8678,0x86B7,0x86F8,0x873A,0x877D,0x87C2,0x8807,0x884E,0x8896,0x88DE,0x8929,0x8974,
+	0x89C0,0x8A0E,0x8A5C,0x8AAC,0x8AFD,0x8B4F,0x8BA2,0x8BF6,0x8C4C,0x8CA2,0x8CFA,0x8D53,0x8DAD,0x8E08,0x8E64,0x8EC1,
+	0x8F1F,0x8F7E,0x8FDF,0x9040,0x90A3,0x9106,0x916B,0x91D1,0x9238,0x92A0,0x9308,0x9372,0x93DE,0x944A,0x94B7,0x9525,
+	0x9594,0x9604,0x9676,0x96E8,0x975B,0x97CF,0x9845,0x98BB,0x9932,0x99AA,0x9A24,0x9A9E,0x9B19,0x9B95,0x9C12,0x9C90,
+	0x9D10,0x9D90,0x9E11,0x9E92,0x9F15,0x9F99,0xA01E,0xA0A3,0xA12A,0xA1B1,0xA23A,0xA2C3,0xA34D,0xA3D8,0xA464,0xA4F1,
+	0xA57F,0xA60E,0xA69D,0xA72D,0xA7BF,0xA851,0xA8E3,0xA977,0xAA0C,0xAAA1,0xAB37,0xABCE,0xAC66,0xACFF,0xAD98,0xAE32,
+	0xAECD,0xAF69,0xB006,0xB0A3,0xB141,0xB1E0,0xB280,0xB320,0xB3C1,0xB463,0xB506,0xB5A9,0xB64D,0xB6F2,0xB797,0xB83D,
+	0xB8E4,0xB98C,0xBA34,0xBADD,0xBB86,0xBC30,0xBCDB,0xBD87,0xBE33,0xBEE0,0xBF8D,0xC03B,0xC0EA,0xC199,0xC249,0xC2F9,
+	0xC3AA,0xC45C,0xC50E,0xC5C1,0xC674,0xC728,0xC7DC,0xC891,0xC947,0xC9FD,0xCAB3,0xCB6A,0xCC22,0xCCDA,0xCD92,0xCE4B,
+	0xCF05,0xCFBF,0xD079,0xD134,0xD1F0,0xD2AB,0xD368,0xD424,0xD4E1,0xD59F,0xD65D,0xD71B,0xD7DA,0xD899,0xD958,0xDA18,
+	0xDAD9,0xDB99,0xDC5A,0xDD1B,0xDDDD,0xDE9F,0xDF61,0xE024,0xE0E7,0xE1AA,0xE26D,0xE331,0xE3F5,0xE4B9,0xE57E,0xE643,
+	0xE708,0xE7CD,0xE893,0xE958,0xEA1E,0xEAE4,0xEBAB,0xEC71,0xED38,0xEDFF,0xEEC6,0xEF8E,0xF055,0xF11D,0xF1E4,0xF2AC,
+	0xF374,0xF43D,0xF505,0xF5CD,0xF696,0xF75E,0xF827,0xF8EF,0xF9B8,0xFA81,0xFB4A,0xFC13,0xFCDC,0xFDA5,0xFE6E,0xFF37,
+	0x0000,0x00C9,0x0192,0x025B,0x0324,0x03ED,0x04B6,0x057F,0x0648,0x0711,0x07D9,0x08A2,0x096A,0x0A33,0x0AFB,0x0BC3,
+	0x0C8C,0x0D54,0x0E1C,0x0EE3,0x0FAB,0x1072,0x113A,0x1201,0x12C8,0x138F,0x1455,0x151C,0x15E2,0x16A8,0x176D,0x1833,
+	0x18F8,0x19BD,0x1A82,0x1B47,0x1C0B,0x1CCF,0x1D93,0x1E56,0x1F19,0x1FDC,0x209F,0x2161,0x2223,0x22E5,0x23A6,0x2467,
+	0x2527,0x25E8,0x26A8,0x2767,0x2826,0x28E5,0x29A3,0x2A61,0x2B1F,0x2BDC,0x2C98,0x2D55,0x2E10,0x2ECC,0x2F87,0x3041,
+	0x30FB,0x31B5,0x326E,0x3326,0x33DE,0x3496,0x354D,0x3603,0x36B9,0x376F,0x3824,0x38D8,0x398C,0x3A3F,0x3AF2,0x3BA4,
+	0x3C56,0x3D07,0x3DB7,0x3E67,0x3F16,0x3FC5,0x4073,0x4120,0x41CD,0x4279,0x4325,0x43D0,0x447A,0x4523,0x45CC,0x4674,
+	0x471C,0x47C3,0x4869,0x490E,0x49B3,0x4A57,0x4AFA,0x4B9D,0x4C3F,0x4CE0,0x4D80,0x4E20,0x4EBF,0x4F5D,0x4FFA,0x5097,
+	0x5133,0x51CE,0x5268,0x5301,0x539A,0x5432,0x54C9,0x555F,0x55F4,0x5689,0x571D,0x57AF,0x5841,0x58D3,0x5963,0x59F2,
+	0x5A81,0x5B0F,0x5B9C,0x5C28,0x5CB3,0x5D3D,0x5DC6,0x5E4F,0x5ED6,0x5F5D,0x5FE2,0x6067,0x60EB,0x616E,0x61EF,0x6270,
+	0x62F0,0x6370,0x63EE,0x646B,0x64E7,0x6562,0x65DC,0x6656,0x66CE,0x6745,0x67BB,0x6831,0x68A5,0x6918,0x698A,0x69FC,
+	0x6A6C,0x6ADB,0x6B49,0x6BB6,0x6C22,0x6C8E,0x6CF8,0x6D60,0x6DC8,0x6E2F,0x6E95,0x6EFA,0x6F5D,0x6FC0,0x7021,0x7082,
+	0x70E1,0x713F,0x719C,0x71F8,0x7253,0x72AD,0x7306,0x735E,0x73B4,0x740A,0x745E,0x74B1,0x7503,0x7554,0x75A4,0x75F2,
+	0x7640,0x768C,0x76D7,0x7722,0x776A,0x77B2,0x77F9,0x783E,0x7883,0x78C6,0x7908,0x7949,0x7988,0x79C7,0x7A04,0x7A40,
+	0x7A7B,0x7AB5,0x7AED,0x7B25,0x7B5B,0x7B90,0x7BC4,0x7BF7,0x7C28,0x7C58,0x7C87,0x7CB5,0x7CE2,0x7D0D,0x7D38,0x7D61,
+	0x7D88,0x7DAF,0x7DD4,0x7DF9,0x7E1C,0x7E3D,0x7E5E,0x7E7D,0x7E9B,0x7EB8,0x7ED4,0x7EEE,0x7F08,0x7F20,0x7F36,0x7F4C,
+	0x7F60,0x7F73,0x7F85,0x7F96,0x7FA5,0x7FB3,0x7FC0,0x7FCC,0x7FD7,0x7FE0,0x7FE8,0x7FEF,0x7FF4,0x7FF8,0x7FFC,0x7FFD
+};
--- /dev/null
+++ b/src/ft2_about.h
@@ -1,0 +1,9 @@
+#pragma once
+
+#include <stdint.h>
+
+void aboutFrame(void);
+void seedAboutScreenRandom(uint32_t newseed);
+void showAboutScreen(void);
+void hideAboutScreen(void);
+void exitAboutScreen(void);
--- /dev/null
+++ b/src/ft2_audio.c
@@ -1,0 +1,1356 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_scopes.h"
+#include "ft2_video.h"
+#include "ft2_gui.h"
+#include "ft2_midi.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_module_loader.h"
+#include "ft2_mix.h"
+#include "ft2_audio.h"
+
+#define INITIAL_DITHER_SEED 0x12345000
+
+static int8_t pmpCountDiv, pmpChannels = 2;
+static uint16_t smpBuffSize;
+static int32_t masterVol, amp, oldAudioFreq, speedVal, pmpLeft, randSeed = INITIAL_DITHER_SEED;
+static uint32_t tickTimeLen, tickTimeLenFrac, oldSFrq, oldSFrqRev = 0xFFFFFFFF;
+static float fAudioAmpMul;
+static voice_t voice[MAX_VOICES * 2];
+static void (*sendAudSamplesFunc)(uint8_t *, uint32_t, uint8_t); // "send mixed samples" routines
+
+pattSyncData_t *pattSyncEntry;
+chSyncData_t *chSyncEntry;
+
+volatile bool pattQueueReading, pattQueueClearing, chQueueReading, chQueueClearing;
+
+extern const uint32_t panningTab[257]; // defined at the bottom of this file
+
+void resetOldRevFreqs(void)
+{
+	oldSFrq = 0;
+	oldSFrqRev = 0xFFFFFFFF;
+}
+
+void stopVoice(uint8_t i)
+{
+	voice_t *v;
+
+	v = &voice[i];
+	memset(v, 0, sizeof (voice_t));
+	v->SPan = 128;
+
+	// clear "fade out" voice too
+
+	v = &voice[MAX_VOICES + i];
+	memset(v, 0, sizeof (voice_t));
+	v->SPan = 128;
+}
+
+bool setNewAudioSettings(void) // only call this from the main input/video thread
+{
+	uint32_t stringLen;
+
+	pauseAudio();
+
+	if (!setupAudio(CONFIG_HIDE_ERRORS))
+	{
+		// set back old known working settings
+
+		config.audioFreq = audio.lastWorkingAudioFreq;
+		config.specialFlags &= ~(BITDEPTH_16 + BITDEPTH_24 + BUFFSIZE_512 + BUFFSIZE_1024 + BUFFSIZE_2048);
+		config.specialFlags |= audio.lastWorkingAudioBits;
+
+		if (audio.lastWorkingAudioDeviceName != NULL)
+		{
+			if (audio.currOutputDevice != NULL)
+			{
+				free(audio.currOutputDevice);
+				audio.currOutputDevice = NULL;
+			}
+
+			stringLen = (uint32_t)strlen(audio.lastWorkingAudioDeviceName);
+
+			audio.currOutputDevice = (char *)malloc(stringLen + 2);
+			if (audio.currOutputDevice != NULL)
+			{
+				strcpy(audio.currOutputDevice, audio.lastWorkingAudioDeviceName);
+				audio.currOutputDevice[stringLen + 1] = '\0'; // UTF-8 needs double null termination
+			}
+		}
+
+		// also update config audio radio buttons if we're on that screen at the moment
+		if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+			setConfigIORadioButtonStates();
+
+		// if it didn't work to use the old settings again, then something is seriously wrong...
+		if (!setupAudio(CONFIG_HIDE_ERRORS))
+			okBox(0, "System message", "Couldn't find a working audio mode... You'll get no sound / replayer timer!");
+
+		resumeAudio();
+		return false;
+	}
+
+	resumeAudio();
+	return true;
+}
+
+// ampFactor = 1..32, masterVol = 0..256
+void setAudioAmp(int16_t ampFactor, int16_t master, bool bitDepth32Flag)
+{
+	ampFactor = CLAMP(ampFactor, 1, 32);
+	master    = CLAMP(master, 0, 256);
+
+	// voiceVolume = (vol(0..2047) * amp(1..32) * pan(0..65536)) >> 4
+	const float fAudioNorm = 1.0f / (((2047UL * 32 * 65536) / 16) / MAX_VOICES);
+
+	if (bitDepth32Flag)
+	{
+		// 32-bit floating point (24-bit)
+		fAudioAmpMul = fAudioNorm * (master / 256.0f);
+	}
+	else
+	{
+		// 16-bit integer
+		masterVol = master;
+	}
+
+	// calculate channel amp
+
+	if (amp != ampFactor)
+	{
+		amp = ampFactor;
+
+		// make all channels update volume because of amp change
+		for (uint32_t i = 0; i < song.antChn; i++)
+			stm[i].status |= IS_Vol;
+	}
+}
+
+void setNewAudioFreq(uint32_t freq) // for song to WAV rendering
+{
+	if (freq == 0)
+		return;
+
+	oldAudioFreq = audio.freq;
+	audio.freq = freq;
+
+	calcReplayRate(audio.freq);
+}
+
+void setBackOldAudioFreq(void) // for song to WAV rendering
+{
+	audio.freq = oldAudioFreq;
+	calcReplayRate(audio.freq);
+}
+
+void setSpeed(uint16_t bpm)
+{
+	double dInt, dFrac;
+
+	if (bpm == 0)
+		return;
+
+	speedVal = ((audio.freq + audio.freq) + (audio.freq >> 1)) / bpm; // (audio.freq * 2.5) / BPM
+	if (speedVal > 0) // calculate tick time length for audio/video sync timestamp
+	{
+		// number of samples per tick -> tick length for performance counter
+		dFrac = modf(speedVal * audio.dSpeedValMul, &dInt);
+
+		// integer part
+		tickTimeLen = (uint32_t)dInt;
+
+		// fractional part (scaled to 0..2^32-1)
+		dFrac *= UINT32_MAX + 1.0;
+		if (dFrac > (double)UINT32_MAX)
+			dFrac = (double)UINT32_MAX;
+		tickTimeLenFrac = (uint32_t)dFrac;
+	}
+}
+
+void audioSetVolRamp(bool volRamp)
+{
+	lockMixerCallback();
+	audio.volumeRampingFlag = volRamp;
+	unlockMixerCallback();
+}
+
+void audioSetInterpolation(bool interpolation)
+{
+	lockMixerCallback();
+	audio.interpolationFlag = interpolation;
+	unlockMixerCallback();
+}
+
+static inline void voiceUpdateVolumes(uint8_t i, uint8_t status)
+{
+	int32_t volL, volR;
+	voice_t *v, *f;
+
+	v = &voice[i];
+
+	volL = v->SVol * amp; // 0..2047 * 1..32 = 0..65504
+
+	// (0..65504 * 0..65536) >> 4 = 0..268304384
+	volR = ((uint32_t)volL * panningTab[v->SPan]) >> 4;
+	volL = ((uint32_t)volL * panningTab[256 - v->SPan]) >> 4;
+
+	if (!audio.volumeRampingFlag)
+	{
+		v->SLVol2 = volL;
+		v->SRVol2 = volR;
+	}
+	else
+	{
+		v->SLVol1 = volL;
+		v->SRVol1 = volR;
+
+		if (status & IS_NyTon)
+		{
+			// sample is about to start, ramp out/in at the same time
+
+			// setup "fade out" voice (only if current voice volume>0)
+			if (v->SLVol2 > 0 || v->SRVol2 > 0)
+			{
+				f = &voice[MAX_VOICES + i];
+
+				*f = *v; // copy voice
+
+				f->SVolIPLen = audio.quickVolSizeVal;
+				f->SLVolIP = -f->SLVol2 / f->SVolIPLen;
+				f->SRVolIP = -f->SRVol2 / f->SVolIPLen;
+
+				f->isFadeOutVoice = true;
+			}
+
+			// make current voice fade in when it starts
+			v->SLVol2 = 0;
+			v->SRVol2 = 0;
+		}
+
+		// ramp volume changes
+
+		/* FT2 has two internal volume ramping lengths:
+		** IS_QuickVol: 5ms (audioFreq / 200)
+		** Normal: The duration of a tick (speedVal) */
+
+		if (volL == v->SLVol2 && volR == v->SRVol2)
+		{
+			v->SVolIPLen = 0; // there is no volume change
+		}
+		else
+		{
+			v->SVolIPLen = (status & IS_QuickVol) ? audio.quickVolSizeVal : speedVal;
+			v->SLVolIP = (volL - v->SLVol2) / v->SVolIPLen;
+			v->SRVolIP = (volR - v->SRVol2) / v->SVolIPLen;
+		}
+	}
+}
+
+static void voiceTrigger(uint8_t i, sampleTyp *s, int32_t position)
+{
+	bool sampleIs16Bit;
+	uint8_t loopType;
+	int32_t oldSLen, length, loopBegin, loopLength;
+	voice_t *v;
+
+	v = &voice[i];
+
+	length = s->len;
+	loopBegin = s->repS;
+	loopLength = s->repL;
+	loopType = s->typ & 3;
+	sampleIs16Bit = (s->typ >> 4) & 1;
+
+	if (sampleIs16Bit)
+	{
+		assert(!(length & 1));
+		assert(!(loopBegin & 1));
+		assert(!(loopLength & 1));
+
+		length >>= 1;
+		loopBegin >>= 1;
+		loopLength >>= 1;
+	}
+
+	if (s->pek == NULL || length < 1)
+	{
+		v->mixRoutine = NULL; // shut down voice (illegal parameters)
+		return;
+	}
+
+	if (loopLength < 1) // disable loop if loopLength is below 1
+		loopType = 0;
+
+	if (sampleIs16Bit)
+	{
+		v->SBase16 = (const int16_t *)s->pek;
+		v->SRevBase16 = &v->SBase16[loopBegin + (loopBegin + loopLength)]; // for pingpong loops
+	}
+	else
+	{
+		v->SBase8 = s->pek;
+		v->SRevBase8 = &v->SBase8[loopBegin + (loopBegin + loopLength)]; // for pingpong loops
+	}
+
+	v->backwards = false;
+	v->SLen = (loopType > 0) ? (loopBegin + loopLength) : length;
+	v->SRepS = loopBegin;
+	v->SRepL = loopLength;
+	v->SPos = position;
+	v->SPosDec = 0; // position fraction
+
+	// if 9xx position overflows, shut down voice
+	oldSLen = (loopType > 0) ? (loopBegin + loopLength) : length;
+	if (v->SPos >= oldSLen)
+	{
+		v->mixRoutine = NULL;
+		return;
+	}
+
+	v->mixRoutine = mixRoutineTable[(sampleIs16Bit * 12) + (audio.volumeRampingFlag * 6) + (audio.interpolationFlag * 3) + loopType];
+}
+
+void mix_SaveIPVolumes(void) // for volume ramping
+{
+	voice_t *v;
+	for (uint32_t i = 0; i < song.antChn; i++)
+	{
+		v = &voice[i];
+		v->SLVol2 = v->SLVol1;
+		v->SRVol2 = v->SRVol1;
+		v->SVolIPLen = 0;
+	}
+}
+
+void mix_UpdateChannelVolPanFrq(void)
+{
+	uint8_t status;
+	uint16_t vol;
+	stmTyp *ch;
+	voice_t *v;
+
+	for (uint8_t i = 0; i < song.antChn; i++)
+	{
+		ch = &stm[i];
+		v = &voice[i];
+
+		status = ch->tmpStatus = ch->status; // ch->tmpStatus is used for audio/video sync queue
+		if (status != 0)
+		{
+			ch->status = 0;
+
+			// volume change
+			if (status & IS_Vol)
+			{
+				vol = ch->finalVol;
+				if (vol > 0) // yes, FT2 does this!
+					vol--;
+
+				v->SVol = vol;
+			}
+
+			// panning change
+			if (status & IS_Pan)
+				v->SPan = ch->finalPan;
+
+			// update mixing volumes if vol/pan change
+			if (status & (IS_Vol + IS_Pan))
+				voiceUpdateVolumes(i, status);
+
+			// frequency change
+			if (status & IS_Period)
+			{
+				v->SFrq = getFrequenceValue(ch->finalPeriod);
+
+				if (v->SFrq != oldSFrq)
+				{
+					oldSFrq = v->SFrq;
+
+					oldSFrqRev = 0xFFFFFFFF;
+					if (oldSFrq != 0)
+						oldSFrqRev /= oldSFrq;
+				}
+
+				v->SFrqRev = oldSFrqRev;
+			}
+
+			// sample trigger (note)
+			if (status & IS_NyTon)
+				voiceTrigger(i, ch->smpPtr, ch->smpStartPos);
+		}
+	}
+}
+
+void resetDitherSeed(void)
+{
+	randSeed = INITIAL_DITHER_SEED;
+}
+
+// Delphi/Pascal LCG Random() (without limit). Suitable for 32-bit random numbers
+static inline uint32_t random32(void)
+{
+	randSeed *= 134775813;
+	randSeed++;
+
+	return randSeed;
+}
+
+static void sendSamples16BitStereo(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	int16_t *streamPointer16;
+	int32_t out32;
+
+	(void)numAudioChannels;
+
+	streamPointer16 = (int16_t *)stream;
+
+	if (masterVol == 256) // max master volume
+	{
+		for (uint32_t i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			out32 = audio.mixBufferL[i] >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			out32 = audio.mixBufferR[i] >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+		}
+	}
+	else
+	{
+		for (uint32_t i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			out32 = ((audio.mixBufferL[i] >> 8) * masterVol) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			out32 = ((audio.mixBufferR[i] >> 8) * masterVol) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+		}
+	}
+}
+
+static void sendSamples16BitMultiChan(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	int16_t *streamPointer16;
+	int32_t out32;
+	uint32_t i, j;
+
+	streamPointer16 = (int16_t *)stream;
+
+	if (masterVol == 256) // max master volume
+	{
+		for (i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			out32 = audio.mixBufferL[i] >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			out32 = audio.mixBufferR[i] >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			for (j = 2; j < numAudioChannels; j++)
+				*streamPointer16++ = 0;
+		}
+	}
+	else
+	{
+		for (i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			out32 = ((audio.mixBufferL[i] >> 8) * masterVol) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			out32 = ((audio.mixBufferR[i] >> 8) * masterVol) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			for (j = 2; j < numAudioChannels; j++)
+				*streamPointer16++ = 0;
+		}
+	}
+}
+
+static void sendSamples16BitDitherStereo(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	int16_t *streamPointer16;
+	int32_t dither, out32;
+
+	(void)numAudioChannels;
+
+	streamPointer16 = (int16_t *)stream;
+
+	if (masterVol == 256) // max master volume
+	{
+		for (uint32_t i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			dither = ((random32() % 3) - 1) << (8 - 1); // random 1.5-bit noise: -128, 0, 128
+			out32 = (audio.mixBufferL[i] + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = (audio.mixBufferR[i] + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+		}
+	}
+	else
+	{
+		for (uint32_t i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			dither = ((random32() % 3) - 1) << (8 - 1); // random 1.5-bit noise: -128, 0, 128
+			out32 = (audio.mixBufferL[i] + dither) >> 8;
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = ((out32 * masterVol) + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = (audio.mixBufferR[i] + dither) >> 8;
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = ((out32 * masterVol) + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+		}
+	}
+}
+
+static void sendSamples16BitDitherMultiChan(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	int16_t *streamPointer16;
+	int32_t dither, out32;
+
+	streamPointer16 = (int16_t *)stream;
+
+	if (masterVol == 256) // max master volume
+	{
+		for (uint32_t i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			dither = ((random32() % 3) - 1) << (8 - 1); // random 1.5-bit noise: -128, 0, 128
+			out32 = (audio.mixBufferL[i] + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = (audio.mixBufferR[i] + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			for (uint32_t j = 2; j < numAudioChannels; j++)
+				*streamPointer16++ = 0;
+		}
+	}
+	else
+	{
+		for (uint32_t i = 0; i < sampleBlockLength; i++)
+		{
+			// left channel
+			dither = ((random32() % 3) - 1) << (8 - 1); // random 1.5-bit noise: -128, 0, 128
+			out32 = (audio.mixBufferL[i] + dither) >> 8;
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = ((out32 * masterVol) + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			// right channel
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = (audio.mixBufferR[i] + dither) >> 8;
+			dither = ((random32() % 3) - 1) << (8 - 1);
+			out32 = ((out32 * masterVol) + dither) >> 8;
+			CLAMP16(out32);
+			*streamPointer16++ = (int16_t)out32;
+
+			for (uint32_t j = 2; j < numAudioChannels; j++)
+				*streamPointer16++ = 0;
+		}
+	}
+}
+
+static void sendSamples24BitStereo(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	float fOut, *fStreamPointer24;
+
+	(void)numAudioChannels;
+
+	fStreamPointer24 = (float *)stream;
+	for (uint32_t i = 0; i < sampleBlockLength; i++)
+	{
+		// left channel
+		fOut = audio.mixBufferL[i] * fAudioAmpMul;
+		fOut = CLAMP(fOut, -1.0f, 1.0f);
+		*fStreamPointer24++ = fOut;
+
+		// right channel
+		fOut = audio.mixBufferR[i] * fAudioAmpMul;
+		fOut = CLAMP(fOut, -1.0f, 1.0f);
+		*fStreamPointer24++ = fOut;
+	}
+}
+
+static void sendSamples24BitMultiChan(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	float fOut, *fStreamPointer24;
+
+	fStreamPointer24 = (float *)stream;
+	for (uint32_t i = 0; i < sampleBlockLength; i++)
+	{
+		// left channel
+		fOut = audio.mixBufferL[i] * fAudioAmpMul;
+		fOut = CLAMP(fOut, -1.0f, 1.0f);
+		*fStreamPointer24++ = fOut;
+
+		// right channel
+		fOut = audio.mixBufferR[i] * fAudioAmpMul;
+		fOut = CLAMP(fOut, -1.0f, 1.0f);
+		*fStreamPointer24++ = fOut;
+
+		for (uint32_t j = 2; j < numAudioChannels; j++)
+			*fStreamPointer24++ = 0.0f;
+	}
+}
+
+static void mixAudio(uint8_t *stream, uint32_t sampleBlockLength, uint8_t numAudioChannels)
+{
+	voice_t *v = voice;
+
+	assert(sampleBlockLength <= MAX_WAV_RENDER_SAMPLES_PER_TICK);
+	memset(audio.mixBufferL, 0, sampleBlockLength * sizeof (int32_t));
+	memset(audio.mixBufferR, 0, sampleBlockLength * sizeof (int32_t));
+
+	// mix channels
+	for (uint32_t i = 0; i < song.antChn; i++)
+	{
+		// call the mixing routine currently set for the voice
+		if (v->mixRoutine != NULL)
+			v->mixRoutine(v, sampleBlockLength);
+
+		// mix fade-out voice
+		v += MAX_VOICES;
+
+		// call the mixing routine currently set for the voice
+		if (v->mixRoutine != NULL)
+			v->mixRoutine(v, sampleBlockLength);
+
+		v -= (MAX_VOICES - 1); // go to next normal channel
+	}
+
+	// normalize mix buffer and send to audio stream
+	sendAudSamplesFunc(stream, sampleBlockLength, numAudioChannels);
+}
+
+// used for song-to-WAV renderer
+uint32_t mixReplayerTickToBuffer(uint8_t *stream, uint8_t bitDepth)
+{
+	voice_t *v = voice;
+
+	assert(speedVal <= MAX_WAV_RENDER_SAMPLES_PER_TICK);
+	memset(audio.mixBufferL, 0, speedVal * sizeof (int32_t));
+	memset(audio.mixBufferR, 0, speedVal * sizeof (int32_t));
+
+	// mix channels
+	for (uint32_t i = 0; i < song.antChn; i++)
+	{
+		// call the mixing routine currently set for the voice
+		if (v->mixRoutine != NULL)
+			v->mixRoutine(v, speedVal);
+
+		// mix fade-out voice
+		v += MAX_VOICES;
+
+		// call the mixing routine currently set for the voice
+		if (v->mixRoutine != NULL)
+			v->mixRoutine(v, speedVal);
+
+		v -= (MAX_VOICES - 1); // go to next normal channel
+	}
+
+	// normalize mix buffer and send to audio stream
+	if (bitDepth == 16)
+	{
+		if (config.specialFlags2 & DITHERED_AUDIO)
+			sendSamples16BitDitherStereo(stream, speedVal, 2);
+		else
+			sendSamples16BitStereo(stream, speedVal, 2);
+	}
+	else
+	{
+		sendSamples24BitStereo(stream, speedVal, 2);
+	}
+
+	return speedVal;
+}
+
+int32_t pattQueueReadSize(void)
+{
+	while (pattQueueClearing);
+
+	if (pattSync.writePos > pattSync.readPos)
+		return pattSync.writePos - pattSync.readPos;
+	else if (pattSync.writePos < pattSync.readPos)
+		return pattSync.writePos - pattSync.readPos + SYNC_QUEUE_LEN + 1;
+	else
+		return 0;
+}
+
+int32_t pattQueueWriteSize(void)
+{
+	int32_t size;
+
+	if (pattSync.writePos > pattSync.readPos)
+	{
+		size = pattSync.readPos - pattSync.writePos + SYNC_QUEUE_LEN;
+	}
+	else if (pattSync.writePos < pattSync.readPos)
+	{
+		pattQueueClearing = true;
+
+		/* Buffer is full, reset the read/write pos. This is actually really nasty since
+		** read/write are two different threads, but because of timestamp validation it
+		** shouldn't be that dangerous.
+		** It will also create a small visual stutter while the buffer is getting filled,
+		** though that is barely noticable on normal buffer sizes, and it takes several
+		** minutes between each time (when queue size is default, 16384) */
+		pattSync.data[0].timestamp = 0;
+		pattSync.readPos = 0;
+		pattSync.writePos = 0;
+
+		size = SYNC_QUEUE_LEN;
+
+		pattQueueClearing = false;
+	}
+	else
+	{
+		size = SYNC_QUEUE_LEN;
+	}
+
+	return size;
+}
+
+bool pattQueuePush(pattSyncData_t t)
+{
+	if (!pattQueueWriteSize())
+		return false;
+
+	assert(pattSync.writePos <= SYNC_QUEUE_LEN);
+	pattSync.data[pattSync.writePos] = t;
+	pattSync.writePos = (pattSync.writePos + 1) & SYNC_QUEUE_LEN;
+
+	return true;
+}
+
+bool pattQueuePop(void)
+{
+	if (!pattQueueReadSize())
+		return false;
+
+	pattSync.readPos = (pattSync.readPos + 1) & SYNC_QUEUE_LEN;
+	assert(pattSync.readPos <= SYNC_QUEUE_LEN);
+
+	return true;
+}
+
+pattSyncData_t *pattQueuePeek(void)
+{
+	if (!pattQueueReadSize())
+		return NULL;
+
+	assert(pattSync.readPos <= SYNC_QUEUE_LEN);
+	return &pattSync.data[pattSync.readPos];
+}
+
+uint64_t getPattQueueTimestamp(void)
+{
+	if (!pattQueueReadSize())
+		return 0;
+
+	assert(pattSync.readPos <= SYNC_QUEUE_LEN);
+	return pattSync.data[pattSync.readPos].timestamp;
+}
+
+int32_t chQueueReadSize(void)
+{
+	while (chQueueClearing);
+
+	if (chSync.writePos > chSync.readPos)
+		return chSync.writePos - chSync.readPos;
+	else if (chSync.writePos < chSync.readPos)
+		return chSync.writePos - chSync.readPos + SYNC_QUEUE_LEN + 1;
+	else
+		return 0;
+}
+
+int32_t chQueueWriteSize(void)
+{
+	int32_t size;
+
+	if (chSync.writePos > chSync.readPos)
+	{
+		size = chSync.readPos - chSync.writePos + SYNC_QUEUE_LEN;
+	}
+	else if (chSync.writePos < chSync.readPos)
+	{
+		chQueueClearing = true;
+
+		/* Buffer is full, reset the read/write pos. This is actually really nasty since
+		** read/write are two different threads, but because of timestamp validation it
+		** shouldn't be that dangerous.
+		** It will also create a small visual stutter while the buffer is getting filled,
+		** though that is barely noticable on normal buffer sizes, and it takes several
+		** minutes between each time (when queue size is default, 16384) */
+		chSync.data[0].timestamp = 0;
+		chSync.readPos = 0;
+		chSync.writePos = 0;
+
+		size = SYNC_QUEUE_LEN;
+
+		chQueueClearing = false;
+	}
+	else
+	{
+		size = SYNC_QUEUE_LEN;
+	}
+
+	return size;
+}
+
+bool chQueuePush(chSyncData_t t)
+{
+	if (!chQueueWriteSize())
+		return false;
+
+	assert(chSync.writePos <= SYNC_QUEUE_LEN);
+	chSync.data[chSync.writePos] = t;
+	chSync.writePos = (chSync.writePos + 1) & SYNC_QUEUE_LEN;
+
+	return true;
+}
+
+bool chQueuePop(void)
+{
+	if (!chQueueReadSize())
+		return false;
+
+	chSync.readPos = (chSync.readPos + 1) & SYNC_QUEUE_LEN;
+	assert(chSync.readPos <= SYNC_QUEUE_LEN);
+
+	return true;
+}
+
+chSyncData_t *chQueuePeek(void)
+{
+	if (!chQueueReadSize())
+		return NULL;
+
+	assert(chSync.readPos <= SYNC_QUEUE_LEN);
+	return &chSync.data[chSync.readPos];
+}
+
+uint64_t getChQueueTimestamp(void)
+{
+	if (!chQueueReadSize())
+		return 0;
+
+	assert(chSync.readPos <= SYNC_QUEUE_LEN);
+	return chSync.data[chSync.readPos].timestamp;
+}
+
+void lockAudio(void)
+{
+	if (audio.dev != 0)
+		SDL_LockAudioDevice(audio.dev);
+
+	audio.locked = true;
+}
+
+void unlockAudio(void)
+{
+	if (audio.dev != 0)
+		SDL_UnlockAudioDevice(audio.dev);
+
+	audio.locked = false;
+}
+
+static void resetSyncQueues(void)
+{
+	pattSync.data[0].timestamp = 0;
+	pattSync.readPos = 0;
+	pattSync.writePos = 0;
+	
+	chSync.data[0].timestamp = 0;
+	chSync.writePos = 0;
+	chSync.readPos = 0;
+}
+
+void lockMixerCallback(void) // lock audio + clear voices/scopes (for short operations)
+{
+	if (!audio.locked)
+		lockAudio();
+
+	audio.resetSyncTickTimeFlag = true;
+
+	stopVoices(); // VERY important! prevents potential crashes by purging pointers
+
+	// scopes, mixer and replayer are guaranteed to not be active at this point
+
+	resetSyncQueues();
+}
+
+void unlockMixerCallback(void)
+{
+	stopVoices(); // VERY important! prevents potential crashes by purging pointers
+	
+	if (audio.locked)
+		unlockAudio();
+}
+
+void pauseAudio(void) // lock audio + clear voices/scopes + render silence (for long operations)
+{
+	if (audioPaused)
+	{
+		stopVoices(); // VERY important! prevents potential crashes by purging pointers
+		return;
+	}
+
+	if (audio.dev > 0)
+		SDL_PauseAudioDevice(audio.dev, true);
+
+	audio.resetSyncTickTimeFlag = true;
+
+	stopVoices(); // VERY important! prevents potential crashes by purging pointers
+
+	// scopes, mixer and replayer are guaranteed to not be active at this point
+
+	resetSyncQueues();
+	audioPaused = true;
+}
+
+void resumeAudio(void) // unlock audio
+{
+	if (!audioPaused)
+		return;
+
+	if (audio.dev > 0)
+		SDL_PauseAudioDevice(audio.dev, false);
+
+	audioPaused = false;
+}
+
+static void SDLCALL mixCallback(void *userdata, Uint8 *stream, int len)
+{
+	int32_t a, b;
+	pattSyncData_t pattSyncData;
+	chSyncData_t chSyncData;
+	syncedChannel_t *c;
+	stmTyp *s;
+
+	(void)userdata;
+
+	assert(len < 65536); // limitation in mixer
+	assert(pmpCountDiv > 0);
+
+	a = len / pmpCountDiv;
+	if (a <= 0)
+		return;
+
+	while (a > 0)
+	{
+		if (pmpLeft == 0)
+		{
+			// replayer tick
+
+			replayerBusy = true;
+
+			if (audio.volumeRampingFlag)
+				mix_SaveIPVolumes();
+
+			mainPlayer();
+			mix_UpdateChannelVolPanFrq();
+
+			// AUDIO/VIDEO SYNC
+
+			if (audio.resetSyncTickTimeFlag)
+			{
+				audio.resetSyncTickTimeFlag = false;
+
+				audio.tickTime64 = SDL_GetPerformanceCounter() + audio.audLatencyPerfValInt;
+				audio.tickTime64Frac = audio.audLatencyPerfValFrac;
+			}
+
+			if (songPlaying)
+			{
+				// push pattern variables to sync queue
+				pattSyncData.timer = song.curReplayerTimer;
+				pattSyncData.patternPos = song.curReplayerPattPos;
+				pattSyncData.pattern = song.curReplayerPattNr;
+				pattSyncData.songPos = song.curReplayerSongPos;
+				pattSyncData.speed = (uint8_t)song.speed;
+				pattSyncData.tempo = (uint8_t)song.tempo;
+				pattSyncData.globalVol = (uint8_t)song.globVol;
+				pattSyncData.timestamp = audio.tickTime64;
+				pattQueuePush(pattSyncData);
+			}
+
+			// push channel variables to sync queue
+			for (uint32_t i = 0; i < song.antChn; i++)
+			{
+				c = &chSyncData.channels[i];
+				s = &stm[i];
+
+				c->voiceDelta = voice[i].SFrq;
+				c->finalPeriod = s->finalPeriod;
+				c->fineTune = s->fineTune;
+				c->relTonNr = s->relTonNr;
+				c->instrNr = s->instrNr;
+				c->sampleNr = s->sampleNr;
+				c->envSustainActive = s->envSustainActive;
+				c->status = s->tmpStatus;
+				c->finalVol = s->finalVol;
+				c->smpStartPos = s->smpStartPos;
+			}
+
+			chSyncData.timestamp = audio.tickTime64;
+			chQueuePush(chSyncData);
+
+			audio.tickTime64 += tickTimeLen;
+
+			audio.tickTime64Frac += tickTimeLenFrac;
+			if (audio.tickTime64Frac >= (1ULL << 32))
+			{
+				audio.tickTime64Frac &= 0xFFFFFFFF;
+				audio.tickTime64++;
+			}
+
+			pmpLeft = speedVal;
+			replayerBusy = false;
+		}
+
+		b = a;
+		if (b > pmpLeft)
+			b = pmpLeft;
+
+		mixAudio(stream, b, pmpChannels);
+		stream += (b * pmpCountDiv);
+
+		a -= b;
+		pmpLeft -= b;
+	}
+}
+
+static bool setupAudioBuffers(void)
+{
+	const uint32_t sampleSize = sizeof (int32_t);
+
+	audio.mixBufferL = (int32_t *)malloc(MAX_WAV_RENDER_SAMPLES_PER_TICK * sampleSize);
+	audio.mixBufferR = (int32_t *)malloc(MAX_WAV_RENDER_SAMPLES_PER_TICK * sampleSize);
+
+	if (audio.mixBufferL == NULL || audio.mixBufferR == NULL)
+		return false;
+
+	return true;
+}
+
+static void freeAudioBuffers(void)
+{
+	if (audio.mixBufferL != NULL)
+	{
+		free(audio.mixBufferL);
+		audio.mixBufferL = NULL;
+	}
+
+	if (audio.mixBufferR != NULL)
+	{
+		free(audio.mixBufferR);
+		audio.mixBufferR = NULL;
+	}
+}
+
+void updateSendAudSamplesRoutine(bool lockMixer)
+{
+	if (lockMixer)
+		lockMixerCallback();
+
+	// force dither off if somehow set with 24-bit float (illegal)
+	if ((config.specialFlags2 & DITHERED_AUDIO) && (config.specialFlags & BITDEPTH_24))
+		config.specialFlags2 &= ~DITHERED_AUDIO;
+
+	if (config.specialFlags2 & DITHERED_AUDIO)
+	{
+		if (config.specialFlags & BITDEPTH_16)
+		{
+			if (pmpChannels > 2)
+				sendAudSamplesFunc = sendSamples16BitDitherMultiChan;
+			else
+				sendAudSamplesFunc = sendSamples16BitDitherStereo;
+		}
+	}
+	else
+	{
+		if (config.specialFlags & BITDEPTH_16)
+		{
+			if (pmpChannels > 2)
+				sendAudSamplesFunc = sendSamples16BitMultiChan;
+			else
+				sendAudSamplesFunc = sendSamples16BitStereo;
+		}
+		else
+		{
+			if (pmpChannels > 2)
+				sendAudSamplesFunc = sendSamples24BitMultiChan;
+			else
+				sendAudSamplesFunc = sendSamples24BitStereo;
+		}
+	}
+
+	if (lockMixer)
+		unlockMixerCallback();
+}
+
+static void calcAudioLatencyVars(uint16_t haveSamples, int32_t haveFreq)
+{
+	double dAudioLatencySecs, dInt, dFrac;
+
+	if (haveFreq == 0)
+		return; // panic!
+
+	dAudioLatencySecs = haveSamples / (double)haveFreq;
+
+	// dear SDL2, haveSamples and haveFreq better not be bogus values...
+	dFrac = modf(dAudioLatencySecs * editor.dPerfFreq, &dInt);
+
+	// integer part
+	audio.audLatencyPerfValInt = (uint32_t)dInt;
+
+	// fractional part (scaled to 0..2^32-1)
+	dFrac *= UINT32_MAX + 1.0;
+	if (dFrac > (double)UINT32_MAX)
+		dFrac = (double)UINT32_MAX;
+	audio.audLatencyPerfValFrac = (uint32_t)round(dFrac);
+
+	audio.dAudioLatencyMs = dAudioLatencySecs * 1000.0;
+}
+
+static void setLastWorkingAudioDevName(void)
+{
+	uint32_t stringLen;
+
+	if (audio.lastWorkingAudioDeviceName != NULL)
+	{
+		free(audio.lastWorkingAudioDeviceName);
+		audio.lastWorkingAudioDeviceName = NULL;
+	}
+
+	if (audio.currOutputDevice != NULL)
+	{
+		stringLen = (uint32_t)strlen(audio.currOutputDevice);
+
+		audio.lastWorkingAudioDeviceName = (char *)malloc(stringLen + 2);
+		if (audio.lastWorkingAudioDeviceName != NULL)
+		{
+			if (stringLen > 0)
+				strcpy(audio.lastWorkingAudioDeviceName, audio.currOutputDevice);
+			audio.lastWorkingAudioDeviceName[stringLen + 1] = '\0'; // UTF-8 needs double null termination
+		}
+	}
+}
+
+bool setupAudio(bool showErrorMsg)
+{
+	int8_t newBitDepth;
+	uint16_t configAudioBufSize;
+	SDL_AudioSpec want, have;
+
+	closeAudio();
+
+	if (config.audioFreq < MIN_AUDIO_FREQ || config.audioFreq > MAX_AUDIO_FREQ)
+	{
+		// set default rate
+#ifdef __APPLE__
+		config.audioFreq = 44100;
+#else
+		config.audioFreq = 48000;
+#endif
+	}
+
+	// get audio buffer size from config special flags
+
+	configAudioBufSize = 1024;
+	     if (config.specialFlags & BUFFSIZE_512)  configAudioBufSize = 512;
+	else if (config.specialFlags & BUFFSIZE_2048) configAudioBufSize = 2048;
+
+	audio.wantFreq = config.audioFreq;
+	audio.wantSamples = configAudioBufSize;
+	audio.wantChannels = 2;
+
+	// set up audio device
+	memset(&want, 0, sizeof (want));
+
+	// these three may change after opening a device, but our mixer is dealing with it
+	want.freq     = config.audioFreq;
+	want.format   = (config.specialFlags & BITDEPTH_24) ? AUDIO_F32 : AUDIO_S16;
+	want.channels = 2;
+	// -------------------------------------------------------------------------------
+	want.callback = mixCallback;
+	want.samples  = configAudioBufSize;
+
+	audio.dev = SDL_OpenAudioDevice(audio.currOutputDevice, 0, &want, &have, SDL_AUDIO_ALLOW_ANY_CHANGE); // prevent SDL2 from resampling
+	if (audio.dev == 0)
+	{
+		if (showErrorMsg)
+			showErrorMsgBox("Couldn't open audio device:\n\"%s\"\n\nDo you have any audio device enabled and plugged in?", SDL_GetError());
+
+		return false;
+	}
+
+	// test if the received audio format is compatible
+	if (have.format != AUDIO_S16 && have.format != AUDIO_F32)
+	{
+		if (showErrorMsg)
+			showErrorMsgBox("Couldn't open audio device:\nThe program doesn't support an SDL_AudioFormat of '%d' (not 16-bit or 24-bit float).",
+				(uint32_t)have.format);
+
+		closeAudio();
+		return false;
+	}
+
+	// test if the received audio rate is compatible
+	if (have.freq != 44100 && have.freq != 48000 && have.freq != 96000)
+	{
+		if (showErrorMsg)
+			showErrorMsgBox("Couldn't open audio device:\nThe program doesn't support an audio output rate of %dHz. Sorry!", have.freq);
+
+		closeAudio();
+		return false;
+	}
+
+	if (!setupAudioBuffers())
+	{
+		if (showErrorMsg)
+			showErrorMsgBox("Not enough memory!");
+
+		closeAudio();
+		return false;
+	}
+
+	// set new bit depth flag
+
+	newBitDepth = 16;
+	config.specialFlags &= ~BITDEPTH_24;
+	config.specialFlags |=  BITDEPTH_16;
+
+	if (have.format == AUDIO_F32)
+	{
+		newBitDepth = 24;
+		config.specialFlags &= ~BITDEPTH_16;
+		config.specialFlags |=  BITDEPTH_24;
+	}
+
+	audio.haveFreq = have.freq;
+	audio.haveSamples = have.samples;
+	audio.haveChannels = have.channels;
+
+	// set a few variables
+
+	config.audioFreq = have.freq;
+	audio.freq = have.freq;
+	smpBuffSize = have.samples;
+
+	calcAudioLatencyVars(have.samples, have.freq);
+
+	if ((config.specialFlags2 & DITHERED_AUDIO) && newBitDepth == 24)
+		config.specialFlags2 &= ~DITHERED_AUDIO;
+
+	pmpChannels = have.channels;
+	pmpCountDiv = pmpChannels * ((newBitDepth == 16) ? sizeof (int16_t) : sizeof (float));
+
+	// make a copy of the new known working audio settings
+
+	audio.lastWorkingAudioFreq = config.audioFreq;
+	audio.lastWorkingAudioBits = config.specialFlags & (BITDEPTH_16 + BITDEPTH_24 + BUFFSIZE_512 + BUFFSIZE_1024 + BUFFSIZE_2048);
+	setLastWorkingAudioDevName();
+
+	// update config audio radio buttons if we're on that screen at the moment
+	if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+		showConfigScreen();
+
+	updateWavRendererSettings();
+	setAudioAmp(config.boostLevel, config.masterVol, (config.specialFlags & BITDEPTH_24) ? true : false);
+
+	// don't call stopVoices() in this routine
+	for (uint8_t i = 0; i < MAX_VOICES; i++)
+		stopVoice(i);
+
+	stopAllScopes();
+
+	pmpLeft = 0; // reset sample counter
+
+	calcReplayRate(audio.freq);
+
+	if (song.speed == 0)
+		song.speed = 125;
+
+	setSpeed(song.speed); // this is important
+
+	updateSendAudSamplesRoutine(false);
+	audio.resetSyncTickTimeFlag = true;
+
+	return true;
+}
+
+void closeAudio(void)
+{
+	if (audio.dev > 0)
+	{
+		SDL_PauseAudioDevice(audio.dev, true);
+		SDL_CloseAudioDevice(audio.dev);
+		audio.dev = 0;
+	}
+
+	freeAudioBuffers();
+}
+
+const uint32_t panningTab[257] = // panning table from FT2 code
+{
+		0, 4096, 5793, 7094, 8192, 9159,10033,10837,11585,12288,12953,13585,14189,14768,15326,15864,
+	16384,16888,17378,17854,18318,18770,19212,19644,20066,20480,20886,21283,21674,22058,22435,22806,
+	23170,23530,23884,24232,24576,24915,25249,25580,25905,26227,26545,26859,27170,27477,27780,28081,
+	28378,28672,28963,29251,29537,29819,30099,30377,30652,30924,31194,31462,31727,31991,32252,32511,
+	32768,33023,33276,33527,33776,34024,34270,34514,34756,34996,35235,35472,35708,35942,36175,36406,
+	36636,36864,37091,37316,37540,37763,37985,38205,38424,38642,38858,39073,39287,39500,39712,39923,
+	40132,40341,40548,40755,40960,41164,41368,41570,41771,41972,42171,42369,42567,42763,42959,43154,
+	43348,43541,43733,43925,44115,44305,44494,44682,44869,45056,45242,45427,45611,45795,45977,46160,
+	46341,46522,46702,46881,47059,47237,47415,47591,47767,47942,48117,48291,48465,48637,48809,48981,
+	49152,49322,49492,49661,49830,49998,50166,50332,50499,50665,50830,50995,51159,51323,51486,51649,
+	51811,51972,52134,52294,52454,52614,52773,52932,53090,53248,53405,53562,53719,53874,54030,54185,
+	54340,54494,54647,54801,54954,55106,55258,55410,55561,55712,55862,56012,56162,56311,56459,56608,
+	56756,56903,57051,57198,57344,57490,57636,57781,57926,58071,58215,58359,58503,58646,58789,58931,
+	59073,59215,59357,59498,59639,59779,59919,60059,60199,60338,60477,60615,60753,60891,61029,61166,
+	61303,61440,61576,61712,61848,61984,62119,62254,62388,62523,62657,62790,62924,63057,63190,63323,
+	63455,63587,63719,63850,63982,64113,64243,64374,64504,64634,64763,64893,65022,65151,65279,65408,
+	65536
+};
--- /dev/null
+++ b/src/ft2_audio.h
@@ -1,0 +1,113 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <SDL2/SDL.h>
+#include "ft2_replayer.h"
+
+enum
+{
+	FREQ_TABLE_LINEAR = 0,
+	FREQ_TABLE_AMIGA  = 1,
+};
+
+// for audio/video sync queue. (2^n-1 - don't change this! Queue buffer is already ~2.7MB in size)
+#define SYNC_QUEUE_LEN 4095
+
+#define MAX_AUDIO_DEVICES 99
+
+#define MIN_AUDIO_FREQ 44100
+#define MAX_AUDIO_FREQ 96000
+
+struct audio_t
+{
+	char *currInputDevice, *currOutputDevice, *lastWorkingAudioDeviceName;
+	char *inputDeviceNames[MAX_AUDIO_DEVICES], *outputDeviceNames[MAX_AUDIO_DEVICES];
+	volatile bool locked, resetSyncTickTimeFlag, volumeRampingFlag, interpolationFlag;
+	bool linearFreqTable, rescanAudioDevicesSupported;
+	int32_t inputDeviceNum, outputDeviceNum, lastWorkingAudioFreq, lastWorkingAudioBits;
+	int32_t quickVolSizeVal, *mixBufferL, *mixBufferR;
+	uint32_t freq;
+	uint32_t audLatencyPerfValInt, audLatencyPerfValFrac;
+	uint64_t tickTime64, tickTime64Frac;
+	double dAudioLatencyMs, dSpeedValMul, dScopeFreqMul;
+	SDL_AudioDeviceID dev;
+
+	uint32_t wantFreq, haveFreq, wantSamples, haveSamples, wantChannels, haveChannels;
+} audio;
+
+typedef struct
+{
+	const int8_t *SBase8, *SRevBase8;
+	const int16_t *SBase16, *SRevBase16;
+	bool backwards, isFadeOutVoice;
+	uint8_t SPan;
+	uint16_t SVol;
+	int32_t SLVol1, SRVol1, SLVol2, SRVol2, SLVolIP, SRVolIP, SVolIPLen, SPos, SLen, SRepS, SRepL;
+	uint32_t SPosDec, SFrq, SFrqRev;
+	void (*mixRoutine)(void *, int32_t); // function pointer to mix routine
+} voice_t;
+
+typedef struct pattSyncData_t
+{
+	uint8_t pattern, globalVol, songPos, timer, speed, tempo, patternPos;
+	uint64_t timestamp;
+} pattSyncData_t;
+
+struct pattSync
+{
+	volatile int32_t readPos, writePos;
+	pattSyncData_t data[SYNC_QUEUE_LEN + 1];
+} pattSync;
+
+typedef struct chSyncData_t
+{
+	syncedChannel_t channels[MAX_VOICES];
+	uint64_t timestamp;
+} chSyncData_t;
+
+struct chSync
+{
+	volatile int32_t readPos, writePos;
+	chSyncData_t data[SYNC_QUEUE_LEN + 1];
+} chSync;
+
+void resetOldRevFreqs(void);
+int32_t pattQueueReadSize(void);
+int32_t pattQueueWriteSize(void);
+bool pattQueuePush(pattSyncData_t t);
+bool pattQueuePop(void);
+pattSyncData_t *pattQueuePeek(void);
+uint64_t getPattQueueTimestamp(void);
+int32_t chQueueReadSize(void);
+int32_t chQueueWriteSize(void);
+bool chQueuePush(chSyncData_t t);
+bool chQueuePop(void);
+chSyncData_t *chQueuePeek(void);
+uint64_t getChQueueTimestamp(void);
+void setAudioAmp(int16_t ampFactor, int16_t master, bool bitDepth32Flag);
+void setNewAudioFreq(uint32_t freq);
+void setBackOldAudioFreq(void);
+void setSpeed(uint16_t bpm);
+void audioSetVolRamp(bool volRamp);
+void audioSetInterpolation(bool interpolation);
+void stopVoice(uint8_t i);
+bool setupAudio(bool showErrorMsg);
+void closeAudio(void);
+void pauseAudio(void);
+void resumeAudio(void);
+bool setNewAudioSettings(void);
+void resetDitherSeed(void);
+void lockAudio(void);
+void unlockAudio(void);
+void lockMixerCallback(void);
+void unlockMixerCallback(void);
+void updateSendAudSamplesRoutine(bool lockMixer);
+void mix_SaveIPVolumes(void);
+void mix_UpdateChannelVolPanFrq(void);
+uint32_t mixReplayerTickToBuffer(uint8_t *stream, uint8_t bitDepth);
+
+extern pattSyncData_t *pattSyncEntry;
+extern chSyncData_t *chSyncEntry;
+
+extern volatile bool pattQueueReading, pattQueueClearing, chQueueReading, chQueueClearing;
--- /dev/null
+++ b/src/ft2_audioselector.c
@@ -1,0 +1,531 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_audio.h"
+#include "ft2_gui.h"
+#include "ft2_mouse.h"
+#include "ft2_audioselector.h"
+
+char *getAudioOutputDeviceFromConfig(void)
+{
+#define MAX_DEV_STR_LEN 256
+
+	const char *devStringTmp;
+	char *devString;
+	uint32_t devStringLen;
+	FILE *f;
+
+	devString = (char *)calloc(MAX_DEV_STR_LEN + 1, sizeof (char));
+	if (devString == NULL)
+		return NULL;
+
+	f = UNICHAR_FOPEN(editor.audioDevConfigFileLocation, "r");
+	if (f == NULL)
+	{
+		devStringTmp = SDL_GetAudioDeviceName(0, false);
+		if (devStringTmp == NULL)
+		{
+			free(devString);
+			return NULL;
+		}
+
+		devStringLen = (uint32_t)strlen(devStringTmp);
+		if (devStringLen > 0)
+			strncpy(devString, devStringTmp, MAX_DEV_STR_LEN);
+		devString[devStringLen+1] = '\0'; // UTF-8 needs double null termination
+	}
+	else
+	{
+		if (fgets(devString, MAX_DEV_STR_LEN, f) == NULL)
+		{
+			free(devString);
+			fclose(f);
+			return NULL;
+		}
+
+		devStringLen = (uint32_t)strlen(devString);
+		if (devString[devStringLen-1] == '\n')
+			devString[devStringLen-1]  = '\0';
+		devString[devStringLen+1] = '\0'; // UTF-8 needs double null termination
+
+		fclose(f);
+	}
+
+	return devString;
+}
+
+char *getAudioInputDeviceFromConfig(void)
+{
+#define MAX_DEV_STR_LEN 256
+
+	const char *devStringTmp;
+	char *devString;
+	uint32_t devStringLen;
+	FILE *f;
+
+	devString = (char *)calloc(MAX_DEV_STR_LEN + 1, sizeof (char));
+	if (devString == NULL)
+		return NULL;
+
+	f = UNICHAR_FOPEN(editor.audioDevConfigFileLocation, "r");
+	if (f == NULL)
+	{
+		devStringTmp = SDL_GetAudioDeviceName(0, true);
+		if (devStringTmp == NULL)
+		{
+			free(devString);
+			return NULL;
+		}
+
+		devStringLen = (uint32_t)strlen(devStringTmp);
+		if (devStringLen > 0)
+			strncpy(devString, devStringTmp, MAX_DEV_STR_LEN);
+		devString[devStringLen+1] = '\0'; // UTF-8 needs double null termination
+	}
+	else
+	{
+		if (fgets(devString, MAX_DEV_STR_LEN, f) == NULL)
+		{
+			free(devString);
+			fclose(f);
+			return NULL;
+		}
+
+		// do it one more time (next line)
+		if (fgets(devString, MAX_DEV_STR_LEN, f) == NULL)
+		{
+			free(devString);
+			fclose(f);
+			return NULL;
+		}
+
+		devStringLen = (uint32_t)strlen(devString);
+		if (devString[devStringLen-1] == '\n')
+			devString[devStringLen-1]  = '\0';
+		devString[devStringLen+1] = '\0'; // UTF-8 needs double null termination
+
+		fclose(f);
+	}
+
+	return devString;
+}
+
+bool saveAudioDevicesToConfig(const char *outputDevice, const char *inputDevice)
+{
+	FILE *f;
+
+	f = UNICHAR_FOPEN(editor.audioDevConfigFileLocation, "w");
+	if (f == NULL)
+		return false;
+
+	if (outputDevice != NULL)
+		fputs(outputDevice, f);
+	fputc('\n', f);
+	if (inputDevice != NULL)
+		fputs(inputDevice, f);
+
+	fclose(f);
+	return true;
+}
+
+void drawAudioOutputList(void)
+{
+	char *tmpString;
+	uint16_t y;
+	int32_t deviceEntry;
+
+	clearRect(114, 18, AUDIO_SELECTORS_BOX_WIDTH, 66);
+
+	if (audio.outputDeviceNum == 0)
+	{
+		textOut(114, 18, PAL_FORGRND, "No audio output devices found!");
+		return;
+	}
+
+	for (int32_t i = 0; i < 6; i++)
+	{
+		deviceEntry = getScrollBarPos(SB_AUDIO_OUTPUT_SCROLL) + i;
+		if (deviceEntry < audio.outputDeviceNum)
+		{
+			if (audio.outputDeviceNames[deviceEntry] == NULL)
+				continue;
+
+			y = 18 + (uint16_t)(i * 11);
+
+			if (audio.currOutputDevice != NULL)
+			{
+				if (strcmp(audio.currOutputDevice, audio.outputDeviceNames[deviceEntry]) == 0)
+					fillRect(114, y, AUDIO_SELECTORS_BOX_WIDTH, 10, PAL_BOXSLCT); // selection background color
+			}
+
+			tmpString = utf8ToCp437(audio.outputDeviceNames[deviceEntry], true);
+			if (tmpString != NULL)
+			{
+				textOutClipX(114, y, PAL_FORGRND, tmpString, 114 + AUDIO_SELECTORS_BOX_WIDTH);
+				free(tmpString);
+			}
+		}
+	}
+}
+
+void drawAudioInputList(void)
+{
+	char *tmpString;
+	uint16_t y;
+	int32_t deviceEntry;
+
+	clearRect(114, 105, AUDIO_SELECTORS_BOX_WIDTH, 44);
+
+	if (audio.inputDeviceNum == 0)
+	{
+		textOut(114, 105, PAL_FORGRND, "No audio input devices found!");
+		return;
+	}
+
+	for (int32_t i = 0; i < 4; i++)
+	{
+		deviceEntry = getScrollBarPos(SB_AUDIO_INPUT_SCROLL) + i;
+		if (deviceEntry < audio.inputDeviceNum)
+		{
+			if (audio.inputDeviceNames[deviceEntry] == NULL)
+				continue;
+
+			y = 105 + (uint16_t)(i * 11);
+
+			if (audio.currInputDevice != NULL)
+			{
+				if (strcmp(audio.currInputDevice, audio.inputDeviceNames[deviceEntry]) == 0)
+					fillRect(114, y, AUDIO_SELECTORS_BOX_WIDTH, 10, PAL_BOXSLCT); // selection background color
+			}
+
+			tmpString = utf8ToCp437(audio.inputDeviceNames[deviceEntry], true);
+			if (tmpString != NULL)
+			{
+				textOutClipX(114, y, PAL_FORGRND, tmpString, 114 + AUDIO_SELECTORS_BOX_WIDTH);
+				free(tmpString);
+			}
+		}
+	}
+}
+
+bool testAudioDeviceListsMouseDown(void)
+{
+	char *devString;
+	int32_t mx, my, deviceNum;
+	uint32_t devStringLen;
+
+	if (!editor.ui.configScreenShown || editor.currConfigScreen != CONFIG_SCREEN_IO_DEVICES)
+		return false;
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	if (my < 18 || my > 149 || mx < 114 || mx >= 114+AUDIO_SELECTORS_BOX_WIDTH)
+		return false;
+
+	if (my < 84)
+	{
+		// output device list
+
+		deviceNum = (int32_t)scrollBars[SB_AUDIO_OUTPUT_SCROLL].pos + ((my - 18) / 11);
+		if (audio.outputDeviceNum <= 0 || deviceNum >= audio.outputDeviceNum)
+			return true;
+
+		devString = audio.outputDeviceNames[deviceNum];
+		if (devString != NULL && (audio.currOutputDevice == NULL || strcmp(audio.currOutputDevice, devString) != 0))
+		{
+			if (audio.currOutputDevice != NULL)
+				free(audio.currOutputDevice);
+
+			devStringLen = (uint32_t)strlen(devString);
+
+			audio.currOutputDevice = (char *)malloc(devStringLen + 2);
+			if (audio.currOutputDevice == NULL)
+				return true;
+
+			if (devStringLen > 0)
+				strcpy(audio.currOutputDevice, devString);
+			audio.currOutputDevice[devStringLen+1] = '\0'; // UTF-8 needs double null termination
+
+			if (!setNewAudioSettings())
+				okBox(0, "System message", "Couldn't open audio input device!");
+			else
+				drawAudioOutputList();
+		}
+
+		return true;
+	}
+	else if (my >= 105)
+	{
+		// input device list
+
+		deviceNum = (int32_t)scrollBars[SB_AUDIO_INPUT_SCROLL].pos + ((my - 105) / 11);
+		if (audio.inputDeviceNum <= 0 || deviceNum >= audio.inputDeviceNum)
+			return true;
+
+		devString = audio.inputDeviceNames[deviceNum];
+		if (devString != NULL && (audio.currInputDevice == NULL || strcmp(audio.currInputDevice, devString) != 0))
+		{
+			if (audio.currInputDevice != NULL)
+				free(audio.currInputDevice);
+
+			devStringLen = (uint32_t)strlen(devString);
+
+			audio.currInputDevice = (char *)malloc(devStringLen + 2);
+			if (audio.currInputDevice == NULL)
+				return true;
+
+			if (devStringLen > 0)
+				strcpy(audio.currInputDevice, devString);
+			audio.currInputDevice[devStringLen+1] = '\0'; // UTF-8 needs double null termination
+
+			drawAudioInputList();
+		}
+
+		return true;
+	}
+
+	return false;
+}
+
+void freeAudioDeviceLists(void)
+{
+	for (uint32_t i = 0; i < MAX_AUDIO_DEVICES; i++)
+	{
+		if (audio.outputDeviceNames[i] != NULL)
+		{
+			free(audio.outputDeviceNames[i]);
+			audio.outputDeviceNames[i] = NULL;
+		}
+
+		if (audio.inputDeviceNames[i] != NULL)
+		{
+			free(audio.inputDeviceNames[i]);
+			audio.inputDeviceNames[i] = NULL;
+		}
+
+		audio.outputDeviceNum = 0;
+		audio.inputDeviceNum  = 0;
+	}
+}
+
+void freeAudioDeviceSelectorBuffers(void)
+{
+	if (editor.audioDevConfigFileLocation != NULL)
+	{
+		free(editor.audioDevConfigFileLocation);
+		editor.audioDevConfigFileLocation = NULL;
+	}
+
+	if (audio.currOutputDevice != NULL)
+	{
+		free(audio.currOutputDevice);
+		audio.currOutputDevice = NULL;
+	}
+
+	if (audio.currInputDevice != NULL)
+	{
+		free(audio.currInputDevice);
+		audio.currInputDevice = NULL;
+	}
+
+	if (audio.lastWorkingAudioDeviceName != NULL)
+	{
+		free(audio.lastWorkingAudioDeviceName);
+		audio.lastWorkingAudioDeviceName = NULL;
+	}
+
+	freeAudioDeviceLists();
+}
+
+void setToDefaultAudioOutputDevice(void)
+{
+	const char *devString;
+	uint32_t stringLen;
+
+	devString = SDL_GetAudioDeviceName(0, false);
+	if (devString == NULL)
+	{
+		if (audio.currOutputDevice != NULL)
+		{
+			free(audio.currOutputDevice);
+			audio.currOutputDevice = NULL;
+		}
+
+		return;
+	}
+
+	stringLen = (uint32_t)strlen(devString);
+
+	if (audio.currOutputDevice != NULL)
+	{
+		free(audio.currOutputDevice);
+		audio.currOutputDevice = NULL;
+	}
+
+	audio.currOutputDevice = (char *)malloc(stringLen + 2);
+	if (audio.currOutputDevice == NULL)
+		return;
+
+	if (stringLen > 0)
+		strcpy(audio.currOutputDevice, devString);
+
+	audio.currOutputDevice[stringLen+1] = '\0'; // UTF-8 needs double null termination
+}
+
+void setToDefaultAudioInputDevice(void)
+{
+	const char *devString;
+	uint32_t stringLen;
+
+	devString = SDL_GetAudioDeviceName(0, true);
+	if (devString == NULL)
+	{
+		if (audio.currInputDevice != NULL)
+		{
+			free(audio.currInputDevice);
+			audio.currInputDevice = NULL;
+		}
+
+		return;
+	}
+
+	stringLen = (uint32_t)strlen(devString);
+
+	if (audio.currInputDevice != NULL)
+	{
+		free(audio.currInputDevice);
+		audio.currInputDevice = NULL;
+	}
+
+	audio.currInputDevice = (char *)malloc(stringLen + 2);
+	if (audio.currInputDevice == NULL)
+		return;
+
+	if (stringLen > 0)
+		strcpy(audio.currInputDevice, devString);
+
+	audio.currInputDevice[stringLen+1] = '\0'; // UTF-8 needs double null termination
+}
+
+void rescanAudioDevices(void)
+{
+	bool listShown;
+	const char *deviceName;
+	uint32_t stringLen;
+
+	listShown = (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES);
+
+	freeAudioDeviceLists();
+
+	// GET AUDIO OUTPUT DEVICES
+
+	audio.outputDeviceNum = SDL_GetNumAudioDevices(false);
+	if (audio.outputDeviceNum > MAX_AUDIO_DEVICES)
+		audio.outputDeviceNum = MAX_AUDIO_DEVICES;
+
+	for (int32_t i = 0; i < audio.outputDeviceNum; i++)
+	{
+		deviceName = SDL_GetAudioDeviceName(i, false);
+		if (deviceName == NULL)
+		{
+			audio.outputDeviceNum--; // hide device
+			continue;
+		}
+
+		stringLen = (uint32_t)strlen(deviceName);
+
+		audio.outputDeviceNames[i] = (char *)malloc(stringLen + 2);
+		if (audio.outputDeviceNames[i] == NULL)
+			break;
+
+		if (stringLen > 0)
+			strcpy(audio.outputDeviceNames[i], deviceName);
+
+		audio.outputDeviceNames[i][stringLen+1] = '\0'; // UTF-8 needs double null termination
+	}
+
+	// GET AUDIO INPUT DEVICES
+
+	audio.inputDeviceNum = SDL_GetNumAudioDevices(true);
+	if (audio.inputDeviceNum > MAX_AUDIO_DEVICES)
+		audio.inputDeviceNum = MAX_AUDIO_DEVICES;
+
+	for (int32_t i = 0; i < audio.inputDeviceNum; i++)
+	{
+		deviceName = SDL_GetAudioDeviceName(i, true);
+		if (deviceName == NULL)
+		{
+			audio.inputDeviceNum--; // hide device
+			continue;
+		}
+
+		stringLen = (uint32_t)strlen(deviceName);
+
+		audio.inputDeviceNames[i] = (char *)malloc(stringLen + 2);
+		if (audio.inputDeviceNames[i] == NULL)
+			break;
+
+		if (stringLen > 0)
+			strcpy(audio.inputDeviceNames[i], deviceName);
+
+		audio.inputDeviceNames[i][stringLen+1] = '\0'; // UTF-8 needs double null termination
+	}
+
+	setScrollBarEnd(SB_AUDIO_OUTPUT_SCROLL, audio.outputDeviceNum);
+	setScrollBarPos(SB_AUDIO_OUTPUT_SCROLL, 0, false);
+	setScrollBarEnd(SB_AUDIO_INPUT_SCROLL, audio.inputDeviceNum);
+	setScrollBarPos(SB_AUDIO_INPUT_SCROLL, 0, false);
+
+	// DRAW LISTS
+
+	if (listShown)
+	{
+		drawAudioOutputList();
+		drawAudioInputList();
+		drawScrollBar(SB_AUDIO_OUTPUT_SCROLL);
+		drawScrollBar(SB_AUDIO_INPUT_SCROLL);
+	}
+}
+
+void scrollAudInputDevListUp(void)
+{
+	scrollBarScrollUp(SB_AUDIO_INPUT_SCROLL, 1);
+}
+
+void scrollAudInputDevListDown(void)
+{
+	scrollBarScrollDown(SB_AUDIO_INPUT_SCROLL, 1);
+}
+
+void scrollAudOutputDevListUp(void)
+{
+	scrollBarScrollUp(SB_AUDIO_OUTPUT_SCROLL, 1);
+}
+
+void scrollAudOutputDevListDown(void)
+{
+	scrollBarScrollDown(SB_AUDIO_OUTPUT_SCROLL, 1);
+}
+
+void sbAudOutputSetPos(uint32_t pos)
+{
+	(void)pos;
+
+	if (editor.ui.configScreenShown && (editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES))
+		drawAudioOutputList();
+}
+
+void sbAudInputSetPos(uint32_t pos)
+{
+	(void)pos;
+
+	if (editor.ui.configScreenShown && (editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES))
+		drawAudioInputList();
+}
--- /dev/null
+++ b/src/ft2_audioselector.h
@@ -1,0 +1,21 @@
+#pragma once
+
+#include <stdint.h>
+
+#define AUDIO_SELECTORS_BOX_WIDTH 247
+
+void setToDefaultAudioOutputDevice(void);
+void setToDefaultAudioInputDevice(void);
+char *getAudioOutputDeviceFromConfig(void);
+char *getAudioInputDeviceFromConfig(void);
+bool saveAudioDevicesToConfig(const char *inputString, const char *outputString);
+bool testAudioDeviceListsMouseDown(void);
+void rescanAudioDevices(void);
+void scrollAudInputDevListUp(void);
+void scrollAudInputDevListDown(void);
+void scrollAudOutputDevListUp(void);
+void scrollAudOutputDevListDown(void);
+void sbAudOutputSetPos(uint32_t pos);
+void sbAudInputSetPos(uint32_t pos);
+void freeAudioDeviceLists(void);
+void freeAudioDeviceSelectorBuffers(void);
--- /dev/null
+++ b/src/ft2_checkboxes.c
@@ -1,0 +1,336 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_config.h"
+#include "ft2_sample_ed.h"
+#include "ft2_nibbles.h"
+#include "ft2_inst_ed.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_trim.h"
+#include "ft2_mouse.h"
+#include "ft2_edit.h"
+
+checkBox_t checkBoxes[NUM_CHECKBOXES] =
+{
+	// ------ RESERVED CHECKBOX ------
+	{ 0 },
+
+	/*
+	** -- STRUCT INFO: --
+	**  x        = x position
+	**  y        = y position
+	**  w        = clickable width space, relative to x
+	**  h        = clickable height space, relative to y
+	**  funcOnUp = function to call when released
+	*/
+
+	// ------ NIBBLES CHECKBOXES ------
+	//x, y,   w,  h,  funcOnUp
+	{ 3, 133, 70, 12, nibblesToggleSurround },
+	{ 3, 146, 40, 12, nibblesToggleGrid },
+	{ 3, 159, 45, 12, nibblesToggleWrap },
+
+	// ------ ADVANCED EDIT CHECKBOXES ------
+	//x,   y,   w,   h,  funcOnUp
+	{ 113,  94, 105, 12, toggleCopyMaskEnable },
+	{ 237, 107,  13, 12, toggleCopyMask0 },
+	{ 237, 120,  13, 12, toggleCopyMask1 },
+	{ 237, 133,  13, 12, toggleCopyMask2 },
+	{ 237, 146,  13, 12, toggleCopyMask3 },
+	{ 237, 159,  13, 12, toggleCopyMask4 },
+	{ 256, 107,  13, 12, togglePasteMask0 },
+	{ 256, 120,  13, 12, togglePasteMask1 },
+	{ 256, 133,  13, 12, togglePasteMask2 },
+	{ 256, 146,  13, 12, togglePasteMask3 },
+	{ 256, 159,  13, 12, togglePasteMask4 },
+	{ 275, 107,  13, 12, toggleTranspMask0 },
+	{ 275, 120,  13, 12, toggleTranspMask1 },
+	{ 275, 133,  13, 12, toggleTranspMask2 },
+	{ 275, 146,  13, 12, toggleTranspMask3 },
+	{ 275, 159,  13, 12, toggleTranspMask4 },
+
+	// ------ INSTRUMENT EDITOR CHECKBOXES ------
+	//x,   y,   w,   h,  funcOnUp
+	{   3, 175, 118, 12, cbVEnv },
+	{ 341, 192,  64, 12, cbVEnvSus },
+	{ 341, 217,  70, 12, cbVEnvLoop },
+	{   3, 262, 123, 12, cbPEnv },
+	{ 341, 279,  64, 12, cbPEnvSus },
+	{ 341, 304,  70, 12, cbPEnvLoop },
+
+	// ------ INSTRUMENT EDITOR EXTENSION CHECKBOXES ------
+	//x,   y,   w,   h,  funcOnUp
+	{   3, 112, 148, 12, cbInstMidiEnable },
+	{ 172, 112, 103, 12, cbInstMuteComputer },
+
+	// ------ TRIM SCREEN CHECKBOXES ------
+	//x,   y,   w,   h,  funcOnUp
+	{   3, 107, 113, 12, cbTrimUnusedPatt },
+	{   3, 120, 132, 12, cbTrimUnusedInst },
+	{   3, 133, 110, 12, cbTrimUnusedSamp },
+	{   3, 146, 115, 12, cbTrimUnusedChans },
+	{   3, 159, 130, 12, cbTrimUnusedSmpData },
+	{ 139,  94, 149, 12, cbTrimSmpsTo8Bit },
+
+	// ------ CONFIG CHECKBOXES ------
+	//x,   y,   w,   h,  funcOnUp
+	{   3,  91,  76, 12, cbToggleAutoSaveConfig },
+	{ 389, 132,  90, 12, cbConfigInterpolation },
+	{ 389, 145, 107, 12, cbConfigVolRamp },
+	{ 389, 158 , 94, 12, cbConfigDither },
+	{ 113,  14, 108, 12, cbConfigPattStretch },
+	{ 113,  27, 117, 12, cbConfigHexCount },
+	{ 113,  40,  81, 12, cbConfigAccidential },
+	{ 113,  53,  92, 12, cbConfigShowZeroes },
+	{ 113,  66,  81, 12, cbConfigFramework },
+	{ 113,  79, 128, 12, cbConfigLineColors },
+	{ 113,  92, 126, 12, cbConfigChanNums },
+	{ 255,  14, 136, 12, cbConfigShowVolCol },
+	{ 255, 158, 113, 12, cbHardwareMouse },
+	// ---------------------------------
+	{ 212,   2, 150, 12, cbSampCutToBuff },
+	{ 212,  15, 153, 12, cbPattCutToBuff },
+	{ 212,  28, 159, 12, cbKillNotesAtStop },
+	{ 212,  41, 149, 12, cbFileOverwriteWarn },
+	{ 212,  69, 130, 12, cbMultiChanRec },
+	{ 212,  82, 157, 12, cbMultiChanKeyJazz },
+	{ 212,  95, 114, 12, cbMultiChanEdit },
+	{ 212, 108, 143, 12, cbRecKeyOff },
+	{ 212, 121,  89, 12, cbQuantization },
+	{ 212, 134, 180, 25, cbChangePattLenInsDel },
+	{ 212, 159, 187, 12, cbMIDIAllowPC },
+	{ 411,  93,  83, 12, cbMIDIEnable },
+	{ 530, 106,  29, 12, cbMIDIRecAllChn },
+	{ 411, 119, 121, 12, cbMIDIRecTransp },
+	{ 411, 132, 109, 12, cbMIDIRecVelocity },
+	{ 411, 145, 124, 12, cbMIDIRecAftert },
+	{ 113, 115,  74, 12, cbVsyncOff },
+	{ 113, 128,  78, 12, cbFullScreen },
+	{ 113, 141,  78, 12, cbPixelFilter }
+};
+
+// these are defined at the bottom of this file
+extern const uint8_t checkMarkGraphics[CHECKMARK_W * CHECKMARK_H];
+extern const uint8_t accidentalFlat[5 * 6];
+extern const uint8_t accidentalSharp[5 * 6];
+
+void drawCheckBox(uint16_t checkBoxID)
+{
+	uint8_t state;
+	uint16_t x, y, w, h;
+	checkBox_t *checkBox;
+	const uint8_t *srcPtr;
+
+	assert(checkBoxID < NUM_CHECKBOXES);
+	checkBox = &checkBoxes[checkBoxID];
+	if (!checkBox->visible)
+		return;
+
+	state = checkBox->state;
+
+	x = checkBox->x;
+	y = checkBox->y;
+	w = CHECKBOX_W;
+	h = CHECKBOX_H;
+
+	// fill button background
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// draw outer border
+	hLine(x,         y,         w, PAL_BCKGRND);
+	hLine(x,         y + h - 1, w, PAL_BCKGRND);
+	vLine(x,         y,         h, PAL_BCKGRND);
+	vLine(x + w - 1, y,         h, PAL_BCKGRND);
+
+	// draw inner borders
+	if (state == CHECKBOX_UNPRESSED)
+	{
+		// top left corner inner border
+		hLine(x + 1, y + 1, w - 3, PAL_BUTTON1);
+		vLine(x + 1, y + 2, h - 4, PAL_BUTTON1);
+
+		// bottom right corner inner border
+		hLine(x + 1 - 0, y + h - 2, w - 2, PAL_BUTTON2);
+		vLine(x + w - 2, y + 1 - 0, h - 3, PAL_BUTTON2);
+	}
+	else
+	{
+		// top left corner inner border
+		hLine(x + 1, y + 1, w - 2, PAL_BUTTON2);
+		vLine(x + 1, y + 2, h - 3, PAL_BUTTON2);
+	}
+
+	// for the special "Accidental" check button in Config Layout
+	srcPtr = (config.ptnAcc == 1) ? accidentalSharp : accidentalFlat;
+
+	// draw check mark (if checked)
+	if (checkBox->checked)
+	{
+		if (checkBoxID == CB_CONF_ACCIDENTAL)
+		{
+			if (state == CHECKBOX_PRESSED)
+				blitFast(x + 5, y + 4, srcPtr, 5, 6);
+			else
+				blitFast(x + 4, y + 3, srcPtr, 5, 6);
+		}
+		else
+		{
+			if (state == CHECKBOX_PRESSED)
+				blitFast(x + 3, y + 4, checkMarkGraphics, CHECKMARK_W, CHECKMARK_H);
+			else
+				blitFast(x + 2, y + 3, checkMarkGraphics, CHECKMARK_W, CHECKMARK_H);
+		}
+	}
+	else
+	{
+		if (checkBoxID == CB_CONF_ACCIDENTAL)
+		{
+			if (state == CHECKBOX_PRESSED)
+				blitFast(x + 5, y + 4, srcPtr, 5, 6);
+			else
+				blitFast(x + 4, y + 3, srcPtr, 5, 6);
+		}
+	}
+}
+
+void showCheckBox(uint16_t checkBoxID)
+{
+	assert(checkBoxID < NUM_CHECKBOXES);
+	checkBoxes[checkBoxID].visible = true;
+	drawCheckBox(checkBoxID);
+}
+
+void hideCheckBox(uint16_t checkBoxID)
+{
+	assert(checkBoxID < NUM_CHECKBOXES);
+	checkBoxes[checkBoxID].state = 0;
+	checkBoxes[checkBoxID].visible = false;
+}
+
+void handleCheckBoxesWhileMouseDown(void)
+{
+	checkBox_t *checkBox;
+
+	assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_CHECKBOXES);
+	checkBox = &checkBoxes[mouse.lastUsedObjectID];
+	if (!checkBox->visible)
+		return;
+
+	checkBox->state = CHECKBOX_UNPRESSED;
+	if (mouse.x >= checkBox->x && mouse.x < checkBox->x+checkBox->clickAreaWidth &&
+	    mouse.y >= checkBox->y && mouse.y < checkBox->y+checkBox->clickAreaHeight)
+	{
+		checkBox->state = CHECKBOX_PRESSED;
+	}
+
+	if (mouse.lastX != mouse.x || mouse.lastY != mouse.y)
+	{
+		mouse.lastX = mouse.x;
+		mouse.lastY = mouse.y;
+
+		drawCheckBox(mouse.lastUsedObjectID);
+	}
+}
+
+bool testCheckBoxMouseDown(void)
+{
+	uint16_t start, end;
+	checkBox_t *checkBox;
+
+	if (editor.ui.sysReqShown)
+	{
+		// if a system request is open, only test the first three checkboxes (reserved)
+		start = 0;
+		end = 1;
+	}
+	else
+	{
+		start = 1;
+		end = NUM_CHECKBOXES;
+	}
+
+	for (uint16_t i = start; i < end; i++)
+	{
+		checkBox = &checkBoxes[i];
+		if (!checkBox->visible)
+			continue;
+
+		if (mouse.x >= checkBox->x && mouse.x < checkBox->x+checkBox->clickAreaWidth &&
+		    mouse.y >= checkBox->y && mouse.y < checkBox->y+checkBox->clickAreaHeight)
+		{
+			mouse.lastUsedObjectID = i;
+			mouse.lastUsedObjectType = OBJECT_CHECKBOX;
+			checkBox->state = CHECKBOX_PRESSED;
+			drawCheckBox(mouse.lastUsedObjectID);
+			return true;
+		}
+	}
+
+	return false;
+}
+
+void testCheckBoxMouseRelease(void)
+{
+	checkBox_t *checkBox;
+
+	if (mouse.lastUsedObjectType != OBJECT_CHECKBOX || mouse.lastUsedObjectID == OBJECT_ID_NONE)
+		return;
+
+	assert(mouse.lastUsedObjectID < NUM_CHECKBOXES);
+	checkBox = &checkBoxes[mouse.lastUsedObjectID];
+	if (!checkBox->visible)
+		return;
+
+	if (mouse.x >= checkBox->x && mouse.x < checkBox->x+checkBox->clickAreaWidth &&
+	    mouse.y >= checkBox->y && mouse.y < checkBox->y+checkBox->clickAreaHeight)
+	{
+		checkBox->checked ^= 1;
+
+		checkBox->state = CHECKBOX_UNPRESSED;
+		drawCheckBox(mouse.lastUsedObjectID);
+
+		if (checkBox->callbackFunc != NULL)
+			checkBox->callbackFunc();
+	}
+}
+
+const uint8_t checkMarkGraphics[CHECKMARK_W * CHECKMARK_H] =
+{
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BCKGRND,
+	PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS
+};
+
+const uint8_t accidentalFlat[5 * 6] =
+{
+	PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND,
+	PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND,
+	PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BUTTONS
+};
+
+const uint8_t accidentalSharp[5 * 6] =
+{
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS, PAL_BUTTONS, PAL_BUTTONS,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS, PAL_BCKGRND, PAL_BCKGRND,
+	PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BCKGRND, PAL_BUTTONS
+};
--- /dev/null
+++ b/src/ft2_checkboxes.h
@@ -1,0 +1,123 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+enum // CHECKBOXES
+{
+	CB_RES_1, // reserved
+
+	// NIBBLES
+	CB_NIBBLES_SURROUND,
+	CB_NIBBLES_GRID,
+	CB_NIBBLES_WRAP,
+
+	// ADVANCED EDIT
+	CB_ENABLE_MASKING,
+	CB_COPY_MASK_0,
+	CB_COPY_MASK_1,
+	CB_COPY_MASK_2,
+	CB_COPY_MASK_3,
+	CB_COPY_MASK_4,
+	CB_PASTE_MASK_0,
+	CB_PASTE_MASK_1,
+	CB_PASTE_MASK_2,
+	CB_PASTE_MASK_3,
+	CB_PASTE_MASK_4,
+	CB_TRANSP_MASK_0,
+	CB_TRANSP_MASK_1,
+	CB_TRANSP_MASK_2,
+	CB_TRANSP_MASK_3,
+	CB_TRANSP_MASK_4,
+
+	// INSTRUMENT EDITOR
+	CB_INST_VENV,
+	CB_INST_VENV_SUS,
+	CB_INST_VENV_LOOP,
+	CB_INST_PENV,
+	CB_INST_PENV_SUS,
+	CB_INST_PENV_LOOP,
+
+	// INSTRUMENT EDITOR EXTENSION
+	CB_INST_EXT_MIDI,
+	CB_INST_EXT_MUTE,
+
+	// TRIM
+	CB_TRIM_PATT,
+	CB_TRIM_INST,
+	CB_TRIM_SAMP,
+	CB_TRIM_CHAN,
+	CB_TRIM_SMPD,
+	CB_TRIM_CONV,
+
+	// CONFIG
+	CB_CONF_AUTOSAVE,
+
+	// CONFIG AUDIO
+	CB_CONF_INTERPOLATION,
+	CB_CONF_VOL_RAMP,
+	CB_CONF_DITHER,
+
+	// CONFIG LAYOUT
+	CB_CONF_PATTSTRETCH,
+	CB_CONF_HEXCOUNT,
+	CB_CONF_ACCIDENTAL,
+	CB_CONF_SHOWZEROES,
+	CB_CONF_FRAMEWORK,
+	CB_CONF_LINECOLORS,
+	CB_CONF_CHANNUMS,
+	CB_CONF_SHOW_VOLCOL,
+	CB_CONF_HARDWARE_MOUSE,
+
+	// CONFIG MISCELLANEOUS
+	CB_CONF_SAMP_CUT_TO_BUF,
+	CB_CONF_PATT_CUT_TO_BUF,
+	CB_CONF_KILL_NOTES_AT_STOP,
+	CB_CONF_FILE_OVERWRITE_WARN,
+	CB_CONF_MULTICHAN_REC,
+	CB_CONF_MULTICHAN_JAZZ,
+	CB_CONF_MULTICHAN_EDIT,
+	CB_CONF_REC_KEYOFF,
+	CB_CONF_QUANTIZATION,
+	CB_CONF_CHANGE_PATTLEN_INS_DEL,
+	CB_CONF_MIDI_ALLOW_PC,
+	CB_CONF_MIDI_ENABLE,
+	CB_CONF_MIDI_REC_ALL,
+	CB_CONF_MIDI_REC_TRANS,
+	CB_CONF_MIDI_REC_VELOC,
+	CB_CONF_MIDI_REC_AFTERTOUCH,
+	CB_CONF_FORCE_VSYNC_OFF,
+	CB_CONF_START_IN_FULLSCREEN,
+	CB_CONF_FILTERING,
+
+	NUM_CHECKBOXES
+};
+
+enum
+{
+	CHECKBOX_UNPRESSED = 0,
+	CHECKBOX_PRESSED = 1,
+	CHECKBOX_UNCHECKED = 0,
+	CHECKBOX_CHECKED = 1
+};
+
+#define CHECKBOX_W 13
+#define CHECKBOX_H 12
+#define CHECKMARK_W 9
+#define CHECKMARK_H 7
+#define CHECKBOX_STATES 3
+
+typedef struct checkBox_t // DO NOT TOUCH!
+{
+	uint16_t x, y, clickAreaWidth, clickAreaHeight;
+	void (*callbackFunc)(void);
+	uint8_t state;
+	bool checked, visible;
+} checkBox_t;
+
+void drawCheckBox(uint16_t checkBoxID);
+void showCheckBox(uint16_t checkBoxID);
+void hideCheckBox(uint16_t checkBoxID);
+void handleCheckBoxesWhileMouseDown(void);
+bool testCheckBoxMouseDown(void);
+void testCheckBoxMouseRelease(void);
--- /dev/null
+++ b/src/ft2_config.c
@@ -1,0 +1,2263 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdio.h>
+#include <math.h>
+#ifdef _WIN32
+#define _WIN32_IE 0x0500
+#define WIN32_MEAN_AND_LEAN
+#include <windows.h>
+#include <shlobj.h>
+#include <direct.h>
+#else
+#include <sys/stat.h>
+#include <unistd.h>
+#endif
+#include "ft2_header.h"
+#include "ft2_video.h"
+#include "ft2_audio.h"
+#include "ft2_config.h"
+#include "ft2_gui.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_mouse.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_sampling.h"
+#include "ft2_audioselector.h"
+#include "ft2_midi.h"
+#include "ft2_gfxdata.h"
+#include "ft2_palette.h"
+
+// defined at the bottom of this file
+extern const uint8_t defConfigData[CONFIG_FILE_SIZE];
+
+// globals
+config_t config;
+config_t *defConfig = (config_t *)defConfigData;
+
+// hide POSIX warnings
+#ifdef _MSC_VER
+#pragma warning(disable: 4996)
+#endif
+
+uint8_t configBuffer[CONFIG_FILE_SIZE];
+
+static void xorConfigBuffer(uint8_t *ptr8)
+{
+	for (int32_t i = 0; i < CONFIG_FILE_SIZE; i++)
+		ptr8[i] ^= (uint8_t)(i * 7);
+}
+
+static int32_t calcChecksum(uint8_t *p, uint16_t len) // for nibbles highscore data
+{
+	uint16_t data;
+	uint32_t checksum;
+
+	if (len == 0)
+		return 0;
+
+	data = 0;
+	checksum = 0;
+
+	do
+	{
+		data = ((data | *p++) + len) ^ len;
+		checksum += data;
+		data <<= 8;
+	}
+	while (--len != 0);
+
+	return checksum;
+}
+
+static void loadConfigFromBuffer(uint8_t defaults)
+{
+	int32_t i, checksum;
+
+	lockMixerCallback();
+
+	memcpy(&config, configBuffer, CONFIG_FILE_SIZE);
+
+#ifdef __APPLE__
+	if (defaults)
+		config.audioFreq = 44100;
+#else
+	(void)defaults; // prevent warning
+#endif
+
+	// if Nibbles highscore table checksum is incorrect, load default highscore table instead
+	checksum = calcChecksum((uint8_t *)&config.NI_HighScore, sizeof (config.NI_HighScore));
+	if (config.NI_HighScoreChecksum != checksum)
+	{
+		memcpy(&config.NI_HighScore, &defConfigData[636], sizeof (config.NI_HighScore));
+		for (i = 0; i < 10; i++)
+		{
+			config.NI_HighScore[i].name[21] = '\0';
+			if (config.NI_HighScore[i].nameLen > 21)
+				config.NI_HighScore[i].nameLen = 21;
+		}
+	}
+
+	// clamp user palette values
+	for (i = 0; i < 16; i++)
+	{
+		config.userPal->r = palMax(config.userPal->r);
+		config.userPal->g = palMax(config.userPal->g);
+		config.userPal->b = palMax(config.userPal->b);
+	}
+
+	// copy over user palette
+	memcpy(palTable[11], config.userPal, sizeof (pal16) * 16);
+
+	// sanitize certain values
+
+	config.modulesPath[80-1] = '\0';
+	config.instrPath[80-1] = '\0';
+	config.samplesPath[80-1] = '\0';
+	config.patternsPath[80-1] = '\0';
+	config.tracksPath[80-1] = '\0';
+
+	config.boostLevel = CLAMP(config.boostLevel, 1, 32);
+	config.masterVol = CLAMP(config.masterVol, 0, 256);
+	config.ptnMaxChannels = CLAMP(config.ptnMaxChannels, 0, 3);
+	config.ptnFont = CLAMP(config.ptnFont, 0, 3);
+	config.mouseType = CLAMP(config.mouseType, 0, 3);
+	config.cfg_StdPalNr = CLAMP(config.cfg_StdPalNr, 0, 11);
+	config.cfg_SortPriority = CLAMP(config.cfg_SortPriority, 0, 1);
+	config.NI_AntPlayers = CLAMP(config.NI_AntPlayers, 0, 1);
+	config.NI_Speed = CLAMP(config.NI_Speed, 0, 3);
+	config.recMIDIVolSens = CLAMP(config.recMIDIVolSens, 0, 200);
+	config.recMIDIChn  = CLAMP(config.recMIDIChn, 1, 16);
+
+	if (config.recTrueInsert > 1)
+		config.recTrueInsert = 1;
+
+	if (config.mouseAnimType != 0 && config.mouseAnimType != 2)
+		config.mouseAnimType = 0;
+
+	if (config.recQuantRes != 1 && config.recQuantRes != 2 && config.recQuantRes != 4 &&
+		config.recQuantRes != 8 && config.recQuantRes != 16)
+	{
+		config.recQuantRes = 16;
+	}
+
+	if (config.audioFreq != 44100 && config.audioFreq != 48000 && config.audioFreq != 96000)
+	{
+		// set default
+#ifdef __APPLE__
+		config.audioFreq = 44100;
+#else
+		config.audioFreq = 48000;
+#endif
+	}
+
+	if (config.audioInputFreq <= 1) // default value from FT2 (this was cdr_Sync) - set defaults
+	{
+#ifdef __APPLE__
+		config.audioInputFreq = INPUT_FREQ_44KHZ;
+#else
+		config.audioInputFreq = INPUT_FREQ_48KHZ;
+#endif
+	}
+
+	if (config.specialFlags == 64) // default value from FT2 (this was ptnDefaultLen byte #1) - set defaults
+		config.specialFlags = BUFFSIZE_1024 | BITDEPTH_16;
+
+	if (config.specialFlags & 64) // deprecated BUFFSIZE_4096 ("Very large") setting
+	{
+		// set to current highest setting ("Large" aka. 2048)
+		config.specialFlags &= ~(BUFFSIZE_1024 + 64);
+		config.specialFlags |= BUFFSIZE_2048;
+	}
+
+	if (config.windowFlags == 0) // default value from FT2 (this was ptnDefaultLen byte #2) - set defaults
+		config.windowFlags = WINSIZE_AUTO;
+
+	// audio bit depth - remove 24-bit flag if both are enabled
+	if ((config.specialFlags & BITDEPTH_16) && (config.specialFlags & BITDEPTH_24))
+		config.specialFlags &= ~BITDEPTH_24;
+
+	if (audio.dev != 0)
+		setNewAudioSettings();
+
+	audioSetInterpolation(config.interpolation ? true : false);
+	audioSetVolRamp((config.specialFlags & NO_VOLRAMP_FLAG) ? false : true);
+	setAudioAmp(config.boostLevel, config.masterVol, config.specialFlags & BITDEPTH_24);
+	setMouseShape(config.mouseType);
+	changeLogoType(config.id_FastLogo);
+	changeBadgeType(config.id_TritonProd);
+	editor.ui.maxVisibleChannels = (uint8_t)(2 + ((config.ptnMaxChannels + 1) * 2));
+	setPal16(palTable[config.cfg_StdPalNr], true);
+
+	unlockMixerCallback();
+}
+
+static void configDrawAmp(void)
+{
+	char str[8];
+	sprintf(str, "%02d", config.boostLevel);
+	textOutFixed(607, 120, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void setDefaultConfigSettings(void)
+{
+	memcpy(configBuffer, defConfigData, CONFIG_FILE_SIZE);
+	loadConfigFromBuffer(true);
+}
+
+void resetConfig(void)
+{
+	uint8_t oldWindowFlags;
+
+	if (okBox(2, "System request", "Are you sure you want to completely reset your FT2 configuration?") != 1)
+		return;
+
+	oldWindowFlags = config.windowFlags;
+
+	setDefaultConfigSettings();
+	setToDefaultAudioOutputDevice();
+	setToDefaultAudioInputDevice();
+
+	saveConfig(false);
+
+	// redraw new changes
+	showTopScreen(false);
+	showBottomScreen();
+
+	setWindowSizeFromConfig(true);
+
+	// handle pixel filter change
+	if ((oldWindowFlags & FILTERING) != (config.windowFlags & FILTERING))
+	{
+		recreateTexture();
+		if (video.fullscreen)
+		{
+			leaveFullScreen();
+			enterFullscreen();
+		}
+	}
+
+	if (config.specialFlags2 & HARDWARE_MOUSE)
+		SDL_ShowCursor(SDL_TRUE);
+	else
+		SDL_ShowCursor(SDL_FALSE);
+}
+
+bool loadConfig(bool showErrorFlag)
+{
+	size_t fileSize;
+	FILE *in;
+
+	// this routine can be called at any time, so make sure we free these first...
+
+	if (audio.currOutputDevice != NULL)
+	{
+		free(audio.currOutputDevice);
+		audio.currOutputDevice = NULL;
+	}
+
+	if (audio.currInputDevice != NULL)
+	{
+		free(audio.currInputDevice);
+		audio.currInputDevice = NULL;
+	}
+
+	// now we can get the audio devices from audiodev.ini
+
+	audio.currOutputDevice = getAudioOutputDeviceFromConfig();
+	audio.currInputDevice = getAudioInputDeviceFromConfig();
+
+	if (midi.initThreadDone)
+	{
+		setMidiInputDeviceFromConfig();
+		if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_MIDI_INPUT)
+			drawMidiInputList();
+	}
+
+	if (editor.configFileLocation == NULL)
+	{
+		if (showErrorFlag)
+			okBox(0, "System message", "Error opening config file for reading!");
+
+		return false;
+	}
+
+	in = UNICHAR_FOPEN(editor.configFileLocation, "rb");
+	if (in == NULL)
+	{
+		if (showErrorFlag)
+			okBox(0, "System message", "Error opening config file for reading!");
+
+		return false;
+	}
+
+	fseek(in, 0, SEEK_END);
+	fileSize = (int32_t)ftell(in);
+	rewind(in);
+
+	if (fileSize > CONFIG_FILE_SIZE)
+	{
+		fclose(in);
+		if (showErrorFlag)
+			okBox(0, "System message", "Error loading config: the config file is not valid!");
+
+		return false;
+	}
+
+	// not a valid FT2 config file (FT2.CFG filesize varies depending on version)
+	if (fileSize < 1732 || fileSize > CONFIG_FILE_SIZE)
+	{
+		fclose(in);
+		if (showErrorFlag)
+			okBox(0, "System message", "Error loading config: the config file is not valid!");
+
+		return false;
+	}
+
+	if (fileSize < CONFIG_FILE_SIZE)
+		memset(configBuffer, 0, CONFIG_FILE_SIZE);
+
+	// read to config buffer and close file handle
+	if (fread(configBuffer, fileSize, 1, in) != 1)
+	{
+		fclose(in);
+		if (showErrorFlag)
+			okBox(0, "System message", "Error opening config file for reading!");
+
+		return false;
+	}
+
+	fclose(in);
+
+	// decrypt config buffer
+	xorConfigBuffer(configBuffer);
+
+	if (memcmp(&configBuffer[0], CFG_ID_STR, 35) != 0)
+	{
+		if (showErrorFlag)
+			okBox(0, "System message", "Error loading config: the config file is not valid!");
+
+		return false;
+	}
+
+	loadConfigFromBuffer(false);
+	return true;
+}
+
+void loadConfig2(void) // called by "Load config" button
+{
+	uint8_t oldWindowFlags;
+
+	oldWindowFlags = config.windowFlags;
+
+	loadConfig(CONFIG_SHOW_ERRORS);
+
+	// redraw new changes
+	showTopScreen(false);
+	showBottomScreen();
+
+	// handle pixel filter change
+	if ((oldWindowFlags & FILTERING) != (config.windowFlags & FILTERING))
+	{
+		recreateTexture();
+		if (video.fullscreen)
+		{
+			leaveFullScreen();
+			enterFullscreen();
+		}
+	}
+
+	if (config.specialFlags2 & HARDWARE_MOUSE)
+		SDL_ShowCursor(SDL_TRUE);
+	else
+		SDL_ShowCursor(SDL_FALSE);
+}
+
+bool saveConfig(bool showErrorFlag)
+{
+	FILE *out;
+
+	if (editor.configFileLocation == NULL)
+	{
+		if (showErrorFlag)
+			okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+
+		return false;
+	}
+
+	saveAudioDevicesToConfig(audio.currOutputDevice, audio.currInputDevice);
+	saveMidiInputDeviceToConfig();
+
+	out = UNICHAR_FOPEN(editor.configFileLocation, "wb");
+	if (out == NULL)
+	{
+		if (showErrorFlag)
+			okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+
+		return false;
+	}
+
+	config.NI_HighScoreChecksum = calcChecksum((uint8_t *)config.NI_HighScore, sizeof (config.NI_HighScore));
+
+	// set default path lengths (Pascal strings)
+	config.modulesPathLen = (uint8_t)strlen(config.modulesPath);
+	config.instrPathLen = (uint8_t)strlen(config.instrPath);
+	config.samplesPathLen = (uint8_t)strlen(config.samplesPath);
+	config.patternsPathLen = (uint8_t)strlen(config.patternsPath);
+	config.tracksPathLen = (uint8_t)strlen(config.tracksPath);
+
+	// copy over user palette
+	memcpy(config.userPal, palTable[11], sizeof (pal16) * 16);
+
+	memcpy(configBuffer, &config, CONFIG_FILE_SIZE);
+
+	// encrypt config buffer
+	xorConfigBuffer(configBuffer);
+
+	// write config buffer and close file handle
+	if (fwrite(configBuffer, 1, CONFIG_FILE_SIZE, out) != CONFIG_FILE_SIZE)
+	{
+		fclose(out);
+
+		if (showErrorFlag)
+			okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+
+		return false;
+	}
+
+	fclose(out);
+	return true;
+}
+
+void saveConfig2(void) // called by "Save config" button
+{
+	saveConfig(CONFIG_SHOW_ERRORS);
+}
+
+static UNICHAR *getFullAudDevConfigPath(void) // kinda hackish
+{
+	UNICHAR *filePath;
+	int32_t ft2ConfPathLen, stringOffset, audiodevDotIniStrLen, ft2DotCfgStrLen;
+
+	if (editor.configFileLocation == NULL)
+		return NULL;
+
+	ft2ConfPathLen = (int32_t)UNICHAR_STRLEN(editor.configFileLocation);
+
+#ifdef _WIN32
+	audiodevDotIniStrLen = (int32_t)UNICHAR_STRLEN(L"audiodev.ini");
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN(L"FT2.CFG");
+#else
+	audiodevDotIniStrLen = (int32_t)UNICHAR_STRLEN("audiodev.ini");
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN("FT2.CFG");
+#endif
+
+	filePath = (UNICHAR *)calloc(ft2ConfPathLen + audiodevDotIniStrLen + 2, sizeof (UNICHAR));
+
+	UNICHAR_STRCPY(filePath, editor.configFileLocation);
+
+	stringOffset = ft2ConfPathLen - ft2DotCfgStrLen;
+	filePath[stringOffset+0] = '\0';
+	filePath[stringOffset+1] = '\0';
+
+#ifdef _WIN32
+	UNICHAR_STRCAT(filePath, L"audiodev.ini");
+#else
+	UNICHAR_STRCAT(filePath, "audiodev.ini");
+#endif
+
+	return filePath;
+}
+
+static UNICHAR *getFullMidiDevConfigPath(void) // kinda hackish
+{
+	UNICHAR *filePath;
+	int32_t ft2ConfPathLen, stringOffset, mididevDotIniStrLen, ft2DotCfgStrLen;
+
+	if (editor.configFileLocation == NULL)
+		return NULL;
+
+	ft2ConfPathLen = (int32_t)UNICHAR_STRLEN(editor.configFileLocation);
+
+#ifdef _WIN32
+	mididevDotIniStrLen = (int32_t)UNICHAR_STRLEN(L"mididev.ini");
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN(L"FT2.CFG");
+#else
+	mididevDotIniStrLen = (int32_t)UNICHAR_STRLEN("mididev.ini");
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN("FT2.CFG");
+#endif
+
+	filePath = (UNICHAR *)calloc(ft2ConfPathLen + mididevDotIniStrLen + 2, sizeof (UNICHAR));
+
+	UNICHAR_STRCPY(filePath, editor.configFileLocation);
+
+	stringOffset = ft2ConfPathLen - ft2DotCfgStrLen;
+	filePath[stringOffset+0] = '\0';
+	filePath[stringOffset+1] = '\0';
+
+#ifdef _WIN32
+	UNICHAR_STRCAT(filePath, L"mididev.ini");
+#else
+	UNICHAR_STRCAT(filePath, "mididev.ini");
+#endif
+
+	return filePath;
+}
+
+static void setConfigFileLocation(void) // kinda hackish
+{
+	int32_t result, ft2DotCfgStrLen;
+	FILE *f;
+
+	// Windows
+#ifdef _WIN32
+	UNICHAR *tmpPath, *oldPath;
+
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN(L"FT2.CFG");
+
+	oldPath = (UNICHAR *)calloc(PATH_MAX + 8 + 2, sizeof (UNICHAR));
+	tmpPath = (UNICHAR *)calloc(PATH_MAX + 8 + 2, sizeof (UNICHAR));
+	editor.configFileLocation = (UNICHAR *)calloc(PATH_MAX + ft2DotCfgStrLen + 2, sizeof (UNICHAR));
+
+	if (oldPath == NULL || tmpPath == NULL || editor.configFileLocation == NULL)
+	{
+		if (oldPath != NULL) free(oldPath);
+		if (tmpPath != NULL) free(tmpPath);
+		if (editor.configFileLocation != NULL) free(editor.configFileLocation);
+
+		editor.configFileLocation = NULL;
+		showErrorMsgBox("Error: Couldn't set config file location. You can't load/save the config!");
+		return;
+	}
+
+	if (GetCurrentDirectoryW(PATH_MAX - ft2DotCfgStrLen - 1, oldPath) == 0)
+	{
+		free(oldPath);
+		free(tmpPath);
+		free(editor.configFileLocation);
+
+		editor.configFileLocation = NULL;
+		showErrorMsgBox("Error: Couldn't set config file location. You can't load/save the config!");
+		return;
+	}
+
+	UNICHAR_STRCPY(editor.configFileLocation, oldPath);
+	if ((f = fopen("FT2.CFG", "rb")) == NULL)
+	{
+		result = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, SHGFP_TYPE_CURRENT, tmpPath);
+		if (result == S_OK)
+		{
+			if (SetCurrentDirectoryW(tmpPath) != 0)
+			{
+				result = chdir("FT2 clone");
+				if (result != 0)
+				{
+					_mkdir("FT2 clone");
+					result = chdir("FT2 clone");
+				}
+
+				if (result == 0)
+					GetCurrentDirectoryW(PATH_MAX - ft2DotCfgStrLen - 1, editor.configFileLocation); // we can, set it
+			}
+		}
+	}
+	else
+	{
+		fclose(f);
+	}
+
+	free(tmpPath);
+	SetCurrentDirectoryW(oldPath);
+	free(oldPath);
+
+	UNICHAR_STRCAT(editor.configFileLocation, L"\\FT2.CFG");
+
+	// OS X / macOS
+#elif defined __APPLE__
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN("FT2.CFG");
+
+	editor.configFileLocation = (UNICHAR *)calloc(PATH_MAX + ft2DotCfgStrLen + 2, sizeof (UNICHAR));
+	if (editor.configFileLocation == NULL)
+	{
+		showErrorMsgBox("Error: Couldn't set config file location. You can't load/save the config!");
+		return;
+	}
+
+	if (getcwd(editor.configFileLocation, PATH_MAX - ft2DotCfgStrLen - 1) == NULL)
+	{
+		free(editor.configFileLocation);
+		editor.configFileLocation = NULL;
+		showErrorMsgBox("Error: Couldn't set config file location. You can't load/save the config!");
+		return;
+	}
+
+	if ((f = fopen("FT2.CFG", "rb")) == NULL)
+	{
+		if (chdir(getenv("HOME")) == 0)
+		{
+			result = chdir("Library/Application Support");
+			if (result == 0)
+			{
+				result = chdir("FT2 clone");
+				if (result != 0)
+				{
+					mkdir("FT2 clone", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
+					result = chdir("FT2 clone");
+				}
+
+				if (result == 0)
+					getcwd(editor.configFileLocation, PATH_MAX - ft2DotCfgStrLen - 1);
+			}
+		}
+	}
+	else
+	{
+		fclose(f);
+	}
+
+	strcat(editor.configFileLocation, "/FT2.CFG");
+
+	// Linux etc
+#else
+	ft2DotCfgStrLen = (int32_t)UNICHAR_STRLEN("FT2.CFG");
+
+	editor.configFileLocation = (UNICHAR *)calloc(PATH_MAX + ft2DotCfgStrLen + 2, sizeof (UNICHAR));
+	if (editor.configFileLocation == NULL)
+	{
+		showErrorMsgBox("Error: Couldn't set config file location. You can't load/save the config!");
+		return;
+	}
+
+	if (getcwd(editor.configFileLocation, PATH_MAX - ft2DotCfgStrLen - 1) == NULL)
+	{
+		free(editor.configFileLocation);
+		editor.configFileLocation = NULL;
+		showErrorMsgBox("Error: Couldn't set config file location. You can't load/save the config!");
+		return;
+	}
+
+	if ((f = fopen("FT2.CFG", "rb")) == NULL)
+	{
+		if (chdir(getenv("HOME")) == 0)
+		{
+			result = chdir(".config");
+			if (result != 0)
+			{
+				mkdir(".config", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
+				result = chdir(".config");
+			}
+
+			if (result == 0)
+			{
+				result = chdir("FT2 clone");
+				if (result != 0)
+				{
+					mkdir("FT2 clone", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
+					result = chdir("FT2 clone");
+				}
+
+				if (result == 0)
+					getcwd(editor.configFileLocation, PATH_MAX - ft2DotCfgStrLen - 1);
+			}
+		}
+	}
+	else
+	{
+		fclose(f);
+	}
+
+	strcat(editor.configFileLocation, "/FT2.CFG");
+#endif
+
+	editor.midiConfigFileLocation = getFullMidiDevConfigPath();
+	editor.audioDevConfigFileLocation = getFullAudDevConfigPath();
+}
+
+void loadConfigOrSetDefaults(void)
+{
+	size_t fileSize;
+	FILE *in;
+
+	setConfigFileLocation();
+
+	if (editor.configFileLocation == NULL)
+	{
+		setDefaultConfigSettings();
+		return;
+	}
+
+	in = UNICHAR_FOPEN(editor.configFileLocation, "rb");
+	if (in == NULL)
+	{
+		setDefaultConfigSettings();
+		return;
+	}
+
+	fseek(in, 0, SEEK_END);
+	fileSize = ftell(in);
+	rewind(in);
+
+	// not a valid FT2 config file (FT2.CFG filesize varies depending on version)
+	if (fileSize < 1732 || fileSize > CONFIG_FILE_SIZE)
+	{
+		fclose(in);
+		setDefaultConfigSettings();
+		showErrorMsgBox("The configuration file (FT2.CFG) was corrupt, default settings were loaded.");
+		return;
+	}
+
+	if (fileSize < CONFIG_FILE_SIZE)
+		memset(configBuffer, 0, CONFIG_FILE_SIZE);
+
+	if (fread(configBuffer, fileSize, 1, in) != 1)
+	{
+		fclose(in);
+		setDefaultConfigSettings();
+		showErrorMsgBox("I/O error while reading FT2.CFG, default settings were loaded.");
+		return;
+	}
+
+	fclose(in);
+
+	// decrypt config buffer
+	xorConfigBuffer(configBuffer);
+
+	if (memcmp(&configBuffer[0], CFG_ID_STR, 35) != 0)
+	{
+		setDefaultConfigSettings();
+		showErrorMsgBox("The configuration file (FT2.CFG) was corrupt, default settings were loaded.");
+		return;
+	}
+
+	loadConfigFromBuffer(false);
+}
+
+static void drawQuantValue(void)
+{
+	char str[8];
+	sprintf(str, "%02d", config.recQuantRes);
+	textOutFixed(354, 123, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawMIDIChanValue(void)
+{
+	char str[8];
+	sprintf(str, "%02d", config.recMIDIChn);
+	textOutFixed(578, 109, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawMIDITransp(void)
+{
+	char sign;
+	int8_t val;
+
+	fillRect(571, 123, 20, 8, PAL_DESKTOP);
+
+	sign = (config.recMIDITranspVal < 0) ? '-' : '+';
+
+	val = (int8_t)(ABS(config.recMIDITranspVal));
+	if (val >= 10)
+	{
+		charOut(571, 123, PAL_FORGRND, sign);
+		charOut(578, 123, PAL_FORGRND, '0' + ((val / 10) % 10));
+		charOut(585, 123, PAL_FORGRND, '0' + (val % 10));
+	}
+	else
+	{
+		if (val > 0)
+			charOut(578, 123, PAL_FORGRND, sign);
+
+		charOut(585, 123, PAL_FORGRND, '0' + (val % 10));
+	}
+}
+
+static void drawMIDISens(void)
+{
+	char str[8];
+	sprintf(str, "%03d", config.recMIDIVolSens);
+	textOutFixed(525, 160, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void setConfigRadioButtonStates(void)
+{
+	uint16_t tmpID;
+
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_SELECT);
+	switch (editor.currConfigScreen)
+	{
+		default:
+		case CONFIG_SCREEN_IO_DEVICES:    tmpID = RB_CONFIG_IO_DEVICES;    break;
+		case CONFIG_SCREEN_LAYOUT:        tmpID = RB_CONFIG_LAYOUT;        break;
+		case CONFIG_SCREEN_MISCELLANEOUS: tmpID = RB_CONFIG_MISCELLANEOUS; break;
+		case CONFIG_SCREEN_MIDI_INPUT:    tmpID = RB_CONFIG_MIDI_INPUT;    break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	showRadioButtonGroup(RB_GROUP_CONFIG_SELECT);
+}
+
+void setConfigIORadioButtonStates(void) // accessed by other .c files
+{
+	uint16_t tmpID;
+
+	// AUDIO BUFFER SIZE
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_SOUND_BUFF_SIZE);
+
+	tmpID = RB_CONFIG_SBS_1024;
+	     if (config.specialFlags & BUFFSIZE_512)  tmpID = RB_CONFIG_SBS_512;
+	else if (config.specialFlags & BUFFSIZE_2048) tmpID = RB_CONFIG_SBS_2048;
+
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// AUDIO BIT DEPTH
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_BIT_DEPTH);
+
+	tmpID = RB_CONFIG_AUDIO_16BIT;
+	if (config.specialFlags & BITDEPTH_24)
+		tmpID = RB_CONFIG_AUDIO_24BIT;
+
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// AUDIO FREQUENCY
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_FREQ);
+	switch (config.audioFreq)
+	{
+#ifdef __APPLE__
+		default: case 44100: tmpID = RB_CONFIG_AUDIO_44KHZ; break;
+		         case 48000: tmpID = RB_CONFIG_AUDIO_48KHZ; break;
+#else
+		         case 44100: tmpID = RB_CONFIG_AUDIO_44KHZ; break;
+		default: case 48000: tmpID = RB_CONFIG_AUDIO_48KHZ; break;
+#endif
+		         case 96000: tmpID = RB_CONFIG_AUDIO_96KHZ; break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// AUDIO INPUT FREQUENCY
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_INPUT_FREQ);
+	switch (config.audioInputFreq)
+	{
+#ifdef __APPLE__
+		default: case INPUT_FREQ_44KHZ: tmpID = RB_CONFIG_AUDIO_INPUT_44KHZ; break;
+		         case INPUT_FREQ_48KHZ: tmpID = RB_CONFIG_AUDIO_INPUT_48KHZ; break;
+#else
+		         case INPUT_FREQ_44KHZ: tmpID = RB_CONFIG_AUDIO_INPUT_44KHZ; break;
+		default: case INPUT_FREQ_48KHZ: tmpID = RB_CONFIG_AUDIO_INPUT_48KHZ; break;
+#endif
+		         case INPUT_FREQ_96KHZ: tmpID = RB_CONFIG_AUDIO_INPUT_96KHZ; break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// FREQUENCY TABLE
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_FREQ_TABLE);
+	tmpID = audio.linearFreqTable ? RB_CONFIG_FREQ_LINEAR : RB_CONFIG_FREQ_AMIGA;
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// show result
+
+	showRadioButtonGroup(RB_GROUP_CONFIG_SOUND_BUFF_SIZE);
+	showRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_BIT_DEPTH);
+	showRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_FREQ);
+	showRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_INPUT_FREQ);
+	showRadioButtonGroup(RB_GROUP_CONFIG_FREQ_TABLE);
+}
+
+static void setConfigIOCheckButtonStates(void)
+{
+	checkBoxes[CB_CONF_INTERPOLATION].checked = config.interpolation;
+	checkBoxes[CB_CONF_VOL_RAMP].checked = (config.specialFlags & NO_VOLRAMP_FLAG) ? false : true;
+	checkBoxes[CB_CONF_DITHER].checked = (config.specialFlags & BITDEPTH_24) ? false : config.specialFlags2 & DITHERED_AUDIO;
+
+	showCheckBox(CB_CONF_INTERPOLATION);
+	showCheckBox(CB_CONF_VOL_RAMP);
+	showCheckBox(CB_CONF_DITHER);
+}
+
+static void setConfigLayoutCheckButtonStates(void)
+{
+	checkBoxes[CB_CONF_PATTSTRETCH].checked = config.ptnUnpressed;
+	checkBoxes[CB_CONF_HEXCOUNT].checked = config.ptnHex;
+	checkBoxes[CB_CONF_ACCIDENTAL].checked = config.ptnAcc ? true : false;
+	checkBoxes[CB_CONF_SHOWZEROES].checked = config.ptnInstrZero;
+	checkBoxes[CB_CONF_FRAMEWORK].checked = config.ptnFrmWrk;
+	checkBoxes[CB_CONF_LINECOLORS].checked = config.ptnLineLight;
+	checkBoxes[CB_CONF_CHANNUMS].checked = config.ptnChnNumbers;
+	checkBoxes[CB_CONF_SHOW_VOLCOL].checked = config.ptnS3M;
+	checkBoxes[CB_CONF_HARDWARE_MOUSE].checked = (config.specialFlags2 & HARDWARE_MOUSE) ? true : false;
+
+	showCheckBox(CB_CONF_PATTSTRETCH);
+	showCheckBox(CB_CONF_HEXCOUNT);
+	showCheckBox(CB_CONF_ACCIDENTAL);
+	showCheckBox(CB_CONF_SHOWZEROES);
+	showCheckBox(CB_CONF_FRAMEWORK);
+	showCheckBox(CB_CONF_LINECOLORS);
+	showCheckBox(CB_CONF_CHANNUMS);
+	showCheckBox(CB_CONF_SHOW_VOLCOL);
+	showCheckBox(CB_CONF_HARDWARE_MOUSE);
+}
+
+static void setConfigLayoutRadioButtonStates(void)
+{
+	uint16_t tmpID;
+
+	// MOUSE SHAPE
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_MOUSE);
+	switch (config.mouseType)
+	{
+		default:
+		case MOUSE_IDLE_SHAPE_NICE:    tmpID = RB_CONFIG_MOUSE_NICE;    break;
+		case MOUSE_IDLE_SHAPE_UGLY:    tmpID = RB_CONFIG_MOUSE_UGLY;    break;
+		case MOUSE_IDLE_SHAPE_AWFUL:   tmpID = RB_CONFIG_MOUSE_AWFUL;   break;
+		case MOUSE_IDLE_SHAPE_USABLE:  tmpID = RB_CONFIG_MOUSE_USABLE;  break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// MOUSE BUSY SHAPE
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_MOUSE_BUSY);
+	switch (config.mouseAnimType)
+	{
+		default:
+		case MOUSE_BUSY_SHAPE_CLOCK: tmpID = RB_CONFIG_MOUSE_BUSY_CLOCK; break;
+		case MOUSE_BUSY_SHAPE_GLASS: tmpID = RB_CONFIG_MOUSE_BUSY_GLASS; break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// SCOPE STYLE
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_SCOPE);
+	tmpID = RB_CONFIG_SCOPE_NORMAL;
+	if (config.specialFlags & LINED_SCOPES) tmpID = RB_CONFIG_SCOPE_LINED;
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	switch (config.mouseType)
+	{
+		default:
+		case MOUSE_IDLE_SHAPE_NICE:    tmpID = RB_CONFIG_MOUSE_NICE;    break;
+		case MOUSE_IDLE_SHAPE_UGLY:    tmpID = RB_CONFIG_MOUSE_UGLY;    break;
+		case MOUSE_IDLE_SHAPE_AWFUL:   tmpID = RB_CONFIG_MOUSE_AWFUL;   break;
+		case MOUSE_IDLE_SHAPE_USABLE:  tmpID = RB_CONFIG_MOUSE_USABLE;  break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// MAX VISIBLE CHANNELS
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_PATTERN_CHANS);
+	switch (config.ptnMaxChannels)
+	{
+		default:
+		case MAX_CHANS_SHOWN_4:  tmpID = RB_CONFIG_MAXCHAN_4;  break;
+		case MAX_CHANS_SHOWN_6:  tmpID = RB_CONFIG_MAXCHAN_6;  break;
+		case MAX_CHANS_SHOWN_8:  tmpID = RB_CONFIG_MAXCHAN_8;  break;
+		case MAX_CHANS_SHOWN_12: tmpID = RB_CONFIG_MAXCHAN_12; break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// PATTERN FONT
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_FONT);
+	switch (config.ptnFont)
+	{
+		default:
+		case PATT_FONT_CAPITALS:  tmpID = RB_CONFIG_FONT_CAPITALS;  break;
+		case PATT_FONT_LOWERCASE: tmpID = RB_CONFIG_FONT_LOWERCASE; break;
+		case PATT_FONT_FUTURE:    tmpID = RB_CONFIG_FONT_FUTURE;    break;
+		case PATT_FONT_BOLD:      tmpID = RB_CONFIG_FONT_BOLD;      break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// PALETTE ENTRIES
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_PAL_ENTRIES);
+	radioButtons[RB_CONFIG_PAL_PATTERNTEXT + cfg_ColorNr].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_CONFIG_PAL_ENTRIES);
+
+	// PALETTE PRESET
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_PAL_PRESET);
+	switch (config.cfg_StdPalNr)
+	{
+		default:
+		case PAL_ARCTIC:          tmpID = RB_CONFIG_PAL_ARCTIC;          break;
+		case PAL_AURORA_BOREALIS: tmpID = RB_CONFIG_PAL_AURORA_BOREALIS; break;
+		case PAL_BLUES:           tmpID = RB_CONFIG_PAL_BLUES;           break;
+		case PAL_GOLD:            tmpID = RB_CONFIG_PAL_GOLD;            break;
+		case PAL_HEAVY_METAL:     tmpID = RB_CONFIG_PAL_HEAVY_METAL;     break;
+		case PAL_JUNGLE:          tmpID = RB_CONFIG_PAL_JUNGLE;          break;
+		case PAL_LITHE_DARK:      tmpID = RB_CONFIG_PAL_LITHE_DARK;      break;
+		case PAL_ROSE:            tmpID = RB_CONFIG_PAL_ROSE;            break;
+		case PAL_SPACE_PIGS:      tmpID = RB_CONFIG_PAL_SPACE_PIGS;      break;
+		case PAL_VIOLENT:         tmpID = RB_CONFIG_PAL_VIOLENT;         break;
+		case PAL_WHY_COLORS:      tmpID = RB_CONFIG_PAL_WHY_COLORS;      break;
+		case PAL_USER_DEFINED:    tmpID = RB_CONFIG_PAL_USER_DEFINED;    break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// show result
+
+	showRadioButtonGroup(RB_GROUP_CONFIG_MOUSE);
+	showRadioButtonGroup(RB_GROUP_CONFIG_MOUSE_BUSY);
+	showRadioButtonGroup(RB_GROUP_CONFIG_SCOPE);
+	showRadioButtonGroup(RB_GROUP_CONFIG_PATTERN_CHANS);
+	showRadioButtonGroup(RB_GROUP_CONFIG_FONT);
+	showRadioButtonGroup(RB_GROUP_CONFIG_PAL_PRESET);
+}
+
+static void setConfigMiscCheckButtonStates(void)
+{
+	checkBoxes[CB_CONF_SAMP_CUT_TO_BUF].checked = config.smpCutToBuffer;
+	checkBoxes[CB_CONF_PATT_CUT_TO_BUF].checked = config.ptnCutToBuffer;
+	checkBoxes[CB_CONF_KILL_NOTES_AT_STOP].checked = config.killNotesOnStopPlay;
+	checkBoxes[CB_CONF_FILE_OVERWRITE_WARN].checked = config.cfg_OverwriteWarning;
+	checkBoxes[CB_CONF_MULTICHAN_REC].checked = config.multiRec;
+	checkBoxes[CB_CONF_MULTICHAN_JAZZ].checked = config.multiKeyJazz;
+	checkBoxes[CB_CONF_MULTICHAN_EDIT].checked = config.multiEdit;
+	checkBoxes[CB_CONF_REC_KEYOFF].checked = config.recRelease;
+	checkBoxes[CB_CONF_QUANTIZATION].checked = config.recQuant;
+	checkBoxes[CB_CONF_CHANGE_PATTLEN_INS_DEL].checked = config.recTrueInsert;
+	checkBoxes[CB_CONF_MIDI_ALLOW_PC].checked = config.recMIDIAllowPC;
+	checkBoxes[CB_CONF_MIDI_ENABLE].checked = midi.enable;
+	checkBoxes[CB_CONF_MIDI_REC_ALL].checked = config.recMIDIAllChn;
+	checkBoxes[CB_CONF_MIDI_REC_TRANS].checked = config.recMIDITransp;
+	checkBoxes[CB_CONF_MIDI_REC_VELOC].checked = config.recMIDIVelocity;
+	checkBoxes[CB_CONF_MIDI_REC_AFTERTOUCH].checked = config.recMIDIAftert;
+	checkBoxes[CB_CONF_FORCE_VSYNC_OFF].checked = (config.windowFlags & FORCE_VSYNC_OFF) ? true : false;
+	checkBoxes[CB_CONF_START_IN_FULLSCREEN].checked = (config.windowFlags & START_IN_FULLSCR) ? true : false;
+	checkBoxes[CB_CONF_FILTERING].checked = (config.windowFlags & FILTERING) ? true : false;
+
+	showCheckBox(CB_CONF_SAMP_CUT_TO_BUF);
+	showCheckBox(CB_CONF_PATT_CUT_TO_BUF);
+	showCheckBox(CB_CONF_KILL_NOTES_AT_STOP);
+	showCheckBox(CB_CONF_FILE_OVERWRITE_WARN);
+	showCheckBox(CB_CONF_MULTICHAN_REC);
+	showCheckBox(CB_CONF_MULTICHAN_JAZZ);
+	showCheckBox(CB_CONF_MULTICHAN_EDIT);
+	showCheckBox(CB_CONF_REC_KEYOFF);
+	showCheckBox(CB_CONF_QUANTIZATION);
+	showCheckBox(CB_CONF_CHANGE_PATTLEN_INS_DEL);
+	showCheckBox(CB_CONF_MIDI_ALLOW_PC);
+	showCheckBox(CB_CONF_MIDI_ENABLE);
+	showCheckBox(CB_CONF_MIDI_REC_ALL);
+	showCheckBox(CB_CONF_MIDI_REC_TRANS);
+	showCheckBox(CB_CONF_MIDI_REC_VELOC);
+	showCheckBox(CB_CONF_MIDI_REC_AFTERTOUCH);
+	showCheckBox(CB_CONF_FORCE_VSYNC_OFF);
+	showCheckBox(CB_CONF_START_IN_FULLSCREEN);
+	showCheckBox(CB_CONF_FILTERING);
+}
+
+static void setConfigMiscRadioButtonStates(void)
+{
+	uint16_t tmpID;
+
+	// FILE SORTING
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_FILESORT);
+	switch (config.cfg_SortPriority)
+	{
+		default:
+		case FILESORT_EXT:  tmpID = RB_CONFIG_FILESORT_EXT;  break;
+		case FILESORT_NAME: tmpID = RB_CONFIG_FILESORT_NAME; break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// WINDOW SIZE
+	uncheckRadioButtonGroup(RB_GROUP_CONFIG_WIN_SIZE);
+
+	     if (config.windowFlags & WINSIZE_AUTO) tmpID = RB_CONFIG_WIN_SIZE_AUTO;
+	else if (config.windowFlags & WINSIZE_1X) tmpID = RB_CONFIG_WIN_SIZE_1X;
+	else if (config.windowFlags & WINSIZE_2X) tmpID = RB_CONFIG_WIN_SIZE_2X;
+	else if (config.windowFlags & WINSIZE_3X) tmpID = RB_CONFIG_WIN_SIZE_3X;
+	else if (config.windowFlags & WINSIZE_4X) tmpID = RB_CONFIG_WIN_SIZE_4X;
+
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// show result
+
+	showRadioButtonGroup(RB_GROUP_CONFIG_FILESORT);
+	showRadioButtonGroup(RB_GROUP_CONFIG_WIN_SIZE);
+}
+
+void showConfigScreen(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	editor.ui.configScreenShown = true;
+
+	drawFramework(0, 0, 110, 173, FRAMEWORK_TYPE1);
+
+	setConfigRadioButtonStates();
+
+	checkBoxes[CB_CONF_AUTOSAVE].checked = config.cfg_AutoSave;
+	showCheckBox(CB_CONF_AUTOSAVE);
+
+	showPushButton(PB_CONFIG_RESET);
+	showPushButton(PB_CONFIG_LOAD);
+	showPushButton(PB_CONFIG_SAVE);
+	showPushButton(PB_CONFIG_EXIT);
+
+	textOutShadow(5,    4, PAL_FORGRND, PAL_DSKTOP2, "Configuration:");
+	textOutShadow(22,  20, PAL_FORGRND, PAL_DSKTOP2, "I/O devices");
+	textOutShadow(22,  36, PAL_FORGRND, PAL_DSKTOP2, "Layout");
+	textOutShadow(22,  52, PAL_FORGRND, PAL_DSKTOP2, "Miscellaneous");
+	textOutShadow(22,  68, PAL_FORGRND, PAL_DSKTOP2, "MIDI input");
+
+	textOutShadow(19,  92, PAL_FORGRND, PAL_DSKTOP2, "Auto save");
+
+	switch (editor.currConfigScreen)
+	{
+		default:
+		case CONFIG_SCREEN_IO_DEVICES:
+		{
+			drawFramework(110,   0, 276, 87, FRAMEWORK_TYPE1);
+			drawFramework(110,  87, 276, 86, FRAMEWORK_TYPE1);
+
+			drawFramework(386,   0, 119,  73, FRAMEWORK_TYPE1);
+			drawFramework(386,  73, 119,  44, FRAMEWORK_TYPE1);
+			drawFramework(386, 117, 119,  56, FRAMEWORK_TYPE1);
+
+			drawFramework(505,   0, 127,  73, FRAMEWORK_TYPE1);
+			drawFramework(505, 117, 127,  56, FRAMEWORK_TYPE1);
+			drawFramework(505,  73, 127,  44, FRAMEWORK_TYPE1);
+
+			drawFramework(112,  16, AUDIO_SELECTORS_BOX_WIDTH+4, 69, FRAMEWORK_TYPE2);
+			drawFramework(112, 103, AUDIO_SELECTORS_BOX_WIDTH+4, 47, FRAMEWORK_TYPE2);
+
+			drawAudioOutputList();
+			drawAudioInputList();
+
+			if (audio.rescanAudioDevicesSupported)
+				showPushButton(PB_CONFIG_AUDIO_RESCAN);
+
+			showPushButton(PB_CONFIG_AUDIO_OUTPUT_DOWN);
+			showPushButton(PB_CONFIG_AUDIO_OUTPUT_UP);
+			showPushButton(PB_CONFIG_AUDIO_INPUT_DOWN);
+			showPushButton(PB_CONFIG_AUDIO_INPUT_UP);
+			showPushButton(PB_CONFIG_AMP_DOWN);
+			showPushButton(PB_CONFIG_AMP_UP);
+			showPushButton(PB_CONFIG_MASTVOL_DOWN);
+			showPushButton(PB_CONFIG_MASTVOL_UP);
+
+			textOutShadow(114,   4, PAL_FORGRND, PAL_DSKTOP2, "Audio output devices:");
+			textOutShadow(114,  91, PAL_FORGRND, PAL_DSKTOP2, "Audio input devices (sampling):");
+
+			textOutShadow(114, 157, PAL_FORGRND, PAL_DSKTOP2, "Input rate:");
+			textOutShadow(194, 157, PAL_FORGRND, PAL_DSKTOP2, "44.1kHz");
+			textOutShadow(265, 157, PAL_FORGRND, PAL_DSKTOP2, "48.0kHz");
+			textOutShadow(336, 157, PAL_FORGRND, PAL_DSKTOP2, "96.0kHz");
+
+			textOutShadow(390,   3, PAL_FORGRND, PAL_DSKTOP2, "Audio buffer size:");
+			textOutShadow(406,  17, PAL_FORGRND, PAL_DSKTOP2, "Small");
+			textOutShadow(406,  31, PAL_FORGRND, PAL_DSKTOP2, "Medium (default)");
+			textOutShadow(406,  45, PAL_FORGRND, PAL_DSKTOP2, "Large");
+
+			textOutShadow(390,  76, PAL_FORGRND, PAL_DSKTOP2, "Audio bit depth:");
+			textOutShadow(406,  90, PAL_FORGRND, PAL_DSKTOP2, "16-bit (default)");
+			textOutShadow(406, 104, PAL_FORGRND, PAL_DSKTOP2, "24-bit float");
+
+			textOutShadow(390, 120, PAL_FORGRND, PAL_DSKTOP2, "Mixing device ctrl.:");
+			textOutShadow(406, 134, PAL_FORGRND, PAL_DSKTOP2, "Interpolation");
+			textOutShadow(406, 147, PAL_FORGRND, PAL_DSKTOP2, "Volume ramping");
+			textOutShadow(406, 160, PAL_FORGRND, PAL_DSKTOP2, "1.5-bit dither");
+
+			textOutShadow(509,   3, PAL_FORGRND, PAL_DSKTOP2, "Mixing frequency:");
+#ifdef __APPLE__
+			textOutShadow(525,  17, PAL_FORGRND, PAL_DSKTOP2, "44100Hz (default)");
+			textOutShadow(525,  31, PAL_FORGRND, PAL_DSKTOP2, "48000Hz");
+#else
+			textOutShadow(525,  17, PAL_FORGRND, PAL_DSKTOP2, "44100Hz");
+			textOutShadow(525,  31, PAL_FORGRND, PAL_DSKTOP2, "48000Hz (default)");
+#endif
+			textOutShadow(525,  45, PAL_FORGRND, PAL_DSKTOP2, "96000Hz");
+
+			textOutShadow(509,  76, PAL_FORGRND, PAL_DSKTOP2, "Frequency table:");
+			textOutShadow(525,  90, PAL_FORGRND, PAL_DSKTOP2, "Amiga freq. table");
+			textOutShadow(525, 104, PAL_FORGRND, PAL_DSKTOP2, "Linear freq. table");
+
+			textOutShadow(509, 120, PAL_FORGRND, PAL_DSKTOP2, "Amplification:");
+			charOutShadow(621, 120, PAL_FORGRND, PAL_DSKTOP2, 'X');
+			textOutShadow(509, 148, PAL_FORGRND, PAL_DSKTOP2, "Master volume:");
+
+			setConfigIORadioButtonStates();
+			setConfigIOCheckButtonStates();
+
+			configDrawAmp();
+
+			setScrollBarPos(SB_AMP_SCROLL,       config.boostLevel - 1, false);
+			setScrollBarPos(SB_MASTERVOL_SCROLL, config.masterVol,      false);
+
+			showScrollBar(SB_AUDIO_INPUT_SCROLL);
+			showScrollBar(SB_AUDIO_OUTPUT_SCROLL);
+			showScrollBar(SB_AMP_SCROLL);
+			showScrollBar(SB_MASTERVOL_SCROLL);
+		}
+		break;
+
+		case CONFIG_SCREEN_LAYOUT:
+		{
+			drawFramework(110,   0, 142, 106, FRAMEWORK_TYPE1);
+			drawFramework(252,   0, 142,  98, FRAMEWORK_TYPE1);
+			drawFramework(394,   0, 238,  86, FRAMEWORK_TYPE1);
+			drawFramework(110, 106, 142,  67, FRAMEWORK_TYPE1);
+			drawFramework(252,  98, 142,  45, FRAMEWORK_TYPE1);
+			drawFramework(394,  86, 238, 87, FRAMEWORK_TYPE1);
+
+			drawFramework(252, 143, 142,  30, FRAMEWORK_TYPE1);
+
+			textOutShadow(114, 109, PAL_FORGRND, PAL_DSKTOP2, "Mouse shape:");
+			textOutShadow(130, 121, PAL_FORGRND, PAL_DSKTOP2, "Nice");
+			textOutShadow(194, 121, PAL_FORGRND, PAL_DSKTOP2, "Ugly");
+			textOutShadow(130, 135, PAL_FORGRND, PAL_DSKTOP2, "Awful");
+			textOutShadow(194, 135, PAL_FORGRND, PAL_DSKTOP2, "Usable");
+			textOutShadow(114, 148, PAL_FORGRND, PAL_DSKTOP2, "Mouse busy shape:");
+			textOutShadow(130, 160, PAL_FORGRND, PAL_DSKTOP2, "Vogue");
+			textOutShadow(194, 160, PAL_FORGRND, PAL_DSKTOP2, "Mr. H");
+
+			textOutShadow(114,   3, PAL_FORGRND, PAL_DSKTOP2, "Pattern layout:");
+			textOutShadow(130,  16, PAL_FORGRND, PAL_DSKTOP2, "Pattern stretch");
+			textOutShadow(130,  29, PAL_FORGRND, PAL_DSKTOP2, "Hex line numbers");
+			textOutShadow(130,  42, PAL_FORGRND, PAL_DSKTOP2, "Accidential");
+			textOutShadow(130,  55, PAL_FORGRND, PAL_DSKTOP2, "Show zeroes");
+			textOutShadow(130,  68, PAL_FORGRND, PAL_DSKTOP2, "Framework");
+			textOutShadow(130,  81, PAL_FORGRND, PAL_DSKTOP2, "Line number colors");
+			textOutShadow(130,  94, PAL_FORGRND, PAL_DSKTOP2, "Channel numbering");
+
+			textOutShadow(256,   3, PAL_FORGRND, PAL_DSKTOP2, "Pattern modes:");
+			textOutShadow(271,  16, PAL_FORGRND, PAL_DSKTOP2, "Show volume column");
+			textOutShadow(256,  30, PAL_FORGRND, PAL_DSKTOP2, "Maximum visible chn.:");
+			textOutShadow(272,  43, PAL_FORGRND, PAL_DSKTOP2, "4 channels");
+			textOutShadow(272,  57, PAL_FORGRND, PAL_DSKTOP2, "6 channels");
+			textOutShadow(272,  71, PAL_FORGRND, PAL_DSKTOP2, "8 channels");
+			textOutShadow(272,  85, PAL_FORGRND, PAL_DSKTOP2, "12 channels");
+
+			textOutShadow(257, 101, PAL_FORGRND, PAL_DSKTOP2, "Pattern font:");
+			textOutShadow(272, 115, PAL_FORGRND, PAL_DSKTOP2, "Capitals");
+			textOutShadow(338, 114, PAL_FORGRND, PAL_DSKTOP2, "Lower-c.");
+			textOutShadow(272, 130, PAL_FORGRND, PAL_DSKTOP2, "Future");
+			textOutShadow(338, 129, PAL_FORGRND, PAL_DSKTOP2, "Bold");
+
+			textOutShadow(256, 146, PAL_FORGRND, PAL_DSKTOP2, "Scopes:");
+			textOutShadow(319, 146, PAL_FORGRND, PAL_DSKTOP2, "Std.");
+			textOutShadow(360, 146, PAL_FORGRND, PAL_DSKTOP2, "Lined");
+
+			textOutShadow(272, 160, PAL_FORGRND, PAL_DSKTOP2, "Hardware mouse");
+
+			textOutShadow(414,   3, PAL_FORGRND, PAL_DSKTOP2, "Pattern text");
+			textOutShadow(414,  17, PAL_FORGRND, PAL_DSKTOP2, "Block mark");
+			textOutShadow(414,  31, PAL_FORGRND, PAL_DSKTOP2, "Text on block");
+			textOutShadow(414,  45, PAL_FORGRND, PAL_DSKTOP2, "Mouse");
+			textOutShadow(414,  59, PAL_FORGRND, PAL_DSKTOP2, "Desktop");
+			textOutShadow(414,  73, PAL_FORGRND, PAL_DSKTOP2, "Buttons");
+
+			textOutShadow(414,  90, PAL_FORGRND, PAL_DSKTOP2, "Arctic");
+			textOutShadow(528,  90, PAL_FORGRND, PAL_DSKTOP2, "LiTHe dark");
+			textOutShadow(414, 104, PAL_FORGRND, PAL_DSKTOP2, "Aurora Borealis");
+			textOutShadow(528, 104, PAL_FORGRND, PAL_DSKTOP2, "Rose");
+			textOutShadow(414, 118, PAL_FORGRND, PAL_DSKTOP2, "Blues");
+			textOutShadow(528, 118, PAL_FORGRND, PAL_DSKTOP2, "Space Pigs");
+			textOutShadow(414, 132, PAL_FORGRND, PAL_DSKTOP2, "Gold");
+			textOutShadow(528, 132, PAL_FORGRND, PAL_DSKTOP2, "Violent");
+			textOutShadow(414, 146, PAL_FORGRND, PAL_DSKTOP2, "Heavy Metal");
+			textOutShadow(528, 146, PAL_FORGRND, PAL_DSKTOP2, "Why colors?");
+			textOutShadow(414, 160, PAL_FORGRND, PAL_DSKTOP2, "Jungle");
+			textOutShadow(528, 160, PAL_FORGRND, PAL_DSKTOP2, "User defined");
+
+			showPaletteEditor();
+
+			setConfigLayoutCheckButtonStates();
+			setConfigLayoutRadioButtonStates();
+		}
+		break;
+
+		case CONFIG_SCREEN_MISCELLANEOUS:
+		{
+			drawFramework(110,   0,  99,  43, FRAMEWORK_TYPE1);
+			drawFramework(209,   0, 199,  55, FRAMEWORK_TYPE1);
+			drawFramework(408,   0, 224,  91, FRAMEWORK_TYPE1);
+
+			drawFramework(110,  43,  99,  57, FRAMEWORK_TYPE1);
+			drawFramework(209,  55, 199, 118, FRAMEWORK_TYPE1);
+			drawFramework(408,  91, 224,  82, FRAMEWORK_TYPE1);
+
+			drawFramework(110, 100,  99,  73, FRAMEWORK_TYPE1);
+
+			// text boxes
+			drawFramework(485,  15, 145,  14, FRAMEWORK_TYPE2);
+			drawFramework(485,  30, 145,  14, FRAMEWORK_TYPE2);
+			drawFramework(485,  45, 145,  14, FRAMEWORK_TYPE2);
+			drawFramework(485,  60, 145,  14, FRAMEWORK_TYPE2);
+			drawFramework(485,  75, 145,  14, FRAMEWORK_TYPE2);
+
+			textOutShadow(114,   3, PAL_FORGRND, PAL_DSKTOP2, "Dir. sorting pri.:");
+			textOutShadow(130,  16, PAL_FORGRND, PAL_DSKTOP2, "Ext.");
+			textOutShadow(130,  30, PAL_FORGRND, PAL_DSKTOP2, "Name");
+
+			textOutShadow(228,   4, PAL_FORGRND, PAL_DSKTOP2, "Sample \"cut to buffer\"");
+			textOutShadow(228,  17, PAL_FORGRND, PAL_DSKTOP2, "Pattern \"cut to buffer\"");
+			textOutShadow(228,  30, PAL_FORGRND, PAL_DSKTOP2, "Kill voices at music stop");
+			textOutShadow(228,  43, PAL_FORGRND, PAL_DSKTOP2, "File-overwrite warning");
+
+			textOutShadow(464,   3, PAL_FORGRND, PAL_DSKTOP2, "Default directories:");
+			textOutShadow(413,  17, PAL_FORGRND, PAL_DSKTOP2, "Modules");
+			textOutShadow(413,  32, PAL_FORGRND, PAL_DSKTOP2, "Instruments");
+			textOutShadow(413,  47, PAL_FORGRND, PAL_DSKTOP2, "Samples");
+			textOutShadow(413,  62, PAL_FORGRND, PAL_DSKTOP2, "Patterns");
+			textOutShadow(413,  77, PAL_FORGRND, PAL_DSKTOP2, "Tracks");
+
+			textOutShadow(114,  46, PAL_FORGRND, PAL_DSKTOP2, "Window size:");
+			textOutShadow(130,  59, PAL_FORGRND, PAL_DSKTOP2, "Auto fit");
+			textOutShadow(130,  73, PAL_FORGRND, PAL_DSKTOP2, "1x");
+			textOutShadow(172,  73, PAL_FORGRND, PAL_DSKTOP2, "3x");
+			textOutShadow(130,  87, PAL_FORGRND, PAL_DSKTOP2, "2x");
+			textOutShadow(172,  87, PAL_FORGRND, PAL_DSKTOP2, "4x");
+			textOutShadow(114, 103, PAL_FORGRND, PAL_DSKTOP2, "Video settings:");
+			textOutShadow(130, 117, PAL_FORGRND, PAL_DSKTOP2, "VSync off");
+			textOutShadow(130, 130, PAL_FORGRND, PAL_DSKTOP2, "Fullscreen");
+			textOutShadow(130, 143, PAL_FORGRND, PAL_DSKTOP2, "Pixel filter");
+
+			textOutShadow(213,  58, PAL_FORGRND, PAL_DSKTOP2, "Rec./Edit/Play:");
+			textOutShadow(228,  71, PAL_FORGRND, PAL_DSKTOP2, "Multichannel record");
+			textOutShadow(228,  84, PAL_FORGRND, PAL_DSKTOP2, "Multichannel \"key jazz\"");
+			textOutShadow(228,  97, PAL_FORGRND, PAL_DSKTOP2, "Multichannel edit");
+			textOutShadow(228, 110, PAL_FORGRND, PAL_DSKTOP2, "Record key-off notes");
+			textOutShadow(228, 123, PAL_FORGRND, PAL_DSKTOP2, "Quantization");
+			textOutShadow(338, 123, PAL_FORGRND, PAL_DSKTOP2, "1/");
+			textOutShadow(228, 136, PAL_FORGRND, PAL_DSKTOP2, "Change pattern length when");
+			textOutShadow(228, 147, PAL_FORGRND, PAL_DSKTOP2, "inserting/deleting line.");
+			textOutShadow(228, 161, PAL_FORGRND, PAL_DSKTOP2, "Allow MIDI-in program change");
+
+			textOutShadow(428,  95, PAL_FORGRND, PAL_DSKTOP2, "Enable MIDI");
+			textOutShadow(412, 108, PAL_FORGRND, PAL_DSKTOP2, "Record MIDI chn.");
+			charOutShadow(523, 108, PAL_FORGRND, PAL_DSKTOP2, '(');
+			textOutShadow(546, 108, PAL_FORGRND, PAL_DSKTOP2, "all )");
+			textOutShadow(428, 121, PAL_FORGRND, PAL_DSKTOP2, "Record transpose");
+			textOutShadow(428, 134, PAL_FORGRND, PAL_DSKTOP2, "Record velocity");
+			textOutShadow(428, 147, PAL_FORGRND, PAL_DSKTOP2, "Record aftertouch");
+			textOutShadow(412, 160, PAL_FORGRND, PAL_DSKTOP2, "Vel./A.t. senstvty.");
+			charOutShadow(547, 160, PAL_FORGRND, PAL_DSKTOP2, '%');
+
+			setConfigMiscCheckButtonStates();
+			setConfigMiscRadioButtonStates();
+
+			drawQuantValue();
+			drawMIDIChanValue();
+			drawMIDITransp();
+			drawMIDISens();
+
+			showPushButton(PB_CONFIG_TOGGLE_FULLSCREEN);
+			showPushButton(PB_CONFIG_QUANTIZE_UP);
+			showPushButton(PB_CONFIG_QUANTIZE_DOWN);
+			showPushButton(PB_CONFIG_MIDICHN_UP);
+			showPushButton(PB_CONFIG_MIDICHN_DOWN);
+			showPushButton(PB_CONFIG_MIDITRANS_UP);
+			showPushButton(PB_CONFIG_MIDITRANS_DOWN);
+			showPushButton(PB_CONFIG_MIDISENS_DOWN);
+			showPushButton(PB_CONFIG_MIDISENS_UP);
+
+			showTextBox(TB_CONF_DEF_MODS_DIR);
+			showTextBox(TB_CONF_DEF_INSTRS_DIR);
+			showTextBox(TB_CONF_DEF_SAMPS_DIR);
+			showTextBox(TB_CONF_DEF_PATTS_DIR);
+			showTextBox(TB_CONF_DEF_TRACKS_DIR);
+			drawTextBox(TB_CONF_DEF_MODS_DIR);
+			drawTextBox(TB_CONF_DEF_INSTRS_DIR);
+			drawTextBox(TB_CONF_DEF_SAMPS_DIR);
+			drawTextBox(TB_CONF_DEF_PATTS_DIR);
+			drawTextBox(TB_CONF_DEF_TRACKS_DIR);
+
+			setScrollBarPos(SB_MIDI_SENS, config.recMIDIVolSens, false);
+			showScrollBar(SB_MIDI_SENS);
+		}
+		break;
+
+		case CONFIG_SCREEN_MIDI_INPUT:
+		{
+			drawFramework(110, 0, 394, 173, FRAMEWORK_TYPE1);
+			drawFramework(112, 2, 369, 169, FRAMEWORK_TYPE2);
+			drawFramework(504, 0, 128, 173, FRAMEWORK_TYPE1);
+
+			textOutShadow(528, 112, PAL_FORGRND, PAL_DSKTOP2, "Input Devices");
+
+			blitFast(517, 51, midiLogo, 103, 55);
+
+			showPushButton(PB_CONFIG_MIDI_INPUT_DOWN);
+			showPushButton(PB_CONFIG_MIDI_INPUT_UP);
+
+			rescanMidiInputDevices();
+			drawMidiInputList();
+
+			showScrollBar(SB_MIDI_INPUT_SCROLL);
+		}
+		break;
+	}
+}
+
+void hideConfigScreen(void)
+{
+	// CONFIG LEFT SIDE
+	hideRadioButtonGroup(RB_GROUP_CONFIG_SELECT);
+	hideCheckBox(CB_CONF_AUTOSAVE);
+	hidePushButton(PB_CONFIG_RESET);
+	hidePushButton(PB_CONFIG_LOAD);
+	hidePushButton(PB_CONFIG_SAVE);
+	hidePushButton(PB_CONFIG_EXIT);
+
+	// CONFIG AUDIO
+	hideRadioButtonGroup(RB_GROUP_CONFIG_SOUND_BUFF_SIZE);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_BIT_DEPTH);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_FREQ);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_AUDIO_INPUT_FREQ);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_FREQ_TABLE);
+	hideCheckBox(CB_CONF_INTERPOLATION);
+	hideCheckBox(CB_CONF_VOL_RAMP);
+	hideCheckBox(CB_CONF_DITHER);
+	hidePushButton(PB_CONFIG_AUDIO_RESCAN);
+	hidePushButton(PB_CONFIG_AUDIO_OUTPUT_DOWN);
+	hidePushButton(PB_CONFIG_AUDIO_OUTPUT_UP);
+	hidePushButton(PB_CONFIG_AUDIO_INPUT_DOWN);
+	hidePushButton(PB_CONFIG_AUDIO_INPUT_UP);
+	hidePushButton(PB_CONFIG_AMP_DOWN);
+	hidePushButton(PB_CONFIG_AMP_UP);
+	hidePushButton(PB_CONFIG_MASTVOL_DOWN);
+	hidePushButton(PB_CONFIG_MASTVOL_UP);
+	hideScrollBar(SB_AUDIO_INPUT_SCROLL);
+	hideScrollBar(SB_AUDIO_OUTPUT_SCROLL);
+	hideScrollBar(SB_AMP_SCROLL);
+	hideScrollBar(SB_MASTERVOL_SCROLL);
+
+	// CONFIG LAYOUT
+	hideRadioButtonGroup(RB_GROUP_CONFIG_MOUSE);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_MOUSE_BUSY);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_SCOPE);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_PATTERN_CHANS);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_FONT);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_PAL_ENTRIES);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_PAL_PRESET);
+	hideCheckBox(CB_CONF_PATTSTRETCH);
+	hideCheckBox(CB_CONF_HEXCOUNT);
+	hideCheckBox(CB_CONF_ACCIDENTAL);
+	hideCheckBox(CB_CONF_SHOWZEROES);
+	hideCheckBox(CB_CONF_FRAMEWORK);
+	hideCheckBox(CB_CONF_LINECOLORS);
+	hideCheckBox(CB_CONF_CHANNUMS);
+	hideCheckBox(CB_CONF_SHOW_VOLCOL);
+	hideCheckBox(CB_CONF_HARDWARE_MOUSE);
+	hidePushButton(PB_CONFIG_PAL_R_DOWN);
+	hidePushButton(PB_CONFIG_PAL_R_UP);
+	hidePushButton(PB_CONFIG_PAL_G_DOWN);
+	hidePushButton(PB_CONFIG_PAL_G_UP);
+	hidePushButton(PB_CONFIG_PAL_B_DOWN);
+	hidePushButton(PB_CONFIG_PAL_B_UP);
+	hidePushButton(PB_CONFIG_PAL_CONT_DOWN);
+	hidePushButton(PB_CONFIG_PAL_CONT_UP);
+	hideScrollBar(SB_PAL_R);
+	hideScrollBar(SB_PAL_G);
+	hideScrollBar(SB_PAL_B);
+	hideScrollBar(SB_PAL_CONTRAST);
+
+	// CONFIG MISCELLANEOUS
+	hideRadioButtonGroup(RB_GROUP_CONFIG_FILESORT);
+	hideRadioButtonGroup(RB_GROUP_CONFIG_WIN_SIZE);
+	hidePushButton(PB_CONFIG_TOGGLE_FULLSCREEN);
+	hidePushButton(PB_CONFIG_QUANTIZE_UP);
+	hidePushButton(PB_CONFIG_QUANTIZE_DOWN);
+	hidePushButton(PB_CONFIG_MIDICHN_UP);
+	hidePushButton(PB_CONFIG_MIDICHN_DOWN);
+	hidePushButton(PB_CONFIG_MIDITRANS_UP);
+	hidePushButton(PB_CONFIG_MIDITRANS_DOWN);
+	hidePushButton(PB_CONFIG_MIDISENS_DOWN);
+	hidePushButton(PB_CONFIG_MIDISENS_UP);
+	hideCheckBox(CB_CONF_FORCE_VSYNC_OFF);
+	hideCheckBox(CB_CONF_START_IN_FULLSCREEN);
+	hideCheckBox(CB_CONF_FILTERING);
+	hideCheckBox(CB_CONF_SAMP_CUT_TO_BUF);
+	hideCheckBox(CB_CONF_PATT_CUT_TO_BUF);
+	hideCheckBox(CB_CONF_KILL_NOTES_AT_STOP);
+	hideCheckBox(CB_CONF_FILE_OVERWRITE_WARN);
+	hideCheckBox(CB_CONF_MULTICHAN_REC);
+	hideCheckBox(CB_CONF_MULTICHAN_JAZZ);
+	hideCheckBox(CB_CONF_MULTICHAN_EDIT);
+	hideCheckBox(CB_CONF_REC_KEYOFF);
+	hideCheckBox(CB_CONF_QUANTIZATION);
+	hideCheckBox(CB_CONF_CHANGE_PATTLEN_INS_DEL);
+	hideCheckBox(CB_CONF_MIDI_ALLOW_PC);
+	hideCheckBox(CB_CONF_MIDI_ENABLE);
+	hideCheckBox(CB_CONF_MIDI_REC_ALL);
+	hideCheckBox(CB_CONF_MIDI_REC_TRANS);
+	hideCheckBox(CB_CONF_MIDI_REC_VELOC);
+	hideCheckBox(CB_CONF_MIDI_REC_AFTERTOUCH);
+	hideTextBox(TB_CONF_DEF_MODS_DIR);
+	hideTextBox(TB_CONF_DEF_INSTRS_DIR);
+	hideTextBox(TB_CONF_DEF_SAMPS_DIR);
+	hideTextBox(TB_CONF_DEF_PATTS_DIR);
+	hideTextBox(TB_CONF_DEF_TRACKS_DIR);
+	hideScrollBar(SB_MIDI_SENS);
+
+	// CONFIG MIDI
+	hidePushButton(PB_CONFIG_MIDI_INPUT_DOWN);
+	hidePushButton(PB_CONFIG_MIDI_INPUT_UP);
+	hideScrollBar(SB_MIDI_INPUT_SCROLL);
+
+	editor.ui.configScreenShown = false;
+}
+
+void exitConfigScreen(void)
+{
+	hideConfigScreen();
+	showTopScreen(true);
+}
+
+// CONFIG AUDIO
+
+void configToggleS3MLoadWarning(void)
+{
+	config.dontShowAgainFlags ^= DONT_SHOW_S3M_LOAD_WARNING_FLAG;
+}
+
+void configToggleNotYetAppliedWarning(void)
+{
+	config.dontShowAgainFlags ^= DONT_SHOW_NOT_YET_APPLIED_WARNING_FLAG;
+}
+
+void rbConfigIODevices(void)
+{
+	checkRadioButton(RB_CONFIG_IO_DEVICES);
+	editor.currConfigScreen = CONFIG_SCREEN_IO_DEVICES;
+
+	hideConfigScreen();
+	showConfigScreen();
+}
+
+void rbConfigLayout(void)
+{
+	checkRadioButton(RB_CONFIG_LAYOUT);
+	editor.currConfigScreen = CONFIG_SCREEN_LAYOUT;
+
+	hideConfigScreen();
+	showConfigScreen();
+}
+
+void rbConfigMiscellaneous(void)
+{
+	checkRadioButton(RB_CONFIG_MISCELLANEOUS);
+	editor.currConfigScreen = CONFIG_SCREEN_MISCELLANEOUS;
+
+	hideConfigScreen();
+	showConfigScreen();
+}
+
+void rbConfigMidiInput(void)
+{
+	checkRadioButton(RB_CONFIG_MIDI_INPUT);
+	editor.currConfigScreen = CONFIG_SCREEN_MIDI_INPUT;
+
+	hideConfigScreen();
+	showConfigScreen();
+}
+
+void rbConfigSbs512(void)
+{
+	config.specialFlags &= ~(BUFFSIZE_1024 + BUFFSIZE_2048);
+	config.specialFlags |= BUFFSIZE_512;
+
+	setNewAudioSettings();
+}
+
+void rbConfigSbs1024(void)
+{
+	config.specialFlags &= ~(BUFFSIZE_512 + BUFFSIZE_2048);
+	config.specialFlags |= BUFFSIZE_1024;
+
+	setNewAudioSettings();
+}
+
+void rbConfigSbs2048(void)
+{
+	config.specialFlags &= ~(BUFFSIZE_512 + BUFFSIZE_1024);
+	config.specialFlags |= BUFFSIZE_2048;
+
+	setNewAudioSettings();
+}
+
+void rbConfigAudio16bit(void)
+{
+	config.specialFlags &= ~BITDEPTH_24;
+	config.specialFlags |=  BITDEPTH_16;
+
+	setNewAudioSettings();
+}
+
+void rbConfigAudio24bit(void)
+{
+	config.specialFlags &= ~BITDEPTH_16;
+	config.specialFlags |=  BITDEPTH_24;
+
+	config.specialFlags2 &= ~DITHERED_AUDIO; // no dither in "24-bit float" mode
+
+	checkBoxes[CB_CONF_DITHER].checked = false;
+	if (editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+		drawCheckBox(CB_CONF_DITHER);
+
+	setNewAudioSettings();
+}
+
+void rbConfigAudio44kHz(void)
+{
+	config.audioFreq = 44100;
+	setNewAudioSettings();
+}
+
+void rbConfigAudio48kHz(void)
+{
+	config.audioFreq = 48000;
+	setNewAudioSettings();
+}
+
+void rbConfigAudio96kHz(void)
+{
+	config.audioFreq = 96000;
+	setNewAudioSettings();
+}
+
+void rbConfigAudioInput44kHz(void)
+{
+	config.audioInputFreq = INPUT_FREQ_44KHZ;
+	checkRadioButton(RB_CONFIG_AUDIO_INPUT_44KHZ);
+}
+
+void rbConfigAudioInput48kHz(void)
+{
+	config.audioInputFreq = INPUT_FREQ_48KHZ;
+	checkRadioButton(RB_CONFIG_AUDIO_INPUT_48KHZ);
+}
+
+void rbConfigAudioInput96kHz(void)
+{
+	config.audioInputFreq = INPUT_FREQ_96KHZ;
+	checkRadioButton(RB_CONFIG_AUDIO_INPUT_96KHZ);
+}
+
+void rbConfigFreqTableAmiga(void)
+{
+	lockMixerCallback();
+	setFrqTab(false);
+	unlockMixerCallback();
+}
+
+void rbConfigFreqTableLinear(void)
+{
+	lockMixerCallback();
+	setFrqTab(true);
+	unlockMixerCallback();
+}
+
+void cbToggleAutoSaveConfig(void)
+{
+	config.cfg_AutoSave ^= 1;
+}
+
+void cbConfigInterpolation(void)
+{
+	config.interpolation ^= 1;
+	audioSetInterpolation(config.interpolation);
+}
+
+void cbConfigVolRamp(void)
+{
+	config.specialFlags ^= NO_VOLRAMP_FLAG;
+	audioSetVolRamp((config.specialFlags & NO_VOLRAMP_FLAG) ? false : true);
+}
+
+void cbConfigDither(void)
+{
+	if (config.specialFlags & BITDEPTH_24) // no dither in float mode, force off
+	{
+		config.specialFlags2 &= ~DITHERED_AUDIO;
+
+		checkBoxes[CB_CONF_DITHER].checked = false;
+		if (editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+			drawCheckBox(CB_CONF_DITHER);
+	}
+	else
+	{
+		config.specialFlags2 ^= DITHERED_AUDIO;
+		updateSendAudSamplesRoutine(true);
+	}
+}
+
+// CONFIG LAYOUT
+
+static void redrawPatternEditor(void) // called after changing some pattern editor settings in config
+{
+	// if the cursor was on the volume column while we turned volume column off, move it to effect type slot
+	if (!config.ptnS3M && (editor.cursor.object == CURSOR_VOL1 || editor.cursor.object == CURSOR_VOL2))
+		editor.cursor.object = CURSOR_EFX0;
+
+	updateChanNums();
+	editor.ui.updatePatternEditor = true;
+}
+
+void cbConfigPattStretch(void)
+{
+	config.ptnUnpressed ^= 1;
+	redrawPatternEditor();
+}
+
+void cbConfigHexCount(void)
+{
+	config.ptnHex ^= 1;
+	redrawPatternEditor();
+}
+
+void cbConfigAccidential(void)
+{
+	config.ptnAcc ^= 1;
+	showCheckBox(CB_CONF_ACCIDENTAL);
+	redrawPatternEditor();
+}
+
+void cbConfigShowZeroes(void)
+{
+	config.ptnInstrZero ^= 1;
+	redrawPatternEditor();
+}
+
+void cbConfigFramework(void)
+{
+	config.ptnFrmWrk ^= 1;
+	redrawPatternEditor();
+}
+
+void cbConfigLineColors(void)
+{
+	config.ptnLineLight ^= 1;
+	redrawPatternEditor();
+}
+
+void cbConfigChanNums(void)
+{
+	config.ptnChnNumbers ^= 1;
+	redrawPatternEditor();
+}
+
+void cbConfigShowVolCol(void)
+{
+	config.ptnS3M ^= 1;
+	redrawPatternEditor();
+}
+
+void cbHardwareMouse(void)
+{
+	config.specialFlags2 ^= HARDWARE_MOUSE;
+
+	if (config.specialFlags2 & HARDWARE_MOUSE)
+		SDL_ShowCursor(true);
+	else
+		SDL_ShowCursor(false);
+}
+
+void rbConfigMouseNice(void)
+{
+	config.mouseType = MOUSE_IDLE_SHAPE_NICE;
+	checkRadioButton(RB_CONFIG_MOUSE_NICE);
+	setMouseShape(config.mouseType);
+}
+
+void rbConfigMouseUgly(void)
+{
+	config.mouseType = MOUSE_IDLE_SHAPE_UGLY;
+	checkRadioButton(RB_CONFIG_MOUSE_UGLY);
+	setMouseShape(config.mouseType);
+}
+
+void rbConfigMouseAwful(void)
+{
+	config.mouseType = MOUSE_IDLE_SHAPE_AWFUL;
+	checkRadioButton(RB_CONFIG_MOUSE_AWFUL);
+	setMouseShape(config.mouseType);
+}
+
+void rbConfigMouseUsable(void)
+{
+	config.mouseType = MOUSE_IDLE_SHAPE_USABLE;
+	checkRadioButton(RB_CONFIG_MOUSE_USABLE);
+	setMouseShape(config.mouseType);
+}
+
+void rbConfigMouseBusyVogue(void)
+{
+	config.mouseAnimType = MOUSE_BUSY_SHAPE_GLASS;
+	checkRadioButton(RB_CONFIG_MOUSE_BUSY_GLASS);
+	resetMouseBusyAnimation();
+}
+
+void rbConfigMouseBusyMrH(void)
+{
+	config.mouseAnimType = MOUSE_BUSY_SHAPE_CLOCK;
+	checkRadioButton(RB_CONFIG_MOUSE_BUSY_CLOCK);
+	resetMouseBusyAnimation();
+}
+
+void rbConfigScopeStandard(void)
+{
+	config.specialFlags &= ~LINED_SCOPES;
+	checkRadioButton(RB_CONFIG_SCOPE_NORMAL);
+}
+
+void rbConfigScopeLined(void)
+{
+	config.specialFlags |= LINED_SCOPES;
+	checkRadioButton(RB_CONFIG_SCOPE_LINED);
+}
+
+void rbConfigPatt4Chans(void)
+{
+	config.ptnMaxChannels = MAX_CHANS_SHOWN_4;
+	checkRadioButton(RB_CONFIG_MAXCHAN_4);
+	editor.ui.maxVisibleChannels = 2 + (((uint8_t)config.ptnMaxChannels + 1) * 2);
+	redrawPatternEditor();
+}
+
+void rbConfigPatt6Chans(void)
+{
+	config.ptnMaxChannels = MAX_CHANS_SHOWN_6;
+	checkRadioButton(RB_CONFIG_MAXCHAN_6);
+	editor.ui.maxVisibleChannels = 2 + (((uint8_t)config.ptnMaxChannels + 1) * 2);
+	redrawPatternEditor();
+}
+
+void rbConfigPatt8Chans(void)
+{
+	config.ptnMaxChannels = MAX_CHANS_SHOWN_8;
+	checkRadioButton(RB_CONFIG_MAXCHAN_8);
+	editor.ui.maxVisibleChannels = 2 + (((uint8_t)config.ptnMaxChannels + 1) * 2);
+	redrawPatternEditor();
+}
+
+void rbConfigPatt12Chans(void)
+{
+	config.ptnMaxChannels = MAX_CHANS_SHOWN_12;
+	checkRadioButton(RB_CONFIG_MAXCHAN_12);
+	editor.ui.maxVisibleChannels = 2 + (((uint8_t)config.ptnMaxChannels + 1) * 2);
+	redrawPatternEditor();
+}
+
+void rbConfigFontCapitals(void)
+{
+	config.ptnFont = PATT_FONT_CAPITALS;
+	checkRadioButton(RB_CONFIG_FONT_CAPITALS);
+	redrawPatternEditor();
+}
+
+void rbConfigFontLowerCase(void)
+{
+	config.ptnFont = PATT_FONT_LOWERCASE;
+	checkRadioButton(RB_CONFIG_FONT_LOWERCASE);
+	redrawPatternEditor();
+}
+
+void rbConfigFontFuture(void)
+{
+	config.ptnFont = PATT_FONT_FUTURE;
+	checkRadioButton(RB_CONFIG_FONT_FUTURE);
+	redrawPatternEditor();
+}
+
+void rbConfigFontBold(void)
+{
+	config.ptnFont = PATT_FONT_BOLD;
+	checkRadioButton(RB_CONFIG_FONT_BOLD);
+	redrawPatternEditor();
+}
+
+void rbFileSortExt(void)
+{
+	config.cfg_SortPriority = FILESORT_EXT;
+	checkRadioButton(RB_CONFIG_FILESORT_EXT);
+	editor.diskOpReadOnOpen = true;
+}
+
+void rbFileSortName(void)
+{
+	config.cfg_SortPriority = FILESORT_NAME;
+	checkRadioButton(RB_CONFIG_FILESORT_NAME);
+	editor.diskOpReadOnOpen = true;
+}
+
+void rbWinSizeAuto(void)
+{
+	if (video.fullscreen)
+	{
+		okBox(0, "System message", "You can't change the window size while in fullscreen mode!");
+		return;
+	}
+
+	config.windowFlags &= ~(WINSIZE_1X + WINSIZE_2X + WINSIZE_3X + WINSIZE_4X);
+	config.windowFlags |= WINSIZE_AUTO;
+	setWindowSizeFromConfig(true);
+	checkRadioButton(RB_CONFIG_WIN_SIZE_AUTO);
+}
+
+void rbWinSize1x(void)
+{
+	if (video.fullscreen)
+	{
+		okBox(0, "System message", "You can't change the window size while in fullscreen mode!");
+		return;
+	}
+
+	config.windowFlags &= ~(WINSIZE_AUTO + WINSIZE_2X + WINSIZE_3X + WINSIZE_4X);
+	config.windowFlags |= WINSIZE_1X;
+	setWindowSizeFromConfig(true);
+	checkRadioButton(RB_CONFIG_WIN_SIZE_1X);
+}
+
+void rbWinSize2x(void)
+{
+	if (video.fullscreen)
+	{
+		okBox(0, "System message", "You can't change the window size while in fullscreen mode!");
+		return;
+	}
+
+	config.windowFlags &= ~(WINSIZE_AUTO + WINSIZE_1X + WINSIZE_3X + WINSIZE_4X);
+	config.windowFlags |= WINSIZE_2X;
+	setWindowSizeFromConfig(true);
+	checkRadioButton(RB_CONFIG_WIN_SIZE_2X);
+}
+
+void rbWinSize3x(void)
+{
+	if (video.fullscreen)
+	{
+		okBox(0, "System message", "You can't change the window size while in fullscreen mode!");
+		return;
+	}
+
+	config.windowFlags &= ~(WINSIZE_AUTO + WINSIZE_1X + WINSIZE_2X + WINSIZE_4X);
+	config.windowFlags |= WINSIZE_3X;
+	setWindowSizeFromConfig(true);
+	checkRadioButton(RB_CONFIG_WIN_SIZE_3X);
+}
+
+void rbWinSize4x(void)
+{
+	if (video.fullscreen)
+	{
+		okBox(0, "System message", "You can't change the window size while in fullscreen mode!");
+		return;
+	}
+
+	config.windowFlags &= ~(WINSIZE_AUTO + WINSIZE_1X + WINSIZE_2X + WINSIZE_3X);
+	config.windowFlags |= WINSIZE_4X;
+	setWindowSizeFromConfig(true);
+	checkRadioButton(RB_CONFIG_WIN_SIZE_4X);
+}
+
+void cbSampCutToBuff(void)
+{
+	config.smpCutToBuffer ^= 1;
+}
+
+void cbPattCutToBuff(void)
+{
+	config.ptnCutToBuffer ^= 1;
+}
+
+void cbKillNotesAtStop(void)
+{
+	config.killNotesOnStopPlay ^= 1;
+}
+
+void cbFileOverwriteWarn(void)
+{
+	config.cfg_OverwriteWarning ^= 1;
+}
+
+void cbMultiChanRec(void)
+{
+	config.multiRec ^= 1;
+}
+
+void cbMultiChanKeyJazz(void)
+{
+	config.multiKeyJazz ^= 1;
+}
+
+void cbMultiChanEdit(void)
+{
+	config.multiEdit ^= 1;
+}
+
+void cbRecKeyOff(void)
+{
+	config.recRelease ^= 1;
+}
+
+void cbQuantization(void)
+{
+	config.recQuant ^= 1;
+}
+
+void cbChangePattLenInsDel(void)
+{
+	config.recTrueInsert ^= 1;
+}
+
+void cbMIDIAllowPC(void)
+{
+	config.recMIDIAllowPC ^= 1;
+}
+
+void cbMIDIEnable(void)
+{
+	midi.enable ^= 1;
+}
+
+void cbMIDIRecTransp(void)
+{
+	config.recMIDITransp ^= 1;
+}
+
+void cbMIDIRecAllChn(void)
+{
+	config.recMIDIAllChn ^= 1;
+}
+
+void cbMIDIRecVelocity(void)
+{
+	config.recMIDIVelocity ^= 1;
+}
+
+void cbMIDIRecAftert(void)
+{
+	config.recMIDIAftert ^= 1;
+}
+
+void cbVsyncOff(void)
+{
+	config.windowFlags ^= FORCE_VSYNC_OFF;
+
+	if (!(config.dontShowAgainFlags & DONT_SHOW_NOT_YET_APPLIED_WARNING_FLAG))
+		okBox(7, "System message", "This setting is not applied until you close and reopen the program.");
+}
+
+void cbFullScreen(void)
+{
+	config.windowFlags ^= START_IN_FULLSCR;
+
+	if (!(config.dontShowAgainFlags & DONT_SHOW_NOT_YET_APPLIED_WARNING_FLAG))
+		okBox(7, "System message", "This setting is not applied until you close and reopen the program.");
+}
+
+void cbPixelFilter(void)
+{
+	config.windowFlags ^= FILTERING;
+	recreateTexture();
+
+	if (video.fullscreen)
+	{
+		leaveFullScreen();
+		enterFullscreen();
+	}
+}
+
+void configQuantizeUp(void)
+{
+	if (config.recQuantRes <= 8)
+	{
+		config.recQuantRes *= 2;
+		drawQuantValue();
+	}
+}
+
+void configQuantizeDown(void)
+{
+	if (config.recQuantRes > 1)
+	{
+		config.recQuantRes /= 2;
+		drawQuantValue();
+	}
+}
+
+void configMIDIChnUp(void)
+{
+	config.recMIDIChn++;
+	config.recMIDIChn = ((config.recMIDIChn - 1) & 15) + 1;
+
+	drawMIDIChanValue();
+}
+
+void configMIDIChnDown(void)
+{
+	config.recMIDIChn--;
+	config.recMIDIChn = (((uint16_t)(config.recMIDIChn - 1)) & 15) + 1;
+
+	drawMIDIChanValue();
+}
+
+void configMIDITransUp(void)
+{
+	if (config.recMIDITranspVal < 72)
+	{
+		config.recMIDITranspVal++;
+		drawMIDITransp();
+	}
+}
+
+void configMIDITransDown(void)
+{
+	if (config.recMIDITranspVal > -72)
+	{
+		config.recMIDITranspVal--;
+		drawMIDITransp();
+	}
+}
+
+void configMIDISensDown(void)
+{
+	scrollBarScrollLeft(SB_MIDI_SENS, 1);
+}
+
+void configMIDISensUp(void)
+{
+	scrollBarScrollRight(SB_MIDI_SENS, 1);
+}
+
+void sbMIDISens(uint32_t pos)
+{
+	if (config.recMIDIVolSens != (int16_t)pos)
+	{
+		config.recMIDIVolSens = (int16_t)pos;
+		drawMIDISens();
+	}
+}
+
+void sbAmp(uint32_t pos)
+{
+	if (config.boostLevel != (int8_t)pos + 1)
+	{
+		config.boostLevel = (int8_t)pos + 1;
+		setAudioAmp(config.boostLevel, config.masterVol, config.specialFlags & BITDEPTH_24);
+		configDrawAmp();
+		updateWavRendererSettings();
+	}
+}
+
+void configAmpDown(void)
+{
+	scrollBarScrollLeft(SB_AMP_SCROLL, 1);
+}
+
+void configAmpUp(void)
+{
+	scrollBarScrollRight(SB_AMP_SCROLL, 1);
+}
+
+void sbMasterVol(uint32_t pos)
+{
+	if (config.masterVol != (int16_t)pos)
+	{
+		config.masterVol = (int16_t)pos;
+		setAudioAmp(config.boostLevel, config.masterVol, config.specialFlags & BITDEPTH_24);
+	}
+}
+
+void configMasterVolDown(void)
+{
+	scrollBarScrollLeft(SB_MASTERVOL_SCROLL, 1);
+}
+
+void configMasterVolUp(void)
+{
+	scrollBarScrollRight(SB_MASTERVOL_SCROLL, 1);
+}
+
+// default FT2 clone FT2.CFG (unencrypted)
+const uint8_t defConfigData[CONFIG_FILE_SIZE] =
+{
+	0x46,0x61,0x73,0x74,0x54,0x72,0x61,0x63,0x6B,0x65,0x72,0x20,0x32,0x2E,0x30,0x20,0x63,0x6F,0x6E,0x66,
+	0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x1A,0x01,0x01,0x80,0xBB,0x00,
+	0x00,0xFF,0x00,0x00,0x01,0xDC,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0xFF,0x00,0x20,0x02,0x01,0x00,
+	0x05,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,0x04,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x24,0x2F,0x3F,0x09,0x09,0x10,0x3F,0x3F,0x3F,0x13,0x18,0x26,0x3F,0x3F,0x3F,0x27,0x27,
+	0x27,0x00,0x00,0x00,0x08,0x0A,0x0F,0x20,0x29,0x3F,0x0F,0x0F,0x0F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,
+	0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x01,0x0A,0x10,0x0A,0xE0,0x08,0xC0,0x08,0x40,0x08,0x20,0x08,
+	0xF1,0x04,0xF2,0x04,0x81,0x04,0x82,0x04,0x20,0x30,0x40,0x50,0x61,0x62,0x71,0x72,0x91,0x92,0xF8,0x03,
+	0x2D,0x88,0x18,0x00,0x66,0x88,0x18,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x01,0x01,0x10,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x64,0x00,0x01,0x01,
+	0x01,0x01,0x12,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0x00,0x01,0x60,0x00,0x05,0x56,0x6F,0x67,
+	0x75,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x02,0x16,0x05,0x4D,0x72,0x2E,0x20,0x48,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x17,0x04,0x4C,0x6F,0x6F,0x74,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x07,
+	0x0A,0x4C,0x69,0x7A,0x61,0x72,0x64,0x6B,0x69,0x6E,0x67,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x06,0x03,0x41,0x6C,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x05,0x03,0x55,0x62,0x65,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x04,0x00,0x04,0x06,0x4E,0x69,0x6B,0x6C,0x61,0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x03,0x05,0x4A,0x65,0x6E,0x73,0x61,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,
+	0x05,0x54,0x6F,0x62,0x62,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x01,0x08,0x4B,0x61,0x72,0x6F,0x6C,0x69,0x6E,0x61,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x02,0x00,
+	0x00,0x00,0x00,0x99,0xE2,0x27,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x0A,0x00,0x00,0x00,0x30,
+	0x00,0x04,0x00,0x40,0x00,0x08,0x00,0x2C,0x00,0x0E,0x00,0x08,0x00,0x18,0x00,0x16,0x00,0x20,0x00,0x08,
+	0x00,0x3C,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x5A,0x00,0x00,0x00,0x64,0x00,0x00,
+	0x00,0x6E,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x0A,0x00,0x28,0x00,0x1E,0x00,0x18,0x00,0x32,0x00,0x20,
+	0x00,0x3C,0x00,0x20,0x00,0x46,0x00,0x20,0x00,0x50,0x00,0x20,0x00,0x5A,0x00,0x20,0x00,0x64,0x00,0x20,
+	0x00,0x6E,0x00,0x20,0x00,0x78,0x00,0x20,0x00,0x82,0x00,0x20,0x00,0x00,0x00,0x30,0x00,0x04,0x00,0x40,
+	0x00,0x08,0x00,0x2C,0x00,0x0E,0x00,0x08,0x00,0x18,0x00,0x16,0x00,0x20,0x00,0x08,0x00,0x3C,0x00,0x00,
+	0x00,0x46,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x5A,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x6E,0x00,0x00,
+	0x00,0x00,0x00,0x20,0x00,0x0A,0x00,0x28,0x00,0x1E,0x00,0x18,0x00,0x32,0x00,0x20,0x00,0x3C,0x00,0x20,
+	0x00,0x46,0x00,0x20,0x00,0x50,0x00,0x20,0x00,0x5A,0x00,0x20,0x00,0x64,0x00,0x20,0x00,0x6E,0x00,0x20,
+	0x00,0x78,0x00,0x20,0x00,0x82,0x00,0x20,0x00,0x00,0x00,0x30,0x00,0x04,0x00,0x40,0x00,0x08,0x00,0x2C,
+	0x00,0x0E,0x00,0x08,0x00,0x18,0x00,0x16,0x00,0x20,0x00,0x08,0x00,0x3C,0x00,0x00,0x00,0x46,0x00,0x00,
+	0x00,0x50,0x00,0x00,0x00,0x5A,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x6E,0x00,0x00,0x00,0x00,0x00,0x20,
+	0x00,0x0A,0x00,0x28,0x00,0x1E,0x00,0x18,0x00,0x32,0x00,0x20,0x00,0x3C,0x00,0x20,0x00,0x46,0x00,0x20,
+	0x00,0x50,0x00,0x20,0x00,0x5A,0x00,0x20,0x00,0x64,0x00,0x20,0x00,0x6E,0x00,0x20,0x00,0x78,0x00,0x20,
+	0x00,0x82,0x00,0x20,0x00,0x00,0x00,0x30,0x00,0x04,0x00,0x40,0x00,0x08,0x00,0x2C,0x00,0x0E,0x00,0x08,
+	0x00,0x18,0x00,0x16,0x00,0x20,0x00,0x08,0x00,0x3C,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x50,0x00,0x00,
+	0x00,0x5A,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x6E,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x0A,0x00,0x28,
+	0x00,0x1E,0x00,0x18,0x00,0x32,0x00,0x20,0x00,0x3C,0x00,0x20,0x00,0x46,0x00,0x20,0x00,0x50,0x00,0x20,
+	0x00,0x5A,0x00,0x20,0x00,0x64,0x00,0x20,0x00,0x6E,0x00,0x20,0x00,0x78,0x00,0x20,0x00,0x82,0x00,0x20,
+	0x00,0x00,0x00,0x30,0x00,0x04,0x00,0x40,0x00,0x08,0x00,0x2C,0x00,0x0E,0x00,0x08,0x00,0x18,0x00,0x16,
+	0x00,0x20,0x00,0x08,0x00,0x3C,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x5A,0x00,0x00,
+	0x00,0x64,0x00,0x00,0x00,0x6E,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x0A,0x00,0x28,0x00,0x1E,0x00,0x18,
+	0x00,0x32,0x00,0x20,0x00,0x3C,0x00,0x20,0x00,0x46,0x00,0x20,0x00,0x50,0x00,0x20,0x00,0x5A,0x00,0x20,
+	0x00,0x64,0x00,0x20,0x00,0x6E,0x00,0x20,0x00,0x78,0x00,0x20,0x00,0x82,0x00,0x20,0x00,0x00,0x00,0x30,
+	0x00,0x04,0x00,0x40,0x00,0x08,0x00,0x2C,0x00,0x0E,0x00,0x08,0x00,0x18,0x00,0x16,0x00,0x20,0x00,0x08,
+	0x00,0x3C,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x5A,0x00,0x00,0x00,0x64,0x00,0x00,
+	0x00,0x6E,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x0A,0x00,0x28,0x00,0x1E,0x00,0x18,0x00,0x32,0x00,0x20,
+	0x00,0x3C,0x00,0x20,0x00,0x46,0x00,0x20,0x00,0x50,0x00,0x20,0x00,0x5A,0x00,0x20,0x00,0x64,0x00,0x20,
+	0x00,0x6E,0x00,0x20,0x00,0x78,0x00,0x20,0x00,0x82,0x00,0x20,0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x06,
+	0x00,0x06,0x00,0x06,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x03,0x00,0x03,
+	0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,
+	0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,
+	0x00,0x02,0x00,0x02,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x03,0x00,0x05,0x00,0x05,
+	0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,
+	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC8,0x00,0x03,0x00,0x40,0x1F,0x40,
+	0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,
+	0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x40,0x1F,0x01,0x00,0x00,0x08,0x00,0x00,0x00
+};
--- /dev/null
+++ b/src/ft2_config.h
@@ -1,0 +1,274 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_replayer.h"
+#include "ft2_palette.h"
+
+#define CFG_ID_STR "FastTracker 2.0 configuration file\x1A"
+#define CONFIG_FILE_SIZE 1736
+
+enum
+{
+	CONFIG_SCREEN_IO_DEVICES,
+	CONFIG_SCREEN_LAYOUT,
+	CONFIG_SCREEN_MISCELLANEOUS,
+	CONFIG_SCREEN_MIDI_INPUT,
+
+	CONFIG_HIDE_ERRORS = 0,
+	CONFIG_SHOW_ERRORS = 1,
+
+	MOUSE_IDLE_SHAPE_NICE = 0,
+	MOUSE_IDLE_SHAPE_UGLY = 1,
+	MOUSE_IDLE_SHAPE_AWFUL = 2,
+	MOUSE_IDLE_SHAPE_USABLE = 3,
+	MOUSE_IDLE_TEXT_EDIT = 4,
+
+	MOUSE_BUSY_SHAPE_CLOCK = 0,
+	MOUSE_BUSY_SHAPE_GLASS = 2,
+
+	MAX_CHANS_SHOWN_4 = 0,
+	MAX_CHANS_SHOWN_6 = 1,
+	MAX_CHANS_SHOWN_8 = 2,
+	MAX_CHANS_SHOWN_12 = 3,
+
+	PATT_FONT_CAPITALS = 0,
+	PATT_FONT_LOWERCASE = 1,
+	PATT_FONT_FUTURE = 2,
+	PATT_FONT_BOLD = 3,
+
+	PAL_ARCTIC = 0,
+	PAL_AURORA_BOREALIS = 1,
+	PAL_BLUES = 2,
+	PAL_GOLD = 3,
+	PAL_HEAVY_METAL = 4,
+	PAL_JUNGLE = 5,
+	PAL_LITHE_DARK = 6,
+	PAL_ROSE = 7,
+	PAL_SPACE_PIGS = 8,
+	PAL_VIOLENT = 9,
+	PAL_WHY_COLORS = 10, // default
+	PAL_USER_DEFINED = 11,
+
+	FILESORT_EXT = 0,
+	FILESORT_NAME = 1,
+
+	ONE_PLAYER = 0,
+	TWO_PLAYERS = 1,
+
+	DIFFICULTY_NOVICE = 0,
+	DIFFICULTY_AVERAGE = 1,
+	DIFFICULTY_PRO = 2,
+	DIFFICULTY_MANIAC = 3,
+
+	DONT_SHOW_S3M_LOAD_WARNING_FLAG = 64,
+	DONT_SHOW_NOT_YET_APPLIED_WARNING_FLAG = 32,
+
+	// specialFlags
+	NO_VOLRAMP_FLAG = 1,
+	BITDEPTH_16 = 2,
+	BITDEPTH_24 = 4,
+	BUFFSIZE_512 = 8,
+	BUFFSIZE_1024 = 16,
+	BUFFSIZE_2048 = 32,
+	LINED_SCOPES = 128,
+
+	// specialFlags2
+	DITHERED_AUDIO = 1,
+	HARDWARE_MOUSE = 2,
+
+	// windowFlags
+	WINSIZE_AUTO = 1,
+	WINSIZE_1X = 2,
+	WINSIZE_2X = 4,
+	WINSIZE_3X = 8,
+	WINSIZE_4X = 16,
+	FILTERING = 32,
+	FORCE_VSYNC_OFF = 64,
+	START_IN_FULLSCR = 128,
+};
+
+#ifdef _MSC_VER
+#pragma pack(push)
+#pragma pack(1)
+#endif
+typedef struct highScoreType_t
+{
+	uint8_t nameLen;
+	char name[22];
+	int32_t score;
+	uint8_t level;
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+highScoreType;
+
+typedef struct config_t // exact FT2.CFG layout (with some modifications)
+{
+	char cfgID[35];
+	uint16_t ver;
+	uint32_t audioFreq; // was "BIOSSum" (never used in FT2)
+	int16_t utEnhet, masterVol, inputVol, inputDev;
+	uint8_t interpolation, internMode, stereoMode;
+	uint8_t specialFlags2; // was lo-byte of "sample16Bit" (was used for external audio sampling)
+	uint8_t dontShowAgainFlags; // was hi-byte of "sample16Bit" (was used for external audio sampling)
+	int16_t inEnhet, sbPort, sbDMA, sbHiDMA, sbInt, sbOutFilter;
+	uint8_t true16Bit, ptnUnpressed, ptnHex, ptnInstrZero, ptnFrmWrk, ptnLineLight, ptnS3M, ptnChnNumbers;
+	int16_t ptnLineLightStep, ptnFont, ptnAcc;
+	pal16 userPal[16];
+	uint16_t comMacro[10], volMacro[10];
+	uint8_t multiRec, multiKeyJazz, multiEdit, multiRecChn[32], recRelease, recQuant;
+	int16_t recQuantRes;
+	uint8_t recTrueInsert;
+	int16_t recMIDIChn;
+	uint8_t recMIDIAllChn, recMIDITransp;
+	int16_t recMIDITranspVal;
+	uint8_t recMIDIVelocity, recMIDIAftert;
+	int16_t recMIDIVolSens;
+	uint8_t recMIDIAllowPC, smpCutToBuffer, ptnCutToBuffer, killNotesOnStopPlay;
+	uint8_t specialFlags; // was lo-byte of "ptnDefaultLen" (never used in FT2)
+	uint8_t windowFlags; // was hi-byte of "ptnDefaultLen" (never used in FT2)
+	uint8_t modulesPathLen;
+	char modulesPath[79+1];
+	uint8_t instrPathLen;
+	char instrPath[79+1];
+	uint8_t samplesPathLen;
+	char samplesPath[79+1];
+	uint8_t patternsPathLen;
+	char patternsPath[79+1];
+	uint8_t tracksPathLen;
+	char tracksPath[79+1];
+	uint8_t id_FastLogo, id_TritonProd;
+	int16_t cfg_StdPalNr;
+	uint8_t cfg_AutoSave;
+	int16_t smpEd_SampleNote;
+	highScoreType NI_HighScore[10];
+	int16_t NI_AntPlayers, NI_Speed;
+	uint8_t NI_Surround, NI_Grid, NI_Wrap;
+	int32_t NI_HighScoreChecksum;
+	int16_t mouseType, mouseAnimType, mouseSpeed, keyLayout, boostLevel, stdEnvP[6][2][12][2];
+	uint16_t stdVolEnvAnt[6], stdVolEnvSust[6], stdVolEnvRepS[6], stdVolEnvRepE[6];
+	uint16_t stdPanEnvAnt[6], stdPanEnvSust[6], stdPanEnvRepS[6], stdPanEnvRepE[6];
+	uint16_t stdFadeOut[6], stdVibRate[6], stdVibDepth[6], stdVibSweep[6], stdVibTyp[6];
+	uint16_t stdVolEnvTyp[6], stdPanEnvTyp[6];
+	int16_t antStars, ptnMaxChannels;
+	uint16_t sampleRates[16];
+	uint8_t cfg_OverwriteWarning;
+	int16_t cfg_SortPriority, cfg_DPMIMemLimit;
+	uint8_t cfg_DPMIMemLimitEnabled;
+	uint8_t audioInputFreq; // was "cdr_Sync"
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+config_t;
+
+#ifdef _MSC_VER
+#pragma pack(pop)
+#endif
+
+void resetConfig(void);
+bool loadConfig(bool showErrorFlag);
+void loadConfig2(void); // called by "Load config" button
+bool saveConfig(bool showErrorFlag);
+void saveConfig2(void); // called by "Save config" button
+void loadConfigOrSetDefaults(void);
+void showConfigScreen(void);
+void hideConfigScreen(void);
+void exitConfigScreen(void);
+void setConfigIORadioButtonStates(void);
+void configToggleS3MLoadWarning(void);
+void configToggleNotYetAppliedWarning(void);
+void drawAudioOutputList(void);
+void drawAudioInputList(void);
+void configAmpDown(void);
+void configAmpUp(void);
+void configMasterVolDown(void);
+void configMasterVolUp(void);
+void configQuantizeUp(void);
+void configQuantizeDown(void);
+void configMIDIChnUp(void);
+void configMIDIChnDown(void);
+void configMIDITransUp(void);
+void configMIDITransDown(void);
+void configMIDISensDown(void);
+void configMIDISensUp(void);
+void rbConfigIODevices(void);
+void rbConfigLayout(void);
+void rbConfigMiscellaneous(void);
+void rbConfigMidiInput(void);
+void rbConfigSbs512(void);
+void rbConfigSbs1024(void);
+void rbConfigSbs2048(void);
+void rbConfigAudio16bit(void);
+void rbConfigAudio24bit(void);
+void rbConfigAudio44kHz(void);
+void rbConfigAudio48kHz(void);
+void rbConfigAudio96kHz(void);
+void rbConfigAudioInput44kHz(void);
+void rbConfigAudioInput48kHz(void);
+void rbConfigAudioInput96kHz(void);
+void rbConfigFreqTableAmiga(void);
+void rbConfigFreqTableLinear(void);
+void rbConfigMouseNice(void);
+void rbConfigMouseUgly(void);
+void rbConfigMouseAwful(void);
+void rbConfigMouseUsable(void);
+void rbConfigScopeStandard(void);
+void rbConfigMouseBusyVogue(void);
+void rbConfigMouseBusyMrH(void);
+void rbConfigScopeLined(void);
+void rbConfigPatt4Chans(void);
+void rbConfigPatt6Chans(void);
+void rbConfigPatt8Chans(void);
+void rbConfigPatt12Chans(void);
+void rbConfigFontCapitals(void);
+void rbConfigFontLowerCase(void);
+void rbConfigFontFuture(void);
+void rbConfigFontBold(void);
+void rbFileSortExt(void);
+void rbFileSortName(void);
+void rbWinSizeAuto(void);
+void rbWinSize1x(void);
+void rbWinSize2x(void);
+void rbWinSize3x(void);
+void rbWinSize4x(void);
+void cbToggleAutoSaveConfig(void);
+void cbConfigInterpolation(void);
+void cbConfigVolRamp(void);
+void cbConfigDither(void);
+void cbConfigPattStretch(void);
+void cbConfigHexCount(void);
+void cbConfigAccidential(void);
+void cbConfigShowZeroes(void);
+void cbConfigFramework(void);
+void cbConfigLineColors(void);
+void cbConfigChanNums(void);
+void cbConfigShowVolCol(void);
+void cbHardwareMouse(void);
+void cbSampCutToBuff(void);
+void cbPattCutToBuff(void);
+void cbKillNotesAtStop(void);
+void cbFileOverwriteWarn(void);
+void cbMultiChanRec(void);
+void cbMultiChanKeyJazz(void);
+void cbMultiChanEdit(void);
+void cbRecKeyOff(void);
+void cbQuantization(void);
+void cbChangePattLenInsDel(void);
+void cbMIDIAllowPC(void);
+void cbMIDIEnable(void);
+void cbMIDIRecTransp(void);
+void cbMIDIRecAllChn(void);
+void cbMIDIRecVelocity(void);
+void cbMIDIRecAftert(void);
+void cbVsyncOff(void);
+void cbFullScreen(void);
+void cbPixelFilter(void);
+void sbAmp(uint32_t pos);
+void sbMasterVol(uint32_t pos);
+void sbMIDISens(uint32_t pos);
+
+extern config_t config;
+extern config_t *defConfig;
--- /dev/null
+++ b/src/ft2_diskop.c
@@ -1,0 +1,2461 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#define _FILE_OFFSET_BITS 64
+
+#include <stdint.h>
+#include <stdio.h>
+#include <math.h>
+#ifdef _WIN32
+#define WIN32_MEAN_AND_LEAN
+#include <shlwapi.h>
+#include <windows.h>
+#include <direct.h>
+#include <shlobj.h> // SHGetFolderPathW()
+#else
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fts.h> // for fts_open() and stuff in recursiveDelete()
+#include <unistd.h>
+#include <dirent.h>
+#endif
+#include <wchar.h>
+#include <sys/stat.h>
+#include "ft2_header.h"
+#include "ft2_unicode.h"
+#include "ft2_config.h"
+#include "ft2_mouse.h"
+#include "ft2_gui.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_sample_loader.h"
+#include "ft2_sample_saver.h"
+#include "ft2_diskop.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_module_loader.h"
+#include "ft2_module_saver.h"
+#include "ft2_events.h"
+#include "ft2_video.h"
+#include "ft2_inst_ed.h"
+
+// hide POSIX warnings
+#ifdef _MSC_VER
+#pragma warning(disable: 4996)
+#endif
+
+#define FILENAME_TEXT_X 170
+#define FILESIZE_TEXT_X 295
+#define DISKOP_MAX_DRIVE_BUTTONS 8
+
+#ifdef _WIN32
+#define PARENT_DIR_STR L".."
+static HANDLE hFind;
+#else
+#define PARENT_DIR_STR ".."
+static DIR *hFind;
+#endif
+
+// "look for file" flags
+enum
+{
+	LFF_DONE = 0,
+	LFF_SKIP = 1,
+	LFF_OK = 2
+};
+
+typedef struct DirRec
+{
+	UNICHAR *nameU;
+	bool isDir;
+	int32_t filesize;
+} DirRec;
+
+static char FReq_SysReqText[196], *FReq_FileName, *FReq_NameTemp;
+static char *modTmpFName, *insTmpFName, *smpTmpFName, *patTmpFName, *trkTmpFName;
+static char *modTmpFNameUTF8; // for window title
+static uint8_t FReq_Item;
+static bool FReq_ShowAllFiles;
+static int32_t FReq_EntrySelected = -1, FReq_FileCount, FReq_DirPos, lastMouseY;
+static UNICHAR *FReq_CurPathU, *FReq_ModCurPathU, *FReq_InsCurPathU, *FReq_SmpCurPathU, *FReq_PatCurPathU, *FReq_TrkCurPathU;
+static DirRec *FReq_Buffer;
+static SDL_Thread *thread;
+
+static void setDiskOpItem(uint8_t item);
+
+int32_t getFileSize(UNICHAR *fileName) // returning -1 = filesize over 2GB
+{
+#ifdef _WIN32
+	FILE *f;
+#else
+	struct stat st;
+#endif
+	int64_t fSize;
+
+#ifdef _WIN32
+	f = UNICHAR_FOPEN(fileName, "rb");
+	if (f == NULL)
+		return 0;
+
+	_fseeki64(f, 0, SEEK_END);
+	fSize = _ftelli64(f);
+	fclose(f);
+#else
+	if (stat(fileName, &st) != 0)
+		return 0;
+
+	fSize = (int64_t)(st.st_size);
+#endif
+	if (fSize < 0)
+		fSize = 0;
+
+	if (fSize > INT32_MAX)
+		return -1;
+	
+	return fSize & 0xFFFFFFFF;
+}
+
+uint8_t getDiskOpItem(void)
+{
+	return FReq_Item;
+}
+
+char *getCurrSongFilename(void) // for window title
+{
+	return modTmpFNameUTF8;
+}
+
+void updateCurrSongFilename(void) // for window title
+{
+	if (modTmpFNameUTF8 != NULL)
+	{
+		free(modTmpFNameUTF8);
+		modTmpFNameUTF8 = NULL;
+	}
+
+	if (modTmpFName == NULL)
+		return;
+
+	modTmpFNameUTF8 = cp437ToUtf8(modTmpFName);
+}
+
+// drive buttons for Windows
+#ifdef _WIN32
+static char logicalDriveNames[26][3] = 
+{
+	"A:", "B:", "C:", "D:", "E:", "F:", "G:", "H:", "I:", "J:", "K:", "L:", "M:",
+	"N:", "O:", "P:", "Q:", "R:", "S:", "T:", "U:", "V:", "W:", "X:", "Y:", "Z:"
+};
+static uint32_t numLogicalDrives;
+static uint32_t driveIndexes[DISKOP_MAX_DRIVE_BUTTONS];
+#endif
+
+char *getDiskOpFilename(void)
+{
+	return FReq_FileName;
+}
+
+const UNICHAR *getDiskOpCurPath(void)
+{
+	return FReq_CurPathU;
+}
+
+const UNICHAR *getDiskOpModPath(void)
+{
+	return FReq_ModCurPathU;
+}
+
+const UNICHAR *getDiskOpSmpPath(void)
+{
+	return FReq_SmpCurPathU;
+}
+
+static void setupInitialPaths(void)
+{
+#ifdef _WIN32
+	UNICHAR pathU[PATH_MAX + 2];
+#endif
+
+	// the UNICHAR paths are already zeroed out
+
+#ifdef _WIN32
+	if (config.modulesPath[0]  != '\0') MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, config.modulesPath, -1, FReq_ModCurPathU, 80);
+	if (config.instrPath[0]    != '\0') MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, config.instrPath, -1, FReq_InsCurPathU, 80);
+	if (config.samplesPath[0]  != '\0') MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, config.samplesPath, -1, FReq_SmpCurPathU, 80);
+	if (config.patternsPath[0] != '\0') MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, config.patternsPath, -1, FReq_PatCurPathU, 80);
+	if (config.tracksPath[0]   != '\0') MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, config.tracksPath, -1, FReq_TrkCurPathU, 80);
+#else
+	if (config.modulesPath[0]  != '\0') strncpy(FReq_ModCurPathU, config.modulesPath, 80);
+	if (config.instrPath[0]    != '\0') strncpy(FReq_InsCurPathU, config.instrPath, 80);
+	if (config.samplesPath[0]  != '\0') strncpy(FReq_SmpCurPathU, config.samplesPath, 80);
+	if (config.patternsPath[0] != '\0') strncpy(FReq_PatCurPathU, config.patternsPath, 80);
+	if (config.tracksPath[0]   != '\0') strncpy(FReq_TrkCurPathU, config.tracksPath, 80);
+#endif
+
+	// set initial path to user directory
+#ifdef _WIN32
+	if (SHGetFolderPathW(NULL, CSIDL_PROFILE, NULL, 0, pathU) >= 0)
+		UNICHAR_CHDIR(pathU);
+#else
+	UNICHAR_CHDIR(getenv("HOME"));
+#endif
+
+	// if present in config, set custom "modules" path
+	if (UNICHAR_CHDIR(FReq_ModCurPathU) != 0)
+		UNICHAR_GETCWD(FReq_ModCurPathU, PATH_MAX);
+
+	if (UNICHAR_CHDIR(FReq_InsCurPathU) != 0) UNICHAR_STRCPY(FReq_InsCurPathU, FReq_ModCurPathU);
+	if (UNICHAR_CHDIR(FReq_SmpCurPathU) != 0) UNICHAR_STRCPY(FReq_SmpCurPathU, FReq_ModCurPathU);
+	if (UNICHAR_CHDIR(FReq_PatCurPathU) != 0) UNICHAR_STRCPY(FReq_PatCurPathU, FReq_ModCurPathU);
+	if (UNICHAR_CHDIR(FReq_TrkCurPathU) != 0) UNICHAR_STRCPY(FReq_TrkCurPathU, FReq_ModCurPathU);
+
+	UNICHAR_CHDIR(FReq_ModCurPathU); // set back after testing
+}
+
+static void freeDirRecBuffer(void)
+{
+	if (FReq_Buffer != NULL)
+	{
+		for (int32_t i = 0; i < FReq_FileCount; i++)
+		{
+			if (FReq_Buffer[i].nameU != NULL)
+				free(FReq_Buffer[i].nameU);
+		}
+
+		free(FReq_Buffer);
+		FReq_Buffer = NULL;
+	}
+
+	FReq_FileCount = 0;
+}
+
+void freeDiskOp(void)
+{
+	if (editor.tmpFilenameU != NULL)
+	{
+		free(editor.tmpFilenameU);
+		editor.tmpFilenameU = NULL;
+	}
+
+	if (editor.tmpInstrFilenameU != NULL)
+	{
+		free(editor.tmpInstrFilenameU);
+		editor.tmpInstrFilenameU = NULL;
+	}
+
+	if (modTmpFName != NULL) { free(modTmpFName); modTmpFName = NULL; }
+	if (insTmpFName != NULL) { free(insTmpFName); insTmpFName = NULL; }
+	if (smpTmpFName != NULL) { free(smpTmpFName); smpTmpFName = NULL; }
+	if (patTmpFName != NULL) { free(patTmpFName); patTmpFName = NULL; }
+	if (trkTmpFName != NULL) { free(trkTmpFName); trkTmpFName = NULL; }
+	if (FReq_NameTemp != NULL) { free(FReq_NameTemp); FReq_NameTemp = NULL; }
+	if (FReq_ModCurPathU != NULL) { free(FReq_ModCurPathU); FReq_ModCurPathU = NULL; }
+	if (FReq_InsCurPathU != NULL) { free(FReq_InsCurPathU); FReq_InsCurPathU = NULL; }
+	if (FReq_SmpCurPathU != NULL) { free(FReq_SmpCurPathU); FReq_SmpCurPathU = NULL; }
+	if (FReq_PatCurPathU != NULL) { free(FReq_PatCurPathU); FReq_PatCurPathU = NULL; }
+	if (FReq_TrkCurPathU != NULL) { free(FReq_TrkCurPathU); FReq_TrkCurPathU = NULL; }
+	if (modTmpFNameUTF8 != NULL) { free(modTmpFNameUTF8); modTmpFNameUTF8 = NULL; }
+
+	freeDirRecBuffer();
+}
+
+bool setupDiskOp(void)
+{
+	modTmpFName = (char *)calloc(PATH_MAX + 1, sizeof (char));
+	insTmpFName = (char *)calloc(PATH_MAX + 1, sizeof (char));
+	smpTmpFName = (char *)calloc(PATH_MAX + 1, sizeof (char));
+	patTmpFName = (char *)calloc(PATH_MAX + 1, sizeof (char));
+	trkTmpFName = (char *)calloc(PATH_MAX + 1, sizeof (char));
+	FReq_NameTemp = (char *)calloc(PATH_MAX + 1, sizeof (char));
+	FReq_ModCurPathU = (UNICHAR *)calloc(PATH_MAX + 2, sizeof (UNICHAR));
+	FReq_InsCurPathU = (UNICHAR *)calloc(PATH_MAX + 2, sizeof (UNICHAR));
+	FReq_SmpCurPathU = (UNICHAR *)calloc(PATH_MAX + 2, sizeof (UNICHAR));
+	FReq_PatCurPathU = (UNICHAR *)calloc(PATH_MAX + 2, sizeof (UNICHAR));
+	FReq_TrkCurPathU = (UNICHAR *)calloc(PATH_MAX + 2, sizeof (UNICHAR));
+
+	if (modTmpFName      == NULL || insTmpFName      == NULL || smpTmpFName      == NULL ||
+		patTmpFName      == NULL || trkTmpFName      == NULL || FReq_NameTemp    == NULL ||
+		FReq_ModCurPathU == NULL || FReq_InsCurPathU == NULL || FReq_SmpCurPathU == NULL ||
+		FReq_PatCurPathU == NULL || FReq_TrkCurPathU == NULL)
+	{
+		// allocated memory is free'd lateron
+		showErrorMsgBox("Not enough memory!");
+		return false;
+	}
+
+	strcpy(modTmpFName, "untitled.xm");
+	strcpy(insTmpFName, "untitled.xi");
+	strcpy(smpTmpFName, "untitled.wav");
+	strcpy(patTmpFName, "untitled.xp");
+	strcpy(trkTmpFName, "untitled.xt");
+
+	setupInitialPaths();
+	setDiskOpItem(0);
+
+	updateCurrSongFilename(); // for window title
+	updateWindowTitle(true);
+
+	return true;
+}
+
+int32_t getExtOffset(char *s, int32_t stringLen) // get byte offset of file extension (last '.')
+{
+	if (s == NULL || stringLen < 1)
+		return -1;
+
+	for (int32_t i = stringLen - 1; i >= 0; i--)
+	{
+		if (i != 0 && s[i] == '.')
+			return i;
+	}
+
+	return -1;
+}
+
+static void removeQuestionmarksFromString(char *s)
+{
+	int32_t len;
+
+	if (s == NULL || *s == '\0')
+		return;
+
+	len = (int32_t)strlen(s);
+	for (int32_t i = 0; i < len; i++)
+	{
+		if (s[i] == '?')
+			s[i] = ' ' ;
+	}
+}
+
+#ifdef _WIN32 // WINDOWS SPECIFIC FILE OPERATION ROUTINES
+
+bool fileExistsAnsi(char *str)
+{
+	int32_t retVal;
+	UNICHAR *strU;
+
+	strU = cp437ToUnichar(str);
+	if (strU == NULL)
+		return false;
+
+	retVal = PathFileExistsW(strU);
+	free(strU);
+
+	return retVal;
+}
+
+static bool deleteDirRecursive(UNICHAR *strU)
+{
+	SHFILEOPSTRUCTW shfo;
+
+	memset(&shfo, 0, sizeof (shfo));
+	shfo.wFunc  = FO_DELETE;
+	shfo.fFlags = FOF_SILENT | FOF_NOERRORUI | FOF_NOCONFIRMATION;
+	shfo.pFrom  = strU;
+
+	return (SHFileOperationW(&shfo) == 0);
+}
+
+static bool makeDirAnsi(char *str)
+{
+	int32_t retVal;
+	UNICHAR *strU;
+
+	strU = cp437ToUnichar(str);
+	if (strU == NULL)
+		return false;
+
+	retVal = _wmkdir(strU);
+	free(strU);
+
+	return (retVal == 0);
+}
+
+static bool renameAnsi(UNICHAR *oldNameU, char *newName)
+{
+	int32_t retVal;
+	UNICHAR *newNameU;
+
+	newNameU = cp437ToUnichar(newName);
+	if (newNameU == NULL)
+		return false;
+
+	retVal = UNICHAR_RENAME(oldNameU, newNameU);
+	free(newNameU);
+
+	return (retVal == 0);
+}
+
+static void setupDiskOpDrives(void) // Windows only
+{
+	uint16_t i;
+	uint32_t drivesBitmask;
+
+	fillRect(134, 29, 31, 111, PAL_DESKTOP);
+
+	numLogicalDrives = 0;
+
+	// get number of drives and drive names
+	drivesBitmask = GetLogicalDrives();
+	for (i = 0; i < 8*sizeof (uint32_t); i++)
+	{
+		if ((drivesBitmask & (1 << i)) != 0)
+		{
+			driveIndexes[numLogicalDrives++] = i;
+			if (numLogicalDrives == DISKOP_MAX_DRIVE_BUTTONS)
+				break;
+		}
+	}
+
+	// hide all buttons
+	for (i = 0; i < DISKOP_MAX_DRIVE_BUTTONS; i++)
+		hidePushButton(PB_DISKOP_DRIVE1 + i);
+
+	// set button names and show buttons
+	for (i = 0; i < numLogicalDrives; i++)
+	{
+		pushButtons[PB_DISKOP_DRIVE1 + i].caption = logicalDriveNames[driveIndexes[i]];
+		showPushButton(PB_DISKOP_DRIVE1 + i);
+	}
+}
+
+static void openDrive(char *str) // Windows only
+{
+	if (mouse.mode == MOUSE_MODE_DELETE)
+	{
+		okBox(8, "System complaint", "Very funny.");
+		return;
+	}
+
+	if (str == NULL || *str == '\0')
+	{
+		okBox(0, "System message", "Couldn't open drive!");
+		return;
+	}
+
+	if (chdir(str) != 0)
+		okBox(0, "System message", "Couldn't open drive! Please make sure there's a disk in it.");
+	else
+		editor.diskOpReadDir = true;
+}
+
+#else // NON-WINDOWS SPECIFIC FILE OPERATION ROUTINES
+
+bool fileExistsAnsi(char *str)
+{
+	int32_t retVal;
+	UNICHAR *strU;
+
+	strU = cp437ToUnichar(str);
+	if (strU == NULL)
+		return false;
+
+	retVal = access(strU, F_OK);
+	free(strU);
+
+	return (retVal != -1);
+}
+
+static bool deleteDirRecursive(UNICHAR *strU)
+{
+	int32_t ret;
+	FTS *ftsp;
+	FTSENT *curr;
+	char *files[] = { (char *)(strU), NULL };
+
+	ftsp = NULL;
+
+	ftsp = fts_open(files, FTS_NOCHDIR | FTS_PHYSICAL | FTS_XDEV, NULL);
+	if (!ftsp)
+		return false;
+
+	ret = true;
+	while ((curr = fts_read(ftsp)))
+	{
+		switch (curr->fts_info)
+		{
+			default:
+			case FTS_NS:
+			case FTS_DNR:
+			case FTS_ERR:
+				ret = false;
+			break;
+
+			case FTS_D:
+			case FTS_DC:
+			case FTS_DOT:
+			case FTS_NSOK:
+				break;
+
+			case FTS_DP:
+			case FTS_F:
+			case FTS_SL:
+			case FTS_SLNONE:
+			case FTS_DEFAULT:
+			{
+				if (remove(curr->fts_accpath) < 0)
+					ret = false;
+			}
+			break;
+		}
+	}
+
+	if (ftsp != NULL)
+		fts_close(ftsp);
+
+	return ret;
+}
+
+static bool makeDirAnsi(char *str)
+{
+	int32_t retVal;
+	UNICHAR *strU;
+
+	strU = cp437ToUnichar(str);
+	if (strU == NULL)
+		return false;
+
+	retVal = mkdir(str, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
+	free(strU);
+
+	return (retVal == 0);
+}
+
+static bool renameAnsi(UNICHAR *oldNameU, char *newName)
+{
+	int32_t retVal;
+	UNICHAR *newNameU;
+
+	newNameU = cp437ToUnichar(newName);
+	if (newNameU == NULL)
+		return false;
+
+	retVal = UNICHAR_RENAME(oldNameU, newNameU);
+	free(newNameU);
+
+	return (retVal == 0);
+}
+#endif
+
+static void openDirectory(UNICHAR *strU)
+{
+	if (strU == NULL || UNICHAR_STRLEN(strU) == 0)
+	{
+		okBox(0, "System message", "Couldn't open directory! No permission or in use?");
+		return;
+	}
+
+	if (UNICHAR_CHDIR(strU) != 0)
+		okBox(0, "System message", "Couldn't open directory! No permission or in use?");
+	else
+		editor.diskOpReadDir = true;
+}
+
+bool diskOpGoParent(void)
+{
+	if (chdir("..") == 0)
+	{
+		editor.diskOpReadDir = true;
+		FReq_EntrySelected = -1;
+
+		return true;
+	}
+
+	return false;
+}
+
+static char *getFilenameFromPath(char *p)
+{
+	int32_t i, len;
+
+	if (p == NULL)
+		return (p);
+
+	len = (int32_t)strlen(p);
+	if (len < 2 || p[len-1] == DIR_DELIMITER)
+		return (p);
+
+	// search for last directory delimiter
+	for (i = len - 1; i >= 0; i--)
+	{
+		if (p[i] == DIR_DELIMITER)
+			break;
+	}
+
+	if (i != 0)
+		p += i + 1; // we found a directory delimiter - skip to the last one
+
+	return p;
+}
+
+void sanitizeFilename(const char *src)
+{
+	// some of these are legal on GNU/Linux and macOS, but whatever...
+	const char illegalChars[] = "\\/:*?\"<>|";
+	char *ptr;
+
+	if (src == NULL || *src == '\0')
+		return;
+
+	// convert illegal characters to space (for making a filename the OS will accept)
+	while ((ptr = (char *)strpbrk(src, illegalChars)) != NULL)
+		*ptr = ' ';
+}
+
+void diskOpSetFilename(uint8_t type, UNICHAR *pathU)
+{
+	char *ansiPath, *filename;
+
+	ansiPath = unicharToCp437(pathU, true);
+	if (ansiPath == NULL)
+		return;
+
+	filename = getFilenameFromPath(ansiPath);
+	if (strlen(filename) > PATH_MAX-1)
+	{
+		free(ansiPath);
+		return; // filename is too long, don't bother to copy it over
+	}
+
+	sanitizeFilename(filename);
+
+	switch (type)
+	{
+		default:
+		case DISKOP_ITEM_MODULE:
+		{
+			memset(modTmpFName, 0, PATH_MAX + 1);
+			strcpy(modTmpFName, filename);
+
+			updateCurrSongFilename(); // for window title
+			updateWindowTitle(true);
+		}
+		break;
+
+		case DISKOP_ITEM_INSTR:
+		{
+			memset(insTmpFName, 0, PATH_MAX + 1);
+			strcpy(insTmpFName, filename);
+		}
+		break;
+
+		case DISKOP_ITEM_SAMPLE:
+		{
+			memset(smpTmpFName, 0, PATH_MAX + 1);
+			strcpy(smpTmpFName, filename);
+		}
+		break;
+
+		case DISKOP_ITEM_PATTERN:
+		{
+			memset(patTmpFName, 0, PATH_MAX + 1);
+			strcpy(patTmpFName, filename);
+		}
+		break;
+
+		case DISKOP_ITEM_TRACK:
+		{
+			memset(trkTmpFName, 0, PATH_MAX + 1);
+			strcpy(trkTmpFName, filename);
+		}
+		break;
+	}
+
+	free(ansiPath);
+
+	if (editor.ui.diskOpShown)
+		drawTextBox(TB_DISKOP_FILENAME);
+}
+
+static void openFile(UNICHAR *filenameU, bool songModifiedCheck)
+{
+	int32_t filesize;
+	FILE *f;
+
+	// first check if we can actually open the requested file
+	f = UNICHAR_FOPEN(filenameU, "rb");
+	if (f == NULL)
+	{
+		okBox(0, "System message", "Couldn't open file/directory! No permission or in use?");
+		return;
+	}
+	fclose(f);
+
+	filesize = getFileSize(filenameU);
+	if (filesize == -1) // >2GB
+	{
+		okBox(0, "System message", "The file is too big and can't be loaded (over 2GB).");
+		return;
+	}
+
+	if (filesize >= 128L*1024*1024) // 128MB
+	{
+		if (okBox(2, "System request", "Are you sure you want to load such a big file?") != 1)
+			return;
+	}
+
+	// file is readable, handle file...
+	switch (FReq_Item)
+	{
+		default:
+		case DISKOP_ITEM_MODULE:
+		{
+			if (songModifiedCheck && song.isModified)
+			{
+				// remove file selection
+				FReq_EntrySelected = -1;
+				diskOp_DrawDirectory();
+
+				if (okBox(2, "System request", "You have unsaved changes in your song. Load new song and lose all changes?") != 1)
+					return;
+			}
+
+			editor.loadMusicEvent = EVENT_LOADMUSIC_DISKOP;
+			loadMusic(filenameU);
+		}
+		break;
+
+		case DISKOP_ITEM_INSTR:   loadInstr(filenameU); break;
+		case DISKOP_ITEM_SAMPLE:  loadSample(filenameU, editor.curSmp, false); break;
+		case DISKOP_ITEM_PATTERN: loadPattern(filenameU); break;
+		case DISKOP_ITEM_TRACK:   loadTrack(filenameU); break;
+	}
+}
+
+static void removeFilenameExt(char *name)
+{
+	int32_t extOffset, len;
+
+	if (name == NULL || *name == '\0')
+		return;
+
+	len = (int32_t)strlen(name);
+
+	extOffset = getExtOffset(name, len);
+	if (extOffset != -1)
+		name[extOffset] = '\0';
+}
+
+void changeFilenameExt(char *name, char *ext, int32_t nameMaxLen)
+{
+	int32_t len, extLen;
+
+	 if (name == NULL || name[0] == '\0' || ext == NULL)
+		 return;
+
+	 removeFilenameExt(name);
+
+	 len    = (int32_t)strlen(name);
+	 extLen = (int32_t)strlen(ext);
+
+	 if (len + extLen > nameMaxLen-1)
+		 name[(nameMaxLen-1) - extLen] = '\0';
+
+	 strcat(name, ext);
+
+	 if (editor.ui.diskOpShown)
+		diskOp_DrawDirectory();
+}
+
+void diskOpChangeFilenameExt(char *ext)
+{
+	changeFilenameExt(FReq_FileName, ext, PATH_MAX);
+	if (editor.ui.diskOpShown)
+		diskOp_DrawDirectory();
+}
+
+void trimEntryName(char *name, bool isDir)
+{
+	char extBuffer[24];
+	int32_t j, extOffset, extLen;
+
+	j = (int32_t)strlen(name);
+	extOffset = getExtOffset(name, j);
+	extLen = (int32_t)strlen(&name[extOffset]);
+	j--;
+
+	if (isDir)
+	{
+		// directory
+		while (textWidth(name) > 160-8 && j >= 2)
+		{
+			name[j-2] = '.';
+			name[j-1] = '.';
+			name[j-0] = '\0';
+			j--;
+		}
+
+		return;
+	}
+
+	if (extOffset != -1 && extLen <= 4)
+	{
+		// has extension
+		sprintf(extBuffer, ".. %s", &name[extOffset]); // "testtestte... .xm"
+
+		extLen = (int32_t)strlen(extBuffer);
+		while (textWidth(name) >= FILESIZE_TEXT_X-FILENAME_TEXT_X && j >= extLen+1)
+		{
+			memcpy(&name[j - extLen], extBuffer, extLen + 1);
+			j--;
+		}
+	}
+	else
+	{
+		// no extension
+		while (textWidth(name) >= FILESIZE_TEXT_X-FILENAME_TEXT_X && j >= 2)
+		{
+			name[j-2] = '.';
+			name[j-1] = '.';
+			name[j-0] = '\0';
+			j--;
+		}
+	}
+}
+
+static void createOverwriteText(char *name)
+{
+	char nameTmp[128];
+	uint32_t nameLen;
+
+	// read entry name to a small buffer
+	nameLen = (uint32_t)strlen(name);
+	memcpy(nameTmp, name, (nameLen >= sizeof (nameTmp)) ? sizeof (nameTmp) : (nameLen + 1));
+	nameTmp[sizeof (nameTmp) - 1] = '\0';
+
+	trimEntryName(nameTmp, false);
+
+	sprintf(FReq_SysReqText, "Overwrite file \"%s\"?", nameTmp);
+}
+
+static void diskOpSave(bool checkOverwrite)
+{
+	UNICHAR *fileNameU;
+
+	if (FReq_FileName[0] == '\0')
+	{
+		okBox(0, "System message", "Filename can't be empty!");
+		return;
+	}
+
+	// test if the very first character has a dot...
+	if (FReq_FileName[0] == '.')
+	{
+		okBox(0, "System message", "The very first character in the filename can't be '.' (dot)!");
+		return;
+	}
+
+	// test for illegal file name
+	if (FReq_FileName[0] == '\0' || strpbrk(FReq_FileName, "\\/:*?\"<>|") != NULL)
+	{
+		okBox(0, "System message", "The filename can't contain the following characters: \\ / : * ? \" < > |");
+		return;
+	}
+
+	switch (FReq_Item)
+	{
+		default:
+		case DISKOP_ITEM_MODULE:
+		{
+			switch (editor.moduleSaveMode)
+			{
+				         case MOD_SAVE_MODE_MOD: diskOpChangeFilenameExt(".mod"); break;
+				default: case MOD_SAVE_MODE_XM:  diskOpChangeFilenameExt(".xm");  break;
+				         case MOD_SAVE_MODE_WAV: diskOpChangeFilenameExt(".wav"); break;
+			}
+
+			// enter WAV renderer if needed
+			if (editor.moduleSaveMode == MOD_SAVE_MODE_WAV)
+			{
+				exitDiskOpScreen();
+				showWavRenderer();
+				return;
+			}
+
+			if (checkOverwrite && fileExistsAnsi(FReq_FileName))
+			{
+				createOverwriteText(FReq_FileName);
+				if (okBox(2, "System request", FReq_SysReqText) != 1)
+					return;
+			}
+
+			fileNameU = cp437ToUnichar(FReq_FileName);
+			if (fileNameU == NULL)
+			{
+				okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+				return;
+			}
+
+			saveMusic(fileNameU);
+			free(fileNameU);
+			// sets editor.diskOpReadDir after thread is done
+		}
+		break;
+
+		case DISKOP_ITEM_INSTR:
+		{
+			diskOpChangeFilenameExt(".xi");
+
+			if (checkOverwrite && fileExistsAnsi(FReq_FileName))
+			{
+				createOverwriteText(FReq_FileName);
+				if (okBox(2, "System request", FReq_SysReqText) != 1)
+					return;
+			}
+
+			fileNameU = cp437ToUnichar(FReq_FileName);
+			if (fileNameU == NULL)
+			{
+				okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+				return;
+			}
+
+			saveInstr(fileNameU, editor.curInstr);
+			free(fileNameU);
+			// editor.diskOpReadDir is set after thread is done
+		}
+		break;
+
+		case DISKOP_ITEM_SAMPLE:
+		{
+			switch (editor.sampleSaveMode)
+			{
+				         case SMP_SAVE_MODE_RAW: diskOpChangeFilenameExt(".raw"); break;
+				         case SMP_SAVE_MODE_IFF: diskOpChangeFilenameExt(".iff"); break;
+				default: case SMP_SAVE_MODE_WAV: diskOpChangeFilenameExt(".wav"); break;
+			}
+
+			if (checkOverwrite && fileExistsAnsi(FReq_FileName))
+			{
+				createOverwriteText(FReq_FileName);
+				if (okBox(2, "System request", FReq_SysReqText) != 1)
+					return;
+			}
+
+			fileNameU = cp437ToUnichar(FReq_FileName);
+			if (fileNameU == NULL)
+			{
+				okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+				return;
+			}
+
+			saveSample(fileNameU, SAVE_NORMAL);
+			free(fileNameU);
+			// editor.diskOpReadDir is set after thread is done
+		}
+		break;
+
+		case DISKOP_ITEM_PATTERN:
+		{
+			diskOpChangeFilenameExt(".xp");
+
+			if (checkOverwrite && fileExistsAnsi(FReq_FileName))
+			{
+				createOverwriteText(FReq_FileName);
+				if (okBox(2, "System request", FReq_SysReqText) != 1)
+					return;
+			}
+
+			fileNameU = cp437ToUnichar(FReq_FileName);
+			if (fileNameU == NULL)
+			{
+				okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+				return;
+			}
+
+			editor.diskOpReadDir = savePattern(fileNameU);
+			free(fileNameU);
+		}
+		break;
+
+		case DISKOP_ITEM_TRACK:
+		{
+			diskOpChangeFilenameExt(".xt");
+
+			if (checkOverwrite && fileExistsAnsi(FReq_FileName))
+			{
+				createOverwriteText(FReq_FileName);
+				if (okBox(2, "System request", FReq_SysReqText) != 1)
+					return;
+			}
+
+			fileNameU = cp437ToUnichar(FReq_FileName);
+			if (fileNameU == NULL)
+			{
+				okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+				return;
+			}
+
+			editor.diskOpReadDir = saveTrack(fileNameU);
+			free(fileNameU);
+		}
+		break;
+	}
+}
+
+void pbDiskOpSave(void)
+{
+	diskOpSave(config.cfg_OverwriteWarning ? true : false); // check if about to overwrite
+}
+
+static void fileListPressed(int32_t index)
+{
+	char *nameTmp;
+	int8_t mode;
+	int32_t result, entryIndex;
+	DirRec *dirEntry;
+
+	entryIndex = FReq_DirPos + index;
+	if (entryIndex >= FReq_FileCount || FReq_FileCount == 0)
+		return; // illegal entry
+
+	mode = mouse.mode;
+
+	// set normal mouse cursor
+	if (mouse.mode != MOUSE_MODE_NORMAL)
+		setMouseMode(MOUSE_MODE_NORMAL);
+
+	// remove file selection
+	FReq_EntrySelected = -1;
+	diskOp_DrawDirectory();
+
+	dirEntry = &FReq_Buffer[entryIndex];
+	switch (mode)
+	{
+		// open file/folder
+		default:
+		case MOUSE_MODE_NORMAL:
+		{
+			if (dirEntry->isDir)
+				openDirectory(dirEntry->nameU);
+			else
+				openFile(dirEntry->nameU, true);
+		}
+		break;
+
+		// delete file/folder
+		case MOUSE_MODE_DELETE:
+		{
+			if (!dirEntry->isDir || UNICHAR_STRCMP(dirEntry->nameU, PARENT_DIR_STR)) // don't handle ".." dir
+			{
+				nameTmp = unicharToCp437(dirEntry->nameU, true);
+				if (nameTmp == NULL)
+					break;
+
+				trimEntryName(nameTmp, dirEntry->isDir);
+
+				if (dirEntry->isDir)
+					sprintf(FReq_SysReqText, "Delete directory \"%s\"?", nameTmp);
+				else
+					sprintf(FReq_SysReqText, "Delete file \"%s\"?", nameTmp);
+
+				free(nameTmp);
+
+				if (okBox(2, "System request", FReq_SysReqText) == 1)
+				{
+					if (dirEntry->isDir)
+					{
+						result = deleteDirRecursive(dirEntry->nameU);
+						if (!result)
+							okBox(0, "System message", "Couldn't delete folder: Access denied!");
+						else
+							editor.diskOpReadDir = true;
+					}
+					else
+					{
+						result = (UNICHAR_REMOVE(dirEntry->nameU) == 0);
+						if (!result)
+							okBox(0, "System message", "Couldn't delete file: Access denied!");
+						else
+							editor.diskOpReadDir = true;
+					}
+				}
+			}
+		}
+		break;
+
+		// rename file/folder
+		case MOUSE_MODE_RENAME:
+		{
+			if (dirEntry->isDir || UNICHAR_STRCMP(dirEntry->nameU, PARENT_DIR_STR)) // don't handle ".." dir
+			{
+				nameTmp = unicharToCp437(dirEntry->nameU, true);
+				if (nameTmp == NULL)
+					break;
+
+				strncpy(FReq_NameTemp, nameTmp, PATH_MAX - 1);
+				free(nameTmp);
+
+				// in case of UTF8 -> CP437 encoding failure, there can be question marks. Remove them...
+				removeQuestionmarksFromString(FReq_NameTemp);
+
+				if (inputBox(2, dirEntry->isDir ? "Enter new directory name:" : "Enter new filename:", FReq_NameTemp, PATH_MAX - 1) == 1)
+				{
+					if ((FReq_NameTemp == NULL) || (FReq_NameTemp[0] == '\0'))
+					{
+						okBox(0, "System message", "New name can't be empty!");
+						break;
+					}
+
+					if (!renameAnsi(dirEntry->nameU, FReq_NameTemp))
+					{
+						if (dirEntry->isDir)
+							okBox(0, "System message", "Couldn't rename directory: Access denied, or dir already exists!");
+						else
+							okBox(0, "System message", "Couldn't rename file: Access denied, or file already exists!");
+					}
+					else
+					{
+						editor.diskOpReadDir = true;
+					}
+				}
+			}
+		}
+		break;
+	}
+}
+
+bool testDiskOpMouseDown(bool mouseHeldDlown)
+{
+	int32_t tmpEntry, max;
+
+	if (!editor.ui.diskOpShown || FReq_FileCount == 0)
+		return false;
+
+	max = FReq_FileCount - FReq_DirPos;
+	if (max > DISKOP_ENTRY_NUM) // needed kludge when mouse-scrolling
+		max = DISKOP_ENTRY_NUM;
+
+	if (!mouseHeldDlown)
+	{
+		FReq_EntrySelected = -1;
+
+		if (mouse.x >= 169 && mouse.x <= 331 && mouse.y >= 4 && mouse.y <= 168)
+		{
+			tmpEntry = (mouse.y - 4) / (FONT1_CHAR_H + 1);
+			if (tmpEntry >= 0 && tmpEntry < max)
+			{
+				FReq_EntrySelected = tmpEntry;
+				diskOp_DrawDirectory();
+			}
+
+			mouse.lastUsedObjectType = OBJECT_DISKOPLIST;
+			return true;
+		}
+
+		return false;
+	}
+
+	// handle scrolling if outside of disk op. list area
+	if (mouse.y < 4)
+	{
+		scrollBarScrollUp(SB_DISKOP_LIST, 1);
+		FReq_EntrySelected = -1;
+	}
+	else if (mouse.y > 168)
+	{
+		scrollBarScrollDown(SB_DISKOP_LIST, 1);
+		FReq_EntrySelected = -1;
+	}
+
+	if (mouse.y == lastMouseY)
+		return true;
+
+	lastMouseY = mouse.y;
+
+	tmpEntry = (mouse.y - 4) / (FONT1_CHAR_H + 1);
+	if (mouse.x < 169 || mouse.x > 331 || mouse.y < 4 || tmpEntry < 0 || tmpEntry >= max)
+	{
+		FReq_EntrySelected = -1;
+		diskOp_DrawDirectory();
+
+		return true;
+	}
+
+	if (tmpEntry != FReq_EntrySelected)
+	{
+		FReq_EntrySelected = tmpEntry;
+		diskOp_DrawDirectory();
+	}
+
+	return true;
+}
+
+void testDiskOpMouseRelease(void)
+{
+	if (editor.ui.diskOpShown && FReq_EntrySelected != -1)
+	{
+		if (mouse.x >= 169 && mouse.x <= 329 && mouse.y >= 4 && mouse.y <= 168)
+			fileListPressed((mouse.y - 4) / (FONT1_CHAR_H + 1));
+
+		FReq_EntrySelected = -1;
+		diskOp_DrawDirectory();
+	}
+}
+
+static uint8_t handleEntrySkip(UNICHAR *nameU, bool isDir)
+{
+	char *name, *extPtr;
+	int32_t nameLen, extOffset, extLen;
+
+	// skip if illegal name or filesize >32-bit
+	if (nameU == NULL)
+		return true;
+
+	name = unicharToCp437(nameU, false);
+	if (name == NULL)
+		return true;
+
+	nameLen = (int32_t)strlen(name);
+	if (nameLen == 0)
+	{
+		free(name);
+		return true;
+	}
+
+	// skip ".name" dirs/files
+	if (nameLen >= 2 && name[0] == '.' && name[1] != '.')
+	{
+		free(name);
+		return true;
+	}
+
+	if (isDir)
+	{
+		// skip '.' directory
+		if (nameLen == 1 && name[0] == '.')
+		{
+			free(name);
+			return true;
+		}
+	}
+	else if (!FReq_ShowAllFiles)
+	{
+		extOffset = getExtOffset(name, nameLen);
+		if (extOffset == -1)
+		{
+			free(name);
+			return true;
+		}
+
+		extLen = (int32_t)strlen(&name[extOffset]);
+		if (extLen < 3 || extLen > 5)
+		{
+			free(name);
+			return true; // no possibly known extensions to filter out
+		}
+
+		extPtr = &name[extOffset];
+
+		// decide what entries to keep based on file extension
+		switch (FReq_Item)
+		{
+			default:
+			case DISKOP_ITEM_MODULE:
+			{
+				if (extLen == 3)
+				{
+					if (_stricmp(".xm", extPtr) && _stricmp(".ft", extPtr))
+					{
+						free(name);
+						return true; // skip, none of the extensions above
+					}
+				}
+				else if (extLen == 4)
+				{
+					if (_stricmp(".nst", extPtr) && _stricmp(".mod", extPtr) &&
+						_stricmp(".s3m", extPtr) && _stricmp(".stm", extPtr) &&
+						_stricmp(".fst", extPtr) && _stricmp(".wav", extPtr))
+					{
+						free(name);
+						return true; // skip, none of the extensions above
+					}
+				}
+				else
+				{
+					free(name);
+					return true;
+				}
+			}
+			break;
+
+			case DISKOP_ITEM_INSTR:
+			{
+				if (extLen == 3)
+				{
+					if (_stricmp(".xi", extPtr))
+					{
+						free(name);
+						return true; // skip, none of the extensions above
+					}
+				}
+				else if (extLen == 4)
+				{
+					if (_stricmp(".iff", extPtr) && _stricmp(".raw", extPtr) &&
+						_stricmp(".wav", extPtr) && _stricmp(".snd", extPtr) &&
+						_stricmp(".smp", extPtr) && _stricmp(".sam", extPtr) &&
+						_stricmp(".aif", extPtr) && _stricmp(".pat", extPtr))
+					{
+						free(name);
+						return true; // skip, none of the extensions above
+					}
+				}
+				else if (extLen == 5)
+				{
+					if (_stricmp(".aiff", extPtr))
+					{
+						free(name);
+						return true; // skip, not the extension above
+					}
+				}
+				else
+				{
+					free(name);
+					return true;
+				}
+			}
+			break;
+
+			case DISKOP_ITEM_SAMPLE:
+			{
+				if (extLen == 4)
+				{
+					if (_stricmp(".iff", extPtr) && _stricmp(".raw", extPtr) &&
+						_stricmp(".wav", extPtr) && _stricmp(".snd", extPtr) &&
+						_stricmp(".smp", extPtr) && _stricmp(".sam", extPtr) &&
+						_stricmp(".aif", extPtr))
+					{
+						free(name);
+						return true; // skip, none of the extensions above
+					}
+				}
+				else if (extLen == 5)
+				{
+					if (_stricmp(".aiff", extPtr))
+					{
+						free(name);
+						return true; // skip, not the extension above
+					}
+				}
+				else
+				{
+					free(name);
+					return true;
+				}
+			}
+			break;
+
+			case DISKOP_ITEM_PATTERN:
+			{
+				if (extLen == 3)
+				{
+					if (_stricmp(".xp", extPtr))
+					{
+						free(name);
+						return true; // skip, not the extension above
+					}
+				}
+				else
+				{
+					free(name);
+					return true;
+				}
+			}
+			break;
+
+			case DISKOP_ITEM_TRACK:
+			{
+				if (extLen == 3)
+				{
+					if (_stricmp(".xt", extPtr))
+					{
+						free(name);
+						return true; // skip, not the extension above
+					}
+				}
+				else
+				{
+					free(name);
+					return true;
+				}
+			}
+			break;
+		}
+	}
+
+	free(name);
+	return false; // "Show All Files" mode is enabled, don't skip entry
+}
+
+static int8_t findFirst(DirRec *searchRec)
+{
+#ifdef _WIN32
+	WIN32_FIND_DATAW fData;
+#else
+	struct dirent *fData;
+	struct stat st;
+	int64_t fSize;
+#endif
+
+#if defined(__sun) || defined(sun)
+	struct stat s;
+#endif
+
+	searchRec->nameU = NULL; // this one must be initialized
+
+#ifdef _WIN32
+	hFind = FindFirstFileW(L"*", &fData);
+	if (hFind == NULL || hFind == INVALID_HANDLE_VALUE)
+		return LFF_DONE;
+
+	searchRec->nameU = UNICHAR_STRDUP(fData.cFileName);
+	if (searchRec->nameU == NULL)
+		return LFF_SKIP;
+
+	searchRec->filesize = (fData.nFileSizeHigh > 0) ? -1 : fData.nFileSizeLow;
+	searchRec->isDir = (fData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? true : false;
+#else
+	hFind = opendir(".");
+	if (hFind == NULL)
+		return LFF_DONE;
+
+	fData = readdir(hFind);
+	if (fData == NULL)
+		return LFF_DONE;
+
+	searchRec->nameU = UNICHAR_STRDUP(fData->d_name);
+	if (searchRec->nameU == NULL)
+		return LFF_SKIP;
+
+	searchRec->filesize = 0;
+
+#if defined(__sun) || defined(sun)
+	stat(fData->d_name, &s);
+	searchRec->isDir = (s.st_mode != S_IFDIR) ? true : false;
+#else
+	searchRec->isDir = (fData->d_type == DT_DIR) ? true : false;
+#endif
+
+#if defined(__sun) || defined(sun)
+	if (s.st_mode == S_IFLNK)
+#else
+	if (fData->d_type == DT_UNKNOWN || fData->d_type == DT_LNK)
+#endif
+	{
+		if (stat(fData->d_name, &st) == 0)
+		{
+			fSize = (int64_t)st.st_size;
+			searchRec->filesize = (fSize > INT32_MAX) ? -1 : (fSize & 0xFFFFFFFF);
+
+			if ((st.st_mode & S_IFMT) == S_IFDIR)
+				searchRec->isDir = true;
+		}
+	}
+	else if (!searchRec->isDir)
+	{
+		if (stat(fData->d_name, &st) == 0)
+		{
+			fSize = (int64_t)st.st_size;
+			searchRec->filesize = (fSize > INT32_MAX) ? -1 : (fSize & 0xFFFFFFFF);
+		}
+	}
+#endif
+
+	if (handleEntrySkip(searchRec->nameU, searchRec->isDir))
+	{
+		// skip file
+		free(searchRec->nameU);
+		searchRec->nameU = NULL;
+
+		return LFF_SKIP;
+	}
+
+	return LFF_OK;
+}
+
+static int8_t findNext(DirRec *searchRec)
+{
+#ifdef _WIN32
+	WIN32_FIND_DATAW fData;
+#else
+	struct dirent *fData;
+	struct stat st;
+	int64_t fSize;
+#endif
+
+#if defined(__sun) || defined(sun)
+	struct stat s;
+#endif
+
+	searchRec->nameU = NULL; // important
+
+#ifdef _WIN32
+	if (hFind == NULL || FindNextFileW(hFind, &fData) == 0)
+		return LFF_DONE;
+
+	searchRec->nameU = UNICHAR_STRDUP(fData.cFileName);
+	if (searchRec->nameU == NULL)
+		return LFF_SKIP;
+
+	searchRec->filesize = (fData.nFileSizeHigh > 0) ? -1 : fData.nFileSizeLow;
+	searchRec->isDir = (fData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? true : false;
+#else
+	if (hFind == NULL || (fData = readdir(hFind)) == NULL)
+		return LFF_DONE;
+
+	searchRec->nameU = UNICHAR_STRDUP(fData->d_name);
+	if (searchRec->nameU == NULL)
+		return LFF_SKIP;
+
+	searchRec->filesize = 0;
+
+#if defined(__sun) || defined(sun)
+	stat(fData->d_name, &s);
+	searchRec->isDir = (s.st_mode != S_IFDIR) ? true : false;
+#else
+	searchRec->isDir = (fData->d_type == DT_DIR) ? true : false;
+#endif
+
+#if defined(__sun) || defined(sun)
+	if (s.st_mode == S_IFLNK)
+#else
+	if (fData->d_type == DT_UNKNOWN || fData->d_type == DT_LNK)
+#endif
+	{
+		if (stat(fData->d_name, &st) == 0)
+		{
+			fSize = (int64_t)st.st_size;
+			searchRec->filesize = (fSize > INT32_MAX) ? -1 : (fSize & 0xFFFFFFFF);
+
+			if ((st.st_mode & S_IFMT) == S_IFDIR)
+				searchRec->isDir = true;
+		}
+	}
+	else if (!searchRec->isDir)
+	{
+		if (stat(fData->d_name, &st) == 0)
+		{
+			fSize = (int64_t)st.st_size;
+			searchRec->filesize = (fSize > INT32_MAX) ? -1 : (fSize & 0xFFFFFFFF);
+		}
+	}
+#endif
+
+	if (handleEntrySkip(searchRec->nameU, searchRec->isDir))
+	{
+		// skip file
+		free(searchRec->nameU);
+		searchRec->nameU = NULL;
+
+		return LFF_SKIP;
+	}
+
+	return LFF_OK;
+}
+
+static void findClose(void)
+{
+	if (hFind != NULL)
+	{
+#ifdef _WIN32
+		FindClose(hFind);
+#else
+		closedir(hFind);
+#endif
+		hFind = NULL;
+	}
+}
+
+static bool swapBufferEntry(int32_t a, int32_t b) // used for sorting
+{
+	DirRec tmpBuffer;
+
+	if (a >= FReq_FileCount || b >= FReq_FileCount)
+		return false;
+
+	tmpBuffer = FReq_Buffer[a];
+	FReq_Buffer[a] = FReq_Buffer[b];
+	FReq_Buffer[b] = tmpBuffer;
+
+	return true;
+}
+
+static char *ach(int32_t rad) // used for sortDirectory()
+{
+	char *p, *name;
+	int32_t i, nameLen, extLen;
+	DirRec *dirEntry;
+
+	dirEntry = &FReq_Buffer[rad];
+
+	name = unicharToCp437(dirEntry->nameU, true);
+	if (name == NULL)
+		return NULL;
+
+	nameLen = (int32_t)strlen(name);
+	if (nameLen == 0)
+	{
+		free(name);
+		return NULL;
+	}
+
+	p = (char *)malloc(nameLen + 2);
+	if (p == NULL)
+	{
+		free(name);
+		return NULL;
+	}
+
+	if (dirEntry->isDir)
+	{
+		// directory
+
+		if (nameLen == 2 && name[0] == '.' && name[1] == '.')
+			p[0] = 0x01; // make ".." directory first priority
+		else
+			p[0] = 0x02; // make second priority
+
+		strcpy(&p[1], name);
+
+		free(name);
+		return p;
+	}
+	else
+	{
+		// file
+
+		i = getExtOffset(name, nameLen);
+		if (config.cfg_SortPriority == 1 || i == -1)
+		{
+			// sort by filename
+			strcpy(p, name);
+			free(name);
+			return p;
+		}
+		else
+		{
+			// sort by filename extension
+			extLen = nameLen - i;
+			if (extLen <= 1)
+			{
+				strcpy(p, name);
+				free(name);
+				return p;
+			}
+
+			// FILENAME.EXT -> EXT.FILENAME (for sorting)
+			memcpy(p, &name[i+1], extLen - 1);
+			memcpy(&p[extLen-1], name, i);
+			p[nameLen-1] = '\0';
+
+			free(name);
+			return p;
+		}
+	}
+}
+
+static void sortDirectory(void)
+{
+	bool didSwap;
+	char *p1, *p2;
+	uint32_t offset, limit, i;
+
+	if (FReq_FileCount < 2)
+		return; // no need to sort
+
+	offset = FReq_FileCount / 2;
+	while (offset > 0)
+	{
+		limit = FReq_FileCount - offset;
+		do
+		{
+			didSwap = false;
+			for (i = 0; i < limit; i++)
+			{
+				p1 = ach(i);
+				p2 = ach(offset + i);
+
+				if (p1 == NULL || p2 == NULL)
+				{
+					if (p1 != NULL) free(p1);
+					if (p2 != NULL) free(p2);
+					okBox(0, "System message", "Not enough memory!");
+					return;
+				}
+
+				if (_stricmp(p1, p2) > 0)
+				{
+					if (!swapBufferEntry(i, offset + i))
+					{
+						free(p1);
+						free(p2);
+						return;
+					}
+
+					didSwap = true;
+				}
+
+				free(p1);
+				free(p2);
+			}
+		}
+		while (didSwap);
+
+		offset /= 2;
+	}
+}
+
+static uint8_t numDigits32(uint32_t x)
+{
+	if (x >= 1000000000) return 10;
+	if (x >=  100000000) return  9;
+	if (x >=   10000000) return  8;
+	if (x >=    1000000) return  7;
+	if (x >=     100000) return  6;
+	if (x >=      10000) return  5;
+	if (x >=       1000) return  4;
+	if (x >=        100) return  3;
+	if (x >=         10) return  2;
+	
+	return 1;
+}
+
+static void printFormattedFilesize(uint16_t x, uint16_t y, uint32_t bufEntry)
+{
+	char sizeStrBuffer[16];
+	int32_t filesize, printFilesize;
+
+	filesize = FReq_Buffer[bufEntry].filesize;
+	if (filesize == -1)
+	{
+		x += 6;
+		textOut(x, y, PAL_BLCKTXT, ">2GB");
+		return;
+	}
+
+	assert(filesize >= 0);
+
+	if (filesize >= 1024*1024*10) // >= 10MB?
+	{
+forceMB:
+		printFilesize = (int32_t)ceil(filesize / (1024.0*1024.0));
+		x += (4 - numDigits32(printFilesize)) * (FONT1_CHAR_W - 1);
+		sprintf(sizeStrBuffer, "%dM", printFilesize);
+	}
+	else if (filesize >= 1024*10) // >= 10kB?
+	{
+		printFilesize = (int32_t)ceil(filesize / 1024.0);
+		if (printFilesize > 9999)
+			goto forceMB; // ceil visual overflow kludge
+
+		x += (4 - numDigits32(printFilesize)) * (FONT1_CHAR_W - 1);
+		sprintf(sizeStrBuffer, "%dk", printFilesize);
+	}
+	else // bytes
+	{
+		printFilesize = filesize;
+		x += (5 - numDigits32(printFilesize)) * (FONT1_CHAR_W - 1);
+		sprintf(sizeStrBuffer, "%d", printFilesize);
+	}
+
+	textOut(x, y, PAL_BLCKTXT, sizeStrBuffer);
+}
+
+static void displayCurrPath(void)
+{
+	char *p, *delimiter, *asciiPath;
+	int32_t j;
+	uint32_t pathLen;
+
+	fillRect(4, 145, 162, 10, PAL_DESKTOP);
+
+	pathLen = (uint32_t)UNICHAR_STRLEN(FReq_CurPathU);
+	if (pathLen == 0)
+		return;
+
+	asciiPath = unicharToCp437(FReq_CurPathU, true);
+	if (asciiPath == NULL)
+	{
+		okBox(0, "System message", "Not enough memory!");
+		return;
+	}
+
+	p = asciiPath;
+	if (textWidth(p) <= 162)
+	{
+		// path fits, print it all
+		textOut(4, 145, PAL_FORGRND, p);
+	}
+	else
+	{
+		// path doesn't fit, print drive + ".." + last directory
+
+		memset(FReq_NameTemp, 0, PATH_MAX + 1);
+#ifdef _WIN32
+		strncpy(FReq_NameTemp, p, 3);
+		strcat(FReq_NameTemp, ".\001"); // special character in font
+#else
+		strcpy(FReq_NameTemp, "/");
+		strcat(FReq_NameTemp, "..");
+#endif
+
+		delimiter = strrchr(p, DIR_DELIMITER);
+		if (delimiter != NULL)
+		{
+#ifdef _WIN32
+			strcat(FReq_NameTemp, delimiter + 1);
+#else
+			strcat(FReq_NameTemp, delimiter);
+#endif
+		}
+
+		j = (int32_t)strlen(FReq_NameTemp);
+		if (j > 6)
+		{
+			j--;
+
+			p = FReq_NameTemp;
+			while (j >= 6 && textWidth(p) >= 162)
+			{
+				p[j - 2] = '.';
+				p[j - 1] = '.';
+				p[j - 0] = '\0';
+				j--;
+			}
+		}
+
+		textOutClipX(4, 145, PAL_FORGRND, FReq_NameTemp, 165);
+	}
+
+	free(asciiPath);
+}
+
+void diskOp_DrawDirectory(void)
+{
+	char *readName;
+	uint16_t y;
+	int32_t bufEntry;
+
+	clearRect(FILENAME_TEXT_X - 1, 4, 162, 164);
+	drawTextBox(TB_DISKOP_FILENAME);
+
+	if (FReq_EntrySelected != -1)
+	{
+		y = 4 + (uint16_t)((FONT1_CHAR_H + 1) * FReq_EntrySelected);
+		fillRect(FILENAME_TEXT_X - 1, y, 162, FONT1_CHAR_H, PAL_PATTEXT);
+	}
+
+	displayCurrPath();
+#ifdef _WIN32
+	setupDiskOpDrives();
+#endif
+
+	if (FReq_FileCount == 0)
+		return;
+
+	for (uint16_t i = 0; i < DISKOP_ENTRY_NUM; i++)
+	{
+		bufEntry = FReq_DirPos + i;
+		if (bufEntry >= FReq_FileCount)
+			break;
+
+		if (FReq_Buffer[bufEntry].nameU == NULL)
+			continue;
+
+		// convert unichar name to codepage 437
+		readName = unicharToCp437(FReq_Buffer[bufEntry].nameU, true);
+		if (readName == NULL)
+			continue;
+
+		y = 4 + (i * (FONT1_CHAR_H + 1));
+
+		// shrink entry name and add ".." if it doesn't fit on screen
+		trimEntryName(readName, FReq_Buffer[bufEntry].isDir);
+
+		if (FReq_Buffer[bufEntry].isDir)
+		{
+			// directory
+			charOut(FILENAME_TEXT_X, y, PAL_BLCKTXT, DIR_DELIMITER);
+			textOut(FILENAME_TEXT_X + FONT1_CHAR_W, y, PAL_BLCKTXT, readName);
+		}
+		else
+		{
+			// filename
+			textOut(FILENAME_TEXT_X, y, PAL_BLCKTXT, readName);
+		}
+
+		free(readName);
+
+		if (!FReq_Buffer[bufEntry].isDir)
+			printFormattedFilesize(FILESIZE_TEXT_X, y, bufEntry);
+	}
+
+	setScrollBarPos(SB_DISKOP_LIST, FReq_DirPos, true);
+	setScrollBarEnd(SB_DISKOP_LIST, FReq_FileCount);
+}
+
+static DirRec *bufferCreateEmptyDir(void) // special case: creates a dir entry with a ".." directory
+{
+	DirRec *dirEntry;
+
+	dirEntry = (DirRec *)malloc(sizeof (DirRec));
+	if (dirEntry == NULL)
+		return NULL;
+
+	dirEntry->nameU = UNICHAR_STRDUP(PARENT_DIR_STR);
+	if (dirEntry->nameU == NULL)
+	{
+		free(dirEntry);
+		return NULL;
+	}
+
+	dirEntry->isDir = true;
+	dirEntry->filesize = 0;
+
+	return dirEntry;
+}
+
+static int32_t SDLCALL diskOp_ReadDirectoryThread(void *ptr)
+{
+	uint8_t lastFindFileFlag;
+	DirRec tmpBuffer, *newPtr;
+
+	(void)ptr;
+
+	FReq_DirPos = 0;
+
+	// free old buffer
+	freeDirRecBuffer();
+
+	// read first file
+	lastFindFileFlag = findFirst(&tmpBuffer);
+	if (lastFindFileFlag != LFF_DONE && lastFindFileFlag != LFF_SKIP)
+	{
+		FReq_Buffer = (DirRec *)malloc(sizeof (DirRec) * (FReq_FileCount + 1));
+		if (FReq_Buffer == NULL)
+		{
+			findClose();
+
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+
+			FReq_Buffer = bufferCreateEmptyDir();
+			if (FReq_Buffer != NULL)
+				FReq_FileCount = 1;
+			else
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+
+			setMouseBusy(false);
+			return false;
+		}
+
+		memcpy(&FReq_Buffer[FReq_FileCount], &tmpBuffer, sizeof (DirRec));
+		FReq_FileCount++;
+	}
+
+	// read remaining files
+	while (lastFindFileFlag != LFF_DONE)
+	{
+		lastFindFileFlag = findNext(&tmpBuffer);
+		if (lastFindFileFlag != LFF_DONE && lastFindFileFlag != LFF_SKIP)
+		{
+			newPtr = (DirRec *)realloc(FReq_Buffer, sizeof (DirRec) * (FReq_FileCount + 1));
+			if (newPtr == NULL)
+			{
+				freeDirRecBuffer();
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				break;
+			}
+
+			FReq_Buffer = newPtr;
+
+			memcpy(&FReq_Buffer[FReq_FileCount], &tmpBuffer, sizeof (DirRec));
+			FReq_FileCount++;
+		}
+	}
+
+	findClose();
+
+	if (FReq_FileCount > 0)
+	{
+		sortDirectory();
+	}
+	else
+	{
+		// access denied or out of memory - create parent directory link
+		FReq_Buffer = bufferCreateEmptyDir();
+		if (FReq_Buffer != NULL)
+			FReq_FileCount = 1;
+		else
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+	}
+
+	UNICHAR_GETCWD(FReq_CurPathU, PATH_MAX);
+	editor.diskOpReadDone = true;
+
+	setMouseBusy(false);
+
+	return true;
+}
+
+void startDiskOpFillThread(void)
+{
+	editor.diskOpReadDone = false;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(diskOp_ReadDirectoryThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		editor.diskOpReadDone = true;
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static void drawSaveAsElements(void)
+{
+	switch (FReq_Item)
+	{
+		default:
+		case DISKOP_ITEM_MODULE:
+		{
+			textOutShadow(19, 101, PAL_FORGRND, PAL_DSKTOP2, "MOD");
+			textOutShadow(19, 115, PAL_FORGRND, PAL_DSKTOP2, "XM");
+			textOutShadow(19, 129, PAL_FORGRND, PAL_DSKTOP2, "WAV");
+		}
+		break;
+
+		case DISKOP_ITEM_INSTR:
+			textOutShadow(19, 101, PAL_FORGRND, PAL_DSKTOP2, "XI");
+		break;
+
+		case DISKOP_ITEM_SAMPLE:
+		{
+			textOutShadow(19, 101, PAL_FORGRND, PAL_DSKTOP2, "RAW");
+			textOutShadow(19, 115, PAL_FORGRND, PAL_DSKTOP2, "IFF");
+			textOutShadow(19, 129, PAL_FORGRND, PAL_DSKTOP2, "WAV");
+		}
+		break;
+
+		case DISKOP_ITEM_PATTERN:
+			textOutShadow(19, 101, PAL_FORGRND, PAL_DSKTOP2, "XP");
+		break;
+
+		case DISKOP_ITEM_TRACK:
+			textOutShadow(19, 101, PAL_FORGRND, PAL_DSKTOP2, "XT");
+		break;
+	}
+}
+
+static void setDiskOpItemRadioButtons(void)
+{
+	uncheckRadioButtonGroup(RB_GROUP_DISKOP_MOD_SAVEAS);
+	uncheckRadioButtonGroup(RB_GROUP_DISKOP_INS_SAVEAS);
+	uncheckRadioButtonGroup(RB_GROUP_DISKOP_SMP_SAVEAS);
+	uncheckRadioButtonGroup(RB_GROUP_DISKOP_PAT_SAVEAS);
+	uncheckRadioButtonGroup(RB_GROUP_DISKOP_TRK_SAVEAS);
+
+	hideRadioButtonGroup(RB_GROUP_DISKOP_MOD_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_INS_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_SMP_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_PAT_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_TRK_SAVEAS);
+
+	if (editor.moduleSaveMode > 3)
+		editor.moduleSaveMode = 3;
+
+	if (editor.sampleSaveMode > 3)
+		editor.sampleSaveMode = 3;
+
+	radioButtons[RB_DISKOP_MOD_SAVEAS_MOD + editor.moduleSaveMode].state = RADIOBUTTON_CHECKED;
+	radioButtons[RB_DISKOP_SMP_SAVEAS_RAW + editor.sampleSaveMode].state = RADIOBUTTON_CHECKED;
+
+	if (FReq_Item == DISKOP_ITEM_INSTR)   radioButtons[RB_DISKOP_INS_SAVEAS_XI].state = RADIOBUTTON_CHECKED;
+	if (FReq_Item == DISKOP_ITEM_PATTERN) radioButtons[RB_DISKOP_PAT_SAVEAS_XP].state = RADIOBUTTON_CHECKED;
+	if (FReq_Item == DISKOP_ITEM_TRACK)   radioButtons[RB_DISKOP_TRK_SAVEAS_XT].state = RADIOBUTTON_CHECKED;
+
+	if (editor.ui.diskOpShown)
+	{
+		switch (FReq_Item)
+		{
+			default: case DISKOP_ITEM_MODULE:  showRadioButtonGroup(RB_GROUP_DISKOP_MOD_SAVEAS); break;
+			         case DISKOP_ITEM_INSTR:   showRadioButtonGroup(RB_GROUP_DISKOP_INS_SAVEAS); break;
+			         case DISKOP_ITEM_SAMPLE:  showRadioButtonGroup(RB_GROUP_DISKOP_SMP_SAVEAS); break;
+			         case DISKOP_ITEM_PATTERN: showRadioButtonGroup(RB_GROUP_DISKOP_PAT_SAVEAS); break;
+			         case DISKOP_ITEM_TRACK:   showRadioButtonGroup(RB_GROUP_DISKOP_TRK_SAVEAS); break;
+		}
+	}
+}
+
+static void setDiskOpItem(uint8_t item)
+{
+	int32_t pathLen;
+
+	hideRadioButtonGroup(RB_GROUP_DISKOP_MOD_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_INS_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_SMP_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_PAT_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_TRK_SAVEAS);
+
+	if (item > 4)
+		item = 4;
+
+	FReq_Item = item;
+	switch (FReq_Item)
+	{
+		default: case DISKOP_ITEM_MODULE:  FReq_FileName = modTmpFName; FReq_CurPathU = FReq_ModCurPathU; break;
+		         case DISKOP_ITEM_INSTR:   FReq_FileName = insTmpFName; FReq_CurPathU = FReq_InsCurPathU; break;
+		         case DISKOP_ITEM_SAMPLE:  FReq_FileName = smpTmpFName; FReq_CurPathU = FReq_SmpCurPathU; break;
+		         case DISKOP_ITEM_PATTERN: FReq_FileName = patTmpFName; FReq_CurPathU = FReq_PatCurPathU; break;
+		         case DISKOP_ITEM_TRACK:   FReq_FileName = trkTmpFName; FReq_CurPathU = FReq_TrkCurPathU; break;
+	}
+
+	pathLen = (int32_t)UNICHAR_STRLEN(FReq_CurPathU);
+	if (pathLen == 0)
+	{
+		memset(FReq_CurPathU, 0, (PATH_MAX + 2) * sizeof (UNICHAR));
+		UNICHAR_STRCPY(FReq_CurPathU, FReq_ModCurPathU);
+	}
+	else
+	{
+		UNICHAR_CHDIR(FReq_CurPathU);
+	}
+
+	textBoxes[TB_DISKOP_FILENAME].textPtr = FReq_FileName;
+
+	FReq_ShowAllFiles = false;
+
+	if (editor.ui.diskOpShown)
+	{
+		editor.diskOpReadDir = true;
+
+		fillRect(4, 101, 40, 38, PAL_DESKTOP);
+		drawSaveAsElements();
+		setDiskOpItemRadioButtons();
+
+		diskOp_DrawDirectory();
+		drawTextBox(TB_DISKOP_FILENAME);
+	}
+	else
+	{
+		editor.diskOpReadOnOpen = true;
+	}
+}
+
+static void drawDiskOpScreen(void)
+{
+	drawFramework(0,     0,  67,  86, FRAMEWORK_TYPE1);
+	drawFramework(67,    0,  64, 142, FRAMEWORK_TYPE1);
+	drawFramework(131,   0,  37, 142, FRAMEWORK_TYPE1);
+	drawFramework(0,    86,  67,  56, FRAMEWORK_TYPE1);
+	drawFramework(0,   142, 168,  31, FRAMEWORK_TYPE1);
+	drawFramework(168,   0, 164,   3, FRAMEWORK_TYPE1);
+	drawFramework(168, 170, 164,   3, FRAMEWORK_TYPE1);
+	drawFramework(332,   0,  24, 173, FRAMEWORK_TYPE1);
+	drawFramework(30,  157, 136,  14, FRAMEWORK_TYPE2);
+
+	clearRect(168, 2, 164, 168);
+
+	showPushButton(PB_DISKOP_SAVE);
+	showPushButton(PB_DISKOP_DELETE);
+	showPushButton(PB_DISKOP_RENAME);
+	showPushButton(PB_DISKOP_MAKEDIR);
+	showPushButton(PB_DISKOP_REFRESH);
+	showPushButton(PB_DISKOP_EXIT);
+	showPushButton(PB_DISKOP_PARENT);
+	showPushButton(PB_DISKOP_ROOT);
+	showPushButton(PB_DISKOP_SHOW_ALL);
+	showPushButton(PB_DISKOP_SET_PATH);
+	showPushButton(PB_DISKOP_LIST_UP);
+	showPushButton(PB_DISKOP_LIST_DOWN);
+
+	showScrollBar(SB_DISKOP_LIST);
+	showTextBox(TB_DISKOP_FILENAME);
+
+	textBoxes[TB_DISKOP_FILENAME].textPtr = FReq_FileName;
+
+	if (FReq_Item > 4)
+		FReq_Item = 4;
+
+	uncheckRadioButtonGroup(RB_GROUP_DISKOP_ITEM);
+	radioButtons[RB_DISKOP_MODULE + FReq_Item].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_DISKOP_ITEM);
+
+	// item selector
+	textOutShadow(5,   3, PAL_FORGRND, PAL_DSKTOP2, "Item:");
+	textOutShadow(19, 17, PAL_FORGRND, PAL_DSKTOP2, "Module");
+	textOutShadow(19, 31, PAL_FORGRND, PAL_DSKTOP2, "Instr.");
+	textOutShadow(19, 45, PAL_FORGRND, PAL_DSKTOP2, "Sample");
+	textOutShadow(19, 59, PAL_FORGRND, PAL_DSKTOP2, "Pattern");
+	textOutShadow(19, 73, PAL_FORGRND, PAL_DSKTOP2, "Track");
+
+	// file format
+	textOutShadow(5,  89, PAL_FORGRND, PAL_DSKTOP2, "Save as:");
+	drawSaveAsElements();
+	setDiskOpItemRadioButtons();
+
+	// filename
+	textOutShadow(4, 159, PAL_FORGRND, PAL_DSKTOP2, "File:");
+
+	diskOp_DrawDirectory();
+}
+
+void showDiskOpScreen(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	editor.ui.diskOpShown = true;
+	editor.ui.scopesShown = false;
+
+	showTopRightMainScreen();
+	drawDiskOpScreen();
+
+	// a flag that says if we need to update the filelist after disk op. was shown
+	if (editor.diskOpReadOnOpen)
+	{
+		editor.diskOpReadOnOpen = false;
+		startDiskOpFillThread();
+	}
+}
+
+void hideDiskOpScreen(void)
+{
+#ifdef _WIN32
+	for (uint16_t i = 0; i < DISKOP_MAX_DRIVE_BUTTONS; i++)
+		hidePushButton(PB_DISKOP_DRIVE1 + i);
+#endif
+
+	hidePushButton(PB_DISKOP_SAVE);
+	hidePushButton(PB_DISKOP_DELETE);
+	hidePushButton(PB_DISKOP_RENAME);
+	hidePushButton(PB_DISKOP_MAKEDIR);
+	hidePushButton(PB_DISKOP_REFRESH);
+	hidePushButton(PB_DISKOP_EXIT);
+	hidePushButton(PB_DISKOP_PARENT);
+	hidePushButton(PB_DISKOP_ROOT);
+	hidePushButton(PB_DISKOP_SHOW_ALL);
+	hidePushButton(PB_DISKOP_SET_PATH);
+	hidePushButton(PB_DISKOP_LIST_UP);
+	hidePushButton(PB_DISKOP_LIST_DOWN);
+
+	hideScrollBar(SB_DISKOP_LIST);
+	hideTextBox(TB_DISKOP_FILENAME);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_ITEM);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_MOD_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_INS_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_SMP_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_PAT_SAVEAS);
+	hideRadioButtonGroup(RB_GROUP_DISKOP_TRK_SAVEAS);
+
+	editor.ui.diskOpShown = false;
+}
+
+void exitDiskOpScreen(void)
+{
+	hideDiskOpScreen();
+	editor.ui.oldTopLeftScreen = 0; // disk op. ignores previously opened top screens
+	showTopScreen(true);
+}
+
+void toggleDiskOpScreen(void)
+{
+	if (editor.ui.diskOpShown)
+		exitDiskOpScreen();
+	else
+		showDiskOpScreen();
+}
+
+void sbDiskOpSetPos(uint32_t pos)
+{
+	if ((int32_t)pos != FReq_DirPos && FReq_FileCount > DISKOP_ENTRY_NUM)
+	{
+		FReq_DirPos = (int32_t)pos;
+		diskOp_DrawDirectory();
+	}
+}
+
+void pbDiskOpListUp(void)
+{
+	if (FReq_DirPos > 0 && FReq_FileCount > DISKOP_ENTRY_NUM)
+		scrollBarScrollUp(SB_DISKOP_LIST, 1);
+}
+
+void pbDiskOpListDown(void)
+{
+	if (FReq_DirPos < FReq_FileCount-DISKOP_ENTRY_NUM && FReq_FileCount > DISKOP_ENTRY_NUM)
+		scrollBarScrollDown(SB_DISKOP_LIST, 1);
+}
+
+void pbDiskOpParent(void)
+{
+	diskOpGoParent();
+}
+
+void pbDiskOpRoot(void)
+{
+#ifdef _WIN32
+	openDirectory(L"\\");
+#else
+	openDirectory("/");
+#endif
+}
+
+void pbDiskOpShowAll(void)
+{
+	FReq_ShowAllFiles = true;
+	editor.diskOpReadDir = true; // refresh dir
+}
+
+#ifdef _WIN32
+void pbDiskOpDrive1(void) { openDrive(logicalDriveNames[driveIndexes[0]]); }
+void pbDiskOpDrive2(void) { openDrive(logicalDriveNames[driveIndexes[1]]); }
+void pbDiskOpDrive3(void) { openDrive(logicalDriveNames[driveIndexes[2]]); }
+void pbDiskOpDrive4(void) { openDrive(logicalDriveNames[driveIndexes[3]]); }
+void pbDiskOpDrive5(void) { openDrive(logicalDriveNames[driveIndexes[4]]); }
+void pbDiskOpDrive6(void) { openDrive(logicalDriveNames[driveIndexes[5]]); }
+void pbDiskOpDrive7(void) { openDrive(logicalDriveNames[driveIndexes[6]]); }
+void pbDiskOpDrive8(void) { openDrive(logicalDriveNames[driveIndexes[7]]); }
+#endif
+
+void pbDiskOpDelete(void)
+{
+	setMouseMode(MOUSE_MODE_DELETE);
+}
+
+void pbDiskOpRename(void)
+{
+	setMouseMode(MOUSE_MODE_RENAME);
+}
+
+void pbDiskOpMakeDir(void)
+{
+	FReq_NameTemp[0] = '\0';
+	if (inputBox(1, "Enter directory name:", FReq_NameTemp, PATH_MAX - 1) == 1)
+	{
+		if (FReq_NameTemp[0] == '\0')
+		{
+			okBox(0, "System message", "Name can't be empty!");
+			return;
+		}
+
+		if (makeDirAnsi(FReq_NameTemp))
+			editor.diskOpReadDir = true;
+		else
+			okBox(0, "System message", "Couldn't create directory: Access denied, or a dir with the same name already exists!");
+	}
+}
+
+void pbDiskOpRefresh(void)
+{
+	editor.diskOpReadDir = true; // refresh dir
+#ifdef _WIN32
+	setupDiskOpDrives();
+#endif
+}
+
+void pbDiskOpSetPath(void)
+{
+	FReq_NameTemp[0] = '\0';
+	if (inputBox(1, "Enter new directory path:", FReq_NameTemp, PATH_MAX - 1) == 1)
+	{
+		if (FReq_NameTemp[0] == '\0')
+		{
+			okBox(0, "System message", "Name can't be empty!");
+			return;
+		}
+
+		if (chdir(FReq_NameTemp) == 0)
+			editor.diskOpReadDir = true;
+		else
+			okBox(0, "System message", "Couldn't set directory path!");
+	}
+}
+
+void pbDiskOpExit(void)
+{
+	exitDiskOpScreen();
+}
+
+void rbDiskOpModule(void)
+{
+	checkRadioButton(RB_DISKOP_MODULE);
+	setDiskOpItem(DISKOP_ITEM_MODULE);
+}
+
+void rbDiskOpInstr(void)
+{
+	checkRadioButton(RB_DISKOP_INSTR);
+	setDiskOpItem(DISKOP_ITEM_INSTR);
+}
+
+void rbDiskOpSample(void)
+{
+	checkRadioButton(RB_DISKOP_SAMPLE);
+	setDiskOpItem(DISKOP_ITEM_SAMPLE);
+}
+
+void rbDiskOpPattern(void)
+{
+	checkRadioButton(RB_DISKOP_PATTERN);
+	setDiskOpItem(DISKOP_ITEM_PATTERN);
+}
+
+void rbDiskOpTrack(void)
+{
+	checkRadioButton(RB_DISKOP_TRACK);
+	setDiskOpItem(DISKOP_ITEM_TRACK);
+}
+
+void rbDiskOpModSaveMod(void)
+{
+	editor.moduleSaveMode = MOD_SAVE_MODE_MOD;
+	checkRadioButton(RB_DISKOP_MOD_SAVEAS_MOD);
+	diskOpChangeFilenameExt(".mod");
+
+	updateCurrSongFilename(); // for window title
+	updateWindowTitle(true);
+}
+
+void rbDiskOpModSaveXm(void)
+{
+	editor.moduleSaveMode = MOD_SAVE_MODE_XM;
+	checkRadioButton(RB_DISKOP_MOD_SAVEAS_XM);
+	diskOpChangeFilenameExt(".xm");
+
+	updateCurrSongFilename(); // for window title
+	updateWindowTitle(true);
+}
+
+void rbDiskOpModSaveWav(void)
+{
+	editor.moduleSaveMode = MOD_SAVE_MODE_WAV;
+	checkRadioButton(RB_DISKOP_MOD_SAVEAS_WAV);
+	diskOpChangeFilenameExt(".wav");
+
+	updateCurrSongFilename(); // for window title
+	updateWindowTitle(true);
+}
+
+void rbDiskOpSmpSaveRaw(void)
+{
+	editor.sampleSaveMode = SMP_SAVE_MODE_RAW;
+	checkRadioButton(RB_DISKOP_SMP_SAVEAS_RAW);
+	diskOpChangeFilenameExt(".raw");
+}
+
+void rbDiskOpSmpSaveIff(void)
+{
+	editor.sampleSaveMode = SMP_SAVE_MODE_IFF;
+	checkRadioButton(RB_DISKOP_SMP_SAVEAS_IFF);
+	diskOpChangeFilenameExt(".iff");
+}
+
+void rbDiskOpSmpSaveWav(void)
+{
+	editor.sampleSaveMode = SMP_SAVE_MODE_WAV;
+	checkRadioButton(RB_DISKOP_SMP_SAVEAS_WAV);
+	diskOpChangeFilenameExt(".wav");
+}
--- /dev/null
+++ b/src/ft2_diskop.h
@@ -1,0 +1,83 @@
+#pragma once
+
+#include <stdint.h>
+#include "ft2_unicode.h"
+
+#define DISKOP_ENTRY_NUM 15
+
+enum
+{
+	DISKOP_ITEM_MODULE = 0,
+	DISKOP_ITEM_INSTR = 1,
+	DISKOP_ITEM_SAMPLE = 2,
+	DISKOP_ITEM_PATTERN = 3,
+	DISKOP_ITEM_TRACK = 4,
+
+	MOD_SAVE_MODE_MOD = 0,
+	MOD_SAVE_MODE_XM = 1,
+	MOD_SAVE_MODE_WAV = 2,
+	SMP_SAVE_MODE_RAW = 0,
+	SMP_SAVE_MODE_IFF = 1,
+	SMP_SAVE_MODE_WAV = 2
+};
+
+int32_t getFileSize(UNICHAR *fileName);
+uint8_t getDiskOpItem(void);
+void updateCurrSongFilename(void); // for window title
+char *getCurrSongFilename(void); // for window title
+char *getDiskOpFilename(void);
+const UNICHAR *getDiskOpCurPath(void);
+const UNICHAR *getDiskOpModPath(void);
+const UNICHAR *getDiskOpSmpPath(void);
+void changeFilenameExt(char *name, char *ext, int32_t nameMaxLen);
+void diskOpChangeFilenameExt(char *ext);
+void freeDiskOp(void);
+bool setupDiskOp(void);
+void diskOpSetFilename(uint8_t type, UNICHAR *pathU);
+void sanitizeFilename(const char *src);
+bool diskOpGoParent(void);
+void pbDiskOpRoot(void);
+int32_t getExtOffset(char *s, int32_t stringLen); // get byte offset of file extension (last '.')
+bool testDiskOpMouseDown(bool mouseHeldDown);
+void testDiskOpMouseRelease(void);
+void startDiskOpFillThread(void);
+void diskOp_DrawDirectory(void);
+void showDiskOpScreen(void);
+void hideDiskOpScreen(void);
+void exitDiskOpScreen(void);
+void toggleDiskOpScreen(void);
+void sbDiskOpSetPos(uint32_t pos);
+void pbDiskOpListUp(void);
+void pbDiskOpListDown(void);
+void pbDiskOpParent(void);
+void pbDiskOpShowAll(void);
+#ifdef _WIN32
+void pbDiskOpDrive1(void);
+void pbDiskOpDrive2(void);
+void pbDiskOpDrive3(void);
+void pbDiskOpDrive4(void);
+void pbDiskOpDrive5(void);
+void pbDiskOpDrive6(void);
+void pbDiskOpDrive7(void);
+void pbDiskOpDrive8(void);
+#endif
+void pbDiskOpSave(void);
+void pbDiskOpDelete(void);
+void pbDiskOpRename(void);
+void pbDiskOpMakeDir(void);
+void pbDiskOpRefresh(void);
+void pbDiskOpSetPath(void);
+void pbDiskOpExit(void);
+void rbDiskOpModule(void);
+void rbDiskOpInstr(void);
+void rbDiskOpSample(void);
+void rbDiskOpPattern(void);
+void rbDiskOpTrack(void);
+void rbDiskOpModSaveXm(void);
+void rbDiskOpModSaveMod(void);
+void rbDiskOpModSaveWav(void);
+void rbDiskOpSmpSaveWav(void);
+void rbDiskOpSmpSaveRaw(void);
+void rbDiskOpSmpSaveIff(void);
+void trimEntryName(char *name, bool isDir);
+bool fileExistsAnsi(char *str);
--- /dev/null
+++ b/src/ft2_edit.c
@@ -1,0 +1,1982 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_keyboard.h"
+#include "ft2_audio.h"
+#include "ft2_midi.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_sysreqs.h"
+#include "ft2_textboxes.h"
+
+enum
+{
+	KEYTYPE_NUM = 0,
+	KEYTYPE_ALPHA = 1
+};
+
+static double dVolScaleFK1 = 1.0, dVolScaleFK2 = 1.0;
+
+// for block cut/copy/paste
+static bool blockCopied;
+static int16_t markXSize, markYSize;
+static uint16_t ptnBufLen, trkBufLen;
+
+// for transposing - these are set and tested accordingly
+static int8_t lastTranspVal;
+static uint8_t lastInsMode, lastTranspMode;
+static uint32_t transpDelNotes; // count of under-/overflowing notes for warning message
+static tonTyp clearNote;
+
+static tonTyp blkCopyBuff[MAX_PATT_LEN * MAX_VOICES];
+static tonTyp ptnCopyBuff[MAX_PATT_LEN * MAX_VOICES];
+static tonTyp trackCopyBuff[MAX_PATT_LEN];
+
+static const int8_t tickArr[16] = { 16, 8, 0, 4, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 1 };
+
+static const SDL_Keycode key2VolTab[] = 
+{
+	SDLK_0, SDLK_1, SDLK_2, SDLK_3, SDLK_4, SDLK_MINUS, SDLK_PLUS, SDLK_d,
+	SDLK_u, SDLK_s, SDLK_v, SDLK_p, SDLK_l, SDLK_r, SDLK_m
+};
+#define KEY2VOL_ENTRIES (signed)(sizeof (key2VolTab) / sizeof (SDL_Keycode))
+
+static const SDL_Keycode key2EfxTab[] = 
+{
+	SDLK_0, SDLK_1, SDLK_2, SDLK_3, SDLK_4, SDLK_5, SDLK_6, SDLK_7,
+	SDLK_8, SDLK_9, SDLK_a, SDLK_b, SDLK_c, SDLK_d, SDLK_e, SDLK_f,
+	SDLK_g, SDLK_h, SDLK_i, SDLK_j, SDLK_k, SDLK_l, SDLK_m, SDLK_n,
+	SDLK_o, SDLK_p, SDLK_q, SDLK_r, SDLK_s, SDLK_t, SDLK_u, SDLK_v,
+	SDLK_w, SDLK_x, SDLK_y, SDLK_z
+};
+#define KEY2EFX_ENTRIES (signed)(sizeof (key2EfxTab) / sizeof (SDL_Keycode))
+
+static const SDL_Keycode key2HexTab[] = 
+{
+	SDLK_0, SDLK_1, SDLK_2, SDLK_3, SDLK_4, SDLK_5, SDLK_6, SDLK_7,
+	SDLK_8, SDLK_9, SDLK_a, SDLK_b, SDLK_c, SDLK_d, SDLK_e, SDLK_f
+};
+#define KEY2HEX_ENTRIES (signed)(sizeof (key2HexTab) / sizeof (SDL_Keycode))
+
+void recordNote(uint8_t note, int8_t vol);
+
+// when the cursor is at the note slot
+static bool testNoteKeys(SDL_Scancode scancode)
+{
+	int8_t noteNum = scancodeKeyToNote(scancode);
+	if (noteNum > 0 && noteNum <= 96)
+	{
+		recordNote(noteNum, -1);
+		return true; // note key pressed (and note triggered)
+	}
+
+	return false; // no note key pressed
+}
+
+// when the cursor is at the note slot
+void testNoteKeysRelease(SDL_Scancode scancode)
+{
+	int8_t noteNum = scancodeKeyToNote(scancode); // convert key scancode to note number
+	if (noteNum > 0 && noteNum <= 96)
+		recordNote(noteNum, 0); // release note
+}
+
+static bool testEditKeys(SDL_Scancode scancode, SDL_Keycode keycode)
+{
+	int8_t i;
+	uint8_t oldVal;
+	uint16_t pattLen;
+	tonTyp *ton;
+
+	if (editor.cursor.object == CURSOR_NOTE)
+	{
+		// the edit cursor is at the note slot
+
+		if (testNoteKeys(scancode))
+		{
+			keyb.keyRepeat = (playMode == PLAYMODE_EDIT); // repeat keys only if in edit mode
+			return true; // we jammed an instrument
+		}
+
+		return false; // no note key pressed, test other keys
+	}
+
+	if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECSONG && playMode != PLAYMODE_RECPATT)
+		return false; // we're not editing, test other keys
+
+	// convert key to slot data
+
+	if (editor.cursor.object == CURSOR_VOL1)
+	{
+		// volume column effect type (mixed keys)
+
+		for (i = 0; i < KEY2VOL_ENTRIES; i++)
+		{
+			if (keycode == key2VolTab[i])
+				break;
+		}
+
+		if (i == KEY2VOL_ENTRIES)
+			i = -1; // invalid key for slot
+	}
+	else if (editor.cursor.object == CURSOR_EFX0)
+	{
+		// effect type (mixed keys)
+
+		for (i = 0; i < KEY2EFX_ENTRIES; i++)
+		{
+			if (keycode == key2EfxTab[i])
+				break;
+		}
+
+		if (i == KEY2EFX_ENTRIES)
+			i = -1; // invalid key for slot
+	}
+	else
+	{
+		// all other slots (hex keys)
+
+		for (i = 0; i < KEY2HEX_ENTRIES; i++)
+		{
+			if (keycode == key2HexTab[i])
+				break;
+		}
+
+		if (i == KEY2HEX_ENTRIES)
+			i = -1; // invalid key for slot
+	}
+
+	if (i == -1 || !allocatePattern(editor.editPattern))
+		return false; // no edit to be done
+
+	// insert slot data
+
+	ton = &patt[editor.editPattern][(editor.pattPos * MAX_VOICES) + editor.cursor.ch];
+	switch (editor.cursor.object)
+	{
+		case CURSOR_INST1:
+		{
+			oldVal = ton->instr;
+
+			ton->instr = (ton->instr & 0x0F) | (i << 4);
+			if (ton->instr > MAX_INST)
+				ton->instr = MAX_INST;
+
+			if (ton->instr != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		case CURSOR_INST2:
+		{
+			oldVal = ton->instr;
+			ton->instr = (ton->instr & 0xF0) | i;
+
+			if (ton->instr != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		case CURSOR_VOL1:
+		{
+			oldVal = ton->vol;
+
+			ton->vol = (ton->vol & 0x0F) | ((i + 1) << 4);
+			if (ton->vol >= 0x51 && ton->vol <= 0x5F)
+				ton->vol = 0x50;
+
+			if (ton->vol != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		case CURSOR_VOL2:
+		{
+			oldVal = ton->vol;
+
+			if (ton->vol < 0x10)
+				ton->vol = 0x10 + i;
+			else
+				ton->vol = (ton->vol & 0xF0) | i;
+
+			if (ton->vol >= 0x51 && ton->vol <= 0x5F)
+				ton->vol = 0x50;
+
+			if (ton->vol != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		case CURSOR_EFX0:
+		{
+			oldVal = ton->effTyp;
+
+			ton->effTyp = i;
+
+			if (ton->effTyp != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		case CURSOR_EFX1:
+		{
+			oldVal = ton->eff;
+
+			ton->eff = (ton->eff & 0x0F) | (i << 4);
+
+			if (ton->eff != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		case CURSOR_EFX2:
+		{
+			oldVal = ton->eff;
+
+			ton->eff = (ton->eff & 0xF0) | i;
+
+			if (ton->eff != oldVal)
+				setSongModifiedFlag();
+		}
+		break;
+
+		default: break;
+	}
+
+	// increase row (only in edit mode)
+
+	pattLen = pattLens[editor.editPattern];
+	if (playMode == PLAYMODE_EDIT && pattLen >= 1)
+		setPos(-1, (editor.pattPos + editor.ID_Add) % pattLen);
+
+	if (i == 0) // if we inserted a zero, check if pattern is empty, for killing
+		killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	return true;
+}
+
+// directly ported from the original FT2 code (fun fact: named EvulateTimeStamp() in the FT2 code)
+static void evaluateTimeStamp(int16_t *songPos, int16_t *pattNr, int16_t *pattPos, int16_t *tick)
+{
+	int16_t nr, t, p, r, sp, row;
+	uint16_t pattLen;
+
+	sp = editor.songPos;
+	nr = editor.editPattern;
+	row = editor.pattPos;
+	t = editor.tempo - editor.timer;
+
+	t = CLAMP(t, 0, editor.tempo - 1);
+
+	// this is needed, but also breaks quantization on speed>15
+	if (t > 15)
+		t = 15;
+
+	pattLen = pattLens[nr];
+
+	if (config.recQuant > 0)
+	{
+		if (config.recQuantRes >= 16)
+		{
+			t += (editor.tempo >> 1) + 1;
+		}
+		else
+		{
+			r = tickArr[config.recQuantRes-1];
+
+			p = row & (r - 1);
+			if (p < (r >> 1))
+				row -= p;
+			else
+				row = (row + r) - p;
+
+			t = 0;
+		}
+	}
+
+	if (t > editor.tempo)
+	{
+		t -= editor.tempo;
+		row++;
+	}
+
+	if (row >= pattLen)
+	{
+		if (playMode == PLAYMODE_RECSONG)
+			sp++;
+
+		row = 0;
+		if (sp >= song.len)
+			sp = song.repS;
+
+		nr = song.songTab[sp];
+	}
+
+	*songPos = sp;
+	*pattNr = nr;
+	*pattPos = row;
+	*tick = t;
+}
+
+// directly ported from the original FT2 code - what a mess, but it works...
+void recordNote(uint8_t note, int8_t vol)
+{
+	int8_t i, k, c, editmode, recmode;
+	int16_t nr, sp, oldpattpos, pattpos, tick;
+	uint16_t pattLen;
+	int32_t time;
+	tonTyp *noteData;
+
+	oldpattpos = editor.pattPos;
+
+	if (songPlaying)
+	{
+		// row quantization
+		evaluateTimeStamp(&sp, &nr, &pattpos, &tick);
+	}
+	else
+	{
+		sp = editor.songPos;
+		nr = editor.editPattern;
+		pattpos = editor.pattPos;
+		tick = 0;
+	}
+
+	editmode = (playMode == PLAYMODE_EDIT);
+	recmode = (playMode == PLAYMODE_RECSONG) || (playMode == PLAYMODE_RECPATT);
+
+	if (note == 97)
+		vol = 0;
+
+	c = -1;
+	k = -1;
+
+	if (editmode || recmode)
+	{
+		// find out what channel is the most suitable in edit/record mode
+
+		if ((config.multiEdit && editmode) || (config.multiRec && recmode))
+		{
+			time = 0x7FFFFFFF;
+			for (i = 0; i < song.antChn; i++)
+			{
+				if (editor.chnMode[i] && config.multiRecChn[i] && editor.keyOffTime[i] < time && editor.keyOnTab[i] == 0)
+				{
+					c = i;
+					time = editor.keyOffTime[i];
+				}
+			}
+		}
+		else
+		{
+			c = editor.cursor.ch;
+		}
+
+		for (i = 0; i < song.antChn; i++)
+		{
+			if (note == editor.keyOnTab[i] && config.multiRecChn[i])
+				k = i;
+		}
+	}
+	else
+	{
+		// find out what channel is the most suitable in idle/play mode (jamming)
+		if (config.multiKeyJazz)
+		{
+			time = 0x7FFFFFFF;
+			c = 0;
+
+			if (songPlaying)
+			{
+				for (i = 0; i < song.antChn; i++)
+				{
+					if (editor.keyOffTime[i] < time && editor.keyOnTab[i] == 0 && config.multiRecChn[i])
+					{
+						c = i;
+						time = editor.keyOffTime[i];
+					}
+				}
+			}
+
+			if (time == 0x7FFFFFFF)
+			{
+				for (i = 0; i < song.antChn; i++)
+				{
+					if (editor.keyOffTime[i] < time && editor.keyOnTab[i] == 0)
+					{
+						c = i;
+						time = editor.keyOffTime[i];
+					}
+				}
+			}
+		}
+		else
+		{
+			c = editor.cursor.ch;
+		}
+
+		for (i = 0; i < song.antChn; i++)
+		{
+			if (note == editor.keyOnTab[i])
+				k = i;
+		}
+	}
+
+	if (vol != 0)
+	{
+		if (c < 0 || (k >= 0 && (config.multiEdit || (recmode || !editmode))))
+			return;
+
+		// play note
+
+		editor.keyOnTab[c] = note;
+
+		if (pattpos >= oldpattpos) // non-FT2 fix: only do this if we didn't quantize to next row
+			playTone(c, editor.curInstr, note, vol, midi.currMIDIVibDepth, midi.currMIDIPitch);
+
+		if (editmode || recmode)
+		{
+			if (allocatePattern(nr))
+			{
+				pattLen  = pattLens[nr];
+				noteData = &patt[nr][(pattpos * MAX_VOICES) + c];
+
+				// insert data
+				noteData->ton = note;
+				if (editor.curInstr > 0)
+					noteData->instr = editor.curInstr;
+
+				if (vol >= 0)
+					noteData->vol = 0x10 + vol;
+
+				if (!recmode)
+				{
+					// increase row (only in edit mode)
+					if (pattLen >= 1)
+						setPos(-1, (editor.pattPos + editor.ID_Add) % pattLen);
+				}
+				else
+				{
+					// apply tick delay for note if quantization is disabled
+					if (!config.recQuant && tick > 0)
+					{
+						noteData->effTyp = 0x0E;
+						noteData->eff = 0xD0 + (tick & 0x0F);
+					}
+				}
+
+				editor.ui.updatePatternEditor = true;
+				setSongModifiedFlag();
+			}
+		}
+	}
+	else
+	{
+		// note off
+
+		if (k != -1)
+			c = k;
+
+		if (c < 0)
+			return;
+
+		editor.keyOnTab[c]   = 0;
+		editor.keyOffTime[c] = ++editor.keyOffNr;
+
+		if (pattpos >= oldpattpos) // non-FT2 fix: only do this if we didn't quantize to next row
+			playTone(c, editor.curInstr, 97, vol, midi.currMIDIVibDepth, midi.currMIDIPitch);
+
+		if (config.recRelease && recmode)
+		{
+			if (allocatePattern(nr))
+			{
+				// insert data
+
+				pattLen = pattLens[nr];
+				noteData = &patt[nr][(pattpos * MAX_VOICES) + c];
+
+				if (noteData->ton != 0)
+					pattpos++;
+
+				if (pattpos >= pattLen)
+				{
+					if (songPlaying)
+						sp++;
+
+					if (sp >= song.len)
+						sp  = song.repS;
+
+					nr = song.songTab[sp];
+					pattpos = 0;
+					pattLen = pattLens[nr];
+				}
+
+				noteData = &patt[nr][(pattpos * MAX_VOICES) + c];
+				noteData->ton = 97;
+
+				if (!recmode)
+				{
+					// increase row (only in edit mode)
+					if (pattLen >= 1)
+						setPos(-1, (editor.pattPos + editor.ID_Add) % pattLen);
+				}
+				else
+				{
+					// apply tick delay for note if quantization is disabled
+					if (!config.recQuant && tick > 0)
+					{
+						noteData->effTyp = 0x0E;
+						noteData->eff = 0xD0 + (tick & 0x0F);
+					}
+				}
+
+				editor.ui.updatePatternEditor = true;
+				setSongModifiedFlag();
+			}
+		}
+	}
+}
+
+bool handleEditKeys(SDL_Keycode keycode, SDL_Scancode scancode)
+{
+	bool frKeybHack;
+	uint16_t pattLen;
+	tonTyp *note;
+
+	// special case for delete - manipulate note data
+	if (keycode == SDLK_DELETE)
+	{
+		if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECSONG && playMode != PLAYMODE_RECPATT)
+			return false; // we're not editing, test other keys
+
+		if (patt[editor.editPattern] == NULL)
+			return true;
+
+		note = &patt[editor.editPattern][(editor.pattPos * MAX_VOICES) + editor.cursor.ch];
+
+		if (keyb.leftShiftPressed)
+		{
+			// delete all
+			memset(note, 0, sizeof (tonTyp));
+		}
+		else if (keyb.leftCtrlPressed)
+		{
+			// delete volume column + effect
+			note->vol = 0;
+			note->effTyp = 0;
+			note->eff = 0;
+		}
+		else if (keyb.leftAltPressed)
+		{
+			// delete effect
+			note->effTyp = 0;
+			note->eff = 0;
+		}
+		else
+		{
+			if (editor.cursor.object == CURSOR_VOL1 || editor.cursor.object == CURSOR_VOL2)
+			{
+				// delete volume column
+				note->vol = 0;
+			}
+			else
+			{
+				// delete note + instrument
+				note->ton = 0;
+				note->instr = 0;
+			}
+		}
+
+		killPatternIfUnused(editor.editPattern);
+
+		// increase row (only in edit mode)
+		pattLen = pattLens[editor.editPattern];
+		if (playMode == PLAYMODE_EDIT && pattLen >= 1)
+			setPos(-1, (editor.pattPos + editor.ID_Add) % pattLen);
+
+		editor.ui.updatePatternEditor = true;
+		setSongModifiedFlag();
+
+		return true;
+	}
+
+	// a kludge for french keyb. layouts to allow writing numbers in the pattern data with left SHIFT
+	frKeybHack = keyb.leftShiftPressed && !keyb.leftAltPressed && !keyb.leftCtrlPressed &&
+	               (scancode >= SDL_SCANCODE_1) && (scancode <= SDL_SCANCODE_0);
+
+	if (frKeybHack || !keyb.keyModifierDown)
+		return (testEditKeys(scancode, keycode));
+
+	return false;
+}
+
+void writeToMacroSlot(uint8_t slot)
+{
+	uint16_t writeVol, writeEff;
+	tonTyp *note;
+
+	writeVol = 0;
+	writeEff = 0;
+
+	if (patt[editor.editPattern] != NULL)
+	{
+		note = &patt[editor.editPattern][(editor.pattPos * MAX_VOICES) + editor.cursor.ch];
+		writeVol = note->vol;
+		writeEff = (note->effTyp << 8) | note->eff;
+	}
+
+	if (editor.cursor.object == CURSOR_VOL1 || editor.cursor.object == CURSOR_VOL2)
+		config.volMacro[slot] = writeVol;
+	else
+		config.comMacro[slot] = writeEff;
+}
+
+void writeFromMacroSlot(uint8_t slot)
+{
+	uint8_t effTyp;
+	uint16_t pattLen;
+	tonTyp *note;
+
+	if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECSONG && playMode != PLAYMODE_RECPATT)
+		return;
+
+	if (!allocatePattern(editor.editPattern))
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+	note = &patt[editor.editPattern][(editor.pattPos * MAX_VOICES) + editor.cursor.ch];
+
+	if (editor.cursor.object == CURSOR_VOL1 || editor.cursor.object == CURSOR_VOL2)
+	{
+		note->vol = (uint8_t)config.volMacro[slot];
+	}
+	else
+	{
+		effTyp = (uint8_t)(config.comMacro[slot] >> 8);
+		if (effTyp > 35)
+		{
+			// illegal effect
+			note->effTyp = 0;
+			note->eff = 0;
+		}
+		else
+		{
+			note->effTyp = effTyp;
+			note->eff = config.comMacro[slot] & 0xFF;
+		}
+	}
+
+	if (playMode == PLAYMODE_EDIT && pattLen >= 1)
+		setPos(-1, (editor.pattPos + editor.ID_Add) % pattLen);
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void insertPatternNote(void)
+{
+	int16_t nr, pattPos;
+	uint16_t pattLen;
+	tonTyp *pattPtr;
+
+	if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECPATT && playMode != PLAYMODE_RECSONG)
+		return;
+
+	nr = editor.editPattern;
+
+	pattPtr = patt[nr];
+	if (pattPtr == NULL)
+		return;
+
+	pattPos = editor.pattPos;
+	pattLen = pattLens[nr];
+
+	if (pattLen > 1)
+	{
+		for (int32_t i = pattLen-2; i >= pattPos; i--)
+			pattPtr[((i + 1) * MAX_VOICES) + editor.cursor.ch] = pattPtr[(i * MAX_VOICES) + editor.cursor.ch];
+	}
+
+	memset(&pattPtr[(pattPos * MAX_VOICES) + editor.cursor.ch], 0, sizeof (tonTyp));
+
+	killPatternIfUnused(nr);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void insertPatternLine(void)
+{
+	int16_t nr, pattLen, pattPos;
+	tonTyp *pattPtr;
+
+	if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECPATT && playMode != PLAYMODE_RECSONG)
+		return;
+
+	nr = editor.editPattern;
+
+	if (setPatternLen(nr, pattLens[nr] + config.recTrueInsert)) // config.recTrueInsert is 0 or 1
+	{
+		pattPtr = patt[nr];
+		if (pattPtr != NULL)
+		{
+			pattPos = editor.pattPos;
+			pattLen = pattLens[nr];
+
+			if (pattLen > 1)
+			{
+				for (int32_t i = pattLen-2; i >= pattPos; i--)
+				{
+					for (int32_t j = 0; j < MAX_VOICES; j++)
+						pattPtr[((i + 1) * MAX_VOICES) + j] = pattPtr[(i * MAX_VOICES) + j];
+				}
+			}
+
+			memset(&pattPtr[pattPos * MAX_VOICES], 0, TRACK_WIDTH);
+
+			killPatternIfUnused(nr);
+		}
+
+		editor.ui.updatePatternEditor = true;
+		setSongModifiedFlag();
+	}
+	else
+	{
+		okBox(0, "System message", "Not enough memory!");
+	}
+}
+
+void deletePatternNote(void)
+{
+	int16_t nr, pattPos;
+	uint16_t pattLen;
+	tonTyp *pattPtr;
+
+	if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECPATT && playMode != PLAYMODE_RECSONG)
+		return;
+
+	nr = editor.editPattern;
+	pattPos = editor.pattPos;
+	pattLen = pattLens[nr];
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr != NULL)
+	{
+		if (pattPos > 0)
+		{
+			pattPos--;
+			editor.pattPos = song.pattPos = pattPos;
+
+			for (int32_t i = pattPos; i < pattLen-1; i++)
+				pattPtr[(i * MAX_VOICES) + editor.cursor.ch] = pattPtr[((i + 1) * MAX_VOICES) + editor.cursor.ch];
+
+			memset(&pattPtr[((pattLen - 1) * MAX_VOICES) + editor.cursor.ch], 0, sizeof (tonTyp));
+		}
+	}
+	else
+	{
+		if (pattPos > 0)
+		{
+			pattPos--;
+			editor.pattPos = song.pattPos = pattPos;
+		}
+	}
+
+	killPatternIfUnused(nr);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void deletePatternLine(void)
+{
+	int16_t nr, pattPos;
+	uint16_t pattLen;
+	tonTyp *pattPtr;
+
+	if (playMode != PLAYMODE_EDIT && playMode != PLAYMODE_RECPATT && playMode != PLAYMODE_RECSONG)
+		return;
+
+	nr = editor.editPattern;
+	pattPos = editor.pattPos;
+	pattLen = pattLens[nr];
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr != NULL)
+	{
+		if (pattPos > 0)
+		{
+			pattPos--;
+			editor.pattPos = song.pattPos = pattPos;
+
+			for (int32_t i = pattPos; i < pattLen-1; i++)
+			{
+				for (int32_t j = 0; j < MAX_VOICES; j++)
+					pattPtr[(i * MAX_VOICES) + j] = pattPtr[((i + 1) * MAX_VOICES) + j];
+			}
+
+			memset(&pattPtr[(pattLen - 1) * MAX_VOICES], 0, TRACK_WIDTH);
+		}
+	}
+	else
+	{
+		if (pattPos > 0)
+		{
+			pattPos--;
+			editor.pattPos = song.pattPos = pattPos;
+		}
+	}
+
+	if (config.recTrueInsert && pattLen > 1)
+		setPatternLen(nr, pattLen - 1);
+
+	killPatternIfUnused(nr);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+// ----- TRANSPOSE FUNCTIONS -----
+
+static void countOverflowingNotes(uint8_t currInsOnly, uint8_t transpMode, int8_t addVal)
+{
+	uint8_t ton;
+	uint16_t p, pattLen, ch, row;
+	tonTyp *pattPtr;
+
+	transpDelNotes = 0;
+	switch (transpMode)
+	{
+		case TRANSP_TRACK:
+		{
+			pattPtr = patt[editor.editPattern];
+			if (pattPtr == NULL)
+				return; // empty pattern
+
+			pattPtr += editor.cursor.ch;
+
+			pattLen = pattLens[editor.editPattern];
+			for (row = 0; row < pattLen; row++)
+			{
+				ton = pattPtr->ton;
+				if ((ton >= 1 && ton <= 96) && (!currInsOnly || pattPtr->instr == editor.curInstr))
+				{
+					if ((int8_t)ton+addVal > 96 || (int8_t)ton+addVal <= 0)
+						transpDelNotes++;
+				}
+
+				pattPtr += MAX_VOICES;
+			}
+		}
+		break;
+
+		case TRANSP_PATT:
+		{
+			pattPtr = patt[editor.editPattern];
+			if (pattPtr == NULL)
+				return; // empty pattern
+
+			pattLen = pattLens[editor.editPattern];
+			for (row = 0; row < pattLen; row++)
+			{
+				for (ch = 0; ch < song.antChn; ch++)
+				{
+					ton = pattPtr->ton;
+					if ((ton >= 1 && ton <= 96) && (!currInsOnly || pattPtr->instr == editor.curInstr))
+					{
+						if ((int8_t)ton+addVal > 96 || (int8_t)ton+addVal <= 0)
+							transpDelNotes++;
+					}
+
+					pattPtr++;
+				}
+
+				pattPtr += MAX_VOICES - song.antChn;
+			}
+		}
+		break;
+
+		case TRANSP_SONG:
+		{
+			for (p = 0; p < MAX_PATTERNS; p++)
+			{
+				pattPtr = patt[p];
+				if (pattPtr == NULL)
+					continue; // empty pattern
+
+				pattLen = pattLens[p];
+				for (row = 0; row < pattLen; row++)
+				{
+					for (ch = 0; ch < song.antChn; ch++)
+					{
+						ton = pattPtr->ton;
+						if ((ton >= 1 && ton <= 96) && (!currInsOnly || pattPtr->instr == editor.curInstr))
+						{
+							if ((int8_t)ton+addVal > 96 || (int8_t)ton+addVal <= 0)
+								transpDelNotes++;
+						}
+
+						pattPtr++;
+					}
+
+					pattPtr += MAX_VOICES - song.antChn;
+				}
+			}
+		}
+		break;
+
+		case TRANSP_BLOCK:
+		{
+			if (pattMark.markY1 == pattMark.markY2)
+				return; // no pattern marking
+
+			pattPtr = patt[editor.editPattern];
+			if (pattPtr == NULL)
+				return; // empty pattern
+
+			pattPtr += (pattMark.markY1 * MAX_VOICES) + pattMark.markX1;
+
+			pattLen = pattLens[editor.editPattern];
+			for (row = pattMark.markY1; row < pattMark.markY2; row++)
+			{
+				for (ch = pattMark.markX1; ch <= pattMark.markX2; ch++)
+				{
+					ton = pattPtr->ton;
+					if ((ton >= 1 && ton <= 96) && (!currInsOnly || pattPtr->instr == editor.curInstr))
+					{
+						if ((int8_t)ton+addVal > 96 || (int8_t)ton+addVal <= 0)
+							transpDelNotes++;
+					}
+
+					pattPtr++;
+				}
+
+				pattPtr += MAX_VOICES - ((pattMark.markX2 + 1) - pattMark.markX1);
+			}
+		}
+		break;
+
+		default: break;
+	}
+}
+
+void doTranspose(void)
+{
+	char text[48];
+	uint8_t ton;
+	uint16_t p, pattLen, ch, row;
+	tonTyp *pattPtr;
+
+	countOverflowingNotes(lastInsMode, lastTranspMode, lastTranspVal);
+	if (transpDelNotes > 0)
+	{
+		sprintf(text, "%d note(s) will be erased! Proceed?", transpDelNotes);
+		if (okBox(2, "System request", text) != 1)
+			return;
+	}
+
+	// lastTranspVal is never <-12 or >12, so unsigned testing for >96 is safe
+	switch (lastTranspMode)
+	{
+		case TRANSP_TRACK:
+		{
+			pattPtr = patt[editor.editPattern];
+			if (pattPtr == NULL)
+				return; // empty pattern
+
+			pattPtr += editor.cursor.ch;
+
+			pattLen = pattLens[editor.editPattern];
+			for (row = 0; row < pattLen; row++)
+			{
+				ton = pattPtr->ton;
+				if ((ton >= 1 && ton <= 96) && (!lastInsMode || pattPtr->instr == editor.curInstr))
+				{
+					ton += lastTranspVal;
+					if (ton > 96)
+						ton = 0; // also handles underflow
+
+					pattPtr->ton = ton;
+				}
+
+				pattPtr += MAX_VOICES;
+			}
+		}
+		break;
+
+		case TRANSP_PATT:
+		{
+			pattPtr = patt[editor.editPattern];
+			if (pattPtr == NULL)
+				return; // empty pattern
+
+			pattLen = pattLens[editor.editPattern];
+			for (row = 0; row < pattLen; row++)
+			{
+				for (ch = 0; ch < song.antChn; ch++)
+				{
+					ton = pattPtr->ton;
+					if ((ton >= 1 && ton <= 96) && (!lastInsMode || pattPtr->instr == editor.curInstr))
+					{
+						ton += lastTranspVal;
+						if (ton > 96)
+							ton = 0; // also handles underflow
+
+						pattPtr->ton = ton;
+					}
+
+					pattPtr++;
+				}
+
+				pattPtr += MAX_VOICES - song.antChn;
+			}
+		}
+		break;
+
+		case TRANSP_SONG:
+		{
+			for (p = 0; p < MAX_PATTERNS; p++)
+			{
+				pattPtr = patt[p];
+				if (pattPtr == NULL)
+					continue; // empty pattern
+
+				pattLen  = pattLens[p];
+				for (row = 0; row < pattLen; row++)
+				{
+					for (ch = 0; ch < song.antChn; ch++)
+					{
+						ton = pattPtr->ton;
+						if ((ton >= 1 && ton <= 96) && (!lastInsMode || pattPtr->instr == editor.curInstr))
+						{
+							ton += lastTranspVal;
+							if (ton > 96)
+								ton = 0; // also handles underflow
+
+							pattPtr->ton = ton;
+						}
+
+						pattPtr++;
+					}
+
+					pattPtr += MAX_VOICES - song.antChn;
+				}
+			}
+		}
+		break;
+
+		case TRANSP_BLOCK:
+		{
+			if (pattMark.markY1 == pattMark.markY2)
+				return; // no pattern marking
+
+			pattPtr = patt[editor.editPattern];
+			if (pattPtr == NULL)
+				return; // empty pattern
+
+			pattPtr += (pattMark.markY1 * MAX_VOICES) + pattMark.markX1;
+
+			pattLen = pattLens[editor.editPattern];
+			for (row = pattMark.markY1; row < pattMark.markY2; row++)
+			{
+				for (ch = pattMark.markX1; ch <= pattMark.markX2; ch++)
+				{
+					ton = pattPtr->ton;
+					if ((ton >= 1 && ton <= 96) && (!lastInsMode || pattPtr->instr == editor.curInstr))
+					{
+						ton += lastTranspVal;
+						if (ton > 96)
+							ton = 0; // also handles underflow
+
+						pattPtr->ton = ton;
+					}
+
+					pattPtr++;
+				}
+
+				pattPtr += MAX_VOICES - ((pattMark.markX2 + 1) - pattMark.markX1);
+			}
+		}
+		break;
+
+		default: break;
+	}
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void trackTranspCurInsUp(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void trackTranspCurInsDn(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void trackTranspCurIns12Up(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void trackTranspCurIns12Dn(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void trackTranspAllInsUp(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void trackTranspAllInsDn(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void trackTranspAllIns12Up(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void trackTranspAllIns12Dn(void)
+{
+	lastTranspMode = TRANSP_TRACK;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void pattTranspCurInsUp(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void pattTranspCurInsDn(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void pattTranspCurIns12Up(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void pattTranspCurIns12Dn(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void pattTranspAllInsUp(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void pattTranspAllInsDn(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void pattTranspAllIns12Up(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void pattTranspAllIns12Dn(void)
+{
+	lastTranspMode = TRANSP_PATT;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void songTranspCurInsUp(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void songTranspCurInsDn(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void songTranspCurIns12Up(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void songTranspCurIns12Dn(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void songTranspAllInsUp(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void songTranspAllInsDn(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void songTranspAllIns12Up(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void songTranspAllIns12Dn(void)
+{
+	lastTranspMode = TRANSP_SONG;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void blockTranspCurInsUp(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void blockTranspCurInsDn(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void blockTranspCurIns12Up(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void blockTranspCurIns12Dn(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_CUR_INST;
+	doTranspose();
+}
+
+void blockTranspAllInsUp(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = 1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void blockTranspAllInsDn(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = -1;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void blockTranspAllIns12Up(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = 12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void blockTranspAllIns12Dn(void)
+{
+	lastTranspMode = TRANSP_BLOCK;
+	lastTranspVal = -12;
+	lastInsMode = TRANSP_ALL_INST;
+	doTranspose();
+}
+
+void copyNote(tonTyp *src, tonTyp *dst)
+{
+	if (editor.copyMaskEnable)
+	{
+		if (editor.copyMask[0]) dst->ton = src->ton;
+		if (editor.copyMask[1]) dst->instr = src->instr;
+		if (editor.copyMask[2]) dst->vol = src->vol;
+		if (editor.copyMask[3]) dst->effTyp = src->effTyp;
+		if (editor.copyMask[4]) dst->eff = src->eff;
+	}
+	else
+	{
+		*dst = *src;
+	}
+}
+
+void pasteNote(tonTyp *src, tonTyp *dst)
+{
+	if (editor.copyMaskEnable)
+	{
+		if (editor.copyMask[0] && (src->ton    != 0 || !editor.transpMask[0])) dst->ton = src->ton;
+		if (editor.copyMask[1] && (src->instr  != 0 || !editor.transpMask[1])) dst->instr = src->instr;
+		if (editor.copyMask[2] && (src->vol    != 0 || !editor.transpMask[2])) dst->vol = src->vol;
+		if (editor.copyMask[3] && (src->effTyp != 0 || !editor.transpMask[3])) dst->effTyp = src->effTyp;
+		if (editor.copyMask[4] && (src->eff    != 0 || !editor.transpMask[4])) dst->eff = src->eff;
+	}
+	else
+	{
+		*dst = *src;
+	}
+}
+
+void cutTrack(void)
+{
+	uint16_t i, pattLen;
+	tonTyp *pattPtr;
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr == NULL)
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	if (config.ptnCutToBuffer)
+	{
+		memset(trackCopyBuff, 0, MAX_PATT_LEN * sizeof (tonTyp));
+		for (i = 0; i < pattLen; i++)
+			copyNote(&pattPtr[(i * MAX_VOICES) + editor.cursor.ch], &trackCopyBuff[i]);
+
+		trkBufLen = pattLen;
+	}
+
+	pauseMusic();
+	for (i = 0; i < pattLen; i++)
+		pasteNote(&clearNote, &pattPtr[(i * MAX_VOICES) + editor.cursor.ch]);
+	resumeMusic();
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void copyTrack(void)
+{
+	uint16_t i, pattLen;
+	tonTyp *pattPtr;
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr == NULL)
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	memset(trackCopyBuff, 0, MAX_PATT_LEN * sizeof (tonTyp));
+	for (i = 0; i < pattLen; i++)
+		copyNote(&pattPtr[(i * MAX_VOICES) + editor.cursor.ch], &trackCopyBuff[i]);
+
+	trkBufLen = pattLen;
+}
+
+void pasteTrack(void)
+{
+	uint16_t i, pattLen;
+	tonTyp *pattPtr;
+
+	if (trkBufLen == 0 || !allocatePattern(editor.editPattern))
+		return;
+
+	pattPtr = patt[editor.editPattern];
+	pattLen = pattLens[editor.editPattern];
+
+	pauseMusic();
+	for (i = 0; i < pattLen; i++)
+		pasteNote(&trackCopyBuff[i], &pattPtr[(i * MAX_VOICES) + editor.cursor.ch]);
+	resumeMusic();
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void cutPattern(void)
+{
+	uint16_t i, x, pattLen;
+	tonTyp *pattPtr;
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr == NULL)
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	if (config.ptnCutToBuffer)
+	{
+		memset(ptnCopyBuff, 0, (MAX_PATT_LEN * MAX_VOICES) * sizeof (tonTyp));
+		for (x = 0; x < song.antChn; x++)
+		{
+			for (i = 0; i < pattLen; i++)
+				copyNote(&pattPtr[(i * MAX_VOICES) + x], &ptnCopyBuff[(i * MAX_VOICES) + x]);
+		}
+
+		ptnBufLen = pattLen;
+	}
+
+	pauseMusic();
+	for (x = 0; x < song.antChn; x++)
+	{
+		for (i = 0; i < pattLen; i++)
+			pasteNote(&clearNote, &pattPtr[(i * MAX_VOICES) + x]);
+	}
+	resumeMusic();
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void copyPattern(void)
+{
+	uint16_t i, x, pattLen;
+	tonTyp *pattPtr;
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr == NULL)
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	memset(ptnCopyBuff, 0, (MAX_PATT_LEN * MAX_VOICES) * sizeof (tonTyp));
+	for (x = 0; x < song.antChn; x++)
+	{
+		for (i = 0; i < pattLen; i++)
+			copyNote(&pattPtr[(i * MAX_VOICES) + x], &ptnCopyBuff[(i * MAX_VOICES) + x]);
+	}
+
+	ptnBufLen = pattLen;
+
+	editor.ui.updatePatternEditor = true;
+}
+
+void pastePattern(void)
+{
+	uint16_t i, x, pattLen;
+	tonTyp *pattPtr;
+	
+	if (ptnBufLen == 0)
+		return;
+
+	if (pattLens[editor.editPattern] != ptnBufLen)
+	{
+		if (okBox(1, "System request", "Change pattern length to copybuffer's length?") == 1)
+			setPatternLen(editor.editPattern, ptnBufLen);
+	}
+
+	if (!allocatePattern(editor.editPattern))
+		return;
+
+	pattPtr = patt[editor.editPattern];
+	pattLen = pattLens[editor.editPattern];
+
+	pauseMusic();
+	for (x = 0; x < song.antChn; x++)
+	{
+		for (i = 0; i < pattLen; i++)
+			pasteNote(&ptnCopyBuff[(i * MAX_VOICES) + x], &pattPtr[(i * MAX_VOICES) + x]);
+	}
+	resumeMusic();
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void cutBlock(void)
+{
+	uint16_t x, y;
+	tonTyp *pattPtr;
+
+	if (pattMark.markY1 == pattMark.markY2 || pattMark.markY1 > pattMark.markY2)
+		return;
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr == NULL)
+		return;
+
+	if (config.ptnCutToBuffer)
+	{
+		for (x = pattMark.markX1; x <= pattMark.markX2; x++)
+		{
+			for (y = pattMark.markY1; y < pattMark.markY2; y++)
+			{
+				assert(x < song.antChn && y < pattLens[editor.editPattern]);
+				copyNote(&pattPtr[(y * MAX_VOICES) + x],
+				         &blkCopyBuff[((y - pattMark.markY1) * MAX_VOICES) + (x - pattMark.markX1)]);
+			}
+		}
+	}
+
+	pauseMusic();
+	for (x = pattMark.markX1; x <= pattMark.markX2; x++)
+	{
+		for (y = pattMark.markY1; y < pattMark.markY2; y++)
+			pasteNote(&clearNote, &pattPtr[(y * MAX_VOICES) + x]);
+	}
+	resumeMusic();
+
+	markXSize = pattMark.markX2 - pattMark.markX1;
+	markYSize = pattMark.markY2 - pattMark.markY1;
+	blockCopied = true;
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void copyBlock(void)
+{
+	uint16_t x, y;
+	tonTyp *pattPtr;
+
+	if (pattMark.markY1 == pattMark.markY2 || pattMark.markY1 > pattMark.markY2)
+		return;
+
+	pattPtr = patt[editor.editPattern];
+	if (pattPtr == NULL)
+		return;
+
+	for (x = pattMark.markX1; x <= pattMark.markX2; x++)
+	{
+		for (y = pattMark.markY1; y < pattMark.markY2; y++)
+		{
+			assert(x < song.antChn && y < pattLens[editor.editPattern]);
+			copyNote(&pattPtr[(y * MAX_VOICES) + x],
+			         &blkCopyBuff[((y - pattMark.markY1) * MAX_VOICES) + (x - pattMark.markX1)]);
+		}
+	}
+
+	markXSize = pattMark.markX2 - pattMark.markX1;
+	markYSize = pattMark.markY2 - pattMark.markY1;
+	blockCopied = true;
+}
+
+void pasteBlock(void)
+{
+	uint16_t xpos, ypos, j, k, pattLen;
+	tonTyp *pattPtr;
+
+	if (!blockCopied || !allocatePattern(editor.editPattern))
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	xpos = editor.cursor.ch;
+	ypos = editor.pattPos;
+
+	j = markXSize;
+	if (j+xpos >= song.antChn)
+		j = song.antChn - xpos - 1;
+
+	k = markYSize;
+	if (k+ypos >= pattLen)
+		k = pattLen - ypos;
+
+	pattPtr = patt[editor.editPattern];
+
+	pauseMusic();
+	for (uint16_t x = xpos; x <= xpos+j; x++)
+	{
+		for (uint16_t y = ypos; y < ypos+k; y++)
+		{
+			assert(x < song.antChn && y < pattLen);
+			pasteNote(&blkCopyBuff[((y - ypos) * MAX_VOICES) + (x - xpos)], &pattPtr[(y * MAX_VOICES) + x]);
+		}
+	}
+	resumeMusic();
+
+	killPatternIfUnused(editor.editPattern);
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+static void remapInstrXY(uint16_t nr, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint8_t src, uint8_t dst)
+{
+	int32_t noteSkipLen;
+	tonTyp *pattPtr, *note;
+
+	// this routine is only used sanely, so no need to check input
+
+	pattPtr = patt[nr];
+	if (pattPtr == NULL)
+		return;
+
+	noteSkipLen = MAX_VOICES - ((x2 + 1) - x1);
+	note = &pattPtr[(y1 * MAX_VOICES) + x1];
+
+	for (uint16_t y = y1; y <= y2; y++)
+	{
+		for (uint16_t x = x1; x <= x2; x++)
+		{
+			assert(x < song.antChn && y < pattLens[nr]);
+			if (note->instr == src)
+				note->instr = dst;
+
+			note++;
+		}
+
+		note += noteSkipLen;
+	}
+}
+
+void remapBlock(void)
+{
+	if (editor.srcInstr == editor.curInstr || pattMark.markY1 == pattMark.markY2 || pattMark.markY1 > pattMark.markY2)
+		return;
+
+	pauseMusic();
+	remapInstrXY(editor.editPattern,
+	             pattMark.markX1, pattMark.markY1,
+	             pattMark.markX2, pattMark.markY2 - 1,
+	             editor.srcInstr, editor.curInstr);
+	resumeMusic();
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void remapTrack(void)
+{
+	if (editor.srcInstr == editor.curInstr)
+		return;
+
+	pauseMusic();
+	remapInstrXY(editor.editPattern,
+	             editor.cursor.ch, 0,
+	             editor.cursor.ch, pattLens[editor.editPattern] - 1,
+	             editor.srcInstr, editor.curInstr);
+	resumeMusic();
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void remapPattern(void)
+{
+	if (editor.srcInstr == editor.curInstr)
+		return;
+
+	pauseMusic();
+	remapInstrXY(editor.editPattern,
+	             0, 0,
+	             song.antChn - 1, pattLens[editor.editPattern] - 1,
+	             editor.srcInstr, editor.curInstr);
+	resumeMusic();
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+void remapSong(void)
+{
+	uint8_t pattNr;
+
+	if (editor.srcInstr == editor.curInstr)
+		return;
+
+	pauseMusic();
+	for (uint16_t i = 0; i < MAX_PATTERNS; i++)
+	{
+		pattNr = (uint8_t)i;
+
+		remapInstrXY(pattNr,
+		             0, 0,
+		             song.antChn - 1, pattLens[pattNr] - 1,
+		             editor.srcInstr, editor.curInstr);
+	}
+	resumeMusic();
+
+	editor.ui.updatePatternEditor = true;
+	setSongModifiedFlag();
+}
+
+static int8_t getNoteVolume(tonTyp *note)
+{
+	int8_t nv, vv, ev, finalv;
+
+	if (note->vol >= 0x10 && note->vol <= 0x50)
+		vv = note->vol - 0x10;
+	else
+		vv = -1;
+
+	if (note->effTyp == 0xC)
+		ev = MIN(note->eff, 64);
+	else
+		ev = -1;
+
+	if (note->instr != 0 && instr[note->instr] != NULL)
+		nv = (int8_t)instr[note->instr]->samp[0].vol;
+	else
+		nv = -1;
+
+	finalv = -1;
+	if (nv >= 0) finalv = nv;
+	if (vv >= 0) finalv = vv;
+	if (ev >= 0) finalv = ev;
+
+	return finalv;
+}
+
+static void setNoteVolume(tonTyp *note, int8_t newVol)
+{
+	int8_t oldv;
+
+	if (newVol < 0)
+		return;
+
+	oldv = getNoteVolume(note);
+	if (note->vol == oldv)
+		return; // volume is the same
+
+	if (note->effTyp == 0x0C)
+		note->eff = newVol; // Cxx effect
+	else
+		note->vol = 0x10 + newVol; // volume column
+}
+
+static void scaleNote(uint16_t ptn, int8_t ch, int16_t row, double dScale)
+{
+	int32_t vol;
+	uint16_t pattLen;
+	tonTyp *note;
+
+	if (patt[ptn] == NULL)
+		return;
+
+	pattLen = pattLens[ptn];
+	if (row < 0 || row >= pattLen || ch < 0 || ch >= song.antChn)
+		return;
+
+	note = &patt[ptn][(row * MAX_VOICES) + ch];
+
+	vol = getNoteVolume(note);
+	if (vol >= 0)
+	{
+		vol = (int32_t)round(vol * dScale);
+		vol = MIN(MAX(0, vol), 64);
+		setNoteVolume(note, (int8_t)vol);
+	}
+}
+
+static bool askForScaleFade(char *msg)
+{
+	char *val1, *val2, volstr[32 + 1];
+	uint8_t err;
+
+	sprintf(volstr, "%0.2f,%0.2f", dVolScaleFK1, dVolScaleFK2);
+	if (inputBox(2, msg, volstr, sizeof (volstr) - 1) != 1)
+		return false;
+
+	err = false;
+
+	val1 = volstr;
+	if (strlen(val1) < 3)
+		err = true;
+
+	val2 = strchr(volstr, ',');
+	if (val2 == NULL || strlen(val2) < 3)
+		err = true;
+
+	if (err)
+	{
+		okBox(0, "System message", "Invalid constant expressions.");
+		return false;
+	}
+
+	dVolScaleFK1 = atof(val1);
+	dVolScaleFK2 = atof(val2 + 1);
+
+	return true;
+}
+
+void scaleFadeVolumeTrack(void)
+{
+	uint16_t pattLen;
+	double dIPy, dVol;
+
+	if (!askForScaleFade("Volume scale-fade track (start-, end scale)"))
+		return;
+
+	if (patt[editor.editPattern] == NULL)
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	dIPy = 0.0;
+	if (pattLen > 0)
+		dIPy = (dVolScaleFK2 - dVolScaleFK1) / pattLen;
+
+	dVol = dVolScaleFK1;
+
+	pauseMusic();
+	for (uint16_t row = 0; row < pattLen; row++)
+	{
+		scaleNote(editor.editPattern, editor.cursor.ch, row, dVol);
+		dVol += dIPy;
+	}
+	resumeMusic();
+}
+
+void scaleFadeVolumePattern(void)
+{
+	uint16_t pattLen;
+	double dIPy, dVol;
+
+	if (!askForScaleFade("Volume scale-fade pattern (start-, end scale)"))
+		return;
+
+	if (patt[editor.editPattern] == NULL)
+		return;
+
+	pattLen = pattLens[editor.editPattern];
+
+	dIPy = 0.0;
+	if (pattLen > 0)
+		dIPy = (dVolScaleFK2 - dVolScaleFK1) / pattLen;
+
+	dVol = dVolScaleFK1;
+
+	pauseMusic();
+	for (uint16_t row = 0; row < pattLen; row++)
+	{
+		for (uint8_t ch = 0; ch < song.antChn; ch++)
+			scaleNote(editor.editPattern, ch, row, dVol);
+
+		dVol += dIPy;
+	}
+	resumeMusic();
+}
+
+void scaleFadeVolumeBlock(void)
+{
+	uint16_t dy;
+	double dIPy, dVol;
+
+	if (!askForScaleFade("Volume scale-fade block (start-, end scale)"))
+		return;
+
+	if (patt[editor.editPattern] == NULL || pattMark.markY1 == pattMark.markY2 || pattMark.markY1 > pattMark.markY2)
+		return;
+
+	dy = pattMark.markY2 - pattMark.markY1;
+
+	dIPy = 0.0;
+	if (dy > 0)
+		dIPy = (dVolScaleFK2 - dVolScaleFK1) / dy;
+
+	dVol = dVolScaleFK1;
+
+	pauseMusic();
+	for (uint16_t row = pattMark.markY1; row < pattMark.markY2; row++)
+	{
+		for (uint16_t ch = pattMark.markX1; ch <= pattMark.markX2; ch++)
+			scaleNote(editor.editPattern, (uint8_t)ch, row, dVol);
+
+		dVol += dIPy;
+	}
+	resumeMusic();
+}
+
+void toggleCopyMaskEnable(void) { editor.copyMaskEnable ^= 1; }
+void toggleCopyMask0(void) { editor.copyMask[0] ^= 1; };
+void toggleCopyMask1(void) { editor.copyMask[1] ^= 1; };
+void toggleCopyMask2(void) { editor.copyMask[2] ^= 1; };
+void toggleCopyMask3(void) { editor.copyMask[3] ^= 1; };
+void toggleCopyMask4(void) { editor.copyMask[4] ^= 1; };
+void togglePasteMask0(void) { editor.pasteMask[0] ^= 1; };
+void togglePasteMask1(void) { editor.pasteMask[1] ^= 1; };
+void togglePasteMask2(void) { editor.pasteMask[2] ^= 1; };
+void togglePasteMask3(void) { editor.pasteMask[3] ^= 1; };
+void togglePasteMask4(void) { editor.pasteMask[4] ^= 1; };
+void toggleTranspMask0(void) { editor.transpMask[0] ^= 1; };
+void toggleTranspMask1(void) { editor.transpMask[1] ^= 1; };
+void toggleTranspMask2(void) { editor.transpMask[2] ^= 1; };
+void toggleTranspMask3(void) { editor.transpMask[3] ^= 1; };
+void toggleTranspMask4(void) { editor.transpMask[4] ^= 1; };
--- /dev/null
+++ b/src/ft2_edit.h
@@ -1,0 +1,79 @@
+#pragma once
+
+#include <stdint.h>
+#include <SDL2/SDL.h>
+
+bool handleEditKeys(SDL_Keycode keycode, SDL_Scancode scancode);
+void recordNote(uint8_t note, int8_t vol);
+void testNoteKeysRelease(SDL_Scancode scancode);
+void writeToMacroSlot(uint8_t slot);
+void writeFromMacroSlot(uint8_t slot);
+void insertPatternNote(void);
+void insertPatternLine(void);
+void deletePatternNote(void);
+void deletePatternLine(void);
+void scaleFadeVolumeTrack(void);
+void scaleFadeVolumePattern(void);
+void scaleFadeVolumeBlock(void);
+void toggleCopyMaskEnable(void);
+void toggleCopyMask0(void);
+void toggleCopyMask1(void);
+void toggleCopyMask2(void);
+void toggleCopyMask3(void);
+void toggleCopyMask4(void);
+void togglePasteMask0(void);
+void togglePasteMask1(void);
+void togglePasteMask2(void);
+void togglePasteMask3(void);
+void togglePasteMask4(void);
+void toggleTranspMask0(void);
+void toggleTranspMask1(void);
+void toggleTranspMask2(void);
+void toggleTranspMask3(void);
+void toggleTranspMask4(void);
+void trackTranspCurInsUp(void);
+void trackTranspCurInsDn(void);
+void trackTranspCurIns12Up(void);
+void trackTranspCurIns12Dn(void);
+void trackTranspAllInsUp(void);
+void trackTranspAllInsDn(void);
+void trackTranspAllIns12Up(void);
+void trackTranspAllIns12Dn(void);
+void pattTranspCurInsUp(void);
+void pattTranspCurInsDn(void);
+void pattTranspCurIns12Up(void);
+void pattTranspCurIns12Dn(void);
+void pattTranspAllInsUp(void);
+void pattTranspAllInsDn(void);
+void pattTranspAllIns12Up(void);
+void pattTranspAllIns12Dn(void);
+void songTranspCurInsUp(void);
+void songTranspCurInsDn(void);
+void songTranspCurIns12Up(void);
+void songTranspCurIns12Dn(void);
+void songTranspAllInsUp(void);
+void songTranspAllInsDn(void);
+void songTranspAllIns12Up(void);
+void songTranspAllIns12Dn(void);
+void blockTranspCurInsUp(void);
+void blockTranspCurInsDn(void);
+void blockTranspCurIns12Up(void);
+void blockTranspCurIns12Dn(void);
+void blockTranspAllInsUp(void);
+void blockTranspAllInsDn(void);
+void blockTranspAllIns12Up(void);
+void blockTranspAllIns12Dn(void);
+void doTranspose(void); // called from buttons above or specific sys req.
+void cutTrack(void);
+void copyTrack(void);
+void pasteTrack(void);
+void cutPattern(void);
+void copyPattern(void);
+void pastePattern(void);
+void cutBlock(void);
+void copyBlock(void);
+void pasteBlock(void);
+void remapBlock(void);
+void remapTrack(void);
+void remapPattern(void);
+void remapSong(void);
--- /dev/null
+++ b/src/ft2_events.c
@@ -1,0 +1,534 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#ifdef _WIN32
+#define WIN32_MEAN_AND_LEAN
+#include <windows.h>
+#include <SDL2/SDL_syswm.h>
+#else
+#include <limits.h>
+#include <signal.h>
+#include <unistd.h> // chdir()
+#endif
+#include <stdio.h>
+#include <sys/stat.h>
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_diskop.h"
+#include "ft2_module_loader.h"
+#include "ft2_module_saver.h"
+#include "ft2_sample_loader.h"
+#include "ft2_mouse.h"
+#include "ft2_midi.h"
+#include "ft2_video.h"
+#include "ft2_trim.h"
+#include "ft2_inst_ed.h"
+#include "ft2_sampling.h"
+#include "ft2_textboxes.h"
+#include "ft2_sysreqs.h"
+#include "ft2_keyboard.h"
+#include "ft2_sample_ed.h"
+#include "ft2_sample_ed_features.h"
+
+#define CRASH_TEXT "Oh no!\nThe Fasttracker II clone has crashed...\n\nA backup .xm was hopefully " \
+                   "saved to the current module directory.\n\nPlease report this to 8bitbubsy " \
+                   "(IRC or [email protected]).\nTry to mention what you did before the crash happened."
+
+static bool backupMadeAfterCrash;
+
+#ifdef _WIN32
+#define SYSMSG_FILE_ARG (WM_USER + 1)
+#define ARGV_SHARED_MEM_MAX_LEN ((MAX_PATH * 2) + 2)
+#define SHARED_HWND_NAME TEXT("Local\\FT2CloneHwnd")
+#define SHARED_FILENAME TEXT("Local\\FT2CloneFilename")
+static HWND hWnd;
+static HANDLE oneInstHandle, hMapFile;
+static LPCTSTR sharedMemBuf;
+
+// used for Windows usleep() implementation
+static NTSTATUS (__stdcall *NtDelayExecution)(BOOL Alertable, PLARGE_INTEGER DelayInterval);
+#endif
+
+static void handleInput(void);
+
+// usleep() implementation for Windows
+#ifdef _WIN32
+void usleep(uint32_t usec)
+{
+	LARGE_INTEGER lpDueTime;
+
+	if (NtDelayExecution == NULL)
+	{
+		// NtDelayExecution() is not available (shouldn't happen), use regular sleep()
+		Sleep(usec / 1000);
+	}
+	else
+	{
+		// this prevents a 64-bit MUL (will not overflow with the ranges we use anyway)
+		lpDueTime.HighPart = 0xFFFFFFFF;
+		lpDueTime.LowPart = (DWORD)(-10 * (int32_t)usec);
+
+		NtDelayExecution(false, &lpDueTime);
+	}
+}
+
+void setupWin32Usleep(void)
+{
+	NtDelayExecution = (NTSTATUS (__stdcall *)(BOOL, PLARGE_INTEGER))GetProcAddress(GetModuleHandle("ntdll.dll"), "NtDelayExecution");
+	timeBeginPeriod(0); // enter highest timer resolution
+}
+
+void freeWin32Usleep(void)
+{
+	timeEndPeriod(0); // exit highest timer resolution
+}
+#endif
+
+void readInput(void)
+{
+	readMouseXY();
+	readKeyModifiers();
+	setSyncedReplayerVars();
+	handleInput();
+}
+
+void handleThreadEvents(void)
+{
+	if (okBoxData.active)
+	{
+		okBoxData.returnData = okBox(okBoxData.typ, okBoxData.headline, okBoxData.text);
+		okBoxData.active = false;
+	}
+}
+
+void handleEvents(void)
+{
+	// called after MIDI has been initialized
+	if (midi.rescanDevicesFlag)
+	{
+		midi.rescanDevicesFlag = false;
+
+		rescanMidiInputDevices();
+		if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_MIDI_INPUT)
+			drawMidiInputList();
+	}
+
+	if (editor.trimThreadWasDone)
+	{
+		editor.trimThreadWasDone = false;
+		trimThreadDone();
+	}
+
+	if (editor.updateCurSmp)
+	{
+		editor.updateCurSmp = false;
+
+		updateNewInstrument();
+		updateNewSample();
+
+		diskOpSetFilename(DISKOP_ITEM_SAMPLE, editor.tmpFilenameU);
+
+		removeSampleIsLoadingFlag();
+		setMouseBusy(false);
+	}
+
+	if (editor.updateCurInstr)
+	{
+		editor.updateCurInstr = false;
+
+		updateNewInstrument();
+		updateNewSample();
+
+		diskOpSetFilename(DISKOP_ITEM_INSTR, editor.tmpInstrFilenameU);
+		setMouseBusy(false);
+	}
+
+	// some Disk Op. stuff
+
+	if (editor.diskOpReadDir)
+	{
+		editor.diskOpReadDir = false;
+		startDiskOpFillThread();
+	}
+
+	if (editor.diskOpReadDone)
+	{
+		editor.diskOpReadDone = false;
+		if (editor.ui.diskOpShown)
+			diskOp_DrawDirectory();
+	}
+
+	handleLoadMusicEvents();
+
+	if (editor.samplingAudioFlag) handleSamplingUpdates();
+	if (editor.ui.setMouseBusy) mouseAnimOn();
+	if (editor.ui.setMouseIdle) mouseAnimOff();
+
+	if (editor.updateWindowTitle)
+	{
+		editor.updateWindowTitle = false;
+		updateWindowTitle(false);
+	}
+}
+
+// Windows specific routines
+#ifdef _WIN32
+static bool instanceAlreadyOpen(void)
+{
+	hMapFile = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, SHARED_HWND_NAME);
+	if (hMapFile != NULL)
+		return true; // another instance is already open
+
+	// no instance is open, let's created a shared memory file with hWnd in it
+	oneInstHandle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof (HWND), SHARED_HWND_NAME);
+	if (oneInstHandle != NULL)
+	{
+		sharedMemBuf = (LPTSTR)MapViewOfFile(oneInstHandle, FILE_MAP_ALL_ACCESS, 0, 0, sizeof (HWND));
+		if (sharedMemBuf != NULL)
+		{
+			CopyMemory((PVOID)sharedMemBuf, &video.hWnd, sizeof (HWND));
+			UnmapViewOfFile(sharedMemBuf);
+			sharedMemBuf = NULL;
+		}
+	}
+
+	return false;
+}
+
+bool handleSingleInstancing(int32_t argc, char **argv)
+{
+	SDL_SysWMinfo wmInfo;
+
+	SDL_VERSION(&wmInfo.version);
+	if (!SDL_GetWindowWMInfo(video.window, &wmInfo))
+		return false;
+
+	video.hWnd = wmInfo.info.win.window;
+	if (instanceAlreadyOpen() && argc >= 2 && argv[1][0] != '\0')
+	{
+		sharedMemBuf = (LPTSTR)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, sizeof (HWND));
+		if (sharedMemBuf != NULL)
+		{
+			memcpy(&hWnd, sharedMemBuf, sizeof (HWND));
+
+			UnmapViewOfFile(sharedMemBuf);
+			sharedMemBuf = NULL;
+			CloseHandle(hMapFile);
+			hMapFile = NULL;
+
+			hMapFile = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, ARGV_SHARED_MEM_MAX_LEN, SHARED_FILENAME);
+			if (hMapFile != NULL)
+			{
+				sharedMemBuf = (LPTSTR)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, ARGV_SHARED_MEM_MAX_LEN);
+				if (sharedMemBuf != NULL)
+				{
+					strcpy((char *)sharedMemBuf, argv[1]);
+
+					UnmapViewOfFile(sharedMemBuf);
+					sharedMemBuf = NULL;
+
+					SendMessage(hWnd, SYSMSG_FILE_ARG, 0, 0);
+					Sleep(80); // wait a bit to make sure first instance received msg
+
+					CloseHandle(hMapFile);
+					hMapFile = NULL;
+
+					return true; // quit instance now
+				}
+			}
+
+			return true;
+		}
+
+		CloseHandle(hMapFile);
+		hMapFile = NULL;
+	}
+
+	SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);
+	return false;
+}
+
+static void handleSysMsg(SDL_Event inputEvent)
+{
+	SDL_SysWMmsg *wmMsg;
+
+	if (inputEvent.type == SDL_SYSWMEVENT)
+	{
+		wmMsg = inputEvent.syswm.msg;
+		if (wmMsg->subsystem == SDL_SYSWM_WINDOWS && wmMsg->msg.win.msg == SYSMSG_FILE_ARG)
+		{
+			hMapFile = OpenFileMapping(FILE_MAP_READ, FALSE, SHARED_FILENAME);
+			if (hMapFile != NULL)
+			{
+				sharedMemBuf = (LPTSTR)MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, ARGV_SHARED_MEM_MAX_LEN);
+				if (sharedMemBuf != NULL)
+				{
+					editor.autoPlayOnDrop = true;
+					loadDroppedFile((char *)sharedMemBuf, true);
+
+					UnmapViewOfFile(sharedMemBuf);
+					sharedMemBuf = NULL;
+				}
+
+				CloseHandle(hMapFile);
+				hMapFile = NULL;
+			}
+		}
+	}
+}
+
+void closeSingleInstancing(void)
+{
+	if (oneInstHandle != NULL)
+	{
+		CloseHandle(oneInstHandle);
+		oneInstHandle = NULL;
+	}
+}
+
+static LONG WINAPI exceptionHandler(EXCEPTION_POINTERS *ptr)
+{
+#define BACKUP_FILES_TO_TRY 1000
+	char fileName[32];
+	uint16_t i;
+	UNICHAR *fileNameU;
+	struct stat statBuffer;
+
+	(void)ptr;
+
+	if (oneInstHandle != NULL)
+		CloseHandle(oneInstHandle);
+
+	if (!backupMadeAfterCrash)
+	{
+		if (getDiskOpModPath() != NULL && UNICHAR_CHDIR(getDiskOpModPath()) == 0)
+		{
+			// find a free filename
+			for (i = 1; i < 1000; i++)
+			{
+				sprintf(fileName, "backup%03d.xm", i);
+				if (stat(fileName, &statBuffer) != 0)
+					break; // filename OK
+			}
+
+			if (i != 1000)
+			{
+				fileNameU = cp437ToUnichar(fileName);
+				if (fileNameU != NULL)
+				{
+					saveXM(fileNameU);
+					free(fileNameU);
+				}
+			}
+		}
+
+		backupMadeAfterCrash = true; // set this flag to prevent multiple backups from being saved at once
+		showErrorMsgBox(CRASH_TEXT);
+	}
+
+	return EXCEPTION_CONTINUE_SEARCH;
+}
+#else
+static void exceptionHandler(int32_t signal)
+{
+#define BACKUP_FILES_TO_TRY 1000
+	char fileName[32];
+	uint16_t i;
+	UNICHAR *fileNameU;
+	struct stat statBuffer;
+
+	if (signal == 15)
+		return;
+
+	if (!backupMadeAfterCrash)
+	{
+		if (getDiskOpModPath() != NULL && UNICHAR_CHDIR(getDiskOpModPath()) == 0)
+		{
+			// find a free filename
+			for (i = 1; i < 1000; i++)
+			{
+				sprintf(fileName, "backup%03d.xm", i);
+				if (stat(fileName, &statBuffer) != 0)
+					break; // filename OK
+			}
+
+			if (i != 1000)
+			{
+				fileNameU = cp437ToUnichar(fileName);
+				if (fileNameU != NULL)
+				{
+					saveXM(fileNameU);
+					free(fileNameU);
+				}
+			}
+		}
+
+		backupMadeAfterCrash = true; // set this flag to prevent multiple backups from being saved at once
+		showErrorMsgBox(CRASH_TEXT);
+	}
+}
+#endif
+
+void setupCrashHandler(void)
+{
+#ifndef _DEBUG
+#ifdef _WIN32
+	SetUnhandledExceptionFilter(exceptionHandler);
+#else
+	struct sigaction act;
+	struct sigaction oldAct;
+
+	memset(&act, 0, sizeof (act));
+	act.sa_handler = exceptionHandler;
+	act.sa_flags = SA_RESETHAND;
+
+	sigaction(SIGILL | SIGABRT | SIGFPE | SIGSEGV, &act, &oldAct);
+	sigaction(SIGILL, &act, &oldAct);
+	sigaction(SIGABRT, &act, &oldAct);
+	sigaction(SIGFPE, &act, &oldAct);
+	sigaction(SIGSEGV, &act, &oldAct);
+#endif
+#endif
+}
+
+static void handleInput(void)
+{
+	char *inputText;
+	uint8_t vibDepth;
+	uint32_t eventType;
+	SDL_Event event;
+	SDL_Keycode key;
+
+	if (!editor.busy)
+		handleLastGUIObjectDown(); // this should be handled before main input poll (on next frame)
+
+	while (SDL_PollEvent(&event))
+	{
+		if (video.vsync60HzPresent)
+		{
+			/* if we minimize the window and vsync is present, vsync is temporarily turned off.
+			** recalc waitVBL() vars so that it can sleep properly in said mode. */
+			if (event.type == SDL_WINDOWEVENT &&
+				(event.window.event == SDL_WINDOWEVENT_MINIMIZED || event.window.event == SDL_WINDOWEVENT_FOCUS_LOST))
+			{
+				setupWaitVBL();
+			}
+		}
+
+		if (editor.busy)
+		{
+			eventType = event.type;
+			key = event.key.keysym.scancode;
+
+			/* The Echo tool in Smp. Ed. can literally take forever if abused,
+			** let mouse buttons/ESC/SIGTERM force-stop it. */
+			if (eventType == SDL_MOUSEBUTTONDOWN || eventType == SDL_QUIT ||
+				(eventType == SDL_KEYUP && key == SDL_SCANCODE_ESCAPE))
+			{
+				handleEchoToolPanic();
+			}
+
+			// let certain mouse buttons or keyboard keys stop certain events
+			if (eventType == SDL_MOUSEBUTTONDOWN ||
+				(eventType == SDL_KEYDOWN && key != SDL_SCANCODE_MUTE &&
+				 key != SDL_SCANCODE_AUDIOMUTE && key != SDL_SCANCODE_VOLUMEDOWN &&
+				 key != SDL_SCANCODE_VOLUMEUP))
+			{
+				// only let keyboard keys interrupt audio sampling
+				if (editor.samplingAudioFlag && eventType != SDL_MOUSEBUTTONDOWN)
+					stopSampling();
+
+				editor.wavIsRendering = false;
+			}
+
+			continue; // another thread is busy with something, drop input
+		}
+
+#ifdef _WIN32
+		handleSysMsg(event);
+#endif
+		// text input when editing texts
+		if (event.type == SDL_TEXTINPUT)
+		{
+			if (editor.editTextFlag)
+			{
+				if (keyb.ignoreTextEditKey)
+				{
+					keyb.ignoreTextEditKey = false;
+					continue;
+				}
+
+				inputText = utf8ToCp437(event.text.text, false);
+				if (inputText != NULL)
+				{
+					if (inputText[0] != '\0')
+						handleTextEditInputChar(inputText[0]);
+
+					free(inputText);
+				}
+			}
+		}
+		else if (event.type == SDL_MOUSEWHEEL)
+		{
+			     if (event.wheel.y > 0) mouseWheelHandler(MOUSE_WHEEL_UP);
+			else if (event.wheel.y < 0) mouseWheelHandler(MOUSE_WHEEL_DOWN);
+		}
+		else if (event.type == SDL_DROPFILE)
+		{
+			editor.autoPlayOnDrop = false;
+			loadDroppedFile(event.drop.file, true);
+			SDL_free(event.drop.file);
+		}
+		else if (event.type == SDL_QUIT)
+		{
+			if (editor.ui.sysReqShown)
+				continue;
+
+			if (editor.editTextFlag)
+				exitTextEditing();
+
+			if (!song.isModified)
+			{
+				editor.throwExit = true;
+			}
+			else
+			{
+				if (!video.fullscreen)
+				{
+					// de-minimize window and set focus so that the user sees the message box
+					SDL_RestoreWindow(video.window);
+					SDL_RaiseWindow(video.window);
+				}
+
+				if (quitBox(true) == 1)
+					editor.throwExit = true;
+			}
+		}
+		else if (event.type == SDL_KEYUP)
+		{
+			keyUpHandler(event.key.keysym.scancode, event.key.keysym.sym);
+		}
+		else if (event.type == SDL_KEYDOWN)
+		{
+			keyDownHandler(event.key.keysym.scancode, event.key.keysym.sym, event.key.repeat);
+		}
+		else if (event.type == SDL_MOUSEBUTTONUP)
+		{
+			mouseButtonUpHandler(event.button.button);
+		}
+		else if (event.type == SDL_MOUSEBUTTONDOWN)
+		{
+			mouseButtonDownHandler(event.button.button);
+		}
+
+		if (editor.throwExit)
+			editor.programRunning = false;
+	}
+
+	// MIDI vibrato
+	vibDepth = (midi.currMIDIVibDepth >> 9) & 0x0F;
+	if (vibDepth > 0)
+		recordMIDIEffect(0x04, 0xA0 | vibDepth);
+}
--- /dev/null
+++ b/src/ft2_events.h
@@ -1,0 +1,24 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+enum
+{
+	EVENT_NONE = 0,
+	EVENT_LOADMUSIC_ARGV = 1,
+	EVENT_LOADMUSIC_DRAGNDROP = 2,
+	EVENT_LOADMUSIC_DISKOP = 3,
+};
+
+void handleThreadEvents(void);
+void readInput(void);
+void handleEvents(void);
+void setupCrashHandler(void);
+#ifdef _WIN32
+bool handleSingleInstancing(int32_t argc, char **argv);
+void closeSingleInstancing(void);
+void usleep(uint32_t usec);
+void setupWin32Usleep(void);
+void freeWin32Usleep(void);
+#endif
--- /dev/null
+++ b/src/ft2_gfxdata.h
@@ -1,0 +1,59 @@
+#pragma once
+
+#include <stdint.h>
+
+// ft2_gfx_fonts.c
+extern const uint8_t prop8Width[128];
+extern const uint8_t prop16Width[128];
+extern const uint8_t smallHexBitmap[560];
+extern const uint8_t font1Data[10240];
+extern const uint8_t font2Data[40960];
+extern const uint8_t font3Data[1376];
+extern const uint8_t font4Data[18688];
+extern const uint8_t font5Data[19968];
+extern const uint8_t font6Data[896];
+extern const uint8_t font7Data[1120];
+
+// ft2_gfx_logo.c
+extern const uint8_t aboutText[10121];
+extern const uint32_t ft2Logo[33675];
+extern const uint8_t ft2InfoBadges[3200];
+extern const uint8_t ft2LogoBadges[19712];
+
+// ft2_gfx_mouse.c
+extern const uint8_t mouseCursors[7774];
+extern const uint8_t mouseCursorBusyClock[2990];
+extern const uint8_t mouseCursorBusyGlass[13156];
+
+// ft2_gfx_nibbles.c
+extern const uint8_t nibblesLogo[5369];
+extern const uint8_t nibblesStages[53000];
+
+// ft2_gfx_instr.c
+extern const uint8_t vibWaveformBitmap[480];
+extern const uint8_t whitePianoKeysBitmap[3036];
+extern const uint8_t blackPianoKeysBitmap[378];
+
+// ft2_gfx_sampler.c
+extern const uint8_t leftLoopPinUnclicked[2464];
+extern const uint8_t leftLoopPinClicked[2464];
+extern const uint8_t rightLoopPinUnclicked[2464];
+extern const uint8_t rightLoopPinClicked[2464];
+
+// ft2_gfx_scopes.c
+extern const uint8_t scopeRecBMP[52];
+extern const uint8_t scopeMuteBMP1[4374];
+extern const uint8_t scopeMuteBMP2[2997];
+extern const uint8_t scopeMuteBMP3[1976];
+extern const uint8_t scopeMuteBMP4[1400];
+extern const uint8_t scopeMuteBMP5[1050];
+extern const uint8_t scopeMuteBMP6[875];
+extern const uint8_t scopeMuteBMP7[672];
+extern const uint8_t scopeMuteBMP8[576];
+extern const uint8_t scopeMuteBMP9[504];
+extern const uint8_t scopeMuteBMP10[408];
+extern const uint8_t scopeMuteBMP11[288];
+extern const uint8_t scopeMuteBMP12[216];
+
+// ft2_midi.c
+extern const uint8_t midiLogo[3800];
--- /dev/null
+++ b/src/ft2_gui.c
@@ -1,0 +1,1227 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <time.h>
+#include "ft2_header.h"
+#include "ft2_gfxdata.h"
+#include "ft2_config.h"
+#include "ft2_about.h"
+#include "ft2_mouse.h"
+#include "ft2_nibbles.h"
+#include "ft2_gui.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_scopes.h"
+#include "ft2_help.h"
+#include "ft2_sample_ed.h"
+#include "ft2_inst_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_trim.h"
+#include "ft2_video.h"
+
+static void releaseMouseStates(void)
+{
+	mouse.lastUsedObjectID = OBJECT_ID_NONE;
+	mouse.lastUsedObjectType = OBJECT_NONE;
+	mouse.leftButtonPressed = false;
+	mouse.leftButtonReleased = false;
+	mouse.rightButtonPressed = false;
+	mouse.rightButtonReleased = false;
+	mouse.firstTimePressingButton = false;
+	mouse.buttonCounter = 0;
+	mouse.lastX = 0;
+	mouse.lastY = 0;
+	editor.ui.sampleDataOrLoopDrag = -1;
+	editor.ui.leftLoopPinMoving = false;
+	editor.ui.rightLoopPinMoving = false;
+}
+
+void unstuckLastUsedGUIElement(void)
+{
+	pushButton_t *p;
+	radioButton_t *r;
+	checkBox_t *c;
+	scrollBar_t *s;
+
+	if (mouse.lastUsedObjectID == OBJECT_ID_NONE)
+	{
+		/* if last object ID is OBJECT_ID_NONE, check if we moved the
+		** sample data loop pins, and unstuck them if so */
+
+		if (editor.ui.leftLoopPinMoving)
+		{
+			setLeftLoopPinState(false);
+			editor.ui.leftLoopPinMoving = false;
+		}
+
+		if (editor.ui.rightLoopPinMoving)
+		{
+			setRightLoopPinState(false);
+			editor.ui.rightLoopPinMoving = false;
+		}
+
+		releaseMouseStates();
+		return;
+	}
+
+	switch (mouse.lastUsedObjectType)
+	{
+		default: break;
+
+		case OBJECT_PUSHBUTTON:
+		{
+			assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_PUSHBUTTONS);
+			p = &pushButtons[mouse.lastUsedObjectID];
+			if (p->state == PUSHBUTTON_PRESSED)
+			{
+				p->state = PUSHBUTTON_UNPRESSED;
+				if (p->visible)
+					drawPushButton(mouse.lastUsedObjectID);
+			}
+		}
+		break;
+
+		case OBJECT_RADIOBUTTON:
+		{
+			assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_RADIOBUTTONS);
+			r = &radioButtons[mouse.lastUsedObjectID];
+			if (r->state == RADIOBUTTON_PRESSED)
+			{
+				r->state = RADIOBUTTON_UNCHECKED;
+				if (r->visible)
+					drawRadioButton(mouse.lastUsedObjectID);
+			}
+		}
+		break;
+
+		case OBJECT_CHECKBOX:
+		{
+			assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_CHECKBOXES);
+			c = &checkBoxes[mouse.lastUsedObjectID];
+			if (c->state == CHECKBOX_PRESSED)
+			{
+				c->state = CHECKBOX_UNPRESSED;
+				if (c->visible)
+					drawCheckBox(mouse.lastUsedObjectID);
+			}
+		}
+		break;
+
+		case OBJECT_SCROLLBAR:
+		{
+			assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_SCROLLBARS);
+			s = &scrollBars[mouse.lastUsedObjectID];
+			if (s->state == SCROLLBAR_PRESSED)
+			{
+				s->state = SCROLLBAR_UNPRESSED;
+				if (s->visible)
+					drawScrollBar(mouse.lastUsedObjectID);
+			}
+		}
+		break;
+	}
+
+	releaseMouseStates();
+}
+
+bool setupGUI(void)
+{
+	int32_t i;
+	textBox_t *t;
+	pushButton_t *p;
+	checkBox_t *c;
+	radioButton_t *r;
+	scrollBar_t *s;
+
+	// all memory will be NULL-tested and free'd if we return false somewhere in this function
+
+	editor.tmpFilenameU = (UNICHAR *)calloc(PATH_MAX + 1, sizeof (UNICHAR));
+	editor.tmpInstrFilenameU = (UNICHAR *)calloc(PATH_MAX + 1, sizeof (UNICHAR));
+
+	if (editor.tmpFilenameU == NULL || editor.tmpInstrFilenameU == NULL)
+		goto setupGUI_OOM;
+
+	// set uninitialized GUI struct entries
+
+	for (i = 1; i < NUM_TEXTBOXES; i++) // skip first entry, it's reserved for inputBox())
+	{
+		t = &textBoxes[i];
+
+		t->visible = false;
+		t->bufOffset = 0;
+		t->cursorPos = 0;
+		t->textPtr = NULL;
+		t->renderBufW = (9 + 1) * t->maxChars; // 9 = max character/glyph width possible
+		t->renderBufH = 10; // 10 = max character height possible
+		t->renderW = t->w - (t->tx * 2);
+
+		t->renderBuf = (uint8_t *)malloc(t->renderBufW * t->renderBufH * sizeof (int8_t));
+		if (t->renderBuf == NULL)
+			goto setupGUI_OOM;
+	}
+
+	for (i = 0; i < NUM_PUSHBUTTONS; i++)
+	{
+		p = &pushButtons[i];
+
+		p->state = 0;
+		p->visible = false;
+
+		if (i == PB_LOGO || i == PB_BADGE)
+		{
+			p->bitmapFlag = true;
+		}
+		else
+		{
+			p->bitmapFlag = false;
+			p->bitmapUnpressed = NULL;
+			p->bitmapPressed = NULL;
+		}
+	}
+
+	for (i = 0; i < NUM_CHECKBOXES; i++)
+	{
+		c = &checkBoxes[i];
+
+		c->state = 0;
+		c->checked = false;
+		c->visible = false;
+	}
+
+	for (i = 0; i < NUM_RADIOBUTTONS; i++)
+	{
+		r = &radioButtons[i];
+
+		r->state = 0;
+		r->visible = false;
+	}
+
+	for (i = 0; i < NUM_SCROLLBARS; i++)
+	{
+		s = &scrollBars[i];
+
+		s->visible = false;
+		s->state = 0;
+		s->pos = 0;
+		s->page = 0;
+		s->end  = 0;
+		s->thumbX = 0;
+		s->thumbY = 0;
+		s->thumbW = 0;
+		s->thumbH = 0;
+	}
+
+	setPal16(palTable[config.cfg_StdPalNr], false);
+
+	seedAboutScreenRandom((uint32_t)time(NULL));
+	setupInitialTextBoxPointers();
+	setInitialTrimFlags();
+	initializeScrollBars();
+	setMouseMode(MOUSE_MODE_NORMAL);
+	updateTextBoxPointers();
+	drawGUIOnRunTime();
+	updateSampleEditorSample();
+	updatePatternWidth();
+	initFTHelp();
+
+	return true;
+
+setupGUI_OOM:
+	showErrorMsgBox("Not enough memory!");
+	return false;
+}
+
+// TEXT ROUTINES
+
+// returns full pixel width of a char/glyph
+uint8_t charWidth(char ch)
+{
+	return prop8Width[ch & 0x7F];
+}
+
+// returns full pixel width of a char/glyph (big font)
+uint8_t charWidth16(char ch)
+{
+	return prop16Width[ch & 0x7F];
+}
+
+// return full pixel width of a text string
+uint16_t textWidth(const char *textPtr)
+{
+	uint16_t textWidth;
+
+	assert(textPtr != NULL);
+
+	textWidth = 0;
+	while (*textPtr != '\0')
+		textWidth += charWidth(*textPtr++);
+
+	// there will be a pixel spacer at the end of the last char/glyph, remove it
+	if (textWidth > 0)
+		textWidth--;
+
+	return textWidth;
+}
+
+uint16_t textNWidth(const char *textPtr, int32_t length)
+{
+	char ch;
+	uint16_t textWidth;
+
+	assert(textPtr != NULL);
+
+	textWidth = 0;
+	for (int32_t i = 0; i < length; i++)
+	{
+		ch = textPtr[i];
+		if (ch == '\0')
+			break;
+
+		textWidth += charWidth(ch);
+	}
+
+	// there will be a pixel spacer at the end of the last char/glyph, remove it
+	if (textWidth > 0)
+		textWidth--;
+
+	return textWidth;
+}
+
+// return full pixel width of a text string (big font)
+uint16_t textWidth16(const char *textPtr)
+{
+	uint16_t textWidth;
+
+	assert(textPtr != NULL);
+
+	textWidth = 0;
+	while (*textPtr != '\0')
+		textWidth += charWidth(*textPtr++);
+
+	// there will be a pixel spacer at the end of the last char/glyph, remove it
+	if (textWidth > 0)
+		textWidth--;
+
+	return textWidth;
+}
+
+void charOut(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, char chr)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	chr &= 0x7F;
+	if (chr == ' ')
+		return;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font1Data[chr * FONT1_CHAR_W];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT1_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT1_CHAR_W; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT1_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+void charOutBg(uint16_t xPos, uint16_t yPos, uint8_t fgPalette, uint8_t bgPalette, char chr)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, fg, bg;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	chr &= 0x7F;
+	if (chr == ' ')
+		return;
+
+	fg = video.palette[fgPalette];
+	bg = video.palette[bgPalette];
+
+	srcPtr = &font1Data[chr * FONT1_CHAR_W];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT1_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < 7; x++)
+			dstPtr[x] = srcPtr[x] ? fg : bg;
+
+		srcPtr += FONT1_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+void charOutOutlined(uint16_t x, uint16_t y, uint8_t paletteIndex, char chr)
+{
+	charOut(x - 1, y,     PAL_BCKGRND, chr);
+	charOut(x + 1, y,     PAL_BCKGRND, chr);
+	charOut(x,     y - 1, PAL_BCKGRND, chr);
+	charOut(x,     y + 1, PAL_BCKGRND, chr);
+
+	charOut(x, y, paletteIndex, chr);
+}
+
+void charOutShadow(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint8_t shadowPaletteIndex, char chr)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal1, pixVal2;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	chr &= 0x7F;
+	if (chr == ' ')
+		return;
+
+	pixVal1 = video.palette[paletteIndex];
+	pixVal2 = video.palette[shadowPaletteIndex];
+	srcPtr  = &font1Data[chr * FONT1_CHAR_W];
+	dstPtr  = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT1_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT1_CHAR_W; x++)
+		{
+			if (srcPtr[x])
+			{
+				dstPtr[x+(SCREEN_W+1)] = pixVal2;
+				dstPtr[x] = pixVal1;
+			}
+		}
+
+		srcPtr += FONT1_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+void charOutClipX(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, char chr, uint16_t clipX)
+{
+	const uint8_t *srcPtr;
+	uint16_t width;
+	uint32_t *dstPtr, pixVal;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	if (xPos > clipX)
+		return;
+
+	chr &= 0x7F;
+	if (chr == ' ')
+		return;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font1Data[chr * FONT1_CHAR_W];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	width = FONT1_CHAR_W;
+	if (xPos+width > clipX)
+		width = FONT1_CHAR_W - ((xPos + width) - clipX);
+
+	for (uint32_t y = 0; y < FONT1_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < width; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT1_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+void bigCharOut(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, char chr)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	chr &= 0x7F;
+	if (chr == ' ')
+		return;
+
+	srcPtr = &font2Data[chr * FONT2_CHAR_W];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	pixVal = video.palette[paletteIndex];
+
+	for (uint32_t y = 0; y < FONT2_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT2_CHAR_W; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT2_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void bigCharOutShadow(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint8_t shadowPaletteIndex, char chr)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal1, pixVal2;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	chr &= 0x7F;
+	if (chr == ' ')
+		return;
+
+	pixVal1 = video.palette[paletteIndex];
+	pixVal2 = video.palette[shadowPaletteIndex];
+	srcPtr  = &font2Data[chr * FONT2_CHAR_W];
+	dstPtr  = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT2_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT2_CHAR_W; x++)
+		{
+			if (srcPtr[x])
+			{
+				dstPtr[x+(SCREEN_W+1)] = pixVal2;
+				dstPtr[x] = pixVal1;
+			}
+		}
+
+		srcPtr += FONT2_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+void textOut(uint16_t x, uint16_t y, uint8_t paletteIndex, const char *textPtr)
+{
+	char chr;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	while (true)
+	{
+		chr = *textPtr++;
+		if (chr == '\0')
+			break;
+
+		charOut(currX, y, paletteIndex, chr);
+		currX += charWidth(chr);
+	}
+}
+
+// fixed width
+void textOutFixed(uint16_t x, uint16_t y, uint8_t fgPaltete, uint8_t bgPalette, const char *textPtr)
+{
+	char chr;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	while (true)
+	{
+		chr = *textPtr++;
+		if (chr == '\0')
+			break;
+
+		charOutBg(currX, y, fgPaltete, bgPalette, chr);
+		currX += FONT1_CHAR_W-1;
+	}
+}
+
+void textOutShadow(uint16_t x, uint16_t y, uint8_t paletteIndex, uint8_t shadowPaletteIndex, const char *textPtr)
+{
+	char chr;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	while (true)
+	{
+		chr = *textPtr++;
+		if (chr == '\0')
+			break;
+
+		charOutShadow(currX, y, paletteIndex, shadowPaletteIndex, chr);
+		currX += charWidth(chr);
+	}
+}
+
+void bigTextOut(uint16_t x, uint16_t y, uint8_t paletteIndex, const char *textPtr)
+{
+	char chr;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	while (true)
+	{
+		chr = *textPtr++;
+		if (chr == '\0')
+			break;
+
+		bigCharOut(currX, y, paletteIndex, chr);
+		currX += charWidth16(chr);
+	}
+}
+
+void bigTextOutShadow(uint16_t x, uint16_t y, uint8_t paletteIndex, uint8_t shadowPaletteIndex, const char *textPtr)
+{
+	char chr;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	while (true)
+	{
+		chr = *textPtr++;
+		if (chr == '\0')
+			break;
+
+		bigCharOutShadow(currX, y, paletteIndex, shadowPaletteIndex, chr);
+		currX += charWidth16(chr);
+	}
+}
+
+void textOutClipX(uint16_t x, uint16_t y, uint8_t paletteIndex, const char *textPtr, uint16_t clipX)
+{
+	char chr;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	while (true)
+	{
+		chr = *textPtr++;
+		if (chr == '\0')
+			break;
+
+		charOutClipX(currX, y, paletteIndex, chr, clipX);
+
+		currX += charWidth(chr);
+		if (currX >= clipX)
+			break;
+	}
+}
+
+void hexOut(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint32_t val, uint8_t numDigits)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	pixVal = video.palette[paletteIndex];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (int32_t i = numDigits-1; i >= 0; i--)
+	{
+		srcPtr = &font6Data[((val >> (i * 4)) & 15) * FONT6_CHAR_W];
+
+		// render glyph
+		for (uint32_t y = 0; y < FONT6_CHAR_H; y++)
+		{
+			for (uint32_t x = 0; x < FONT6_CHAR_W; x++)
+			{
+				if (srcPtr[x])
+					dstPtr[x] = pixVal;
+			}
+
+			srcPtr += FONT6_WIDTH;
+			dstPtr += SCREEN_W;
+		}
+
+		dstPtr -= (SCREEN_W * FONT6_CHAR_H) - FONT6_CHAR_W; // xpos += FONT6_CHAR_W
+	}
+}
+
+void hexOutBg(uint16_t xPos, uint16_t yPos, uint8_t fgPalette, uint8_t bgPalette, uint32_t val, uint8_t numDigits)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, fg, bg;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H);
+
+	fg = video.palette[fgPalette];
+	bg = video.palette[bgPalette];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (int32_t i = numDigits-1; i >= 0; i--)
+	{
+		// extract current nybble and set pointer to glyph
+		srcPtr = &font6Data[((val >> (i * 4)) & 15) * FONT6_CHAR_W];
+
+		// render glyph
+		for (uint32_t y = 0; y < FONT6_CHAR_H; y++)
+		{
+			for (uint32_t x = 0; x < FONT6_CHAR_W; x++)
+				dstPtr[x] = srcPtr[x] ? fg : bg;
+
+			srcPtr += FONT6_WIDTH;
+			dstPtr += SCREEN_W;
+		}
+
+		dstPtr -= (SCREEN_W * FONT6_CHAR_H) - FONT6_CHAR_W; // xpos += FONT6_CHAR_W 
+	}
+}
+
+void hexOutShadow(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint8_t shadowPaletteIndex, uint32_t val, uint8_t numDigits)
+{
+	hexOut(xPos + 1, yPos + 1, shadowPaletteIndex, val, numDigits);
+	hexOut(xPos + 0, yPos + 0,       paletteIndex, val, numDigits);
+}
+
+// FILL ROUTINES
+
+void clearRect(uint16_t xPos, uint16_t yPos, uint16_t w, uint16_t h)
+{
+	uint32_t *dstPtr, fillNumDwords;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H && (xPos + w) <= SCREEN_W && (yPos + h) <= SCREEN_H);
+
+	fillNumDwords = w * sizeof (int32_t);
+
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	for (uint32_t y = 0; y < h; y++)
+	{
+		memset(dstPtr, 0, fillNumDwords);
+		dstPtr += SCREEN_W;
+	}
+}
+
+void fillRect(uint16_t xPos, uint16_t yPos, uint16_t w, uint16_t h, uint8_t paletteIndex)
+{
+	uint32_t *dstPtr, pixVal;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H && (xPos + w) <= SCREEN_W && (yPos + h) <= SCREEN_H);
+
+	pixVal = video.palette[paletteIndex];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < h; y++)
+	{
+		for (uint32_t x = 0; x < w; x++)
+			dstPtr[x] = pixVal;
+
+		dstPtr += SCREEN_W;
+	}
+}
+
+void blit32(uint16_t xPos, uint16_t yPos, const uint32_t* srcPtr, uint16_t w, uint16_t h)
+{
+    uint32_t* dstPtr;
+
+    assert(srcPtr != NULL && xPos < SCREEN_W && yPos < SCREEN_H && (xPos + w) <= SCREEN_W && (yPos + h) <= SCREEN_H);
+
+    dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+    for (uint32_t y = 0; y < h; y++)
+    {
+        for (uint32_t x = 0; x < w; x++)
+        {
+            if (srcPtr[x] != 0x00FF00)
+                dstPtr[x] = srcPtr[x] | 0xFF000000; // most significant 8 bits = palette number. 0xFF because no true palette
+        }
+
+        srcPtr += w;
+        dstPtr += SCREEN_W;
+    }
+}
+
+void blit(uint16_t xPos, uint16_t yPos, const uint8_t *srcPtr, uint16_t w, uint16_t h)
+{
+	uint32_t *dstPtr;
+
+	assert(srcPtr != NULL && xPos < SCREEN_W && yPos < SCREEN_H && (xPos + w) <= SCREEN_W && (yPos + h) <= SCREEN_H);
+
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	for (uint32_t y = 0; y < h; y++)
+	{
+		for (uint32_t x = 0; x < w; x++)
+		{
+			if (srcPtr[x] != PAL_TRANSPR)
+				dstPtr[x] = video.palette[srcPtr[x]];
+		}
+
+		srcPtr += w;
+		dstPtr += SCREEN_W;
+	}
+}
+
+void blitFast(uint16_t xPos, uint16_t yPos, const uint8_t *srcPtr, uint16_t w, uint16_t h) // no transparency/colorkey
+{
+	uint32_t *dstPtr;
+
+	assert(srcPtr != NULL && xPos < SCREEN_W && yPos < SCREEN_H && (xPos + w) <= SCREEN_W && (yPos + h) <= SCREEN_H);
+
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	for (uint32_t y = 0; y < h; y++)
+	{
+		for (uint32_t x = 0; x < w; x++)
+			dstPtr[x] = video.palette[srcPtr[x]];
+
+		srcPtr += w;
+		dstPtr += SCREEN_W;
+	}
+}
+
+// LINE ROUTINES
+
+void hLine(uint16_t x, uint16_t y, uint16_t w, uint8_t paletteIndex)
+{
+	uint32_t *dstPtr, pixVal;
+
+	assert(x < SCREEN_W && y < SCREEN_H && (x + w) <= SCREEN_W);
+
+	pixVal = video.palette[paletteIndex];
+
+	dstPtr = &video.frameBuffer[(y * SCREEN_W) + x];
+	for (uint32_t i = 0; i < w; i++)
+		dstPtr[i] = pixVal;
+}
+
+void vLine(uint16_t x, uint16_t y, uint16_t h, uint8_t paletteIndex)
+{
+	uint32_t *dstPtr, pixVal;
+
+	assert(x < SCREEN_W && y < SCREEN_H && (y + h) <= SCREEN_W);
+
+	pixVal = video.palette[paletteIndex];
+
+	dstPtr = &video.frameBuffer[(y * SCREEN_W) + x];
+	for (uint32_t i = 0; i < h; i++)
+	{
+		*dstPtr  = pixVal;
+		 dstPtr += SCREEN_W;
+	}
+}
+
+void hLineDouble(uint16_t x, uint16_t y, uint16_t w, uint8_t paletteIndex)
+{
+	hLine(x, y, w, paletteIndex);
+	hLine(x, y+1, w, paletteIndex);
+}
+
+void vLineDouble(uint16_t x, uint16_t y, uint16_t h, uint8_t paletteIndex)
+{
+	vLine(x, y, h, paletteIndex);
+	vLine(x+1, y, h, paletteIndex);
+}
+
+void line(int16_t x1, int16_t x2, int16_t y1, int16_t y2, uint8_t paletteIndex)
+{
+	int16_t d, x, y, sx, sy, dx, dy;
+	uint16_t ax, ay;
+	int32_t pitch;
+	uint32_t pixVal, *dst32;
+
+	// get coefficients
+	dx = x2 - x1;
+	ax = ABS(dx) * 2;
+	sx = SGN(dx);
+	dy = y2 - y1;
+	ay = ABS(dy) * 2;
+	sy = SGN(dy);
+	x  = x1;
+	y  = y1;
+
+	pixVal = video.palette[paletteIndex];
+	pitch  = sy * SCREEN_W;
+	dst32  = &video.frameBuffer[(y * SCREEN_W) + x];
+
+	// draw line
+	if (ax > ay)
+	{
+		d = ay - (ax / 2);
+		while (true)
+		{
+			*dst32 = pixVal;
+			if (x == x2)
+				break;
+
+			if (d >= 0)
+			{
+				d -= ax;
+				dst32 += pitch;
+			}
+
+			x += sx;
+			d += ay;
+			dst32 += sx;
+		}
+	}
+	else
+	{
+		d = ax - (ay / 2);
+		while (true)
+		{
+			*dst32 = pixVal;
+			if (y == y2)
+				break;
+
+			if (d >= 0)
+			{
+				d -= ay;
+				dst32 += sx;
+			}
+
+			y += sy;
+			d += ax;
+			dst32 += pitch;
+		}
+	}
+}
+
+void drawFramework(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint8_t type)
+{
+	assert(x < SCREEN_W && y < SCREEN_H && w >= 2 && h >= h);
+
+	h--;
+	w--;
+
+	if (type == FRAMEWORK_TYPE1)
+	{
+		// top left corner
+		hLine(x, y,     w,     PAL_DSKTOP1);
+		vLine(x, y + 1, h - 1, PAL_DSKTOP1);
+
+		// bottom right corner
+		hLine(x,     y + h, w,     PAL_DSKTOP2);
+		vLine(x + w, y,     h + 1, PAL_DSKTOP2);
+
+		// fill background
+		fillRect(x + 1, y + 1, w - 1, h - 1, PAL_DESKTOP);
+	}
+	else
+	{
+		// top left corner
+		hLine(x, y,     w + 1, PAL_DSKTOP2);
+		vLine(x, y + 1, h,     PAL_DSKTOP2);
+
+		// bottom right corner
+		hLine(x + 1, y + h, w,     PAL_DSKTOP1);
+		vLine(x + w, y + 1, h - 1, PAL_DSKTOP1);
+
+		// clear background
+		clearRect(x + 1, y + 1, w - 1, h - 1);
+	}
+}
+
+// GUI FUNCTIONS
+
+void showTopLeftMainScreen(bool restoreScreens)
+{
+	editor.ui.diskOpShown          = false;
+	editor.ui.sampleEditorExtShown = false;
+	editor.ui.instEditorExtShown   = false;
+	editor.ui.transposeShown       = false;
+	editor.ui.advEditShown         = false;
+	editor.ui.wavRendererShown     = false;
+	editor.ui.trimScreenShown      = false;
+
+	editor.ui.scopesShown = true;
+	if (restoreScreens)
+	{
+		switch (editor.ui.oldTopLeftScreen)
+		{
+			default: break;
+			case 1: editor.ui.diskOpShown          = true; break;
+			case 2: editor.ui.sampleEditorExtShown = true; break;
+			case 3: editor.ui.instEditorExtShown   = true; break;
+			case 4: editor.ui.transposeShown       = true; break;
+			case 5: editor.ui.advEditShown         = true; break;
+			case 6: editor.ui.wavRendererShown     = true; break;
+			case 7: editor.ui.trimScreenShown      = true; break;
+		}
+
+		if (editor.ui.oldTopLeftScreen > 0)
+			editor.ui.scopesShown = false;
+	}
+
+	editor.ui.oldTopLeftScreen = 0;
+
+	if (editor.ui.diskOpShown)
+	{
+		showDiskOpScreen();
+	}
+	else
+	{
+		// pos ed.
+		drawFramework(0, 0, 112, 77, FRAMEWORK_TYPE1);
+		drawFramework(2, 2,  51, 19, FRAMEWORK_TYPE2);
+		drawFramework(2,30,  51, 19, FRAMEWORK_TYPE2);
+		showScrollBar(SB_POS_ED);
+		showPushButton(PB_POSED_POS_UP);
+		showPushButton(PB_POSED_POS_DOWN);
+		showPushButton(PB_POSED_INS);
+		showPushButton(PB_POSED_PATT_UP);
+		showPushButton(PB_POSED_PATT_DOWN);
+		showPushButton(PB_POSED_DEL);
+		showPushButton(PB_POSED_LEN_UP);
+		showPushButton(PB_POSED_LEN_DOWN);
+		showPushButton(PB_POSED_REP_UP);
+		showPushButton(PB_POSED_REP_DOWN);
+		textOutShadow(4, 52, PAL_FORGRND, PAL_DSKTOP2, "Songlen.");
+		textOutShadow(4, 64, PAL_FORGRND, PAL_DSKTOP2, "Repstart");
+		drawPosEdNums(song.songPos);
+		drawSongLength();
+		drawSongRepS();
+
+		// logo button
+		showPushButton(PB_LOGO);
+		showPushButton(PB_BADGE);
+
+		// left menu
+		drawFramework(291, 0, 65, 173, FRAMEWORK_TYPE1);
+		showPushButton(PB_ABOUT);
+		showPushButton(PB_NIBBLES);
+		showPushButton(PB_KILL);
+		showPushButton(PB_TRIM);
+		showPushButton(PB_EXTEND_VIEW);
+		showPushButton(PB_TRANSPOSE);
+		showPushButton(PB_INST_ED_EXT);
+		showPushButton(PB_SMP_ED_EXT);
+		showPushButton(PB_ADV_EDIT);
+		showPushButton(PB_ADD_CHANNELS);
+		showPushButton(PB_SUB_CHANNELS);
+
+		// song/pattern
+		drawFramework(112, 32, 94, 45, FRAMEWORK_TYPE1);
+		drawFramework(206, 32, 85, 45, FRAMEWORK_TYPE1);
+		showPushButton(PB_BPM_UP);
+		showPushButton(PB_BPM_DOWN);
+		showPushButton(PB_SPEED_UP);
+		showPushButton(PB_SPEED_DOWN);
+		showPushButton(PB_EDITADD_UP);
+		showPushButton(PB_EDITADD_DOWN);
+		showPushButton(PB_PATT_UP);
+		showPushButton(PB_PATT_DOWN);
+		showPushButton(PB_PATTLEN_UP);
+		showPushButton(PB_PATTLEN_DOWN);
+		showPushButton(PB_PATT_EXPAND);
+		showPushButton(PB_PATT_SHRINK);
+		textOutShadow(116, 36, PAL_FORGRND, PAL_DSKTOP2, "BPM");
+		textOutShadow(116, 50, PAL_FORGRND, PAL_DSKTOP2, "Spd.");
+		textOutShadow(116, 64, PAL_FORGRND, PAL_DSKTOP2, "Add.");
+		textOutShadow(210, 36, PAL_FORGRND, PAL_DSKTOP2, "Ptn.");
+		textOutShadow(210, 50, PAL_FORGRND, PAL_DSKTOP2, "Ln.");
+		drawSongBPM(song.speed);
+		drawSongSpeed(song.tempo);
+		drawEditPattern(editor.editPattern);
+		drawPatternLength(editor.editPattern);
+		drawIDAdd();
+
+		// status bar
+		drawFramework(0, 77, 291, 15, FRAMEWORK_TYPE1);
+		textOutShadow(4, 80, PAL_FORGRND, PAL_DSKTOP2, "Global volume");
+		drawGlobalVol(song.globVol);
+
+		editor.ui.updatePosSections = true;
+
+		textOutShadow(204, 80, PAL_FORGRND, PAL_DSKTOP2, "Time");
+		charOutShadow(250, 80, PAL_FORGRND, PAL_DSKTOP2, ':');
+		charOutShadow(270, 80, PAL_FORGRND, PAL_DSKTOP2, ':');
+		drawPlaybackTime();
+
+		     if (editor.ui.sampleEditorExtShown) drawSampleEditorExt();
+		else if (editor.ui.instEditorExtShown)   drawInstEditorExt();
+		else if (editor.ui.transposeShown)       drawTranspose();
+		else if (editor.ui.advEditShown)         drawAdvEdit();
+		else if (editor.ui.wavRendererShown)     drawWavRenderer();
+		else if (editor.ui.trimScreenShown)      drawTrimScreen();
+
+		if (editor.ui.scopesShown)
+			drawScopeFramework();
+	}
+}
+
+void hideTopLeftMainScreen(void)
+{
+	hideDiskOpScreen();
+	hideInstEditorExt();
+	hideSampleEditorExt();
+	hideTranspose();
+	hideAdvEdit();
+	hideWavRenderer();
+	hideTrimScreen();
+
+	editor.ui.scopesShown = false;
+
+	// position editor
+	hideScrollBar(SB_POS_ED);
+
+	hidePushButton(PB_POSED_POS_UP);
+	hidePushButton(PB_POSED_POS_DOWN);
+	hidePushButton(PB_POSED_INS);
+	hidePushButton(PB_POSED_PATT_UP);
+	hidePushButton(PB_POSED_PATT_DOWN);
+	hidePushButton(PB_POSED_DEL);
+	hidePushButton(PB_POSED_LEN_UP);
+	hidePushButton(PB_POSED_LEN_DOWN);
+	hidePushButton(PB_POSED_REP_UP);
+	hidePushButton(PB_POSED_REP_DOWN);
+
+	// logo button
+	hidePushButton(PB_LOGO);
+	hidePushButton(PB_BADGE);
+
+	// left menu
+	hidePushButton(PB_ABOUT);
+	hidePushButton(PB_NIBBLES);
+	hidePushButton(PB_KILL);
+	hidePushButton(PB_TRIM);
+	hidePushButton(PB_EXTEND_VIEW);
+	hidePushButton(PB_TRANSPOSE);
+	hidePushButton(PB_INST_ED_EXT);
+	hidePushButton(PB_SMP_ED_EXT);
+	hidePushButton(PB_ADV_EDIT);
+	hidePushButton(PB_ADD_CHANNELS);
+	hidePushButton(PB_SUB_CHANNELS);
+
+	// song/pattern
+	hidePushButton(PB_BPM_UP);
+	hidePushButton(PB_BPM_DOWN);
+	hidePushButton(PB_SPEED_UP);
+	hidePushButton(PB_SPEED_DOWN);
+	hidePushButton(PB_EDITADD_UP);
+	hidePushButton(PB_EDITADD_DOWN);
+	hidePushButton(PB_PATT_UP);
+	hidePushButton(PB_PATT_DOWN);
+	hidePushButton(PB_PATTLEN_UP);
+	hidePushButton(PB_PATTLEN_DOWN);
+	hidePushButton(PB_PATT_EXPAND);
+	hidePushButton(PB_PATT_SHRINK);
+}
+
+void showTopRightMainScreen(void)
+{
+	// right menu
+	drawFramework(356, 0, 65, 173, FRAMEWORK_TYPE1);
+	showPushButton(PB_PLAY_SONG);
+	showPushButton(PB_PLAY_PATT);
+	showPushButton(PB_STOP);
+	showPushButton(PB_RECORD_SONG);
+	showPushButton(PB_RECORD_PATT);
+	showPushButton(PB_DISK_OP);
+	showPushButton(PB_INST_ED);
+	showPushButton(PB_SMP_ED);
+	showPushButton(PB_CONFIG);
+	showPushButton(PB_HELP);
+
+	// instrument switcher
+	editor.ui.instrSwitcherShown = true;
+	showInstrumentSwitcher();
+
+	// song name
+	showTextBox(TB_SONG_NAME);
+	drawSongName();
+}
+
+void hideTopRightMainScreen(void)
+{
+	// right menu
+	hidePushButton(PB_PLAY_SONG);
+	hidePushButton(PB_PLAY_PATT);
+	hidePushButton(PB_STOP);
+	hidePushButton(PB_RECORD_SONG);
+	hidePushButton(PB_RECORD_PATT);
+	hidePushButton(PB_DISK_OP);
+	hidePushButton(PB_INST_ED);
+	hidePushButton(PB_SMP_ED);
+	hidePushButton(PB_CONFIG);
+	hidePushButton(PB_HELP);
+
+	// instrument switcher
+	hideInstrumentSwitcher();
+	editor.ui.instrSwitcherShown = false;
+
+	hideTextBox(TB_SONG_NAME);
+}
+
+// BOTTOM STUFF
+
+void setOldTopLeftScreenFlag(void)
+{
+	     if (editor.ui.diskOpShown)          editor.ui.oldTopLeftScreen = 1;
+	else if (editor.ui.sampleEditorExtShown) editor.ui.oldTopLeftScreen = 2;
+	else if (editor.ui.instEditorExtShown)   editor.ui.oldTopLeftScreen = 3;
+	else if (editor.ui.transposeShown)       editor.ui.oldTopLeftScreen = 4;
+	else if (editor.ui.advEditShown)         editor.ui.oldTopLeftScreen = 5;
+	else if (editor.ui.wavRendererShown)     editor.ui.oldTopLeftScreen = 6;
+	else if (editor.ui.trimScreenShown)      editor.ui.oldTopLeftScreen = 7;
+}
+
+void hideTopLeftScreen(void)
+{
+	setOldTopLeftScreenFlag();
+
+	hideTopLeftMainScreen();
+	hideNibblesScreen();
+	hideConfigScreen();
+	hideAboutScreen();
+	hideHelpScreen();
+}
+
+void hideTopScreen(void)
+{
+	setOldTopLeftScreenFlag();
+
+	hideTopLeftMainScreen();
+	hideTopRightMainScreen();
+	hideNibblesScreen();
+	hideConfigScreen();
+	hideAboutScreen();
+	hideHelpScreen();
+
+	editor.ui.instrSwitcherShown = false;
+	editor.ui.scopesShown = false;
+}
+
+void showTopScreen(bool restoreScreens)
+{
+	editor.ui.scopesShown = false;
+
+	     if (editor.ui.aboutScreenShown)  showAboutScreen();
+	else if (editor.ui.configScreenShown) showConfigScreen();
+	else if (editor.ui.helpScreenShown)   showHelpScreen();
+	else if (editor.ui.nibblesShown)      showNibblesScreen();
+	else
+	{
+		showTopLeftMainScreen(restoreScreens); // updates editor.ui.scopesShown
+		showTopRightMainScreen();
+	}
+}
+
+void showBottomScreen(void)
+{
+	if (editor.ui.extended || editor.ui.patternEditorShown)
+		showPatternEditor();
+	else if (editor.ui.instEditorShown)
+		showInstEditor();
+	else if (editor.ui.sampleEditorShown)
+		showSampleEditor();
+}
+
+void drawGUIOnRunTime(void)
+{
+	setScrollBarPos(SB_POS_ED, 0, false);
+
+	showTopScreen(false); // false = don't restore screens
+	showPatternEditor();
+
+	editor.ui.updatePosSections = true;
+}
--- /dev/null
+++ b/src/ft2_gui.h
@@ -1,0 +1,114 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_pushbuttons.h"
+#include "ft2_radiobuttons.h"
+#include "ft2_checkboxes.h"
+#include "ft2_scrollbars.h"
+#include "ft2_sysreqs.h"
+#include "ft2_textboxes.h"
+#include "ft2_palette.h"
+
+#define FONT1_CHAR_W 8
+#define FONT1_CHAR_H 10
+#define FONT1_WIDTH 1024
+#define FONT2_CHAR_W 16
+#define FONT2_CHAR_H 20
+#define FONT2_WIDTH 2048
+#define FONT3_CHAR_W 4
+#define FONT3_CHAR_H 8
+#define FONT3_WIDTH 172
+#define FONT4_CHAR_W 8
+#define FONT4_CHAR_H 8
+#define FONT4_WIDTH 584
+#define FONT5_CHAR_W 16
+#define FONT5_CHAR_H 8
+#define FONT5_WIDTH 624
+#define FONT6_CHAR_W 7
+#define FONT6_CHAR_H 8
+#define FONT6_WIDTH 112
+#define FONT7_CHAR_W 6
+#define FONT7_CHAR_H 8
+#define FONT7_WIDTH 140
+
+enum
+{
+	FRAMEWORK_TYPE1 = 0,
+	FRAMEWORK_TYPE2 = 1,
+
+	FONT_TYPE1 = 0,
+	FONT_TYPE2 = 1,
+	FONT_TYPE3 = 2,
+	FONT_TYPE4 = 3,
+	FONT_TYPE5 = 4,
+	FONT_TYPE6 = 5,
+	FONT_TYPE7 = 6,
+
+	OBJECT_ID_NONE = -1,
+
+	OBJECT_NONE = 0,
+	OBJECT_PUSHBUTTON = 1,
+	OBJECT_RADIOBUTTON = 2,
+	OBJECT_CHECKBOX = 3,
+	OBJECT_SCROLLBAR = 4,
+	OBJECT_TEXTBOX = 5,
+	OBJECT_INSTRSWITCH = 6,
+	OBJECT_PATTERNMARK = 7,
+	OBJECT_DISKOPLIST = 8,
+	OBJECT_SMPDATA = 9,
+	OBJECT_PIANO = 10,
+	OBJECT_INSVOLENV = 11,
+	OBJECT_INSPANENV = 12
+};
+
+extern pushButton_t pushButtons[NUM_PUSHBUTTONS];
+extern radioButton_t radioButtons[NUM_RADIOBUTTONS];
+extern checkBox_t checkBoxes[NUM_CHECKBOXES];
+extern scrollBar_t scrollBars[NUM_SCROLLBARS];
+extern textBox_t textBoxes[NUM_TEXTBOXES];
+
+void unstuckLastUsedGUIElement(void);
+bool setupGUI(void);
+
+void hLine(uint16_t x, uint16_t y, uint16_t width, uint8_t paletteIndex);
+void vLine(uint16_t x, uint16_t y, uint16_t h, uint8_t paletteIndex);
+void hLineDouble(uint16_t x, uint16_t y, uint16_t w, uint8_t paletteIndex);
+void vLineDouble(uint16_t x, uint16_t y, uint16_t h, uint8_t paletteIndex);
+void line(int16_t x1, int16_t x2, int16_t y1, int16_t y2, uint8_t paletteIndex);
+void clearRect(uint16_t xPos, uint16_t yPos, uint16_t w, uint16_t h);
+void fillRect(uint16_t xPos, uint16_t yPos, uint16_t w, uint16_t h, uint8_t paletteIndex);
+void drawFramework(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint8_t type);
+void blit32(uint16_t xPos, uint16_t yPos, const uint32_t* srcPtr, uint16_t w, uint16_t h);
+void blit(uint16_t xPos, uint16_t yPos, const uint8_t *srcPtr, uint16_t w, uint16_t h);
+void blitFast(uint16_t xPos, uint16_t yPos, const uint8_t *srcPtr, uint16_t w, uint16_t h); // no colorkey
+void hexOut(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint32_t val, uint8_t numDigits);
+void hexOutBg(uint16_t xPos, uint16_t yPos, uint8_t fgPalette, uint8_t bgPalette, uint32_t val, uint8_t numDigits);
+void hexOutShadow(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint8_t shadowPaletteIndex, uint32_t val, uint8_t numDigits);
+void charOut(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, char chr);
+void charOutBg(uint16_t xPos, uint16_t yPos, uint8_t fgPalette, uint8_t bgPalette, char chr);
+void charOutShadow(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, uint8_t shadowPaletteIndex, char chr);
+void charOutClipX(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, char chr, uint16_t clipX);
+void bigCharOut(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, char chr);
+void charOutShadow(uint16_t x, uint16_t y, uint8_t paletteIndex, uint8_t shadowPaletteIndex, char chr);
+void charOutOutlined(uint16_t x, uint16_t y, uint8_t paletteIndex, char chr);
+void textOut(uint16_t x, uint16_t y, uint8_t paletteIndex, const char *textPtr);
+void textOutFixed(uint16_t x, uint16_t y, uint8_t fgPaltete, uint8_t bgPalette, const char *textPtr);
+void bigTextOut(uint16_t x, uint16_t y, uint8_t paletteIndex, const char *textPtr);
+void bigTextOutShadow(uint16_t x, uint16_t y, uint8_t paletteIndex, uint8_t shadowPaletteIndex, const char *textPtr);
+void textOutClipX(uint16_t x, uint16_t y, uint8_t paletteIndex, const char *textPtr, uint16_t clipX);
+void textOutShadow(uint16_t x, uint16_t y, uint8_t paletteIndex, uint8_t shadowPaletteIndex, const char *textPtr);
+uint8_t charWidth(char ch);
+uint8_t charWidth16(char ch);
+uint16_t textWidth(const char *textPtr);
+uint16_t textNWidth(const char *textPtr, int32_t length);
+uint16_t textWidth16(const char *textPtr);
+void drawGUIOnRunTime(void);
+void showTopLeftMainScreen(bool restoreScreens);
+void hideTopLeftMainScreen(void);
+void showTopRightMainScreen(void);
+void hideTopRightMainScreen(void);
+void hideTopLeftScreen(void);
+void hideTopScreen(void);
+void showTopScreen(bool restoreScreens);
+void showBottomScreen(void);
--- /dev/null
+++ b/src/ft2_header.h
@@ -1,0 +1,141 @@
+#pragma once
+
+#include <SDL2/SDL.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <assert.h>
+#ifdef _WIN32
+#define WIN32_MEAN_AND_LEAN
+#include <windows.h>
+#else
+#include <limits.h> // PATH_MAX
+#endif
+#include "ft2_replayer.h"
+
+#define PROG_VER_STR "1.03"
+
+// do NOT change these! It will only mess things up...
+
+/* "60Hz" ranges everywhere from 59..61Hz depending on the monitor, so with
+** no vsync we will get stuttering because the rate is not perfect... */
+#define VBLANK_HZ 60
+
+/* Scopes are clocked at 64Hz instead of 60Hz to prevent possible stutters
+** from monitors not being exactly 60Hz (and unstable non-vsync mode). */
+#define SCOPE_HZ 64
+
+#define FT2_VBLANK_HZ 70
+#define SCREEN_W 632
+#define SCREEN_H 400
+
+/* Amount of extra bytes to allocate for every instrument sample,
+** this is used for a hack for resampling interpolation to be
+** branchless in the inner channel mixer loop.
+** Warning: Do not change this! */
+#define LOOP_FIX_LEN 4
+
+#ifndef _WIN32
+#define _stricmp strcasecmp
+#define _strnicmp strncasecmp
+#define DIR_DELIMITER '/'
+#else
+#define DIR_DELIMITER '\\'
+#define PATH_MAX MAX_PATH
+#endif
+
+#define SGN(x) (((x) >= 0) ? 1 : -1)
+#define ABS(a) (((a) < 0) ? -(a) : (a))
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
+#define MAX(a, b) (((a) > (b)) ? (a) : (b))
+#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
+
+// fast 32-bit -> 8-bit clamp
+#define CLAMP8(i) if ((int8_t)(i) != i) i = 0x7F ^ (i >> 31)
+
+// fast 32-bit -> 16-bit clamp
+#define CLAMP16(i) if ((int16_t)(i) != i) i = 0x7FFF ^ (i >> 31)
+
+#define SWAP16(value) \
+( \
+	(((uint16_t)((value) & 0x00FF)) << 8) | \
+	(((uint16_t)((value) & 0xFF00)) >> 8)   \
+)
+
+#define SWAP32(value) \
+( \
+	(((uint32_t)((value) & 0x000000FF)) << 24) | \
+	(((uint32_t)((value) & 0x0000FF00)) <<  8) | \
+	(((uint32_t)((value) & 0x00FF0000)) >>  8) | \
+	(((uint32_t)((value) & 0xFF000000)) >> 24)   \
+)
+
+struct cpu_t
+{
+	bool hasSSE, hasSSE2;
+} cpu;
+
+struct editor_t
+{
+	struct ui_t
+	{
+		volatile bool setMouseBusy, setMouseIdle;
+		bool sysReqEnterPressed;
+		char fullscreenButtonText[24];
+
+		// all screens
+		bool extended, sysReqShown;
+
+		// top screens
+		bool instrSwitcherShown, aboutScreenShown, helpScreenShown, configScreenShown;
+		bool scopesShown, diskOpShown, nibblesShown, transposeShown, instEditorExtShown;
+		bool sampleEditorExtShown, advEditShown, wavRendererShown, trimScreenShown;
+		bool drawBPMFlag, drawSpeedFlag, drawGlobVolFlag, drawPosEdFlag, drawPattNumLenFlag;
+		bool updatePosSections;
+		uint8_t oldTopLeftScreen;
+
+		// bottom screens
+		bool patternEditorShown, instEditorShown, sampleEditorShown, pattChanScrollShown;
+		bool leftLoopPinMoving, rightLoopPinMoving;
+		bool drawReplayerPianoFlag, drawPianoFlag, updatePatternEditor;
+		uint8_t channelOffset, numChannelsShown, maxVisibleChannels;
+		uint16_t patternChannelWidth;
+		int32_t sampleDataOrLoopDrag;
+
+		// backup flag for when entering/exiting extended pattern editor (TODO: this is lame and shouldn't be hardcoded)
+		bool _aboutScreenShown, _helpScreenShown, _configScreenShown, _diskOpShown;
+		bool _nibblesShown, _transposeShown, _instEditorShown;
+		bool _instEditorExtShown, _sampleEditorExtShown, _patternEditorShown;
+		bool _sampleEditorShown, _advEditShown, _wavRendererShown, _trimScreenShown;
+		// -------------------------------------------------------------------------
+	} ui;
+
+	struct cursor_t
+	{
+		uint8_t ch;
+		int8_t object;
+	} cursor;
+
+	UNICHAR binaryPathU[PATH_MAX + 2];
+	UNICHAR *tmpFilenameU, *tmpInstrFilenameU; // used by saving/loading threads
+	UNICHAR *configFileLocation, *audioDevConfigFileLocation, *midiConfigFileLocation;
+
+	volatile bool busy, scopeThreadMutex, programRunning, wavIsRendering, wavReachedEndFlag;
+	volatile bool updateCurSmp, updateCurInstr, diskOpReadDir, diskOpReadDone, updateWindowTitle;
+	volatile uint8_t loadMusicEvent;
+	volatile FILE *wavRendererFileHandle;
+
+	bool autoPlayOnDrop, trimThreadWasDone, throwExit, editTextFlag;
+	bool copyMaskEnable, diskOpReadOnOpen, samplingAudioFlag, editSampleFlag;
+	bool instrBankSwapped, chnMode[MAX_VOICES], NI_Play;
+
+	uint8_t curPlayInstr, curPlaySmp, curSmpChannel, currPanEnvPoint, currVolEnvPoint;
+	uint8_t copyMask[5], pasteMask[5], transpMask[5], smpEd_NoteNr, instrBankOffset, sampleBankOffset;
+	uint8_t srcInstr, curInstr, srcSmp, curSmp, currHelpScreen, currConfigScreen, textCursorBlinkCounter;
+	uint8_t keyOnTab[MAX_VOICES], ID_Add, curOctave;
+	uint8_t sampleSaveMode, moduleSaveMode, ptnJumpPos[4];
+	int16_t globalVol, songPos, pattPos;
+	uint16_t tmpPattern, editPattern, speed, tempo, timer, ptnCursorY;
+	int32_t keyOffNr, keyOffTime[MAX_VOICES];
+	uint32_t framesPassed, wavRendererTime;
+	double dPerfFreq, dPerfFreqMulMicro, dPerfFreqMulMs;
+} editor;
--- /dev/null
+++ b/src/ft2_help.c
@@ -1,0 +1,516 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdio.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_help.h"
+#include "ft2_video.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gfxdata.h"
+#include "helpdata/ft2_help_data.h"
+
+typedef struct
+{
+	bool bigFont, noLine;
+	uint8_t color;
+	int16_t xPos;
+	char text[100];
+} helpRec;
+
+#define HELP_LINES 15
+#define MAX_HELP_LINES 768
+#define HELP_SIZE sizeof (helpRec)
+#define MAX_SUBJ 10
+#define HELP_KOL 135
+#define HELP_WIDTH (596 - HELP_KOL)
+
+static uint8_t fHlp_Nr;
+static int16_t textLine, fHlp_Line, subjLen[MAX_SUBJ];
+static int32_t helpBufferPos;
+static helpRec *subjPtrArr[MAX_SUBJ];
+
+static void addText(helpRec *t, int16_t xPos, uint8_t color, char *text)
+{
+	if (*text == '\0')
+		return;
+
+	t->xPos = xPos;
+	t->color = color;
+	t->bigFont = false;
+	t->noLine = false;
+	strcpy(t->text, text);
+	*text = '\0'; // empty old string
+
+	textLine++;
+}
+
+static bool getLine(char *output)
+{
+	uint8_t strLen;
+
+	if (helpBufferPos >= (int32_t)sizeof (helpData))
+	{
+		*output = '\0';
+		return false;
+	}
+
+	strLen = helpData[helpBufferPos++];
+	memcpy(output, &helpData[helpBufferPos], strLen);
+	output[strLen] = '\0';
+
+	helpBufferPos += strLen;
+
+	return true;
+}
+
+static int16_t controlCodeToNum(const char *controlCode)
+{
+	return (((controlCode[0]-'0')%10)*100) + (((controlCode[1]-'0')%10)*10) + ((controlCode[2]-'0')%10);
+}
+
+static char *ltrim(char *s)
+{
+	if (*s == '\0')
+		return (s);
+
+	while (*s == ' ') s++;
+
+	return s;
+}
+
+static char *rtrim(char *s)
+{
+	int32_t i;
+
+	if (*s == '\0')
+		return (s);
+
+	i = (int32_t)strlen(s) - 1;
+	while (i >= 0)
+	{
+		if (s[i] != ' ')
+		{
+			s[i+1] = '\0';
+			break;
+		}
+
+		i--;
+	}
+
+	return s;
+}
+
+static void readHelp(void) // this is really messy, directly ported from Pascal code...
+{
+	char text[256], text2[256], *s, *sEnd, *s2, *s3;
+	uint8_t currColor;
+	int16_t a, b, i, k, currKol, strLen;
+	helpRec *tempText, *t;
+
+	tempText = (helpRec *)malloc(HELP_SIZE * MAX_HELP_LINES);
+	if (tempText == NULL)
+	{
+		okBox(0, "System message", "Not enough memory!");
+		return;
+	}
+	
+	text[0] = '\0';
+	text2[0] = '\0';
+
+	s2 = text2;
+
+	helpBufferPos = 0;
+	for (int16_t subj = 0; subj < MAX_SUBJ; subj++)
+	{
+		textLine  = 0;
+		currKol   = 0;
+		currColor = PAL_FORGRND;
+
+		getLine(text); s = text;
+		while (strncmp(s, "END", 3) != 0)
+		{
+			if (*s == ';')
+			{
+				if (!getLine(text))
+					break;
+
+				s = text;
+				continue;
+			}
+
+			if (*(uint16_t *)s == 0x4C40) // @L - "big font"
+			{
+				addText(&tempText[textLine], currKol, currColor, s2);
+				s += 2;
+
+				if (*(uint16_t *)s == 0x5840) // @X - "change X position"
+				{
+					currKol = controlCodeToNum(&s[2]);
+					s += 5;
+				}
+
+				if (*(uint16_t *)s == 0x4340) // @C - "change color
+				{
+					currColor = (uint8_t)controlCodeToNum(&s[2]);
+					currColor = (currColor < 2) ? PAL_FORGRND : PAL_BUTTONS;
+					s += 5;
+				}
+
+				t = &tempText[textLine];
+				t->xPos = currKol;
+				t->color = currColor;
+				t->bigFont = true;
+				t->noLine = false;
+				strcpy(t->text, s);
+				textLine++;
+
+				t = &tempText[textLine];
+				t->noLine = true;
+				textLine++;
+			}
+			else
+			{
+				if (*s == '>')
+				{
+					addText(&tempText[textLine], currKol, currColor, s2);
+					s++;
+				}
+
+				if (*(uint16_t *)s == 0x5840) // @X - "set X position (relative to help X start)"
+				{
+					currKol = controlCodeToNum(&s[2]);
+					s += 5;
+				}
+
+				if (*(uint16_t *)s == 0x4340) // @C - "change color"
+				{
+					currColor = (uint8_t)controlCodeToNum(&s[2]);
+					currColor = (currColor < 2) ? PAL_FORGRND : PAL_BUTTONS;
+					s += 5;
+				}
+
+				s = ltrim(rtrim(s));
+				if (*s == '\0')
+				{
+					addText(&tempText[textLine], currKol, currColor, s2);
+					strcpy(s2, " ");
+					addText(&tempText[textLine], currKol, currColor, s2);
+				}
+
+				strLen = (int16_t)strlen(s);
+
+				sEnd = &s[strLen];
+				while (s < sEnd)
+				{
+					if (strLen < 0)
+						strLen = 0;
+
+					i = 0;
+					while (s[i] != ' ' && i < strLen) i++;
+					i++;
+
+					if (*(uint16_t *)s == 0x5440) // @T - "set absolute X position (in the middle of text)"
+					{
+						k = controlCodeToNum(&s[2]);
+						s += 5; strLen -= 5;
+
+						s3 = &s2[strlen(s2)];
+						while (textWidth(s2) + charWidth(' ') + 1 < k-currKol)
+						{
+							s3[0] = ' ';
+							s3[1] = '\0';
+							s3++;
+						}
+
+						b = textWidth(s2) + 1;
+						if (b < (k - currKol))
+						{
+							s3 = &s2[strlen(s2)];
+							for (a = 0; a < k-b-currKol; a++)
+								s3[a] = 127; // one-pixel spacer glyph
+							s3[a] = '\0';
+						}
+					}
+
+					if (textWidth(s2)+textNWidth(s,i)+2 > HELP_WIDTH-currKol)
+						addText(&tempText[textLine], currKol, currColor, s2);
+
+					strncat(s2, s, i);
+
+					s += i; strLen -= i;
+					if ((*s == '\0') || (s >= sEnd))
+						strcat(s2, " ");
+				}
+			}
+
+			if (textLine >= MAX_HELP_LINES || !getLine(text))
+				break;
+
+			s = text;
+		}
+
+		subjPtrArr[subj] = (helpRec *)malloc(HELP_SIZE * textLine);
+		if (subjPtrArr[subj] == NULL)
+		{
+			okBox(0, "System message", "Not enough memory!");
+			break;
+		}
+
+		memcpy(subjPtrArr[subj], tempText, HELP_SIZE * textLine);
+		subjLen[subj] = textLine;
+	}
+
+	free(tempText);
+}
+
+static void bigTextOutHalf(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, bool lowerHalf, const char *textPtr)
+{
+	char chr;
+	const uint8_t *srcPtr;
+	uint16_t currX;
+	uint32_t *dstPtr, pixVal;
+
+	assert(textPtr != NULL);
+
+	currX = xPos;
+	while (true)
+	{
+		chr = *textPtr++ & 0x7F;
+		if (chr == '\0')
+			break;
+
+		if (chr != ' ')
+		{
+			srcPtr = &font2Data[chr * FONT2_CHAR_W];
+			if (!lowerHalf)
+				srcPtr += (FONT2_CHAR_H / 2) * FONT2_WIDTH;
+
+			dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + currX];
+			pixVal = video.palette[paletteIndex];
+
+			for (uint32_t y = 0; y < FONT2_CHAR_H/2; y++)
+			{
+				for (uint32_t x = 0; x < FONT2_CHAR_W; x++)
+				{
+					if (srcPtr[x])
+						dstPtr[x] = pixVal;
+				}
+
+				srcPtr += FONT2_WIDTH;
+				dstPtr += SCREEN_W;
+			}
+		}
+
+		currX += charWidth16(chr);
+	}
+}
+
+static void writeHelp(void)
+{
+	int16_t k;
+	helpRec *pek;
+
+	pek = subjPtrArr[fHlp_Nr];
+	if (pek == NULL)
+		return;
+
+	for (int16_t i = 0; i < HELP_LINES; i++)
+	{
+		k = i + fHlp_Line;
+		if (k >= subjLen[fHlp_Nr])
+			break;
+
+		clearRect(HELP_KOL, 5 + (i * 11), HELP_WIDTH, 11);
+
+		if (pek[k].noLine)
+		{
+			if (i == 0)
+				bigTextOutHalf(HELP_KOL + pek[k-1].xPos, 5 + (i * 11), PAL_FORGRND, false, pek[k-1].text);
+		}
+		else
+		{
+			if (pek[k].bigFont)
+			{
+				if (i == (HELP_LINES - 1))
+				{
+					bigTextOutHalf(HELP_KOL + pek[k].xPos, 5 + (i * 11), PAL_FORGRND, true, pek[k].text);
+					return;
+				}
+				else
+				{
+					clearRect(HELP_KOL, 5 + ((i + 1) * 11), HELP_WIDTH, 11);
+					bigTextOut(HELP_KOL + pek[k].xPos, 5 + (i * 11), PAL_FORGRND, pek[k].text);
+					i++;
+				}
+			}
+			else
+			{
+				textOut(HELP_KOL + pek[k].xPos, 5 + (i * 11), pek[k].color, pek[k].text);
+			}
+		}
+	}
+}
+
+void helpScrollUp(void)
+{
+	if (fHlp_Line > 0)
+	{
+		scrollBarScrollUp(SB_HELP_SCROLL, 1);
+		writeHelp();
+	}
+}
+
+void helpScrollDown(void)
+{
+	if (fHlp_Line < subjLen[fHlp_Nr]-1)
+	{
+		scrollBarScrollDown(SB_HELP_SCROLL, 1);
+		writeHelp();
+	}
+}
+
+void helpScrollSetPos(uint32_t pos)
+{
+	if (fHlp_Line != (int16_t)pos)
+	{
+		fHlp_Line = (int16_t)pos;
+		writeHelp();
+	}
+}
+
+void showHelpScreen(void)
+{
+	uint16_t tmpID;
+
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	editor.ui.helpScreenShown = true;
+
+	drawFramework(0,   0, 128, 173, FRAMEWORK_TYPE1);
+	drawFramework(128, 0, 504, 173, FRAMEWORK_TYPE1);
+	drawFramework(130, 2, 479, 169, FRAMEWORK_TYPE2);
+
+	showPushButton(PB_HELP_EXIT);
+	showPushButton(PB_HELP_SCROLL_UP);
+	showPushButton(PB_HELP_SCROLL_DOWN);
+
+	uncheckRadioButtonGroup(RB_GROUP_HELP);
+	switch (fHlp_Nr)
+	{
+		default:
+		case 0: tmpID = RB_HELP_FEATURES;       break;
+		case 1: tmpID = RB_HELP_EFFECTS;        break;
+		case 2: tmpID = RB_HELP_KEYBOARD;       break;
+		case 3: tmpID = RB_HELP_HOW_TO_USE_FT2; break;
+		case 4: tmpID = RB_HELP_FAQ;            break;
+		case 5: tmpID = RB_HELP_KNOWN_BUGS;     break;
+	}
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	showRadioButtonGroup(RB_GROUP_HELP);
+
+	showScrollBar(SB_HELP_SCROLL);
+
+	textOutShadow(4,   3, PAL_FORGRND, PAL_DSKTOP2, "Subjects:");
+	textOutShadow(20, 17, PAL_FORGRND, PAL_DSKTOP2, "Features");
+	textOutShadow(20, 32, PAL_FORGRND, PAL_DSKTOP2, "Effects");
+	textOutShadow(20, 47, PAL_FORGRND, PAL_DSKTOP2, "Keyboard");
+	textOutShadow(20, 62, PAL_FORGRND, PAL_DSKTOP2, "How to use FT2");
+	textOutShadow(20, 77, PAL_FORGRND, PAL_DSKTOP2, "Problems/FAQ");
+	textOutShadow(20, 92, PAL_FORGRND, PAL_DSKTOP2, "Known bugs");
+
+	writeHelp();
+}
+
+void hideHelpScreen(void)
+{
+	hidePushButton(PB_HELP_EXIT);
+	hidePushButton(PB_HELP_SCROLL_UP);
+	hidePushButton(PB_HELP_SCROLL_DOWN);
+
+	hideRadioButtonGroup(RB_GROUP_HELP);
+	hideScrollBar(SB_HELP_SCROLL);
+
+	editor.ui.helpScreenShown = false;
+}
+
+void exitHelpScreen(void)
+{
+	hideHelpScreen();
+	showTopScreen(true);
+}
+
+static void setHelpSubject(uint8_t Nr)
+{
+	fHlp_Nr = Nr;
+	fHlp_Line = 0;
+
+	setScrollBarEnd(SB_HELP_SCROLL, subjLen[fHlp_Nr]);
+	setScrollBarPos(SB_HELP_SCROLL, fHlp_Line, false);
+}
+
+void rbHelpFeatures(void)
+{
+	checkRadioButton(RB_HELP_FEATURES);
+	setHelpSubject(0);
+	writeHelp();
+}
+
+void rbHelpEffects(void)
+{
+	checkRadioButton(RB_HELP_EFFECTS);
+	setHelpSubject(1);
+	writeHelp();
+}
+
+void rbHelpKeyboard(void)
+{
+	checkRadioButton(RB_HELP_KEYBOARD);
+	setHelpSubject(2);
+	writeHelp();
+}
+
+void rbHelpHowToUseFT2(void)
+{
+	checkRadioButton(RB_HELP_HOW_TO_USE_FT2);
+	setHelpSubject(3);
+	writeHelp();
+}
+
+void rbHelpFAQ(void)
+{
+	checkRadioButton(RB_HELP_FAQ);
+	setHelpSubject(4);
+	writeHelp();
+}
+
+void rbHelpKnownBugs(void)
+{
+	checkRadioButton(RB_HELP_KNOWN_BUGS);
+	setHelpSubject(5);
+	writeHelp();
+}
+
+void initFTHelp(void)
+{
+	readHelp();
+	setHelpSubject(0);
+}
+
+void windUpFTHelp(void)
+{
+	for (int16_t i = 0; i < MAX_SUBJ; i++)
+	{
+		if (subjPtrArr[i] != NULL)
+		{
+			free(subjPtrArr[i]);
+			subjPtrArr[i] = NULL;
+		}
+	}
+}
--- /dev/null
+++ b/src/ft2_help.h
@@ -1,0 +1,22 @@
+#pragma once
+
+#include <stdint.h>
+
+#define HELP_LINE_HEIGHT 11
+#define HELP_WINDOW_HEIGHT 164
+#define HELP_TEXT_BUFFER_W 472
+
+void helpScrollUp(void);
+void helpScrollDown(void);
+void helpScrollSetPos(uint32_t pos);
+void showHelpScreen(void);
+void hideHelpScreen(void);
+void exitHelpScreen(void);
+void initFTHelp(void);
+void windUpFTHelp(void);
+void rbHelpFeatures(void);
+void rbHelpEffects(void);
+void rbHelpKeyboard(void);
+void rbHelpHowToUseFT2(void);
+void rbHelpFAQ(void);
+void rbHelpKnownBugs(void);
--- /dev/null
+++ b/src/ft2_inst_ed.c
@@ -1,0 +1,3386 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_audio.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gui.h"
+#include "ft2_scopes.h"
+#include "ft2_sample_ed.h"
+#include "ft2_gfxdata.h"
+#include "ft2_mouse.h"
+#include "ft2_video.h"
+#include "ft2_sample_loader.h"
+#include "ft2_diskop.h"
+
+#ifdef _MSC_VER
+#pragma pack(push)
+#pragma pack(1)
+#endif
+typedef struct instrPATHeaderTyp_t
+{
+	char id[22], copyright[60];
+	uint8_t antInstr, activeVoices, antChannels;
+	int16_t waveForms, masterVol;
+	int32_t dataSize;
+	char reserved1[36];
+	int16_t instrNr;
+	char instrName[16];
+	int32_t instrSize;
+	uint8_t layers;
+	char reserved2[40];
+	uint8_t layerDuplicate, layerByte;
+	int32_t layerSize;
+	uint8_t antSamp;
+	char reserved3[40];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+instrPATHeaderTyp;
+
+typedef struct instrPATWaveHeaderTyp_t
+{
+	char name[7];
+	uint8_t fractions;
+	int32_t waveSize, repS, repE;
+	uint16_t sampleRate;
+	int32_t lowFrq, highFreq, rootFrq;
+	int16_t fineTune;
+	uint8_t pan, envRate[6], envOfs[6], tremSweep, tremRate;
+	uint8_t tremDepth, vibSweep, vibRate, vibDepth, mode;
+	int16_t scaleFrq;
+	uint16_t scaleFactor;
+	char reserved[36];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+instrPATWaveHeaderTyp;
+
+typedef struct instrXIHeaderTyp_t
+{
+	char sig[21], name[23], progName[20];
+	uint16_t ver;
+	uint8_t ta[96];
+	int16_t envVP[12][2], envPP[12][2];
+	uint8_t envVPAnt, envPPAnt, envVSust, envVRepS, envVRepE, envPSust, envPRepS;
+	uint8_t envPRepE, envVtyp, envPtyp, vibTyp, vibSweep, vibDepth, vibRate;
+	uint16_t fadeOut;
+	uint8_t midiOn, midiChannel;
+	int16_t midiProgram, midiBend;
+	uint8_t mute, reserved[15];
+	int16_t antSamp;
+	sampleHeaderTyp samp[16];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+instrXIHeaderTyp;
+
+#define PIANOKEY_WHITE_W 10
+#define PIANOKEY_WHITE_H 46
+#define PIANOKEY_BLACK_W 7
+#define PIANOKEY_BLACK_H 29
+
+static const bool keyIsBlackTab[12] = { false, true, false, true, false, false, true, false, true, false, true };
+static const char sharpNote1Char[12] = { 'C', 'C', 'D', 'D', 'E', 'F', 'F', 'G', 'G', 'A', 'A', 'B' };
+static const char sharpNote2Char[12] = { '-', '#', '-', '#', '-', '-', '#', '-', '#', '-', '#', '-' };
+static const char flatNote1Char[12]  = { 'C', 'D', 'D', 'E', 'E', 'F', 'G', 'G', 'A', 'A', 'B', 'B' };
+static const char flatNote2Char[12]  = { '-', 'b', '-', 'b', '-', '-', 'b', '-', 'b', '-', 'b', '-' };
+static const uint8_t whiteKeyIndex[7] = { 0, 2, 4, 5, 7, 9, 11 };
+static const uint16_t whiteKeysBmpOrder[12] = { 0, 0, 506, 0, 1012, 0, 0, 506, 0, 506, 0, 1012 };
+static const uint8_t keyDigitXPos[12] = { 11, 16, 22, 27, 33, 44, 49, 55, 60, 66, 71, 77 };
+static const uint8_t keyXPos[12] = { 8, 15, 19, 26, 30, 41, 48, 52, 59, 63, 70, 74 };
+static volatile bool updateVolEnv, updatePanEnv;
+static bool pianoKeyStatus[96];
+static int32_t lastMouseX, lastMouseY, saveMouseX, saveMouseY;
+
+// thread data
+static uint16_t saveInstrNr;
+static SDL_Thread *thread;
+
+extern int16_t *note2Period; // ft2_replayer.c
+
+void updateInstEditor(void);
+void updateNewInstrument(void);
+
+static instrTyp *getCurDispInstr(void)
+{
+	if (instr[editor.curInstr] == NULL)
+		return instr[131];
+
+	return instr[editor.curInstr];
+}
+
+static int32_t SDLCALL copyInstrThread(void *ptr)
+{
+	bool error;
+	int8_t *p;
+	int16_t destIns, sourceIns;
+
+	(void)ptr;
+
+	error = false;
+
+	destIns = editor.curInstr;
+	sourceIns = editor.srcInstr;
+
+	pauseAudio();
+	
+	freeInstr(destIns);
+
+	if (instr[sourceIns] != NULL)
+	{
+		if (allocateInstr(destIns))
+		{
+			memcpy(instr[destIns], instr[sourceIns], sizeof (instrTyp));
+			for (int16_t i = 0; i < MAX_SMP_PER_INST; i++)
+			{
+				instr[destIns]->samp[i].pek = NULL;
+				if (instr[sourceIns]->samp[i].pek != NULL)
+				{
+					p = (int8_t *)malloc(instr[sourceIns]->samp[i].len + LOOP_FIX_LEN);
+					if (p != NULL)
+					{
+						memcpy(p, instr[sourceIns]->samp[i].pek, instr[sourceIns]->samp[i].len + LOOP_FIX_LEN);
+						instr[destIns]->samp[i].pek = p;
+					}
+					else error = true;
+				}
+			}
+		}
+		else error = true;
+	}
+
+	resumeAudio();
+
+	if (error)
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+
+	// do not change instrument names!
+
+	editor.updateCurInstr = true;
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	return false;
+}
+
+void copyInstr(void) // dstInstr = srcInstr
+{
+	if (editor.curInstr == 0 || editor.srcInstr == editor.curInstr)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(copyInstrThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+void xchgInstr(void) // dstInstr <-> srcInstr
+{
+	instrTyp *dst, *src, dstTmp;
+
+	if (editor.curInstr == 0 || editor.srcInstr == editor.curInstr)
+		return;
+
+	lockMixerCallback();
+
+	src = instr[editor.srcInstr];
+	dst = instr[editor.curInstr];
+
+	// swap instruments
+	dstTmp = *dst;
+	*dst = *src;
+	*src = dstTmp;
+
+	unlockMixerCallback();
+
+	// do not change instrument names!
+
+	updateNewInstrument();
+	setSongModifiedFlag();
+}
+
+static void drawMIDICh(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	assert(ins->midiChannel <= 15);
+	sprintf(str, "%02d", ins->midiChannel + 1);
+	textOutFixed(156, 132, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawMIDIPrg(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	assert(ins->midiProgram <= 127);
+	sprintf(str, "%03d", ins->midiProgram);
+	textOutFixed(149, 146, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawMIDIBend(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	assert(ins->midiBend <= 36);
+	sprintf(str, "%02d", ins->midiBend);
+	textOutFixed(156, 160, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+void midiChDown(void)
+{
+	scrollBarScrollLeft(SB_INST_EXT_MIDI_CH, 1);
+}
+
+void midiChUp(void)
+{
+	scrollBarScrollRight(SB_INST_EXT_MIDI_CH, 1);
+}
+
+void midiPrgDown(void)
+{
+	scrollBarScrollLeft(SB_INST_EXT_MIDI_PRG, 1);
+}
+
+void midiPrgUp(void)
+{
+	scrollBarScrollRight(SB_INST_EXT_MIDI_PRG, 1);
+}
+
+void midiBendDown(void)
+{
+	scrollBarScrollLeft(SB_INST_EXT_MIDI_BEND, 1);
+}
+
+void midiBendUp(void)
+{
+	scrollBarScrollRight(SB_INST_EXT_MIDI_BEND, 1);
+}
+
+void sbMidiChPos(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_EXT_MIDI_CH, 0, false);
+		return;
+	}
+
+	if (ins->midiChannel != (uint8_t)pos)
+	{
+		ins->midiChannel = (uint8_t)pos;
+		drawMIDICh();
+		setSongModifiedFlag();
+	}
+}
+
+void sbMidiPrgPos(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_EXT_MIDI_PRG, 0, false);
+		return;
+	}
+
+	if (ins->midiProgram != (int16_t)pos)
+	{
+		ins->midiProgram = (int16_t)pos;
+		drawMIDIPrg();
+		setSongModifiedFlag();
+	}
+}
+
+void sbMidiBendPos(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_EXT_MIDI_BEND, 0, false);
+		return;
+	}
+
+	if (ins->midiBend != (int16_t)pos)
+	{
+		ins->midiBend = (int16_t)pos;
+		drawMIDIBend();
+		setSongModifiedFlag();
+	}
+}
+
+void updateNewSample(void)
+{
+	if (editor.ui.instrSwitcherShown)
+		updateInstrumentSwitcher();
+
+	updateSampleEditorSample();
+
+	if (editor.ui.sampleEditorShown)
+		updateSampleEditor();
+
+	if (editor.ui.instEditorShown || editor.ui.instEditorExtShown)
+		updateInstEditor();
+}
+
+void updateNewInstrument(void)
+{
+	updateTextBoxPointers();
+
+	if (editor.ui.instrSwitcherShown)
+		updateInstrumentSwitcher();
+
+	editor.currVolEnvPoint = 0;
+	editor.currPanEnvPoint = 0;
+
+	updateSampleEditorSample();
+
+	if (editor.ui.sampleEditorShown)
+		updateSampleEditor();
+
+	if (editor.ui.instEditorShown || editor.ui.instEditorExtShown)
+		updateInstEditor();
+
+	if (editor.ui.advEditShown)
+		updateAdvEdit();
+}
+
+static void drawVolEnvSus(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	sprintf(str, "%02d", ins->envVSust);
+	textOutFixed(382, 206, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawVolEnvRepS(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	sprintf(str, "%02d", ins->envVRepS);
+	textOutFixed(382, 234, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawVolEnvRepE(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	sprintf(str, "%02d", ins->envVRepE);
+	textOutFixed(382, 247, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawPanEnvSus(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	sprintf(str, "%02d", ins->envPSust);
+	textOutFixed(382, 294, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawPanEnvRepS(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	sprintf(str, "%02d", ins->envPRepS);
+	textOutFixed(382, 321, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawPanEnvRepE(void)
+{
+	char str[8];
+	instrTyp *ins = getCurDispInstr();
+
+	sprintf(str, "%02d", ins->envPRepE);
+	textOutFixed(382, 335, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void drawVolume(void)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL)
+		s = &instr[0]->samp[0];
+	else
+		s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	hexOutBg(505, 178, PAL_FORGRND, PAL_DESKTOP, s->vol, 2);
+}
+
+static void drawPanning(void)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL)
+		s = &instr[0]->samp[0];
+	else
+		s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	hexOutBg(505, 192, PAL_FORGRND, PAL_DESKTOP, s->pan, 2);
+}
+
+static void drawFineTune(void)
+{
+	char sign;
+	int16_t ftune;
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL)
+		s = &instr[0]->samp[0];
+	else
+		s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	fillRect(491, 205, 27, 8, PAL_DESKTOP);
+
+	ftune = s->fine;
+	if (ftune == 0)
+	{
+		charOut(512, 205, PAL_FORGRND, '0');
+		return;
+	}
+
+	sign = (ftune < 0) ? '-' : '+';
+
+	ftune = ABS(ftune);
+	if (ftune >= 100)
+	{
+		charOut(491, 205, PAL_FORGRND, sign);
+		charOut(498 + (0 * 7), 205, PAL_FORGRND, '0' + ((ftune / 100) % 10));
+		charOut(498 + (1 * 7), 205, PAL_FORGRND, '0' + ((ftune /  10) % 10));
+		charOut(498 + (2 * 7), 205, PAL_FORGRND, '0' + (ftune % 10));
+	}
+	else if (ftune >= 10)
+	{
+		charOut(498, 205, PAL_FORGRND, sign);
+		charOut(505 + (0 * 7), 205, PAL_FORGRND, '0' + ((ftune / 10) % 10));
+		charOut(505 + (1 * 7), 205, PAL_FORGRND, '0' + (ftune % 10));
+	}
+	else
+	{
+		charOut(505, 205, PAL_FORGRND, sign);
+		charOut(512, 205, PAL_FORGRND, '0' + (ftune % 10));
+	}
+}
+
+static void drawFadeout(void)
+{
+	hexOutBg(498, 222, PAL_FORGRND, PAL_DESKTOP, getCurDispInstr()->fadeOut, 3);
+}
+
+static void drawVibSpeed(void)
+{
+	hexOutBg(505, 236, PAL_FORGRND, PAL_DESKTOP, getCurDispInstr()->vibRate, 2);
+}
+
+static void drawVibDepth(void)
+{
+	hexOutBg(512, 250, PAL_FORGRND, PAL_DESKTOP, getCurDispInstr()->vibDepth, 1);
+}
+
+static void drawVibSweep(void)
+{
+	hexOutBg(505, 264, PAL_FORGRND, PAL_DESKTOP, getCurDispInstr()->vibSweep, 2);
+}
+
+static void drawRelTone(void)
+{
+	char noteChar1, noteChar2, octaChar;
+	int8_t note2, note;
+
+	if (instr[editor.curInstr] == NULL)
+	{
+		fillRect(598, 299, 8*3, 8, PAL_BCKGRND);
+		return;
+	}
+
+	if (editor.curInstr == 0)
+		note2 = 48;
+	else
+		note2 = 48 + instr[editor.curInstr]->samp[editor.curSmp].relTon;
+
+	note = note2 % 12;
+	if (config.ptnAcc == 0)
+	{
+		noteChar1 = sharpNote1Char[note];
+		noteChar2 = sharpNote2Char[note];
+	}
+	else
+	{
+		noteChar1 = flatNote1Char[note];
+		noteChar2 = flatNote2Char[note];
+	}
+
+	octaChar = '0' + (note2 / 12);
+
+	charOutBg(598, 299, PAL_FORGRND, PAL_BCKGRND, noteChar1);
+	charOutBg(606, 299, PAL_FORGRND, PAL_BCKGRND, noteChar2);
+	charOutBg(614, 299, PAL_FORGRND, PAL_BCKGRND, octaChar);
+}
+
+static void setStdVolEnvelope(instrTyp *ins, uint8_t num)
+{
+	if (editor.curInstr == 0)
+		return;
+
+	pauseMusic();
+
+	ins->fadeOut = config.stdFadeOut[num];
+	ins->envVSust = (uint8_t)config.stdVolEnvSust[num];
+	ins->envVRepS = (uint8_t)config.stdVolEnvRepS[num];
+	ins->envVRepE = (uint8_t)config.stdVolEnvRepE[num];
+	ins->envVPAnt = (uint8_t)config.stdVolEnvAnt[num];
+	ins->envVTyp = (uint8_t)config.stdVolEnvTyp[num];
+	ins->vibRate = (uint8_t)config.stdVibRate[num];
+	ins->vibDepth = (uint8_t)config.stdVibDepth[num];
+	ins->vibSweep = (uint8_t)config.stdVibSweep[num];
+	ins->vibTyp = (uint8_t)config.stdVibTyp[num];
+
+	memcpy(ins->envVP, config.stdEnvP[num][0], sizeof (int16_t) * 12 * 2);
+
+	resumeMusic();
+}
+
+static void setStdPanEnvelope(instrTyp *ins, uint8_t num)
+{
+	if (editor.curInstr == 0)
+		return;
+
+	pauseMusic();
+
+	ins->envPPAnt = (uint8_t)config.stdPanEnvAnt[num];
+	ins->envPSust = (uint8_t)config.stdPanEnvSust[num];
+	ins->envPRepS = (uint8_t)config.stdPanEnvRepS[num];
+	ins->envPRepE = (uint8_t)config.stdPanEnvRepE[num];
+	ins->envPTyp = (uint8_t)config.stdPanEnvTyp[num];
+
+	memcpy(ins->envPP, config.stdEnvP[num][1], sizeof (int16_t) * 12 * 2);
+
+	resumeMusic();
+}
+
+static void setOrStoreVolEnvPreset(uint8_t num)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (mouse.rightButtonReleased)
+	{
+		// store preset
+		config.stdFadeOut[num] = ins->fadeOut;
+		config.stdVolEnvSust[num] = ins->envVSust;
+		config.stdVolEnvRepS[num] = ins->envVRepS;
+		config.stdVolEnvRepE[num] = ins->envVRepE;
+		config.stdVolEnvAnt[num] = ins->envVPAnt;
+		config.stdVolEnvTyp[num] = ins->envVTyp;
+		config.stdVibRate[num] = ins->vibRate;
+		config.stdVibDepth[num] = ins->vibDepth;
+		config.stdVibSweep[num] = ins->vibSweep;
+		config.stdVibTyp[num] = ins->vibTyp;
+
+		memcpy(config.stdEnvP[num][0], ins->envVP, sizeof (int16_t) * 12 * 2);
+	}
+	else if (mouse.leftButtonReleased)
+	{
+		// read preset
+		setStdVolEnvelope(ins, num);
+		editor.currVolEnvPoint = 0;
+		updateInstEditor();
+		setSongModifiedFlag();
+	}
+}
+
+static void setOrStorePanEnvPreset(uint8_t num)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (mouse.rightButtonReleased)
+	{
+		// store preset
+		config.stdFadeOut[num] = ins->fadeOut;
+		config.stdPanEnvSust[num] = ins->envPSust;
+		config.stdPanEnvRepS[num] = ins->envPRepS;
+		config.stdPanEnvRepE[num] = ins->envPRepE;
+		config.stdPanEnvAnt[num] = ins->envPPAnt;
+		config.stdPanEnvTyp[num] = ins->envPTyp;
+		config.stdVibRate[num] = ins->vibRate;
+		config.stdVibDepth[num] = ins->vibDepth;
+		config.stdVibSweep[num] = ins->vibSweep;
+		config.stdVibTyp[num] = ins->vibTyp;
+
+		memcpy(config.stdEnvP[num][1], ins->envPP, sizeof (int16_t) * 12 * 2);
+	}
+	else if (mouse.leftButtonReleased)
+	{
+		// read preset
+		setStdPanEnvelope(ins, num);
+		editor.currPanEnvPoint = 0;
+		updateInstEditor();
+		setSongModifiedFlag();
+	}
+}
+
+void volPreDef1(void)
+{
+	if (editor.curInstr > 0)
+		setOrStoreVolEnvPreset(1 - 1);
+}
+
+void volPreDef2(void)
+{
+	if (editor.curInstr > 0)
+		setOrStoreVolEnvPreset(2 - 1);
+}
+
+void volPreDef3(void)
+{
+	if (editor.curInstr > 0)
+		setOrStoreVolEnvPreset(3 - 1);
+}
+
+void volPreDef4(void)
+{
+	if (editor.curInstr > 0)
+		setOrStoreVolEnvPreset(4 - 1);
+}
+
+void volPreDef5(void)
+{
+	if (editor.curInstr > 0)
+		setOrStoreVolEnvPreset(5 - 1);
+}
+
+void volPreDef6(void)
+{
+	if (editor.curInstr > 0)
+		setOrStoreVolEnvPreset(6 - 1);
+}
+
+void panPreDef1(void)
+{
+	if (editor.curInstr > 0)
+		setOrStorePanEnvPreset(1 - 1);
+}
+
+void panPreDef2(void)
+{
+	if (editor.curInstr > 0)
+		setOrStorePanEnvPreset(2 - 1);
+}
+
+void panPreDef3(void)
+{
+	if (editor.curInstr > 0)
+		setOrStorePanEnvPreset(3 - 1);
+}
+
+void panPreDef4(void)
+{
+	if (editor.curInstr > 0)
+		setOrStorePanEnvPreset(4 - 1);
+}
+
+void panPreDef5(void)
+{
+	if (editor.curInstr > 0)
+		setOrStorePanEnvPreset(5 - 1);
+}
+
+void panPreDef6(void)
+{
+	if (editor.curInstr > 0)
+		setOrStorePanEnvPreset(6 - 1);
+}
+
+void relToneOctUp(void)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->relTon <= 71-12)
+		s->relTon += 12;
+	else
+		s->relTon = 71;
+
+	drawRelTone();
+	setSongModifiedFlag();
+}
+
+void relToneOctDown(void)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->relTon >= -48+12)
+		s->relTon -= 12;
+	else
+		s->relTon = -48;
+
+	drawRelTone();
+	setSongModifiedFlag();
+}
+
+void relToneUp(void)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->relTon < 71)
+	{
+		s->relTon++;
+		drawRelTone();
+		setSongModifiedFlag();
+	}
+}
+
+void relToneDown(void)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->relTon > -48)
+	{
+		s->relTon--;
+		drawRelTone();
+		setSongModifiedFlag();
+	}
+}
+
+void volEnvAdd(void)
+{
+	int16_t i;
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0 || ins->envVPAnt >= 12)
+		return;
+
+	i = (int16_t)editor.currVolEnvPoint;
+
+	if (i < 0 || i >= ins->envVPAnt)
+		i = ins->envVPAnt - 1;
+
+	if (i < ins->envVPAnt-1 && ins->envVP[i+1][0]-ins->envVP[i][0] < 2)
+		return;
+
+	if (ins->envVP[i][0] >= 323)
+		return;
+
+	for (int16_t j = ins->envVPAnt; j > i; j--)
+	{
+		ins->envVP[j][0] = ins->envVP[j-1][0];
+		ins->envVP[j][1] = ins->envVP[j-1][1];
+	}
+
+	if (ins->envVSust > i) { ins->envVSust++; drawVolEnvSus();  }
+	if (ins->envVRepS > i) { ins->envVRepS++; drawVolEnvRepS(); }
+	if (ins->envVRepE > i) { ins->envVRepE++; drawVolEnvRepE(); }
+
+	if (i < ins->envVPAnt-1)
+	{
+		ins->envVP[i+1][0] = (ins->envVP[i][0] + ins->envVP[i+2][0]) / 2;
+		ins->envVP[i+1][1] = (ins->envVP[i][1] + ins->envVP[i+2][1]) / 2;
+	}
+	else
+	{
+		ins->envVP[i+1][0] = ins->envVP[i][0] + 10;
+		ins->envVP[i+1][1] = ins->envVP[i][1];
+	}
+
+	if (ins->envVP[i+1][0] > 324)
+		ins->envVP[i+1][0] = 324;
+
+	ins->envVPAnt++;
+
+	updateVolEnv = true;
+	setSongModifiedFlag();
+}
+
+void volEnvDel(void)
+{
+	uint8_t drawSust, drawRepS, drawRepE;
+	int16_t i;
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0 || ins->envVPAnt <= 2)
+		return;
+
+	i = (int16_t)editor.currVolEnvPoint;
+	if (i < 0 || i >= ins->envVPAnt)
+		return;
+
+	for (int16_t j = i; j < ins->envVPAnt; j++)
+	{
+		ins->envVP[j][0] = ins->envVP[j+1][0];
+		ins->envVP[j][1] = ins->envVP[j+1][1];
+	}
+
+	drawSust = false;
+	drawRepS = false;
+	drawRepE = false;
+
+	if (ins->envVSust > i) { ins->envVSust--; drawSust = true; }
+	if (ins->envVRepS > i) { ins->envVRepS--; drawRepS = true; }
+	if (ins->envVRepE > i) { ins->envVRepE--; drawRepE = true; }
+
+	ins->envVP[0][0] = 0;
+	ins->envVPAnt--;
+
+	if (ins->envVSust >= ins->envVPAnt) { ins->envVSust = ins->envVPAnt - 1; drawSust = true; }
+	if (ins->envVRepS >= ins->envVPAnt) { ins->envVRepS = ins->envVPAnt - 1; drawRepS = true; }
+	if (ins->envVRepE >= ins->envVPAnt) { ins->envVRepE = ins->envVPAnt - 1; drawRepE = true; }
+
+	if (drawSust) drawVolEnvSus();
+	if (drawRepS) drawVolEnvRepS();
+	if (drawRepE) drawVolEnvRepE();
+
+	updateVolEnv = true;
+	setSongModifiedFlag();
+}
+
+void volEnvSusUp(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envVSust < ins->envVPAnt-1)
+	{
+		ins->envVSust++;
+		drawVolEnvSus();
+		updateVolEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void volEnvSusDown(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envVSust > 0)
+	{
+		ins->envVSust--;
+		drawVolEnvSus();
+		updateVolEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void volEnvRepSUp(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envVRepS < ins->envVRepE)
+	{
+		ins->envVRepS++;
+		drawVolEnvRepS();
+		updateVolEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void volEnvRepSDown(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envVRepS > 0)
+	{
+		ins->envVRepS--;
+		drawVolEnvRepS();
+		updateVolEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void volEnvRepEUp(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envVRepE < ins->envVPAnt-1)
+	{
+		ins->envVRepE++;
+		drawVolEnvRepE();
+		updateVolEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void volEnvRepEDown(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envVRepE > ins->envVRepS)
+	{
+		ins->envVRepE--;
+		drawVolEnvRepE();
+		updateVolEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void panEnvAdd(void)
+{
+	int16_t i;
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0 || ins->envPPAnt >= 12)
+		return;
+
+	i = (int16_t)editor.currPanEnvPoint;
+
+	if (i < 0 || i >= ins->envPPAnt)
+		i = ins->envPPAnt - 1;
+
+	if (i < ins->envPPAnt-1 && ins->envPP[i+1][0]-ins->envPP[i][0] < 2)
+		return;
+
+	if (ins->envPP[i][0] >= 323)
+		return;
+
+	for (int16_t j = ins->envPPAnt; j > i; j--)
+	{
+		ins->envPP[j][0] = ins->envPP[j-1][0];
+		ins->envPP[j][1] = ins->envPP[j-1][1];
+	}
+
+	if (ins->envPSust > i) { ins->envPSust++; drawPanEnvSus();  }
+	if (ins->envPRepS > i) { ins->envPRepS++; drawPanEnvRepS(); }
+	if (ins->envPRepE > i) { ins->envPRepE++; drawPanEnvRepE(); }
+
+	if (i < ins->envPPAnt-1)
+	{
+		ins->envPP[i+1][0] = (ins->envPP[i][0] + ins->envPP[i+2][0]) / 2;
+		ins->envPP[i+1][1] = (ins->envPP[i][1] + ins->envPP[i+2][1]) / 2;
+	}
+	else
+	{
+		ins->envPP[i+1][0] = ins->envPP[i][0] + 10;
+		ins->envPP[i+1][1] = ins->envPP[i][1];
+	}
+
+	if (ins->envPP[i+1][0] > 324)
+		ins->envPP[i+1][0] = 324;
+
+	ins->envPPAnt++;
+
+	updatePanEnv = true;
+	setSongModifiedFlag();
+}
+
+void panEnvDel(void)
+{
+	uint8_t drawSust, drawRepS, drawRepE;
+	int16_t i;
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0 || ins->envPPAnt <= 2)
+		return;
+
+	i = (int16_t)editor.currPanEnvPoint;
+	if (i < 0 || i >= ins->envPPAnt)
+		return;
+
+	for (int16_t j = i; j < ins->envPPAnt; j++)
+	{
+		ins->envPP[j][0] = ins->envPP[j+1][0];
+		ins->envPP[j][1] = ins->envPP[j+1][1];
+	}
+
+	drawSust = false;
+	drawRepS = false;
+	drawRepE = false;
+
+	if (ins->envPSust > i) { ins->envPSust--; drawSust = true; }
+	if (ins->envPRepS > i) { ins->envPRepS--; drawRepS = true; }
+	if (ins->envPRepE > i) { ins->envPRepE--; drawRepE = true; }
+
+	ins->envPP[0][0] = 0;
+	ins->envPPAnt--;
+
+	if (ins->envPSust >= ins->envPPAnt) { ins->envPSust = ins->envPPAnt - 1; drawSust = true; }
+	if (ins->envPRepS >= ins->envPPAnt) { ins->envPRepS = ins->envPPAnt - 1; drawRepS = true; }
+	if (ins->envPRepE >= ins->envPPAnt) { ins->envPRepE = ins->envPPAnt - 1; drawRepE = true; }
+
+	if (drawSust) drawPanEnvSus();
+	if (drawRepS) drawPanEnvRepS();
+	if (drawRepE) drawPanEnvRepE();
+
+	updatePanEnv = true;
+	setSongModifiedFlag();
+}
+
+void panEnvSusUp(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envPSust < ins->envPPAnt-1)
+	{
+		ins->envPSust++;
+		drawPanEnvSus();
+		updatePanEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void panEnvSusDown(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envPSust > 0)
+	{
+		ins->envPSust--;
+		drawPanEnvSus();
+		updatePanEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void panEnvRepSUp(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envPRepS < ins->envPRepE)
+	{
+		ins->envPRepS++;
+		drawPanEnvRepS();
+		updatePanEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void panEnvRepSDown(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envPRepS > 0)
+	{
+		ins->envPRepS--;
+		drawPanEnvRepS();
+		updatePanEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void panEnvRepEUp(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envPRepE < ins->envPPAnt-1)
+	{
+		ins->envPRepE++;
+		drawPanEnvRepE();
+		updatePanEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void panEnvRepEDown(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+		return;
+
+	if (ins->envPRepE > ins->envPRepS)
+	{
+		ins->envPRepE--;
+		drawPanEnvRepE();
+		updatePanEnv = true;
+		setSongModifiedFlag();
+	}
+}
+
+void volDown(void)
+{
+	scrollBarScrollLeft(SB_INST_VOL, 1);
+}
+
+void volUp(void)
+{
+	scrollBarScrollRight(SB_INST_VOL, 1);
+}
+
+void panDown(void)
+{
+	scrollBarScrollLeft(SB_INST_PAN, 1);
+}
+
+void panUp(void)
+{
+	scrollBarScrollRight(SB_INST_PAN, 1);
+}
+
+void ftuneDown(void)
+{
+	scrollBarScrollLeft(SB_INST_FTUNE, 1);
+}
+
+void ftuneUp(void)
+{
+	scrollBarScrollRight(SB_INST_FTUNE, 1);
+}
+
+void fadeoutDown(void)
+{
+	scrollBarScrollLeft(SB_INST_FADEOUT, 1);
+}
+
+void fadeoutUp(void)
+{
+	scrollBarScrollRight(SB_INST_FADEOUT, 1);
+}
+
+void vibSpeedDown(void)
+{
+	scrollBarScrollLeft(SB_INST_VIBSPEED, 1);
+}
+
+void vibSpeedUp(void)
+{
+	scrollBarScrollRight(SB_INST_VIBSPEED, 1);
+}
+
+void vibDepthDown(void)
+{
+	scrollBarScrollLeft(SB_INST_VIBDEPTH, 1);
+}
+
+void vibDepthUp(void)
+{
+	scrollBarScrollRight(SB_INST_VIBDEPTH, 1);
+}
+
+void vibSweepDown(void)
+{
+	scrollBarScrollLeft(SB_INST_VIBSWEEP, 1);
+}
+
+void vibSweepUp(void)
+{
+	scrollBarScrollRight(SB_INST_VIBSWEEP, 1);
+}
+
+void setVolumeScroll(uint32_t pos)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		if (editor.curInstr == 0 && editor.curSmp != 0)
+			setScrollBarPos(SB_INST_VOL, 0x40, false);
+		else
+			setScrollBarPos(SB_INST_VOL, 0, false);
+
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->vol != (uint8_t)pos)
+	{
+		s->vol = (uint8_t)pos;
+		drawVolume();
+		setSongModifiedFlag();
+	}
+}
+
+void setPanningScroll(uint32_t pos)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_PAN, 0x80, false);
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->pan != (uint8_t)pos)
+	{
+		s->pan = (uint8_t)pos;
+		drawPanning();
+		setSongModifiedFlag();
+	}
+}
+
+void setFinetuneScroll(uint32_t pos)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_FTUNE, 128, false); // finetune 0
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->fine != (int8_t)(pos - 128))
+	{
+		s->fine = (int8_t)(pos - 128);
+		drawFineTune();
+		setSongModifiedFlag();
+	}
+}
+
+void setFadeoutScroll(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL)
+	{
+		setScrollBarPos(SB_INST_FADEOUT, 0, false);
+		return;
+	}
+
+	if (editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_FADEOUT, 0x80, false);
+		return;
+	}
+
+	if (ins->fadeOut != (uint16_t)pos)
+	{
+		ins->fadeOut = (uint16_t)pos;
+		drawFadeout();
+		setSongModifiedFlag();
+	}
+}
+
+void setVibSpeedScroll(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_VIBSPEED, 0, false);
+		return;
+	}
+
+	if (ins->vibRate != (uint8_t)pos)
+	{
+		ins->vibRate = (uint8_t)pos;
+		drawVibSpeed();
+		setSongModifiedFlag();
+	}
+}
+
+void setVibDepthScroll(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_VIBDEPTH, 0, false);
+		return;
+	}
+
+	if (ins->vibDepth != (uint8_t)pos)
+	{
+		ins->vibDepth = (uint8_t)pos;
+		drawVibDepth();
+		setSongModifiedFlag();
+	}
+}
+
+void setVibSweepScroll(uint32_t pos)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	if (ins == NULL || editor.curInstr == 0)
+	{
+		setScrollBarPos(SB_INST_VIBSWEEP, 0, false);
+		return;
+	}
+
+	if (ins->vibSweep != (uint8_t)pos)
+	{
+		ins->vibSweep = (uint8_t)pos;
+		drawVibSweep();
+		setSongModifiedFlag();
+	}
+}
+
+void rbVibWaveSine(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	instr[editor.curInstr]->vibTyp = 0;
+
+	uncheckRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	radioButtons[RB_INST_WAVE_SINE].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	setSongModifiedFlag();
+}
+
+void rbVibWaveSquare(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	instr[editor.curInstr]->vibTyp = 1;
+
+	uncheckRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	radioButtons[RB_INST_WAVE_SQUARE].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	setSongModifiedFlag();
+}
+
+void rbVibWaveRampDown(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	instr[editor.curInstr]->vibTyp = 2;
+
+	uncheckRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	radioButtons[RB_INST_WAVE_RAMP_DOWN].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	setSongModifiedFlag();
+}
+
+void rbVibWaveRampUp(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+		return;
+
+	instr[editor.curInstr]->vibTyp = 3;
+
+	uncheckRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	radioButtons[RB_INST_WAVE_RAMP_UP].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	setSongModifiedFlag();
+}
+
+void cbVEnv(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		checkBoxes[CB_INST_VENV].checked = false;
+		drawCheckBox(CB_INST_VENV);
+		return;
+	}
+
+	instr[editor.curInstr]->envVTyp ^= 1;
+	updateVolEnv = true;
+
+	setSongModifiedFlag();
+}
+
+void cbVEnvSus(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		checkBoxes[CB_INST_VENV_SUS].checked = false;
+		drawCheckBox(CB_INST_VENV_SUS);
+		return;
+	}
+
+	instr[editor.curInstr]->envVTyp ^= 2;
+	updateVolEnv = true;
+
+	setSongModifiedFlag();
+}
+
+void cbVEnvLoop(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		checkBoxes[CB_INST_VENV_LOOP].checked = false;
+		drawCheckBox(CB_INST_VENV_LOOP);
+		return;
+	}
+
+	instr[editor.curInstr]->envVTyp ^= 4;
+	updateVolEnv = true;
+
+	setSongModifiedFlag();
+}
+
+void cbPEnv(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		checkBoxes[CB_INST_PENV].checked = false;
+		drawCheckBox(CB_INST_PENV);
+		return;
+	}
+
+	instr[editor.curInstr]->envPTyp ^= 1;
+	updatePanEnv = true;
+
+	setSongModifiedFlag();
+}
+
+void cbPEnvSus(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		checkBoxes[CB_INST_PENV_SUS].checked = false;
+		drawCheckBox(CB_INST_PENV_SUS);
+		return;
+	}
+
+	instr[editor.curInstr]->envPTyp ^= 2;
+	updatePanEnv = true;
+
+	setSongModifiedFlag();
+}
+
+void cbPEnvLoop(void)
+{
+	if (instr[editor.curInstr] == NULL || editor.curInstr == 0)
+	{
+		checkBoxes[CB_INST_PENV_LOOP].checked = false;
+		drawCheckBox(CB_INST_PENV_LOOP);
+		return;
+	}
+
+	instr[editor.curInstr]->envPTyp ^= 4;
+	updatePanEnv = true;
+
+	setSongModifiedFlag();
+}
+
+static void smallHexOutBg(uint16_t xPos, uint16_t yPos, uint8_t fgPalette, uint8_t bgPalette, uint8_t val)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, fg, bg;
+
+	assert(val <= 0xF);
+
+	fg = video.palette[fgPalette];
+	bg = video.palette[bgPalette];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	srcPtr = &smallHexBitmap[val * 5];
+
+	for (uint32_t y = 0; y < 7; y++)
+	{
+		for (uint32_t x = 0; x < 5; x++)
+			dstPtr[x] = srcPtr[x] ? fg : bg;
+
+		dstPtr += SCREEN_W;
+		srcPtr += 80;
+	}
+}
+
+static void writePianoNumber(uint8_t note, uint8_t key, uint8_t octave)
+{
+	uint8_t number;
+	uint16_t x;
+
+	number = 0;
+	if (instr[editor.curInstr] != NULL && editor.curInstr > 0)
+		number = instr[editor.curInstr]->ta[note];
+
+	x = keyDigitXPos[key] + (octave * 77);
+
+	if (keyIsBlackTab[key])
+		smallHexOutBg(x, 361, PAL_FORGRND, PAL_BCKGRND, number);
+	else
+		smallHexOutBg(x, 385, PAL_BCKGRND, PAL_FORGRND, number);
+}
+
+static void drawBlackPianoKey(uint8_t key, uint8_t octave, bool keyDown)
+{
+	uint16_t x = keyXPos[key] + (octave * 77);
+	blit(x, 351, &blackPianoKeysBitmap[keyDown * (7*27)], 7, 27);
+}
+
+static void drawWhitePianoKey(uint8_t key, uint8_t octave,  bool keyDown)
+{
+	uint16_t x = keyXPos[key] + (octave * 77);
+	blit(x, 351, &whitePianoKeysBitmap[(keyDown * (11*46*3)) + whiteKeysBmpOrder[key]], 11, 46);
+}
+
+void redrawPiano(void)
+{
+	uint8_t key, octave;
+
+	memset(pianoKeyStatus, 0, sizeof (pianoKeyStatus));
+	for (uint8_t i = 0; i < 96; i++)
+	{
+		key = i % 12;
+		octave = i / 12;
+
+		if (keyIsBlackTab[key])
+			drawBlackPianoKey(key, octave, false);
+		else
+			drawWhitePianoKey(key, octave, false);
+
+		writePianoNumber(i, key, octave);
+	}
+}
+
+bool testPianoKeysMouseDown(bool mouseButtonDown)
+{
+	uint8_t key, note, octave;
+	int32_t mx, my;
+	instrTyp *ins;
+
+	if (!editor.ui.instEditorShown)
+		return false;
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	if (!mouseButtonDown)
+	{
+		if (my < 351 || my > 396 || mx < 8 || mx > 623)
+			return false;
+
+		mouse.lastUsedObjectType = OBJECT_PIANO;
+	}
+	else
+	{
+		my = CLAMP(my, 351, 396);
+		mx = CLAMP(mx, 8, 623);
+	}
+
+	ins = instr[editor.curInstr];
+	if (ins == NULL)
+		return true;
+
+	mx -= 8;
+	if (my < 378)
+	{
+		// white keys and black keys (top)
+
+		octave = (uint8_t)(mx / 77);
+		mx %= 77; // width of all keys in one octave
+
+		// this is pretty disgusting...
+		     if (mx >= 69) key = 11;
+		else if (mx >= 62) key = 10;
+		else if (mx >= 58) key =  9;
+		else if (mx >= 51) key =  8;
+		else if (mx >= 47) key =  7;
+		else if (mx >= 40) key =  6;
+		else if (mx >= 33) key =  5;
+		else if (mx >= 25) key =  4;
+		else if (mx >= 18) key =  3;
+		else if (mx >= 14) key =  2;
+		else if (mx >=  7) key =  1;
+		else               key =  0;
+
+		note = (octave * 12) + key;
+		if (ins->ta[note] != editor.curSmp)
+		{
+			ins->ta[note] = editor.curSmp;
+			writePianoNumber(note, key, octave);
+			setSongModifiedFlag();
+		}
+	}
+	else
+	{
+		// white keys only (bottom)
+
+		octave = (uint8_t)(mx / 77);
+		key = (uint8_t)(mx % 77) / 11;
+
+		note = (octave * 12) + whiteKeyIndex[key];
+		if (ins->ta[note] != editor.curSmp)
+		{
+			ins->ta[note] = editor.curSmp;
+			writePianoNumber(note, note % 12, octave);
+			setSongModifiedFlag();
+		}
+	}
+
+	return true;
+}
+
+static uint8_t getNote(uint8_t i) // returns 1..96
+{
+	int8_t fineTune;
+	uint8_t note;
+	int32_t period, loPeriod, hiPeriod, tmpPeriod, tableIndex;
+	stmTyp *ch;
+
+	ch = &stm[i];
+
+	fineTune = (ch->fineTune >> 3) + 16;
+	hiPeriod = 8 * 12 * 16;
+	loPeriod = 0;
+	period = ch->finalPeriod;
+
+	for (i = 0; i < 8; i++)
+	{
+		tmpPeriod = (((loPeriod + hiPeriod) >> 1) & 0xFFFFFFF0) + fineTune;
+
+		tableIndex = tmpPeriod - 8;
+		if (tableIndex < 0) // added security check
+			tableIndex = 0;
+
+		if (period >= note2Period[tableIndex])
+			hiPeriod = tmpPeriod - fineTune;
+		else
+			loPeriod = tmpPeriod - fineTune;
+	}
+
+	if (loPeriod >= ((8*12*16) + 15) - 1) // FT2 bug: off-by-one error
+		loPeriod = (8*12*16) + 15;
+
+	note = (uint8_t)(((loPeriod + 8) >> 4) - ch->relTonNr) + 1;
+	return note;
+}
+
+void drawPiano(void) // draw piano in idle mode
+{
+	bool keyDown, newStatus[96];
+	uint8_t key, note, octave;
+	stmTyp *ch;
+
+	memset(newStatus, 0, sizeof (newStatus));
+
+	// find active notes
+	if (editor.curInstr > 0)
+	{
+		for (uint8_t i = 0; i < song.antChn; i++)
+		{
+			ch = &stm[i];
+			if (ch->instrNr == editor.curInstr)
+			{
+				note = getNote(i);
+				if (ch->envSustainActive)
+					newStatus[(note - 1) % 96] = true;
+			}
+		}
+	}
+
+	// draw keys
+	for (uint8_t i = 0; i < 96; i++)
+	{
+		keyDown = newStatus[i];
+		if (pianoKeyStatus[i] ^ keyDown)
+		{
+			key = i % 12;
+			octave = i / 12;
+
+			if (keyIsBlackTab[key])
+				drawBlackPianoKey(key, octave, keyDown);
+			else
+				drawWhitePianoKey(key, octave, keyDown);
+
+			pianoKeyStatus[i] = keyDown;
+		}
+	}
+}
+
+static uint8_t getNoteReplayer(syncedChannel_t *ch) // returns 1..96
+{
+	int8_t fineTune;
+	uint8_t note;
+	int32_t period, loPeriod, hiPeriod, tmpPeriod, tableIndex;
+
+	fineTune = (ch->fineTune >> 3) + 16;
+	hiPeriod = 8 * 12 * 16;
+	loPeriod = 0;
+	period = ch->finalPeriod;
+
+	for (uint8_t i = 0; i < 8; i++)
+	{
+		tmpPeriod = (((loPeriod + hiPeriod) >> 1) & 0xFFFFFFF0) + fineTune;
+
+		tableIndex = tmpPeriod - 8;
+		if (tableIndex < 0) // added security check
+			tableIndex = 0;
+
+		if (period >= note2Period[tableIndex])
+			hiPeriod = tmpPeriod - fineTune;
+		else
+			loPeriod = tmpPeriod - fineTune;
+	}
+
+	if (loPeriod >= ((8*12*16) + 15) - 1) // FT2 bug: off-by-one error
+		loPeriod = (8*12*16) + 15;
+
+	note = (uint8_t)(((loPeriod + 8) >> 4) - ch->relTonNr) + 1;
+	return note;
+}
+
+void drawPianoReplayer(chSyncData_t *chSyncData) // draw piano with synced replayer datas
+{
+	bool keyDown, newStatus[96];
+	uint8_t key, note, octave;
+	syncedChannel_t *ch;
+
+	memset(newStatus, 0, sizeof (newStatus));
+
+	// find active notes
+	if (editor.curInstr > 0)
+	{
+		for (uint8_t i = 0; i < song.antChn; i++)
+		{
+			ch = &chSyncData->channels[i];
+			if (ch->instrNr == editor.curInstr)
+			{
+				note = getNoteReplayer(ch);
+				if (ch->envSustainActive)
+					newStatus[(note - 1) % 96] = true;
+			}
+		}
+	}
+
+	// draw keys
+	for (uint8_t i = 0; i < 96; i++)
+	{
+		keyDown = newStatus[i];
+		if (pianoKeyStatus[i] ^ keyDown)
+		{
+			key = i % 12;
+			octave = i / 12;
+
+			if (keyIsBlackTab[key])
+				drawBlackPianoKey(key, octave, keyDown);
+			else
+				drawWhitePianoKey(key, octave, keyDown);
+
+			pianoKeyStatus[i] = keyDown;
+		}
+	}
+}
+
+static void envelopeLine(int32_t nr, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint8_t col)
+{
+	int16_t d, x, y, sx, sy, dx, dy;
+	uint16_t ax, ay;
+	int32_t pitch;
+	uint32_t pal1, pal2, pixVal, *dst32;
+
+	y1 = CLAMP(y1, 0, 66);
+	y2 = CLAMP(y2, 0, 66);
+	x1 = CLAMP(x1, 0, 335);
+	x2 = CLAMP(x2, 0, 335);
+
+	if (nr == 0)
+	{
+		y1 += 189;
+		y2 += 189;
+	}
+	else
+	{
+		y1 += 276;
+		y2 += 276;
+	}
+
+	// get coefficients
+	dx = x2 - x1;
+	ax = ABS(dx) * 2;
+	sx = SGN(dx);
+	dy = y2 - y1;
+	ay = ABS(dy) * 2;
+	sy = SGN(dy);
+	x  = x1;
+	y  = y1;
+
+	pal1 = video.palette[PAL_BLCKMRK];
+	pal2 = video.palette[PAL_BLCKTXT];
+	pixVal = video.palette[col];
+	pitch = sy * SCREEN_W;
+
+	dst32 = &video.frameBuffer[(y * SCREEN_W) + x];
+
+	// draw line
+	if (ax > ay)
+	{
+		d = ay - (ax / 2);
+
+		while (true)
+		{
+			// invert certain colors
+			if (*dst32 != pal2)
+			{
+				if (*dst32 == pal1)
+					*dst32 = pal2;
+				else
+					*dst32 = pixVal;
+			}
+
+			if (x == x2)
+				break;
+
+			if (d >= 0)
+			{
+				d -= ax;
+				dst32 += pitch;
+			}
+
+			x += sx;
+			d += ay;
+			dst32 += sx;
+		}
+	}
+	else
+	{
+		d = ax - (ay / 2);
+
+		while (true)
+		{
+			// invert certain colors
+			if (*dst32 != pal2)
+			{
+				if (*dst32 == pal1)
+					*dst32 = pal2;
+				else
+					*dst32 = pixVal;
+			}
+
+			if (y == y2)
+				break;
+
+			if (d >= 0)
+			{
+				d -= ay;
+				dst32 += sx;
+			}
+
+			y += sy;
+			d += ax;
+			dst32 += pitch;
+		}
+	}
+}
+
+static void envelopePixel(int32_t nr, int16_t x, int16_t y, uint8_t col)
+{
+	y += (nr == 0) ? 189 : 276;
+	video.frameBuffer[(y * SCREEN_W) + x] = video.palette[col];
+}
+
+static void envelopeDot(int32_t nr, int16_t x, int16_t y)
+{
+	uint32_t *dstPtr, pixVal;
+
+	y += (nr == 0) ? 189 : 276;
+
+	pixVal = video.palette[PAL_BLCKTXT];
+	dstPtr = &video.frameBuffer[(y * SCREEN_W) + x];
+
+	for (y = 0; y < 3; y++)
+	{
+		*dstPtr++ = pixVal;
+		*dstPtr++ = pixVal;
+		*dstPtr++ = pixVal;
+
+		dstPtr += (SCREEN_W - 3);
+	}
+}
+
+static void envelopeVertLine(int32_t nr, int16_t x, int16_t y, uint8_t col)
+{
+	uint32_t *dstPtr, pixVal1, pixVal2;
+
+	y += (nr == 0) ? 189 : 276;
+
+	pixVal1 = video.palette[col];
+	pixVal2 = video.palette[PAL_BLCKTXT];
+
+	dstPtr = &video.frameBuffer[(y * SCREEN_W) + x];
+	for (y = 0; y < 33; y++)
+	{
+		if (*dstPtr != pixVal2)
+			*dstPtr = pixVal1;
+
+		dstPtr += (SCREEN_W * 2);
+	}
+}
+
+static void writeEnvelope(int32_t nr)
+{
+	uint8_t selected;
+	int16_t i, x, y, lx, ly, nd, sp, ls, le, (*curEnvP)[2];
+	instrTyp *ins = instr[editor.curInstr];
+
+	// clear envelope area
+	if (nr == 0)
+		clearRect(5, 189, 331, 67);
+	else
+		clearRect(5, 276, 331, 67);
+
+	// draw dotted x/y lines
+	for (i = 0; i <= 32; i++) envelopePixel(nr, 5, 1 + i * 2, PAL_PATTEXT);
+	for (i = 0; i <= 8; i++) envelopePixel(nr, 4, 1 + i * 8, PAL_PATTEXT);
+	for (i = 0; i <= 162; i++) envelopePixel(nr, 8 + i *  2, 65, PAL_PATTEXT);
+	for (i = 0; i <= 6; i++) envelopePixel(nr, 8 + i * 50, 66, PAL_PATTEXT);
+
+	// draw center line on pan envelope
+	if (nr == 1)
+		envelopeLine(nr, 8, 33, 335, 33, PAL_BLCKMRK);
+
+	if (ins == NULL)
+		return;
+
+	// collect variables
+	if (nr == 0)
+	{
+		nd = ins->envVPAnt;
+		if (ins->envVTyp & 2)
+			sp = ins->envVSust;
+		else
+			sp = -1;
+
+		if (ins->envVTyp & 4)
+		{
+			ls = ins->envVRepS;
+			le = ins->envVRepE;
+		}
+		else
+		{
+			ls = -1;
+			le = -1;
+		}
+
+		curEnvP  = ins->envVP;
+		selected = editor.currVolEnvPoint;
+	}
+	else
+	{
+		nd = ins->envPPAnt;
+		if (ins->envPTyp & 2)
+			sp = ins->envPSust;
+		else
+			sp = -1;
+
+		if (ins->envPTyp & 4)
+		{
+			ls = ins->envPRepS;
+			le = ins->envPRepE;
+		}
+		else
+		{
+			ls = -1;
+			le = -1;
+		}
+
+		curEnvP  = ins->envPP;
+		selected = editor.currPanEnvPoint;
+	}
+
+	if (nd > 12)
+		nd = 12;
+
+	lx = 0;
+	ly = 0;
+
+	// draw envelope
+	for (i = 0; i < nd; i++)
+	{
+		x = curEnvP[i][0]; x = CLAMP(x, 0, 340);
+		y = curEnvP[i][1]; y = CLAMP(y, 0,  64);
+
+		envelopeDot(nr, 7 + x, 64 - y);
+
+		// draw "envelope selected" data
+		if (i == selected)
+		{
+			envelopeLine(nr, 5  + x, 64 - y, 5  + x, 66 - y, PAL_BLCKTXT);
+			envelopeLine(nr, 11 + x, 64 - y, 11 + x, 66 - y, PAL_BLCKTXT);
+			envelopePixel(nr, 5, 65 - y, PAL_BLCKTXT);
+			envelopePixel(nr, 8 + x, 65, PAL_BLCKTXT);
+		}
+
+		// draw loop start marker
+		if (i == ls)
+		{
+			envelopeLine(nr, x + 6, 1, x + 10, 1, PAL_PATTEXT);
+			envelopeLine(nr, x + 7, 2, x +  9, 2, PAL_PATTEXT);
+			envelopeVertLine(nr, x + 8, 1, PAL_PATTEXT);
+		}
+
+		// draw sustain marker
+		if (i == sp)
+			envelopeVertLine(nr, x + 8, 1, PAL_BLCKTXT);
+
+		// draw loop end marker
+		if (i == le)
+		{
+			envelopeLine(nr, x + 6, 65, x + 10, 65, PAL_PATTEXT);
+			envelopeLine(nr, x + 7, 64, x +  9, 64, PAL_PATTEXT);
+			envelopeVertLine(nr, x + 8, 1, PAL_PATTEXT);
+		}
+
+		// draw envelope line
+		if (i > 0 && lx < x)
+			envelopeLine(nr, lx + 8, 65 - ly, x + 8, 65 - y, PAL_PATTEXT);
+
+		lx = x;
+		ly = y;
+	}
+}
+
+void handleInstEditorRedrawing(void)
+{
+	if (updateVolEnv)
+	{
+		updateVolEnv = false;
+		writeEnvelope(0);
+	}
+
+	if (updatePanEnv)
+	{
+		updatePanEnv = false;
+		writeEnvelope(1);
+	}
+}
+
+void hideInstEditor(void)
+{
+	editor.ui.instEditorShown = false;
+
+	hideScrollBar(SB_INST_VOL);
+	hideScrollBar(SB_INST_PAN);
+	hideScrollBar(SB_INST_FTUNE);
+	hideScrollBar(SB_INST_FADEOUT);
+	hideScrollBar(SB_INST_VIBSPEED);
+	hideScrollBar(SB_INST_VIBDEPTH);
+	hideScrollBar(SB_INST_VIBSWEEP);
+
+	hidePushButton(PB_INST_VDEF1);
+	hidePushButton(PB_INST_VDEF2);
+	hidePushButton(PB_INST_VDEF3);
+	hidePushButton(PB_INST_VDEF4);
+	hidePushButton(PB_INST_VDEF5);
+	hidePushButton(PB_INST_VDEF6);
+	hidePushButton(PB_INST_PDEF1);
+	hidePushButton(PB_INST_PDEF2);
+	hidePushButton(PB_INST_PDEF3);
+	hidePushButton(PB_INST_PDEF4);
+	hidePushButton(PB_INST_PDEF5);
+	hidePushButton(PB_INST_PDEF6);
+	hidePushButton(PB_INST_VP_ADD);
+	hidePushButton(PB_INST_VP_DEL);
+	hidePushButton(PB_INST_VS_UP);
+	hidePushButton(PB_INST_VS_DOWN);
+	hidePushButton(PB_INST_VREPS_UP);
+	hidePushButton(PB_INST_VREPS_DOWN);
+	hidePushButton(PB_INST_VREPE_UP);
+	hidePushButton(PB_INST_VREPE_DOWN);
+	hidePushButton(PB_INST_PP_ADD);
+	hidePushButton(PB_INST_PP_DEL);
+	hidePushButton(PB_INST_PS_UP);
+	hidePushButton(PB_INST_PS_DOWN);
+	hidePushButton(PB_INST_PREPS_UP);
+	hidePushButton(PB_INST_PREPS_DOWN);
+	hidePushButton(PB_INST_PREPE_UP);
+	hidePushButton(PB_INST_PREPE_DOWN);
+	hidePushButton(PB_INST_VOL_DOWN);
+	hidePushButton(PB_INST_VOL_UP);
+	hidePushButton(PB_INST_PAN_DOWN);
+	hidePushButton(PB_INST_PAN_UP);
+	hidePushButton(PB_INST_FTUNE_DOWN);
+	hidePushButton(PB_INST_FTUNE_UP);
+	hidePushButton(PB_INST_FADEOUT_DOWN);
+	hidePushButton(PB_INST_FADEOUT_UP);
+	hidePushButton(PB_INST_VIBSPEED_DOWN);
+	hidePushButton(PB_INST_VIBSPEED_UP);
+	hidePushButton(PB_INST_VIBDEPTH_DOWN);
+	hidePushButton(PB_INST_VIBDEPTH_UP);
+	hidePushButton(PB_INST_VIBSWEEP_DOWN);
+	hidePushButton(PB_INST_VIBSWEEP_UP);
+	hidePushButton(PB_INST_EXIT);
+	hidePushButton(PB_INST_OCT_UP);
+	hidePushButton(PB_INST_HALFTONE_UP);
+	hidePushButton(PB_INST_OCT_DOWN);
+	hidePushButton(PB_INST_HALFTONE_DOWN);
+
+	hideCheckBox(CB_INST_VENV);
+	hideCheckBox(CB_INST_VENV_SUS);
+	hideCheckBox(CB_INST_VENV_LOOP);
+	hideCheckBox(CB_INST_PENV);
+	hideCheckBox(CB_INST_PENV_SUS);
+	hideCheckBox(CB_INST_PENV_LOOP);
+
+	hideRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+}
+
+void exitInstEditor(void)
+{
+	hideInstEditor();
+	showPatternEditor();
+}
+
+void updateInstEditor(void)
+{
+	uint16_t tmpID;
+	sampleTyp *s;
+	instrTyp *ins = getCurDispInstr();
+
+	if (instr[editor.curInstr] == NULL)
+		s = &ins->samp[0];
+	else
+		s = &ins->samp[editor.curSmp];
+
+	// update instrument editor extension
+	if (editor.ui.instEditorExtShown)
+	{
+		checkBoxes[CB_INST_EXT_MIDI].checked = ins->midiOn ? true : false;
+		checkBoxes[CB_INST_EXT_MUTE].checked = ins->mute ? true : false;
+
+		setScrollBarPos(SB_INST_EXT_MIDI_CH, ins->midiChannel, false);
+		setScrollBarPos(SB_INST_EXT_MIDI_PRG, ins->midiProgram, false);
+		setScrollBarPos(SB_INST_EXT_MIDI_BEND, ins->midiBend, false);
+
+		drawCheckBox(CB_INST_EXT_MIDI);
+		drawCheckBox(CB_INST_EXT_MUTE);
+
+		drawMIDICh();
+		drawMIDIPrg();
+		drawMIDIBend();
+	}
+
+	if (!editor.ui.instEditorShown)
+		return;
+
+	drawVolEnvSus();
+	drawVolEnvRepS();
+	drawVolEnvRepE();
+	drawPanEnvSus();
+	drawPanEnvRepS();
+	drawPanEnvRepE();
+	drawVolume();
+	drawPanning();
+	drawFineTune();
+	drawFadeout();
+	drawVibSpeed();
+	drawVibDepth();
+	drawVibSweep();
+	drawRelTone();
+
+	// set scroll bars
+	setScrollBarPos(SB_INST_VOL, s->vol, false);
+	setScrollBarPos(SB_INST_PAN, s->pan, false);
+	setScrollBarPos(SB_INST_FTUNE, 128 + s->fine, false);
+	setScrollBarPos(SB_INST_FADEOUT, ins->fadeOut, false);
+	setScrollBarPos(SB_INST_VIBSPEED, ins->vibRate, false);
+	setScrollBarPos(SB_INST_VIBDEPTH, ins->vibDepth, false);
+	setScrollBarPos(SB_INST_VIBSWEEP, ins->vibSweep, false);
+
+	// set radio buttons
+
+	uncheckRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+	switch (ins->vibTyp)
+	{
+		default:
+		case 0: tmpID = RB_INST_WAVE_SINE;      break;
+		case 1: tmpID = RB_INST_WAVE_SQUARE;    break;
+		case 2: tmpID = RB_INST_WAVE_RAMP_DOWN; break;
+		case 3: tmpID = RB_INST_WAVE_RAMP_UP;   break;
+	}
+
+	radioButtons[tmpID].state = RADIOBUTTON_CHECKED;
+
+	// set check boxes
+
+	checkBoxes[CB_INST_VENV].checked = (ins->envVTyp & 1) ? true : false;
+	checkBoxes[CB_INST_VENV_SUS].checked = (ins->envVTyp & 2) ? true : false;
+	checkBoxes[CB_INST_VENV_LOOP].checked = (ins->envVTyp & 4) ? true : false;
+	checkBoxes[CB_INST_PENV].checked = (ins->envPTyp & 1) ? true : false;
+	checkBoxes[CB_INST_PENV_SUS].checked = (ins->envPTyp & 2) ? true : false;
+	checkBoxes[CB_INST_PENV_LOOP].checked = (ins->envPTyp & 4) ? true : false;
+
+	if (editor.currVolEnvPoint >= ins->envVPAnt) editor.currVolEnvPoint = 0;
+	if (editor.currPanEnvPoint >= ins->envPPAnt) editor.currPanEnvPoint = 0;
+
+	showRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+
+	drawCheckBox(CB_INST_VENV);
+	drawCheckBox(CB_INST_VENV_SUS);
+	drawCheckBox(CB_INST_VENV_LOOP);
+	drawCheckBox(CB_INST_PENV);
+	drawCheckBox(CB_INST_PENV_SUS);
+	drawCheckBox(CB_INST_PENV_LOOP);
+
+	updateVolEnv = true;
+	updatePanEnv = true;
+
+	redrawPiano();
+}
+
+void showInstEditor(void)
+{
+	if (editor.ui.extended) exitPatternEditorExtended();
+	if (editor.ui.sampleEditorShown) hideSampleEditor();
+	if (editor.ui.sampleEditorExtShown) hideSampleEditorExt();
+
+	hidePatternEditor();
+	editor.ui.instEditorShown = true;
+
+	drawFramework(0,   173, 438,  87, FRAMEWORK_TYPE1);
+	drawFramework(0,   260, 438,  87, FRAMEWORK_TYPE1);
+	drawFramework(0,   347, 632,  53, FRAMEWORK_TYPE1);
+	drawFramework(438, 173, 194,  45, FRAMEWORK_TYPE1);
+	drawFramework(438, 218, 194,  76, FRAMEWORK_TYPE1);
+	drawFramework(438, 294, 194,  53, FRAMEWORK_TYPE1);
+	drawFramework(2,   188, 337,  70, FRAMEWORK_TYPE2);
+	drawFramework(2,   275, 337,  70, FRAMEWORK_TYPE2);
+	drawFramework(2,   349, 628,  49, FRAMEWORK_TYPE2);
+	drawFramework(590, 296,  40,  15, FRAMEWORK_TYPE2);
+
+	textOutShadow(20,  176, PAL_FORGRND, PAL_DSKTOP2, "Volume envelope:");
+	textOutShadow(153, 176, PAL_FORGRND, PAL_DSKTOP2, "Predef.");
+	textOutShadow(358, 193, PAL_FORGRND, PAL_DSKTOP2, "Sustain:");
+	textOutShadow(342, 206, PAL_FORGRND, PAL_DSKTOP2, "Point");
+	textOutShadow(358, 219, PAL_FORGRND, PAL_DSKTOP2, "Env.loop:");
+	textOutShadow(342, 234, PAL_FORGRND, PAL_DSKTOP2, "Start");
+	textOutShadow(342, 247, PAL_FORGRND, PAL_DSKTOP2, "End");
+	textOutShadow(20,  263, PAL_FORGRND, PAL_DSKTOP2, "Panning envelope:");
+	textOutShadow(152, 263, PAL_FORGRND, PAL_DSKTOP2, "Predef.");
+	textOutShadow(358, 280, PAL_FORGRND, PAL_DSKTOP2, "Sustain:");
+	textOutShadow(342, 293, PAL_FORGRND, PAL_DSKTOP2, "Point");
+	textOutShadow(358, 306, PAL_FORGRND, PAL_DSKTOP2, "Env.loop:");
+	textOutShadow(342, 321, PAL_FORGRND, PAL_DSKTOP2, "Start");
+	textOutShadow(342, 334, PAL_FORGRND, PAL_DSKTOP2, "End");
+	textOutShadow(443, 177, PAL_FORGRND, PAL_DSKTOP2, "Volume");
+	textOutShadow(443, 191, PAL_FORGRND, PAL_DSKTOP2, "Panning");
+	textOutShadow(443, 205, PAL_FORGRND, PAL_DSKTOP2, "Tune");
+	textOutShadow(442, 222, PAL_FORGRND, PAL_DSKTOP2, "Fadeout");
+	textOutShadow(442, 236, PAL_FORGRND, PAL_DSKTOP2, "Vib.speed");
+	textOutShadow(442, 250, PAL_FORGRND, PAL_DSKTOP2, "Vib.depth");
+	textOutShadow(442, 264, PAL_FORGRND, PAL_DSKTOP2, "Vib.sweep");
+	textOutShadow(453, 299, PAL_FORGRND, PAL_DSKTOP2, "Tone relative to C-4:");
+
+	showScrollBar(SB_INST_VOL);
+	showScrollBar(SB_INST_PAN);
+	showScrollBar(SB_INST_FTUNE);
+	showScrollBar(SB_INST_FADEOUT);
+	showScrollBar(SB_INST_VIBSPEED);
+	showScrollBar(SB_INST_VIBDEPTH);
+	showScrollBar(SB_INST_VIBSWEEP);
+
+	showPushButton(PB_INST_VDEF1);
+	showPushButton(PB_INST_VDEF2);
+	showPushButton(PB_INST_VDEF3);
+	showPushButton(PB_INST_VDEF4);
+	showPushButton(PB_INST_VDEF5);
+	showPushButton(PB_INST_VDEF6);
+	showPushButton(PB_INST_PDEF1);
+	showPushButton(PB_INST_PDEF2);
+	showPushButton(PB_INST_PDEF3);
+	showPushButton(PB_INST_PDEF4);
+	showPushButton(PB_INST_PDEF5);
+	showPushButton(PB_INST_PDEF6);
+	showPushButton(PB_INST_VP_ADD);
+	showPushButton(PB_INST_VP_DEL);
+	showPushButton(PB_INST_VS_UP);
+	showPushButton(PB_INST_VS_DOWN);
+	showPushButton(PB_INST_VREPS_UP);
+	showPushButton(PB_INST_VREPS_DOWN);
+	showPushButton(PB_INST_VREPE_UP);
+	showPushButton(PB_INST_VREPE_DOWN);
+	showPushButton(PB_INST_PP_ADD);
+	showPushButton(PB_INST_PP_DEL);
+	showPushButton(PB_INST_PS_UP);
+	showPushButton(PB_INST_PS_DOWN);
+	showPushButton(PB_INST_PREPS_UP);
+	showPushButton(PB_INST_PREPS_DOWN);
+	showPushButton(PB_INST_PREPE_UP);
+	showPushButton(PB_INST_PREPE_DOWN);
+	showPushButton(PB_INST_VOL_DOWN);
+	showPushButton(PB_INST_VOL_UP);
+	showPushButton(PB_INST_PAN_DOWN);
+	showPushButton(PB_INST_PAN_UP);
+	showPushButton(PB_INST_FTUNE_DOWN);
+	showPushButton(PB_INST_FTUNE_UP);
+	showPushButton(PB_INST_FADEOUT_DOWN);
+	showPushButton(PB_INST_FADEOUT_UP);
+	showPushButton(PB_INST_VIBSPEED_DOWN);
+	showPushButton(PB_INST_VIBSPEED_UP);
+	showPushButton(PB_INST_VIBDEPTH_DOWN);
+	showPushButton(PB_INST_VIBDEPTH_UP);
+	showPushButton(PB_INST_VIBSWEEP_DOWN);
+	showPushButton(PB_INST_VIBSWEEP_UP);
+	showPushButton(PB_INST_EXIT);
+	showPushButton(PB_INST_OCT_UP);
+	showPushButton(PB_INST_HALFTONE_UP);
+	showPushButton(PB_INST_OCT_DOWN);
+	showPushButton(PB_INST_HALFTONE_DOWN);
+
+	showCheckBox(CB_INST_VENV);
+	showCheckBox(CB_INST_VENV_SUS);
+	showCheckBox(CB_INST_VENV_LOOP);
+	showCheckBox(CB_INST_PENV);
+	showCheckBox(CB_INST_PENV_SUS);
+	showCheckBox(CB_INST_PENV_LOOP);
+
+	// draw auto-vibrato waveforms
+	blitFast(455, 279, &vibWaveformBitmap[(12*10)*0], 12, 10);
+	blitFast(485, 279, &vibWaveformBitmap[(12*10)*1], 12, 10);
+	blitFast(515, 279, &vibWaveformBitmap[(12*10)*2], 12, 10);
+	blitFast(545, 279, &vibWaveformBitmap[(12*10)*3], 12, 10);
+
+	showRadioButtonGroup(RB_GROUP_INST_WAVEFORM);
+
+	updateInstEditor();
+	redrawPiano();
+}
+
+void toggleInstEditor(void)
+{
+	if (editor.ui.sampleEditorShown)
+		hideSampleEditor();
+
+	if (editor.ui.instEditorShown)
+	{
+		exitInstEditor();
+	}
+	else
+	{
+		hidePatternEditor();
+		showInstEditor();
+	}
+}
+
+bool testInstrVolEnvMouseDown(bool mouseButtonDown)
+{
+	uint8_t ant;
+	int32_t x, y, mx, my, minX, maxX;
+	instrTyp *ins;
+
+	if (!editor.ui.instEditorShown || editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+		return false;
+
+	ins = instr[editor.curInstr];
+
+	ant = ins->envVPAnt;
+	if (ant > 12)
+		ant = 12;
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	if (!mouseButtonDown)
+	{
+		if (my < 189 || my > 256 || mx < 7 || mx > 334)
+			return false;
+
+		if (ins->envVPAnt == 0)
+			return true;
+
+		lastMouseX = mx;
+		lastMouseY = my;
+
+		for (uint8_t i = 0; i < ant; i++)
+		{
+			x = 8 + ins->envVP[i][0];
+			y = 190 + (64 - ins->envVP[i][1]);
+
+			if (mx >= x-2 && mx <= x+2 && my >= y-2 && my <= y+2)
+			{
+				editor.currVolEnvPoint = i;
+				mouse.lastUsedObjectType = OBJECT_INSVOLENV;
+
+				saveMouseX = 8 + (lastMouseX - x);
+				saveMouseY = 190 + (lastMouseY - y);
+
+				updateVolEnv = true;
+				break;
+			}
+		}
+
+		return true;
+	}
+
+	if (ins->envVPAnt == 0)
+		return true;
+
+	if (mx != lastMouseX)
+	{
+		lastMouseX = mx;
+
+		if (ant > 1 && editor.currVolEnvPoint > 0)
+		{
+			mx -= saveMouseX;
+			mx = CLAMP(mx, 0, 324);
+
+			if (editor.currVolEnvPoint == ant-1)
+			{
+				minX = ins->envVP[editor.currVolEnvPoint-1][0] + 1;
+				maxX = 325;
+			}
+			else
+			{
+				minX = ins->envVP[editor.currVolEnvPoint-1][0] + 1;
+				maxX = ins->envVP[editor.currVolEnvPoint+1][0] - 1;
+			}
+
+			ins->envVP[editor.currVolEnvPoint][0] = (int16_t)(CLAMP(mx, minX, maxX));
+			updateVolEnv = true;
+
+			setSongModifiedFlag();
+		}
+	}
+
+	if (my != lastMouseY)
+	{
+		lastMouseY = my;
+
+		my -= saveMouseY;
+		my = 64 - CLAMP(my, 0, 64);
+
+		ins->envVP[editor.currVolEnvPoint][1] = (int16_t)my;
+		updateVolEnv = true;
+
+		setSongModifiedFlag();
+	}
+
+	return true;
+}
+
+bool testInstrPanEnvMouseDown(bool mouseButtonDown)
+{
+	uint8_t ant;
+	int32_t x, y, mx, my, minX, maxX;
+	instrTyp *ins;
+
+	if (!editor.ui.instEditorShown || editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+		return false;
+
+	ins = instr[editor.curInstr];
+
+	ant = ins->envPPAnt;
+	if (ant > 12)
+		ant = 12;
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	if (!mouseButtonDown)
+	{
+		if (my < 277 || my > 343 || mx < 7 || mx > 334)
+			return false;
+
+		if (ins->envPPAnt == 0)
+			return true;
+
+		lastMouseX = mx;
+		lastMouseY = my;
+
+		for (uint8_t i = 0; i < ant; i++)
+		{
+			x = 8 + ins->envPP[i][0];
+			y = 277 + (63 - ins->envPP[i][1]);
+
+			if (mx >= x-2 && mx <= x+2 && my >= y-2 && my <= y+2)
+			{
+				editor.currPanEnvPoint = i;
+				mouse.lastUsedObjectType = OBJECT_INSPANENV;
+
+				saveMouseX = lastMouseX - x + 8;
+				saveMouseY = lastMouseY - y + 277;
+
+				updatePanEnv = true;
+				break;
+			}
+		}
+
+		return true;
+	}
+
+	if (ins->envPPAnt == 0)
+		return true;
+
+	if (mx != lastMouseX)
+	{
+		lastMouseX = mx;
+
+		if (ant > 1 && editor.currPanEnvPoint > 0)
+		{
+			mx -= saveMouseX;
+			mx = CLAMP(mx, 0, 324);
+
+			if (editor.currPanEnvPoint == ant-1)
+			{
+				minX = ins->envPP[editor.currPanEnvPoint-1][0] + 1;
+				maxX = 325;
+			}
+			else
+			{
+				minX = ins->envPP[editor.currPanEnvPoint-1][0] + 1;
+				maxX = ins->envPP[editor.currPanEnvPoint+1][0] - 1;
+			}
+
+			ins->envPP[editor.currPanEnvPoint][0] = (int16_t)(CLAMP(mx, minX, maxX));
+			updatePanEnv = true;
+
+			setSongModifiedFlag();
+		}
+	}
+
+	if (my != lastMouseY)
+	{
+		lastMouseY = my;
+
+		my -= saveMouseY;
+		my  = 63 - CLAMP(my, 0, 63);
+
+		ins->envPP[editor.currPanEnvPoint][1] = (int16_t)my;
+		updatePanEnv = true;
+
+		setSongModifiedFlag();
+	}
+
+	return true;
+}
+
+void cbInstMidiEnable(void)
+{
+	if (editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+	{
+		checkBoxes[CB_INST_EXT_MIDI].checked = false;
+		drawCheckBox(CB_INST_EXT_MIDI);
+		return;
+	}
+
+	instr[editor.curInstr]->midiOn ^= 1;
+	setSongModifiedFlag();
+}
+
+void cbInstMuteComputer(void)
+{
+	if (editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+	{
+		checkBoxes[CB_INST_EXT_MUTE].checked = false;
+		drawCheckBox(CB_INST_EXT_MUTE);
+		return;
+	}
+
+	instr[editor.curInstr]->mute ^= 1;
+	setSongModifiedFlag();
+}
+
+void drawInstEditorExt(void)
+{
+	instrTyp *ins = instr[editor.curInstr];
+
+	drawFramework(0,  92, 291, 17, FRAMEWORK_TYPE1);
+	drawFramework(0, 109, 291, 19, FRAMEWORK_TYPE1);
+	drawFramework(0, 128, 291, 45, FRAMEWORK_TYPE1);
+
+	textOutShadow(4,   96,  PAL_FORGRND, PAL_DSKTOP2, "Instrument Editor Extension:");
+	textOutShadow(20,  114, PAL_FORGRND, PAL_DSKTOP2, "Instrument MIDI enable");
+	textOutShadow(189, 114, PAL_FORGRND, PAL_DSKTOP2, "Mute computer");
+	textOutShadow(4,   133, PAL_FORGRND, PAL_DSKTOP2, "MIDI transmit channel");
+	textOutShadow(4,   147, PAL_FORGRND, PAL_DSKTOP2, "MIDI program");
+	textOutShadow(4,   160, PAL_FORGRND, PAL_DSKTOP2, "Bender range (halftones)");
+
+	if (ins == NULL)
+	{
+		checkBoxes[CB_INST_EXT_MIDI].checked = false;
+		checkBoxes[CB_INST_EXT_MUTE].checked = false;
+		setScrollBarPos(SB_INST_EXT_MIDI_CH, 0, false);
+		setScrollBarPos(SB_INST_EXT_MIDI_PRG, 0, false);
+		setScrollBarPos(SB_INST_EXT_MIDI_BEND, 0, false);
+	}
+	else
+	{
+		checkBoxes[CB_INST_EXT_MIDI].checked = ins->midiOn ? true : false;
+		checkBoxes[CB_INST_EXT_MUTE].checked = ins->mute ? true : false;
+		setScrollBarPos(SB_INST_EXT_MIDI_CH, ins->midiChannel, false);
+		setScrollBarPos(SB_INST_EXT_MIDI_PRG, ins->midiProgram, false);
+		setScrollBarPos(SB_INST_EXT_MIDI_BEND, ins->midiBend, false);
+	}
+
+	showCheckBox(CB_INST_EXT_MIDI);
+	showCheckBox(CB_INST_EXT_MUTE);
+
+	showScrollBar(SB_INST_EXT_MIDI_CH);
+	showScrollBar(SB_INST_EXT_MIDI_PRG);
+	showScrollBar(SB_INST_EXT_MIDI_BEND);
+
+	showPushButton(PB_INST_EXT_MIDI_CH_DOWN);
+	showPushButton(PB_INST_EXT_MIDI_CH_UP);
+	showPushButton(PB_INST_EXT_MIDI_PRG_DOWN);
+	showPushButton(PB_INST_EXT_MIDI_PRG_UP);
+	showPushButton(PB_INST_EXT_MIDI_BEND_DOWN);
+	showPushButton(PB_INST_EXT_MIDI_BEND_UP);
+
+	drawMIDICh();
+	drawMIDIPrg();
+	drawMIDIBend();
+}
+
+void showInstEditorExt(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	showTopScreen(false);
+
+	editor.ui.instEditorExtShown = true;
+	editor.ui.scopesShown = false;
+	drawInstEditorExt();
+}
+
+void hideInstEditorExt(void)
+{
+	hideScrollBar(SB_INST_EXT_MIDI_CH);
+	hideScrollBar(SB_INST_EXT_MIDI_PRG);
+	hideScrollBar(SB_INST_EXT_MIDI_BEND);
+	hideCheckBox(CB_INST_EXT_MIDI);
+	hideCheckBox(CB_INST_EXT_MUTE);
+	hidePushButton(PB_INST_EXT_MIDI_CH_DOWN);
+	hidePushButton(PB_INST_EXT_MIDI_CH_UP);
+	hidePushButton(PB_INST_EXT_MIDI_PRG_DOWN);
+	hidePushButton(PB_INST_EXT_MIDI_PRG_UP);
+	hidePushButton(PB_INST_EXT_MIDI_BEND_DOWN);
+	hidePushButton(PB_INST_EXT_MIDI_BEND_UP);
+
+	editor.ui.instEditorExtShown = false;
+	editor.ui.scopesShown = true;
+	drawScopeFramework();
+}
+
+void toggleInstEditorExt(void)
+{
+	if (editor.ui.instEditorExtShown)
+		hideInstEditorExt();
+	else
+		showInstEditorExt();
+}
+
+static bool testInstrSwitcherNormal(void) // Welcome to the Jungle
+{
+	uint8_t newEntry;
+
+	if (mouse.x < 424 || mouse.x > 585)
+		return false;
+
+	if (mouse.y >= 5 && mouse.y <= 91)
+	{
+		// instruments
+		if (mouse.x >= 446 && mouse.x <= 584)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-5) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// destination instrument
+			newEntry = (editor.instrBankOffset + 1) + (uint8_t)((mouse.y - 5) / 11);
+			if (editor.curInstr != newEntry)
+			{
+				editor.curInstr = newEntry;
+				updateTextBoxPointers();
+				updateNewInstrument();
+			}
+
+			return true;
+		}
+		else if (mouse.x >= 424 && mouse.x <= 438)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-5) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// source isntrument
+			newEntry = (editor.instrBankOffset + 1) + (uint8_t)((mouse.y - 5) / 11);
+			if (editor.srcInstr != newEntry)
+			{
+				editor.srcInstr = newEntry;
+				updateInstrumentSwitcher();
+
+				if (editor.ui.advEditShown)
+					updateAdvEdit();
+			}
+
+			return true;
+		}
+	}
+	else if (mouse.y >= 99 && mouse.y <= 152)
+	{
+		// samples
+		if (mouse.x >= 446 && mouse.x <= 560)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-99) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// destionation sample
+			newEntry = editor.sampleBankOffset + (uint8_t)((mouse.y - 99) / 11);
+			if (editor.curSmp != newEntry)
+			{
+				editor.curSmp = newEntry;
+				updateInstrumentSwitcher();
+				updateSampleEditorSample();
+
+				     if (editor.ui.sampleEditorShown) updateSampleEditor();
+				else if (editor.ui.instEditorShown)   updateInstEditor();
+			}
+
+			return true;
+		}
+		else if (mouse.x >= 423 && mouse.x <= 438)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-99) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// source sample
+			newEntry = editor.sampleBankOffset + (uint8_t)((mouse.y - 99) / 11);
+			if (editor.srcSmp != newEntry)
+			{
+				editor.srcSmp = newEntry;
+				updateInstrumentSwitcher();
+			}
+
+			return true;
+		}
+	}
+
+	return false;
+}
+
+static bool testInstrSwitcherExtended(void) // Welcome to the Jungle 2 - The Happening
+{
+	uint8_t newEntry;
+
+	if (mouse.y < 5 || mouse.y > 47)
+		return false;
+
+	if (mouse.x >= 511)
+	{
+		// right columns
+		if (mouse.x <= 525)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-5) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// source instrument
+			newEntry = (editor.instrBankOffset + 5) + (uint8_t)((mouse.y - 5) / 11);
+			if (editor.srcInstr != newEntry)
+			{
+				editor.srcInstr = newEntry;
+				updateInstrumentSwitcher();
+
+				if (editor.ui.advEditShown)
+					updateAdvEdit();
+			}
+
+			return true;
+		}
+		else if (mouse.x >= 529 && mouse.x <= 626)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-5) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// destination instrument
+			newEntry = (editor.instrBankOffset + 5) + (uint8_t)((mouse.y - 5) / 11);
+			if (editor.curInstr != newEntry)
+			{
+				editor.curInstr = newEntry;
+				updateTextBoxPointers();
+				updateNewInstrument();
+			}
+
+			return true;
+		}
+	}
+	else if (mouse.x >= 388)
+	{
+		// left columns
+		if (mouse.x <= 402)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-5) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// source instrument
+			newEntry = (editor.instrBankOffset + 1) + (uint8_t)((mouse.y - 5) / 11);
+			if (editor.srcInstr != newEntry)
+			{
+				editor.srcInstr = newEntry;
+				updateInstrumentSwitcher();
+
+				if (editor.ui.advEditShown)
+					updateAdvEdit();
+			}
+
+			return true;
+		}
+		else if (mouse.x >= 406 && mouse.x <= 503)
+		{
+			mouse.lastUsedObjectType = OBJECT_INSTRSWITCH;
+
+			if ((mouse.y-5) % 11 == 10)
+				return true; // we clicked on the one-pixel spacer
+
+			// destination instrument
+			newEntry = (editor.instrBankOffset + 1) + (uint8_t)((mouse.y - 5) / 11);
+			if (editor.curInstr != newEntry)
+			{
+				editor.curInstr = newEntry;
+				updateTextBoxPointers();
+				updateNewInstrument();
+			}
+
+			return true;
+		}
+	}
+
+	return false;
+}
+
+bool testInstrSwitcherMouseDown(void)
+{
+	if (!editor.ui.instrSwitcherShown)
+		return false;
+
+	if (editor.ui.extended)
+		return testInstrSwitcherExtended();
+	else
+		return testInstrSwitcherNormal();
+}
+
+static int32_t SDLCALL saveInstrThread(void *ptr)
+{
+	int16_t n;
+	size_t result;
+	FILE *f;
+	instrXIHeaderTyp ih;
+	sampleTyp *srcSmp;
+	sampleHeaderTyp *dstSmpHdr;
+
+	(void)ptr;
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	n = getUsedSamples(saveInstrNr);
+	if (n == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Instrument is empty!");
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(editor.tmpFilenameU, "wb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	memset(&ih, 0, sizeof (ih));
+	memcpy(ih.sig, "Extended Instrument: ", 21);
+	memset(ih.name, ' ', 22);
+	memcpy(ih.name, song.instrName[saveInstrNr], strlen(song.instrName[saveInstrNr]));
+	ih.name[22] = 0x1A;
+	memcpy(ih.progName, PROG_NAME_STR, 20);
+	ih.ver = 0x0102;
+
+	memcpy(ih.ta, &instr[saveInstrNr], INSTR_SIZE);
+	ih.antSamp = n;
+
+	for (int16_t i = 0; i < n; i++)
+	{
+		srcSmp = &instr[saveInstrNr]->samp[i];
+		dstSmpHdr = &ih.samp[i];
+
+		memcpy(&dstSmpHdr->len, &srcSmp->len, 12+4+2 + strlen(srcSmp->name));
+		if (srcSmp->pek == NULL)
+			dstSmpHdr->len = 0;
+	}
+
+	result = fwrite(&ih, INSTR_XI_HEADER_SIZE + (ih.antSamp * sizeof (sampleHeaderTyp)), 1, f);
+	if (result != 1)
+	{
+		fclose(f);
+		okBoxThreadSafe(0, "System message", "Error saving instrument: general I/O error!");
+		return false;
+	}
+
+	pauseAudio();
+	for (int16_t i = 0; i < n; i++)
+	{
+		srcSmp = &instr[saveInstrNr]->samp[i];
+		if (srcSmp->pek != NULL)
+		{
+			restoreSample(srcSmp);
+			samp2Delta(srcSmp->pek, srcSmp->len, srcSmp->typ);
+
+			result = fwrite(srcSmp->pek, 1, srcSmp->len, f);
+
+			delta2Samp(srcSmp->pek, srcSmp->len, srcSmp->typ);
+			fixSample(srcSmp);
+
+			if (result != (size_t)srcSmp->len) // write not OK
+			{
+				resumeAudio();
+				fclose(f);
+				okBoxThreadSafe(0, "System message", "Error saving instrument: general I/O error!");
+				return false;
+			}
+		}
+	}
+	resumeAudio();
+
+	fclose(f);
+
+	editor.diskOpReadDir = true; // force diskop re-read
+
+	setMouseBusy(false);
+	return true;
+}
+
+void saveInstr(UNICHAR *filenameU, int16_t nr)
+{
+	if (nr == 0)
+		return;
+
+	saveInstrNr = nr;
+	UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(saveInstrThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int16_t getPATNote(int32_t freq)
+{
+	double dFreq;
+
+	dFreq = ((log(freq / (440.0 * 1000.0)) / M_LN2) * 12.0) + 48.0 + 9.0;
+	return (int16_t)round(dFreq);
+}
+
+static int32_t SDLCALL loadInstrThread(void *ptr)
+{
+	bool stereoWarning;
+	int8_t *newPtr;
+	int16_t a, b;
+	double dFreq;
+	FILE *f;
+	instrXIHeaderTyp ih;
+	instrPATHeaderTyp ih_PAT;
+	instrPATWaveHeaderTyp ih_PATWave;
+	sampleTyp *s;
+	instrTyp *ins;
+
+	(void)ptr;
+
+	stereoWarning = false;
+
+	if (editor.tmpInstrFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(editor.tmpInstrFilenameU, "rb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		return false;
+	}
+
+	memset(&ih, 0, sizeof (ih));
+
+	fread(&ih, INSTR_XI_HEADER_SIZE, 1, f);
+	if (!strncmp(ih.sig, "Extended Instrument: ", 21))
+	{
+		// XI - Extended Instrument
+
+		if (ih.ver != 0x0101 && ih.ver != 0x0102)
+		{
+			okBoxThreadSafe(0, "System message", "Incompatible format version!");
+			goto loadDone;
+		}
+
+		if (ih.ver == 0x0101)
+		{
+			fseek(f, -2 - 15 - 1 - 2, SEEK_CUR);
+			ih.antSamp = ih.midiProgram;
+			memset(&ih.midiProgram, 0, 2+15+1+2);
+		}
+
+		if (ih.antSamp > 16)
+		{
+			okBoxThreadSafe(0, "System message", "Incompatible instrument!");
+			goto loadDone;
+		}
+
+		memcpy(song.instrName[editor.curInstr], ih.name, 22);
+		song.instrName[editor.curInstr][22] = '\0';
+
+		pauseAudio();
+
+		freeInstr(editor.curInstr);
+
+		if (ih.antSamp > 0)
+		{
+			if (!allocateInstr(editor.curInstr))
+			{
+				resumeAudio();
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				goto loadDone;
+			}
+
+			// sanitize stuff for malicious instruments
+			ih.midiProgram = CLAMP(ih.midiProgram, 0, 127);
+			ih.midiBend = CLAMP(ih.midiBend, 0, 36);
+
+			if (ih.midiChannel > 15) ih.midiChannel = 15;
+			if (ih.mute != 1) ih.mute = 0;
+			if (ih.midiOn!= 1) ih.midiOn = 0;
+			if (ih.vibDepth > 0x0F) ih.vibDepth = 0x0F;
+			if (ih.vibRate > 0x3F) ih.vibRate = 0x3F;
+			if (ih.vibTyp > 3) ih.vibTyp = 0;
+
+			for (int16_t i = 0; i < 96; i++)
+			{
+				if (ih.ta[i] > 15)
+					ih.ta[i] = 15;
+			}
+
+			if (ih.envVPAnt > 12) ih.envVPAnt = 12;
+			if (ih.envVRepS > 11) ih.envVRepS = 11;
+			if (ih.envVRepE > 11) ih.envVRepE = 11;
+			if (ih.envVSust > 11) ih.envVSust = 11;
+			if (ih.envPPAnt > 12) ih.envPPAnt = 12;
+			if (ih.envPRepS > 11) ih.envPRepS = 11;
+			if (ih.envPRepE > 11) ih.envPRepE = 11;
+			if (ih.envPSust > 11) ih.envPSust = 11;
+			// ----------------------------------------
+
+			memcpy(instr[editor.curInstr]->ta, ih.ta, INSTR_SIZE);
+
+			if (fread(ih.samp, sizeof (sampleHeaderTyp) * ih.antSamp, 1, f) != 1)
+			{
+				freeInstr(editor.curInstr);
+				resumeAudio();
+				okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+				goto loadDone;
+			}
+
+			for (int16_t i = 0; i < ih.antSamp; i++)
+				memcpy(&instr[editor.curInstr]->samp[i], &ih.samp[i], 12 + 4 + 24);
+		}
+
+		for (int16_t i = 0; i < ih.antSamp; i++)
+		{
+			s = &instr[editor.curInstr]->samp[i];
+
+			// sanitize stuff for malicious modules
+			if (s->vol > 64)
+				s->vol = 64;
+
+			s->relTon = CLAMP(s->relTon, -48, 71);
+
+			// if a sample has both forward loop and pingpong loop set, make it pingpong loop only (FT2 behavior)
+			if ((s->typ & 3) == 3)
+				s->typ = 2;
+
+			if (s->len > 0)
+			{
+				s->pek = (int8_t *)malloc(s->len + LOOP_FIX_LEN);
+				if (s->pek == NULL)
+				{
+					freeInstr(editor.curInstr);
+					resumeAudio();
+					okBoxThreadSafe(0, "System message", "Not enough memory!");
+					goto loadDone;
+				}
+
+				if (fread(s->pek, s->len, 1, f) != 1)
+				{
+					freeInstr(editor.curInstr);
+					resumeAudio();
+					okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+					goto loadDone;
+				}
+
+				delta2Samp(s->pek, s->len, s->typ); // stereo samples are handled here
+
+				// check if it was a stereo sample
+				if (s->typ & 32)
+				{
+					s->typ &= ~32;
+
+					s->len /= 2;
+					s->repL /= 2;
+					s->repS /= 2;
+
+					newPtr = (int8_t *)realloc(s->pek, s->len + LOOP_FIX_LEN);
+					if (newPtr != NULL)
+						s->pek = newPtr;
+
+					stereoWarning = true;
+				}
+
+				fixSample(s);
+			}
+		}
+
+		resumeAudio();
+	}
+	else
+	{
+		rewind(f);
+
+		fread(&ih_PAT, 1, sizeof (instrPATHeaderTyp), f);
+		if (!memcmp(ih_PAT.id, "GF1PATCH110\0ID#000002\0", 22))
+		{
+			// PAT - Gravis Ultrasound GF1 patch
+
+			if (ih_PAT.layers > 1 || ih_PAT.antSamp > 16 || ih_PAT.antSamp == 0)
+			{
+				okBoxThreadSafe(0, "System message", "Incompatible instrument!");
+				goto loadDone;
+			}
+
+			pauseAudio();
+			freeInstr(editor.curInstr);
+
+			if (!allocateInstr(editor.curInstr))
+			{
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				goto loadDone;
+			}
+
+			memset(song.instrName[editor.curInstr], 0, 22 + 1);
+			memcpy(song.instrName[editor.curInstr], ih_PAT.instrName, 16);
+
+			for (int16_t i = 0; i < ih_PAT.antSamp; i++)
+			{
+				s = &instr[editor.curInstr]->samp[i];
+				ins = instr[editor.curInstr];
+
+				if (fread(&ih_PATWave, 1, sizeof (ih_PATWave), f) != sizeof (ih_PATWave))
+				{
+					freeInstr(editor.curInstr);
+					resumeAudio();
+					okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+					goto loadDone;
+				}
+
+				s->pek = (int8_t *)malloc(ih_PATWave.waveSize + LOOP_FIX_LEN);
+				if (s->pek == NULL)
+				{
+					freeInstr(editor.curInstr);
+					resumeAudio();
+					okBoxThreadSafe(0, "System message", "Not enough memory!");
+					goto loadDone;
+				}
+
+				if (i == 0)
+				{
+					ins->vibSweep = ih_PATWave.vibSweep;
+					ins->vibRate  = ih_PATWave.vibRate  / 2; if (ins->vibRate  > 0x3F) ins->vibRate  = 0x3F;
+					ins->vibDepth = ih_PATWave.vibDepth / 2; if (ins->vibDepth > 0x0F) ins->vibDepth = 0x0F;
+				}
+
+				s = &instr[editor.curInstr]->samp[i];
+
+				memcpy(s->name, ih_PATWave.name, 7);
+
+				s->typ = (ih_PATWave.mode & 1) << 4; // 16-bit flag
+				if (ih_PATWave.mode & 4) // loop enabled?
+				{
+					if (ih_PATWave.mode & 8)
+						s->typ |= 2; // pingpong loop
+					else
+						s->typ |= 1; // forward loop
+				}
+
+				s->pan = (ih_PATWave.pan == 8) ? 128 : (ih_PATWave.pan * 17); // FT2 does <<4 here, I don't like that!
+				s->len = ih_PATWave.waveSize;
+
+				s->repS = ih_PATWave.repS;
+				if (s->repS > s->len)
+					s->repS = 0;
+
+				s->repL = ih_PATWave.repE - ih_PATWave.repS;
+
+				if (s->typ & 16)
+				{
+					s->len  &= 0xFFFFFFFE;
+					s->repS &= 0xFFFFFFFE;
+					s->repL &= 0xFFFFFFFE;
+				}
+
+				if (s->repL < 0)
+					s->repL = 0;
+
+				if (s->repS+s->repL > s->len)
+					s->repL = s->len - s->repS;
+
+				dFreq = round((1.0 + ih_PATWave.fineTune / 512.0) * ih_PATWave.sampleRate);
+				tuneSample(s, (int32_t)dFreq);
+
+				s->relTon -= (int8_t)(getPATNote(ih_PATWave.rootFrq) - (12 * 3));
+				s->relTon  = CLAMP(s->relTon, -48, 71);
+
+				a = getPATNote(ih_PATWave.lowFrq);   a = CLAMP(a, 0, 95);
+				b = getPATNote(ih_PATWave.highFreq); b = CLAMP(b, 0, 95);
+
+				for (int16_t j = a; j <= b; j++)
+					ins->ta[j] = (uint8_t)i;
+
+				if (fread(s->pek, ih_PATWave.waveSize, 1, f) != 1)
+				{
+					freeInstr(editor.curInstr);
+					resumeAudio();
+					okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+					goto loadDone;
+				}
+
+				if (ih_PATWave.mode & 2)
+				{
+					if (s->typ & 16)
+						conv16BitSample(s->pek, s->len, false);
+					else
+						conv8BitSample(s->pek, s->len, false);
+				}
+
+				fixSample(s);
+			}
+
+			resumeAudio();
+		}
+	}
+
+loadDone:
+	fclose(f);
+
+	fixSampleName(editor.curInstr);
+	editor.updateCurInstr = true; // setMouseBusy(false) is called in the input/video thread when done
+
+	if (stereoWarning)
+		okBoxThreadSafe(0, "System message", "The instrument contains stereo samples! They were mixed to mono.");
+
+	return true;
+}
+
+static bool fileIsInstr(UNICHAR *filename)
+{
+	char header[22];
+	FILE *f;
+
+	f = UNICHAR_FOPEN(filename, "rb");
+	if (f == NULL)
+		return false;
+
+	fread(header, 1, sizeof (header), f);
+	fclose(f);
+
+	if (!strncmp(header, "Extended Instrument: ", 21) || !memcmp(header, "GF1PATCH110\0ID#000002\0", 22))
+		return true;
+
+	return false;
+}
+
+void loadInstr(UNICHAR *filenameU)
+{
+	if (editor.curInstr == 0)
+	{
+		okBox(0, "System message", "The zero-instrument cannot hold intrument data.");
+		return;
+	}
+
+	UNICHAR_STRCPY(editor.tmpInstrFilenameU, filenameU);
+
+	if (fileIsInstr(filenameU))
+	{
+		// load as instrument
+		mouseAnimOn();
+		thread = SDL_CreateThread(loadInstrThread, NULL, NULL);
+		if (thread == NULL)
+		{
+			okBox(0, "System message", "Couldn't create thread!");
+			return;
+		}
+
+		SDL_DetachThread(thread);
+	}
+	else
+	{
+		// load as sample into sample slot #0 (and clear instrument)
+		loadSample(editor.tmpInstrFilenameU, 0, true);
+	}
+}
--- /dev/null
+++ b/src/ft2_inst_ed.h
@@ -1,0 +1,104 @@
+#pragma once
+
+#include <stdint.h>
+#include "ft2_header.h"
+#include "ft2_audio.h"
+#include "ft2_audio.h"
+#include "ft2_unicode.h"
+
+void saveInstr(UNICHAR *filenameU, int16_t nr);
+void loadInstr(UNICHAR *filenameU);
+void copyInstr(void); // dstInstr = srcInstr
+void xchgInstr(void); // dstInstr <-> srcInstr
+void updateNewSample(void);
+void updateNewInstrument(void);
+void handleInstEditorRedrawing(void);
+void hideInstEditor(void);
+void exitInstEditor(void);
+void updateInstEditor(void);
+void showInstEditor(void);
+void toggleInstEditor(void);
+void midiChDown(void);
+void midiChUp(void);
+void midiPrgDown(void);
+void midiPrgUp(void);
+void midiBendDown(void);
+void midiBendUp(void);
+void sbMidiChPos(uint32_t pos);
+void sbMidiPrgPos(uint32_t pos);
+void sbMidiBendPos(uint32_t pos);
+void volPreDef1(void);
+void volPreDef2(void);
+void volPreDef3(void);
+void volPreDef4(void);
+void volPreDef5(void);
+void volPreDef6(void);
+void panPreDef1(void);
+void panPreDef2(void);
+void panPreDef3(void);
+void panPreDef4(void);
+void panPreDef5(void);
+void panPreDef6(void);
+void relToneOctUp(void);
+void relToneOctDown(void);
+void relToneUp(void);
+void relToneDown(void);
+void volEnvAdd(void);
+void volEnvDel(void);
+void volEnvSusUp(void);
+void volEnvSusDown(void);
+void volEnvRepSUp(void);
+void volEnvRepSDown(void);
+void volEnvRepEUp(void);
+void volEnvRepEDown(void);
+void panEnvAdd(void);
+void panEnvDel(void);
+void panEnvSusUp(void);
+void panEnvSusDown(void);
+void panEnvRepSUp(void);
+void panEnvRepSDown(void);
+void panEnvRepEUp(void);
+void panEnvRepEDown(void);
+void volDown(void);
+void volUp(void);
+void panDown(void);
+void panUp(void);
+void ftuneDown(void);
+void ftuneUp(void);
+void fadeoutDown(void);
+void fadeoutUp(void);
+void vibSpeedDown(void);
+void vibSpeedUp(void);
+void vibDepthDown(void);
+void vibDepthUp(void);
+void vibSweepDown(void);
+void vibSweepUp(void);
+void setVolumeScroll(uint32_t pos);
+void setPanningScroll(uint32_t pos);
+void setFinetuneScroll(uint32_t pos);
+void setFadeoutScroll(uint32_t pos);
+void setVibSpeedScroll(uint32_t pos);
+void setVibDepthScroll(uint32_t pos);
+void setVibSweepScroll(uint32_t pos);
+void rbVibWaveSine(void);
+void rbVibWaveSquare(void);
+void rbVibWaveRampDown(void);
+void rbVibWaveRampUp(void);
+void cbVEnv(void);
+void cbVEnvSus(void);
+void cbVEnvLoop(void);
+void cbPEnv(void);
+void cbPEnvSus(void);
+void cbPEnvLoop(void);
+void drawPiano(void);
+void drawPianoReplayer(chSyncData_t *chSyncData);
+bool testInstrVolEnvMouseDown(bool mouseButtonDown);
+bool testInstrPanEnvMouseDown(bool mouseButtonDown);
+bool testPianoKeysMouseDown(bool mouseButtonDown);
+bool testInstrSwitcherMouseDown(void);
+void cbInstMidiEnable(void);
+void cbInstMuteComputer(void);
+void drawInstEditorExt(void);
+void showInstEditorExt(void);
+void hideInstEditorExt(void);
+void toggleInstEditorExt(void);
--- /dev/null
+++ b/src/ft2_keyboard.c
@@ -1,0 +1,1309 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include "ft2_header.h"
+#include "ft2_keyboard.h"
+#include "ft2_gui.h"
+#include "ft2_about.h"
+#include "ft2_video.h"
+#include "ft2_edit.h"
+#include "ft2_config.h"
+#include "ft2_help.h"
+#include "ft2_mouse.h"
+#include "ft2_nibbles.h"
+#include "ft2_inst_ed.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_sample_ed.h"
+#include "ft2_audio.h"
+#include "ft2_trim.h"
+#include "ft2_sample_ed_features.h"
+
+static void handleKeys(SDL_Keycode keycode, SDL_Scancode scanKey);
+static bool checkModifiedKeys(SDL_Keycode keycode);
+
+static const uint8_t scancodeKey2Note[52] = // keys (USB usage page standard) to FT2 notes look-up table
+{
+	0x08, 0x05, 0x04, 0x11, 0x00, 0x07, 0x09, 0x19,
+	0x0B, 0x00, 0x0E, 0x0C, 0x0A, 0x1B, 0x1D, 0x0D,
+	0x12, 0x02, 0x14, 0x18, 0x06, 0x0F, 0x03, 0x16,
+	0x01, 0x00, 0x0E, 0x10, 0x00, 0x13, 0x15, 0x17,
+	0x00, 0x1A, 0x1C, 0x22, 0x00, 0x00, 0x00, 0x00,
+	0x00, 0x1F, 0x1E, 0x20, 0x13, 0x00, 0x10, 0x00,
+	0x00, 0x0D, 0x0F, 0x11
+};
+
+int8_t scancodeKeyToNote(SDL_Scancode scancode)
+{
+	int8_t note;
+
+	if (scancode == SDL_SCANCODE_CAPSLOCK || scancode == SDL_SCANCODE_NONUSBACKSLASH)
+		return 97; // key off
+
+	// translate key to note
+	note = 0;
+	if (scancode >= SDL_SCANCODE_B && scancode <= SDL_SCANCODE_SLASH)
+		note = scancodeKey2Note[(int32_t)scancode - SDL_SCANCODE_B];
+
+	if (note == 0)
+		return -1; // not a note key, do further key handling
+
+	return note + (editor.curOctave * 12);
+}
+
+void readKeyModifiers(void)
+{
+	SDL_Keymod modState;
+
+	modState = SDL_GetModState();
+
+	keyb.ctrlPressed = (modState & (KMOD_LCTRL | KMOD_RCTRL)) ? true : false;
+	keyb.leftCtrlPressed = (modState & KMOD_LCTRL) ? true : false;
+	keyb.leftAltPressed = (modState & KMOD_LALT) ? true : false;
+	keyb.leftShiftPressed = (modState & KMOD_LSHIFT) ? true : false;
+#ifdef __APPLE__
+	keyb.commandPressed = (modState & (KMOD_LGUI | KMOD_RGUI)) ? true : false;
+	keyb.leftCommandPressed = (modState & KMOD_LGUI) ? true : false;
+#endif
+	keyb.keyModifierDown = (modState & (KMOD_LSHIFT | KMOD_LCTRL | KMOD_LALT | KMOD_LGUI)) ? true : false;
+}
+
+void keyUpHandler(SDL_Scancode scancode, SDL_Keycode keycode)
+{
+	(void)keycode;
+
+	if (editor.editTextFlag || editor.ui.sysReqShown)
+		return; // kludge: don't handle key up! (XXX: Is this hack really needed anymore?)
+
+	/* Yet another kludge for not leaving a ghost key-up event after an inputBox/okBox
+	** was exited with a key press. They could be picked up as note release events. */
+	if (keyb.ignoreCurrKeyUp)
+	{
+		keyb.ignoreCurrKeyUp = false;
+		return;
+	}
+
+	if (editor.cursor.object == CURSOR_NOTE && !keyb.keyModifierDown)
+		testNoteKeysRelease(scancode);
+
+	if (scancode == SDL_SCANCODE_KP_PLUS)
+		keyb.numPadPlusPressed = false;
+
+	keyb.keyRepeat = false;
+}
+
+void keyDownHandler(SDL_Scancode scancode, SDL_Keycode keycode, bool keyWasRepeated)
+{
+	if (keycode == SDLK_UNKNOWN)
+		return;
+
+	// revert "delete/rename" mouse modes (disk op.)
+	if (mouse.mode != MOUSE_MODE_NORMAL)
+		setMouseMode(MOUSE_MODE_NORMAL);
+
+	if (editor.ui.sysReqShown)
+	{
+		     if (keycode == SDLK_RETURN) editor.ui.sysReqEnterPressed = true;
+		else if (keycode == SDLK_ESCAPE) editor.ui.sysReqShown = false;
+
+		return;
+	}
+
+	if (testNibblesCheatCodes(keycode))
+		return; // current key (+ modifiers) matches nibbles cheat code sequence, ignore current key here
+
+	if (keyWasRepeated)
+	{
+		if (editor.NI_Play || !keyb.keyRepeat)
+			return; // do NOT repeat keys in Nibbles or if keyRepeat is disabled
+	}
+
+	keyb.keyRepeat = true;
+
+	// handle certain keys (home/end/left/right etc) when editing text
+	if (editor.editTextFlag)
+	{
+		handleTextEditControl(keycode);
+		return;
+	}
+
+	if (editor.NI_Play)
+	{
+		nibblesKeyAdministrator(scancode);
+		return;
+	}
+
+	if (keycode == SDLK_ESCAPE)
+	{
+		if (quitBox(false) == 1)
+			editor.throwExit = true;
+
+		return;
+	}
+
+	if (scancode == SDL_SCANCODE_KP_PLUS)
+		keyb.numPadPlusPressed = true;
+
+	if (handleEditKeys(keycode, scancode))
+		return;
+
+	if (keyb.keyModifierDown && checkModifiedKeys(keycode))
+		return;
+
+	handleKeys(keycode, scancode); // no pattern editing, do general key handling
+}
+
+static void handleKeys(SDL_Keycode keycode, SDL_Scancode scanKey)
+{
+	bool audioWasntLocked;
+	uint16_t pattLen;
+
+	// if we're holding numpad plus but not pressing bank keys, don't check any other key
+	if (keyb.numPadPlusPressed)
+	{
+		if (scanKey != SDL_SCANCODE_NUMLOCKCLEAR && scanKey != SDL_SCANCODE_KP_DIVIDE &&
+			scanKey != SDL_SCANCODE_KP_MULTIPLY  && scanKey != SDL_SCANCODE_KP_MINUS)
+		{
+			return;
+		}
+	}
+
+	// handle scankeys (actual key on keyboard, using US keyb. layout)
+	switch (scanKey)
+	{
+		case SDL_SCANCODE_KP_ENTER: pbSwapInstrBank(); return;
+
+		case SDL_SCANCODE_NUMLOCKCLEAR:
+		{
+			if (keyb.numPadPlusPressed)
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank13();
+				else
+					pbSetInstrBank5();
+			}
+			else
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank9();
+				else
+					pbSetInstrBank1();
+			}
+		}
+		return;
+
+		case SDL_SCANCODE_KP_DIVIDE:
+		{
+			if (keyb.numPadPlusPressed)
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank14();
+				else
+					pbSetInstrBank6();
+			}
+			else
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank10();
+				else
+					pbSetInstrBank2();
+			}
+		}
+		return;
+
+		case SDL_SCANCODE_KP_MULTIPLY:
+		{
+			if (keyb.numPadPlusPressed)
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank15();
+				else
+					pbSetInstrBank7();
+			}
+			else
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank11();
+				else
+					pbSetInstrBank3();
+			}
+		}
+		return;
+
+		case SDL_SCANCODE_KP_MINUS:
+		{
+			if (keyb.numPadPlusPressed)
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank16();
+				else
+					pbSetInstrBank8();
+			}
+			else
+			{
+				if (editor.instrBankSwapped)
+					pbSetInstrBank12();
+				else
+					pbSetInstrBank4();
+			}
+		}
+		return;
+
+		case SDL_SCANCODE_KP_PERIOD:
+		{
+			if (editor.curInstr > 0)
+			{
+				if (keyb.leftShiftPressed) // this only triggers if num lock is off. Probably an SDL bug...
+				{
+					clearSample();
+				}
+				else
+				{
+					if (editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+						return;
+
+					if (okBox(1, "System request", "Clear instrument?") == 1)
+					{
+						freeInstr(editor.curInstr);
+						updateNewInstrument();
+						setSongModifiedFlag();
+					}
+				}
+			}
+		}
+		return;
+
+		case SDL_SCANCODE_KP_0: setNewInstr(0); return;
+		case SDL_SCANCODE_KP_1: setNewInstr(editor.instrBankOffset+1); return;
+		case SDL_SCANCODE_KP_2: setNewInstr(editor.instrBankOffset+2); return;
+		case SDL_SCANCODE_KP_3: setNewInstr(editor.instrBankOffset+3); return;
+		case SDL_SCANCODE_KP_4: setNewInstr(editor.instrBankOffset+4); return;
+		case SDL_SCANCODE_KP_5: setNewInstr(editor.instrBankOffset+5); return;
+		case SDL_SCANCODE_KP_6: setNewInstr(editor.instrBankOffset+6); return;
+		case SDL_SCANCODE_KP_7: setNewInstr(editor.instrBankOffset+7); return;
+		case SDL_SCANCODE_KP_8: setNewInstr(editor.instrBankOffset+8); return;
+
+		case SDL_SCANCODE_GRAVE: // "key below esc"
+		{
+			if (keyb.leftShiftPressed)
+			{
+				// decrease edit skip
+				if (editor.ID_Add == 0)
+					editor.ID_Add = 16;
+				else
+					editor.ID_Add--;
+			}
+			else
+			{
+				// increase edit skip
+				if (editor.ID_Add == 16)
+					editor.ID_Add = 0;
+				else
+					editor.ID_Add++;
+			}
+
+			if (!editor.ui.nibblesShown     && !editor.ui.configScreenShown &&
+				!editor.ui.aboutScreenShown && !editor.ui.diskOpShown       &&
+				!editor.ui.helpScreenShown  && !editor.ui.extended)
+			{
+				drawIDAdd();
+			}
+		}
+		return;
+
+		default: break;
+	}
+
+	// no normal key (keycode) pressed (XXX: shouldn't happen? Whatever...)
+	if (keycode == SDLK_UNKNOWN)
+		return;
+
+	// handle normal keys (keycodes - affected by keyb. layout in OS)
+	switch (keycode)
+	{
+		default: return;
+
+		case SDLK_DELETE: // non-FT2 addition
+		{
+			if (editor.ui.sampleEditorShown)
+				sampCut();
+		}
+		break;
+
+		// note off
+		case SDLK_LESS:
+		case SDLK_CAPSLOCK:
+		{
+			if (playMode == PLAYMODE_EDIT || playMode == PLAYMODE_RECPATT || playMode == PLAYMODE_RECSONG)
+			{
+				if (!allocatePattern(editor.editPattern))
+					break;
+
+				patt[editor.editPattern][(editor.pattPos * MAX_VOICES) + editor.cursor.ch].ton = 97;
+
+				pattLen = pattLens[editor.editPattern];
+				if (playMode == PLAYMODE_EDIT && pattLen >= 1)
+					setPos(-1, (editor.pattPos + editor.ID_Add) % pattLen);
+
+				editor.ui.updatePatternEditor = true;
+				setSongModifiedFlag();
+			}
+		}
+		break;
+
+		//case SDLK_PRINTSCREEN: togglePatternEditorExtended(); break;
+
+		// EDIT/PLAY KEYS
+
+		// record song
+		case SDLK_RSHIFT: startPlaying(PLAYMODE_RECSONG, 0); break;
+
+		// play song
+#ifdef __APPLE__
+		case SDLK_RGUI: // fall-through for Apple keyboards
+#endif
+		case SDLK_RCTRL:
+			startPlaying(PLAYMODE_SONG, 0);
+		break;
+
+		// play pattern
+		case SDLK_RALT: startPlaying(PLAYMODE_PATT, 0); break;
+
+		case SDLK_SPACE:
+		{
+			if (playMode == PLAYMODE_IDLE)
+			{
+				lockMixerCallback();
+				memset(editor.keyOnTab, 0, sizeof (editor.keyOnTab));
+				playMode = PLAYMODE_EDIT;
+				editor.ui.updatePosSections = true; // for updating mode text
+				unlockMixerCallback();
+			}
+			else
+			{
+				stopPlaying();
+			}
+		}
+		break;
+
+		case SDLK_TAB:
+		{
+			if (keyb.leftShiftPressed)
+				cursorTabLeft();
+			else
+				cursorTabRight();
+		}
+		break;
+
+		case SDLK_LEFT:  cursorLeft();  break;
+		case SDLK_RIGHT: cursorRight(); break;
+
+		// function Keys (F1..F12)
+
+		case SDLK_F1:
+		{
+			     if (keyb.leftShiftPressed) trackTranspAllInsDn();
+			else if (keyb.leftCtrlPressed)  pattTranspAllInsDn();
+			else if (keyb.leftAltPressed)   blockTranspAllInsDn();
+			else                            editor.curOctave = 0;
+		}
+		break;
+
+		case SDLK_F2:
+		{
+			     if (keyb.leftShiftPressed) trackTranspAllInsUp();
+			else if (keyb.leftCtrlPressed)  pattTranspAllInsUp();
+			else if (keyb.leftAltPressed)   blockTranspAllInsUp();
+			else                            editor.curOctave = 1;
+		}
+		break;
+
+		case SDLK_F3:
+		{
+			     if (keyb.leftShiftPressed) cutTrack();
+			else if (keyb.leftCtrlPressed)  cutPattern();
+			else if (keyb.leftAltPressed)   cutBlock();
+			else                            editor.curOctave = 2;
+		}
+		break;
+
+		case SDLK_F4:
+		{
+			     if (keyb.leftShiftPressed) copyTrack();
+			else if (keyb.leftCtrlPressed)  copyPattern();
+			else if (keyb.leftAltPressed)   copyBlock();
+			else                            editor.curOctave = 3;
+		}
+		break;
+
+		case SDLK_F5:
+		{
+			     if (keyb.leftShiftPressed) pasteTrack();
+			else if (keyb.leftCtrlPressed)  pastePattern();
+			else if (keyb.leftAltPressed)   pasteBlock();
+			else                            editor.curOctave = 4;
+		}
+		break;
+
+		case SDLK_F6: editor.curOctave = 5; break;
+
+		case SDLK_F7:
+		{
+			     if (keyb.leftShiftPressed) trackTranspCurInsDn();
+			else if (keyb.leftCtrlPressed)  pattTranspCurInsDn();
+			else if (keyb.leftAltPressed)   blockTranspCurInsDn();
+			else                            editor.curOctave = 6;
+		}
+		break;
+
+		case SDLK_F8:
+		{
+			     if (keyb.leftShiftPressed) trackTranspCurInsUp();
+			else if (keyb.leftCtrlPressed)  pattTranspCurInsUp();
+			else if (keyb.leftAltPressed)   blockTranspCurInsUp();
+			else                            editor.curOctave = 6;
+		}
+		break;
+
+		case SDLK_F9:
+		{
+			lockAudio();
+
+			song.pattPos = editor.ptnJumpPos[0];
+			if (song.pattPos >= song.pattLen)
+				song.pattPos = song.pattLen - 1;
+
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			unlockAudio();
+		}
+		break;
+
+		case SDLK_F10:
+		{
+			lockAudio();
+
+			song.pattPos = editor.ptnJumpPos[1];
+			if (song.pattPos >= song.pattLen)
+				song.pattPos = song.pattLen - 1;
+
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			unlockAudio();
+		}
+		break;
+
+		case SDLK_F11:
+		{
+			lockAudio();
+
+			song.pattPos = editor.ptnJumpPos[2];
+			if (song.pattPos >= song.pattLen)
+				song.pattPos  = song.pattLen - 1;
+
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			unlockAudio();
+		}
+		break;
+
+		case SDLK_F12:
+		{
+			lockAudio();
+
+			song.pattPos = editor.ptnJumpPos[3];
+			if (song.pattPos >= song.pattLen)
+				song.pattPos = song.pattLen - 1;
+
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			unlockAudio();
+		}
+		break;
+
+		// PATTERN EDITOR POSITION KEYS
+
+		case SDLK_INSERT:
+		{
+			if (keyb.leftShiftPressed)
+				insertPatternLine();
+			else
+				insertPatternNote();
+		}
+		break;
+
+		case SDLK_BACKSPACE:
+		{
+			     if (editor.ui.diskOpShown) diskOpGoParent();
+			else if (keyb.leftShiftPressed) deletePatternLine();
+			else                            deletePatternNote();
+		}
+		break;
+
+		case SDLK_UP:
+		{
+			if (keyb.leftShiftPressed)
+			{
+				decCurIns();
+			}
+			else
+			{
+				if (keyb.leftAltPressed)
+					keybPattMarkUp();
+				else
+					rowOneUpWrap();
+			}
+			break;
+		}
+		break;
+
+		case SDLK_DOWN:
+		{
+			if (keyb.leftShiftPressed)
+			{
+				incCurIns();
+			}
+			else
+			{
+				if (keyb.leftAltPressed)
+					keybPattMarkDown();
+				else
+					rowOneDownWrap();
+			}
+		}
+		break;
+
+		case SDLK_PAGEUP:
+		{
+			audioWasntLocked = !audio.locked;
+			if (audioWasntLocked)
+				lockAudio();
+
+			if (song.pattPos >= 16)
+				song.pattPos -= 16;
+			else
+				song.pattPos = 0;
+
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			if (audioWasntLocked)
+				unlockAudio();
+		}
+		break;
+
+		case SDLK_PAGEDOWN:
+		{
+			audioWasntLocked = !audio.locked;
+			if (audioWasntLocked)
+				lockAudio();
+
+			if (song.pattPos < (song.pattLen - 16))
+				song.pattPos += 16;
+			else
+				song.pattPos = song.pattLen - 1;
+
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			if (audioWasntLocked)
+				unlockAudio();
+		}
+		break;
+
+		case SDLK_HOME:
+		{
+			audioWasntLocked = !audio.locked;
+			if (audioWasntLocked)
+				lockAudio();
+
+			song.pattPos = 0;
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			if (audioWasntLocked)
+				unlockAudio();
+		}
+		break;
+
+		case SDLK_END:
+		{
+			audioWasntLocked = !audio.locked;
+			if (audioWasntLocked)
+				lockAudio();
+
+			song.pattPos = pattLens[song.pattNr] - 1;
+			if (!songPlaying)
+			{
+				editor.pattPos = (uint8_t)song.pattPos;
+				editor.ui.updatePatternEditor = true;
+			}
+
+			if (audioWasntLocked)
+				unlockAudio();
+		}
+		break;
+	}
+}
+
+static bool checkModifiedKeys(SDL_Keycode keycode)
+{
+	// normal keys
+	switch (keycode)
+	{
+		default: break;
+
+		case SDLK_KP_ENTER:
+		case SDLK_RETURN:
+			if (keyb.leftAltPressed)
+			{
+				toggleFullScreen();
+
+				// prevent fullscreen toggle from firing twice on certain SDL2 Linux ports
+#ifdef __unix__
+				SDL_Delay(100);
+#endif
+				return true;
+			}
+			break;
+
+		case SDLK_F9:
+			if (keyb.leftCtrlPressed)
+			{
+				startPlaying(PLAYMODE_PATT, editor.ptnJumpPos[0]);
+				return true;
+			}
+			else if (keyb.leftShiftPressed)
+			{
+				editor.ptnJumpPos[0] = (uint8_t)editor.pattPos;
+				return true;
+			}
+			break;
+
+		case SDLK_F10:
+			if (keyb.leftCtrlPressed)
+			{
+				startPlaying(PLAYMODE_PATT, editor.ptnJumpPos[1]);
+				return true;
+			}
+			else if (keyb.leftShiftPressed)
+			{
+				editor.ptnJumpPos[1] = (uint8_t)editor.pattPos;
+				return true;
+			}
+			break;
+
+		case SDLK_F11:
+			if (keyb.leftCtrlPressed)
+			{
+				startPlaying(PLAYMODE_PATT, editor.ptnJumpPos[2]);
+				return true;
+			}
+			else if (keyb.leftShiftPressed)
+			{
+				editor.ptnJumpPos[2] = (uint8_t)editor.pattPos;
+				return true;
+			}
+			break;
+
+		case SDLK_F12:
+			if (keyb.leftCtrlPressed)
+			{
+				startPlaying(PLAYMODE_PATT, editor.ptnJumpPos[3]);
+				return true;
+			}
+			else if (keyb.leftShiftPressed)
+			{
+				editor.ptnJumpPos[3] = (uint8_t)editor.pattPos;
+				return true;
+			}
+			break;
+
+		case SDLK_a:
+			if (keyb.leftCtrlPressed || keyb.leftCommandPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					rangeAll();
+				else
+					showAdvEdit();
+
+				return true;
+			}
+			else if (keyb.leftAltPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					rangeAll();
+				else
+					jumpToChannel(8);
+
+				return true;
+			}
+			break;
+
+		case SDLK_b:
+			if (keyb.leftCtrlPressed)
+			{
+				if (!editor.ui.aboutScreenShown)
+					showAboutScreen();
+
+				return true;
+			}
+			break;
+
+		case SDLK_c:
+			if (keyb.leftAltPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+				{
+					sampCopy();
+				}
+				else
+				{
+					// mark current track (non-FT2 feature)
+					pattMark.markX1 = editor.cursor.ch;
+					pattMark.markX2 = pattMark.markX1;
+					pattMark.markY1 = 0;
+					pattMark.markY2 = pattLens[editor.editPattern];
+
+					editor.ui.updatePatternEditor = true;
+				}
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed || keyb.leftCommandPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					sampCopy();
+				else
+					showConfigScreen();
+
+				return true;
+			}
+			break;
+
+		case SDLK_d:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(10);
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				if (!editor.ui.diskOpShown)
+					showDiskOpScreen();
+
+				return true;
+			}
+			break;
+
+		case SDLK_e:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(2);
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				if (editor.ui.aboutScreenShown)  hideAboutScreen();
+				if (editor.ui.configScreenShown) hideConfigScreen();
+				if (editor.ui.helpScreenShown)   hideHelpScreen();
+				if (editor.ui.nibblesShown)      hideNibblesScreen();
+
+				showSampleEditorExt();
+				return true;
+			}
+			break;
+
+		case SDLK_f:
+#ifdef __APPLE__
+			if (keyb.leftCommandPressed && keyb.leftCtrlPressed)
+			{
+				toggleFullScreen();
+				return true;
+			}
+			else
+#endif
+			if (keyb.leftShiftPressed && keyb.leftCtrlPressed)
+			{
+				resetFPSCounter();
+				video.showFPSCounter ^= 1;
+				if (!video.showFPSCounter)
+				{
+					if (editor.ui.extended) // Mr. Kludge, my only friend
+						exitPatternEditorExtended();
+
+					showTopScreen(false);
+				}
+			}
+			else if (keyb.leftAltPressed)
+			{
+				jumpToChannel(11);
+				return true;
+			}
+			break;
+
+		case SDLK_g:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(12);
+				return true;
+			}
+			break;
+
+		case SDLK_h:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(13);
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				showHelpScreen();
+				return true;
+			}
+			break;
+
+		case SDLK_i:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(7);
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				showInstEditor();
+				return true;
+			}
+			break;
+
+		case SDLK_j:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(14);
+				return true;
+			}
+			break;
+
+		case SDLK_k:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(15);
+				return true;
+			}
+			break;
+
+		case SDLK_m:
+			if (keyb.leftCtrlPressed)
+			{
+				if (editor.ui.aboutScreenShown)  hideAboutScreen();
+				if (editor.ui.configScreenShown) hideConfigScreen();
+				if (editor.ui.helpScreenShown)   hideHelpScreen();
+				if (editor.ui.nibblesShown)      hideNibblesScreen();
+
+				showInstEditorExt();
+
+				return true;
+			}
+			break;
+
+		case SDLK_n:
+			if (keyb.leftCtrlPressed)
+			{
+				showNibblesScreen();
+				return true;
+			}
+			break;
+
+		case SDLK_p:
+			if (keyb.leftCtrlPressed)
+			{
+				if (!editor.ui.patternEditorShown)
+				{
+					if (editor.ui.sampleEditorShown)    hideSampleEditor();
+					if (editor.ui.sampleEditorExtShown) hideSampleEditorExt();
+					if (editor.ui.instEditorShown)      hideInstEditor();
+
+					showPatternEditor();
+				}
+
+				return true;
+			}
+			break;
+
+		case SDLK_q:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(0);
+				return true;
+			}
+			break;
+
+		case SDLK_r:
+			if (keyb.leftAltPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					sampCrop();
+				else
+					jumpToChannel(3);
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				showTrimScreen();
+				return true;
+			}
+			break;
+
+		case SDLK_s:
+			if (keyb.leftAltPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					showRange();
+				else
+					jumpToChannel(9);
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				showSampleEditor();
+				return true;
+			}
+			break;
+
+		case SDLK_t:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(4);
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				showTranspose();
+				return true;
+			}
+			break;
+
+		case SDLK_u:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(6);
+				return true;
+			}
+			break;
+
+		case SDLK_v:
+			if (keyb.leftAltPressed)
+			{
+				     if (editor.ui.sampleEditorShown) sampPaste();
+				else if (!editor.ui.instEditorShown)  scaleFadeVolumeBlock();
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed || keyb.leftCommandPressed)
+			{
+				     if (editor.ui.sampleEditorShown) sampPaste();
+				else if (!editor.ui.instEditorShown)  scaleFadeVolumePattern();
+
+				return true;
+			}
+			else if (keyb.leftShiftPressed)
+			{
+				if (!editor.ui.sampleEditorShown && !editor.ui.instEditorShown)
+				{
+					keyb.ignoreTextEditKey = true; // ignore key from first frame
+					scaleFadeVolumeTrack();
+				}
+
+				return true;
+			}
+			break;
+
+		case SDLK_w:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(1);
+				return true;
+			}
+			break;
+
+		case SDLK_x:
+			if (keyb.leftAltPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					sampCut();
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed || keyb.leftCommandPressed)
+			{
+				if (editor.ui.extended)
+					exitPatternEditorExtended();
+
+				if (editor.ui.sampleEditorShown)    hideSampleEditor();
+				if (editor.ui.sampleEditorExtShown) hideSampleEditorExt();
+				if (editor.ui.instEditorShown)      hideInstEditor();
+				if (editor.ui.instEditorExtShown)   hideInstEditorExt();
+				if (editor.ui.transposeShown)       hideTranspose();
+				if (editor.ui.aboutScreenShown)     hideAboutScreen();
+				if (editor.ui.configScreenShown)    hideConfigScreen();
+				if (editor.ui.helpScreenShown)      hideHelpScreen();
+				if (editor.ui.nibblesShown)         hideNibblesScreen();
+				if (editor.ui.diskOpShown)          hideDiskOpScreen();
+				if (editor.ui.advEditShown)         hideAdvEdit();
+				if (editor.ui.wavRendererShown)     hideWavRenderer();
+				if (editor.ui.trimScreenShown)      hideTrimScreen();
+
+				showTopScreen(false);
+				showBottomScreen();
+
+				showPatternEditor();
+
+				return true;
+			}
+			break;
+
+		case SDLK_y:
+			if (keyb.leftAltPressed)
+			{
+				jumpToChannel(5);
+				return true;
+			}
+			break;
+
+		case SDLK_z:
+			if (keyb.leftAltPressed)
+			{
+				if (editor.ui.sampleEditorShown)
+					zoomOut();
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				togglePatternEditorExtended();
+				return true;
+			}
+			break;
+
+		case SDLK_1:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(1-1);
+				else
+					writeFromMacroSlot(1-1);
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				editor.currConfigScreen = 0;
+				showConfigScreen();
+				checkRadioButton(RB_CONFIG_IO_DEVICES);
+
+				return true;
+			}
+			break;
+
+		case SDLK_2:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(2-1);
+				else
+					writeFromMacroSlot(2-1);
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				editor.currConfigScreen = 1;
+				showConfigScreen();
+				checkRadioButton(RB_CONFIG_LAYOUT);
+
+				return true;
+			}
+			break;
+
+		case SDLK_3:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(3-1);
+				else
+					writeFromMacroSlot(3-1);
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				editor.currConfigScreen = 2;
+				showConfigScreen();
+				checkRadioButton(RB_CONFIG_MISCELLANEOUS);
+
+				return true;
+			}
+			break;
+
+		case SDLK_4:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(4-1);
+				else
+					writeFromMacroSlot(4-1);
+
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				editor.currConfigScreen = 3;
+				showConfigScreen();
+				checkRadioButton(RB_CONFIG_MIDI_INPUT);
+
+				return true;
+			}
+			break;
+
+		case SDLK_5:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(5-1);
+				else
+					writeFromMacroSlot(5-1);
+
+				return true;
+			}
+			break;
+
+		case SDLK_6:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(6-1);
+				else
+					writeFromMacroSlot(6-1);
+
+				return true;
+			}
+			break;
+
+		case SDLK_7:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(7-1);
+				else
+					writeFromMacroSlot(7-1);
+
+				return true;
+			}
+			break;
+
+		case SDLK_8:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(8-1);
+				else
+					writeFromMacroSlot(8-1);
+
+				return true;
+			}
+			break;
+
+		case SDLK_9:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(9-1);
+				else
+					writeFromMacroSlot(9-1);
+
+				return true;
+			}
+			break;
+
+		case SDLK_0:
+			if (keyb.leftAltPressed)
+			{
+				if (keyb.leftShiftPressed)
+					writeToMacroSlot(10-1);
+				else
+					writeFromMacroSlot(10-1);
+
+				return true;
+			}
+			break;
+
+		case SDLK_LEFT:
+			if (keyb.leftShiftPressed)
+			{
+				decSongPos();
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				pbEditPattDown();
+				return true;
+			}
+			else if (keyb.leftAltPressed)
+			{
+				keybPattMarkLeft();
+				return true;
+			}
+			break;
+
+		case SDLK_RIGHT:
+			if (keyb.leftShiftPressed)
+			{
+				incSongPos();
+				return true;
+			}
+			else if (keyb.leftCtrlPressed)
+			{
+				pbEditPattUp();
+				return true;
+			}
+			else if (keyb.leftAltPressed)
+			{
+				keybPattMarkRight();
+				return true;
+			}
+			break;
+	}
+
+	return false;
+}
--- /dev/null
+++ b/src/ft2_keyboard.h
@@ -1,0 +1,18 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <SDL2/SDL.h>
+
+struct keyb_t
+{
+	uint8_t keyRepeat, keyPressed;
+	bool ignoreCurrKeyUp, ignoreTextEditKey, numPadPlusPressed;
+	bool keyModifierDown, commandPressed, leftCommandPressed;
+	bool leftShiftPressed, leftCtrlPressed, ctrlPressed, leftAltPressed;
+} keyb;
+
+int8_t scancodeKeyToNote(SDL_Scancode scancode);
+void keyUpHandler(SDL_Scancode scancode, SDL_Keycode keycode);
+void keyDownHandler(SDL_Scancode scancode, SDL_Keycode keycode, bool keyWasRepeated);
+void readKeyModifiers(void);
--- /dev/null
+++ b/src/ft2_main.c
@@ -1,0 +1,440 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <math.h> // modf()
+#ifdef _WIN32
+#define WIN32_MEAN_AND_LEAN
+#include <windows.h>
+#include <SDL2/SDL_syswm.h>
+#else
+#include <unistd.h> // chdir()
+#endif
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_video.h"
+#include "ft2_audio.h"
+#include "ft2_mouse.h"
+#include "ft2_keyboard.h"
+#include "ft2_config.h"
+#include "ft2_sample_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_scopes.h"
+#include "ft2_about.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_module_loader.h"
+#include "ft2_sampling.h"
+#include "ft2_audioselector.h"
+#include "ft2_help.h"
+#include "ft2_midi.h"
+#include "ft2_events.h"
+
+static SDL_Thread *initMidiThread;
+
+static void setupPerfFreq(void);
+static void initializeVars(void);
+static void cleanUpAndExit(void); // never call this inside the main loop
+#ifdef __APPLE__
+static void osxSetDirToProgramDirFromArgs(char **argv);
+#endif
+
+#ifdef _WIN32
+static void disableWasapi(void);
+#endif
+
+int main(int argc, char *argv[])
+{
+#if defined _WIN32 || defined __APPLE__
+	SDL_version sdlVer;
+#endif
+
+	// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+	_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
+#endif
+
+#if SDL_PATCHLEVEL < 5
+#pragma message("WARNING: The SDL2 dev lib is older than ver 2.0.5. You'll get fullscreen mode issues and no audio input sampling.")
+#pragma message("At least version 2.0.7 is recommended.")
+#endif
+
+	SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
+
+	initializeVars();
+	setupCrashHandler();
+
+	// on Windows and macOS, test what version SDL2.DLL is (against library version used in compilation)
+#if defined _WIN32 || defined __APPLE__
+	SDL_GetVersion(&sdlVer);
+	if (sdlVer.major != SDL_MAJOR_VERSION || sdlVer.minor != SDL_MINOR_VERSION || sdlVer.patch != SDL_PATCHLEVEL)
+	{
+#ifdef _WIN32
+		showErrorMsgBox("SDL2.dll is not the expected version, the program will terminate.\n\n" \
+		                "Loaded dll version: %d.%d.%d\n" \
+		                "Required (compiled with) version: %d.%d.%d\n\n" \
+		                "The needed SDL2.dll is located in the .zip from 16-bits.org/ft2.php\n",
+		                sdlVer.major, sdlVer.minor, sdlVer.patch,
+		                SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
+#else
+		showErrorMsgBox("The loaded SDL2 library is not the expected version, the program will terminate.\n\n" \
+		                "Loaded library version: %d.%d.%d\n" \
+		                "Required (compiled with) version: %d.%d.%d",
+		                sdlVer.major, sdlVer.minor, sdlVer.patch,
+		                SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
+#endif
+		return 0;
+	}
+#endif
+
+#if SDL_PATCHLEVEL >= 4 // SDL 2.0.4 or later
+	SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1"); // windows only - prevent ALT+F4 from exiting (FT2 uses ALT+F4)
+#endif
+
+#ifdef _WIN32
+	if (!cpu.hasSSE)
+	{
+		showErrorMsgBox("Your computer's processor doesn't have the SSE instruction set\n" \
+		                "which is needed for this program to run. Sorry!");
+		return 0;
+	}
+
+	setupWin32Usleep();
+	disableWasapi(); // disable problematic WASAPI SDL2 audio driver on Windows (causes clicks/pops sometimes...)
+#endif
+
+	/* SDL 2.0.9 for Windows has a serious bug where you need to initialize the joystick subsystem
+	** (even if you don't use it) or else weird things happen like random stutters, keyboard (rarely) being
+	** reinitialized in Windows and what not.
+	** Ref.: https://bugzilla.libsdl.org/show_bug.cgi?id=4391 */
+#if defined _WIN32 && SDL_PATCHLEVEL == 9
+	if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) != 0)
+#else
+	if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO) != 0)
+#endif
+	{
+		showErrorMsgBox("Couldn't initialize SDL:\n%s", SDL_GetError());
+		return 1;
+	}
+	SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
+
+	createSDL2Cursors();
+
+	/* Text input is started by default in SDL2, turn it off to remove ~2ms spikes per key press.
+	** We manuallay start it again when a text edit box is activated, and stop it when done.
+	** Ref.: https://bugzilla.libsdl.org/show_bug.cgi?id=4166 */
+	SDL_StopTextInput();
+
+#ifdef __APPLE__
+	osxSetDirToProgramDirFromArgs(argv);
+#endif
+	UNICHAR_GETCWD(editor.binaryPathU, PATH_MAX);
+
+	loadConfigOrSetDefaults();
+	if (!setupWindow() || !setupRenderer())
+	{
+		cleanUpAndExit();
+		return 1;
+	}
+
+#ifdef _WIN32
+	// allow only one instance, and send arguments to it (what song to play)
+	if (handleSingleInstancing(argc, argv))
+	{
+		cleanUpAndExit();
+		return 0; // close current instance, the main instance got a message now
+	}
+#endif
+
+	if (!setupDiskOp())
+	{
+		cleanUpAndExit();
+		return 1;
+	}
+
+	audio.currOutputDevice = getAudioOutputDeviceFromConfig();
+	audio.currInputDevice = getAudioInputDeviceFromConfig();
+
+	setupPerfFreq();
+
+	if (!setupAudio(CONFIG_HIDE_ERRORS))
+	{
+		// one LAST attempt (with default audio device and settings)
+#ifdef __APPLE__
+		config.audioFreq = 44100;
+#else
+		config.audioFreq = 48000;
+#endif
+		// try 16-bit audio at 1024 samples (44.1kHz/48kHz)
+		config.specialFlags &= ~(BITDEPTH_24 + BUFFSIZE_512 + BUFFSIZE_2048);
+		config.specialFlags |=  (BITDEPTH_16 + BUFFSIZE_1024);
+
+		setToDefaultAudioOutputDevice();
+		if (!setupAudio(CONFIG_SHOW_ERRORS))
+		{
+			cleanUpAndExit(); // still no go...
+			return 1;
+		}
+	}
+
+	if (!setupReplayer() || !setupGUI() || !initScopes())
+	{
+		cleanUpAndExit();
+		return 1;
+	}
+
+	pauseAudio();
+	resumeAudio();
+	rescanAudioDevices();
+
+#ifdef _WIN32 // on Windows we show the window at this point
+	SDL_ShowWindow(video.window);
+#endif
+	if (config.windowFlags & START_IN_FULLSCR)
+	{
+		video.fullscreen = true;
+		enterFullscreen();
+	}
+
+	// set up MIDI input (in a thread because it can take quite a while on f.ex. macOS)
+	initMidiThread = SDL_CreateThread(initMidiFunc, NULL, NULL);
+	if (initMidiThread == NULL)
+	{
+		showErrorMsgBox("Couldn't create MIDI initialization thread!");
+		cleanUpAndExit();
+		return 1;
+	}
+	SDL_DetachThread(initMidiThread); // don't wait for this thread, let it clean up when done
+
+	setupWaitVBL();
+	handleModuleLoadFromArg(argc, argv);
+
+	while (editor.programRunning)
+	{
+		beginFPSCounter();
+		handleThreadEvents();
+		readInput();
+		handleEvents();
+		handleRedrawing();
+		flipFrame();
+		endFPSCounter();
+	}
+
+	if (config.cfg_AutoSave)
+		saveConfig(CONFIG_HIDE_ERRORS);
+
+	cleanUpAndExit();
+	return 0;
+}
+
+static void initializeVars(void)
+{
+	int32_t i;
+
+	cpu.hasSSE  = SDL_HasSSE();
+	cpu.hasSSE2 = SDL_HasSSE2();
+
+	// clear common structs
+	memset(&video,    0, sizeof (video));
+	memset(&keyb,     0, sizeof (keyb));
+	memset(&mouse,    0, sizeof (mouse));
+	memset(&editor,   0, sizeof (editor));
+	memset(&pattMark, 0, sizeof (pattMark));
+	memset(&pattSync, 0, sizeof (pattSync));
+	memset(&chSync,   0, sizeof (chSync));
+	memset(&song,     0, sizeof (song));
+
+	for (i = 0; i < MAX_VOICES; i++)
+	{
+		lastChInstr[i].instrNr = 255;
+		lastChInstr[i].sampleNr = 255;
+	}
+
+	// now set data that must be initialized to non-zero values...
+
+	audio.locked = true;
+	audio.rescanAudioDevicesSupported = true;
+
+	strcpy(editor.ui.fullscreenButtonText, "Go fullscreen");
+
+	// set non-zero values
+
+	editor.moduleSaveMode = MOD_SAVE_MODE_XM;
+	editor.sampleSaveMode = SMP_SAVE_MODE_WAV;
+
+	editor.ui.sampleDataOrLoopDrag = -1;
+
+	mouse.lastUsedObjectID = OBJECT_ID_NONE;
+
+	editor.ID_Add = 1;
+	editor.srcInstr = 1;
+	editor.curInstr = 1;
+	editor.curOctave = 4;
+	editor.smpEd_NoteNr = 48 + 1; // middle-C
+
+	editor.ptnJumpPos[0] = 0x00;
+	editor.ptnJumpPos[1] = 0x10;
+	editor.ptnJumpPos[2] = 0x20;
+	editor.ptnJumpPos[3] = 0x30;
+
+	editor.copyMaskEnable = true;
+	memset(editor.copyMask,  1, sizeof (editor.copyMask));
+	memset(editor.pasteMask, 1, sizeof (editor.pasteMask));
+
+	midi.enable = true;
+
+	editor.diskOpReadOnOpen = true;
+	editor.programRunning   = true;
+}
+
+static void cleanUpAndExit(void) // never call this inside the main loop!
+{
+	if (midi.closeMidiOnExit)
+	{
+		closeMidiInDevice();
+		freeMidiIn();
+	}
+
+	closeAudio();
+	closeReplayer();
+	closeVideo();
+	freeSprites();
+	freeDiskOp();
+	clearCopyBuffer();
+	freeAudioDeviceSelectorBuffers();
+	freeMidiInputDeviceList();
+	windUpFTHelp();
+	freeTextBoxes();
+	freeSDL2Cursors();
+
+	if (midi.inputDeviceName != NULL)
+	{
+		free(midi.inputDeviceName);
+		midi.inputDeviceName = NULL;
+	}
+
+	if (editor.audioDevConfigFileLocation != NULL)
+	{
+		free(editor.audioDevConfigFileLocation);
+		editor.audioDevConfigFileLocation = NULL;
+	}
+
+	if (editor.configFileLocation != NULL)
+	{
+		free(editor.configFileLocation);
+		editor.configFileLocation = NULL;
+	}
+
+	if (editor.midiConfigFileLocation != NULL)
+	{
+		free(editor.midiConfigFileLocation);
+		editor.midiConfigFileLocation = NULL;
+	}
+
+#ifdef _WIN32
+	freeWin32Usleep();
+	closeSingleInstancing();
+#endif
+
+	SDL_Quit();
+}
+
+#ifdef __APPLE__
+static void osxSetDirToProgramDirFromArgs(char **argv)
+{
+	char *tmpPath;
+	int32_t i, tmpPathLen;
+
+	/* OS X/macOS: hackish way of setting the current working directory to the place where we double clicked
+	** on the icon (for protracker.ini loading)
+	*/
+
+	// if we launched from the terminal, argv[0][0] would be '.'
+	if (argv[0] != NULL && argv[0][0] == DIR_DELIMITER) // don't do the hack if we launched from the terminal
+	{
+		tmpPath = strdup(argv[0]);
+		if (tmpPath != NULL)
+		{
+			// cut off program filename
+			tmpPathLen = strlen(tmpPath);
+			for (i = tmpPathLen - 1; i >= 0; i--)
+			{
+				if (tmpPath[i] == DIR_DELIMITER)
+				{
+					tmpPath[i] = '\0';
+					break;
+				}
+			}
+
+			chdir(tmpPath); // path to binary
+			chdir("../../../"); // we should now be in the directory where the config can be
+
+			free(tmpPath);
+		}
+	}
+}
+#endif
+
+static void setupPerfFreq(void)
+{
+	uint64_t perfFreq64;
+	double dInt, dFrac;
+
+	perfFreq64 = SDL_GetPerformanceFrequency(); assert(perfFreq64 != 0);
+	editor.dPerfFreq = (double)perfFreq64;
+	editor.dPerfFreqMulMicro = 1000000.0 / editor.dPerfFreq;
+	editor.dPerfFreqMulMs = 1.0 / (editor.dPerfFreq / 1000.0);
+
+	// calculate vblank time for performance counters and split into int/frac
+	dFrac = modf(editor.dPerfFreq / VBLANK_HZ, &dInt);
+
+	// integer part
+	video.vblankTimeLen = (uint32_t)dInt;
+
+	// fractional part scaled to 0..2^32-1
+	dFrac *= UINT32_MAX + 1.0;
+	if (dFrac > (double)UINT32_MAX)
+		dFrac = (double)UINT32_MAX;
+	video.vblankTimeLenFrac = (uint32_t)round(dFrac);
+}
+
+#ifdef _WIN32
+static void disableWasapi(void)
+{
+	const char *audioDriver;
+	int32_t i, numAudioDrivers;
+
+	// disable problematic WASAPI SDL2 audio driver on Windows (causes clicks/pops sometimes...)
+
+	numAudioDrivers = SDL_GetNumAudioDrivers();
+	for (i = 0; i < numAudioDrivers; i++)
+	{
+		audioDriver = SDL_GetAudioDriver(i);
+		if (audioDriver != NULL && strcmp("directsound", audioDriver) == 0)
+		{
+			SDL_setenv("SDL_AUDIODRIVER", "directsound", true);
+			audio.rescanAudioDevicesSupported = false;
+			break;
+		}
+	}
+
+	if (i == numAudioDrivers)
+	{
+		// directsound is not available, try winmm
+		for (i = 0; i < numAudioDrivers; i++)
+		{
+			audioDriver = SDL_GetAudioDriver(i);
+			if (audioDriver != NULL && strcmp("winmm", audioDriver) == 0)
+			{
+				SDL_setenv("SDL_AUDIODRIVER", "winmm", true);
+				audio.rescanAudioDevicesSupported = false;
+				break;
+			}
+		}
+	}
+
+	// maybe we didn't find directsound or winmm, let's use wasapi after all then...
+}
+#endif
--- /dev/null
+++ b/src/ft2_midi.c
@@ -1,0 +1,520 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_edit.h"
+#include "ft2_config.h"
+#include "ft2_gui.h"
+#include "ft2_midi.h"
+#include "ft2_audio.h"
+#include "ft2_mouse.h"
+#include "ft2_pattern_ed.h"
+#include "rtmidi/rtmidi_c.h"
+
+// hide POSIX warnings
+#ifdef _MSC_VER
+#pragma warning(disable: 4996)
+#endif
+
+// MIDI INPUT ONLY!
+
+static volatile bool midiDeviceOpened;
+static bool recMIDIValidChn = true;
+static RtMidiPtr midiDev;
+
+static inline void midiInSetChannel(uint8_t status)
+{
+	recMIDIValidChn = (config.recMIDIAllChn || (status & 0x0F) == config.recMIDIChn -1);
+}
+
+static inline void midiInKeyAction(int8_t m, uint8_t mv)
+{
+	int16_t vol;
+
+	vol = (mv * 64 * config.recMIDIVolSens) / (127 * 100);
+	if (vol > 64)
+		vol = 64;
+
+	// FT2 bugfix: If velocity>0, and sensitivity made vol=0, set vol to 1 (prevent key off)
+	if (mv > 0 && vol == 0)
+		vol = 1;
+
+	if (mv > 0 && !config.recMIDIVelocity)
+		vol = -1; // don't record volume (velocity)
+
+	m -= 11;
+	if (config.recMIDITransp)
+		m += (int8_t)config.recMIDITranspVal;
+
+	if ((mv == 0 || vol != 0) && m > 0 && m < 96 && recMIDIValidChn)
+		recordNote(m, (int8_t)vol);
+}
+
+static inline void midiInControlChange(uint8_t data1, uint8_t data2)
+{
+	uint8_t vibDepth;
+
+	if (data1 != 1) // 1 = modulation wheel
+		return;
+
+	midi.currMIDIVibDepth = data2 << 6;
+
+	if (recMIDIValidChn) // real FT2 forgot to check this here..
+	{
+		for (uint8_t i = 0; i < song.antChn; i++)
+		{
+			if (stm[i].midiVibDepth != 0 || editor.keyOnTab[i] != 0)
+				stm[i].midiVibDepth = midi.currMIDIVibDepth;
+		}
+	}
+
+	vibDepth = (midi.currMIDIVibDepth >> 9) & 0x0F;
+	if (vibDepth > 0 && recMIDIValidChn)
+		recordMIDIEffect(0x04, 0xA0 | vibDepth);
+}
+
+static inline void midiInPitchBendChange(uint8_t data1, uint8_t data2)
+{
+	int16_t pitch;
+
+	pitch = (int16_t)((data2 << 7) | data1) - 8192; // -8192..8191
+	pitch >>= 6; // -128..127
+
+	midi.currMIDIPitch = pitch;
+	if (recMIDIValidChn)
+	{
+		for (uint8_t i = 0; i < song.antChn; i++)
+		{
+			if (stm[i].midiPitch != 0 || editor.keyOnTab[i] != 0)
+				stm[i].midiPitch = midi.currMIDIPitch;
+		}
+	}
+}
+
+static void midiInCallback(double dTimeStamp, const unsigned char *message, size_t messageSize, void *userData)
+{
+	uint8_t byte[3];
+
+	(void)dTimeStamp;
+	(void)userData;
+
+	if (!midi.enable || messageSize < 2)
+		return;
+
+	byte[0] = message[0];
+	if (byte[0] > 127 && byte[0] < 240)
+	{
+		byte[1] = message[1] & 0x7F;
+
+		if (messageSize >= 3)
+			byte[2] = message[2] & 0x7F;
+		else
+			byte[2] = 0;
+
+		midiInSetChannel(byte[0]);
+
+		     if (byte[0] >= 128 && byte[0] <= 128+15)       midiInKeyAction(byte[1], 0);
+		else if (byte[0] >= 144 && byte[0] <= 144+15)       midiInKeyAction(byte[1], byte[2]);
+		else if (byte[0] >= 176 && byte[0] <= 176+15)   midiInControlChange(byte[1], byte[2]);
+		else if (byte[0] >= 224 && byte[0] <= 224+15) midiInPitchBendChange(byte[1], byte[2]);
+	}
+}
+
+static uint32_t getNumMidiInDevices(void)
+{
+	if (midiDev == NULL)
+		return 0;
+
+	return rtmidi_get_port_count(midiDev);
+}
+
+static char *getMidiInDeviceName(uint32_t deviceID)
+{
+	char *devStr;
+
+	if (midiDev == NULL)
+		return NULL;
+
+	devStr = (char *)rtmidi_get_port_name(midiDev, deviceID);
+	if (!midiDev->ok)
+		return NULL;
+
+	return devStr;
+}
+
+void closeMidiInDevice(void)
+{
+	while (!midi.initThreadDone);
+
+	if (midiDeviceOpened)
+	{
+		if (midiDev != NULL)
+		{
+			rtmidi_in_cancel_callback(midiDev);
+			rtmidi_close_port(midiDev);
+		}
+
+		midiDeviceOpened = false;
+	}
+}
+
+void freeMidiIn(void)
+{
+	while (!midi.initThreadDone);
+
+	if (midiDev != NULL)
+	{
+		rtmidi_in_free(midiDev);
+		midiDev = NULL;
+	}
+}
+
+bool initMidiIn(void)
+{
+	if (midiDev != NULL)
+		return false; // already initialized
+
+	midiDev = rtmidi_in_create_default();
+	if (!midiDev->ok)
+	{
+		midiDev = NULL;
+		return false;
+	}
+
+	midiDeviceOpened = false;
+	return true;
+}
+
+bool openMidiInDevice(uint32_t deviceID)
+{
+	if (midiDev == NULL)
+		return false;
+
+	if (getNumMidiInDevices() == 0)
+		return false;
+
+	rtmidi_open_port(midiDev, deviceID, "FT2 Clone MIDI Port");
+	if (!midiDev->ok)
+		return false;
+
+	rtmidi_in_set_callback(midiDev, midiInCallback, NULL);
+	if (!midiDev->ok)
+	{
+		rtmidi_close_port(midiDev);
+		return false;
+	}
+
+	rtmidi_in_ignore_types(midiDev, true, true, true);
+
+	midiDeviceOpened = true;
+	return true;
+}
+
+void recordMIDIEffect(uint8_t effTyp, uint8_t effData)
+{
+	int16_t nr;
+	tonTyp *note;
+
+	// only handle this in record mode
+	if (!midi.enable || (playMode != PLAYMODE_RECSONG && playMode != PLAYMODE_RECPATT))
+		return;
+
+	nr = editor.editPattern;
+	if (config.multiRec)
+	{
+		for (uint16_t i = 0; i < song.antChn; i++)
+		{
+			if (config.multiRecChn[i] && editor.chnMode[i])
+			{
+				if (!allocatePattern(nr))
+					return;
+
+				note = &patt[nr][(editor.pattPos * MAX_VOICES) + i];
+				if (note->effTyp == 0)
+				{
+					note->effTyp = effTyp;
+					note->eff    = effData;
+
+					setSongModifiedFlag();
+				}
+			}
+		}
+	}
+	else
+	{
+		if (!allocatePattern(nr))
+			return;
+
+		note = &patt[nr][(editor.pattPos * MAX_VOICES) + editor.cursor.ch];
+		if (note->effTyp != effTyp || note->eff != effData)
+			setSongModifiedFlag();
+
+		note->effTyp = effTyp;
+		note->eff    = effData;
+	}
+}
+
+bool saveMidiInputDeviceToConfig(void)
+{
+	char *midiInStr;
+	uint32_t numDevices;
+	FILE *f;
+
+	if (!midi.initThreadDone || midiDev == NULL || !midiDeviceOpened)
+		return false;
+
+	numDevices = getNumMidiInDevices();
+	if (numDevices == 0)
+		return false;
+
+	midiInStr = getMidiInDeviceName(midi.inputDevice);
+	if (midiInStr == NULL)
+		return false;
+
+	f = UNICHAR_FOPEN(editor.midiConfigFileLocation, "w");
+	if (f == NULL)
+	{
+		free(midiInStr);
+		return false;
+	}
+
+	fputs(midiInStr, f);
+	free(midiInStr);
+
+	fclose(f);
+	return true;
+}
+
+bool setMidiInputDeviceFromConfig(void)
+{
+#define MAX_DEV_STR_LEN 1024
+
+	char *midiInStr, *devString;
+	uint32_t i, numDevices;
+	FILE *f;
+
+	if (midi.inputDeviceName != NULL)
+		free(midi.inputDeviceName);
+
+	numDevices = getNumMidiInDevices();
+	if (numDevices == 0)
+		goto setDefMidiInputDev;
+
+	f = UNICHAR_FOPEN(editor.midiConfigFileLocation, "r");
+	if (f == NULL)
+		goto setDefMidiInputDev;
+
+	devString = (char *)calloc(MAX_DEV_STR_LEN + 4, sizeof (char));
+	if (devString == NULL)
+	{
+		fclose(f);
+		goto setDefMidiInputDev;
+	}
+
+	if (fgets(devString, MAX_DEV_STR_LEN, f) == NULL)
+	{
+		fclose(f);
+		free(devString);
+		goto setDefMidiInputDev;
+	}
+
+	fclose(f);
+
+	// scan for device in list
+	midiInStr = NULL;
+	for (i = 0; i < numDevices; i++)
+	{
+		midiInStr = getMidiInDeviceName(i);
+		if (midiInStr == NULL)
+			continue;
+
+		if (!_stricmp(devString, midiInStr))
+			break; // device matched
+
+		free(midiInStr);
+		midiInStr = NULL;
+	}
+
+	free(devString);
+
+	// device not found in list, set default
+	if (i == numDevices)
+		goto setDefMidiInputDev;
+
+	midi.inputDevice = i;
+	midi.inputDeviceName = midiInStr;
+	midi.numInputDevices = numDevices;
+
+	return true;
+
+	// couldn't load device, set default
+setDefMidiInputDev:
+	midi.inputDevice = 0;
+	midi.inputDeviceName = strdup("RtMidi");
+	midi.numInputDevices = numDevices;
+
+	return false;
+}
+
+void freeMidiInputDeviceList(void)
+{
+	for (int32_t i = 0; i < MAX_MIDI_DEVICES; i++)
+	{
+		if (midi.inputDeviceNames[i] != NULL)
+		{
+			free(midi.inputDeviceNames[i]);
+			midi.inputDeviceNames[i] = NULL;
+		}
+	}
+
+	midi.numInputDevices = 0;
+}
+
+void rescanMidiInputDevices(void)
+{
+	char *deviceName;
+
+	freeMidiInputDeviceList();
+
+	midi.numInputDevices = getNumMidiInDevices();
+	if (midi.numInputDevices > MAX_MIDI_DEVICES)
+		midi.numInputDevices = MAX_MIDI_DEVICES;
+
+	for (int32_t i = 0; i < midi.numInputDevices; i++)
+	{
+		deviceName = getMidiInDeviceName(i);
+		if (deviceName == NULL)
+		{
+			if (midi.numInputDevices > 0)
+				midi.numInputDevices--; // hide device
+
+			continue;
+		}
+
+		midi.inputDeviceNames[i] = deviceName;
+	}
+
+	setScrollBarEnd(SB_MIDI_INPUT_SCROLL, midi.numInputDevices);
+	setScrollBarPos(SB_MIDI_INPUT_SCROLL, 0, false);
+}
+
+void drawMidiInputList(void)
+{
+	char *tmpString;
+	uint16_t y;
+	int32_t deviceEntry;
+
+	clearRect(114, 4, 365, 165);
+
+	if (!midi.initThreadDone || midiDev == NULL || midi.numInputDevices == 0)
+	{
+		textOut(114, 4 + (0 * 11), PAL_FORGRND, "No MIDI input devices found!");
+		textOut(114, 4 + (1 * 11), PAL_FORGRND, "Either wait a few seconds for MIDI to initialize, or restart the");
+		textOut(114, 4 + (2 * 11), PAL_FORGRND, "tracker if you recently plugged in a MIDI device.");
+		return;
+	}
+
+	for (uint16_t i = 0; i < 15; i++)
+	{
+		deviceEntry = getScrollBarPos(SB_MIDI_INPUT_SCROLL) + i;
+		if (deviceEntry < midi.numInputDevices)
+		{
+			if (midi.inputDeviceNames[deviceEntry] == NULL)
+				continue;
+
+			y = 4 + (i * 11);
+
+			if (midi.inputDeviceName != NULL)
+			{
+				if (_stricmp(midi.inputDeviceName, midi.inputDeviceNames[deviceEntry]) == 0)
+					fillRect(114, y, 365, 10, PAL_BOXSLCT); // selection background color
+			}
+
+			tmpString = utf8ToCp437(midi.inputDeviceNames[deviceEntry], true);
+			if (tmpString != NULL)
+			{
+				textOutClipX(114, y, PAL_FORGRND, tmpString, 479);
+				free(tmpString);
+			}
+		}
+	}
+}
+
+void scrollMidiInputDevListUp(void)
+{
+	scrollBarScrollUp(SB_MIDI_INPUT_SCROLL, 1);
+}
+
+void scrollMidiInputDevListDown(void)
+{
+	scrollBarScrollDown(SB_MIDI_INPUT_SCROLL, 1);
+}
+
+void sbMidiInputSetPos(uint32_t pos)
+{
+	(void)pos;
+
+	if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_MIDI_INPUT)
+		drawMidiInputList();
+}
+
+bool testMidiInputDeviceListMouseDown(void)
+{
+	int32_t mx, my, deviceNum;
+
+	if (!editor.ui.configScreenShown || editor.currConfigScreen != CONFIG_SCREEN_MIDI_INPUT)
+		return false; // we didn't click the area
+
+	if (!midi.initThreadDone)
+		return true;
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	if (my < 4 || my > 166 || mx < 114 || mx > 479)
+		return false; // we didn't click the area
+
+	deviceNum = (int32_t)scrollBars[SB_MIDI_INPUT_SCROLL].pos + ((my - 4) / 11);
+	if (midi.numInputDevices <= 0 || deviceNum >= midi.numInputDevices)
+		return true;
+
+	if (midi.inputDeviceName != NULL)
+	{
+		if (!_stricmp(midi.inputDeviceName, midi.inputDeviceNames[deviceNum]))
+			return true; // we clicked the currently selected device, do nothing
+
+		free(midi.inputDeviceName);
+	}
+
+	midi.inputDeviceName = strdup(midi.inputDeviceNames[deviceNum]);
+	midi.inputDevice = deviceNum;
+
+	closeMidiInDevice();
+	freeMidiIn();
+	initMidiIn();
+	openMidiInDevice(midi.inputDevice);
+
+	drawMidiInputList();
+	return true;
+}
+
+int32_t SDLCALL initMidiFunc(void *ptr)
+{
+	(void)ptr;
+
+	midi.closeMidiOnExit = true;
+
+	midi.initThreadDone = false;
+	initMidiIn();
+	setMidiInputDeviceFromConfig();
+	openMidiInDevice(midi.inputDevice);
+	midi.initThreadDone = true;
+
+	midi.rescanDevicesFlag = true;
+
+	return true;
+}
--- /dev/null
+++ b/src/ft2_midi.h
@@ -1,0 +1,34 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <SDL2/SDL.h>
+
+#define MIDI_INPUT_SELECTOR_BOX_WIDTH 247
+#define MAX_MIDI_DEVICES 99
+
+struct midi_t
+{
+	char *inputDeviceName, *inputDeviceNames[MAX_MIDI_DEVICES];
+	volatile bool closeMidiOnExit, initThreadDone;
+	uint32_t inputDevice;
+	bool enable, rescanDevicesFlag;
+	int16_t currMIDIVibDepth, currMIDIPitch;
+	int32_t numInputDevices;
+} midi;
+
+void closeMidiInDevice(void);
+void freeMidiIn(void);
+bool initMidiIn(void);
+bool openMidiInDevice(uint32_t deviceID);
+void recordMIDIEffect(uint8_t effTyp, uint8_t effData);
+bool saveMidiInputDeviceToConfig(void);
+bool setMidiInputDeviceFromConfig(void);
+void freeMidiInputDeviceList(void);
+void rescanMidiInputDevices(void);
+void drawMidiInputList(void);
+void scrollMidiInputDevListUp(void);
+void scrollMidiInputDevListDown(void);
+void sbMidiInputSetPos(uint32_t pos);
+bool testMidiInputDeviceListMouseDown(void);
+int32_t SDLCALL initMidiFunc(void *ptr);
--- /dev/null
+++ b/src/ft2_mix.c
@@ -1,0 +1,1799 @@
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_mix.h"
+#include "ft2_mix_macros.h"
+
+/*
+   --------------------- fixed-point audio channel mixer ---------------------
+
+   This file has separate routines for EVERY possible sampling variation:
+   Interpolation, volume ramping, 8-bit, 16-bit, no loop, loop, bidi loop.
+   24 mixing routines in total.
+
+   Every voice has a function pointer set to the according mixing routine on
+   sample trigger (from replayer, but set in audio thread), using a function
+   pointer look-up table.
+   All voices are always cleared (thread safe) when changing any of the above
+   states from the GUI, so no problem there with deprecated cached function
+   pointers.
+
+   Mixing macros can be found in ft2_mix_macros.h.
+
+   Yes, this is a HUGE mess, and I hope you don't need to modify it.
+   If it's not broken, don't try to fix it!
+*/
+
+/* ----------------------------------------------------------------------- */
+/*                          8-BIT MIXING ROUTINES                          */
+/* ----------------------------------------------------------------------- */
+
+static void mix8bNoLoop(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO
+				INC_POS
+				RENDER_8BIT_SMP_MONO
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP
+				INC_POS
+				RENDER_8BIT_SMP
+				INC_POS
+			}
+		}
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bLoop(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO
+				INC_POS
+				RENDER_8BIT_SMP_MONO
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP
+				INC_POS
+				RENDER_8BIT_SMP
+				INC_POS
+			}
+		}
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bBidiLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int8_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	SET_BASE8_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO
+				INC_POS_BIDI
+				RENDER_8BIT_SMP_MONO
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP
+				INC_POS_BIDI
+				RENDER_8BIT_SMP
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+
+		WRAP_BIDI_LOOP
+	}
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bNoLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_INTRP
+				INC_POS
+				RENDER_8BIT_SMP_INTRP
+				INC_POS
+			}
+		}
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_INTRP
+				INC_POS
+				RENDER_8BIT_SMP_INTRP
+				INC_POS
+			}
+		}
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bBidiLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int8_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	SET_BASE8_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS_BIDI
+				RENDER_8BIT_SMP_MONO_INTRP
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_INTRP
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_INTRP
+				INC_POS_BIDI
+				RENDER_8BIT_SMP_INTRP
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+
+		WRAP_BIDI_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bRampNoLoop(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bRampLoop(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bRampBidiLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int8_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	SET_BASE8_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_8BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_8BIT_SMP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+		SET_VOL_BACK
+
+		WRAP_BIDI_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bRampNoLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bRampLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	const int8_t *CDA_LinearAdr;
+	bool mixInMono;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE8
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix8bRampBidiLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int8_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int8_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	SET_BASE8_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_8BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_8BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+		SET_VOL_BACK
+
+		WRAP_BIDI_LOOP
+	}
+	SET_BACK_MIXER_POS
+}
+
+
+
+/* ----------------------------------------------------------------------- */
+/*                          16-BIT MIXING ROUTINES                         */
+/* ----------------------------------------------------------------------- */
+
+static void mix16bNoLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO
+				INC_POS
+				RENDER_16BIT_SMP_MONO
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP
+				INC_POS
+				RENDER_16BIT_SMP
+				INC_POS
+			}
+		}
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO
+				INC_POS
+				RENDER_16BIT_SMP_MONO
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP
+				INC_POS
+				RENDER_16BIT_SMP
+				INC_POS
+			}
+		}
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bBidiLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	SET_BASE16_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO
+				INC_POS_BIDI
+				RENDER_16BIT_SMP_MONO
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP
+				INC_POS_BIDI
+				RENDER_16BIT_SMP
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+
+		WRAP_BIDI_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bNoLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_INTRP
+				INC_POS
+				RENDER_16BIT_SMP_INTRP
+				INC_POS
+			}
+		}
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	GET_VOL
+
+	if ((CDA_LVol| CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_INTRP
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_INTRP
+				INC_POS
+				RENDER_16BIT_SMP_INTRP
+				INC_POS
+			}
+		}
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bBidiLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	GET_VOL
+
+	if ((CDA_LVol | CDA_RVol) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS
+	SET_BASE16_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		CDA_BytesLeft -= samplesToMix;
+
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS_BIDI
+				RENDER_16BIT_SMP_MONO_INTRP
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_INTRP
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_INTRP
+				INC_POS_BIDI
+				RENDER_16BIT_SMP_INTRP
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+
+		WRAP_BIDI_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bRampNoLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bRampLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bRampBidiLoop(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	SET_BASE16_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_16BIT_SMP_MONO
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_16BIT_SMP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+		SET_VOL_BACK
+
+		WRAP_BIDI_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bRampNoLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int16_t *smpPtr;
+	register int32_t  CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_NO_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		HANDLE_SAMPLE_END
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bRampLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol;
+	register uint32_t pos, delta;
+	uint32_t i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	GET_DELTA
+	SET_BASE16
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS
+			}
+		}
+		SET_VOL_BACK
+
+		WRAP_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+static void mix16bRampBidiLoopIntrp(voice_t *v, uint32_t numSamples)
+{
+	bool mixInMono;
+	const int16_t *CDA_LinearAdr, *CDA_LinAdrRev;
+	int32_t realPos, sample, sample2, *audioMixL, *audioMixR, CDA_BytesLeft, CDA_LVolIP, CDA_RVolIP;
+	register const int16_t *smpPtr;
+	register int32_t CDA_LVol, CDA_RVol, CDA_IPValL, CDA_IPValH;
+	register uint32_t pos;
+	uint32_t delta, i, samplesToMix;
+#ifndef LERPMIX
+	int32_t sample3;
+#endif
+
+	if ((v->SLVol1 | v->SRVol1 | v->SLVol2 | v->SRVol2) == 0)
+	{
+		VOL0_OPTIMIZATION_BIDI_LOOP
+		return;
+	}
+
+	GET_MIXER_VARS_RAMP
+	SET_BASE16_BIDI
+
+	CDA_BytesLeft = numSamples;
+	while (CDA_BytesLeft > 0)
+	{
+		LIMIT_MIX_NUM
+		LIMIT_MIX_NUM_RAMP
+		CDA_BytesLeft -= samplesToMix;
+
+		GET_VOL
+		START_BIDI
+		if (mixInMono)
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_16BIT_SMP_MONO_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		else
+		{
+			if (samplesToMix & 1)
+			{
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+			samplesToMix >>= 1;
+			for (i = 0; i < samplesToMix; i++)
+			{
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+				RENDER_16BIT_SMP_INTRP
+				VOLUME_RAMPING
+				INC_POS_BIDI
+			}
+		}
+		END_BIDI
+		SET_VOL_BACK
+
+		WRAP_BIDI_LOOP
+	}
+
+	SET_BACK_MIXER_POS
+}
+
+// -----------------------------------------------------------------------
+
+const mixRoutine mixRoutineTable[24] =
+{
+	(mixRoutine)mix8bNoLoop,
+	(mixRoutine)mix8bLoop,
+	(mixRoutine)mix8bBidiLoop,
+	(mixRoutine)mix8bNoLoopIntrp,
+	(mixRoutine)mix8bLoopIntrp,
+	(mixRoutine)mix8bBidiLoopIntrp,
+	(mixRoutine)mix8bRampNoLoop,
+	(mixRoutine)mix8bRampLoop,
+	(mixRoutine)mix8bRampBidiLoop,
+	(mixRoutine)mix8bRampNoLoopIntrp,
+	(mixRoutine)mix8bRampLoopIntrp,
+	(mixRoutine)mix8bRampBidiLoopIntrp,
+	(mixRoutine)mix16bNoLoop,
+	(mixRoutine)mix16bLoop,
+	(mixRoutine)mix16bBidiLoop,
+	(mixRoutine)mix16bNoLoopIntrp,
+	(mixRoutine)mix16bLoopIntrp,
+	(mixRoutine)mix16bBidiLoopIntrp,
+	(mixRoutine)mix16bRampNoLoop,
+	(mixRoutine)mix16bRampLoop,
+	(mixRoutine)mix16bRampBidiLoop,
+	(mixRoutine)mix16bRampNoLoopIntrp,
+	(mixRoutine)mix16bRampLoopIntrp,
+	(mixRoutine)mix16bRampBidiLoopIntrp
+};
--- /dev/null
+++ b/src/ft2_mix.h
@@ -1,0 +1,8 @@
+#pragma once
+
+#include <stdint.h>
+#include "ft2_audio.h"
+
+typedef void (*mixRoutine)(void *, int32_t);
+
+extern const mixRoutine mixRoutineTable[24]; // ft2_mix.c
--- /dev/null
+++ b/src/ft2_mix_macros.h
@@ -1,0 +1,366 @@
+#pragma once
+
+#include "ft2_header.h"
+
+/* ----------------------------------------------------------------------- */
+/*                          GENERAL MIXER MACROS                           */
+/* ----------------------------------------------------------------------- */
+
+#define GET_VOL \
+	CDA_LVol = v->SLVol2; \
+	CDA_RVol = v->SRVol2; \
+
+#define SET_VOL_BACK \
+	v->SLVol2 = CDA_LVol; \
+	v->SRVol2 = CDA_RVol; \
+
+#define GET_DELTA delta = v->SFrq;
+
+#define GET_MIXER_VARS \
+	audioMixL = audio.mixBufferL; \
+	audioMixR = audio.mixBufferR; \
+	mixInMono = (CDA_LVol == CDA_RVol); \
+	realPos = v->SPos; \
+	pos = v->SPosDec; \
+
+#define GET_MIXER_VARS_RAMP \
+	audioMixL = audio.mixBufferL; \
+	audioMixR = audio.mixBufferR; \
+	CDA_LVolIP = v->SLVolIP; \
+	CDA_RVolIP = v->SRVolIP; \
+	mixInMono = (v->SLVol2 == v->SRVol2) && (CDA_LVolIP == CDA_RVolIP); \
+	realPos = v->SPos; \
+	pos = v->SPosDec; \
+
+#define SET_BASE8 \
+	CDA_LinearAdr = v->SBase8; \
+	smpPtr = CDA_LinearAdr + realPos; \
+
+#define SET_BASE16 \
+	CDA_LinearAdr = v->SBase16; \
+	smpPtr = CDA_LinearAdr + realPos; \
+
+#define SET_BASE8_BIDI \
+	CDA_LinearAdr = v->SBase8; \
+	CDA_LinAdrRev = v->SRevBase8; \
+
+#define SET_BASE16_BIDI \
+	CDA_LinearAdr = v->SBase16; \
+	CDA_LinAdrRev = v->SRevBase16; \
+
+#define INC_POS \
+	pos += delta; \
+	smpPtr += pos >> 16; \
+	pos &= 0xFFFF; \
+
+#define INC_POS_BIDI \
+	pos += CDA_IPValL; \
+	smpPtr += pos >> 16; \
+	smpPtr += CDA_IPValH; \
+	pos &= 0xFFFF; \
+
+#define SET_BACK_MIXER_POS \
+	v->SPosDec = pos; \
+	v->SPos = realPos; \
+
+/* ----------------------------------------------------------------------- */
+/*                          SAMPLE RENDERING MACROS                        */
+/* ----------------------------------------------------------------------- */
+
+#define VOLUME_RAMPING \
+	CDA_LVol += CDA_LVolIP; \
+	CDA_RVol += CDA_RVolIP; \
+
+// all the 64-bit MULs here convert to fast logic on most 32-bit CPUs
+
+#define RENDER_8BIT_SMP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = *smpPtr << 20; \
+	*audioMixL++ += ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixR++ += ((int64_t)sample * CDA_RVol) >> 32; \
+
+#define RENDER_8BIT_SMP_MONO \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = *smpPtr << 20; \
+	sample = ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixL++ += sample; \
+	*audioMixR++ += sample; \
+
+#define RENDER_16BIT_SMP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = *smpPtr << 12; \
+	*audioMixL++ += ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixR++ += ((int64_t)sample * CDA_RVol) >> 32; \
+
+#define RENDER_16BIT_SMP_MONO \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = *smpPtr << 12; \
+	sample = ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixL++ += sample; \
+	*audioMixR++ += sample; \
+
+#ifndef LERPMIX
+
+// 3-tap quadratic interpolation (default - slower, but better quality)
+
+// in: int32_t s1,s2,s3 = -128..127 | f = 0..65535 (frac) | out: s1 (will exceed 16-bits because of overshoot)
+#define INTERPOLATE8(s1, s2, s3, f) \
+{ \
+	int32_t s4, frac = f >> 1; \
+	\
+	s2 <<= 8; \
+	s4 = ((s1 + s3) << (8 - 1)) - s2; \
+	s4 = ((s4 * frac) >> 16) + s2; \
+	s3 = (s1 + s3) << (8 - 1); \
+	s1 <<= 8; \
+	s3 = (s1 + s3) >> 1; \
+	s1 += ((s4 - s3) * frac) >> 14; \
+} \
+
+// in: int32_t s1,s2,s3 = -32768..32767 | f = 0..65535 (frac) | out: s1 (will exceed 16-bits because of overshoot)
+#define INTERPOLATE16(s1, s2, s3, f) \
+{ \
+	int32_t s4, frac = f >> 1; \
+	\
+	s4 = ((s1 + s3) >> 1) - s2; \
+	s4 = ((s4 * frac) >> 16) + s2; \
+	s3 = (s1 + s3) >> 1; \
+	s3 = (s1 + s3) >> 1; \
+	s1 += ((s4 - s3) * frac) >> 14; \
+} \
+
+#define RENDER_8BIT_SMP_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	sample3 = smpPtr[2]; \
+	INTERPOLATE8(sample, sample2, sample3, pos) \
+	sample <<= 12; \
+	*audioMixL++ += ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixR++ += ((int64_t)sample * CDA_RVol) >> 32; \
+
+#define RENDER_8BIT_SMP_MONO_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	sample3 = smpPtr[2]; \
+	INTERPOLATE8(sample, sample2, sample3, pos) \
+	sample <<= 12; \
+	sample = ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixL++ += sample; \
+	*audioMixR++ += sample; \
+
+#define RENDER_16BIT_SMP_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	sample3 = smpPtr[2]; \
+	INTERPOLATE16(sample, sample2, sample3, pos) \
+	sample <<= 12; \
+	*audioMixL++ += ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixR++ += ((int64_t)sample * CDA_RVol) >> 32; \
+
+#define RENDER_16BIT_SMP_MONO_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	sample3 = smpPtr[2]; \
+	INTERPOLATE16(sample, sample2, sample3, pos) \
+	sample <<= 12; \
+	sample = ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixL++ += sample; \
+	*audioMixR++ += sample; \
+
+#else
+
+// 2-tap linear interpolation (like FT2 - faster, but bad quality)
+
+// in: int32_t s1,s2 = -128..127 | f = 0..65535 (frac) | out: s1 = -32768..32767
+#define INTERPOLATE8(s1, s2, f) \
+	s2 -= s1; \
+	s2 = (s2 * (int32_t)f) >> 8; \
+	s1 <<= 8; \
+	s1 += s2; \
+
+// in: int32_t s1,s2 = -32768..32767 | f = 0..65535 (frac) | out: s1 = -32768..32767
+#define INTERPOLATE16(s1, s2, f) \
+	s2 = (s2 - s1) >> 1; \
+	s2 = (s2 * (int32_t)f) >> 15; \
+	s1 += s2; \
+
+#define RENDER_8BIT_SMP_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	INTERPOLATE8(sample, sample2, pos) \
+	sample <<= 12; \
+	*audioMixL++ += ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixR++ += ((int64_t)sample * CDA_RVol) >> 32; \
+
+#define RENDER_8BIT_SMP_MONO_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	INTERPOLATE8(sample, sample2, pos) \
+	sample <<= 12; \
+	sample = ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixL++ += sample; \
+	*audioMixR++ += sample; \
+
+#define RENDER_16BIT_SMP_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	INTERPOLATE16(sample, sample2, pos) \
+	sample <<= 12; \
+	*audioMixL++ += ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixR++ += ((int64_t)sample * CDA_RVol) >> 32; \
+
+#define RENDER_16BIT_SMP_MONO_INTRP \
+	assert(smpPtr >= CDA_LinearAdr && smpPtr < CDA_LinearAdr+v->SLen); \
+	sample = smpPtr[0]; \
+	sample2 = smpPtr[1]; \
+	INTERPOLATE16(sample, sample2, pos) \
+	sample <<= 12; \
+	sample = ((int64_t)sample * CDA_LVol) >> 32; \
+	*audioMixL++ += sample; \
+	*audioMixR++ += sample; \
+
+#endif
+
+/* ----------------------------------------------------------------------- */
+/*                      SAMPLES-TO-MIX LIMITING MACROS                     */
+/* ----------------------------------------------------------------------- */
+
+#define LIMIT_MIX_NUM \
+	i = (v->SLen - 1) - realPos; \
+	if (i > 65535) \
+		i = 65535; \
+	\
+	samplesToMix = (((((uint64_t)i << 16) | (pos ^ 0xFFFF)) * v->SFrqRev) >> 32) + 1; \
+	if (samplesToMix > (uint32_t)CDA_BytesLeft) \
+		samplesToMix = CDA_BytesLeft; \
+
+#define LIMIT_MIX_NUM_RAMP \
+	if (v->SVolIPLen == 0) \
+	{ \
+		CDA_LVolIP = 0; \
+		CDA_RVolIP = 0; \
+		\
+		if (v->isFadeOutVoice) \
+		{ \
+			v->mixRoutine = NULL; /* fade out voice is done, shut it down */ \
+			return; \
+		} \
+	} \
+	else \
+	{ \
+		if (samplesToMix > (uint32_t)v->SVolIPLen) \
+			samplesToMix = v->SVolIPLen; \
+		\
+		v->SVolIPLen -= samplesToMix; \
+	} \
+
+#define START_BIDI \
+	if (v->backwards) \
+	{ \
+		delta = 0 - v->SFrq; \
+		CDA_IPValH = (int32_t)delta >> 16; \
+		assert(realPos >= v->SRepS && realPos < v->SLen); \
+		realPos = ~realPos; \
+		smpPtr = CDA_LinAdrRev + realPos; \
+		pos ^= 0xFFFF; \
+	} \
+	else \
+	{ \
+		delta = v->SFrq; \
+		CDA_IPValH = delta >> 16; \
+		assert(realPos >= 0 && realPos < v->SLen); \
+		smpPtr = CDA_LinearAdr + realPos; \
+	} \
+	\
+	CDA_IPValL = delta & 0xFFFF; \
+
+#define END_BIDI \
+	if (v->backwards) \
+	{ \
+		pos ^= 0xFFFF; \
+		realPos = (int32_t)(smpPtr - CDA_LinAdrRev); \
+		realPos = ~realPos; \
+	} \
+	else \
+	{ \
+		realPos = (int32_t)(smpPtr - CDA_LinearAdr); \
+	} \
+	\
+
+/* ----------------------------------------------------------------------- */
+/*                     SAMPLE END/LOOP WRAPPING MACROS                     */
+/* ----------------------------------------------------------------------- */
+
+#define HANDLE_SAMPLE_END \
+	realPos = (int32_t)(smpPtr - CDA_LinearAdr); \
+	if (realPos >= v->SLen) \
+	{ \
+		v->mixRoutine = NULL; \
+		return; \
+	} \
+
+#define WRAP_LOOP \
+	realPos = (int32_t)(smpPtr - CDA_LinearAdr); \
+	while (realPos >= v->SLen) \
+		realPos -= v->SRepL; \
+	smpPtr = CDA_LinearAdr + realPos; \
+
+#define WRAP_BIDI_LOOP \
+	while (realPos >= v->SLen) \
+	{ \
+		realPos -= v->SRepL; \
+		v->backwards ^= 1; \
+	} \
+
+/* ----------------------------------------------------------------------- */
+/*                       VOLUME=0 OPTIMIZATION MACROS                      */
+/* ----------------------------------------------------------------------- */
+
+#define VOL0_OPTIMIZATION_NO_LOOP \
+	assert(numSamples <= 65536); \
+	\
+	pos = v->SPosDec + ((v->SFrq & 0xFFFF) * numSamples); \
+	realPos = v->SPos + ((v->SFrq >> 16) * numSamples) + (pos >> 16); \
+	\
+	if (realPos >= v->SLen) \
+	{ \
+		v->mixRoutine = NULL; /* shut down voice */ \
+		return; \
+	} \
+	\
+	pos &= 0xFFFF; \
+	SET_BACK_MIXER_POS
+
+#define VOL0_OPTIMIZATION_LOOP \
+	assert(numSamples <= 65536); \
+	\
+	pos = v->SPosDec + ((v->SFrq & 0xFFFF) * numSamples); \
+	realPos = v->SPos + ((v->SFrq >> 16) * numSamples) + (pos >> 16); \
+	\
+	while (realPos >= v->SLen) \
+		realPos -= v->SRepL; \
+	\
+	pos &= 0xFFFF; \
+	SET_BACK_MIXER_POS
+
+#define VOL0_OPTIMIZATION_BIDI_LOOP \
+	assert(numSamples <= 65536); \
+	\
+	pos = v->SPosDec + ((v->SFrq & 0xFFFF) * numSamples); \
+	realPos = v->SPos + ((v->SFrq >> 16) * numSamples) + (pos >> 16); \
+	\
+	while (realPos >= v->SLen) \
+	{ \
+		realPos -= v->SRepL; \
+		v->backwards ^= 1; \
+	} \
+	\
+	pos &= 0xFFFF; \
+	SET_BACK_MIXER_POS
--- /dev/null
+++ b/src/ft2_module_loader.c
@@ -1,0 +1,2582 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#ifndef _WIN32
+#include <unistd.h>
+#endif
+#include "ft2_header.h"
+#include "ft2_audio.h"
+#include "ft2_config.h"
+#include "ft2_scopes.h"
+#include "ft2_trim.h"
+#include "ft2_inst_ed.h"
+#include "ft2_sample_ed.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gui.h"
+#include "ft2_diskop.h"
+#include "ft2_sample_loader.h"
+#include "ft2_mouse.h"
+#include "ft2_scopes.h"
+#include "ft2_midi.h"
+#include "ft2_events.h"
+#include "ft2_video.h"
+
+/* This is a *HUGE* mess!
+** I hope you never have to modify it, and you probably shouldn't either.
+** You will experience a lot of headaches if you dig into this file...
+** If something looks to be wrong, it's probably right!
+**
+** The actual module load routines are ported from FT2 and slightly modified. */
+
+enum
+{
+	FORMAT_NONE = 0,
+	FORMAT_XM = 1,
+	FORMAT_MOD = 2,
+	FORMAT_S3M = 3,
+	FORMAT_STM = 4
+};
+
+// DO NOT TOUCH THESE STRUCTS!
+
+#ifdef _MSC_VER
+#pragma pack(push)
+#pragma pack(1)
+#endif
+typedef struct songSTMinstrHeaderTyp_t
+{
+	char name[12];
+	uint8_t nul, insDisk;
+	uint16_t reserved1, len, repS, repE;
+	uint8_t vol, reserved2;
+	uint16_t rate;
+	int32_t reserved3;
+	uint16_t paraLen;
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songSTMinstrHeaderTyp;
+
+typedef struct songSTMHeaderTyp_t
+{
+	char name[20], sig[8];
+	uint8_t id1a, typ;
+	uint8_t verMajor, verMinor;
+	uint8_t tempo, ap, vol, reserved[13];
+	songSTMinstrHeaderTyp instr[31];
+	uint8_t songTab[128];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songSTMHeaderTyp;
+
+typedef struct songS3MinstrHeaderTyp_t
+{
+	uint8_t typ;
+	char dosName[12];
+	uint8_t memSegH;
+	uint16_t memSeg;
+	int32_t len, repS, repE;
+	uint8_t vol, dsk, pack, flags;
+	int32_t c2Spd, res1;
+	uint16_t gusPos;
+	uint8_t res2[6];
+	char name[28], id[4];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songS3MinstrHeaderTyp;
+
+typedef struct songS3MHeaderTyp_t
+{
+	char name[28];
+	uint8_t id1a, typ;
+	uint16_t res1;
+	int16_t songTabLen, antInstr, antPatt;
+	uint16_t flags, trackerID, ver;
+	char id[4];
+	uint8_t globalVol, defSpeed, defTempo, masterVol, res2[12], chanType[32];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songS3MHeaderTyp;
+#ifdef _MSC_VER
+#pragma pack(pop)
+#endif
+
+static volatile uint8_t loadedFormat;
+static volatile bool stereoSamplesWarn, linearFreqTable, musicIsLoading, moduleLoaded, moduleFailedToLoad;
+static uint8_t oldPlayMode, pattBuff[12288];
+static const uint8_t stmEff[16] = { 0, 0, 11, 0, 10, 2, 1, 3, 4, 7, 0, 5 ,6, 0, 0, 0 };
+static SDL_Thread *thread;
+
+// these temporarily read to, then copied to real struct if load was OK (should not need to be volatile'd)
+static int16_t pattLensTmp[MAX_PATTERNS];
+static tonTyp *pattTmp[MAX_PATTERNS];
+static instrTyp *instrTmp[1 + MAX_INST];
+static songTyp songTmp;
+
+static void setupLoadedModule(void);
+static void freeTmpModule(void);
+static bool loadInstrHeader(FILE *f, uint16_t i);
+static void checkSampleRepeat(sampleTyp *s);
+static bool loadInstrSample(FILE *f, uint16_t i);
+void unpackPatt(uint8_t *dst, uint16_t inn, uint16_t len, uint8_t antChn);
+static bool tmpPatternEmpty(uint16_t nr);
+static bool loadPatterns(FILE *f, uint16_t antPtn);
+
+// ft2_replayer.c
+extern const char modSig[32][5];
+extern const uint16_t amigaPeriod[12*8];
+
+static bool allocateTmpInstr(int16_t nr)
+{
+	instrTyp *p;
+
+	if (instrTmp[nr] != NULL)
+		return false; // already allocated
+
+	p = (instrTyp *)malloc(sizeof (instrTyp));
+	if (p == NULL)
+		return false;
+
+	memset(p, 0, sizeof (instrTyp));
+
+	for (int8_t i = 0; i < 16; i++) // set standard sample pan/vol
+	{
+		p->samp[i].pan = 128;
+		p->samp[i].vol = 64;
+	}
+
+	instrTmp[nr] = p;
+	return true;
+}
+
+static bool loadMusicMOD(FILE *f, uint32_t fileLength)
+{
+	char ID[16];
+	bool modIsUST, modIsFEST, modIsNT;
+	uint8_t bytes[4];
+	int16_t i, j, k, ai;
+	uint16_t a, b, period, ciaPeriod;
+	tonTyp *ton;
+	sampleTyp *s;
+	songMOD31HeaderTyp h_MOD31;
+	songMOD15HeaderTyp h_MOD15;
+
+	// start loading MOD
+
+	loadedFormat = FORMAT_MOD;
+
+	rewind(f);
+	fread(ID, 1, 16, f);
+	fseek(f, 0x1D, SEEK_SET);
+	fread(bytes, 1, 1, f);
+	rewind(f);
+	
+	// since .mod is the last format tested, check if the file is an .it module (Impulse Tracker)
+	if (!memcmp(ID, "IMPM", 4) && bytes[0] == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error: Impulse Tracker modules are not supported!");
+		goto modLoadError;
+	}
+
+	// check if the file to load is a WAV, if so reject it
+	if (!memcmp(ID, "RIFF", 4) && !memcmp(&ID[8], "WAVEfmt", 7))
+	{
+		okBoxThreadSafe(0, "System message", "Error: Can't load a .wav file as a module!");
+		goto modLoadError;
+	}
+
+	if (fileLength < 1596 || fileLength > 20842494) // minimum and maximum possible size for an FT2 .mod
+	{
+		okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+		goto modLoadError;
+	}
+
+	if (fread(&h_MOD31, 1, sizeof (h_MOD31), f) != sizeof (h_MOD31))
+	{
+		okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+		goto modLoadError;
+	}
+
+	modIsFEST = false;
+	modIsNT = false;
+	modIsUST = false;
+
+	if (!strncmp(h_MOD31.sig, "N.T.", 4))
+	{
+		j = 4;
+		modIsNT = true;
+	}
+	else if (!strncmp(h_MOD31.sig, "FEST", 4) || !strncmp(h_MOD31.sig, "M&K!", 4))
+	{
+		modIsFEST = true;
+		modIsNT = true;
+		j = 4;
+	}
+	else if (!strncmp(h_MOD31.sig, "M!K!", 4) || !strncmp(h_MOD31.sig, "M.K.", 4) || !strncmp(h_MOD31.sig, "FLT4", 4))
+	{
+		j = 4;
+	}
+	else if (!strncmp(h_MOD31.sig, "OCTA", 4) || !strncmp(h_MOD31.sig, "FLT8", 4) || !strncmp(h_MOD31.sig, "CD81", 4))
+	{
+		j = 8;
+	}
+	else
+	{
+		j = 0;
+		for (i = 0; i < 32; i++)
+		{
+			if (!strncmp(h_MOD31.sig, modSig[i], 4))
+			{
+				j = i + 1;
+				break;
+			}
+			else if (j == 31)
+			{
+				j = -1; // ID not recignized
+			}
+		}
+	}
+
+	// unsupported MOD
+	if (j == -1)
+	{
+		okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+		goto modLoadError;
+	}
+
+	if (j > 0)
+	{
+		modIsUST = false;
+		if (fileLength < sizeof (h_MOD31))
+		{
+			okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+			goto modLoadError;
+		}
+
+		songTmp.antChn = (uint8_t)j;
+		songTmp.len = h_MOD31.len;
+		songTmp.repS = h_MOD31.repS;
+		memcpy(songTmp.songTab, h_MOD31.songTab, 128);
+		ai = 31;
+	}
+	else
+	{
+		modIsUST = true;
+		if (fileLength < sizeof (h_MOD15))
+		{
+			okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+			goto modLoadError;
+		}
+
+		fseek(f, 0, SEEK_SET);
+		if (fread(&h_MOD15, 1, sizeof (h_MOD15), f) != sizeof (h_MOD15))
+		{
+			okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+			goto modLoadError;
+		}
+
+		songTmp.antChn = 4;
+		songTmp.len = h_MOD15.len;
+		songTmp.repS = h_MOD15.repS;
+		memcpy(songTmp.songTab, h_MOD15.songTab, 128);
+		ai = 15;
+	}
+
+	if (songTmp.antChn == 0 || songTmp.len < 1)
+	{
+		okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+		goto modLoadError;
+	}
+
+	if (!strncmp(h_MOD31.sig, "M.K.", 4) && songTmp.len == 129)
+		songTmp.len = 127; // fixes a specific copy of beatwave.mod by Sidewinder
+
+	if (songTmp.len > 128 || (modIsUST && (songTmp.repS == 0 || songTmp.repS > 220)))
+	{
+		okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+		goto modLoadError;
+	}
+
+	// trim off spaces at end of name
+	for (i = 19; i >= 0; i--)
+	{
+		if (h_MOD31.name[i] == ' ' || h_MOD31.name[i] == 0x1A)
+			h_MOD31.name[i] = '\0';
+		else
+			break;
+	}
+
+	memcpy(songTmp.name, h_MOD31.name, 20);
+	songTmp.name[20] = '\0';
+
+	for (a = 0; a < ai; a++)
+	{
+		// trim off spaces at end of name
+		for (i = 21; i >= 0; i--)
+		{
+			if (h_MOD31.instr[a].name[i] == ' ' || h_MOD31.instr[a].name[i] == 0x1A)
+				h_MOD31.instr[a].name[i] = '\0';
+			else
+				break;
+		}
+
+		memcpy(songTmp.instrName[1+a], h_MOD31.instr[a].name, 22);
+		songTmp.instrName[1+a][22] = '\0';
+	}
+
+	b = 0;
+	for (a = 0; a < 128; a++)
+	{
+		if (songTmp.songTab[a] > b)
+			b = songTmp.songTab[a];
+	}
+
+	if (songTmp.len < 255)
+		memset(&songTmp.songTab[songTmp.len], 0, 256 - songTmp.len);
+
+	for (a = 0; a <= b; a++)
+	{
+		pattTmp[a] = (tonTyp *)calloc(64 * MAX_VOICES, sizeof (tonTyp));
+		if (pattTmp[a] == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto modLoadError;
+		}
+
+		pattLensTmp[a] = 64;
+		for (j = 0; j < 64; j++)
+		{
+			for (k = 0; k < songTmp.antChn; k++)
+			{
+				ton = &pattTmp[a][(j * MAX_VOICES) + k];
+
+				if (fread(bytes, 1, 4, f) != 4)
+				{
+					okBoxThreadSafe(0, "System message", "Error: This file is either not a module, or is not supported.");
+					goto modLoadError;
+				}
+
+				// period to note
+				period = ((bytes[0] & 0x0F) << 8) | bytes[1];
+				for (i = 0; i < 8*12; i++)
+				{
+					if (period >= amigaPeriod[i])
+					{
+						ton->ton = (uint8_t)i + 1;
+						break;
+					}
+				}
+
+				ton->instr = (bytes[0] & 0xF0) | (bytes[2] >> 4);
+				ton->effTyp = bytes[2] & 0x0F;
+				ton->eff = bytes[3];
+
+				if (ton->effTyp == 0xC)
+				{
+					if (ton->eff > 64)
+						ton->eff = 64;
+				}
+				else if (ton->effTyp == 0x1)
+				{
+					if (ton->eff == 0)
+						ton->effTyp = 0;
+				}
+				else if (ton->effTyp == 0x2)
+				{
+					if (ton->eff == 0)
+						ton->effTyp = 0;
+				}
+				else if (ton->effTyp == 0x5)
+				{
+					if (ton->eff == 0)
+						ton->effTyp = 0x3;
+				}
+				else if (ton->effTyp == 0x6)
+				{
+					if (ton->eff == 0)
+						ton->effTyp = 0x4;
+				}
+				else if (ton->effTyp == 0xA)
+				{
+					if (ton->eff == 0)
+						ton->effTyp = 0;
+				}
+				else if (ton->effTyp == 0xE)
+				{
+					// check if certain E commands are empty
+					if (ton->eff == 0x10 || ton->eff == 0x20 || ton->eff == 0xA0 || ton->eff == 0xB0)
+					{
+						ton->effTyp = 0;
+						ton->eff = 0;
+					}
+				}
+
+				if (modIsUST)
+				{
+					if (ton->effTyp == 0x01)
+					{
+						// arpeggio
+						ton->effTyp = 0x00;
+					}
+					else if (ton->effTyp == 0x02)
+					{
+						// pitch slide
+						if (ton->eff & 0xF0)
+						{
+							ton->effTyp = 0x02;
+							ton->eff >>= 4;
+						}
+						else if (ton->eff & 0x0F)
+						{
+							ton->effTyp = 0x01;
+						}
+					}
+
+					// I don't remember why I did this...
+					if (ton->effTyp == 0x0D && ton->eff > 0)
+						ton->effTyp = 0x0A;
+				}
+
+				if (modIsNT && ton->effTyp == 0x0D)
+					ton->eff = 0;
+			}
+		}
+
+		if (tmpPatternEmpty(a))
+		{
+			if (pattTmp[a] != NULL)
+			{
+				free(pattTmp[a]);
+				pattTmp[a] = NULL;
+			}
+		}
+	}
+
+	for (a = 0; a < ai; a++)
+	{
+		if (h_MOD31.instr[a].len == 0)
+			continue;
+
+		if (!allocateTmpInstr(1 + a))
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto modLoadError;
+		}
+
+		setNoEnvelope(instrTmp[1 + a]);
+
+		s = &instrTmp[1+a]->samp[0];
+
+		s->len = 2 * SWAP16(h_MOD31.instr[a].len);
+
+		s->pek = (int8_t *)malloc(s->len + LOOP_FIX_LEN);
+		if (s->pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto modLoadError;
+		}
+
+		memcpy(s->name, songTmp.instrName[1+a], 22);
+
+		if (modIsFEST)
+			h_MOD31.instr[a].fine = (32 - (h_MOD31.instr[a].fine & 0x1F)) >> 1;
+
+		if (!modIsUST)
+			s->fine = 8 * ((2 * ((h_MOD31.instr[a].fine & 0x0F) ^ 8)) - 16);
+		else
+			s->fine = 0;
+
+		s->pan = 128;
+
+		s->vol = h_MOD31.instr[a].vol;
+		if (s->vol > 64) s->vol = 64;
+
+		s->repS = 2 * SWAP16(h_MOD31.instr[a].repS);
+
+		if (modIsUST)
+			s->repS /= 2;
+
+		s->repL = 2 * SWAP16(h_MOD31.instr[a].repL);
+
+		if (s->repL <= 2)
+		{
+			s->repS = 0;
+			s->repL = 0;
+		}
+
+		if (s->repS+s->repL > s->len)
+		{
+			if (s->repS >= s->len)
+			{
+				s->repS = 0;
+				s->repL = 0;
+			}
+			else
+			{
+				s->repL = s->len - s->repS;
+			}
+		}
+
+		if (s->repL > 2)
+			s->typ = 1;
+		else
+			s->typ = 0;
+
+		if (modIsUST && (s->repS > 2 && s->repS < s->len))
+		{
+			s->len -= s->repS;
+			fseek(f, s->repS, SEEK_CUR);
+			s->repS = 0;
+		}
+
+		if (fread(s->pek, s->len, 1, f) == 1)
+		{
+			fixSample(s);
+		}
+		else
+		{
+			free(s->pek);
+			s->pek = NULL;
+			s->len = 0;
+		}
+	}
+
+	songTmp.speed = 125;
+
+	if (modIsUST)
+	{
+		// repS is initialBPM in UST MODs
+
+		if (songTmp.repS != 120) // 120 is a special case and means 50Hz (125BPM)
+		{
+			if (songTmp.repS > 239)
+				songTmp.repS = 239;
+
+			// convert UST tempo to BPM
+			const double dPALAmigaCiaClk = 709379.0;
+			ciaPeriod = (240 - songTmp.repS) * 122;
+			songTmp.speed = (uint16_t)round((dPALAmigaCiaClk / ciaPeriod) * (125.0 / 50.0));
+		}
+
+		songTmp.repS = 0;
+	}
+	else if (songTmp.repS >= songTmp.len)
+	{
+		songTmp.repS = 0;
+	}
+
+	fclose(f);
+
+	songTmp.initialTempo = songTmp.tempo = 6;
+
+	moduleLoaded = true;
+	return true;
+
+modLoadError:
+	fclose(f);
+	freeTmpModule();
+	moduleFailedToLoad = true;
+	return false;
+}
+
+static uint8_t stmTempoToBPM(uint8_t tempo) // ported from original ST2.3 replayer code
+{
+	const uint8_t slowdowns[16] = { 140, 50, 25, 15, 10, 7, 6, 4, 3, 3, 2, 2, 2, 2, 1, 1 };
+	uint32_t bpm;
+	uint16_t hz = 50;
+
+	hz -= ((slowdowns[tempo >> 4] * (tempo & 15)) >> 4); // can and will underflow
+
+	bpm = (uint32_t)round(hz * 2.5);
+	return (uint8_t)CLAMP(bpm, 32, 255); // result can be slightly off, but close enough...
+}
+
+static bool loadMusicSTM(FILE *f, uint32_t fileLength)
+{
+	bool check3xx;
+	uint8_t typ, tmp8, tempo;
+	int16_t i, j, k, ai, ap, tmp;
+	uint16_t a;
+	int32_t len;
+	tonTyp *ton;
+	sampleTyp *s;
+	songSTMHeaderTyp h_STM;
+
+	rewind(f);
+
+	// start loading STM
+
+	if (fread(&h_STM, 1, sizeof (h_STM), f) != sizeof (h_STM))
+		return loadMusicMOD(f, fileLength); // file is not a .stm, try to load as .mod
+
+	if (memcmp(h_STM.sig, "!Scream!", 8) && memcmp(h_STM.sig, "BMOD2STM", 8) &&
+		memcmp(h_STM.sig, "WUZAMOD!", 8) && memcmp(h_STM.sig, "SWavePro", 8))
+	{
+		return loadMusicMOD(f, fileLength); // file is not a .stm, try to load as .mod
+	}
+
+	loadedFormat = FORMAT_STM;
+
+	if (h_STM.verMinor == 0 || h_STM.typ != 2)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading .stm: Incompatible module!");
+		goto stmLoadError;
+	}
+
+	songTmp.antChn = 4;
+	memcpy(songTmp.songTab, h_STM.songTab, 128);
+
+	i = 0;
+	while (i < 128 && songTmp.songTab[i] < 99) i++;
+	songTmp.len = i + (i == 0);
+
+	if (songTmp.len < 255)
+		memset(&songTmp.songTab[songTmp.len], 0, 256 - songTmp.len);
+
+	// trim off spaces at end of name
+	for (i = 19; i >= 0; i--)
+	{
+		if (h_STM.name[i] == ' ' || h_STM.name[i] == 0x1A)
+			h_STM.name[i] = '\0';
+		else
+			break;
+	}
+
+	memcpy(songTmp.name, h_STM.name, 20);
+	songTmp.name[20] = '\0';
+
+	tempo = h_STM.tempo;
+	if (h_STM.verMinor < 21)
+		tempo = ((tempo / 10) << 4) + (tempo % 10);
+
+	if (tempo == 0)
+		tempo = 96;
+
+	songTmp.initialTempo = songTmp.tempo = CLAMP(h_STM.tempo >> 4, 1, 31);
+	songTmp.speed = stmTempoToBPM(tempo);
+
+	if (h_STM.verMinor > 10)
+		songTmp.globVol = MIN(h_STM.vol, 64);
+
+	ap = h_STM.ap;
+	for (i = 0; i < ap; i++)
+	{
+		pattTmp[i] = (tonTyp *)calloc(64 * MAX_VOICES, sizeof (tonTyp));
+		if (pattTmp[i] == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto stmLoadError;
+		}
+
+		pattLensTmp[i] = 64;
+		if (fread(pattBuff, 64 * 4 * 4, 1, f) != 1)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading!");
+			goto stmLoadError;
+		}
+
+		a = 0;
+		for (j = 0; j < 64; j++)
+		{
+			for (k = 0; k < 4; k++)
+			{
+				ton = &pattTmp[i][(j * MAX_VOICES) + k];
+				
+				if (pattBuff[a] == 254)
+				{
+					ton->ton = 97;
+				}
+				else if (pattBuff[a] < 96)
+				{
+					ton->ton = (12 * (pattBuff[a] >> 4)) + (25 + (pattBuff[a] & 0x0F));
+					if (ton->ton > 96)
+						ton->ton = 0;
+				}
+				else
+				{
+					ton->ton = 0;
+				}
+
+				ton->instr = pattBuff[a + 1] >> 3;
+				typ = (pattBuff[a + 1] & 7) + ((pattBuff[a + 2] & 0xF0) >> 1);
+				if (typ <= 64)
+					ton->vol = typ + 0x10;
+
+				ton->eff = pattBuff[a + 3];
+
+				tmp = pattBuff[a + 2] & 0x0F;
+				if (tmp == 1)
+				{
+					ton->effTyp = 15;
+
+					if (h_STM.verMinor < 21)
+						ton->eff = ((ton->eff / 10) << 4) + (ton->eff % 10);
+					
+					ton->eff >>= 4;
+				}
+				else if (tmp == 3)
+				{
+					ton->effTyp = 13;
+					ton->eff = 0;
+				}
+				else if (tmp == 2 || (tmp >= 4 && tmp <= 12))
+				{
+					ton->effTyp = stmEff[tmp];
+					if (ton->effTyp == 0xA)
+					{
+						if (ton->eff & 0x0F)
+							ton->eff &= 0x0F;
+						else
+							ton->eff &= 0xF0;
+					}
+				}
+				else
+				{
+					ton->eff = 0;
+				}
+
+				/* Remove any EDx with no note.
+				** SDx with no note in ST3 = does nothing
+				** EDx with no note in FT2 = still retriggers */
+				if (ton->effTyp == 0xE && (ton->eff & 0xF0) == 0xD0)
+				{
+					if (ton->ton == 0 || ton->ton == 97)
+					{
+						ton->eff = 0;
+						ton->effTyp = 0;
+					}
+				}
+
+				if (ton->effTyp > 35)
+				{
+					ton->effTyp = 0;
+					ton->eff = 0;
+				}
+
+				a += 4;
+			}
+		}
+
+		if (tmpPatternEmpty(i))
+		{
+			if (pattTmp[i] != NULL)
+			{
+				free(pattTmp[i]);
+				pattTmp[i] = NULL;
+			}
+		}
+	}
+
+	ai = 31;
+	for (i = 0; i < 31; i++)
+	{
+		// trim off spaces at end of name
+		for (j = 11; j >= 0; j--)
+		{
+			if (h_STM.instr[i].name[j] == ' ' || h_STM.instr[i].name[j] == 0x1A)
+				h_STM.instr[i].name[j] = '\0';
+			else
+				break;
+		}
+
+		memset(&songTmp.instrName[1+i], 0, sizeof (songTmp.instrName[1+i]));
+		memcpy(&songTmp.instrName[1+i], h_STM.instr[i].name, 12);
+
+		if (h_STM.instr[i].len != 0 && h_STM.instr[i].reserved1 != 0)
+		{
+			allocateTmpInstr(1 + i);
+			setNoEnvelope(instrTmp[i]);
+
+			s = &instrTmp[1+i]->samp[0];
+
+			s->pek = (int8_t *)malloc(h_STM.instr[i].len + LOOP_FIX_LEN);
+			if (s->pek == NULL)
+			{
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				goto stmLoadError;
+			}
+
+			s->len = h_STM.instr[i].len;
+			tuneSample(s, h_STM.instr[i].rate);
+			s->vol = h_STM.instr[i].vol;
+			s->repS = h_STM.instr[i].repS;
+			s->repL = h_STM.instr[i].repE - h_STM.instr[i].repS;
+			s->pan = 128;
+
+			if (s->repS < s->len && h_STM.instr[i].repE > s->repS && h_STM.instr[i].repE != 0xFFFF)
+			{
+				if (s->repS+s->repL > s->len)
+					s->repL = s->len - s->repS;
+
+				s->typ = 1;
+			}
+			else
+			{
+				s->repS = 0;
+				s->repL = 0;
+				s->typ  = 0;
+			}
+
+			if (s->vol > 64)
+				s->vol = 64;
+
+			if (fread(s->pek, s->len, 1, f) != 1)
+			{
+				okBoxThreadSafe(0, "System message", "General I/O error during loading! Possibly corrupt module?");
+				goto stmLoadError;
+			}
+
+			fixSample(s);
+		}
+	}
+
+	// non-FT2: fix overflown 9xx and illegal 3xx
+
+	for (i = 0; i < ap; i++)
+	{
+		if (pattTmp[i] == NULL)
+			continue;
+
+		for (k = 0; k < songTmp.antChn; k++)
+		{
+			check3xx = false;
+			for (j = 0; j < 64; j++)
+			{
+				ton = &pattTmp[i][(j * MAX_VOICES) + k];
+
+				if (ton->ton > 0 && ton->ton < 97 && ton->effTyp != 0x3)
+					check3xx = true;
+
+				if (ton->ton > 0 && ton->ton < 97 && ton->effTyp == 0x3)
+					check3xx = false;
+
+				if (check3xx && ton->effTyp == 0x3)
+				{
+					if (ton->ton == 0 || ton->ton == 97)
+					{
+						ton->effTyp = 0;
+						ton->eff = 0;
+					}
+				}
+
+				if (ton->effTyp == 0x9 && ton->eff > 0)
+				{
+					if (ton->instr != 0 && ton->instr <= ai)
+					{
+						s = &instrTmp[ton->instr]->samp[0];
+						len = s->len;
+
+						tmp8 = 0;
+						if (len > 0)
+						{
+							tmp8 = ton->eff;
+							if (tmp8 >= len/256)
+							{
+								if (len/256 < 1)
+									tmp8 = 0;
+								else
+									tmp8 = (uint8_t)((len/256) - 1);
+							}
+						}
+
+						if (tmp8 > 0)
+						{
+							ton->eff = tmp8;
+						}
+						else
+						{
+							ton->effTyp = 0;
+							ton->eff = 0;
+						}
+					}
+					else
+					{
+						ton->effTyp = 0;
+						ton->eff = 0;
+					}
+				}
+			}
+		}
+	}
+
+	fclose(f);
+
+	moduleLoaded = true;
+	return true;
+
+stmLoadError:
+	fclose(f);
+	freeTmpModule();
+	moduleFailedToLoad = true;
+	return false;
+}
+
+static int8_t countS3MChannels(uint16_t antPtn)
+{
+	uint8_t j, k, channels;
+	int16_t i;
+	tonTyp ton;
+
+	channels = 0;
+	for (i = 0; i < antPtn; i++)
+	{
+		if (pattTmp[i] == NULL)
+			continue;
+
+		for (j = 0; j < 64; j++)
+		{
+			for (k = 0; k < MAX_VOICES; k++)
+			{
+				ton = pattTmp[i][(j * MAX_VOICES) + k];
+				if (ton.eff == 0 && ton.effTyp == 0 && ton.instr == 0 && ton.ton == 0 && ton.vol == 0)
+					continue;
+
+				if (k > channels)
+					channels = k;
+			}
+		}
+	}
+	channels++;
+
+	return channels;
+}
+
+static bool loadMusicS3M(FILE *f, uint32_t dataLength)
+{
+	int8_t *tmpSmp;
+	bool check3xx, illegalUxx;
+	uint8_t ha[2048];
+	uint8_t s3mLastDEff[32], s3mLastEEff[32], s3mLastFEff[32];
+	uint8_t s3mLastSEff[32], s3mLastJEff[32], s3mLastGInstr[32], tmp8, typ;
+	int16_t i, j, k, ai, ap, ver, ii, kk, tmp;
+	uint16_t ptnOfs[256];
+	int32_t len;
+	tonTyp ton, *pattTon;
+	sampleTyp *s;
+	songS3MHeaderTyp h_S3M;
+	songS3MinstrHeaderTyp h_S3MInstr;
+
+	stereoSamplesWarn = false;
+
+	rewind(f);
+
+	// start loading S3M
+
+	if (fread(&h_S3M, 1, sizeof (h_S3M), f) != sizeof (h_S3M))
+		return loadMusicSTM(f, dataLength); // not a .s3m, try loading as .stm
+
+	if (memcmp(h_S3M.id, "SCRM", 4))
+		return loadMusicSTM(f, dataLength); // not a .s3m, try loading as .stm
+
+	loadedFormat = FORMAT_S3M;
+
+	if (h_S3M.antInstr > MAX_INST || h_S3M.songTabLen > 256 || h_S3M.antPatt > 256 ||
+		h_S3M.typ != 16 || h_S3M.ver < 1 || h_S3M.ver > 2)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading .s3m: Incompatible module!");
+		goto s3mLoadError;
+	}
+
+	memset(songTmp.songTab, 255, sizeof (songTmp.songTab));
+	if (fread(songTmp.songTab, h_S3M.songTabLen, 1, f) != 1)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto s3mLoadError;
+	}
+
+	// count real song table entries
+	songTmp.len = 256;
+	while (songTmp.len > 0 && songTmp.songTab[songTmp.len-1] == 255)
+		songTmp.len--;
+
+	if (songTmp.len == 256)
+		songTmp.len = 255;
+
+	// remove pattern separators (254)
+	k = 0;
+	j = 0;
+	for (i = 0; i < songTmp.len; i++)
+	{
+		if (songTmp.songTab[i] != 254)
+			songTmp.songTab[j++] = songTmp.songTab[i];
+		else
+			k++;
+	}
+
+	if (k <= songTmp.len)
+		songTmp.len -= k;
+	else
+		songTmp.len = 0;
+	
+	// clear unused song table entries
+	if (songTmp.len < 255)
+		memset(&songTmp.songTab[songTmp.len], 0, 256 - songTmp.len);
+
+	songTmp.speed = h_S3M.defTempo;
+	if (songTmp.speed < 32)
+		songTmp.speed = 32;
+
+	songTmp.tempo = h_S3M.defSpeed;
+	if (songTmp.tempo == 0)
+		songTmp.tempo = 6;
+
+	if (songTmp.tempo > 31)
+		songTmp.tempo = 31;
+
+	songTmp.initialTempo = songTmp.tempo;
+
+	// trim off spaces at end of name
+	for (i = 19; i >= 0; i--)
+	{
+		if (h_S3M.name[i] == ' ' || h_S3M.name[i] == 0x1A)
+			h_S3M.name[i] = '\0';
+		else
+			break;
+	}
+
+	memcpy(songTmp.name, h_S3M.name, 20);
+	songTmp.name[20] = '\0';
+
+	ap  = h_S3M.antPatt;
+	ai  = h_S3M.antInstr;
+	ver = h_S3M.ver;
+
+	k = 31;
+	while (k >= 0 && h_S3M.chanType[k] >= 16) k--;
+	songTmp.antChn = (k + 2) & 254;
+
+	if (fread(ha, ai + ai, 1, f) != 1)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto s3mLoadError;
+	}
+
+	if (fread(ptnOfs, ap + ap, 1, f) != 1)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto s3mLoadError;
+	}
+
+	// *** PATTERNS ***
+
+	illegalUxx = false;
+
+	k = 0;
+	for (i = 0; i < ap; i++)
+	{
+		if (ptnOfs[i]  == 0)
+			continue; // empty pattern
+
+		memset(s3mLastDEff,   0, sizeof (s3mLastDEff));
+		memset(s3mLastEEff,   0, sizeof (s3mLastEEff));
+		memset(s3mLastFEff,   0, sizeof (s3mLastFEff));
+		memset(s3mLastSEff,   0, sizeof (s3mLastSEff));
+		memset(s3mLastJEff,   0, sizeof (s3mLastJEff));
+		memset(s3mLastGInstr, 0, sizeof (s3mLastGInstr));
+
+		fseek(f, ptnOfs[i] << 4, SEEK_SET);
+		if (feof(f))
+			continue;
+
+		if (fread(&j, 2, 1, f) != 1)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto s3mLoadError;
+		}
+
+		if (j > 0 && j <= 12288)
+		{
+			pattTmp[i] = (tonTyp *)calloc(64 * MAX_VOICES, sizeof (tonTyp));
+			if (pattTmp[i] == NULL)
+			{
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				goto s3mLoadError;
+			}
+
+			pattLensTmp[i] = 64;
+			if (fread(pattBuff, j, 1, f) != 1)
+			{
+				okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+				goto s3mLoadError;
+			}
+
+			k = 0;
+			kk = 0;
+
+			while (k < j && kk < 64)
+			{
+				typ = pattBuff[k++];
+
+				if (typ == 0)
+				{
+					kk++;
+				}
+				else
+				{
+					ii = typ & 31;
+
+					memset(&ton, 0, sizeof (ton));
+
+					// note and sample
+					if (typ & 32)
+					{
+						ton.ton   = pattBuff[k++];
+						ton.instr = pattBuff[k++];
+
+						if (ton.instr > MAX_INST)
+							ton.instr = 0;
+
+						     if (ton.ton == 254) ton.ton = 97;
+						else if (ton.ton == 255) ton.ton = 0;
+						else
+						{
+							ton.ton = 1 + (ton.ton & 0xF) + (ton.ton >> 4) * 12;
+							if (ton.ton > 96)
+								ton.ton = 0;
+						}
+					}
+
+					// volume
+					if (typ & 64)
+					{
+						ton.vol = pattBuff[k++];
+
+						if (ton.vol <= 64)
+							ton.vol += 0x10;
+						else
+							ton.vol = 0;
+					}
+
+					// effect
+					if (typ & 128)
+					{
+						ton.effTyp = pattBuff[k++];
+						ton.eff = pattBuff[k++];
+
+						if (ton.eff == 0)
+						{
+							if (ton.effTyp == 4)
+							{
+								if ((s3mLastDEff[ii] & 0xF0) == 0xF0 || (s3mLastDEff[ii] & 0x0F) == 0x0F)
+									ton.eff = s3mLastDEff[ii];
+							}
+							else if (ton.effTyp ==  5) ton.eff = s3mLastEEff[ii];
+							else if (ton.effTyp ==  6) ton.eff = s3mLastFEff[ii];
+							else if (ton.effTyp == 10) ton.eff = s3mLastJEff[ii];
+							else if (ton.effTyp == 19) ton.eff = s3mLastSEff[ii];
+						}
+						
+						if (ton.eff != 0)
+						{
+							     if (ton.effTyp ==  4) s3mLastDEff[ii] = ton.eff;
+							else if (ton.effTyp ==  5) s3mLastEEff[ii] = ton.eff;
+							else if (ton.effTyp ==  6) s3mLastFEff[ii] = ton.eff;
+							else if (ton.effTyp == 10) s3mLastJEff[ii] = ton.eff;
+							else if (ton.effTyp == 19) s3mLastSEff[ii] = ton.eff;
+						}
+
+						switch (ton.effTyp)
+						{
+							case 1: // A
+							{
+								ton.effTyp = 0xF;
+								if (ton.eff == 0 || ton.eff > 0x1F)
+								{
+									ton.effTyp = 0;
+									ton.eff = 0;
+								}
+							}
+							break;
+
+							case 2: ton.effTyp = 0xB; break; // B
+							case 3: ton.effTyp = 0xD; break; // C
+							case 4: // D
+							{
+								     if ((ton.eff & 0xF0) == 0) ton.effTyp = 0xA;
+								else if ((ton.eff & 0x0F) == 0) ton.effTyp = 0xA;
+								else if ((ton.eff & 0xF0) == 0xF0)
+								{
+									ton.effTyp = 0xE;
+									ton.eff = 0xB0 | (ton.eff & 15);
+								}
+								else if ((ton.eff & 0x0F) == 0x0F)
+								{
+									ton.effTyp = 0xE;
+									ton.eff = 0xA0 | (ton.eff >> 4);
+								}
+								else
+								{
+									ton.effTyp = 0xA;
+									if (ton.eff & 0x0F)
+										ton.eff &= 0x0F;
+									else
+										ton.eff &= 0xF0;
+								}
+							}
+							break;
+
+							case 5: // E
+							case 6: // F
+							{
+								if ((ton.eff & 0xF0) >= 0xE0)
+								{
+									if ((ton.eff & 0xF0) == 0xE0)
+										tmp = 0x21;
+									else
+										tmp = 0xE;
+
+									ton.eff &= 0x0F;
+
+									if (ton.effTyp == 0x05)
+										ton.eff |= 0x20;
+									else
+										ton.eff |= 0x10;
+
+									ton.effTyp = (uint8_t)tmp;
+								}
+								else
+								{
+									ton.effTyp = 7 - ton.effTyp;
+								}
+							}
+							break;
+
+							case 7: // G
+							{
+								// fix illegal slides (to new instruments)
+								if (ton.instr != 0 && ton.instr != s3mLastGInstr[ii])
+									ton.instr = s3mLastGInstr[ii];
+
+								ton.effTyp = 0x03;
+							}
+							break;
+
+							case 8:  ton.effTyp = 0x04; break; // H
+							case 9:  ton.effTyp = 0x1D; break; // I
+							case 10: ton.effTyp = 0x00; break; // J
+							case 11: ton.effTyp = 0x06; break; // K
+							case 12: ton.effTyp = 0x05; break; // L
+							case 15: ton.effTyp = 0x09; break; // O
+							case 17: ton.effTyp = 0x1B; break; // Q
+							case 18: ton.effTyp = 0x07; break; // R
+
+							case 19: // S
+							{
+								ton.effTyp = 0xE;
+								tmp = ton.eff >> 4;
+								ton.eff &= 0x0F;
+
+								     if (tmp == 0x1) ton.eff |= 0x30;
+								else if (tmp == 0x2) ton.eff |= 0x50;
+								else if (tmp == 0x3) ton.eff |= 0x40;
+								else if (tmp == 0x4) ton.eff |= 0x70;
+								else if (tmp == 0x08)
+								{
+									ton.effTyp = 0x8;
+									ton.eff <<= 4;
+								}
+								else if (tmp == 0xB) ton.eff |= 0x60;
+								else if (tmp == 0xC) ton.eff |= 0xC0;
+								else if (tmp == 0xD) ton.eff |= 0xD0;
+								else if (tmp == 0xE) ton.eff |= 0xE0;
+								else if (tmp == 0xF) ton.eff |= 0xF0;
+								else
+								{
+									ton.effTyp = 0;
+									ton.eff = 0;
+								}
+							}
+							break;
+
+							case 20: // T
+							{
+								ton.effTyp = 0x0F;
+								if (ton.eff < 0x20)
+								{
+									ton.effTyp = 0;
+									ton.eff = 0;
+								}
+							}
+							break;
+
+							case 21: // U
+							{
+								if ((ton.eff & 0x0F) != 0)
+								{
+									ton.eff = (ton.eff & 0xF0) | (((ton.eff & 15) + 1) / 4);
+									if ((ton.eff & 0x0F) == 0)
+									{
+										illegalUxx = true;
+										ton.effTyp = 0;
+										ton.eff = 0;
+									}
+									else
+									{
+										illegalUxx = false;
+										ton.effTyp = 0x04;
+									}
+								}
+								else
+								{
+									if (!illegalUxx)
+									{
+										ton.effTyp = 0x04;
+									}
+									else
+									{
+										ton.effTyp = 0;
+										ton.eff = 0;
+									}
+								}
+							}
+							break;
+
+							case 22: ton.effTyp = 0x10; break; // V
+
+							default:
+							{
+								ton.effTyp = 0;
+								ton.eff = 0;
+							}
+							break;
+						}
+					}
+
+					if (ton.instr != 0 && ton.effTyp != 0x3)
+						s3mLastGInstr[ii] = ton.instr;
+
+					/* Remove any EDx with no note.
+					** SDx with no note in ST3 = does nothing
+					** EDx with no note in FT2 = still retriggers */
+					if (ton.effTyp == 0xE && (ton.eff & 0xF0) == 0xD0)
+					{
+						if (ton.ton == 0 || ton.ton == 97)
+						{
+							ton.effTyp = 0;
+							ton.eff = 0;
+						}
+					}
+
+					pattTmp[i][(kk * MAX_VOICES) + ii] = ton;
+				}
+			}
+
+			if (tmpPatternEmpty(i))
+			{
+				if (pattTmp[i] != NULL)
+				{
+					free(pattTmp[i]);
+					pattTmp[i] = NULL;
+				}
+			}
+		}
+	}
+
+	// *** SAMPLES ***
+
+	memcpy(ptnOfs, ha, 512);
+	for (i = 0; i < ai; i++)
+	{
+		fseek(f, ptnOfs[i] << 4, SEEK_SET);
+
+		if (fread(&h_S3MInstr, 1, sizeof (h_S3MInstr), f) != sizeof (h_S3MInstr))
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto s3mLoadError;
+		}
+
+		// trim off spaces at end of name
+		for (j = 21; j >= 0; j--)
+		{
+			if (h_S3MInstr.name[j] == ' ' || h_S3MInstr.name[j] == 0x1A)
+				h_S3MInstr.name[j] = '\0';
+			else
+				break;
+		}
+
+		memcpy(songTmp.instrName[1+i], h_S3MInstr.name, 22);
+		songTmp.instrName[1+i][22] = '\0';
+
+		if (h_S3MInstr.typ > 1)
+		{
+			okBoxThreadSafe(0, "System message", "Error loading .s3m: Incompatible module!");
+			goto s3mLoadError;
+		}
+		else if (h_S3MInstr.typ == 1)
+		{
+			if ((h_S3MInstr.flags & (255-1-2-4)) != 0 || h_S3MInstr.pack != 0)
+			{
+				okBoxThreadSafe(0, "System message", "Error loading .s3m: Incompatible module!");
+				goto s3mLoadError;
+			}
+			else if (h_S3MInstr.memSeg > 0 && h_S3MInstr.len > 0)
+			{
+				if (!allocateTmpInstr(1 + i))
+				{
+					okBoxThreadSafe(0, "System message", "Not enough memory!");
+					goto s3mLoadError;
+				}
+
+				setNoEnvelope(instrTmp[1 + i]);
+				s = &instrTmp[1+i]->samp[0];
+
+				len = h_S3MInstr.len;
+
+				if ((h_S3MInstr.flags & 2) != 0) // stereo
+				{
+					stereoSamplesWarn = false;
+					len *= 2;
+				}
+
+				if ((h_S3MInstr.flags & 4) != 0) // 16-bit
+					len *= 2;
+
+				tmpSmp = (int8_t *)malloc(len + LOOP_FIX_LEN);
+				if (tmpSmp == NULL)
+				{
+					okBoxThreadSafe(0, "System message", "Not enough memory!");
+					goto s3mLoadError;
+				}
+
+				memcpy(s->name, h_S3MInstr.name, 21);
+
+				tuneSample(s, h_S3MInstr.c2Spd);
+
+				s->len  = h_S3MInstr.len;
+				s->vol  = h_S3MInstr.vol;
+				s->repS = h_S3MInstr.repS;
+				s->repL = h_S3MInstr.repE - h_S3MInstr.repS;
+
+				// non-FT2: fixes "miracle man.s3m"
+				if ((h_S3MInstr.memSeg<<4)+s->len > (int32_t)dataLength)
+					s->len = dataLength - (h_S3MInstr.memSeg << 4);
+
+				if (s->repL <= 2 || s->repS+s->repL > s->len)
+				{
+					s->repS = 0;
+					s->repL = 0;
+				}
+
+				s->typ = (h_S3MInstr.flags & 1) + ((h_S3MInstr.flags & 4) << 2);
+
+				if (s->repL == 0)
+					s->typ &= 16; // turn off loop, keep 16-bit flag only
+
+				if (s->vol > 64)
+					s->vol = 64;
+
+				s->pan = 128;
+
+				fseek(f, h_S3MInstr.memSeg << 4, SEEK_SET);
+
+				// non-FT2: fixes "miracle man.s3m"
+				if ((h_S3MInstr.memSeg<<4)+len > (int32_t)dataLength)
+					len = dataLength - (h_S3MInstr.memSeg << 4);
+
+				if (fread(tmpSmp, len, 1, f) != 1)
+				{
+					free(tmpSmp);
+					okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+					goto s3mLoadError;
+				}
+
+				if (ver != 1)
+				{
+					if ((h_S3MInstr.flags & 4) != 0)
+					{
+						conv16BitSample(tmpSmp, len, h_S3MInstr.flags & 2);
+
+						s->pek = (int8_t *)malloc((h_S3MInstr.len * 2) + LOOP_FIX_LEN);
+						if (s->pek == NULL)
+						{
+							free(tmpSmp);
+							okBoxThreadSafe(0, "System message", "Not enough memory!");
+							goto s3mLoadError;
+						}
+
+						memcpy(s->pek, tmpSmp, h_S3MInstr.len * 2);
+
+						s->len  *= 2;
+						s->repS *= 2;
+						s->repL *= 2;
+					}
+					else
+					{
+						conv8BitSample(tmpSmp, len, h_S3MInstr.flags & 2);
+
+						s->pek = (int8_t *)malloc(h_S3MInstr.len + LOOP_FIX_LEN);
+						if (s->pek == NULL)
+						{
+							free(tmpSmp);
+							okBoxThreadSafe(0, "System message", "Not enough memory!");
+							goto s3mLoadError;
+						}
+
+						memcpy(s->pek, tmpSmp, h_S3MInstr.len);
+					}
+
+					fixSample(s);
+				}
+
+				free(tmpSmp);
+			}
+		}
+	}
+
+	if (stereoSamplesWarn)
+		okBoxThreadSafe(0, "System message", "Stereo samples were found and will be converted to mono.");
+
+	// non-FT2: fix overflown 9xx and illegal 3xx slides
+
+	for (i = 0; i < ap; i++)
+	{
+		if (pattTmp[i] == NULL)
+			continue;
+
+		for (k = 0; k < songTmp.antChn; k++)
+		{
+			check3xx = false;
+			for (j = 0; j < 64; j++)
+			{
+				pattTon = &pattTmp[i][(j * MAX_VOICES) + k];
+
+				if (pattTon->ton > 0 && pattTon->ton < 97)
+					check3xx = pattTon->effTyp != 0x3;
+
+				if (check3xx && pattTon->effTyp == 0x3)
+				{
+					if (pattTon->ton == 0 || pattTon->ton == 97)
+					{
+						pattTon->effTyp = 0;
+						pattTon->eff = 0;
+					}
+				}
+
+				if (pattTon->effTyp == 0x9 && pattTon->eff > 0)
+				{
+					if (pattTon->instr != 0 && pattTon->instr <= ai)
+					{
+						s = &instrTmp[pattTon->instr]->samp[0];
+
+						len = s->len;
+
+						tmp8 = 0;
+						if (len > 0)
+						{
+							tmp8 = pattTon->eff;
+							if (tmp8 >= len/256)
+							{
+								if (len/256 < 1)
+									tmp8 = 0;
+								else
+									tmp8 = (uint8_t)((len/256) - 1);
+							}
+						}
+
+						if (tmp8 > 0)
+						{
+							pattTon->eff = tmp8;
+						}
+						else
+						{
+							pattTon->effTyp = 0;
+							pattTon->eff = 0;
+						}
+					}
+					else
+					{
+						pattTon->effTyp = 0;
+						pattTon->eff = 0;
+					}
+				}
+			}
+		}
+	}
+
+	fclose(f);
+
+	songTmp.antChn = countS3MChannels(ap);
+
+	if (!(config.dontShowAgainFlags & DONT_SHOW_S3M_LOAD_WARNING_FLAG))
+		okBoxThreadSafe(6, "System message", "Warning: S3M channel panning is not compatible with FT2!");
+
+	moduleLoaded = true;
+	return true;
+
+s3mLoadError:
+	fclose(f);
+	freeTmpModule();
+	moduleFailedToLoad = true;
+	return false;
+}
+
+static int32_t SDLCALL loadMusicThread(void *ptr)
+{
+	char tmpText[128];
+	int16_t k;
+	uint16_t i;
+	uint32_t filelength;
+	songHeaderTyp h;
+	FILE *f;
+
+	(void)ptr;
+
+	stereoSamplesWarn = false;
+	linearFreqTable = false;
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		moduleFailedToLoad = true;
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(editor.tmpFilenameU, "rb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		moduleFailedToLoad = true;
+		return false;
+	}
+
+	fseek(f, 0, SEEK_END);
+	filelength = ftell(f);
+	rewind(f);
+
+	// start loading
+	if (fread(&h, 1, sizeof (h), f) != sizeof (h))
+		return loadMusicS3M(f, filelength); // not a .xm file, try to load as .s3m
+
+	if (memcmp(h.sig, "Extended Module: ", 17))
+		return loadMusicS3M(f, filelength); // not a .xm file, try to load as .s3m
+
+	loadedFormat = FORMAT_XM;
+
+	if (h.ver < 0x0102 || h.ver > 0x0104)
+	{
+		fclose(f);
+
+		sprintf(tmpText, "Error loading .xm: Unsupported XM version (v%1d.%1d%1d)",
+			'0' + (((h.ver >> 8) & 0x0F) % 10), '0' + (((h.ver >> 4) & 0x0F)) % 10, '0' + ((h.ver & 0x0F)) % 10);
+		okBoxThreadSafe(0, "System message", tmpText);
+
+		moduleFailedToLoad = true;
+		return false;
+	}
+
+	if (h.len > MAX_ORDERS)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading .xm: The song has more than 256 orders!");
+		goto xmLoadError;
+	}
+
+	if (h.antPtn > MAX_PATTERNS)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading .xm: The song has more than 256 patterns!");
+		goto xmLoadError;
+	}
+
+	if (h.antChn == 0 || h.antChn > MAX_VOICES)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading .xm: Incompatible amount of channels!");
+		goto xmLoadError;
+	}
+
+	if (h.antInstrs > MAX_INST)
+		okBoxThreadSafe(0, "System message", "This module has over 128 instruments! Only the first 128 will be loaded.");
+
+	fseek(f, 60 + h.headerSize, SEEK_SET);
+	if (filelength != 336 && feof(f)) // 336 in length at this point = empty XM
+	{
+		okBoxThreadSafe(0, "System message", "Error loading .xm: The module is empty!");
+		goto xmLoadError;
+	}
+
+	// trim off spaces at end of name
+	for (k = 19; k >= 0; k--)
+	{
+		if (h.name[k] == ' ' || h.name[k] == 0x1A)
+			h.name[k] = '\0';
+		else
+			break;
+	}
+
+	memcpy(songTmp.name, h.name, 20);
+	songTmp.name[20] = '\0';
+
+	songTmp.len = h.len;
+	songTmp.repS = h.repS;
+	songTmp.antChn = (uint8_t)h.antChn;
+	songTmp.speed = h.defSpeed ? h.defSpeed : 125;
+	songTmp.tempo = h.defTempo ? h.defTempo : 6;
+	songTmp.ver = h.ver;
+	linearFreqTable = h.flags & 1;
+
+	songTmp.speed = CLAMP(songTmp.speed, 32, 255);
+	if (songTmp.tempo > 31)
+		songTmp.tempo = 31;
+
+	songTmp.initialTempo = songTmp.tempo;
+
+	if (songTmp.globVol > 64)
+		songTmp.globVol = 64;
+
+	if (songTmp.len == 0)
+		songTmp.len = 1; // songTmp.songTab is already empty
+	else
+		memcpy(songTmp.songTab, h.songTab, songTmp.len);
+
+	if (songTmp.ver < 0x0104)
+	{
+		// old FT2 format
+
+		for (i = 1; i <= h.antInstrs; i++)
+		{
+			if (!loadInstrHeader(f, i))
+			{
+				okBoxThreadSafe(0, "System message", "Error loading .xm: Either a corrupt or a non-supported module!");
+				goto xmLoadError;
+			}
+		}
+
+		if (!loadPatterns(f, h.antPtn))
+		{
+			// error message is shown inside loadPattern()
+			goto xmLoadError;
+		}
+
+		for (i = 1; i <= h.antInstrs; i++)
+		{
+			if (!loadInstrSample(f, i))
+			{
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				goto xmLoadError;
+			}
+		}
+	}
+	else
+	{
+		// current FT2 format
+
+		if (!loadPatterns(f, h.antPtn))
+		{
+			// error message is shown inside loadPattern()
+			goto xmLoadError;
+		}
+
+		for (i = 1; i <= h.antInstrs; i++)
+		{
+			if (!loadInstrHeader(f, i))
+			{
+				okBoxThreadSafe(0, "System message", "Error loading .xm: Either a corrupt or a non-supported module!");
+				goto xmLoadError;
+			}
+
+			if (!loadInstrSample(f, i))
+			{
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				goto xmLoadError;
+			}
+		}
+	}
+
+	if (stereoSamplesWarn)
+		okBoxThreadSafe(0, "System message", "Stereo samples were found and will be converted to mono.");
+
+	fclose(f);
+
+	moduleLoaded = true;
+	return true;
+
+xmLoadError:
+	fclose(f);
+	freeTmpModule();
+	moduleFailedToLoad = true;
+	return false;
+}
+
+void loadMusic(UNICHAR *filenameU)
+{
+	int32_t i;
+
+	if (musicIsLoading)
+		return;
+
+	mouseAnimOn();
+
+	musicIsLoading = true;
+	moduleLoaded = false;
+	moduleFailedToLoad = false;
+	loadedFormat = FORMAT_NONE;
+
+	UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+	// clear deprecated pointers from possible last loading session (super important)
+	memset(pattTmp,  0, sizeof (pattTmp));
+	memset(instrTmp, 0, sizeof (instrTmp));
+
+	// prevent stuck instrument names from previous module
+	memset(&songTmp, 0, sizeof (songTmp));
+
+	for (i = 0; i < MAX_PATTERNS; i++)
+		pattLensTmp[i] = 64;
+
+	thread = SDL_CreateThread(loadMusicThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		editor.loadMusicEvent = EVENT_NONE;
+		okBox(0, "System message", "Couldn't create thread!");
+		musicIsLoading = false;
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static void freeTmpModule(void)
+{
+	uint16_t i;
+
+	// free all patterns
+	for (i = 0; i < MAX_PATTERNS; i++)
+	{
+		if (pattTmp[i] != NULL)
+		{
+			free(pattTmp[i]);
+			pattTmp[i] = NULL;
+		}
+	}
+
+	// free all samples
+	for (i = 1; i <= MAX_INST; i++)
+	{
+		if (instrTmp[i] != NULL)
+		{
+			for (uint8_t j = 0; j < MAX_SMP_PER_INST; j++)
+			{
+				if (instrTmp[i]->samp[j].pek != NULL)
+					free(instrTmp[i]->samp[j].pek);
+			}
+
+			free(instrTmp[i]);
+			instrTmp[i] = NULL;
+		}
+	}
+}
+
+static bool loadInstrHeader(FILE *f, uint16_t i)
+{
+	int8_t k;
+	uint8_t j;
+	uint32_t readSize;
+	instrHeaderTyp ih;
+	sampleTyp *s;
+
+	memset(&ih, 0, INSTR_HEADER_SIZE);
+
+	fread(&ih.instrSize, 4, 1, f);
+
+	readSize = ih.instrSize;
+	if (readSize < 4 || readSize > INSTR_HEADER_SIZE)
+		readSize = INSTR_HEADER_SIZE;
+
+	// load instrument data into temp buffer
+	fread(ih.name, readSize - 4, 1, f); // -4 = skip ih.instrSize
+
+	// FT2 bugfix: skip instrument header data if instrSize is above INSTR_HEADER_SIZE
+	if (ih.instrSize > INSTR_HEADER_SIZE)
+		fseek(f, ih.instrSize - INSTR_HEADER_SIZE, SEEK_CUR);
+
+	if (ih.antSamp > MAX_SMP_PER_INST)
+		return false;
+
+	if (i <= MAX_INST)
+	{
+		// trim off spaces at end of name
+		for (k = 21; k >= 0; k--)
+		{
+			if (ih.name[k] == ' ' || ih.name[k] == 0x1A)
+				ih.name[k] = '\0';
+			else
+				break;
+		}
+
+		memcpy(songTmp.instrName[i], ih.name, 22);
+		songTmp.instrName[i][22] = '\0';
+	}
+
+	if (ih.antSamp > 0)
+	{
+		if (i <= MAX_INST)
+		{
+			if (!allocateTmpInstr(i))
+				return false;
+
+			// sanitize stuff for malicious instruments
+			ih.midiProgram = CLAMP(ih.midiProgram, 0, 127);
+			ih.midiBend = CLAMP(ih.midiBend, 0, 36);
+
+			if (ih.midiChannel > 15) ih.midiChannel = 15;
+			if (ih.mute != 1) ih.mute = 0;
+			if (ih.midiOn != 1) ih.midiOn = 0;
+			if (ih.vibDepth > 0x0F) ih.vibDepth = 0x0F;
+			if (ih.vibRate > 0x3F) ih.vibRate = 0x3F;
+			if (ih.vibTyp > 3) ih.vibTyp = 0;
+
+			for (j = 0; j < 96; j++)
+			{
+				if (ih.ta[j] > 15)
+					ih.ta[j] = 15;
+			}
+			// ----------------------------------------
+
+			// copy over final instrument data from temp buffer
+			memcpy(instrTmp[i], ih.ta, INSTR_SIZE);
+			instrTmp[i]->antSamp = ih.antSamp;
+
+			if (instrTmp[i]->envVPAnt > 12) instrTmp[i]->envVPAnt = 12;
+			if (instrTmp[i]->envVRepS > 11) instrTmp[i]->envVRepS = 11;
+			if (instrTmp[i]->envVRepE > 11) instrTmp[i]->envVRepE = 11;
+			if (instrTmp[i]->envVSust > 11) instrTmp[i]->envVSust = 11;
+			if (instrTmp[i]->envPPAnt > 12) instrTmp[i]->envPPAnt = 12;
+			if (instrTmp[i]->envPRepS > 11) instrTmp[i]->envPRepS = 11;
+			if (instrTmp[i]->envPRepE > 11) instrTmp[i]->envPRepE = 11;
+			if (instrTmp[i]->envPSust > 11) instrTmp[i]->envPSust = 11;
+		}
+
+		if (fread(ih.samp, ih.antSamp * sizeof (sampleHeaderTyp), 1, f) != 1)
+			return false;
+
+		if (i <= MAX_INST)
+		{
+			for (j = 0; j < ih.antSamp; j++)
+			{
+				s = &instrTmp[i]->samp[j];
+				memcpy(s, &ih.samp[j], 12+4+24);
+				// s->pek is set up later
+
+				// trim off spaces at end of name
+				for (k = 21; k >= 0; k--)
+				{
+					if (s->name[k] == ' ' || s->name[k] == 0x1A)
+						s->name[k] = '\0';
+					else
+						break;
+				}
+
+				// sanitize stuff for malicious modules
+				if (s->vol > 64)
+					s->vol = 64;
+
+				s->relTon = CLAMP(s->relTon, -48, 71);
+			}
+		}
+	}
+
+	return true;
+}
+
+static void checkSampleRepeat(sampleTyp *s)
+{
+	if (s->repS < 0) s->repS = 0;
+	if (s->repL < 0) s->repL = 0;
+	if (s->repS > s->len) s->repS = s->len;
+	if (s->repS+s->repL > s->len) s->repL = s->len - s->repS;
+	if (s->repL == 0) s->typ &= ~3; // non-FT2 fix: force loop off if looplen is 0
+}
+
+static bool loadInstrSample(FILE *f, uint16_t i)
+{
+	int8_t *newPtr;
+	uint16_t j, k;
+	int32_t l, bytesToSkip;
+	sampleTyp *s;
+
+	if (i > MAX_INST || instrTmp[i] == NULL)
+		return true; // yes, let's just pretend they got loaded
+
+	k = instrTmp[i]->antSamp;
+	for (j = 0; j < k; j++)
+	{
+		s = &instrTmp[i]->samp[j];
+
+		// if a sample has both forward loop and pingpong loop set, make it pingpong loop only (FT2 behavior)
+		if ((s->typ & 3) == 3)
+			s->typ &= 0xFE;
+
+		l = s->len;
+		if (l <= 0)
+		{
+			s->pek = NULL;
+			s->len = 0;
+			s->repL = 0;
+			s->repS = 0;
+
+			if (s->typ & 32)
+				s->typ &= ~32; // remove stereo flag
+		}
+		else
+		{
+			bytesToSkip = 0;
+			if (l > MAX_SAMPLE_LEN)
+			{
+				bytesToSkip = l - MAX_SAMPLE_LEN;
+				l = MAX_SAMPLE_LEN;
+			}
+
+			s->pek = (int8_t *)malloc(l + LOOP_FIX_LEN);
+			if (s->pek == NULL)
+				return false;
+
+			if (fread(s->pek, l, 1, f) != 1)
+				return false;
+
+			if (bytesToSkip > 0)
+				fseek(f, bytesToSkip, SEEK_CUR);
+
+			delta2Samp(s->pek, l, s->typ);
+
+			if (s->typ & 32) // stereo sample - already downmixed to mono in delta2samp()
+			{
+				s->typ &= ~32; // remove stereo flag
+
+				s->len /= 2;
+				s->repL /= 2;
+				s->repS /= 2;
+
+				newPtr = (int8_t *)realloc(s->pek, s->len + LOOP_FIX_LEN);
+				if (newPtr != NULL)
+					s->pek = newPtr;
+
+				stereoSamplesWarn = true;
+			}
+		}
+
+		// NON-FT2 FIX: Align to 2-byte if 16-bit sample
+		if (s->typ & 16)
+		{
+			s->repL &= 0xFFFFFFFE;
+			s->repS &= 0xFFFFFFFE;
+			s->len &= 0xFFFFFFFE;
+		}
+
+		checkSampleRepeat(s);
+		fixSample(s);
+	}
+
+	return true;
+}
+
+void unpackPatt(uint8_t *dst, uint16_t inn, uint16_t len, uint8_t antChn)
+{
+	uint8_t note, data, *src;
+	int32_t srcEnd, srcIdx;
+
+	if (dst == NULL)
+		return;
+
+	src = dst + inn;
+	srcEnd = len * TRACK_WIDTH;
+	srcIdx = 0;
+
+	for (int32_t i = 0; i < len; i++)
+	{
+		for (int32_t j = 0; j < antChn; j++)
+		{
+			if (srcIdx >= srcEnd)
+				return; // error!
+
+			note = *src++;
+			if (note & 0x80)
+			{
+				data = 0; if (note & 0x01) data = *src++; *dst++ = data;
+				data = 0; if (note & 0x02) data = *src++; *dst++ = data;
+				data = 0; if (note & 0x04) data = *src++; *dst++ = data;
+				data = 0; if (note & 0x08) data = *src++; *dst++ = data;
+				data = 0; if (note & 0x10) data = *src++; *dst++ = data;
+			}
+			else
+			{
+				*dst++ = note;
+				*dst++ = *src++;
+				*dst++ = *src++;
+				*dst++ = *src++;
+				*dst++ = *src++;
+			}
+
+			// if note is overflowing (>97), remove it
+			if (*(dst-5) > 97)
+				*(dst-5) = 0;
+
+			// non-FT2 security fix: if effect is above 35 (Z), clear effect and parameter
+			if (*(dst-2) > 35)
+			{
+				*(dst-2) = 0;
+				*(dst-1) = 0;
+			}
+
+			srcIdx += sizeof (tonTyp);
+		}
+
+		// skip unused channels
+		dst += sizeof (tonTyp) * (MAX_VOICES - antChn);
+	}
+}
+
+static bool tmpPatternEmpty(uint16_t nr)
+{
+	uint8_t *scanPtr;
+	uint32_t scanLen;
+
+	if (pattTmp[nr] == NULL)
+		return true;
+
+	scanPtr = (uint8_t *)pattTmp[nr];
+	scanLen = pattLensTmp[nr] * TRACK_WIDTH;
+
+	for (uint32_t i = 0; i < scanLen; i++)
+	{
+		if (scanPtr[i] != 0)
+			return false;
+	}
+
+	return true;
+}
+
+void clearUnusedChannels(tonTyp *p, int16_t pattLen, uint8_t antChn)
+{
+	if (p == NULL || antChn >= MAX_VOICES)
+		return;
+
+	for (int32_t i = 0; i < pattLen; i++)
+		memset(&p[(i * MAX_VOICES) + antChn], 0, sizeof (tonTyp) * (MAX_VOICES - antChn));
+}
+
+static bool loadPatterns(FILE *f, uint16_t antPtn)
+{
+	bool pattLenWarn;
+	uint8_t tmpLen, *pattPtr;
+	uint16_t i, a;
+	patternHeaderTyp ph;
+
+	pattLenWarn = false;
+
+	for (i = 0; i < antPtn; i++)
+	{
+		if (fread(&ph.patternHeaderSize, 4, 1, f) != 1)
+			goto pattCorrupt;
+
+		if (fread(&ph.typ, 1, 1, f) != 1)
+			goto pattCorrupt;
+
+		ph.pattLen = 0;
+		if (songTmp.ver == 0x0102)
+		{
+			if (fread(&tmpLen, 1, 1, f) != 1)
+				goto pattCorrupt;
+
+			if (fread(&ph.dataLen, 2, 1, f) != 1)
+				goto pattCorrupt;
+
+			ph.pattLen = tmpLen + 1; // +1 in v1.02
+
+			if (ph.patternHeaderSize > 8)
+				fseek(f, ph.patternHeaderSize - 8, SEEK_CUR);
+		}
+		else
+		{
+			if (fread(&ph.pattLen, 2, 1, f) != 1)
+				goto pattCorrupt;
+
+			if (fread(&ph.dataLen, 2, 1, f) != 1)
+				goto pattCorrupt;
+
+			if (ph.patternHeaderSize > 9)
+				fseek(f, ph.patternHeaderSize - 9, SEEK_CUR);
+		}
+
+		if (feof(f))
+			goto pattCorrupt;
+
+		pattLensTmp[i] = ph.pattLen;
+
+		if (ph.dataLen > 0)
+		{
+			a = ph.pattLen * TRACK_WIDTH;
+
+			pattTmp[i] = (tonTyp *)malloc(a + 16); // + 16 = a little extra for safety
+			if (pattTmp[i] == NULL)
+			{
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				return false;
+			}
+
+			pattPtr = (uint8_t *)pattTmp[i];
+			memset(pattPtr, 0, a);
+
+			if (fread(&pattPtr[a - ph.dataLen], 1, ph.dataLen, f) != ph.dataLen)
+				goto pattCorrupt;
+
+			unpackPatt(pattPtr, a - ph.dataLen, ph.pattLen, songTmp.antChn);
+			clearUnusedChannels(pattTmp[i], pattLensTmp[i], songTmp.antChn);
+		}
+
+		if (tmpPatternEmpty(i))
+		{
+			if (pattTmp[i] != NULL)
+			{
+				free(pattTmp[i]);
+				pattTmp[i] = NULL;
+			}
+
+			pattLensTmp[i] = 64;
+		}
+
+		if (pattLensTmp[i] > 256)
+		{
+			pattLensTmp[i] = 64;
+			pattLenWarn = true;
+		}
+	}
+
+	if (pattLenWarn)
+		okBoxThreadSafe(0, "System message", "The module contains pattern lengths above 256! They will be set to 64.");
+
+	return true;
+
+pattCorrupt:
+	okBoxThreadSafe(0, "System message", "Error loading .xm: Either a corrupt or a non-supported module!");
+	return false;
+}
+
+// called from input/video thread after the module was done loading
+static void setupLoadedModule(void)
+{
+	int16_t i;
+
+	lockMixerCallback();
+
+	freeAllInstr();
+	freeAllPatterns();
+
+	oldPlayMode = playMode;
+	playMode = PLAYMODE_IDLE;
+	songPlaying = false;
+
+	editor.currVolEnvPoint = 0;
+	editor.currPanEnvPoint = 0;
+	midi.currMIDIVibDepth = 0;
+	midi.currMIDIPitch = 0;
+
+	memset(editor.keyOnTab, 0, sizeof (editor.keyOnTab));
+
+	// copy over new pattern pointers and lengths
+	for (i = 0; i < MAX_PATTERNS; i++)
+	{
+		patt[i] = pattTmp[i];
+		pattLens[i] = pattLensTmp[i];
+	}
+
+	// copy over new instruments (includes sample pointers)
+	for (i = 1; i <= MAX_INST; i++)
+	{
+		instr[i] = instrTmp[i];
+		fixSampleName(i);
+	}
+
+	// copy over song struct
+	memcpy(&song, &songTmp, sizeof (songTyp));
+	fixSongName();
+
+	// we are the owners of the allocated memory ptrs set by the loader thread now
+
+	// support non-even channel numbers
+	if (song.antChn & 1)
+	{
+		if (++song.antChn > MAX_VOICES)
+			song.antChn = MAX_VOICES;
+	}
+
+	if (song.repS > song.len)
+		song.repS = 0;
+
+	song.globVol = 64;
+	song.timer = 1;
+
+	setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+	setScrollBarPos(SB_POS_ED, 0, false);
+
+	resetChannels();
+	refreshScopes();
+	setPos(0, 0);
+	setSpeed(song.speed);
+
+	editor.tmpPattern = editor.editPattern; // set kludge variable
+	editor.speed = song.speed;
+	editor.tempo = song.tempo;
+	editor.timer = 1;
+	editor.globalVol = song.globVol;
+
+	setFrqTab((loadedFormat == FORMAT_XM) ? linearFreqTable : false);
+	unlockMixerCallback();
+
+	exitTextEditing();
+	updateTextBoxPointers();
+	resetChannelOffset();
+	updateChanNums();
+	resetWavRenderer();
+	clearPattMark();
+	song.musicTime = 0;
+	resetTrimSizes();
+
+	diskOpSetFilename(DISKOP_ITEM_MODULE, editor.tmpFilenameU);
+
+	// redraw top part of screen
+	if (editor.ui.extended)
+	{
+		// first exit extended mode, then re-enter
+		togglePatternEditorExtended();
+		togglePatternEditorExtended();
+	}
+	else
+	{
+		// redraw top screen
+		hideTopScreen();
+		showTopScreen(true);
+	}
+
+	updateSampleEditorSample();
+	showBottomScreen(); // redraw bottom screen (also redraws pattern editor)
+
+	if (editor.ui.instEditorShown)
+		drawPiano(); // redraw piano now (since if playing = wait for next tick update)
+
+	removeSongModifiedFlag();
+
+	moduleFailedToLoad = false;
+	moduleLoaded = false;
+	editor.loadMusicEvent = EVENT_NONE;
+}
+
+bool handleModuleLoadFromArg(int argc, char **argv)
+{
+	int32_t filesize;
+	uint32_t filenameLen;
+	UNICHAR *filenameU, tmpPathU[PATH_MAX + 2];
+
+	// this is crude, we always expect only one parameter, and that it is the module.
+
+	if (argc != 2)
+		return false;
+
+#ifdef __APPLE__
+	if (argc == 2 && !strncmp(argv[1], "-psn_", 5))
+		return false; // OS X < 10.9 passes a -psn_x_xxxxx parameter on double-click launch
+#endif
+
+	filenameLen = (uint32_t)strlen(argv[1]);
+
+	filenameU = (UNICHAR *)calloc((filenameLen + 1), sizeof (UNICHAR));
+	if (filenameU == NULL)
+	{
+		okBox(0, "System message", "Not enough memory!");
+		return false;
+	}
+
+#ifdef _WIN32
+	MultiByteToWideChar(CP_UTF8, 0, argv[1], -1, filenameU, filenameLen);
+#else
+	strcpy(filenameU, argv[1]);
+#endif
+
+	// store old path
+	UNICHAR_GETCWD(tmpPathU, PATH_MAX);
+
+	// set binary path
+	UNICHAR_CHDIR(editor.binaryPathU);
+
+	filesize = getFileSize(filenameU);
+
+	if (filesize == -1) // >2GB
+	{
+		okBox(0, "System message", "The file is too big and can't be loaded (over 2GB).");
+		goto argLoadErr;
+	}
+
+	if (filesize >= 128L*1024*1024) // 128MB
+	{
+		if (okBox(2, "System request", "Are you sure you want to load such a big file?") != 1)
+			goto argLoadErr;
+	}
+
+	editor.loadMusicEvent = EVENT_LOADMUSIC_ARGV;
+	loadMusic(filenameU);
+	
+	UNICHAR_CHDIR(tmpPathU); // set old path back
+	free(filenameU);
+	return true;
+
+argLoadErr:
+	UNICHAR_CHDIR(tmpPathU); // set old path back
+	free(filenameU);
+	return false;
+}
+
+void loadDroppedFile(char *fullPathUTF8, bool songModifiedCheck)
+{
+	int32_t fullPathLen, filesize;
+	UNICHAR *fullPathU;
+
+	if (editor.ui.sysReqShown || fullPathUTF8 == NULL)
+		return;
+
+	fullPathLen = (int32_t)strlen(fullPathUTF8);
+	if (fullPathLen == 0)
+		return;
+
+	fullPathU = (UNICHAR *)calloc(fullPathLen + 2, sizeof (UNICHAR));
+	if (fullPathU == NULL)
+	{
+		okBox(0, "System message", "Not enough memory!");
+		return;
+	}
+
+#ifdef _WIN32
+	MultiByteToWideChar(CP_UTF8, 0, fullPathUTF8, -1, fullPathU, fullPathLen);
+#else
+	strcpy(fullPathU, fullPathUTF8);
+#endif
+
+	filesize = getFileSize(fullPathU);
+
+	if (filesize == -1) // >2GB
+	{
+		okBox(0, "System message", "The file is too big and can't be loaded (over 2GB).");
+		free(fullPathU);
+		return;
+	}
+
+	if (filesize >= 128L*1024*1024) // 128MB
+	{
+		if (okBox(2, "System request", "Are you sure you want to load such a big file?") != 1)
+		{
+			free(fullPathU);
+			return;
+		}
+	}
+
+	// pass UTF8 to these tests so that we can test file ending in ASCII/ANSI
+
+	if (fileIsInstrument(fullPathUTF8))
+	{
+		loadInstr(fullPathU);
+	}
+	else if (fileIsSample(fullPathUTF8))
+	{
+		loadSample(fullPathU, editor.curSmp, false);
+	}
+	else
+	{
+		SDL_RestoreWindow(video.window);
+
+		if (songModifiedCheck && song.isModified)
+		{
+			// de-minimize window and set focus so that the user sees the message box
+			SDL_RestoreWindow(video.window);
+			SDL_RaiseWindow(video.window);
+
+			if (okBox(2, "System request", "You have unsaved changes in your song. Load new song and lose all changes?") != 1)
+			{
+				free(fullPathU);
+				return;
+			}
+		}
+
+		editor.loadMusicEvent = EVENT_LOADMUSIC_DRAGNDROP;
+		loadMusic(fullPathU);
+	}
+
+	free(fullPathU);
+}
+
+static void handleOldPlayMode(void)
+{
+	playMode = oldPlayMode;
+	if (oldPlayMode != PLAYMODE_IDLE && oldPlayMode != PLAYMODE_EDIT)
+		startPlaying(oldPlayMode, 0);
+
+	songPlaying = (playMode >= PLAYMODE_SONG);
+}
+
+// called from input/video thread after module load thread was finished
+void handleLoadMusicEvents(void)
+{
+	if (!moduleLoaded && !moduleFailedToLoad)
+		return; // no event to handle
+
+	if (moduleFailedToLoad)
+	{
+		// module failed to load from loading thread
+		musicIsLoading = false;
+		moduleFailedToLoad = false;
+		moduleLoaded = false;
+		editor.loadMusicEvent = EVENT_NONE;
+		setMouseBusy(false);
+		return;
+	}
+
+	if (moduleLoaded)
+	{
+		// module was successfully loaded from loading thread
+
+		switch (editor.loadMusicEvent)
+		{
+			// module dragged and dropped *OR* user double clicked a file associated with FT2 clone
+			case EVENT_LOADMUSIC_DRAGNDROP:
+			{
+				setupLoadedModule();
+				if (editor.autoPlayOnDrop)
+					startPlaying(PLAYMODE_SONG, 0);
+				else
+					handleOldPlayMode();
+			}
+			break;
+
+			// filename passed as an exe argument *OR* user double clicked a file associated with FT2 clone
+			case EVENT_LOADMUSIC_ARGV:
+			{
+				setupLoadedModule();
+				startPlaying(PLAYMODE_SONG, 0);
+			}
+			break;
+
+			// module filename pressed in Disk Op.
+			case EVENT_LOADMUSIC_DISKOP:
+			{
+				setupLoadedModule();
+				handleOldPlayMode();
+			}
+			break;
+
+			default: break;
+		}
+
+		moduleLoaded = false;
+		editor.loadMusicEvent = EVENT_NONE;
+		musicIsLoading = false;
+		mouseAnimOff();
+	}
+}
--- /dev/null
+++ b/src/ft2_module_loader.h
@@ -1,0 +1,12 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_unicode.h"
+
+void loadMusic(UNICHAR *filenameU);
+bool handleModuleLoadFromArg(int argc, char **argv);
+void loadDroppedFile(char *fullPathUTF8, bool songModifiedCheck);
+void handleLoadMusicEvents(void);
+void clearUnusedChannels(tonTyp *p, int16_t pattLen, uint8_t antChn);
+void unpackPatt(uint8_t *dst, uint16_t inn, uint16_t len, uint8_t antChn);
--- /dev/null
+++ b/src/ft2_module_saver.c
@@ -1,0 +1,652 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_audio.h"
+#include "ft2_gui.h"
+#include "ft2_mouse.h"
+#include "ft2_sample_ed.h"
+#include "ft2_module_loader.h"
+
+/* These savers are directly ported, so they should act identical to FT2
+** except for some very minor changes. */
+
+static SDL_Thread *thread;
+
+static uint16_t packPatt(uint8_t *pattPtr, uint16_t numRows);
+
+// ft2_replayer.c
+extern const char modSig[32][5];
+extern const uint16_t amigaPeriod[12*8];
+
+bool saveXM(UNICHAR *filenameU)
+{
+	uint8_t *pattPtr;
+	int16_t ap, ai, i, j, k, a;
+	uint16_t b, c;
+	size_t result;
+	songHeaderTyp h;
+	patternHeaderTyp ph;
+	instrHeaderTyp ih;
+	sampleTyp *srcSmp;
+	sampleHeaderTyp *dstSmp;
+	FILE *f;
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Error opening file for saving, is it in use?");
+		return false;
+	}
+
+	memcpy(h.sig, "Extended Module: ", 17);
+	memset(h.name, ' ', 20);
+	h.name[20] = 0x1A;
+	memcpy(h.name, song.name, strlen(song.name));
+	memcpy(h.progName, PROG_NAME_STR, 20);
+	h.ver = 0x0104;
+	h.headerSize = 20 + 256;
+	h.len = song.len;
+	h.repS = song.repS;
+	h.antChn = song.antChn;
+	h.defTempo = song.tempo;
+	h.defSpeed = song.speed;
+
+	// count number of patterns
+	ap = MAX_PATTERNS;
+	do
+	{
+		if (patternEmpty(ap - 1))
+			ap--;
+		else
+			break;
+	}
+	while (ap > 0);
+	h.antPtn = ap;
+
+	// count number of instruments
+	ai = 128;
+	while (ai > 0 && getUsedSamples(ai) == 0 && song.instrName[ai][0] == '\0')
+		ai--;
+	h.antInstrs = ai;
+
+	h.flags = linearFrqTab;
+	memcpy(h.songTab, song.songTab, sizeof (song.songTab));
+
+	if (fwrite(&h, sizeof (h), 1, f) != 1)
+	{
+		fclose(f);
+		okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+		return false;
+	}
+
+	for (i = 0; i < ap; i++)
+	{
+		if (patternEmpty(i))
+		{
+			if (patt[i] != NULL)
+			{
+				free(patt[i]);
+				patt[i] = NULL;
+			}
+
+			pattLens[i] = 64;
+		}
+
+		ph.patternHeaderSize = sizeof (patternHeaderTyp);
+		ph.pattLen = pattLens[i];
+		ph.typ = 0;
+
+		if (patt[i] == NULL)
+		{
+			ph.dataLen = 0;
+			if (fwrite(&ph, ph.patternHeaderSize, 1, f) != 1)
+			{
+				fclose(f);
+				okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+				return false;
+			}
+		}
+		else
+		{
+			c = packPatt((uint8_t *)patt[i], pattLens[i]);
+			b = pattLens[i] * TRACK_WIDTH;
+			ph.dataLen = c;
+
+			result = fwrite(&ph, ph.patternHeaderSize, 1, f);
+			result += fwrite(patt[i], ph.dataLen, 1, f);
+
+			pattPtr = (uint8_t *)patt[i];
+
+			memcpy(&pattPtr[b-c], patt[i], c);
+			unpackPatt(pattPtr, b - c, pattLens[i], song.antChn);
+			clearUnusedChannels(patt[i], pattLens[i], song.antChn);
+
+			if (result != 2) // write was not OK
+			{
+				fclose(f);
+				okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+				return false;
+			}
+		}
+	}
+
+	for (i = 1; i <= ai; i++)
+	{
+		if (instr[i] == NULL)
+			j = 0;
+		else
+			j = i;
+
+		a = getUsedSamples(i);
+
+		memset(ih.name, 0, 22);
+		memcpy(ih.name, song.instrName[i], strlen(song.instrName[i]));
+
+		ih.typ = 0;
+		ih.antSamp = a;
+		ih.sampleSize = sizeof (sampleHeaderTyp);
+
+		if (a > 0)
+		{
+			memcpy(ih.ta, instr[j], INSTR_SIZE);
+			ih.instrSize = INSTR_HEADER_SIZE;
+			
+			for (k = 1; k <= a; k++)
+			{
+				srcSmp = &instr[j]->samp[k-1];
+				dstSmp = &ih.samp[k-1];
+
+				memset(dstSmp->name, ' ', 22);
+
+				memcpy(dstSmp, srcSmp, 12+4+2 + strlen(srcSmp->name));
+				if (srcSmp->pek == NULL)
+					dstSmp->len = 0;
+			}
+		}
+		else
+		{
+			ih.instrSize = 22 + 11;
+		}
+
+		if (fwrite(&ih, ih.instrSize + (a * sizeof (sampleHeaderTyp)), 1, f) != 1)
+		{
+			fclose(f);
+			okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+			return false;
+		}
+
+		for (k = 1; k <= a; k++)
+		{
+			srcSmp = &instr[j]->samp[k-1];
+			if (srcSmp->pek != NULL)
+			{
+				restoreSample(srcSmp);
+				samp2Delta(srcSmp->pek, srcSmp->len, srcSmp->typ);
+
+				result = fwrite(srcSmp->pek, 1, srcSmp->len, f);
+
+				delta2Samp(srcSmp->pek, srcSmp->len, srcSmp->typ);
+				fixSample(srcSmp);
+
+				if (result != (size_t)srcSmp->len) // write not OK
+				{
+					fclose(f);
+					okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+					return false;
+				}
+			}
+		}
+	}
+
+	removeSongModifiedFlag();
+
+	fclose(f);
+
+	editor.diskOpReadDir = true; // force diskop re-read
+
+	setMouseBusy(false);
+	return true;
+}
+
+static bool saveMOD(UNICHAR *filenameU)
+{
+	bool test, tooManyInstr, incompatEfx, noteUnderflow;
+	int8_t *srcPtr, *dstPtr;
+	uint8_t ton, inst, pattBuff[64*4*32];
+	int16_t a, i, ap;
+	int32_t j, k, l1, l2, l3, writeLen, bytesToWrite, bytesWritten;
+	FILE *f;
+	instrTyp *ins;
+	sampleTyp *smp;
+	tonTyp *t;
+	songMOD31HeaderTyp hm;
+
+	tooManyInstr = false;
+	incompatEfx = false;
+	noteUnderflow = false;
+
+	if (linearFrqTab)
+		okBoxThreadSafe(0, "System message", "Linear frequency table used!");
+
+	// sanity checking
+
+	test = false;
+	if (song.len > 128)
+		test = true;
+
+	for (i = 100; i < 256; i++)
+	{
+		if (patt[i] != NULL)
+		{
+			test = true;
+			break;
+		}
+	}
+	if (test) okBoxThreadSafe(0, "System message", "Too many patterns!");
+
+	for (i = 32; i <= 128; i++)
+	{
+		if (getRealUsedSamples(i) > 0)
+		{
+			okBoxThreadSafe(0, "System message", "Too many instruments!");
+			break;
+		}
+	}
+
+	test = false;
+	for (i = 1; i <= 31; i++)
+	{
+		ins = instr[i];
+		if (ins == NULL)
+			continue;
+
+		smp = &ins->samp[0];
+
+		j = getRealUsedSamples(i);
+		if (j > 1)
+		{
+			test = true;
+			break;
+		}
+
+		if (j == 1)
+		{
+			if (smp->len > 65534 || ins->fadeOut != 0 || ins->envVTyp != 0 || ins->envPTyp != 0 ||
+				(smp->typ & 3) == 2 || smp->relTon != 0 || ins->midiOn)
+			{
+				test = true;
+				break;
+			}
+		}
+	}
+	if (test) okBoxThreadSafe(0, "System message", "Incompatible instruments!");
+
+	for (i = 0; i < 99; i++)
+	{
+		if (patt[i] != NULL)
+		{
+			if (pattLens[i] != 64)
+			{
+				okBoxThreadSafe(0, "System message", "Unable to convert module. (Illegal pattern length)");
+				return false;
+			}
+
+			for (j = 0; j < 64; j++)
+			{
+				for (k = 0; k < song.antChn; k++)
+				{
+					t = &patt[i][(j * MAX_VOICES) + k];
+
+					if (t->instr > 31)
+						tooManyInstr = true;
+
+					if (t->effTyp > 15 || t->vol != 0)
+						incompatEfx = true;
+
+					// added security that wasn't present in FT2
+					if (t->ton > 0 && t->ton < 10)
+						noteUnderflow = true;
+				}
+			}
+		}
+	}
+	if (tooManyInstr)  okBoxThreadSafe(0, "System message", "Instrument(s) above 31 was found in pattern data!");
+	if (incompatEfx)   okBoxThreadSafe(0, "System message", "Incompatible effect(s) was found in pattern data!");
+	if (noteUnderflow) okBoxThreadSafe(0, "System message", "Note(s) below A-0 were found in pattern data!");
+
+	// setup header buffer
+	memset(&hm, 0, sizeof (hm));
+	memcpy(hm.name, song.name, sizeof (hm.name));
+	hm.len = (uint8_t)song.len;
+	if (hm.len > 128) hm.len = 128;
+	hm.repS = (uint8_t)song.repS;
+	if (hm.repS > 127) hm.repS = 0;
+	memcpy(hm.songTab, song.songTab, song.len);
+
+	// calculate number of patterns
+	ap = 0;
+	for (i = 0; i < song.len; i++)
+	{
+		if (song.songTab[i] > ap)
+			ap = song.songTab[i];
+	}
+
+	if (song.antChn == 4)
+		memcpy(hm.sig, (ap > 64) ? "M!K!" : "M.K.", 4);
+	else
+		memcpy(hm.sig, modSig[song.antChn-1], 4);
+
+	// read sample information into header buffer
+	for (i = 1; i <= 31; i++)
+	{
+		songMODInstrHeaderTyp *modIns = &hm.instr[i-1];
+
+		memcpy(modIns->name, song.instrName[i], sizeof (modIns->name));
+		if (instr[i] != NULL && getRealUsedSamples(i) != 0)
+		{
+			smp = &instr[i]->samp[0];
+
+			l1 = smp->len / 2;
+			l2 = smp->repS / 2;
+			l3 = smp->repL / 2;
+
+			if (smp->typ & 16)
+			{
+				l1 /= 2;
+				l2 /= 2;
+				l3 /= 2;
+			}
+
+			if (l1 > 32767)
+				l1 = 32767;
+
+			if (l2 > l1)
+				l2 = l1;
+
+			if (l2+l3 > l1)
+				l3 = l1 - l2;
+
+			// FT2 bug-fix
+			if (l3 < 1)
+			{
+				l2 = 0;
+				l3 = 1;
+			}
+
+			modIns->len = (uint16_t)(SWAP16(l1));
+			modIns->fine = ((smp->fine + 128) >> 4) ^ 8;
+			modIns->vol = smp->vol;
+
+			if ((smp->typ & 3) == 0)
+			{
+				modIns->repS = 0;
+				modIns->repL = SWAP16(1);
+			}
+			else
+			{
+				modIns->repS = (uint16_t)(SWAP16(l2));
+				modIns->repL = (uint16_t)(SWAP16(l3));
+			}
+		}
+
+		// FT2 bugfix: never allow replen being below 2 (1)
+		if (SWAP16(modIns->repL) < 1)
+		{
+			modIns->repS = SWAP16(0);
+			modIns->repL = SWAP16(1);
+		}
+	}
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Error opening file for saving, is it in use?");
+		return false;
+	}
+
+	// write header
+	if (fwrite(&hm, 1, sizeof (hm), f) != sizeof (hm))
+	{
+		okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+		goto modSaveError;
+	}
+
+	// write pattern data
+	for (i = 0; i <= ap; i++)
+	{
+		if (patt[i] == NULL)
+		{
+			// empty pattern
+			memset(pattBuff, 0, song.antChn * (64 * 4));
+		}
+		else
+		{
+			a = 0;
+			for (j = 0; j < 64; j++)
+			{
+				for (k = 0; k < song.antChn; k++)
+				{
+					t = &patt[i][(j * MAX_VOICES) + k];
+
+					inst = t->instr;
+					ton = t->ton;
+
+					// FT2 bugfix: prevent overflow
+					if (inst > 31)
+						inst = 0;
+
+					// FT2 bugfix: convert note-off into no note
+					if (ton == 97)
+						ton = 0;
+
+					// FT2 bugfix: clamp notes below 10 (A-0) to prevent 12-bit period overflow
+					if (ton > 0 && ton < 10)
+						ton = 10;
+
+					if (ton == 0)
+					{
+						pattBuff[a+0] = inst & 0xF0;
+						pattBuff[a+1] = 0;
+					}
+					else
+					{
+						pattBuff[a+0] = (inst & 0xF0) | ((amigaPeriod[ton-1] >> 8) & 0x0F);
+						pattBuff[a+1] = amigaPeriod[ton-1] & 0xFF;
+					}
+
+					// FT2 bugfix: if effect is overflowing (0xF in .MOD), set effect and param to 0
+					if (t->effTyp > 0x0F)
+					{
+						pattBuff[a+2] = (inst & 0x0F) << 4;
+						pattBuff[a+3] = 0;
+					}
+					else
+					{
+						pattBuff[a+2] = ((inst & 0x0F) << 4) | (t->effTyp & 0x0F);
+						pattBuff[a+3] = t->eff;
+					}
+
+					a += 4;
+				}
+			}
+		}
+
+		if (fwrite(pattBuff, 1, song.antChn * (64 * 4), f) != (size_t)(song.antChn * (64 * 4)))
+		{
+			okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+			goto modSaveError;
+		}
+	}
+
+	// write sample data
+	for (i = 0; i < 31; i++)
+	{
+		if (instr[1+i] == NULL || getRealUsedSamples(1+i) == 0)
+			continue;
+
+		smp = &instr[1+i]->samp[0];
+		if (smp->pek == NULL || smp->len <= 0)
+			continue;
+
+		restoreSample(smp);
+
+		l1 = smp->len / 2;
+		if (smp->typ & 16) // 16-bit sample (convert to 8-bit)
+		{
+			if (l1 > 65534)
+				l1 = 65534;
+
+			// let's borrow "pattBuff" here
+			dstPtr = (int8_t *)pattBuff;
+
+			writeLen = l1;
+			bytesWritten = 0;
+			while (bytesWritten < writeLen) // write in 8K blocks
+			{
+	 			bytesToWrite = sizeof (pattBuff);
+				if (bytesWritten+bytesToWrite > writeLen)
+					bytesToWrite = writeLen - bytesWritten;
+
+				srcPtr = &smp->pek[(bytesWritten << 1) + 1]; // +1 to align to high byte
+				for (j = 0; j < bytesToWrite; j++)
+					dstPtr[j] = srcPtr[j << 1];
+
+				if (fwrite(dstPtr, 1, bytesToWrite, f) != (size_t)bytesToWrite)
+				{
+					fixSample(smp);
+					okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+					goto modSaveError;
+				}
+
+				bytesWritten += bytesToWrite;
+			}
+		}
+		else
+		{
+			// 8-bit sample
+
+			if (l1 > 32767)
+				l1 = 32767;
+			l1 *= 2;
+
+			if (fwrite(smp->pek, 1, l1, f) != (size_t)l1)
+			{
+				fixSample(smp);
+				okBoxThreadSafe(0, "System message", "Error saving module: general I/O error!");
+				goto modSaveError;
+			}
+		}
+
+		fixSample(smp);
+	}
+
+	fclose(f);
+	removeSongModifiedFlag();
+
+	editor.diskOpReadDir = true; // force diskop re-read
+
+	setMouseBusy(false);
+	return true;
+
+modSaveError:
+	fclose(f);
+	return false;
+}
+
+static int32_t SDLCALL saveMusicThread(void *ptr)
+{
+	(void)ptr;
+
+	assert(editor.tmpFilenameU != NULL);
+	if (editor.tmpFilenameU == NULL)
+		return false;
+
+	pauseAudio();
+
+	if (editor.moduleSaveMode == 1)
+		saveXM(editor.tmpFilenameU);
+	else
+		saveMOD(editor.tmpFilenameU);
+
+	resumeAudio();
+	return true;
+}
+
+void saveMusic(UNICHAR *filenameU)
+{
+	UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(saveMusicThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static uint16_t packPatt(uint8_t *pattPtr, uint16_t numRows)
+{
+	uint8_t bytes[5], packBits, *writePtr, *firstBytePtr;
+	uint16_t totalPackLen;
+
+	totalPackLen = 0;
+
+	if (pattPtr == NULL)
+		return 0;
+
+	writePtr = pattPtr;
+	for (uint16_t row = 0; row < numRows; row++)
+	{
+		for (uint16_t chn = 0; chn < song.antChn; chn++)
+		{
+			bytes[0] = *pattPtr++;
+			bytes[1] = *pattPtr++;
+			bytes[2] = *pattPtr++;
+			bytes[3] = *pattPtr++;
+			bytes[4] = *pattPtr++;
+
+			firstBytePtr = writePtr++;
+
+			packBits = 0;
+			if (bytes[0] > 0) { packBits |= 1; *writePtr++ = bytes[0]; } // note
+			if (bytes[1] > 0) { packBits |= 2; *writePtr++ = bytes[1]; } // instrument
+			if (bytes[2] > 0) { packBits |= 4; *writePtr++ = bytes[2]; } // volume column
+			if (bytes[3] > 0) { packBits |= 8; *writePtr++ = bytes[3]; } // effect
+
+			if (packBits == 15) // first four bits set?
+			{
+				// no packing needed, write pattern data as is
+
+				// point to first byte (and overwrite data)
+				writePtr = firstBytePtr;
+
+				*writePtr++ = bytes[0];
+				*writePtr++ = bytes[1];
+				*writePtr++ = bytes[2];
+				*writePtr++ = bytes[3];
+				*writePtr++ = bytes[4];
+
+				totalPackLen += 5;
+				continue;
+			}
+
+			if (bytes[4] > 0) { packBits |= 16; *writePtr++ = bytes[4]; } // effect parameter
+
+			*firstBytePtr = packBits | 128; // write pack bits byte
+			totalPackLen += (uint16_t)(writePtr - firstBytePtr); // bytes writen
+		}
+
+		// skip unused channels
+		pattPtr += sizeof (tonTyp) * (MAX_VOICES - song.antChn);
+	}
+
+	return totalPackLen;
+}
--- /dev/null
+++ b/src/ft2_module_saver.h
@@ -1,0 +1,8 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_unicode.h"
+
+void saveMusic(UNICHAR *filenameU);
+bool saveXM(UNICHAR *filenameU);
--- /dev/null
+++ b/src/ft2_mouse.c
@@ -1,0 +1,730 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_video.h"
+#include "ft2_scopes.h"
+#include "ft2_help.h"
+#include "ft2_sample_ed.h"
+#include "ft2_inst_ed.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_mouse.h"
+#include "ft2_config.h"
+#include "ft2_diskop.h"
+#include "ft2_gfxdata.h"
+#include "ft2_audioselector.h"
+#include "ft2_midi.h"
+
+static bool mouseBusyGfxBackwards;
+static int16_t mouseShape;
+static int32_t mouseModeGfxOffs, mouseBusyGfxFrame;
+
+static SDL_Cursor *cArrow, *cIBeam, *cBusy;
+
+void freeSDL2Cursors(void)
+{
+	if (cArrow != NULL)
+	{
+		SDL_FreeCursor(cArrow);
+		cArrow = NULL;
+	}
+
+	if (cIBeam != NULL)
+	{
+		SDL_FreeCursor(cIBeam);
+		cIBeam = NULL;
+	}
+
+	if (cBusy != NULL)
+	{
+		SDL_FreeCursor(cBusy);
+		cBusy = NULL;
+	}
+
+}
+
+void createSDL2Cursors(void)
+{
+	cArrow = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_ARROW);
+	cIBeam = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_IBEAM);
+	cBusy = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_WAIT);
+}
+
+void setMousePosToCenter(void)
+{
+	if (video.fullscreen)
+	{
+		mouse.setPosX = video.displayW / 2;
+		mouse.setPosY = video.displayH / 2;
+	}
+	else
+	{
+		mouse.setPosX = video.renderW / 2;
+		mouse.setPosY = video.renderH / 2;
+	}
+
+	mouse.setPosFlag = true;
+}
+
+void animateBusyMouse(void)
+{
+	if (config.mouseAnimType == MOUSE_BUSY_SHAPE_CLOCK)
+	{
+		if ((editor.framesPassed % 7) == 6)
+		{
+			if (mouseBusyGfxBackwards)
+			{
+				if (--mouseBusyGfxFrame <= 0)
+				{
+					mouseBusyGfxFrame = 0;
+					mouseBusyGfxBackwards = false;
+				}
+			}
+			else
+			{
+				if (++mouseBusyGfxFrame >= MOUSE_CLOCK_ANI_FRAMES-1)
+				{
+					mouseBusyGfxFrame = MOUSE_CLOCK_ANI_FRAMES - 1;
+					mouseBusyGfxBackwards = true;
+				}
+			}
+
+			changeSpriteData(SPRITE_MOUSE_POINTER,
+				&mouseCursorBusyClock[(mouseBusyGfxFrame % MOUSE_CLOCK_ANI_FRAMES) * (MOUSE_CURSOR_W * MOUSE_CURSOR_H)]);
+		}
+	}
+	else
+	{
+		if ((editor.framesPassed % 5) == 4)
+		{
+			mouseBusyGfxFrame = (mouseBusyGfxFrame + 1) % MOUSE_GLASS_ANI_FRAMES;
+
+			changeSpriteData(SPRITE_MOUSE_POINTER,
+				&mouseCursorBusyGlass[mouseBusyGfxFrame * (MOUSE_CURSOR_W * MOUSE_CURSOR_H)]);
+		}
+	}
+}
+
+void setMouseShape(int16_t shape)
+{
+	const uint8_t *gfxPtr;
+
+	if (editor.busy)
+	{
+		if (config.mouseAnimType == MOUSE_BUSY_SHAPE_CLOCK)
+			gfxPtr = &mouseCursorBusyClock[(mouseBusyGfxFrame % MOUSE_GLASS_ANI_FRAMES) * (MOUSE_CURSOR_W * MOUSE_CURSOR_H)];
+		else
+			gfxPtr = &mouseCursorBusyGlass[(mouseBusyGfxFrame % MOUSE_CLOCK_ANI_FRAMES) * (MOUSE_CURSOR_W * MOUSE_CURSOR_H)];
+	}
+	else
+	{
+		gfxPtr = &mouseCursors[mouseModeGfxOffs];
+		switch (shape)
+		{
+			case MOUSE_IDLE_SHAPE_NICE:    gfxPtr += 0  * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); break;
+			case MOUSE_IDLE_SHAPE_UGLY:    gfxPtr += 1  * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); break;
+			case MOUSE_IDLE_SHAPE_AWFUL:   gfxPtr += 2  * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); break;
+			case MOUSE_IDLE_SHAPE_USABLE:  gfxPtr += 3  * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); break;
+			case MOUSE_IDLE_TEXT_EDIT:     gfxPtr += 12 * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); break;
+			default: return;
+		}
+	}
+
+	mouseShape = shape;
+	changeSpriteData(SPRITE_MOUSE_POINTER, gfxPtr);
+}
+
+static void setTextEditMouse(void)
+{
+	setMouseShape(MOUSE_IDLE_TEXT_EDIT);
+	mouse.xBias = -2;
+	mouse.yBias = -6;
+
+	if (config.specialFlags2 & HARDWARE_MOUSE && cIBeam != NULL)
+		SDL_SetCursor(cIBeam);
+}
+
+static void clearTextEditMouse(void)
+{
+	setMouseShape(config.mouseType);
+	mouse.xBias = 0;
+	mouse.yBias = 0;
+
+	if (config.specialFlags2 & HARDWARE_MOUSE && cArrow != NULL)
+		SDL_SetCursor(cArrow);
+}
+
+static void changeCursorIfOverTextBoxes(void)
+{
+	int16_t i, mx, my;
+	textBox_t *t;
+
+	mouse.mouseOverTextBox = false;
+	if (editor.busy || mouse.mode != MOUSE_MODE_NORMAL)
+		return;
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	for (i = 0; i < NUM_TEXTBOXES; i++)
+	{
+		if (editor.ui.sysReqShown && i > 0)
+			continue;
+
+		t = &textBoxes[i];
+		if (!t->visible)
+			continue;
+
+		if (!t->changeMouseCursor && (!editor.editTextFlag || i != mouse.lastEditBox))
+			continue; // some kludge of sorts
+
+		if (my >= t->y && my < t->y+t->h && mx >= t->x && mx < t->x+t->w)
+		{
+			mouse.mouseOverTextBox = true;
+			setTextEditMouse();
+			return;
+		}
+	}
+
+	// we're not inside a text edit box, set back mouse cursor
+	if (i == NUM_TEXTBOXES && mouseShape == MOUSE_IDLE_TEXT_EDIT)
+		clearTextEditMouse();
+}
+
+void setMouseMode(uint8_t mode)
+{
+	switch (mode)
+	{
+		case MOUSE_MODE_NORMAL: { mouse.mode = mode; mouseModeGfxOffs = 0 * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); } break;
+		case MOUSE_MODE_DELETE: { mouse.mode = mode; mouseModeGfxOffs = 4 * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); } break;
+		case MOUSE_MODE_RENAME: { mouse.mode = mode; mouseModeGfxOffs = 8 * (MOUSE_CURSOR_W * MOUSE_CURSOR_H); } break;
+
+		default: return;
+	}
+
+	setMouseShape(config.mouseType);
+}
+
+void resetMouseBusyAnimation(void)
+{
+	mouseBusyGfxBackwards = false;
+	mouseBusyGfxFrame = 0;
+}
+
+void setMouseBusy(bool busy) // can be called from other threads
+{
+	if (busy)
+	{
+		editor.ui.setMouseIdle = false;
+		editor.ui.setMouseBusy = true;
+	}
+	else
+	{
+		editor.ui.setMouseBusy = false;
+		editor.ui.setMouseIdle = true;
+	}
+}
+
+void mouseAnimOn(void)
+{
+	editor.ui.setMouseBusy = false;
+	editor.ui.setMouseIdle = false;
+
+	editor.busy = true;
+	setMouseShape(config.mouseAnimType);
+
+	if (config.specialFlags2 & HARDWARE_MOUSE && cBusy != NULL)
+		SDL_SetCursor(cBusy);
+}
+
+void mouseAnimOff(void)
+{
+	editor.ui.setMouseBusy = false;
+	editor.ui.setMouseIdle = false;
+
+	editor.busy = false;
+	setMouseShape(config.mouseType);
+
+	if (config.specialFlags2 & HARDWARE_MOUSE && cArrow != NULL)
+		SDL_SetCursor(cArrow);
+}
+
+static void mouseWheelDecRow(void)
+{
+	int16_t pattPos;
+
+	if (songPlaying)
+		return;
+
+	pattPos = editor.pattPos - 1;
+	if (pattPos < 0)
+		pattPos = pattLens[editor.editPattern] - 1;
+
+	setPos(-1, pattPos);
+}
+
+static void mouseWheelIncRow(void)
+{
+	int16_t pattPos;
+
+	if (songPlaying)
+		return;
+
+	pattPos = editor.pattPos + 1;
+	if (pattPos > (pattLens[editor.editPattern] - 1))
+		pattPos = 0;
+
+	setPos(-1, pattPos);
+}
+
+void mouseWheelHandler(bool directionUp)
+{
+	if (editor.ui.sysReqShown || editor.editTextFlag)
+		return;
+
+	if (editor.ui.extended)
+	{
+		if (mouse.y <= 52)
+		{
+			     if (mouse.x <= 111) directionUp ? decSongPos() : incSongPos();
+			else if (mouse.x >= 386) directionUp ?  decCurIns() :  incCurIns();
+		}
+		else
+		{
+			directionUp ? mouseWheelDecRow() : mouseWheelIncRow();
+		}
+
+		return;
+	}
+
+	if (mouse.y < 173)
+	{
+		// top screens
+
+		if (editor.ui.helpScreenShown)
+		{
+			// help screen
+
+			if (directionUp)
+			{
+				helpScrollUp();
+				helpScrollUp();
+			}
+			else
+			{
+				helpScrollDown();
+				helpScrollDown();
+			}
+		}
+		else if (editor.ui.diskOpShown)
+		{
+			// disk op - 3x speed
+			if (mouse.x <= 355)
+			{
+				if (directionUp)
+				{
+					pbDiskOpListUp();
+					pbDiskOpListUp();
+					pbDiskOpListUp();
+				}
+				else
+				{
+					pbDiskOpListDown();
+					pbDiskOpListDown();
+					pbDiskOpListDown();
+				}
+			}
+		}
+		else if (editor.ui.configScreenShown)
+		{
+			if (editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+			{
+				// audio device selectors
+				if (mouse.x >= 110 && mouse.x <= 355 && mouse.y <= 173)
+				{
+					if (mouse.y < 87)
+						directionUp ? scrollAudOutputDevListUp() : scrollAudOutputDevListDown();
+					else
+						directionUp ? scrollAudInputDevListUp() : scrollAudInputDevListDown();
+				}
+			}
+			else if (editor.currConfigScreen == CONFIG_SCREEN_MIDI_INPUT)
+			{
+				// midi input device selector
+				if (mouse.x >= 110 && mouse.x <= 503 && mouse.y <= 173)
+					directionUp ? scrollMidiInputDevListUp() : scrollMidiInputDevListDown();
+			}
+		}
+
+		if (!editor.ui.aboutScreenShown  && !editor.ui.helpScreenShown &&
+			!editor.ui.configScreenShown && !editor.ui.nibblesShown)
+		{
+			if (mouse.x >= 421 && mouse.y <= 173)
+			{
+				     if (mouse.y <= 93) directionUp ? decCurIns() : incCurIns();
+				else if (mouse.y >= 94) directionUp ? decCurSmp() : incCurSmp();
+			}
+			else if (!editor.ui.diskOpShown && mouse.x <= 111 && mouse.y <= 76)
+			{
+				directionUp ? decSongPos() : incSongPos();
+			}
+		}
+	}
+	else
+	{
+		// bottom screens
+
+		if (editor.ui.sampleEditorShown)
+		{
+			if (mouse.y >= 174 && mouse.y <= 328)
+				directionUp ? mouseZoomSampleDataIn() : mouseZoomSampleDataOut();
+		}
+		else if (editor.ui.patternEditorShown)
+		{
+			directionUp ? mouseWheelDecRow() : mouseWheelIncRow();
+		}
+	}
+}
+
+static bool testSamplerDataMouseDown(void)
+{
+	if (editor.ui.sampleEditorShown && mouse.y >= 174 && mouse.y <= 327 && editor.ui.sampleDataOrLoopDrag == -1)
+	{
+		handleSampleDataMouseDown(false);
+		return true;
+	}
+
+	return false;
+}
+
+static bool testPatternDataMouseDown(void)
+{
+	uint16_t y1, y2;
+
+	if (editor.ui.patternEditorShown)
+	{
+		y1 = editor.ui.extended ? 56 : 176;
+		y2 = editor.ui.pattChanScrollShown ? 382 : 396;
+
+		if (mouse.y >= y1 && mouse.y <= y2 && mouse.x >= 29 && mouse.x <= 602)
+		{
+			handlePatternDataMouseDown(false);
+			return true;
+		}
+	}
+
+	return false;
+}
+
+void mouseButtonUpHandler(uint8_t mouseButton)
+{
+#ifndef __APPLE__
+	if (!video.fullscreen) // release mouse button trap
+		SDL_SetWindowGrab(video.window, SDL_FALSE);
+#endif
+
+	if (mouseButton == SDL_BUTTON_LEFT)
+	{
+		mouse.leftButtonPressed = false;
+		mouse.leftButtonReleased = true;
+
+		if (editor.ui.leftLoopPinMoving)
+		{
+			setLeftLoopPinState(false);
+			editor.ui.leftLoopPinMoving = false;
+		}
+
+		if (editor.ui.rightLoopPinMoving)
+		{
+			setRightLoopPinState(false);
+			editor.ui.rightLoopPinMoving = false;
+		}
+	}
+	else if (mouseButton == SDL_BUTTON_RIGHT)
+	{
+		mouse.rightButtonPressed = false;
+		mouse.rightButtonReleased = true;
+
+		
+		if (editor.editSampleFlag)
+		{
+			// right mouse button released after hand-editing sample data
+			if (instr[editor.curInstr] != NULL)
+				fixSample(&instr[editor.curInstr]->samp[editor.curSmp]);
+
+			resumeAudio();
+
+			if (editor.ui.sampleEditorShown)
+				writeSample(true);
+
+			setSongModifiedFlag();
+			editor.editSampleFlag = false;
+		}
+
+	}
+
+	mouse.firstTimePressingButton = false;
+	mouse.buttonCounter = 0;
+	editor.textCursorBlinkCounter = 0;
+
+	// if we used both mouse button at the same time and released *one*, don't release GUI object
+	if ( mouse.leftButtonPressed && !mouse.rightButtonPressed) return;
+	if (!mouse.leftButtonPressed &&  mouse.rightButtonPressed) return;
+
+	if (editor.ui.sampleEditorShown)
+		testSmpEdMouseUp();
+
+	mouse.lastX = 0;
+	mouse.lastY = 0;
+
+	editor.ui.sampleDataOrLoopDrag = -1;
+
+	// check if we released a GUI object
+	testDiskOpMouseRelease();
+	testPushButtonMouseRelease(true);
+	testCheckBoxMouseRelease();
+	testScrollBarMouseRelease();
+	testRadioButtonMouseRelease();
+
+	// revert "delete/rename" mouse modes (disk op.)
+	if (mouse.lastUsedObjectID != PB_DISKOP_DELETE && mouse.lastUsedObjectID != PB_DISKOP_RENAME)
+	{
+		if (mouse.mode != MOUSE_MODE_NORMAL)
+			setMouseMode(MOUSE_MODE_NORMAL);
+	}
+
+	mouse.lastUsedObjectID = OBJECT_ID_NONE;
+	mouse.lastUsedObjectType = OBJECT_NONE;
+}
+
+void mouseButtonDownHandler(uint8_t mouseButton)
+{
+#ifndef __APPLE__
+	if (!video.fullscreen) // trap mouse pointer while holding down left and/or right button
+		SDL_SetWindowGrab(video.window, SDL_TRUE);
+#endif
+
+	// if already holding left button and clicking right, don't do mouse down handling
+	if (mouseButton == SDL_BUTTON_RIGHT && mouse.leftButtonPressed)
+	{
+		if (editor.ui.sampleDataOrLoopDrag == -1)
+		{
+			mouse.rightButtonPressed = true;
+			mouse.rightButtonReleased = false;
+		}
+
+		// kludge - we must do scope solo/unmute all here
+		if (!editor.ui.sysReqShown)
+			testScopesMouseDown();
+
+		return;
+	}
+
+	// if already holding right button and clicking left, don't do mouse down handling
+	if (mouseButton == SDL_BUTTON_LEFT && mouse.rightButtonPressed)
+	{
+		if (editor.ui.sampleDataOrLoopDrag == -1)
+		{
+			mouse.leftButtonPressed = true;
+			mouse.leftButtonReleased = false;
+		}
+
+		// kludge - we must do scope solo/unmute all here
+		if (!editor.ui.sysReqShown)
+			testScopesMouseDown();
+
+		return;
+	}
+
+	     if (mouseButton == SDL_BUTTON_LEFT)  mouse.leftButtonPressed = true;
+	else if (mouseButton == SDL_BUTTON_RIGHT) mouse.rightButtonPressed = true;
+
+	mouse.leftButtonReleased = false;
+	mouse.rightButtonReleased = false;
+
+	// mouse 0,0 = open exit dialog
+	if (mouse.x == 0 && mouse.y == 0 && quitBox(false) == 1)
+	{
+		editor.throwExit = true;
+		return;
+	}
+
+	// don't do mouse down testing here if we already are using an object
+	if (mouse.lastUsedObjectType != OBJECT_NONE)
+		return;
+
+	// kludge #2
+	if (mouse.lastUsedObjectType != OBJECT_PUSHBUTTON && mouse.lastUsedObjectID != OBJECT_ID_NONE)
+		return;
+
+	// kludge #3
+	if (!mouse.rightButtonPressed)
+		mouse.lastUsedObjectID = OBJECT_ID_NONE;
+
+	// check if we pressed a GUI object
+
+	/* test objects like this - clickable things *never* overlap, so no need to test all
+	** other objects if we clicked on one already */
+
+	testInstrSwitcherMouseDown(); // kludge: allow right click to both change ins. and edit text
+
+	if (testTextBoxMouseDown())     return;
+	if (testPushButtonMouseDown())  return;
+	if (testCheckBoxMouseDown())    return;
+	if (testScrollBarMouseDown())   return;
+	if (testRadioButtonMouseDown()) return;
+
+	// from this point, we don't need to test more widgets if a system request box is shown
+	if (editor.ui.sysReqShown)
+		return;
+
+	if (testInstrVolEnvMouseDown(false))    return;
+	if (testInstrPanEnvMouseDown(false))    return;
+	if (testDiskOpMouseDown(false))         return;
+	if (testPianoKeysMouseDown(false))      return;
+	if (testSamplerDataMouseDown())         return;
+	if (testPatternDataMouseDown())         return;
+	if (testScopesMouseDown())              return;
+	if (testAudioDeviceListsMouseDown())    return;
+	if (testMidiInputDeviceListMouseDown()) return;
+}
+
+void handleLastGUIObjectDown(void)
+{
+	if (mouse.lastUsedObjectType == OBJECT_NONE)
+		return;
+
+	if (mouse.leftButtonPressed || mouse.rightButtonPressed)
+	{
+		if (mouse.lastUsedObjectID != OBJECT_ID_NONE)
+		{
+			switch (mouse.lastUsedObjectType)
+			{
+				case OBJECT_PUSHBUTTON:  handlePushButtonsWhileMouseDown();  break;
+				case OBJECT_RADIOBUTTON: handleRadioButtonsWhileMouseDown(); break;
+				case OBJECT_CHECKBOX:    handleCheckBoxesWhileMouseDown();   break;
+				case OBJECT_SCROLLBAR:   handleScrollBarsWhileMouseDown();   break;
+				case OBJECT_TEXTBOX:     handleTextBoxWhileMouseDown();      break;
+				default: break;
+			}
+		}
+		else
+		{
+			// test non-standard GUI elements
+			switch (mouse.lastUsedObjectType)
+			{
+				case OBJECT_INSTRSWITCH: testInstrSwitcherMouseDown();       break;
+				case OBJECT_PATTERNMARK: handlePatternDataMouseDown(true);   break;
+				case OBJECT_DISKOPLIST:  testDiskOpMouseDown(true);          break;
+				case OBJECT_SMPDATA:     handleSampleDataMouseDown(true);    break;
+				case OBJECT_PIANO:       testPianoKeysMouseDown(true);       break;
+				case OBJECT_INSVOLENV:   testInstrVolEnvMouseDown(true);     break;
+				case OBJECT_INSPANENV:   testInstrPanEnvMouseDown(true);     break;
+				default: break;
+			}
+		}
+	}
+}
+
+void updateMouseScaling(void)
+{
+	double dScaleX, dScaleY;
+
+	dScaleX = video.renderW / (double)SCREEN_W;
+	dScaleY = video.renderH / (double)SCREEN_H;
+
+	video.xScaleMul = (dScaleX == 0.0) ? 65536 : (uint32_t)round(65536.0 / dScaleX);
+	video.yScaleMul = (dScaleY == 0.0) ? 65536 : (uint32_t)round(65536.0 / dScaleY);
+}
+
+void readMouseXY(void)
+{
+	int16_t x, y;
+	int32_t mx, my;
+
+	if (mouse.setPosFlag)
+	{
+		mouse.setPosFlag = false;
+
+		if (SDL_GetWindowFlags(video.window) & SDL_WINDOW_SHOWN)
+			SDL_WarpMouseInWindow(video.window, mouse.setPosX, mouse.setPosY);
+
+		return;
+	}
+
+	SDL_PumpEvents(); // gathers all pending input from devices into the event queue (less mouse lag)
+	SDL_GetMouseState(&mx, &my);
+
+	/* in centered fullscreen mode, trap the mouse inside the framed image
+	** and subtract the coords to match the OS mouse position (fixes touch from touchscreens) */
+	if (video.fullscreen && !(config.windowFlags & FILTERING))
+	{
+		if (mx < video.renderX)
+		{
+			mx = video.renderX;
+			SDL_WarpMouseInWindow(video.window, mx, my);
+		}
+		else if (mx >= video.renderX+video.renderW)
+		{
+			mx = (video.renderX + video.renderW) - 1;
+			SDL_WarpMouseInWindow(video.window, mx, my);
+		}
+
+		if (my < video.renderY)
+		{
+			my = video.renderY;
+			SDL_WarpMouseInWindow(video.window, mx, my);
+		}
+		else if (my >= video.renderY+video.renderH)
+		{
+			my = (video.renderY + video.renderH) - 1;
+			SDL_WarpMouseInWindow(video.window, mx, my);
+		}
+
+		mx -= video.renderX;
+		my -= video.renderY;
+	}
+
+	if (mx < 0) mx = 0;
+	if (my < 0) mx = 0;
+
+	// multiply coords by video scaling factors
+	mx = (((uint32_t)mx * video.xScaleMul) + (1 << 15)) >> 16; // rounded
+	my = (((uint32_t)my * video.yScaleMul) + (1 << 15)) >> 16;
+
+	if (mx >= SCREEN_W) mx = SCREEN_W - 1;
+	if (my >= SCREEN_H) my = SCREEN_H - 1;
+
+	if (config.specialFlags2 & HARDWARE_MOUSE)
+	{
+		// hardware mouse (OS)
+		mouse.x = (int16_t)mx;
+		mouse.y = (int16_t)my;
+		hideSprite(SPRITE_MOUSE_POINTER);
+	}
+	else
+	{
+		// software mouse (FT2 mouse)
+		x = (int16_t)mx;
+		y = (int16_t)my;
+
+		mouse.x = x;
+		mouse.y = y;
+
+		// for text editing cursor (do this after clamp)
+		x += mouse.xBias;
+		y += mouse.yBias;
+
+		if (x < 0) x = 0;
+		if (y < 0) y = 0;
+
+		setSpritePos(SPRITE_MOUSE_POINTER, x, y);
+	}
+
+	changeCursorIfOverTextBoxes();
+}
--- /dev/null
+++ b/src/ft2_mouse.h
@@ -1,0 +1,49 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+enum
+{
+	MOUSE_MODE_NORMAL = 0,
+	MOUSE_MODE_DELETE = 1,
+	MOUSE_MODE_RENAME = 2,
+
+	MOUSE_WHEEL_DOWN = 0,
+	MOUSE_WHEEL_UP = 1
+};
+
+struct mouse_t
+{
+	volatile bool setPosFlag;
+	bool leftButtonPressed, rightButtonPressed, leftButtonReleased, rightButtonReleased;
+	bool firstTimePressingButton, mouseOverTextBox;
+	int8_t buttonCounter, mode;
+	int16_t lastUsedObjectID, lastUsedObjectType, lastEditBox, x, y, lastX, lastY, xBias, yBias;
+	int16_t lastScrollX, lastScrollXTmp, lastScrollY, saveMouseX, saveMouseY;
+	int32_t setPosX, setPosY;
+} mouse;
+
+// do not change these!
+#define MOUSE_CURSOR_W 26
+#define MOUSE_CURSOR_H 23
+#define MOUSE_GLASS_ANI_FRAMES 22
+#define MOUSE_CLOCK_ANI_FRAMES 5
+
+void freeSDL2Cursors(void);
+void createSDL2Cursors(void);
+
+void setMousePosToCenter(void);
+void setMouseShape(int16_t shape);
+void setMouseMode(uint8_t mode);
+void mouseWheelHandler(bool directionUp);
+void mouseButtonUpHandler(uint8_t mouseButton);
+void mouseButtonDownHandler(uint8_t mouseButton);
+void updateMouseScaling(void);
+void setMouseBusy(bool busy); // can be called from other threads
+void mouseAnimOn(void);
+void mouseAnimOff(void);
+void animateBusyMouse(void);
+void handleLastGUIObjectDown(void);
+void readMouseXY(void);
+void resetMouseBusyAnimation(void);
--- /dev/null
+++ b/src/ft2_nibbles.c
@@ -1,0 +1,995 @@
+// directly ported from FT2 source code (except some routines)
+
+#include <stdint.h>
+#include <stdio.h>
+#include <math.h> // round()
+#include "ft2_keyboard.h"
+#include "ft2_config.h"
+#include "ft2_video.h"
+#include "ft2_gui.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gfxdata.h"
+
+#define NI_MAXLEVEL 30
+
+static const char *NI_HelpText[] =
+{
+	"Player 1 uses cursor keys to control movement.",
+	"Player 2 uses the following keys:",
+	"",
+	"                  (W=Up)",
+	"  (A=Left) (S=Down) (D=Right)",
+	"",
+	"The \"Wrap\" option controls whether it's possible to walk through",
+	"the screen edges or not. Turn it on and use your brain to get",
+	"the maximum out of this feature.",
+	"The \"Surround\" option turns nibbles into a completely different",
+	"game. Don't change this option during play! (You'll see why)",
+	"We wish you many hours of fun playing this game."
+};
+#define NIBBLES_HELP_LINES (sizeof (NI_HelpText) / sizeof (char *))
+
+typedef struct
+{
+	int16_t antal;
+	uint8_t data[8];
+} nibbleBufferTyp;
+
+typedef struct
+{
+	uint8_t x, y;
+} nibbleCrd;
+
+static const char nibblesCheatCode1[] = "skip", nibblesCheatCode2[] = "triton";
+static char nibblesCheatBuffer[16];
+
+const char convHexTable2[10] = { 7, 8, 9, 10, 11, 12, 13, 16, 17, 18 };
+static const uint8_t NI_Speeds[4] = { 12, 8, 6, 4 };
+static bool NI_EternalLives;
+static uint8_t NI_CheatIndex, NI_CurSpeed, NI_CurTick60Hz, NI_CurSpeed60Hz, NI_Screen[51][23], NI_Level;
+static int16_t NI_P1Dir, NI_P2Dir, NI_P1Len, NI_P2Len, NI_Number, NI_NumberX, NI_NumberY, NI_P1NoRens, NI_P2NoRens;
+static uint16_t NI_P1Lives, NI_P2Lives;
+static int32_t NI_P1Score, NI_P2Score;
+static nibbleCrd NI_P1[256], NI_P2[256];
+static nibbleBufferTyp nibblesBuffer[2];
+
+static void redrawNibblesScreen(void)
+{
+	uint8_t x, y, c;
+	int16_t xs, ys;
+
+	if (!editor.NI_Play)
+		return;
+
+	for (x = 0; x < 51; x++)
+	{
+		for (y = 0; y < 23; y++)
+		{
+			xs = 152 + (x * 8);
+			ys = 7 + (y * 7);
+
+			c = NI_Screen[x][y];
+			if (c < 16)
+			{
+				if (config.NI_Grid)
+				{
+					fillRect(xs + 0, ys + 0, 8 - 0, 7 - 0, PAL_BUTTON2);
+					fillRect(xs + 1, ys + 1, 8 - 1, 7 - 1, c);
+				}
+				else
+				{
+					fillRect(xs, ys, 8, 7, c);
+				}
+			}
+			else
+			{
+				charOut(xs + 2, ys, PAL_FORGRND, convHexTable2[NI_Number]);
+			}
+		}
+	}
+
+	// fix wrongly rendered grid
+	if (config.NI_Grid)
+	{
+		vLine(560,   7, 161, PAL_BUTTON2);
+		hLine(152, 168, 409, PAL_BUTTON2);
+	}
+	else
+	{
+		// if we turned grid off, clear lines
+		vLine(560,   7, 161, PAL_BCKGRND);
+		hLine(152, 168, 409, PAL_BCKGRND);
+	}
+}
+
+static void nibblesAddBuffer(int16_t nr, uint8_t typ)
+{
+	nibbleBufferTyp *n;
+
+	n = &nibblesBuffer[nr];
+	if (n->antal < 8)
+	{
+		n->data[n->antal] = typ;
+		n->antal++;
+	}
+}
+
+static bool nibblesBufferFull(int16_t nr)
+{
+	return (nibblesBuffer[nr].antal > 0);
+}
+
+static int16_t nibblesGetBuffer(int16_t nr)
+{
+	int16_t dataOut;
+	nibbleBufferTyp *n;
+
+	n = &nibblesBuffer[nr];
+	if (n->antal > 0)
+	{
+		dataOut = n->data[0];
+		memmove(&n->data[0], &n->data[1], 7);
+		n->antal--;
+
+		return dataOut;
+	}
+
+	return -1;
+}
+
+static void nibblesGetLevel(int16_t nr)
+{
+	int16_t readX, readY, x, y;
+
+	readX = 1 + ((51+2) * (nr % 10));
+	readY = 1 + ((23+2) * (nr / 10));
+
+	for (x = 0; x < 51; x++)
+	{
+		for (y = 0; y < 23; y++)
+			NI_Screen[x][y] = nibblesStages[((readY + y) * 530) + (readX + x)];
+	}
+}
+
+static void nibblesCreateLevel(int16_t nr)
+{
+	uint8_t c;
+	int16_t x, y, x1, y1, x2, y2;
+
+	if (nr >= NI_MAXLEVEL)
+		nr = NI_MAXLEVEL - 1;
+
+	nibblesGetLevel(nr);
+
+	x1 = 0; x2 = 0;
+	y1 = 0; y2 = 0;
+
+	for (y = 0; y < 23; y++)
+	{
+		for (x = 0; x < 51; x++)
+		{
+			if (NI_Screen[x][y] == 1 || NI_Screen[x][y] == 3)
+			{
+				c = NI_Screen[x][y];
+
+				if (c == 3)
+				{
+					x1 = x;
+					y1 = y;
+				}
+
+				if (c == 1)
+				{
+					x2 = x;
+					y2 = y;
+				}
+
+				NI_Screen[x][y] = 0;
+			}
+		}
+	}
+
+	x = (51 + 2) * (nr % 10);
+	y = (23 + 2) * (nr / 10);
+
+	NI_P1Dir = nibblesStages[(y * 530) + (x + 1)];
+	NI_P2Dir = nibblesStages[(y * 530) + (x + 0)];
+
+	NI_P1Len = 5;
+	NI_P2Len = 5;
+	NI_P1NoRens = 0;
+	NI_P2NoRens = 0;
+	NI_Number = 0;
+	nibblesBuffer[0].antal = 0;
+	nibblesBuffer[1].antal = 0;
+
+	for (int16_t i = 0; i < 256; i++)
+	{
+		NI_P1[i].x = (uint8_t)x1;
+		NI_P1[i].y = (uint8_t)y1;
+		NI_P2[i].x = (uint8_t)x2;
+		NI_P2[i].y = (uint8_t)y2;
+	}
+}
+
+static void nibbleWriteLevelSprite(int16_t xOut, int16_t yOut, int16_t nr)
+{
+	uint8_t *src;
+	uint16_t readX, readY;
+	uint32_t *dst;
+
+	readX = (51 + 2) * (nr % 10);
+	readY = (23 + 2) * (nr / 10);
+
+	src = (uint8_t *)&nibblesStages[(readY * 530) + readX];
+	dst = &video.frameBuffer[(yOut * SCREEN_W) + xOut];
+
+	for (uint16_t y = 0; y < 23+2; y++)
+	{
+		for (uint16_t x = 0; x < 51+2; x++)
+			*dst++ = video.palette[*src++];
+
+		src += 530 - (51+2);
+		dst += SCREEN_W - (51+2);
+	}
+
+	// overwrite start position pixels
+	video.frameBuffer[(yOut * SCREEN_W) + (xOut + 0)] = video.palette[PAL_FORGRND];
+	video.frameBuffer[(yOut * SCREEN_W) + (xOut + 1)] = video.palette[PAL_FORGRND];
+}
+
+static void highScoreTextOutClipX(uint16_t x, uint16_t y, uint8_t paletteIndex, uint8_t shadowPaletteIndex, const char *textPtr, uint16_t clipX)
+{
+	char ch;
+	uint16_t currX;
+
+	assert(textPtr != NULL);
+
+	currX = x;
+	for (uint16_t i = 0; i < 22; i++)
+	{
+		ch = textPtr[i];
+		if (ch == '\0')
+			break;
+
+		charOutClipX(currX + 1, y + 1, shadowPaletteIndex, ch, clipX); // shadow
+		charOutClipX(currX, y, paletteIndex, ch, clipX); // foreground
+
+		currX += charWidth(ch);
+		if (currX >= clipX)
+			break;
+	}
+}
+
+void nibblesHighScore(void)
+{
+	if (editor.NI_Play)
+	{
+		okBox(0, "System message", "No highscoretable is available during play.");
+		return;
+	}
+
+	clearRect(152, 7, 409, 162);
+
+	bigTextOut(160, 10, PAL_FORGRND, "Fasttracker Nibbles Highscore");
+	for (int16_t i = 0; i < 5; i++)
+	{
+		highScoreTextOutClipX(160, 42 + (26 * i), PAL_FORGRND, PAL_DSKTOP2, config.NI_HighScore[i].name, 160 + 70);
+		hexOutShadow(160 + 76, 42 + (26 * i), PAL_FORGRND, PAL_DSKTOP2, config.NI_HighScore[i].score, 8);
+		nibbleWriteLevelSprite(160 + 136, (42 - 9) + (26 * i), config.NI_HighScore[i].level);
+
+		highScoreTextOutClipX(360, 42 + (26 * i), PAL_FORGRND, PAL_DSKTOP2, config.NI_HighScore[i+5].name, 360 + 70);
+		hexOutShadow(360 + 76, 42 + (26 * i), PAL_FORGRND, PAL_DSKTOP2, config.NI_HighScore[i+5].score, 8);
+		nibbleWriteLevelSprite(360 + 136, (42 - 9) + (26 * i), config.NI_HighScore[i+5].level);
+	}
+}
+
+static void setNibbleDot(uint8_t x, uint8_t y, uint8_t c)
+{
+	uint16_t xs, ys;
+
+	xs = 152 + (x * 8);
+	ys = 7 + (y * 7);
+
+	if (config.NI_Grid)
+	{
+		fillRect(xs + 0, ys + 0, 8 - 0, 7 - 0, PAL_BUTTON2);
+		fillRect(xs + 1, ys + 1, 8 - 1, 7 - 1, c);
+	}
+	else
+	{
+		fillRect(xs, ys, 8, 7, c);
+	}
+
+	NI_Screen[x][y] = c;
+}
+
+static void nibblesGenNewNumber(void)
+{
+	int16_t x, y, xs, ys;
+
+	while (true)
+	{
+		x = rand() % 51;
+		y = rand() % 23;
+
+		if (NI_Screen[x][y] == 0 && NI_Screen[x][y+1] == 0)
+		{
+			NI_Number++;
+			NI_Screen[x][y] = (uint8_t)(16 + NI_Number);
+			NI_NumberX = x;
+			NI_NumberY = y;
+
+			xs = 152 + (x * 8);
+			ys = 7 + (y * 7);
+
+			if (config.NI_Grid)
+			{
+				fillRect(xs + 0, ys + 0, 8 - 0, 7 - 0, PAL_BUTTON2);
+				fillRect(xs + 1, ys + 1, 8 - 1, 7 - 1, PAL_BCKGRND);
+			}
+			else
+			{
+				fillRect(xs, ys, 8, 7, PAL_BCKGRND);
+			}
+
+			charOut((x * 8) + 154, (y * 7) + 7, PAL_FORGRND, convHexTable2[NI_Number]);
+			break;
+		}
+	}
+}
+
+static void newNibblesGame(void)
+{
+	nibblesCreateLevel(NI_Level);
+	redrawNibblesScreen();
+
+	setNibbleDot(NI_P1[0].x, NI_P1[0].y, 6);
+	if (config.NI_AntPlayers == 1)
+		setNibbleDot(NI_P2[0].x, NI_P2[0].y, 7);
+
+	if (!config.NI_Surround)
+		nibblesGenNewNumber();
+}
+
+static bool nibblesInvalid(int16_t x, int16_t y, int16_t d)
+{
+	if (!config.NI_Wrap)
+	{
+		if ((x == 0 && d == 0) || (x == 50 && d == 2) || (y == 0 && d == 3) || (y == 22 && d == 1))
+			return true;
+	}
+
+	assert(x >= 0 && x < 51 && y >= 0 && y < 23);
+	return (NI_Screen[x][y] >= 1 && NI_Screen[x][y] <= 15);
+}
+
+static void drawScoresLives(void)
+{
+	char str[8];
+
+	// player 1
+	hexOutBg(89, 27, PAL_FORGRND, PAL_DESKTOP, NI_P1Score, 8);
+
+	assert(NI_P1Lives < 100);
+	sprintf(str, "%02d", NI_P1Lives);
+	textOutFixed(131, 39, PAL_FORGRND, PAL_DESKTOP, str);
+
+	// player 2
+	hexOutBg(89, 75, PAL_FORGRND, PAL_DESKTOP, NI_P2Score, 8);
+
+	assert(NI_P2Lives < 100);
+	sprintf(str, "%02d", NI_P2Lives);
+	textOutFixed(131, 87, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+static void nibblesDecLives(int16_t l1, int16_t l2)
+{
+	char name[21 + 1];
+	int16_t i, k;
+	highScoreType *h;
+
+	if (!NI_EternalLives)
+	{
+		NI_P1Lives -= l1;
+		NI_P2Lives -= l2;
+	}
+
+	drawScoresLives();
+
+	if (l1+l2 == 2)
+	{
+		okBox(0, "Nibbles message", "Both players died!");
+	}
+	else
+	{
+		if (l2 == 0)
+			okBox(0, "Nibbles message", "Player 1 died!");
+		else
+			okBox(0, "Nibbles message", "Player 2 died!");
+	}
+
+	if (NI_P1Lives == 0 || NI_P2Lives == 0)
+	{
+		editor.NI_Play = false;
+		okBox(0, "Nibbles message", "GAME OVER");
+
+		if (NI_P1Score > config.NI_HighScore[9].score)
+		{
+			strcpy(name, "Unknown");
+			inputBox(0, "Player 1 - Enter your name:", name, sizeof (name) - 1);
+
+			i = 0;
+			while (NI_P1Score <= config.NI_HighScore[i].score)
+				i++;
+
+			for (k = 8; k >= i; k--)
+				memcpy(&config.NI_HighScore[k+1], &config.NI_HighScore[k], sizeof (highScoreType));
+
+			if (i == 0)
+				okBox(0, "Nibbles message", "You've probably cheated!");
+
+			h = &config.NI_HighScore[i];
+
+			k = (int16_t)strlen(name);
+			memset(h->name, 0, sizeof (h->name));
+			memcpy(h->name, name, k);
+			h->nameLen = (uint8_t)k;
+
+			h->score = NI_P1Score;
+			h->level = NI_Level;
+		}
+
+		if (NI_P2Score > config.NI_HighScore[9].score)
+		{
+			strcpy(name, "Unknown");
+			inputBox(0, "Player 2 - Enter your name:", name, sizeof (name) - 1);
+
+			i = 0;
+			while (NI_P2Score <= config.NI_HighScore[i].score)
+				i++;
+
+			for (k = 8; k >= i; k--)
+				memcpy(&config.NI_HighScore[k+1], &config.NI_HighScore[k], sizeof (highScoreType));
+
+			if (i == 0)
+				okBox(0, "Nibbles message", "You've probably cheated!");
+
+			h = &config.NI_HighScore[i];
+			k = (int16_t)strlen(name);
+
+			memset(h->name, 0, sizeof (h->name));
+			memcpy(h->name, name, k);
+			h->nameLen = (uint8_t)k;
+
+			h->score = NI_P2Score;
+			h->level = NI_Level;
+		}
+
+		nibblesHighScore();
+	}
+	else
+	{
+		editor.NI_Play = true;
+		newNibblesGame();
+	}
+}
+
+static void nibblesEraseNumber(void)
+{
+	if (!config.NI_Surround)
+		setNibbleDot((uint8_t)NI_NumberX, (uint8_t)NI_NumberY, 0);
+}
+
+static void nibblesNewLevel(void)
+{
+	char text[24];
+
+	sprintf(text, "Level %d finished!", NI_Level + 1);
+	okBox(0, "Nibbles message", text);
+
+	// cast to int16_t to simulate a bug in FT2
+	NI_P1Score += 0x10000 + (int16_t)((12 - NI_CurSpeed) * 0x2000);
+	if (config.NI_AntPlayers == 1)
+		NI_P2Score += 0x10000;
+
+	NI_Level++;
+
+	if (NI_P1Lives < 99)
+		NI_P1Lives++;
+
+	if (config.NI_AntPlayers == 1)
+	{
+		if (NI_P2Lives < 99)
+			NI_P2Lives++;
+	}
+
+	NI_Number = 0;
+	nibblesCreateLevel(NI_Level);
+	redrawNibblesScreen();
+
+	nibblesGenNewNumber();
+}
+
+void moveNibblePlayers(void)
+{
+	int16_t i, j;
+
+	if (editor.ui.sysReqShown || --NI_CurTick60Hz != 0)
+		return;
+
+	if (nibblesBufferFull(0))
+	{
+		switch (nibblesGetBuffer(0))
+		{
+			case 0: if (NI_P1Dir != 2) NI_P1Dir = 0; break;
+			case 1: if (NI_P1Dir != 3) NI_P1Dir = 1; break;
+			case 2: if (NI_P1Dir != 0) NI_P1Dir = 2; break;
+			case 3: if (NI_P1Dir != 1) NI_P1Dir = 3; break;
+			default: break;
+		}
+	}
+
+	if (nibblesBufferFull(1))
+	{
+		switch (nibblesGetBuffer(1))
+		{
+			case 0: if (NI_P2Dir != 2) NI_P2Dir = 0; break;
+			case 1: if (NI_P2Dir != 3) NI_P2Dir = 1; break;
+			case 2: if (NI_P2Dir != 0) NI_P2Dir = 2; break;
+			case 3: if (NI_P2Dir != 1) NI_P2Dir = 3; break;
+			default: break;
+		}
+	}
+
+	memmove(&NI_P1[1], &NI_P1[0], 255 * sizeof (nibbleCrd));
+	if (config.NI_AntPlayers == 1)
+		memmove(&NI_P2[1], &NI_P2[0], 255 * sizeof (nibbleCrd));
+
+	switch (NI_P1Dir)
+	{
+		case 0: NI_P1[0].x++; break;
+		case 1: NI_P1[0].y--; break;
+		case 2: NI_P1[0].x--; break;
+		case 3: NI_P1[0].y++; break;
+		default: break;
+	}
+
+	if (config.NI_AntPlayers == 1)
+	{
+		switch (NI_P2Dir)
+		{
+			case 0: NI_P2[0].x++; break;
+			case 1: NI_P2[0].y--; break;
+			case 2: NI_P2[0].x--; break;
+			case 3: NI_P2[0].y++; break;
+			default: break;
+		}
+	}
+
+	if (NI_P1[0].x == 255) NI_P1[0].x = 50;
+	if (NI_P2[0].x == 255) NI_P2[0].x = 50;
+	if (NI_P1[0].y == 255) NI_P1[0].y = 22;
+	if (NI_P2[0].y == 255) NI_P2[0].y = 22;
+
+	NI_P1[0].x %= 51;
+	NI_P1[0].y %= 23;
+	NI_P2[0].x %= 51;
+	NI_P2[0].y %= 23;
+
+	if (config.NI_AntPlayers == 1)
+	{
+		if (nibblesInvalid(NI_P1[0].x, NI_P1[0].y, NI_P1Dir) && nibblesInvalid(NI_P2[0].x, NI_P2[0].y, NI_P2Dir))
+		{
+			nibblesDecLives(1, 1);
+			goto NoMove;
+		}
+		else if (nibblesInvalid(NI_P1[0].x, NI_P1[0].y, NI_P1Dir))
+		{
+			nibblesDecLives(1, 0);
+			goto NoMove;
+		}
+		else if (nibblesInvalid(NI_P2[0].x, NI_P2[0].y, NI_P2Dir))
+		{
+			nibblesDecLives(0, 1);
+			goto NoMove;
+		}
+		else if (NI_P1[0].x == NI_P2[0].x && NI_P1[0].y == NI_P2[0].y)
+		{
+			nibblesDecLives(1, 1);
+			goto NoMove;
+		}
+	}
+	else
+	{
+		if (nibblesInvalid(NI_P1[0].x, NI_P1[0].y, NI_P1Dir))
+		{
+			nibblesDecLives(1, 0);
+			goto NoMove;
+		}
+	}
+
+	j = 0;
+	i = NI_Screen[NI_P1[0].x][NI_P1[0].y];
+	if (i >= 16)
+	{
+		NI_P1Score += (i & 15) * 999 * (NI_Level + 1);
+		nibblesEraseNumber(); j = 1;
+		NI_P1NoRens = NI_P1Len / 2;
+	}
+
+	if (config.NI_AntPlayers == 1)
+	{
+		i = NI_Screen[NI_P2[0].x][NI_P2[0].y];
+		if (i >= 16)
+		{
+			NI_P2Score += ((i & 15) * 999 * (NI_Level + 1));
+			nibblesEraseNumber(); j = 1;
+			NI_P2NoRens = NI_P2Len / 2;
+		}
+	}
+
+	NI_P1Score -= 17;
+	if (config.NI_AntPlayers == 1)
+		NI_P2Score -= 17;
+
+	if (NI_P1Score < 0) NI_P1Score = 0;
+	if (NI_P2Score < 0) NI_P2Score = 0;
+
+	if (!config.NI_Surround)
+	{
+		if (NI_P1NoRens > 0 && NI_P1Len < 255)
+		{
+			NI_P1NoRens--;
+			NI_P1Len++;
+		}
+		else
+		{
+			setNibbleDot(NI_P1[NI_P1Len].x, NI_P1[NI_P1Len].y, 0);
+		}
+
+		if (config.NI_AntPlayers == 1)
+		{
+			if (NI_P2NoRens > 0 && NI_P2Len < 255)
+			{
+				NI_P2NoRens--;
+				NI_P2Len++;
+			}
+			else
+			{
+				setNibbleDot(NI_P2[NI_P2Len].x, NI_P2[NI_P2Len].y, 0);
+			}
+		}
+	}
+
+	setNibbleDot(NI_P1[0].x, NI_P1[0].y, 6);
+	if (config.NI_AntPlayers == 1)
+		setNibbleDot(NI_P2[0].x, NI_P2[0].y, 5);
+
+	if (j == 1 && !config.NI_Surround)
+	{
+		if (NI_Number == 9)
+		{
+			nibblesNewLevel();
+			NI_CurTick60Hz = NI_CurSpeed60Hz;
+			return;
+		}
+
+		nibblesGenNewNumber();
+	}
+
+NoMove:
+	NI_CurTick60Hz = NI_CurSpeed60Hz;
+	drawScoresLives();
+}
+
+void showNibblesScreen(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	editor.ui.nibblesShown = true;
+
+	drawFramework(0,     0, 632,   3, FRAMEWORK_TYPE1);
+	drawFramework(0,     3, 148,  49, FRAMEWORK_TYPE1);
+	drawFramework(0,    52, 148,  49, FRAMEWORK_TYPE1);
+	drawFramework(0,   101, 148,  72, FRAMEWORK_TYPE1);
+	drawFramework(148,   3, 417, 170, FRAMEWORK_TYPE1);
+	drawFramework(150,   5, 413, 166, FRAMEWORK_TYPE2);
+	drawFramework(565,   3,  67, 170, FRAMEWORK_TYPE1);
+
+	bigTextOutShadow(4,   6,  PAL_FORGRND, PAL_DSKTOP2, "Player 1");
+	bigTextOutShadow(4,  55,  PAL_FORGRND, PAL_DSKTOP2, "Player 2");
+
+	textOutShadow(4,  27,  PAL_FORGRND, PAL_DSKTOP2, "Score");
+	textOutShadow(4,  75,  PAL_FORGRND, PAL_DSKTOP2, "Score");
+	textOutShadow(4,  39,  PAL_FORGRND, PAL_DSKTOP2, "Lives");
+	textOutShadow(4,  87,  PAL_FORGRND, PAL_DSKTOP2, "Lives");
+	textOutShadow(18, 106, PAL_FORGRND, PAL_DSKTOP2, "1 player");
+	textOutShadow(18, 120, PAL_FORGRND, PAL_DSKTOP2, "2 players");
+	textOutShadow(20, 135, PAL_FORGRND, PAL_DSKTOP2, "Surround");
+	textOutShadow(20, 148, PAL_FORGRND, PAL_DSKTOP2, "Grid");
+	textOutShadow(20, 161, PAL_FORGRND, PAL_DSKTOP2, "Wrap");
+	textOutShadow(80, 105, PAL_FORGRND, PAL_DSKTOP2, "Difficulty:");
+	textOutShadow(93, 118, PAL_FORGRND, PAL_DSKTOP2, "Novice");
+	textOutShadow(93, 132, PAL_FORGRND, PAL_DSKTOP2, "Average");
+	textOutShadow(93, 146, PAL_FORGRND, PAL_DSKTOP2, "Pro");
+	textOutShadow(93, 160, PAL_FORGRND, PAL_DSKTOP2, "Triton");
+
+	drawScoresLives();
+
+	blitFast(569, 7, nibblesLogo, 59, 91);
+
+	showPushButton(PB_NIBBLES_PLAY);
+	showPushButton(PB_NIBBLES_HELP);
+	showPushButton(PB_NIBBLES_HIGHS);
+	showPushButton(PB_NIBBLES_EXIT);
+
+	checkBoxes[CB_NIBBLES_SURROUND].checked = config.NI_Surround ? true : false;
+	checkBoxes[CB_NIBBLES_GRID].checked = config.NI_Grid ? true : false;
+	checkBoxes[CB_NIBBLES_WRAP].checked = config.NI_Wrap ? true : false;
+	showCheckBox(CB_NIBBLES_SURROUND);
+	showCheckBox(CB_NIBBLES_GRID);
+	showCheckBox(CB_NIBBLES_WRAP);
+
+	uncheckRadioButtonGroup(RB_GROUP_NIBBLES_PLAYERS);
+	if (config.NI_AntPlayers == 0)
+		radioButtons[RB_NIBBLES_1PLAYER].state = RADIOBUTTON_CHECKED;
+	else
+		radioButtons[RB_NIBBLES_2PLAYERS].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_NIBBLES_PLAYERS);
+
+	uncheckRadioButtonGroup(RB_GROUP_NIBBLES_DIFFICULTY);
+	switch (config.NI_Speed)
+	{
+		default:
+		case 0: radioButtons[RB_NIBBLES_NOVICE].state  = RADIOBUTTON_CHECKED; break;
+		case 1: radioButtons[RB_NIBBLES_AVERAGE].state = RADIOBUTTON_CHECKED; break;
+		case 2: radioButtons[RB_NIBBLES_PRO].state     = RADIOBUTTON_CHECKED; break;
+		case 3: radioButtons[RB_NIBBLES_MANIAC].state  = RADIOBUTTON_CHECKED; break;
+	}
+	showRadioButtonGroup(RB_GROUP_NIBBLES_DIFFICULTY);
+}
+
+void hideNibblesScreen(void)
+{
+	hidePushButton(PB_NIBBLES_PLAY);
+	hidePushButton(PB_NIBBLES_HELP);
+	hidePushButton(PB_NIBBLES_HIGHS);
+	hidePushButton(PB_NIBBLES_EXIT);
+
+	hideRadioButtonGroup(RB_GROUP_NIBBLES_PLAYERS);
+	hideRadioButtonGroup(RB_GROUP_NIBBLES_DIFFICULTY);
+
+	hideCheckBox(CB_NIBBLES_SURROUND);
+	hideCheckBox(CB_NIBBLES_GRID);
+	hideCheckBox(CB_NIBBLES_WRAP);
+
+	editor.ui.nibblesShown = false;
+}
+
+void exitNibblesScreen(void)
+{
+	hideNibblesScreen();
+	showTopScreen(true);
+}
+
+// PUSH BUTTONS
+
+void nibblesPlay(void)
+{
+	if (editor.NI_Play)
+	{
+		if (okBox(2, "Nibbles request", "Restart the current game of nibbles?") != 1)
+			return;
+	}
+
+	if (config.NI_Surround && config.NI_AntPlayers == 0)
+	{
+		okBox(0, "Nibbles message", "\"Surround\" is not appropriate in one-player mode.");
+		return;
+	}
+
+	assert(config.NI_Speed < 4);
+	NI_CurSpeed = NI_Speeds[config.NI_Speed];
+
+	// adjust for 70Hz -> 60Hz frames
+	NI_CurSpeed60Hz = (uint8_t)round(NI_CurSpeed * ((double)VBLANK_HZ / FT2_VBLANK_HZ));
+	NI_CurTick60Hz = (uint8_t)round(NI_Speeds[2] * ((double)VBLANK_HZ / FT2_VBLANK_HZ));
+
+	editor.NI_Play = true;
+	NI_P1Score = 0;
+	NI_P2Score = 0;
+	NI_P1Lives = 5;
+	NI_P2Lives = 5;
+	NI_Level = 0;
+
+	newNibblesGame();
+}
+
+void nibblesHelp(void)
+{
+	if (editor.NI_Play)
+	{
+		okBox(0, "System message", "No help available during play.");
+		return;
+	}
+
+	clearRect(152, 7, 409, 162);
+
+	bigTextOut(160, 10, PAL_FORGRND, "Fasttracker Nibbles Help");
+	for (uint8_t i = 0; i < NIBBLES_HELP_LINES; i++)
+		textOut(160, 36 + (11 * i), PAL_BUTTONS, NI_HelpText[i]);
+}
+
+void nibblesExit(void)
+{
+	if (editor.NI_Play)
+	{
+		if (okBox(2, "System request", "Quit current game of nibbles?") == 1)
+		{
+			editor.NI_Play = false;
+			exitNibblesScreen();
+		}
+
+		return;
+	}
+
+	exitNibblesScreen();
+}
+
+// RADIO BUTTONS
+
+void nibblesSet1Player(void)
+{
+	config.NI_AntPlayers = 0;
+	checkRadioButton(RB_NIBBLES_1PLAYER);
+}
+
+void nibblesSet2Players(void)
+{
+	config.NI_AntPlayers = 1;
+	checkRadioButton(RB_NIBBLES_2PLAYERS);
+}
+
+void nibblesSetNovice(void)
+{
+	config.NI_Speed = 0;
+	checkRadioButton(RB_NIBBLES_NOVICE);
+}
+
+void nibblesSetAverage(void)
+{
+	config.NI_Speed = 1;
+	checkRadioButton(RB_NIBBLES_AVERAGE);
+}
+
+void nibblesSetPro(void)
+{
+	config.NI_Speed = 2;
+	checkRadioButton(RB_NIBBLES_PRO);
+}
+
+void nibblesSetTriton(void)
+{
+	config.NI_Speed = 3;
+	checkRadioButton(RB_NIBBLES_MANIAC);
+}
+
+// CHECK BOXES
+
+void nibblesToggleSurround(void)
+{
+	config.NI_Surround ^= 1;
+	checkBoxes[CB_NIBBLES_SURROUND].checked = config.NI_Surround ? true : false;
+	showCheckBox(CB_NIBBLES_SURROUND);
+}
+
+void nibblesToggleGrid(void)
+{
+	config.NI_Grid ^= 1;
+	checkBoxes[CB_NIBBLES_GRID].checked = config.NI_Grid ? true : false;
+	showCheckBox(CB_NIBBLES_GRID);
+
+	if (editor.NI_Play)
+		redrawNibblesScreen();
+}
+
+void nibblesToggleWrap(void)
+{
+	config.NI_Wrap ^= 1;
+
+	checkBoxes[CB_NIBBLES_WRAP].checked = config.NI_Wrap ? true : false;
+	showCheckBox(CB_NIBBLES_WRAP);
+}
+
+// GLOBAL FUNCTIONS
+
+void nibblesKeyAdministrator(SDL_Scancode scancode)
+{
+	if (scancode == SDL_SCANCODE_ESCAPE)
+	{
+		if (okBox(2, "System request", "Quit current game of nibbles?") == 1)
+		{
+			editor.NI_Play = false;
+			exitNibblesScreen();
+		}
+
+		return;
+	}
+
+	switch (scancode)
+	{
+		// player 1
+		case SDL_SCANCODE_RIGHT: nibblesAddBuffer(0, 0); break;
+		case SDL_SCANCODE_UP:    nibblesAddBuffer(0, 1); break;
+		case SDL_SCANCODE_LEFT:  nibblesAddBuffer(0, 2); break;
+		case SDL_SCANCODE_DOWN:  nibblesAddBuffer(0, 3); break;
+
+		// player 2
+		case SDL_SCANCODE_D: nibblesAddBuffer(1, 0); break;
+		case SDL_SCANCODE_W: nibblesAddBuffer(1, 1); break;
+		case SDL_SCANCODE_A: nibblesAddBuffer(1, 2); break;
+		case SDL_SCANCODE_S: nibblesAddBuffer(1, 3); break;
+
+		default: break;
+	}
+}
+
+bool testNibblesCheatCodes(SDL_Keycode keycode) // not directly ported, but same cheatcodes
+{
+	const char *codeStringPtr;
+	uint8_t codeStringLen;
+
+	// nibbles cheat codes can only be typed in while holding down left SHIFT+CTRL+ALT
+	if (keyb.leftShiftPressed && keyb.leftCtrlPressed && keyb.leftAltPressed)
+	{
+		if (editor.NI_Play)
+		{
+			// during game: "S", "K", "I", "P" (skip to next level)
+			codeStringPtr = nibblesCheatCode1;
+			codeStringLen = sizeof (nibblesCheatCode1) - 1;
+		}
+		else
+		{
+			// not during game: "T", "R", "I", "T", "O", "N" (enable infinite lives)
+			codeStringPtr = nibblesCheatCode2;
+			codeStringLen = sizeof (nibblesCheatCode2) - 1;
+		}
+
+		nibblesCheatBuffer[NI_CheatIndex] = (char)keycode;
+		if (nibblesCheatBuffer[NI_CheatIndex] != codeStringPtr[NI_CheatIndex])
+		{
+			NI_CheatIndex = 0; // start over again, one letter didn't match
+			return true;
+		}
+
+		if (++NI_CheatIndex == codeStringLen) // cheat code was successfully entered
+		{
+			NI_CheatIndex = 0;
+
+			if (editor.NI_Play)
+			{
+				nibblesNewLevel();
+			}
+			else
+			{
+				NI_EternalLives ^= 1;
+				if (NI_EternalLives)
+					okBox(0, "Triton productions declares:", "Eternal lives activated!");
+				else
+					okBox(0, "Triton productions declares:", "Eternal lives deactivated!");
+			}
+		}
+
+		return true; // SHIFT+CTRL+ALT held down, don't test other keys
+	}
+
+	return false; // SHIFT+CTRL+ALT not held down, test other keys
+}
+
+void pbNibbles(void)
+{
+	showNibblesScreen();
+}
--- /dev/null
+++ b/src/ft2_nibbles.h
@@ -1,0 +1,26 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <SDL2/SDL.h>
+
+void nibblesKeyAdministrator(SDL_Scancode scancode);
+void moveNibblePlayers(void);
+void showNibblesScreen(void);
+void hideNibblesScreen(void);
+void exitNibblesScreen(void);
+void pbNibbles(void);
+void nibblesPlay(void);
+void nibblesHelp(void);
+void nibblesHighScore(void);
+void nibblesExit(void);
+void nibblesSet1Player(void);
+void nibblesSet2Players(void);
+void nibblesSetNovice(void);
+void nibblesSetAverage(void);
+void nibblesSetPro(void);
+void nibblesSetTriton(void);
+void nibblesToggleSurround(void);
+void nibblesToggleGrid(void);
+void nibblesToggleWrap(void);
+bool testNibblesCheatCodes(SDL_Keycode keycode);
--- /dev/null
+++ b/src/ft2_palette.c
@@ -1,0 +1,509 @@
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_palette.h"
+#include "ft2_gui.h"
+#include "ft2_config.h"
+#include "ft2_video.h"
+
+uint8_t cfg_ColorNr = 0; // globalized
+
+static uint8_t cfg_Red, cfg_Green, cfg_Blue, cfg_Contrast;
+
+static const uint8_t FTC_EditOrder[6] = { PAL_PATTEXT, PAL_BLCKMRK, PAL_BLCKTXT, PAL_MOUSEPT, PAL_DESKTOP, PAL_BUTTONS };
+static const uint8_t scaleOrder[3] = { 8, 4, 9 };
+
+static uint8_t palContrast[12][2] = // palette desktop/button contrasts
+{
+	{59, 55}, {59, 53}, {56, 59}, {68, 55}, {57, 59}, {48, 55},
+	{66, 62}, {68, 57}, {46, 57}, {57, 55}, {62, 57}, {52, 57}
+};
+
+void setPal16(pal16 *p, bool redrawScreen)
+{
+#define LOOP_PIN_COL_SUB 106
+#define TEXT_MARK_COLOR 0x0078D7
+#define BOX_SELECT_COLOR 0x7F7F7F
+
+	int16_t r, g, b;
+
+	// set main palette w/ 18-bit -> 24-bit conversion
+	for (int32_t i = 0; i < 16; i++)
+	{
+		r = P6_TO_P8(p[i].r); // 0..63 -> 0..255
+		g = P6_TO_P8(p[i].g);
+		b = P6_TO_P8(p[i].b);
+
+		video.palette[i] = (i << 24) | RGB32(r, g, b);
+	}
+
+	// set custom FT2 clone palette entries
+
+	video.palette[PAL_TEXTMRK] = (PAL_TEXTMRK << 24) | TEXT_MARK_COLOR;
+	video.palette[PAL_BOXSLCT] = (PAL_BOXSLCT << 24) | BOX_SELECT_COLOR;
+
+	r = RGB32_R(video.palette[PAL_PATTEXT]);
+	g = RGB32_G(video.palette[PAL_PATTEXT]);
+	b = RGB32_B(video.palette[PAL_PATTEXT]);
+
+	r = MAX(r - LOOP_PIN_COL_SUB, 0);
+	g = MAX(g - LOOP_PIN_COL_SUB, 0);
+	b = MAX(b - LOOP_PIN_COL_SUB, 0);
+
+	video.palette[PAL_LOOPPIN] = (PAL_LOOPPIN << 24) | RGB32(r, g, b);
+
+	// update framebuffer pixels with new palette
+	if (redrawScreen && video.frameBuffer != NULL)
+	{
+		for (int32_t i = 0; i < SCREEN_W*SCREEN_H; i++)
+			video.frameBuffer[i] = video.palette[(video.frameBuffer[i] >> 24) & 15]; // ARGB alpha channel = palette index
+	}
+}
+
+static void showColorErrorMsg(void)
+{
+	okBox(0, "System message", "Default colors cannot be modified.");
+}
+
+static double palPow(double dX, double dY)
+{
+	if (dY == 1.0)
+		return dX;
+
+	dY *= log(fabs(dX));
+	dY = CLAMP(dY, -86.0, 86.0);
+
+	return exp(dY);
+}
+
+uint8_t palMax(int32_t c)
+{
+	return (uint8_t)(CLAMP(c, 0, 63));
+}
+
+static void drawCurrentPaletteColor(void)
+{
+	uint8_t r, g, b, palIndex;
+
+	palIndex = FTC_EditOrder[cfg_ColorNr];
+
+	r = P6_TO_P8(cfg_Red);
+	g = P6_TO_P8(cfg_Green);
+	b = P6_TO_P8(cfg_Blue);
+
+	textOutShadow(516, 3, PAL_FORGRND, PAL_DSKTOP2, "Palette:");
+	hexOutBg(573, 3, PAL_FORGRND, PAL_DESKTOP, RGB32(r, g, b) & 0xFFFFFF, 6);
+	clearRect(616, 2, 12, 10);
+	fillRect(617, 3, 10, 8, palIndex);
+}
+
+static void updatePaletteEditor(void)
+{
+	uint8_t nr = FTC_EditOrder[cfg_ColorNr];
+
+	cfg_Red = palTable[config.cfg_StdPalNr][nr].r;
+	cfg_Green = palTable[config.cfg_StdPalNr][nr].g;
+	cfg_Blue = palTable[config.cfg_StdPalNr][nr].b;
+
+	if (cfg_ColorNr == 4 || cfg_ColorNr == 5)
+		cfg_Contrast = palContrast[config.cfg_StdPalNr][cfg_ColorNr-4];
+	else
+		cfg_Contrast = 0;
+
+	setScrollBarPos(SB_PAL_R, cfg_Red, false);
+	setScrollBarPos(SB_PAL_G, cfg_Green, false);
+	setScrollBarPos(SB_PAL_B, cfg_Blue, false);
+	setScrollBarPos(SB_PAL_CONTRAST, cfg_Contrast, false);
+
+	drawCurrentPaletteColor();
+}
+
+static void paletteDragMoved(void)
+{
+	uint8_t nr, p, contrast;
+	int16_t i, k;
+
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+	{
+		updatePaletteEditor(); // resets colors/contrast vars
+		showColorErrorMsg();
+		return;
+	}
+
+	nr = FTC_EditOrder[cfg_ColorNr];
+	p = (uint8_t)config.cfg_StdPalNr;
+
+	palTable[p][nr].r = cfg_Red;
+	palTable[p][nr].g = cfg_Green;
+	palTable[p][nr].b = cfg_Blue;
+
+	if (cfg_ColorNr == 4 || cfg_ColorNr == 5)
+	{
+		for (i = 0; i < 3; i++)
+		{
+			k = scaleOrder[i] + (cfg_ColorNr - 4) * 2;
+
+			contrast = cfg_Contrast;
+			if (contrast < 1) // no idea why FT2 limits contrast to 1
+				contrast = 1;
+
+			palTable[p][k].r = palMax((int32_t)round(cfg_Red * palPow((i + 1) / 2.0, contrast / 40.0)));
+			palTable[p][k].g = palMax((int32_t)round(cfg_Green * palPow((i + 1) / 2.0, contrast / 40.0)));
+			palTable[p][k].b = palMax((int32_t)round(cfg_Blue * palPow((i + 1) / 2.0, contrast / 40.0)));
+		}
+
+		palContrast[p][cfg_ColorNr-4] = cfg_Contrast;
+	}
+	else
+	{
+		cfg_Contrast = 0;
+
+		setScrollBarPos(SB_PAL_R, cfg_Red, false);
+		setScrollBarPos(SB_PAL_G, cfg_Green, false);
+		setScrollBarPos(SB_PAL_B, cfg_Blue, false);
+	}
+
+	setScrollBarPos(SB_PAL_CONTRAST, cfg_Contrast, false);
+
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	drawCurrentPaletteColor();
+}
+
+void sbPalRPos(uint32_t pos)
+{
+	if (cfg_Red != (uint8_t)pos)
+	{
+		cfg_Red = (uint8_t)pos;
+		paletteDragMoved();
+	}
+}
+
+void sbPalGPos(uint32_t pos)
+{
+	if (cfg_Green != (uint8_t)pos)
+	{
+		cfg_Green = (uint8_t)pos;
+		paletteDragMoved();
+	}
+}
+
+void sbPalBPos(uint32_t pos)
+{
+	if (cfg_Blue != (uint8_t)pos)
+	{
+		cfg_Blue = (uint8_t)pos;
+		paletteDragMoved();
+	}
+}
+
+void sbPalContrastPos(uint32_t pos)
+{
+	if (cfg_Contrast != (uint8_t)pos)
+	{
+		cfg_Contrast = (uint8_t)pos;
+		paletteDragMoved();
+	}
+}
+
+void configPalRDown(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollLeft(SB_PAL_R, 1);
+}
+
+void configPalRUp(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollRight(SB_PAL_R, 1);
+}
+
+void configPalGDown(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollLeft(SB_PAL_G, 1);
+}
+
+void configPalGUp(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollRight(SB_PAL_G, 1);
+}
+
+void configPalBDown(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollLeft(SB_PAL_B, 1);
+}
+
+void configPalBUp(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollRight(SB_PAL_B, 1);
+}
+
+void configPalContDown(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollLeft(SB_PAL_CONTRAST, 1);
+}
+
+void configPalContUp(void)
+{
+	if (config.cfg_StdPalNr != PAL_USER_DEFINED)
+		showColorErrorMsg();
+	else
+		scrollBarScrollRight(SB_PAL_CONTRAST, 1);
+}
+
+void showPaletteEditor(void)
+{
+	charOutShadow(503, 17, PAL_FORGRND, PAL_DSKTOP2, 'R');
+	charOutShadow(503, 31, PAL_FORGRND, PAL_DSKTOP2, 'G');
+	charOutShadow(503, 45, PAL_FORGRND, PAL_DSKTOP2, 'B');
+
+	showScrollBar(SB_PAL_R);
+	showScrollBar(SB_PAL_G);
+	showScrollBar(SB_PAL_B);
+	showPushButton(PB_CONFIG_PAL_R_DOWN);
+	showPushButton(PB_CONFIG_PAL_R_UP);
+	showPushButton(PB_CONFIG_PAL_G_DOWN);
+	showPushButton(PB_CONFIG_PAL_G_UP);
+	showPushButton(PB_CONFIG_PAL_B_DOWN);
+	showPushButton(PB_CONFIG_PAL_B_UP);
+
+	showRadioButtonGroup(RB_GROUP_CONFIG_PAL_ENTRIES);
+
+	textOutShadow(516, 59, PAL_FORGRND, PAL_DSKTOP2, "Contrast:");
+	showScrollBar(SB_PAL_CONTRAST);
+	showPushButton(PB_CONFIG_PAL_CONT_DOWN);
+	showPushButton(PB_CONFIG_PAL_CONT_UP);
+
+	updatePaletteEditor();
+}
+
+void rbConfigPalPatternText(void)
+{
+	cfg_ColorNr = 0;
+	checkRadioButton(RB_CONFIG_PAL_PATTERNTEXT);
+	updatePaletteEditor();
+}
+
+void rbConfigPalBlockMark(void)
+{
+	cfg_ColorNr = 1;
+	checkRadioButton(RB_CONFIG_PAL_BLOCKMARK);
+	updatePaletteEditor();
+}
+
+void rbConfigPalTextOnBlock(void)
+{
+	cfg_ColorNr = 2;
+	checkRadioButton(RB_CONFIG_PAL_TEXTONBLOCK);
+	updatePaletteEditor();
+}
+
+void rbConfigPalMouse(void)
+{
+	cfg_ColorNr = 3;
+	checkRadioButton(RB_CONFIG_PAL_MOUSE);
+	updatePaletteEditor();
+}
+
+void rbConfigPalDesktop(void)
+{
+	cfg_ColorNr = 4;
+	checkRadioButton(RB_CONFIG_PAL_DESKTOP);
+	updatePaletteEditor();
+}
+
+void rbConfigPalButttons(void)
+{
+	cfg_ColorNr = 5;
+	checkRadioButton(RB_CONFIG_PAL_BUTTONS);
+	updatePaletteEditor();
+}
+
+void rbConfigPalArctic(void)
+{
+	config.cfg_StdPalNr = PAL_ARCTIC;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_ARCTIC);
+}
+
+void rbConfigPalLitheDark(void)
+{
+	config.cfg_StdPalNr = PAL_LITHE_DARK;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_LITHE_DARK);
+}
+
+void rbConfigPalAuroraBorealis(void)
+{
+	config.cfg_StdPalNr = PAL_AURORA_BOREALIS;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_AURORA_BOREALIS);
+}
+
+void rbConfigPalRose(void)
+{
+	config.cfg_StdPalNr = PAL_ROSE;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_ROSE);
+}
+
+void rbConfigPalBlues(void)
+{
+	config.cfg_StdPalNr = PAL_BLUES;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_BLUES);
+}
+
+void rbConfigPalSpacePigs(void)
+{
+	config.cfg_StdPalNr = PAL_SPACE_PIGS;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_SPACE_PIGS);
+}
+
+void rbConfigPalGold(void)
+{
+	config.cfg_StdPalNr = PAL_GOLD;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_GOLD);
+}
+
+void rbConfigPalViolent(void)
+{
+	config.cfg_StdPalNr = PAL_VIOLENT;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_VIOLENT);
+}
+
+void rbConfigPalHeavyMetal(void)
+{
+	config.cfg_StdPalNr = PAL_HEAVY_METAL;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_HEAVY_METAL);
+}
+
+void rbConfigPalWhyColors(void)
+{
+	config.cfg_StdPalNr = PAL_WHY_COLORS;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_WHY_COLORS);
+}
+
+void rbConfigPalJungle(void)
+{
+	config.cfg_StdPalNr = PAL_JUNGLE;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_JUNGLE);
+}
+
+void rbConfigPalUserDefined(void)
+{
+	config.cfg_StdPalNr = PAL_USER_DEFINED;
+	updatePaletteEditor();
+	setPal16(palTable[config.cfg_StdPalNr], true);
+	checkRadioButton(RB_CONFIG_PAL_USER_DEFINED);
+}
+
+pal16 palTable[12][16] = // FT2 palettes (18-bit VGA RGB, 16 color palette)
+{
+	{
+		{0, 0, 0},{30, 38, 63},{0, 0, 17},{63, 63, 63},
+		{27, 36, 40},{63, 63, 63},{40, 40, 40},{0, 0, 0},
+		{10, 13, 14},{49, 63, 63},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{21, 40, 63},{0, 0, 17},{63, 63, 63},
+		{6, 39, 35},{63, 63, 63},{40, 40, 40},{0, 0, 0},
+		{2, 14, 13},{11, 63, 63},{16, 16, 16},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{39, 52, 63},{8, 8, 13},{57, 57, 63},
+		{10, 21, 33},{63, 63, 63},{37, 37, 45},{0, 0, 0},
+		{4, 8, 13},{18, 37, 58},{13, 13, 16},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{47, 47, 47},{9, 9, 9},{63, 63, 63},
+		{37, 29, 7},{63, 63, 63},{40, 40, 40},{0, 0, 0},
+		{11, 9, 2},{63, 58, 14},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{46, 45, 46},{13, 9, 9},{63, 63, 63},
+		{22, 19, 22},{63, 63, 63},{36, 32, 34},{0, 0, 0},
+		{8, 7, 8},{39, 34, 39},{13, 12, 12},{63, 58, 62},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{19, 49, 54},{0, 11, 7},{52, 63, 61},
+		{9, 31, 21},{63, 63, 63},{40, 40, 40},{0, 0, 0},
+		{4, 13, 9},{15, 50, 34},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{27, 37, 53},{0, 0, 20},{63, 63, 63},
+		{7, 12, 21},{63, 63, 63},{38, 39, 39},{0, 0, 0},
+		{2, 4, 7},{14, 23, 41},{13, 13, 13},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{63, 54, 62},{18, 3, 3},{63, 63, 63},
+		{36, 19, 25},{63, 63, 63},{40, 40, 40},{0, 0, 0},
+		{11, 6, 8},{63, 38, 50},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{63, 0, 63},{0, 21, 0},{63, 44, 0},
+		{0, 63, 0},{63, 63, 63},{63, 0, 0},{0, 0, 0},
+		{0, 28, 0},{0, 63, 0},{23, 0, 0},{63, 0, 0},
+		{0, 63, 63},{0, 63, 63},{0, 63, 63},{0, 63, 63}
+	},
+	{
+		{0, 0, 0},{50, 46, 63},{15, 0, 16},{59, 58, 63},
+		{34, 21, 41},{63, 63, 63},{40, 40, 40},{0, 0, 0},
+		{13, 8, 15},{61, 37, 63},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{63, 63, 32},{10, 10, 10},{63, 63, 63},
+		{18, 29, 32},{63, 63, 63},{39, 39, 39},{0, 0, 0},
+		{6, 10, 11},{34, 54, 60},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	},
+	{
+		{0, 0, 0},{36, 47, 63},{9, 9, 16},{63, 63, 63},
+		{19, 24, 38},{63, 63, 63},{39, 39, 39},{0, 0, 0},
+		{8, 10, 15},{32, 41, 63},{15, 15, 15},{63, 63, 63},
+		{63, 63, 63},{63, 63, 63},{63, 63, 63},{63, 63, 63}
+	}
+};
--- /dev/null
+++ b/src/ft2_palette.h
@@ -1,0 +1,86 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+#define RGB32_R(x) (((x) >> 16) & 0xFF)
+#define RGB32_G(x) (((x) >> 8) & 0xFF)
+#define RGB32_B(x) ((x) & 0xFF)
+#define RGB32(r, g, b) (((r) << 16) | ((g) << 8) | (b))
+#define P6_TO_P8(x) (((x) << 2) + ((x) >> 4))
+
+#define PAL_TRANSPR 127
+
+// FT2 palette (exact order as real FT2)
+enum
+{
+	PAL_BCKGRND = 0,
+	PAL_PATTEXT = 1,
+	PAL_BLCKMRK = 2,
+	PAL_BLCKTXT = 3,
+	PAL_DESKTOP = 4,
+	PAL_FORGRND = 5,
+	PAL_BUTTONS = 6,
+	PAL_BTNTEXT = 7,
+	PAL_DSKTOP2 = 8,
+	PAL_DSKTOP1 = 9,
+	PAL_BUTTON2 = 10,
+	PAL_BUTTON1 = 11,
+	PAL_MOUSEPT = 12,
+
+	// these are used for mouse XOR when hovering over the piano (?)
+	PAL_PIANOXOR1 = 13,
+	PAL_PIANOXOR2 = 14,
+	PAL_PIANOXOR3 = 15,
+
+	// custom clone palettes
+	PAL_LOOPPIN = 16,
+	PAL_TEXTMRK = 17,
+	PAL_BOXSLCT = 18,
+
+	PAL_NUM
+};
+
+typedef struct pal16_t
+{
+	uint8_t r, g, b;
+} pal16;
+
+extern uint8_t cfg_ColorNr;
+extern pal16 palTable[12][16];
+
+uint8_t palMax(int32_t c);
+void setPal16(pal16 *p, bool redrawScreen);
+
+void sbPalRPos(uint32_t pos);
+void sbPalGPos(uint32_t pos);
+void sbPalBPos(uint32_t pos);
+void sbPalContrastPos(uint32_t pos);
+void configPalRDown(void);
+void configPalRUp(void);
+void configPalGDown(void);
+void configPalGUp(void);
+void configPalBDown(void);
+void configPalBUp(void);
+void configPalContDown(void);
+void configPalContUp(void);
+void showPaletteEditor(void);
+
+void rbConfigPalPatternText(void);
+void rbConfigPalBlockMark(void);
+void rbConfigPalTextOnBlock(void);
+void rbConfigPalMouse(void);
+void rbConfigPalDesktop(void);
+void rbConfigPalButttons(void);
+void rbConfigPalArctic(void);
+void rbConfigPalLitheDark(void);
+void rbConfigPalAuroraBorealis(void);
+void rbConfigPalRose(void);
+void rbConfigPalBlues(void);
+void rbConfigPalSpacePigs(void);
+void rbConfigPalGold(void);
+void rbConfigPalViolent(void);
+void rbConfigPalHeavyMetal(void);
+void rbConfigPalWhyColors(void);
+void rbConfigPalJungle(void);
+void rbConfigPalUserDefined(void);
--- /dev/null
+++ b/src/ft2_pattern_draw.c
@@ -1,0 +1,1342 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include "ft2_header.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gfxdata.h"
+#include "ft2_config.h"
+#include "ft2_gui.h"
+#include "ft2_video.h"
+
+static const uint8_t vol2charTab1[16] = { 39, 0, 1, 2, 3, 4, 36, 52, 53, 54, 28, 31, 25, 58, 59, 22 };
+static const uint8_t vol2charTab2[16] = { 42, 0, 1, 2, 3, 4, 36, 37, 38, 39, 28, 31, 25, 40, 41, 22 };
+static const uint8_t columnModeTab[12] = { 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3 };
+static const uint8_t sharpNote1Char_small[12] = {  8*6,  8*6,  9*6,  9*6, 10*6, 11*6, 11*6, 12*6, 12*6, 13*6, 13*6, 14*6 };
+static const uint8_t sharpNote2Char_small[12] = { 16*6, 15*6, 16*6, 15*6, 16*6, 16*6, 15*6, 16*6, 15*6, 16*6, 15*6, 16*6 };
+static const uint8_t flatNote1Char_small[12] = {  8*6,  9*6,  9*6, 10*6, 10*6, 11*6, 12*6, 12*6, 13*6, 13*6, 14*6, 14*6 };
+static const uint8_t flatNote2Char_small[12] = { 16*6, 17*6, 16*6, 17*6, 16*6, 16*6, 17*6, 16*6, 17*6, 16*6, 17*6, 16*6 };
+static const uint8_t sharpNote1Char_med[12] = { 12*8, 12*8, 13*8, 13*8, 14*8, 15*8, 15*8, 16*8, 16*8, 10*8, 10*8, 11*8 };
+static const uint16_t sharpNote2Char_med[12] = { 36*8, 37*8, 36*8, 37*8, 36*8, 36*8, 37*8, 36*8, 37*8, 36*8, 37*8, 36*8 };
+static const uint8_t flatNote1Char_med[12] = { 12*8, 13*8, 13*8, 14*8, 14*8, 15*8, 16*8, 16*8, 10*8, 10*8, 11*8, 11*8 };
+static const uint16_t flatNote2Char_med[12] = { 36*8, 38*8, 36*8, 38*8, 36*8, 36*8, 38*8, 36*8, 38*8, 36*8, 38*8, 36*8 };
+static const uint16_t sharpNote1Char_big[12] = { 12*16, 12*16, 13*16, 13*16, 14*16, 15*16, 15*16, 16*16, 16*16, 10*16, 10*16, 11*16 };
+static const uint16_t sharpNote2Char_big[12] = { 36*16, 37*16, 36*16, 37*16, 36*16, 36*16, 37*16, 36*16, 37*16, 36*16, 37*16, 36*16 };
+static const uint16_t flatNote1Char_big[12] = { 12*16, 13*16, 13*16, 14*16, 14*16, 15*16, 16*16, 16*16, 10*16, 10*16, 11*16, 11*16 };
+static const uint16_t flatNote2Char_big[12] = { 36*16, 38*16, 36*16, 38*16, 36*16, 36*16, 38*16, 36*16, 38*16, 36*16, 38*16, 36*16 };
+
+static tonTyp emptyNote;
+
+// ft2_pattern_ed.c
+extern const uint16_t chanWidths[6];
+
+// defined at the bottom of this file
+extern const pattCoord_t pattCoordTable[2][2][2];
+extern const pattCoord2_t pattCoord2Table[2][2][2];
+extern const markCoord_t markCoordTable[2][2][2];
+extern const uint8_t pattCursorXTab[2 * 4 * 8];
+extern const uint8_t pattCursorWTab[2 * 4 * 8];
+
+static void rowNumOut(uint32_t yPos, uint8_t paletteIndex, uint8_t rowChar1, uint8_t rowChar2);
+static void pattCharOut(uint32_t xPos, uint32_t yPos, uint8_t paletteIndex, uint8_t chr, uint8_t fontType);
+static void drawEmptyNoteSmall(uint16_t x, uint16_t y, uint8_t paletteIndex);
+static void drawKeyOffSmall(uint16_t x, uint16_t y, uint8_t paletteIndex);
+static void drawNoteSmall(uint16_t x, uint16_t y, uint8_t paletteIndex, int16_t ton);
+static void drawEmptyNoteMedium(uint16_t x, uint16_t y, uint8_t paletteIndex);
+static void drawKeyOffMedium(uint16_t x, uint16_t y, uint8_t paletteIndex);
+static void drawNoteMedium(uint16_t x, uint16_t y, uint8_t paletteIndex, int16_t ton);
+static void drawEmptyNoteBig(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex);
+static void drawKeyOffBig(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex);
+static void drawNoteBig(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, int16_t ton);
+
+void drawPatternBorders(void)
+{
+	uint8_t chans;
+	uint16_t xOffs, chanWidth;
+	int32_t clearSize;
+	const pattCoord2_t *pattCoord;
+
+	// get heights/pos/rows depending on configuration
+	pattCoord = &pattCoord2Table[config.ptnUnpressed][editor.ui.pattChanScrollShown][editor.ui.extended];
+
+	// set pattern cursor Y position
+	editor.ptnCursorY = pattCoord->lowerRowsY - 9;
+
+	chans = editor.ui.numChannelsShown;
+	if (chans > editor.ui.maxVisibleChannels)
+		chans = editor.ui.maxVisibleChannels;
+
+	// in some configurations, there will be two empty channels to the right, fix that
+	if (chans == 2)
+		chans = 4;
+	else if (chans == 10 && !config.ptnS3M)
+		chans = 12;
+
+	chanWidth = chanWidths[(chans / 2) - 1] + 2;
+
+	// fill scrollbar framework (if needed)
+	if (editor.ui.pattChanScrollShown)
+		drawFramework(0, 383, 632, 17, FRAMEWORK_TYPE1);
+
+	if (config.ptnFrmWrk)
+	{
+		// pattern editor w/ framework
+
+		if (editor.ui.extended)
+		{
+			vLine(0,   54, 345, PAL_DSKTOP1);
+			vLine(631, 53, 346, PAL_DSKTOP2);
+
+			vLine(1,   54, 345, PAL_DESKTOP);
+			vLine(630, 54, 345, PAL_DESKTOP);
+
+			hLine(0, 53, 631, PAL_DSKTOP1);
+			hLine(1, 54, 630, PAL_DESKTOP);
+
+			if (!editor.ui.pattChanScrollShown)
+			{
+				hLine(1, 398, 630, PAL_DESKTOP);
+				hLine(0, 399, 632, PAL_DSKTOP2);
+			}
+		}
+		else
+		{
+			vLine(0,   174, 225, PAL_DSKTOP1);
+			vLine(631, 173, 226, PAL_DSKTOP2);
+
+			vLine(1,   174, 225, PAL_DESKTOP);
+			vLine(630, 174, 225, PAL_DESKTOP);
+
+			hLine(0, 173, 631, PAL_DSKTOP1);
+			hLine(1, 174, 630, PAL_DESKTOP);
+
+			if (!editor.ui.pattChanScrollShown)
+			{
+				hLine(1, 398, 630, PAL_DESKTOP);
+				hLine(0, 399, 632, PAL_DSKTOP2);
+			}
+		}
+
+		// fill middle (current row)
+		fillRect(2, pattCoord->lowerRowsY - 9, 628, 9, PAL_DESKTOP);
+
+		// fill row number boxes
+		drawFramework(2, pattCoord->upperRowsY, 25, pattCoord->upperRowsH, FRAMEWORK_TYPE2); // top left
+		drawFramework(604, pattCoord->upperRowsY, 26, pattCoord->upperRowsH, FRAMEWORK_TYPE2); // top right
+		drawFramework(2, pattCoord->lowerRowsY, 25, pattCoord->lowerRowsH, FRAMEWORK_TYPE2); // bottom left
+		drawFramework(604, pattCoord->lowerRowsY, 26, pattCoord->lowerRowsH, FRAMEWORK_TYPE2); // bottom right
+
+		// draw channels
+		xOffs = 28;
+		for (uint8_t i = 0; i < chans; i++)
+		{
+			vLine(xOffs - 1, pattCoord->upperRowsY, pattCoord->upperRowsH, PAL_DESKTOP);
+			vLine(xOffs - 1, pattCoord->lowerRowsY, pattCoord->lowerRowsH + 1, PAL_DESKTOP);
+
+			drawFramework(xOffs, pattCoord->upperRowsY, chanWidth, pattCoord->upperRowsH, FRAMEWORK_TYPE2); // top part
+			drawFramework(xOffs, pattCoord->lowerRowsY, chanWidth, pattCoord->lowerRowsH, FRAMEWORK_TYPE2); // bottom part
+
+			xOffs += (chanWidth + 1);
+		}
+
+		vLine(xOffs - 1, pattCoord->upperRowsY, pattCoord->upperRowsH, PAL_DESKTOP);
+		vLine(xOffs - 1, pattCoord->lowerRowsY, pattCoord->lowerRowsH + 1, PAL_DESKTOP);
+	}
+	else
+	{
+		// pattern editor without framework
+
+		if (editor.ui.extended)
+		{
+			clearSize = editor.ui.pattChanScrollShown ? (SCREEN_W * sizeof (int32_t) * 330) : (SCREEN_W * sizeof (int32_t) * 347);
+			memset(&video.frameBuffer[53 * SCREEN_W], 0, clearSize);
+		}
+		else
+		{
+			clearSize = editor.ui.pattChanScrollShown ? (SCREEN_W * sizeof(int32_t) * 210) : (SCREEN_W * sizeof(int32_t) * 227);
+			memset(&video.frameBuffer[173 * SCREEN_W], 0, clearSize);
+		}
+
+		drawFramework(0, pattCoord->lowerRowsY - 10, SCREEN_W, 11, FRAMEWORK_TYPE1);
+	}
+
+	if (editor.ui.pattChanScrollShown)
+	{
+		showScrollBar(SB_CHAN_SCROLL);
+		showPushButton(PB_CHAN_SCROLL_LEFT);
+		showPushButton(PB_CHAN_SCROLL_RIGHT);
+	}
+	else
+	{
+		hideScrollBar(SB_CHAN_SCROLL);
+		hidePushButton(PB_CHAN_SCROLL_LEFT);
+		hidePushButton(PB_CHAN_SCROLL_RIGHT);
+
+		setScrollBarPos(SB_CHAN_SCROLL, 0, false);
+	}
+}
+
+static void writeCursor(void)
+{
+	uint32_t *dstPtr, xPos, width, tabOffset;
+
+	tabOffset = (config.ptnS3M * 32) + (columnModeTab[editor.ui.numChannelsShown - 1] * 8) + editor.cursor.object;
+
+	xPos = pattCursorXTab[tabOffset];
+	width = pattCursorWTab[tabOffset];
+
+	assert(editor.ptnCursorY > 0 && xPos > 0 && width > 0);
+	xPos += ((editor.cursor.ch - editor.ui.channelOffset) * editor.ui.patternChannelWidth);
+
+	dstPtr = &video.frameBuffer[(editor.ptnCursorY * SCREEN_W) + xPos];
+	for (uint32_t y = 0; y < 9; y++)
+	{
+		for (uint32_t x = 0; x < width; x++)
+			dstPtr[x] = video.palette[(dstPtr[x] >> 24) ^ 4]; // ">> 24" to get palette, XOR 4 to change to cursor palette
+
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void writePatternBlockMark(int16_t currRow, uint16_t rowHeight, const pattCoord_t *pattCoord)
+{
+	uint8_t startCh, endCh;
+	int16_t startRow, endRow, x1, x2, y1, y2;
+	uint16_t pattYStart, pattYEnd;
+	uint32_t w, h, *ptr32;
+	const markCoord_t *markCoord;
+
+	// this can happen (buggy FT2 code), treat like no mark
+	if (pattMark.markY1 > pattMark.markY2)
+		return;
+
+	startCh = editor.ui.channelOffset;
+	endCh = editor.ui.channelOffset + (editor.ui.numChannelsShown - 1);
+	startRow = currRow - pattCoord->numUpperRows;
+	endRow = currRow + pattCoord->numLowerRows;
+
+	// test if pattern marking is outside of visible area (don't draw)
+	if (pattMark.markX1 > endCh || pattMark.markX2 < startCh || pattMark.markY1 > endRow || pattMark.markY2 < startRow)
+		return;
+
+	markCoord = &markCoordTable[config.ptnUnpressed][editor.ui.pattChanScrollShown][editor.ui.extended];
+	pattYStart = markCoord->upperRowsY;
+
+	// X1
+
+	x1 = 32 + ((pattMark.markX1 - editor.ui.channelOffset) * editor.ui.patternChannelWidth);
+	if (x1 < 32)
+		x1 = 32;
+
+	// X2
+
+	x2 = (32 - 8) + (((pattMark.markX2 + 1) - editor.ui.channelOffset) * editor.ui.patternChannelWidth);
+	if (x2 > 608)
+		x2 = 608;
+
+	// Y1
+
+	if (pattMark.markY1 < currRow)
+	{
+		y1 = pattYStart + ((pattMark.markY1 - startRow) * rowHeight);
+		if (y1 < pattYStart)
+			y1 = pattYStart;
+	}
+	else if (pattMark.markY1 == currRow)
+	{
+		y1 = markCoord->midRowY;
+	}
+	else
+	{
+		y1 = markCoord->lowerRowsY + ((pattMark.markY1 - (currRow + 1)) * rowHeight);
+	}
+
+	// Y2
+
+	if (pattMark.markY2-1 < currRow)
+	{
+		y2 = pattYStart + ((pattMark.markY2 - startRow) * rowHeight);
+	}
+	else if (pattMark.markY2-1 == currRow)
+	{
+		y2 = markCoord->midRowY + 11;
+	}
+	else
+	{
+		pattYEnd = markCoord->lowerRowsY + (pattCoord->numLowerRows * rowHeight);
+
+		y2 = markCoord->lowerRowsY + ((pattMark.markY2 - (currRow + 1)) * rowHeight);
+		if (y2 > pattYEnd)
+			y2 = pattYEnd;
+	}
+
+	// kludge! (some mark situations could overwrite illegal areas)
+	if (config.ptnUnpressed && editor.ui.pattChanScrollShown)
+	{
+		if (y1 == pattCoord->upperRowsY-1 || y1 == pattCoord->lowerRowsY-1)
+			y1++;
+
+		if (y2 == 384)
+			y2--;
+
+		// this can actually happen here, don't render in that case
+		if (y1 >= y2)
+			return;
+	}
+
+	assert(x1 > 0 && x1 < SCREEN_W && x2 > 0 && x2 < SCREEN_W &&
+	       y1 > 0 && y1 < SCREEN_H && y2 > 0 && y2 < SCREEN_H);
+
+	// pattern mark drawing
+
+	w = x2 - x1;
+	h = y2 - y1;
+
+	assert(x1+w <= SCREEN_W && y1+h <= SCREEN_H);
+
+	ptr32 = &video.frameBuffer[(y1 * SCREEN_W) + x1];
+	for (uint32_t y = 0; y < h; y++)
+	{
+		for (uint32_t x = 0; x < w; x++)
+			ptr32[x] = video.palette[(ptr32[x] >> 24) ^ 2]; // ">> 24" to get palette of pixel, XOR 2 to change to mark palette
+
+		ptr32 += SCREEN_W;
+	}
+}
+
+static void drawChannelNumbering(uint16_t yPos)
+{
+	uint8_t chNum;
+	uint16_t xPos;
+
+	xPos = 29;
+	for (uint8_t i = 0; i < editor.ui.numChannelsShown; i++)
+	{
+		chNum = editor.ui.channelOffset + i + 1;
+		if (chNum < 10)
+		{
+			charOutOutlined(xPos, yPos, PAL_MOUSEPT, '0' + chNum);
+		}
+		else
+		{
+			charOutOutlined(xPos, yPos, PAL_MOUSEPT, '0' + (chNum / 10));
+			charOutOutlined(xPos + 9, yPos, PAL_MOUSEPT, '0' + (chNum % 10));
+		}
+
+		xPos += editor.ui.patternChannelWidth;
+	}
+}
+
+static void drawRowNum(uint16_t yPos, uint16_t row, bool middleRowFlag)
+{
+	uint8_t pal;
+
+	// set color based on some conditions
+	if (middleRowFlag)
+		pal = PAL_FORGRND;
+	else if ((row & 3) == 0 && config.ptnLineLight)
+		pal = PAL_BLCKTXT;
+	else
+		pal = PAL_PATTEXT;
+
+	if (config.ptnHex)
+	{
+		rowNumOut(yPos, pal, (uint8_t)(row >> 4), row & 0x0F);
+	}
+	else
+	{
+		row %= 100;
+		rowNumOut(yPos, pal, (uint8_t)(row / 10), row % 10);
+	}
+}
+
+// DRAWING ROUTINES (WITH VOLUME COLUMN)
+
+static void showNoteNum(uint8_t pal, uint16_t xPos, uint16_t yPos, int16_t ton)
+{
+	xPos += 3;
+
+	if (editor.ui.numChannelsShown <= 4)
+	{
+		if (ton == 0)
+			drawEmptyNoteBig(xPos, yPos, pal);
+		else if (ton == 97)
+			drawKeyOffBig(xPos, yPos, pal);
+		else
+			drawNoteBig(xPos, yPos, pal, ton);
+	}
+	else
+	{
+		if (ton == 0)
+			drawEmptyNoteMedium(xPos, yPos, pal);
+		else if (ton == 97)
+			drawKeyOffMedium(xPos, yPos, pal);
+		else
+			drawNoteMedium(xPos, yPos, pal, ton);
+	}
+}
+
+static void showInstrNum(uint8_t pal, uint16_t xPos, uint16_t yPos, uint8_t ins)
+{
+	uint8_t chr1, chr2, charW, fontType;
+
+	if (editor.ui.numChannelsShown <= 4)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 67;
+	}
+	else if (editor.ui.numChannelsShown <= 6)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 27;
+	}
+	else
+	{
+		fontType = FONT_TYPE3;
+		charW = FONT3_CHAR_W;
+		xPos += 31;
+	}
+
+	if (config.ptnInstrZero)
+	{
+		pattCharOut(xPos,         yPos, pal, ins >> 4,   fontType);
+		pattCharOut(xPos + charW, yPos, pal, ins & 0x0F, fontType);
+	}
+	else
+	{
+		chr1 = ins >> 4;
+		chr2 = ins & 0x0F;
+
+		if (chr1 > 0)
+			pattCharOut(xPos, yPos, pal, chr1, fontType);
+
+		if (chr1 > 0 || chr2 > 0)
+			pattCharOut(xPos + charW, yPos, pal, chr2, fontType);
+	}
+}
+
+static void showVolEfx(uint8_t pal, uint16_t xPos, uint16_t yPos, uint8_t vol)
+{
+	uint8_t char1, char2, fontType, charW;
+
+	if (editor.ui.numChannelsShown <= 4)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 91;
+
+		char1 = vol2charTab1[vol >> 4];
+		if (vol < 0x10)
+			char2 = 39;
+		else
+			char2 = vol & 0x0F;
+	}
+	else if (editor.ui.numChannelsShown <= 6)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 51;
+
+		char1 = vol2charTab1[vol >> 4];
+		if (vol < 0x10)
+			char2 = 39;
+		else
+			char2 = vol & 0x0F;
+	}
+	else
+	{
+		fontType = FONT_TYPE3;
+		charW = FONT3_CHAR_W;
+		xPos += 43;
+
+		char1 = vol2charTab2[vol >> 4];
+		if (vol < 0x10)
+			char2 = 42;
+		else
+			char2 = vol & 0x0F;
+	}
+
+	pattCharOut(xPos,         yPos, pal, char1, fontType);
+	pattCharOut(xPos + charW, yPos, pal, char2, fontType);
+}
+
+static void showEfx(uint8_t pal, uint16_t xPos, uint16_t yPos, uint8_t effTyp, uint8_t eff)
+{
+	uint8_t fontType, charW;
+
+	if (editor.ui.numChannelsShown <= 4)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 115;
+	}
+	else if (editor.ui.numChannelsShown <= 6)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 67;
+	}
+	else
+	{
+		fontType = FONT_TYPE3;
+		charW = FONT3_CHAR_W;
+		xPos += 55;
+	}
+
+	pattCharOut(xPos,               yPos, pal, effTyp,     fontType);
+	pattCharOut(xPos +  charW,      yPos, pal, eff >> 4,   fontType);
+	pattCharOut(xPos + (charW * 2), yPos, pal, eff & 0x0F, fontType);
+}
+
+// DRAWING ROUTINES (WITHOUT VOLUME COLUMN)
+
+static void showNoteNumNoVolColumn(uint8_t pal, uint16_t xPos, uint16_t yPos, int16_t ton)
+{
+	xPos += 3;
+
+	if (editor.ui.numChannelsShown <= 6)
+	{
+		if (ton == 0)
+			drawEmptyNoteBig(xPos, yPos, pal);
+		else if (ton == 97)
+			drawKeyOffBig(xPos, yPos, pal);
+		else
+			drawNoteBig(xPos, yPos, pal, ton);
+	}
+	else if (editor.ui.numChannelsShown <= 8)
+	{
+		if (ton == 0)
+			drawEmptyNoteMedium(xPos, yPos, pal);
+		else if (ton == 97)
+			drawKeyOffMedium(xPos, yPos, pal);
+		else
+			drawNoteMedium(xPos, yPos, pal, ton);
+	}
+	else
+	{
+		if (ton == 0)
+			drawEmptyNoteSmall(xPos, yPos, pal);
+		else if (ton == 97)
+			drawKeyOffSmall(xPos, yPos, pal);
+		else
+			drawNoteSmall(xPos, yPos, pal, ton);
+	}
+}
+
+static void showInstrNumNoVolColumn(uint8_t pal, uint16_t xPos, uint16_t yPos, uint8_t ins)
+{
+	uint8_t chr1, chr2, charW, fontType;
+
+	if (editor.ui.numChannelsShown <= 4)
+	{
+		fontType = FONT_TYPE5;
+		charW = FONT5_CHAR_W;
+		xPos += 59;
+	}
+	else if (editor.ui.numChannelsShown <= 6)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 51;
+	}
+	else if (editor.ui.numChannelsShown <= 8)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 27;
+	}
+	else
+	{
+		fontType = FONT_TYPE3;
+		charW = FONT3_CHAR_W;
+		xPos += 23;
+	}
+
+	if (config.ptnInstrZero)
+	{
+		pattCharOut(xPos,         yPos, pal, ins >> 4,   fontType);
+		pattCharOut(xPos + charW, yPos, pal, ins & 0x0F, fontType);
+	}
+	else
+	{
+		chr1 = ins >> 4;
+		chr2 = ins & 0x0F;
+
+		if (chr1 > 0)
+			pattCharOut(xPos, yPos, pal, chr1, fontType);
+
+		if (chr1 > 0 || chr2 > 0)
+			pattCharOut(xPos + charW, yPos, pal, chr2, fontType);
+	}
+}
+
+static void showNoVolEfx(uint8_t pal, uint16_t xPos, uint16_t yPos, uint8_t vol)
+{
+	// make compiler happy
+	(void)pal;
+	(void)xPos;
+	(void)yPos;
+	(void)vol;
+}
+
+static void showEfxNoVolColumn(uint8_t pal, uint16_t xPos, uint16_t yPos, uint8_t effTyp, uint8_t eff)
+{
+	uint8_t charW, fontType;
+
+	if (editor.ui.numChannelsShown <= 4)
+	{
+		fontType = FONT_TYPE5;
+		charW = FONT5_CHAR_W;
+		xPos += 91;
+	}
+	else if (editor.ui.numChannelsShown <= 6)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 67;
+	}
+	else if (editor.ui.numChannelsShown <= 8)
+	{
+		fontType = FONT_TYPE4;
+		charW = FONT4_CHAR_W;
+		xPos += 43;
+	}
+	else
+	{
+		fontType = FONT_TYPE3;
+		charW = FONT3_CHAR_W;
+		xPos += 31;
+	}
+
+	pattCharOut(xPos,               yPos, pal, effTyp,     fontType);
+	pattCharOut(xPos +  charW,      yPos, pal, eff >> 4,   fontType);
+	pattCharOut(xPos + (charW * 2), yPos, pal, eff & 0x0F, fontType);
+}
+
+static void drawRowNumbers(const pattCoord_t *pattCoord, int16_t currRow, uint16_t rowHeight, uint16_t upperRowsYEnd, uint16_t pattLen)
+{
+	int16_t j, rowYPos, numRows;
+
+	// upper rows
+	numRows = currRow;
+	if (numRows > 0)
+	{
+		if (numRows > pattCoord->numUpperRows)
+			numRows = pattCoord->numUpperRows;
+
+		rowYPos = upperRowsYEnd;
+		for (j = 0; j < numRows; j++)
+		{
+			drawRowNum(rowYPos, currRow - j - 1, false);
+			rowYPos -= rowHeight;
+		}
+	}
+
+	// current row
+	drawRowNum(pattCoord->midRowTextY, currRow, true);
+
+	// lower rows
+	numRows = (pattLen - 1) - currRow;
+	if (numRows > 0)
+	{
+		if (numRows > pattCoord->numLowerRows)
+			numRows = pattCoord->numLowerRows;
+
+		rowYPos = pattCoord->lowerRowsTextY;
+		for (j = 0; j < numRows; j++)
+		{
+			drawRowNum(rowYPos, currRow + j + 1, false);
+			rowYPos += rowHeight;
+		}
+	}
+}
+
+void writePattern(int16_t currRow, int16_t pattern)
+{
+	uint8_t chans, chNum;
+	int16_t numRows, j;
+	uint16_t pattLen, xPos, rowYPos, rowHeight, chanWidth, upperRowsYEnd;
+	tonTyp *note, *pattPtr;
+	const pattCoord_t *pattCoord;
+	void (*drawNote)(uint8_t, uint16_t, uint16_t, int16_t);
+	void (*drawInst)(uint8_t, uint16_t, uint16_t, uint8_t);
+	void (*drawVolEfx)(uint8_t, uint16_t, uint16_t, uint8_t);
+	void (*drawEfx)(uint8_t, uint16_t, uint16_t, uint8_t, uint8_t);
+
+	// we're too lazy to erase things, just render the whole pattern framework first (fast enough on modern PCs)
+	drawPatternBorders();
+
+	chans = editor.ui.numChannelsShown;
+	if (chans > editor.ui.maxVisibleChannels)
+		chans = editor.ui.maxVisibleChannels;
+
+	// get channel width
+	chanWidth = chanWidths[(chans / 2) - 1];
+	editor.ui.patternChannelWidth = chanWidth + 3;
+
+	// get heights/pos/rows depending on configuration
+	pattCoord = &pattCoordTable[config.ptnUnpressed][editor.ui.pattChanScrollShown][editor.ui.extended];
+	rowHeight = config.ptnUnpressed ? 11 : 8;
+	upperRowsYEnd = pattCoord->upperRowsTextY + ((pattCoord->numUpperRows - 1) * rowHeight);
+
+	pattPtr = patt[pattern];
+	pattLen = pattLens[pattern];
+
+	// draw row numbers
+	drawRowNumbers(pattCoord, currRow, rowHeight, upperRowsYEnd, pattLen);
+
+	// set up function pointers for drawing
+	if (config.ptnS3M)
+	{
+		drawNote = showNoteNum;
+		drawInst = showInstrNum;
+		drawVolEfx = showVolEfx;
+		drawEfx = showEfx;
+	}
+	else
+	{
+		drawNote = showNoteNumNoVolColumn;
+		drawInst = showInstrNumNoVolColumn;
+		drawVolEfx = showNoVolEfx;
+		drawEfx = showEfxNoVolColumn;
+	}
+
+	// draw pattern data
+
+	xPos = 29;
+	for (uint8_t i = 0; i < editor.ui.numChannelsShown; i++)
+	{
+		chNum = editor.ui.channelOffset + i;
+
+		// upper rows
+		numRows = currRow;
+		if (numRows > 0)
+		{
+			if (numRows > pattCoord->numUpperRows)
+				numRows = pattCoord->numUpperRows;
+
+			rowYPos = upperRowsYEnd;
+
+			if (pattPtr == NULL)
+				note = &emptyNote;
+			else
+				note = &pattPtr[((currRow - 1) * MAX_VOICES) + chNum];
+
+			for (j = 0; j < numRows; j++)
+			{
+				drawNote(PAL_PATTEXT, xPos, rowYPos, note->ton);
+				drawInst(PAL_PATTEXT, xPos, rowYPos, note->instr);
+				drawVolEfx(PAL_PATTEXT, xPos, rowYPos, note->vol);
+				drawEfx(PAL_PATTEXT, xPos, rowYPos, note->effTyp, note->eff);
+
+				if (pattPtr != NULL)
+					note -= MAX_VOICES;
+
+				rowYPos -= rowHeight;
+			}
+		}
+
+		// current row
+
+		if (pattPtr == NULL)
+			note = &emptyNote;
+		else
+			note = &pattPtr[(currRow * MAX_VOICES) + chNum];
+
+		rowYPos = pattCoord->midRowTextY;
+
+		drawNote(PAL_FORGRND, xPos, rowYPos, note->ton);
+		drawInst(PAL_FORGRND, xPos, rowYPos, note->instr);
+		drawVolEfx(PAL_FORGRND, xPos, rowYPos, note->vol);
+		drawEfx(PAL_FORGRND, xPos, rowYPos, note->effTyp, note->eff);
+
+		// lower rows
+		numRows = (pattLen - 1) - currRow;
+		if (numRows > 0)
+		{
+			if (numRows > pattCoord->numLowerRows)
+				numRows = pattCoord->numLowerRows;
+
+			rowYPos = pattCoord->lowerRowsTextY;
+
+			if (pattPtr == NULL)
+				note = &emptyNote;
+			else
+				note = &pattPtr[((currRow + 1) * MAX_VOICES) + chNum];
+
+			for (j = 0; j < numRows; j++)
+			{
+				drawNote(PAL_PATTEXT, xPos, rowYPos, note->ton);
+				drawInst(PAL_PATTEXT, xPos, rowYPos, note->instr);
+				drawVolEfx(PAL_PATTEXT, xPos, rowYPos, note->vol);
+				drawEfx(PAL_PATTEXT, xPos, rowYPos, note->effTyp, note->eff);
+
+				if (pattPtr != NULL)
+					note += MAX_VOICES;
+
+				rowYPos += rowHeight;
+			}
+		}
+
+		xPos += editor.ui.patternChannelWidth;
+	}
+
+	writeCursor();
+
+	if (pattMark.markY1 != pattMark.markY2) // do we have a pattern mark?
+		writePatternBlockMark(currRow, rowHeight, pattCoord);
+
+	// channel numbers must be drawn in the very end
+	if (config.ptnChnNumbers)
+		drawChannelNumbering(pattCoord->upperRowsTextY);
+}
+
+// ========== OPTIMIZED CHARACTER DRAWING ROUTINES FOR PATTERN EDITOR ==========
+
+void pattTwoHexOut(uint32_t xPos, uint32_t yPos, uint8_t paletteIndex, uint8_t val)
+{
+	const uint8_t *ch1Ptr, *ch2Ptr;
+	uint32_t *dstPtr, pixVal, offset;
+
+	pixVal = video.palette[paletteIndex];
+	offset = config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H);
+	ch1Ptr = &font4Data[((val   >> 4) * FONT4_CHAR_W) + offset];
+	ch2Ptr = &font4Data[((val & 0x0F) * FONT4_CHAR_W) + offset];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W; x++)
+		{
+			if (ch1Ptr[x]) dstPtr[x] = pixVal;
+			if (ch2Ptr[x]) dstPtr[FONT4_CHAR_W + x] = pixVal;
+		}
+
+		ch1Ptr += FONT4_WIDTH;
+		ch2Ptr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void rowNumOut(uint32_t yPos, uint8_t paletteIndex, uint8_t rowChar1, uint8_t rowChar2)
+{
+	const uint8_t *ch1Ptr, *ch2Ptr;
+	uint32_t *dstPtr, pixVal, offset;
+
+	pixVal = video.palette[paletteIndex];
+	offset = config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H);
+	ch1Ptr = &font4Data[(rowChar1 * FONT4_CHAR_W) + offset];
+	ch2Ptr = &font4Data[(rowChar2 * FONT4_CHAR_W) + offset];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + 8];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W; x++)
+		{
+			if (ch1Ptr[x])
+			{
+				dstPtr[x] = pixVal; // left side
+				dstPtr[600 + x] = pixVal; // right side
+			}
+
+			if (ch2Ptr[x])
+			{
+				dstPtr[ FONT4_CHAR_W + x] = pixVal; // left side
+				dstPtr[(600 + FONT4_CHAR_W) + x] = pixVal; // right side
+			}
+		}
+
+		ch1Ptr += FONT4_WIDTH;
+		ch2Ptr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void pattCharOut(uint32_t xPos, uint32_t yPos, uint8_t paletteIndex, uint8_t chr, uint8_t fontType)
+{
+	const uint8_t *srcPtr;
+	uint32_t x, y, *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	if (fontType == FONT_TYPE3)
+	{
+		srcPtr = &font3Data[chr * FONT3_CHAR_W];
+		for (y = 0; y < FONT3_CHAR_H; y++)
+		{
+			for (x = 0; x < FONT3_CHAR_W; x++)
+			{
+				if (srcPtr[x])
+					dstPtr[x] = pixVal;
+			}
+
+			srcPtr += FONT3_WIDTH;
+			dstPtr += SCREEN_W;
+		}
+	}
+	else if (fontType == FONT_TYPE4)
+	{
+		srcPtr = &font4Data[(chr * FONT4_CHAR_W) + (config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H))];
+		for (y = 0; y < FONT4_CHAR_H; y++)
+		{
+			for (x = 0; x < FONT4_CHAR_W; x++)
+			{
+				if (srcPtr[x])
+					dstPtr[x] = pixVal;
+			}
+
+			srcPtr += FONT4_WIDTH;
+			dstPtr += SCREEN_W;
+		}
+	}
+	else if (fontType == FONT_TYPE5)
+	{
+		srcPtr = &font5Data[(chr * FONT5_CHAR_W) + (config.ptnFont * (FONT5_WIDTH * FONT5_CHAR_H))];
+		for (y = 0; y < FONT5_CHAR_H; y++)
+		{
+			for (x = 0; x < FONT5_CHAR_W; x++)
+			{
+				if (srcPtr[x])
+					dstPtr[x] = pixVal;
+			}
+
+			srcPtr += FONT5_WIDTH;
+			dstPtr += SCREEN_W;
+		}
+	}
+	else
+	{
+		srcPtr = &font7Data[chr * FONT7_CHAR_W];
+		for (y = 0; y < FONT7_CHAR_H; y++)
+		{
+			for (x = 0; x < FONT7_CHAR_W; x++)
+			{
+				if (srcPtr[x])
+					dstPtr[x] = pixVal;
+			}
+
+			srcPtr += FONT7_WIDTH;
+			dstPtr += SCREEN_W;
+		}
+	}
+}
+
+static void drawEmptyNoteSmall(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font7Data[18 * FONT7_CHAR_W];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT7_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT7_CHAR_W*3; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT7_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawKeyOffSmall(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font7Data[21 * FONT7_CHAR_W];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + (xPos + 2)];
+
+	for (uint32_t y = 0; y < FONT7_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT7_CHAR_W*2; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT7_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawNoteSmall(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, int16_t ton)
+{
+	const uint8_t *ch1Ptr, *ch2Ptr, *ch3Ptr;
+	uint8_t note;
+	uint32_t *dstPtr, pixVal, char1, char2, char3;
+
+	assert(ton >= 1 && ton <= 97);
+
+	ton--;
+
+	note  =  ton % 12;
+	char3 = (ton / 12) * FONT7_CHAR_W;
+
+	if (config.ptnAcc == 0)
+	{
+		char1 = sharpNote1Char_small[note];
+		char2 = sharpNote2Char_small[note];
+	}
+	else
+	{
+		char1 = flatNote1Char_small[note];
+		char2 = flatNote2Char_small[note];
+	}
+
+	pixVal = video.palette[paletteIndex];
+	ch1Ptr = &font7Data[char1];
+	ch2Ptr = &font7Data[char2];
+	ch3Ptr = &font7Data[char3];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT7_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT7_CHAR_W; x++)
+		{
+			if (ch1Ptr[x]) dstPtr[ (FONT7_CHAR_W * 0)      + x] = pixVal;
+			if (ch2Ptr[x]) dstPtr[ (FONT7_CHAR_W * 1)      + x] = pixVal;
+			if (ch3Ptr[x]) dstPtr[((FONT7_CHAR_W * 2) - 2) + x] = pixVal;
+		}
+
+		ch1Ptr += FONT7_WIDTH;
+		ch2Ptr += FONT7_WIDTH;
+		ch3Ptr += FONT7_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawEmptyNoteMedium(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	srcPtr = &font4Data[(43 * FONT4_CHAR_W) + (config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H))];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W*3; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawKeyOffMedium(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font4Data[(40 * FONT4_CHAR_W) + (config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H))];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W*3; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawNoteMedium(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, int16_t ton)
+{
+	const uint8_t *ch1Ptr, *ch2Ptr, *ch3Ptr;
+	uint8_t note;
+	uint32_t *dstPtr, pixVal, fontOffset, char1, char2, char3;
+
+	assert(ton >= 1 && ton <= 97);
+
+	ton--;
+
+	note  =  ton % 12;
+	char3 = (ton / 12) * FONT4_CHAR_W;
+
+	if (config.ptnAcc == 0)
+	{
+		char1 = sharpNote1Char_med[note];
+		char2 = sharpNote2Char_med[note];
+	}
+	else
+	{
+		char1 = flatNote1Char_med[note];
+		char2 = flatNote2Char_med[note];
+	}
+
+	pixVal = video.palette[paletteIndex];
+	fontOffset = config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H);
+	ch1Ptr = &font4Data[char1 + fontOffset];
+	ch2Ptr = &font4Data[char2 + fontOffset];
+	ch3Ptr = &font4Data[char3 + fontOffset];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W; x++)
+		{
+			if (ch1Ptr[x]) dstPtr[(FONT4_CHAR_W * 0) + x] = pixVal;
+			if (ch2Ptr[x]) dstPtr[(FONT4_CHAR_W * 1) + x] = pixVal;
+			if (ch3Ptr[x]) dstPtr[(FONT4_CHAR_W * 2) + x] = pixVal;
+		}
+
+		ch1Ptr += FONT4_WIDTH;
+		ch2Ptr += FONT4_WIDTH;
+		ch3Ptr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawEmptyNoteBig(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font4Data[(67 * FONT4_CHAR_W) + (config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H))];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W*6; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawKeyOffBig(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex)
+{
+	const uint8_t *srcPtr;
+	uint32_t *dstPtr, pixVal;
+
+	pixVal = video.palette[paletteIndex];
+	srcPtr = &font4Data[(61 * FONT4_CHAR_W) + (config.ptnFont * (FONT4_WIDTH * FONT4_CHAR_H))];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT4_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT4_CHAR_W*6; x++)
+		{
+			if (srcPtr[x])
+				dstPtr[x] = pixVal;
+		}
+
+		srcPtr += FONT4_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+static void drawNoteBig(uint16_t xPos, uint16_t yPos, uint8_t paletteIndex, int16_t ton)
+{
+	const uint8_t *ch1Ptr, *ch2Ptr, *ch3Ptr;
+	uint8_t note;
+	uint32_t *dstPtr, pixVal, fontOffset, char1, char2, char3;
+
+	assert(ton >= 1 && ton <= 97);
+
+	ton--;
+
+	note  =  ton % 12;
+	char3 = (ton / 12) * FONT5_CHAR_W;
+
+	if (config.ptnAcc == 0)
+	{
+		char1 = sharpNote1Char_big[note];
+		char2 = sharpNote2Char_big[note];
+	}
+	else
+	{
+		char1 = flatNote1Char_big[note];
+		char2 = flatNote2Char_big[note];
+	}
+
+	pixVal = video.palette[paletteIndex];
+	fontOffset = config.ptnFont * (FONT5_WIDTH * FONT5_CHAR_H);
+	ch1Ptr = &font5Data[char1 + fontOffset];
+	ch2Ptr = &font5Data[char2 + fontOffset];
+	ch3Ptr = &font5Data[char3 + fontOffset];
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+
+	for (uint32_t y = 0; y < FONT5_CHAR_H; y++)
+	{
+		for (uint32_t x = 0; x < FONT5_CHAR_W; x++)
+		{
+			if (ch1Ptr[x]) dstPtr[(FONT5_CHAR_W * 0) + x] = pixVal;
+			if (ch2Ptr[x]) dstPtr[(FONT5_CHAR_W * 1) + x] = pixVal;
+			if (ch3Ptr[x]) dstPtr[(FONT5_CHAR_W * 2) + x] = pixVal;
+		}
+
+		ch1Ptr += FONT5_WIDTH;
+		ch2Ptr += FONT5_WIDTH;
+		ch3Ptr += FONT5_WIDTH;
+		dstPtr += SCREEN_W;
+	}
+}
+
+const pattCoord_t pattCoordTable[2][2][2] =
+{
+	/*
+		uint16_t upperRowsY, lowerRowsY;
+		uint16_t upperRowsTextY, midRowTextY, lowerRowsTextY;
+		uint16_t numUpperRows, numLowerRows;
+	*/
+
+	// no pattern stretch
+	{
+		// no pattern channel scroll
+		{ 
+			{ 176, 292, 177, 283, 293, 13, 13 }, // normal pattern editor
+			{  56, 228,  57, 219, 229, 20, 21 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 176, 285, 177, 276, 286, 12, 12 }, // normal pattern editor
+			{  56, 221,  57, 212, 222, 19, 20 }, // extended pattern editor
+		}
+	},
+
+	// pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 177, 286, 178, 277, 288,  9, 10 }, // normal pattern editor
+			{  56, 232,  58, 223, 234, 15, 15 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{  176, 285, 177, 276, 286,  9,  9 }, // normal pattern editor
+			{   56, 220,  57, 211, 221, 14, 15 }, // extended pattern editor
+		},
+	}
+};
+
+const pattCoord2_t pattCoord2Table[2][2][2] =
+{
+	/*
+		uint16_t upperRowsY, lowerRowsY;
+		uint16_t upperRowsH, lowerRowsH;
+	*/
+
+	// no pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 175, 291, 107, 107 }, //   normal pattern editor
+			{  55, 227, 163, 171 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 175, 284, 100, 100 }, //   normal pattern editor
+			{  55, 220, 156, 164 }, // extended pattern editor
+		}
+	},
+
+	// pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 175, 285, 101, 113 }, //   normal pattern editor
+			{  55, 231, 167, 167 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 175, 284, 100, 100 }, //   normal pattern editor
+			{  55, 219, 155, 165 }, // extended pattern editor
+		},
+	}
+};
+
+const markCoord_t markCoordTable[2][2][2] =
+{
+	// uint16_t upperRowsY, midRowY, lowerRowsY;
+
+	// no pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 177, 281, 293 }, //   normal pattern editor
+			{  57, 217, 229 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 177, 274, 286 }, //   normal pattern editor
+			{  57, 210, 222 }, // extended pattern editor
+		}
+	},
+
+	// pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 176, 275, 286 }, //   normal pattern editor
+			{  56, 221, 232 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 175, 274, 284 }, //   normal pattern editor
+			{  55, 209, 219 }, // extended pattern editor
+		},
+	}
+};
+
+const uint8_t pattCursorXTab[2 * 4 * 8] =
+{
+	// no volume column shown
+	32, 88, 104, 0, 0, 120, 136, 152, //  4 columns visible
+	32, 80,  88, 0, 0,  96, 104, 112, //  6 columns visible
+	32, 56,  64, 0, 0,  72,  80,  88, //  8 columns visible
+	32, 52,  56, 0, 0,  60,  64,  68, // 12 columns visible
+
+	// volume column shown
+	32, 96, 104, 120, 128, 144, 152, 160, //  4 columns visible
+	32, 56,  64,  80,  88,  96, 104, 112, //  6 columns visible
+	32, 60,  64,  72,  76,  84,  88,  92, //  8 columns visible
+	32, 60,  64,  72,  76,  84,  88,  92, // 12 columns visible
+};
+
+const uint8_t pattCursorWTab[2 * 4 * 8] =
+{
+	// no volume column shown
+	48, 16, 16, 0, 0, 16, 16, 16, //  4 columns visible
+	48,  8,  8, 0, 0,  8,  8,  8, //  6 columns visible
+	24,  8,  8, 0, 0,  8,  8,  8, //  8 columns visible
+	16,  4,  4, 0, 0,  4,  4,  4, // 12 columns visible
+
+	// volume column shown
+	48,  8,  8,  8,  8,  8,  8,  8, //  4 columns visible
+	24,  8,  8,  8,  8,  8,  8,  8, //  6 columns visible
+	24,  4,  4,  4,  4,  4,  4,  4, //  8 columns visible
+	24,  4,  4,  4,  4,  4,  4,  4  // 12 columns visible
+};
--- /dev/null
+++ b/src/ft2_pattern_draw.h
@@ -1,0 +1,7 @@
+#pragma once
+
+#include <stdint.h>
+
+void drawPatternBorders(void);
+void writePattern(int16_t currRow, int16_t pattern);
+void pattTwoHexOut(uint32_t xPos, uint32_t yPos, uint8_t paletteIndex, uint8_t val);
--- /dev/null
+++ b/src/ft2_pattern_ed.c
@@ -1,0 +1,2906 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gfxdata.h"
+#include "ft2_config.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gui.h"
+#include "ft2_sample_ed.h"
+#include "ft2_pattern_draw.h"
+#include "ft2_inst_ed.h"
+#include "ft2_scopes.h"
+#include "ft2_diskop.h"
+#include "ft2_audio.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_mouse.h"
+#include "ft2_video.h"
+
+// for pattern marking w/ keyboard
+static int8_t lastChMark;
+static int16_t lastRowMark;
+
+// for pattern marking w/ mouse
+static int32_t lastMarkX1 = -1, lastMarkX2 = -1, lastMarkY1 = -1, lastMarkY2 = -1;
+
+static const uint8_t ptnAntLine[8] = { 27, 25, 20, 19, 42, 40, 31, 30 };
+static const uint8_t ptnLineSub[8] = { 13, 12,  9,  9, 20, 19, 15, 14 };
+static const uint8_t iSwitchExtW[4] = { 40, 40, 40, 39 };
+static const uint8_t iSwitchExtY[8] = { 2, 2, 2, 2, 19, 19, 19, 19 };
+static const uint8_t iSwitchY[8] = { 2, 19, 36, 53, 73, 90, 107, 124 };
+static const uint16_t iSwitchExtX[4] = { 221, 262, 303, 344 };
+
+static int32_t lastMouseX, lastMouseY;
+
+// defined at the bottom of this file
+extern const pattCoordsMouse_t pattCoordMouseTable[2][2][2];
+
+// globalized
+const uint16_t chanWidths[6] = { 141, 141, 93, 69, 45, 45 };
+
+bool allocatePattern(uint16_t nr) // for tracker use only, not in loader!
+{
+	bool audioWasntLocked;
+	int16_t pattLen;
+
+	if (patt[nr] == NULL)
+	{
+		audioWasntLocked = !audio.locked;
+		if (audioWasntLocked)
+			lockAudio();
+
+		pattLen = pattLens[nr];
+
+		patt[nr] = (tonTyp *)calloc(pattLen * TRACK_WIDTH, sizeof (tonTyp));
+		if (patt[nr] == NULL)
+		{
+			if (audioWasntLocked)
+				unlockAudio();
+
+			return false;
+		}
+
+		if (song.pattNr == nr)
+			song.pattLen = pattLen;
+
+		if (audioWasntLocked)
+			unlockAudio();
+	}
+
+	return true;
+}
+
+void killPatternIfUnused(uint16_t nr) // for tracker use only, not in loader!
+{
+	bool audioWasntLocked;
+
+	if (patternEmpty(nr))
+	{
+		audioWasntLocked = !audio.locked;
+		if (audioWasntLocked)
+			lockAudio();
+
+		if (patt[nr] != NULL)
+		{
+			free(patt[nr]);
+			patt[nr] = NULL;
+		}
+
+		if (audioWasntLocked)
+			unlockAudio();
+	}
+}
+
+uint8_t getMaxVisibleChannels(void)
+{
+	if (config.ptnS3M)
+	{
+		     if (config.ptnMaxChannels == 0) return 4;
+		else if (config.ptnMaxChannels == 1) return 6;
+		else if (config.ptnMaxChannels == 2) return 8;
+		else if (config.ptnMaxChannels == 3) return 8;
+
+	}
+	else
+	{
+		     if (config.ptnMaxChannels == 0) return 4;
+		else if (config.ptnMaxChannels == 1) return 6;
+		else if (config.ptnMaxChannels == 2) return 8;
+		else if (config.ptnMaxChannels == 3) return 12;
+	}
+
+	return 8;
+}
+
+void updatePatternWidth(void)
+{
+	if (editor.ui.numChannelsShown > editor.ui.maxVisibleChannels)
+		editor.ui.numChannelsShown = editor.ui.maxVisibleChannels;
+
+	editor.ui.patternChannelWidth = chanWidths[(editor.ui.numChannelsShown / 2) - 1] + 3;
+}
+
+void updateAdvEdit(void)
+{
+	hexOutBg(92, 113, PAL_FORGRND, PAL_DESKTOP, editor.srcInstr, 2);
+	hexOutBg(92, 126, PAL_FORGRND, PAL_DESKTOP, editor.curInstr, 2);
+}
+
+void setAdvEditCheckBoxes(void)
+{
+	checkBoxes[CB_ENABLE_MASKING].checked = editor.copyMaskEnable;
+	checkBoxes[CB_COPY_MASK_0].checked = editor.copyMask[0];
+	checkBoxes[CB_COPY_MASK_1].checked = editor.copyMask[1];
+	checkBoxes[CB_COPY_MASK_2].checked = editor.copyMask[2];
+	checkBoxes[CB_COPY_MASK_3].checked = editor.copyMask[3];
+	checkBoxes[CB_COPY_MASK_4].checked = editor.copyMask[4];
+	checkBoxes[CB_PASTE_MASK_0].checked = editor.pasteMask[0];
+	checkBoxes[CB_PASTE_MASK_1].checked = editor.pasteMask[1];
+	checkBoxes[CB_PASTE_MASK_2].checked = editor.pasteMask[2];
+	checkBoxes[CB_PASTE_MASK_3].checked = editor.pasteMask[3];
+	checkBoxes[CB_PASTE_MASK_4].checked = editor.pasteMask[4];
+	checkBoxes[CB_TRANSP_MASK_0].checked = editor.transpMask[0];
+	checkBoxes[CB_TRANSP_MASK_1].checked = editor.transpMask[1];
+	checkBoxes[CB_TRANSP_MASK_2].checked = editor.transpMask[2];
+	checkBoxes[CB_TRANSP_MASK_3].checked = editor.transpMask[3];
+	checkBoxes[CB_TRANSP_MASK_4].checked = editor.transpMask[4];
+
+	showCheckBox(CB_ENABLE_MASKING);
+	showCheckBox(CB_COPY_MASK_0);
+	showCheckBox(CB_COPY_MASK_1);
+	showCheckBox(CB_COPY_MASK_2);
+	showCheckBox(CB_COPY_MASK_3);
+	showCheckBox(CB_COPY_MASK_4);
+	showCheckBox(CB_PASTE_MASK_0);
+	showCheckBox(CB_PASTE_MASK_1);
+	showCheckBox(CB_PASTE_MASK_2);
+	showCheckBox(CB_PASTE_MASK_3);
+	showCheckBox(CB_PASTE_MASK_4);
+	showCheckBox(CB_TRANSP_MASK_0);
+	showCheckBox(CB_TRANSP_MASK_1);
+	showCheckBox(CB_TRANSP_MASK_2);
+	showCheckBox(CB_TRANSP_MASK_3);
+	showCheckBox(CB_TRANSP_MASK_4);
+}
+
+void drawAdvEdit(void)
+{
+	drawFramework(  0,  92, 110,  17, FRAMEWORK_TYPE1);
+	drawFramework(  0, 109, 110,  64, FRAMEWORK_TYPE1);
+	drawFramework(110,  92, 124,  81, FRAMEWORK_TYPE1);
+	drawFramework(234,  92,  19,  81, FRAMEWORK_TYPE1);
+	drawFramework(253,  92,  19,  81, FRAMEWORK_TYPE1);
+	drawFramework(272,  92,  19,  81, FRAMEWORK_TYPE1);
+
+	textOutShadow(  4,  96, PAL_FORGRND, PAL_DSKTOP2, "Instr. remap:");
+	textOutShadow(  4, 113, PAL_FORGRND, PAL_DSKTOP2, "Old number");
+	textOutShadow(  4, 126, PAL_FORGRND, PAL_DSKTOP2, "New number");
+	textOutShadow(129,  96, PAL_FORGRND, PAL_DSKTOP2, "Masking enable");
+	textOutShadow(114, 109, PAL_FORGRND, PAL_DSKTOP2, "Note");
+	textOutShadow(114, 121, PAL_FORGRND, PAL_DSKTOP2, "Instrument number");
+	textOutShadow(114, 134, PAL_FORGRND, PAL_DSKTOP2, "Volume column");
+	textOutShadow(114, 147, PAL_FORGRND, PAL_DSKTOP2, "Effect digit 1");
+	textOutShadow(114, 160, PAL_FORGRND, PAL_DSKTOP2, "Effect digit 2,3");
+
+	charOutShadow(239, 95, PAL_FORGRND, PAL_DSKTOP2, 'C');
+	charOutShadow(258, 95, PAL_FORGRND, PAL_DSKTOP2, 'P');
+	charOutShadow(277, 95, PAL_FORGRND, PAL_DSKTOP2, 'T');
+
+	showPushButton(PB_REMAP_TRACK);
+	showPushButton(PB_REMAP_PATTERN);
+	showPushButton(PB_REMAP_SONG);
+	showPushButton(PB_REMAP_BLOCK);
+
+	setAdvEditCheckBoxes();
+
+	updateAdvEdit();
+}
+
+void hideAdvEdit(void)
+{
+	editor.ui.advEditShown = false;
+
+	hidePushButton(PB_REMAP_TRACK);
+	hidePushButton(PB_REMAP_PATTERN);
+	hidePushButton(PB_REMAP_SONG);
+	hidePushButton(PB_REMAP_BLOCK);
+
+	hideCheckBox(CB_ENABLE_MASKING);
+	hideCheckBox(CB_COPY_MASK_0);
+	hideCheckBox(CB_COPY_MASK_1);
+	hideCheckBox(CB_COPY_MASK_2);
+	hideCheckBox(CB_COPY_MASK_3);
+	hideCheckBox(CB_COPY_MASK_4);
+	hideCheckBox(CB_PASTE_MASK_0);
+	hideCheckBox(CB_PASTE_MASK_1);
+	hideCheckBox(CB_PASTE_MASK_2);
+	hideCheckBox(CB_PASTE_MASK_3);
+	hideCheckBox(CB_PASTE_MASK_4);
+	hideCheckBox(CB_TRANSP_MASK_0);
+	hideCheckBox(CB_TRANSP_MASK_1);
+	hideCheckBox(CB_TRANSP_MASK_2);
+	hideCheckBox(CB_TRANSP_MASK_3);
+	hideCheckBox(CB_TRANSP_MASK_4);
+
+	editor.ui.scopesShown = true;
+	drawScopeFramework();
+}
+
+void showAdvEdit(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	showTopScreen(false);
+
+	editor.ui.advEditShown = true;
+	editor.ui.scopesShown  = false;
+	drawAdvEdit();
+}
+
+void toggleAdvEdit(void)
+{
+	if (editor.ui.advEditShown)
+		hideAdvEdit();
+	else
+		showAdvEdit();
+}
+
+void drawTranspose(void)
+{
+	drawFramework(0,    92,  53,  16, FRAMEWORK_TYPE1);
+	drawFramework(53,   92, 119,  16, FRAMEWORK_TYPE1);
+	drawFramework(172,  92, 119,  16, FRAMEWORK_TYPE1);
+	drawFramework(0,   108,  53,  65, FRAMEWORK_TYPE1);
+	drawFramework(53,  108, 119,  65, FRAMEWORK_TYPE1);
+	drawFramework(172, 108, 119,  65, FRAMEWORK_TYPE1);
+
+	textOutShadow(4,    95, PAL_FORGRND, PAL_DSKTOP2, "Transp.");
+	textOutShadow(58,   95, PAL_FORGRND, PAL_DSKTOP2, "Current instrument");
+	textOutShadow(188,  95, PAL_FORGRND, PAL_DSKTOP2, "All instruments");
+	textOutShadow(4,   114, PAL_FORGRND, PAL_DSKTOP2, "Track");
+	textOutShadow(4,   129, PAL_FORGRND, PAL_DSKTOP2, "Pattern");
+	textOutShadow(4,   144, PAL_FORGRND, PAL_DSKTOP2, "Song");
+	textOutShadow(4,   159, PAL_FORGRND, PAL_DSKTOP2, "Block");
+
+	showPushButton(PB_TRANSP_CUR_INS_TRK_UP);
+	showPushButton(PB_TRANSP_CUR_INS_TRK_DN);
+	showPushButton(PB_TRANSP_CUR_INS_TRK_12UP);
+	showPushButton(PB_TRANSP_CUR_INS_TRK_12DN);
+	showPushButton(PB_TRANSP_ALL_INS_TRK_UP);
+	showPushButton(PB_TRANSP_ALL_INS_TRK_DN);
+	showPushButton(PB_TRANSP_ALL_INS_TRK_12UP);
+	showPushButton(PB_TRANSP_ALL_INS_TRK_12DN);
+	showPushButton(PB_TRANSP_CUR_INS_PAT_UP);
+	showPushButton(PB_TRANSP_CUR_INS_PAT_DN);
+	showPushButton(PB_TRANSP_CUR_INS_PAT_12UP);
+	showPushButton(PB_TRANSP_CUR_INS_PAT_12DN);
+	showPushButton(PB_TRANSP_ALL_INS_PAT_UP);
+	showPushButton(PB_TRANSP_ALL_INS_PAT_DN);
+	showPushButton(PB_TRANSP_ALL_INS_PAT_12UP);
+	showPushButton(PB_TRANSP_ALL_INS_PAT_12DN);
+	showPushButton(PB_TRANSP_CUR_INS_SNG_UP);
+	showPushButton(PB_TRANSP_CUR_INS_SNG_DN);
+	showPushButton(PB_TRANSP_CUR_INS_SNG_12UP);
+	showPushButton(PB_TRANSP_CUR_INS_SNG_12DN);
+	showPushButton(PB_TRANSP_ALL_INS_SNG_UP);
+	showPushButton(PB_TRANSP_ALL_INS_SNG_DN);
+	showPushButton(PB_TRANSP_ALL_INS_SNG_12UP);
+	showPushButton(PB_TRANSP_ALL_INS_SNG_12DN);
+	showPushButton(PB_TRANSP_CUR_INS_BLK_UP);
+	showPushButton(PB_TRANSP_CUR_INS_BLK_DN);
+	showPushButton(PB_TRANSP_CUR_INS_BLK_12UP);
+	showPushButton(PB_TRANSP_CUR_INS_BLK_12DN);
+	showPushButton(PB_TRANSP_ALL_INS_BLK_UP);
+	showPushButton(PB_TRANSP_ALL_INS_BLK_DN);
+	showPushButton(PB_TRANSP_ALL_INS_BLK_12UP);
+	showPushButton(PB_TRANSP_ALL_INS_BLK_12DN);
+}
+
+void showTranspose(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	showTopScreen(false);
+
+	editor.ui.transposeShown = true;
+	editor.ui.scopesShown = false;
+	drawTranspose();
+}
+
+void hideTranspose(void)
+{
+	hidePushButton(PB_TRANSP_CUR_INS_TRK_UP);
+	hidePushButton(PB_TRANSP_CUR_INS_TRK_DN);
+	hidePushButton(PB_TRANSP_CUR_INS_TRK_12UP);
+	hidePushButton(PB_TRANSP_CUR_INS_TRK_12DN);
+	hidePushButton(PB_TRANSP_ALL_INS_TRK_UP);
+	hidePushButton(PB_TRANSP_ALL_INS_TRK_DN);
+	hidePushButton(PB_TRANSP_ALL_INS_TRK_12UP);
+	hidePushButton(PB_TRANSP_ALL_INS_TRK_12DN);
+	hidePushButton(PB_TRANSP_CUR_INS_PAT_UP);
+	hidePushButton(PB_TRANSP_CUR_INS_PAT_DN);
+	hidePushButton(PB_TRANSP_CUR_INS_PAT_12UP);
+	hidePushButton(PB_TRANSP_CUR_INS_PAT_12DN);
+	hidePushButton(PB_TRANSP_ALL_INS_PAT_UP);
+	hidePushButton(PB_TRANSP_ALL_INS_PAT_DN);
+	hidePushButton(PB_TRANSP_ALL_INS_PAT_12UP);
+	hidePushButton(PB_TRANSP_ALL_INS_PAT_12DN);
+	hidePushButton(PB_TRANSP_CUR_INS_SNG_UP);
+	hidePushButton(PB_TRANSP_CUR_INS_SNG_DN);
+	hidePushButton(PB_TRANSP_CUR_INS_SNG_12UP);
+	hidePushButton(PB_TRANSP_CUR_INS_SNG_12DN);
+	hidePushButton(PB_TRANSP_ALL_INS_SNG_UP);
+	hidePushButton(PB_TRANSP_ALL_INS_SNG_DN);
+	hidePushButton(PB_TRANSP_ALL_INS_SNG_12UP);
+	hidePushButton(PB_TRANSP_ALL_INS_SNG_12DN);
+	hidePushButton(PB_TRANSP_CUR_INS_BLK_UP);
+	hidePushButton(PB_TRANSP_CUR_INS_BLK_DN);
+	hidePushButton(PB_TRANSP_CUR_INS_BLK_12UP);
+	hidePushButton(PB_TRANSP_CUR_INS_BLK_12DN);
+	hidePushButton(PB_TRANSP_ALL_INS_BLK_UP);
+	hidePushButton(PB_TRANSP_ALL_INS_BLK_DN);
+	hidePushButton(PB_TRANSP_ALL_INS_BLK_12UP);
+	hidePushButton(PB_TRANSP_ALL_INS_BLK_12DN);
+
+	editor.ui.transposeShown = false;
+	editor.ui.scopesShown = true;
+	drawScopeFramework();
+}
+
+void toggleTranspose(void)
+{
+	if (editor.ui.transposeShown)
+		hideTranspose();
+	else
+		showTranspose();
+}
+
+// ----- PATTERN CURSOR FUNCTIONS -----
+
+void cursorChannelLeft(void)
+{
+	editor.cursor.object = CURSOR_EFX2;
+
+	if (editor.cursor.ch == 0)
+	{
+		editor.cursor.ch = song.antChn - 1;
+		if (editor.ui.pattChanScrollShown)
+			setScrollBarPos(SB_CHAN_SCROLL, song.antChn, true);
+	}
+	else
+	{
+		editor.cursor.ch--;
+		if (editor.ui.pattChanScrollShown)
+		{
+			if (editor.cursor.ch < editor.ui.channelOffset)
+				scrollBarScrollUp(SB_CHAN_SCROLL, 1);
+		}
+	}
+}
+
+void cursorChannelRight(void)
+{
+	editor.cursor.object = CURSOR_NOTE;
+
+	if (editor.cursor.ch >= song.antChn-1)
+	{
+		editor.cursor.ch = 0;
+		if (editor.ui.pattChanScrollShown)
+			setScrollBarPos(SB_CHAN_SCROLL, 0, true);
+	}
+	else
+	{
+		editor.cursor.ch++;
+		if (editor.ui.pattChanScrollShown && editor.cursor.ch >= editor.ui.channelOffset+editor.ui.numChannelsShown)
+			scrollBarScrollDown(SB_CHAN_SCROLL, 1);
+	}
+}
+
+void cursorTabLeft(void)
+{
+	if (editor.cursor.object == CURSOR_NOTE)
+		cursorChannelLeft();
+
+	editor.cursor.object = CURSOR_NOTE;
+	editor.ui.updatePatternEditor = true;
+}
+
+void cursorTabRight(void)
+{
+	cursorChannelRight();
+	editor.cursor.object = CURSOR_NOTE;
+	editor.ui.updatePatternEditor = true;
+}
+
+void chanLeft(void)
+{
+	cursorChannelLeft();
+	editor.cursor.object = CURSOR_NOTE;
+	editor.ui.updatePatternEditor = true;
+}
+
+void chanRight(void)
+{
+	cursorChannelRight();
+	editor.cursor.object = CURSOR_NOTE;
+	editor.ui.updatePatternEditor = true;
+}
+
+void cursorLeft(void)
+{
+	editor.cursor.object--;
+
+	if (!config.ptnS3M)
+	{
+		while (editor.cursor.object == CURSOR_VOL1 || editor.cursor.object == CURSOR_VOL2)
+			editor.cursor.object--;
+	}
+
+	if (editor.cursor.object == -1)
+	{
+		editor.cursor.object = CURSOR_EFX2;
+		cursorChannelLeft();
+	}
+
+	editor.ui.updatePatternEditor = true;
+}
+
+void cursorRight(void)
+{
+	editor.cursor.object++;
+
+	if (!config.ptnS3M)
+	{
+		while (editor.cursor.object == CURSOR_VOL1 || editor.cursor.object == CURSOR_VOL2)
+			editor.cursor.object++;
+	}
+
+	if (editor.cursor.object == 8)
+	{
+		editor.cursor.object = CURSOR_NOTE;
+		cursorChannelRight();
+	}
+
+	editor.ui.updatePatternEditor = true;
+}
+
+void showPatternEditor(void)
+{
+	editor.ui.patternEditorShown = true;
+	updateChanNums();
+	drawPatternBorders();
+	editor.ui.updatePatternEditor = true;
+}
+
+void hidePatternEditor(void)
+{
+	hideScrollBar(SB_CHAN_SCROLL);
+	hidePushButton(PB_CHAN_SCROLL_LEFT);
+	hidePushButton(PB_CHAN_SCROLL_RIGHT);
+
+	editor.ui.patternEditorShown = false;
+}
+
+static void updatePatternEditorGUI(void)
+{
+	uint8_t i;
+	pushButton_t *p;
+	textBox_t *t;
+
+	if (editor.ui.extended)
+	{
+		// extended pattern editor
+
+		// instrument names
+		for (i = 0; i < 8; i++)
+		{
+			t = &textBoxes[TB_INST1+i];
+
+			if (i < 4)
+			{
+				t->x = 406;
+				t->y = 5 + (i * 11);
+			}
+			else
+			{
+				t->x = 529;
+				t->y = 5 + ((i - 4) * 11);
+			}
+
+			t->w = 99;
+			t->renderW = t->w - (t->tx * 2);
+		}
+
+		scrollBars[SB_POS_ED].h = 23;
+
+		pushButtons[PB_POSED_POS_DOWN].y = 38;
+		pushButtons[PB_POSED_PATT_UP].y = 20;
+		pushButtons[PB_POSED_PATT_DOWN].y = 20;
+		pushButtons[PB_POSED_DEL].y = 35;
+		pushButtons[PB_SWAP_BANK].caption = "Swap b.";
+		pushButtons[PB_SWAP_BANK].caption2 = NULL;
+		pushButtons[PB_SWAP_BANK].x = 162;
+		pushButtons[PB_SWAP_BANK].y = 35;
+		pushButtons[PB_SWAP_BANK].w = 53;
+		pushButtons[PB_SWAP_BANK].h = 16;
+		pushButtons[PB_POSED_LEN_UP].x = 180;
+		pushButtons[PB_POSED_LEN_UP].y = 3;
+		pushButtons[PB_POSED_LEN_DOWN].x = 197;
+		pushButtons[PB_POSED_LEN_DOWN].y = 3;
+		pushButtons[PB_POSED_REP_UP].x = 180;
+		pushButtons[PB_POSED_REP_UP].y = 17;
+		pushButtons[PB_POSED_REP_DOWN].x = 197;
+		pushButtons[PB_POSED_REP_DOWN].y = 17;
+		pushButtons[PB_PATT_UP].x = 267;
+		pushButtons[PB_PATT_UP].y = 37;
+		pushButtons[PB_PATT_DOWN].x = 284;
+		pushButtons[PB_PATT_DOWN].y = 37;
+		pushButtons[PB_PATTLEN_UP].x = 348;
+		pushButtons[PB_PATTLEN_UP].y = 37;
+		pushButtons[PB_PATTLEN_DOWN].x = 365;
+		pushButtons[PB_PATTLEN_DOWN].y = 37;
+
+		// instrument switcher
+		for (i = 0; i < 16; i++)
+		{
+			p = &pushButtons[PB_RANGE1+i];
+
+			p->w = iSwitchExtW[i & 3];
+			p->x = iSwitchExtX[i & 3];
+			p->y = iSwitchExtY[i & 7];
+		}
+	}
+	else
+	{
+		// instrument names
+		for (i = 0; i < 8; i++)
+		{
+			t = &textBoxes[TB_INST1+i];
+
+			t->y = 5 + (i * 11);
+			t->x = 446;
+			t->w = 140;
+			t->renderW = t->w - (t->tx * 2);
+		}
+
+		// normal pattern editor
+
+		scrollBars[SB_POS_ED].h = 21;
+
+		pushButtons[PB_POSED_POS_DOWN].y = 36;
+		pushButtons[PB_POSED_PATT_UP].y = 19;
+		pushButtons[PB_POSED_PATT_DOWN].y = 19;
+		pushButtons[PB_POSED_DEL].y = 33;
+		pushButtons[PB_SWAP_BANK].caption = "Swap";
+		pushButtons[PB_SWAP_BANK].caption2 = "bank";
+		pushButtons[PB_SWAP_BANK].x = 590;
+		pushButtons[PB_SWAP_BANK].y = 144;
+		pushButtons[PB_SWAP_BANK].w = 39;
+		pushButtons[PB_SWAP_BANK].h = 27;
+		pushButtons[PB_POSED_LEN_UP].x = 74;
+		pushButtons[PB_POSED_LEN_UP].y = 50;
+		pushButtons[PB_POSED_LEN_DOWN].x = 91;
+		pushButtons[PB_POSED_LEN_DOWN].y = 50;
+		pushButtons[PB_POSED_REP_UP].x = 74;
+		pushButtons[PB_POSED_REP_UP].y = 62;
+		pushButtons[PB_POSED_REP_DOWN].x = 91;
+		pushButtons[PB_POSED_REP_DOWN].y = 62;
+		pushButtons[PB_PATT_UP].x = 253;
+		pushButtons[PB_PATT_UP].y = 34;
+		pushButtons[PB_PATT_DOWN].x = 270;
+		pushButtons[PB_PATT_DOWN].y = 34;
+		pushButtons[PB_PATTLEN_UP].x = 253;
+		pushButtons[PB_PATTLEN_UP].y = 48;
+		pushButtons[PB_PATTLEN_DOWN].x = 270;
+		pushButtons[PB_PATTLEN_DOWN].y = 48;
+
+		// instrument switcher
+		for (i = 0; i < 16; i++)
+		{
+			p = &pushButtons[PB_RANGE1+i];
+
+			p->w = 39;
+			p->x = 590;
+			p->y = iSwitchY[i & 7];
+		}
+	}
+}
+
+void patternEditorExtended(void)
+{
+	// backup old screen flags
+	editor.ui._aboutScreenShown = editor.ui.aboutScreenShown;
+	editor.ui._helpScreenShown = editor.ui.helpScreenShown;
+	editor.ui._configScreenShown = editor.ui.configScreenShown;
+	editor.ui._diskOpShown = editor.ui.diskOpShown;
+	editor.ui._nibblesShown = editor.ui.nibblesShown;
+	editor.ui._transposeShown = editor.ui.transposeShown;
+	editor.ui._instEditorShown = editor.ui.instEditorShown;
+	editor.ui._instEditorExtShown = editor.ui.instEditorExtShown;
+	editor.ui._sampleEditorExtShown = editor.ui.sampleEditorExtShown;
+	editor.ui._patternEditorShown = editor.ui.patternEditorShown;
+	editor.ui._sampleEditorShown = editor.ui.sampleEditorShown;
+	editor.ui._advEditShown= editor.ui.advEditShown;
+	editor.ui._wavRendererShown = editor.ui.wavRendererShown;
+	editor.ui._trimScreenShown = editor.ui.trimScreenShown;
+
+	hideTopScreen();
+	hideSampleEditor();
+	hideInstEditor();
+
+	editor.ui.extended = true;
+	editor.ui.patternEditorShown = true;
+	updatePatternEditorGUI(); // change pattern editor layout (based on ui.extended flag)
+	editor.ui.updatePatternEditor = true; // redraw pattern editor
+
+	drawFramework(0,    0, 112, 53, FRAMEWORK_TYPE1);
+	drawFramework(112,  0, 106, 33, FRAMEWORK_TYPE1);
+	drawFramework(112, 33, 106, 20, FRAMEWORK_TYPE1);
+	drawFramework(218,  0, 168, 53, FRAMEWORK_TYPE1);
+
+	// pos ed. stuff
+
+	drawFramework(2,  2, 51, 20, FRAMEWORK_TYPE2);
+	drawFramework(2, 31, 51, 20, FRAMEWORK_TYPE2);
+
+	showScrollBar(SB_POS_ED);
+	showPushButton(PB_POSED_POS_UP);
+	showPushButton(PB_POSED_POS_DOWN);
+	showPushButton(PB_POSED_INS);
+	showPushButton(PB_POSED_PATT_UP);
+	showPushButton(PB_POSED_PATT_DOWN);
+	showPushButton(PB_POSED_DEL);
+	showPushButton(PB_POSED_LEN_UP);
+	showPushButton(PB_POSED_LEN_DOWN);
+	showPushButton(PB_POSED_REP_UP);
+	showPushButton(PB_POSED_REP_DOWN);
+	showPushButton(PB_SWAP_BANK);
+	showPushButton(PB_PATT_UP);
+	showPushButton(PB_PATT_DOWN);
+	showPushButton(PB_PATTLEN_UP);
+	showPushButton(PB_PATTLEN_DOWN);
+
+	showPushButton(PB_EXIT_EXT_PATT);
+
+	textOutShadow(116,  5, PAL_FORGRND, PAL_DSKTOP2, "Sng.len.");
+	textOutShadow(116, 19, PAL_FORGRND, PAL_DSKTOP2, "Repst.");
+	textOutShadow(222, 40, PAL_FORGRND, PAL_DSKTOP2, "Ptn.");
+	textOutShadow(305, 40, PAL_FORGRND, PAL_DSKTOP2, "Ln.");
+
+	editor.ui.instrSwitcherShown = true;
+	showInstrumentSwitcher();
+
+	drawSongLength();
+	drawSongRepS();
+	drawEditPattern(editor.editPattern);
+	drawPatternLength(editor.editPattern);
+	drawPosEdNums(editor.songPos);
+	editor.ui.updatePosSections = true;
+
+	// kludge to fix scrollbar thumb when the scrollbar height changes during playback
+	if (songPlaying)
+		setScrollBarPos(SB_POS_ED, editor.songPos, false);
+}
+
+void exitPatternEditorExtended(void)
+{
+	editor.ui.extended = false;
+	updatePatternEditorGUI();
+	hidePushButton(PB_EXIT_EXT_PATT);
+
+	// set back top screen button maps
+
+	// set back old screen flags
+	editor.ui.aboutScreenShown = editor.ui._aboutScreenShown;
+	editor.ui.helpScreenShown = editor.ui._helpScreenShown;
+	editor.ui.configScreenShown = editor.ui._configScreenShown;
+	editor.ui.diskOpShown = editor.ui._diskOpShown;
+	editor.ui.nibblesShown = editor.ui._nibblesShown;
+	editor.ui.transposeShown = editor.ui._transposeShown;
+	editor.ui.instEditorShown = editor.ui._instEditorShown;
+	editor.ui.instEditorExtShown = editor.ui._instEditorExtShown;
+	editor.ui.sampleEditorExtShown = editor.ui._sampleEditorExtShown;
+	editor.ui.patternEditorShown = editor.ui._patternEditorShown;
+	editor.ui.sampleEditorShown = editor.ui._sampleEditorShown;
+	editor.ui.advEditShown = editor.ui._advEditShown;
+	editor.ui.wavRendererShown = editor.ui._wavRendererShown;
+	editor.ui.trimScreenShown = editor.ui.trimScreenShown;
+
+	showTopScreen(true);
+	showBottomScreen();
+
+	// kludge to fix scrollbar thumb when the scrollbar height changes during playback
+	if (songPlaying)
+		setScrollBarPos(SB_POS_ED, editor.songPos, false);
+}
+
+void togglePatternEditorExtended(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+	else
+		patternEditorExtended();
+}
+
+void clearPattMark(void)
+{
+	memset(&pattMark, 0, sizeof (pattMark));
+
+	lastMarkX1 = -1;
+	lastMarkX2 = -1;
+	lastMarkY1 = -1;
+	lastMarkY2 = -1;
+}
+
+void checkMarkLimits(void)
+{
+	uint16_t limit;
+
+	limit = pattLens[editor.editPattern];
+	pattMark.markY1 = CLAMP(pattMark.markY1, 0, limit);
+	pattMark.markY2 = CLAMP(pattMark.markY2, 0, limit);
+
+	limit = song.antChn - 1;
+	pattMark.markX1 = CLAMP(pattMark.markX1, 0, limit);
+	pattMark.markX2 = CLAMP(pattMark.markX2, 0, limit);
+
+	// will probably never happen? FT2 has this in CheckMarkLimits() though...
+	if (pattMark.markX1 > pattMark.markX2)
+		pattMark.markX1 = pattMark.markX2;
+}
+
+static int8_t mouseXToCh(void) // used to get channel num from mouse x (for pattern marking)
+{
+	int8_t ch, chEnd;
+	int32_t mouseX;
+
+	assert(editor.ui.patternChannelWidth > 0);
+	if (editor.ui.patternChannelWidth == 0)
+		return 0;
+
+	mouseX = mouse.x - 29;
+	mouseX = CLAMP(mouseX, 0, 573);
+
+	chEnd = (editor.ui.channelOffset + editor.ui.numChannelsShown) - 1;
+
+	ch = editor.ui.channelOffset + (int8_t)(mouseX / editor.ui.patternChannelWidth);
+	ch = CLAMP(ch, 0, chEnd);
+
+	// in some setups there can be non-used channels to the right, do clamping
+	if (ch >= song.antChn)
+		ch  = song.antChn - 1;
+
+	return ch;
+}
+
+static int16_t mouseYToRow(void) // used to get row num from mouse y (for pattern marking)
+{
+	uint8_t charHeight, mode;
+	int16_t row, patternLen, my, maxY, maxRow;
+	const pattCoordsMouse_t *pattCoordsMouse;
+
+	pattCoordsMouse = &pattCoordMouseTable[config.ptnUnpressed][editor.ui.pattChanScrollShown][editor.ui.extended];
+
+	// clamp mouse y to boundaries
+	maxY = editor.ui.pattChanScrollShown ? 382 : 396;
+	my   = (int16_t)(CLAMP(mouse.y, pattCoordsMouse->upperRowsY, maxY));
+
+	charHeight = config.ptnUnpressed ? 11 : 8;
+
+	// test top/middle/bottom rows
+	if (my < pattCoordsMouse->midRowY)
+	{
+		// top rows
+		row = editor.pattPos - (pattCoordsMouse->numUpperRows - ((my - pattCoordsMouse->upperRowsY) / charHeight));
+		if (row < 0)
+			row = 0;
+
+		return row;
+	}
+	else if (my >= pattCoordsMouse->midRowY && my <= pattCoordsMouse->midRowY+10)
+	{
+		// current row (middle)
+		return editor.pattPos;
+	}
+	else
+	{
+		// bottom rows
+		row = (editor.pattPos + 1) + ((my - pattCoordsMouse->lowerRowsY) / charHeight);
+
+		// prevent being able to mark the next unseen row on the bottom (in some configurations)
+		mode = (editor.ui.extended * 4) + (config.ptnUnpressed * 2) + editor.ui.pattChanScrollShown;
+
+		maxRow = (ptnAntLine[mode] + (editor.pattPos - ptnLineSub[mode])) - 1;
+		if (row > maxRow)
+			row = maxRow;
+
+		// clamp to pattern length
+		patternLen = pattLens[editor.editPattern];
+		if (row >= patternLen)
+			row = patternLen - 1;
+
+		return row;
+	}
+}
+
+void handlePatternDataMouseDown(bool mouseButtonHeld)
+{
+	bool forceMarking;
+	int8_t chTmp;
+	int16_t y1, y2, rowTmp, pattLen;
+
+	// non-FT2 feature: Use right mouse button to remove pattern marking
+	if (mouse.rightButtonPressed)
+	{
+		clearPattMark();
+		editor.ui.updatePatternEditor = true;
+		return;
+	}
+
+	if (!mouseButtonHeld)
+	{
+		// we clicked inside the pattern data area for the first time, set initial vars
+
+		mouse.lastUsedObjectType = OBJECT_PATTERNMARK;
+
+		lastMouseX = mouse.x;
+		lastMouseY = mouse.y;
+
+		lastChMark = mouseXToCh();
+		lastRowMark = mouseYToRow();
+
+		pattMark.markX1 = lastChMark;
+		pattMark.markX2 = lastChMark;
+		pattMark.markY1 = lastRowMark;
+		pattMark.markY2 = lastRowMark + 1;
+
+		checkMarkLimits();
+
+		editor.ui.updatePatternEditor = true;
+		return;
+	}
+
+	// we're holding down the mouse button inside the pattern data area
+
+	forceMarking = songPlaying;
+
+	// scroll left/right with mouse
+	if (editor.ui.pattChanScrollShown)
+	{
+		if (mouse.x < 29)
+		{
+			scrollBarScrollUp(SB_CHAN_SCROLL,   1);
+			forceMarking = true;
+		}
+		else if (mouse.x > 604)
+		{
+			scrollBarScrollDown(SB_CHAN_SCROLL, 1);
+			forceMarking = true;
+		}
+	}
+
+	// mark channels
+	if (forceMarking || lastMouseX != mouse.x)
+	{
+		lastMouseX = mouse.x;
+
+		chTmp = mouseXToCh();
+		if (chTmp < lastChMark)
+		{
+			pattMark.markX1 = chTmp;
+			pattMark.markX2 = lastChMark;
+		}
+		else
+		{
+			pattMark.markX2 = chTmp;
+			pattMark.markX1 = lastChMark;
+		}
+
+		if (lastMarkX1 != pattMark.markX1 || lastMarkX2 != pattMark.markX2)
+		{
+			checkMarkLimits();
+			editor.ui.updatePatternEditor = true;
+
+			lastMarkX1 = pattMark.markX1;
+			lastMarkX2 = pattMark.markX2;
+		}
+	}
+
+	// scroll down/up with mouse (if song is not playing)
+	if (!songPlaying)
+	{
+		y1 = editor.ui.extended ? 56 : 176;
+		y2 = editor.ui.pattChanScrollShown ? 382 : 396;
+
+		if (mouse.y < y1)
+		{
+			pattLen = pattLens[editor.editPattern];
+			if (editor.pattPos > 0)
+				setPos(-1, editor.pattPos - 1);
+
+			forceMarking = true;
+			editor.ui.updatePatternEditor = true;
+		}
+		else if (mouse.y > y2)
+		{
+			pattLen = pattLens[editor.editPattern];
+			if (editor.pattPos < (pattLen - 1))
+				setPos(-1, editor.pattPos + 1);
+
+			forceMarking = true;
+			editor.ui.updatePatternEditor = true;
+		}
+	}
+
+	// mark rows
+	if (forceMarking || lastMouseY != mouse.y)
+	{
+		lastMouseY = mouse.y;
+
+		rowTmp = mouseYToRow();
+		if (rowTmp < lastRowMark)
+		{
+			pattMark.markY1 = rowTmp;
+			pattMark.markY2 = lastRowMark + 1;
+		}
+		else
+		{
+			pattMark.markY2 = rowTmp + 1;
+			pattMark.markY1 = lastRowMark;
+		}
+
+		if (lastMarkY1 != pattMark.markY1 || lastMarkY2 != pattMark.markY2)
+		{
+			checkMarkLimits();
+			editor.ui.updatePatternEditor = true;
+
+			lastMarkY1 = pattMark.markY1;
+			lastMarkY2 = pattMark.markY2;
+		}
+	}
+}
+
+void rowOneUpWrap(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	song.pattPos = (song.pattPos - 1 + song.pattLen) % song.pattLen;
+	if (!songPlaying)
+	{
+		editor.pattPos = (uint8_t)song.pattPos;
+		editor.ui.updatePatternEditor = true;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void rowOneDownWrap(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (songPlaying)
+	{
+		song.timer = 2;
+	}
+	else
+	{
+		song.pattPos = (song.pattPos + 1 + song.pattLen) % song.pattLen;
+		editor.pattPos = (uint8_t)song.pattPos;
+		editor.ui.updatePatternEditor = true;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void rowUp(uint16_t amount)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	song.pattPos -= amount;
+	if (song.pattPos < 0)
+		song.pattPos = 0;
+
+	if (!songPlaying)
+	{
+		editor.pattPos = (uint8_t)song.pattPos;
+		editor.ui.updatePatternEditor = true;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void rowDown(uint16_t amount)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	song.pattPos += amount;
+	if (song.pattPos >= song.pattLen)
+		song.pattPos = song.pattLen - 1;
+
+	if (!songPlaying)
+	{
+		editor.pattPos = (uint8_t)song.pattPos;
+		editor.ui.updatePatternEditor = true;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void keybPattMarkUp(void)
+{
+	int8_t xPos;
+	int16_t pattPos;
+
+	xPos = editor.cursor.ch;
+	pattPos = editor.pattPos;
+
+	if (xPos != pattMark.markX1 && xPos != pattMark.markX2)
+	{
+		pattMark.markX1 = xPos;
+		pattMark.markX2 = xPos;
+		pattMark.markY1 = pattPos;
+		pattMark.markY2 = pattPos + 1;
+	}
+
+	if (pattPos == pattMark.markY1-1)
+	{
+		pattMark.markY1 = pattPos;
+	}
+	else if (pattPos == pattMark.markY2)
+	{
+		pattMark.markY2 = pattPos - 1;
+	}
+	else if (pattPos != pattMark.markY1 && pattPos != pattMark.markY2)
+	{
+		pattMark.markX1 = xPos;
+		pattMark.markX2 = xPos;
+		pattMark.markY1 = pattPos;
+		pattMark.markY2 = pattPos + 1;
+
+	}
+
+	checkMarkLimits();
+	rowOneUpWrap();
+}
+
+void keybPattMarkDown(void)
+{
+	int8_t xPos;
+	int16_t pattPos;
+
+	xPos = editor.cursor.ch;
+	pattPos = editor.pattPos;
+
+	if (xPos != pattMark.markX1 && xPos != pattMark.markX2)
+	{
+		pattMark.markX1 = xPos;
+		pattMark.markX2 = xPos;
+		pattMark.markY1 = pattPos;
+		pattMark.markY2 = pattPos + 1;
+	}
+
+	if (pattPos == pattMark.markY2)
+	{
+		pattMark.markY2 = pattPos + 1;
+	}
+	else if (pattPos == pattMark.markY1-1)
+	{
+		pattMark.markY1 = pattPos + 2;
+	}
+	else if (pattPos != pattMark.markY1 && pattPos != pattMark.markY2)
+	{
+		pattMark.markX1 = xPos;
+		pattMark.markX2 = xPos;
+		pattMark.markY1 = pattPos;
+		pattMark.markY2 = pattPos + 1;
+	}
+
+	checkMarkLimits();
+	rowOneDownWrap();
+}
+
+void keybPattMarkLeft(void)
+{
+	int8_t xPos;
+	int16_t pattPos;
+
+	xPos = editor.cursor.ch;
+	pattPos = editor.pattPos;
+
+	if (pattPos != pattMark.markY1-1 && pattPos != pattMark.markY2)
+	{
+		pattMark.markY1 = pattPos - 1;
+		pattMark.markY2 = pattPos;
+	}
+
+	if (xPos == pattMark.markX1)
+	{
+		pattMark.markX1 = xPos - 1;
+	}
+	else if (xPos == pattMark.markX2)
+	{
+		pattMark.markX2 = xPos - 1;
+	}
+	else if (xPos != pattMark.markX1 && xPos != pattMark.markX2)
+	{
+		pattMark.markX1 = xPos - 1;
+		pattMark.markX2 = xPos;
+		pattMark.markY1 = pattPos - 1;
+		pattMark.markY2 = pattPos;
+	}
+
+	checkMarkLimits();
+	chanLeft();
+}
+
+void keybPattMarkRight(void)
+{
+	int8_t xPos;
+	int16_t pattPos;
+
+	xPos = editor.cursor.ch;
+	pattPos = editor.pattPos;
+
+	if (pattPos != pattMark.markY1-1 && pattPos != pattMark.markY2)
+	{
+		pattMark.markY1 = pattPos - 1;
+		pattMark.markY2 = pattPos;
+	}
+
+	if (xPos == pattMark.markX2)
+	{
+		pattMark.markX2 = xPos + 1;
+	}
+	else if (xPos == pattMark.markX1)
+	{
+		pattMark.markX1 = xPos + 1;
+	}
+	else if (xPos != pattMark.markX1 && xPos != pattMark.markX2)
+	{
+		pattMark.markX1 = xPos;
+		pattMark.markX2 = xPos + 1;
+		pattMark.markY1 = pattPos - 1;
+		pattMark.markY2 = pattPos;
+	}
+
+	checkMarkLimits();
+	chanRight();
+}
+
+bool loadTrack(UNICHAR *filenameU)
+{
+	FILE *f;
+	uint16_t nr, pattLen;
+	tonTyp *pattPtr, loadBuff[MAX_PATT_LEN];
+	trackHeaderType th;
+
+	f = UNICHAR_FOPEN(filenameU, "rb");
+	if (f == NULL)
+	{
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		return false;
+	}
+
+	nr = editor.editPattern;
+	pattLen = pattLens[nr];
+
+	if (fread(&th, 1, sizeof (th), f) != sizeof (th))
+	{
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto trackLoadError;
+	}
+
+	if (th.ver != 1)
+	{
+		okBox(0, "System message", "Incompatible format version!");
+		goto trackLoadError;
+	}
+
+	if (th.len > MAX_PATT_LEN)
+		th.len = MAX_PATT_LEN;
+
+	if (pattLen > th.len)
+		pattLen = th.len;
+
+	if (fread(loadBuff, pattLen * sizeof (tonTyp), 1, f) != 1)
+	{
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto trackLoadError;
+	}
+
+	if (!allocatePattern(nr))
+	{
+		okBox(0, "System message", "Not enough memory!");
+		goto trackLoadError;
+	}
+
+	pattPtr = patt[nr];
+
+	lockMixerCallback();
+	for (uint16_t i = 0; i < pattLen; i++)
+	{
+		pattPtr = &patt[nr][(i * MAX_VOICES) + editor.cursor.ch];
+		*pattPtr = loadBuff[i];
+
+		// non-FT2 security fix: remove overflown (illegal) stuff
+		if (pattPtr->ton > 97)
+			pattPtr->ton = 0;
+
+		if (pattPtr->effTyp > 35)
+		{
+			pattPtr->effTyp = 0;
+			pattPtr->eff = 0;
+		}
+	}
+
+	unlockMixerCallback();
+
+	fclose(f);
+
+	editor.ui.updatePatternEditor = true;
+	editor.ui.updatePosSections = true;
+
+	diskOpSetFilename(DISKOP_ITEM_TRACK, filenameU);
+	setSongModifiedFlag();
+
+	return true;
+
+trackLoadError:
+	fclose(f);
+	return false;
+}
+
+bool saveTrack(UNICHAR *filenameU)
+{
+	FILE *f;
+	uint16_t nr, pattLen, i;
+	tonTyp *pattPtr, saveBuff[MAX_PATT_LEN];
+	trackHeaderType th;
+
+	nr = editor.editPattern;
+	pattPtr = patt[nr];
+
+	if (pattPtr == NULL)
+	{
+		okBox(0, "System message", "The current pattern is empty!");
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	pattLen = pattLens[nr];
+	for (i = 0; i < pattLen; i++)
+		saveBuff[i] = pattPtr[(i * MAX_VOICES) + editor.cursor.ch];
+
+	th.len = pattLen;
+	th.ver = 1;
+
+	if (fwrite(&th, sizeof (th), 1, f) !=  1)
+	{
+		fclose(f);
+		okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	if (fwrite(saveBuff, pattLen * sizeof (tonTyp), 1, f) != 1)
+	{
+		fclose(f);
+		okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	fclose(f);
+	return true;
+}
+
+bool loadPattern(UNICHAR *filenameU)
+{
+	FILE *f;
+	uint16_t nr, pattLen;
+	tonTyp *pattPtr;
+	patternHeaderType th;
+
+	f = UNICHAR_FOPEN(filenameU, "rb");
+	if (f == NULL)
+	{
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		return false;
+	}
+
+	nr = editor.editPattern;
+
+	if (!allocatePattern(nr))
+	{
+		okBox(0, "System message", "Not enough memory!");
+		goto loadPattError;
+	}
+
+	pattPtr = patt[nr];
+	pattLen = pattLens[nr];
+
+	if (fread(&th, 1, sizeof (th), f) != sizeof (th))
+	{
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto loadPattError;
+	}
+
+	if (th.ver != 1)
+	{
+		okBox(0, "System message", "Incompatible format version!");
+		goto loadPattError;
+	}
+
+	if (th.len > MAX_PATT_LEN)
+		th.len = MAX_PATT_LEN;
+
+	if (pattLen > th.len)
+		pattLen = th.len;
+
+	lockMixerCallback();
+
+	if (fread(pattPtr, pattLen * TRACK_WIDTH, 1, f) != 1)
+	{
+		unlockMixerCallback();
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto loadPattError;
+	}
+
+	// non-FT2 security fix: remove overflown (illegal) stuff
+	for (uint16_t i = 0; i < pattLen; i++)
+	{
+		for (uint16_t j = 0; j < MAX_VOICES; j++)
+		{
+			pattPtr = &patt[nr][(i * MAX_VOICES) + j];
+			if (pattPtr->ton > 97)
+				pattPtr->ton = 0;
+
+			if (pattPtr->effTyp > 35)
+			{
+				pattPtr->effTyp = 0;
+				pattPtr->eff = 0;
+			}
+		}
+	}
+
+	unlockMixerCallback();
+
+	fclose(f);
+
+	editor.ui.updatePatternEditor = true;
+	editor.ui.updatePosSections = true;
+
+	diskOpSetFilename(DISKOP_ITEM_PATTERN, filenameU);
+	setSongModifiedFlag();
+
+	return true;
+
+loadPattError:
+	fclose(f);
+	return false;
+}
+
+bool savePattern(UNICHAR *filenameU)
+{
+	FILE *f;
+	uint16_t nr, pattLen;
+	tonTyp *pattPtr;
+	patternHeaderType th;
+
+	nr = editor.editPattern;
+	pattPtr = patt[nr];
+
+	if (pattPtr == NULL)
+	{
+		okBox(0, "System message", "The current pattern is empty!");
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	pattLen = pattLens[nr];
+
+	th.len = pattLen;
+	th.ver = 1;
+
+	if (fwrite(&th, 1, sizeof (th), f) != sizeof (th))
+	{
+		fclose(f);
+		okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	if (fwrite(pattPtr, pattLen * TRACK_WIDTH, 1, f) != 1)
+	{
+		fclose(f);
+		okBox(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	fclose(f);
+	return true;
+}
+
+void scrollChannelLeft(void)
+{
+	scrollBarScrollLeft(SB_CHAN_SCROLL, 1);
+}
+
+void scrollChannelRight(void)
+{
+	scrollBarScrollRight(SB_CHAN_SCROLL, 1);
+}
+
+void setChannelScrollPos(uint32_t pos)
+{
+	if (!editor.ui.pattChanScrollShown)
+	{
+		editor.ui.channelOffset = 0;
+		return;
+	}
+
+	if (editor.ui.channelOffset == (uint8_t)pos)
+		return;
+
+	editor.ui.channelOffset = (uint8_t)pos;
+
+	assert(song.antChn > editor.ui.numChannelsShown);
+	if (editor.ui.channelOffset >= song.antChn-editor.ui.numChannelsShown)
+		editor.ui.channelOffset = song.antChn-editor.ui.numChannelsShown;
+
+	if (editor.cursor.ch >= editor.ui.channelOffset+editor.ui.numChannelsShown)
+	{
+		editor.cursor.object = CURSOR_NOTE;
+		editor.cursor.ch = (editor.ui.channelOffset + editor.ui.numChannelsShown) - 1;
+	}
+	else if (editor.cursor.ch < editor.ui.channelOffset)
+	{
+		editor.cursor.object = CURSOR_NOTE;
+		editor.cursor.ch = editor.ui.channelOffset;
+	}
+
+	editor.ui.updatePatternEditor = true;
+}
+
+void jumpToChannel(uint8_t channel) // for ALT+q..i ALT+a..k
+{
+	if (editor.ui.sampleEditorShown || editor.ui.instEditorShown)
+		return;
+
+	channel %= song.antChn;
+	if (editor.cursor.ch == channel)
+		return;
+
+	if (editor.ui.pattChanScrollShown)
+	{
+		assert(song.antChn > editor.ui.numChannelsShown);
+		if (channel >= editor.ui.channelOffset+editor.ui.numChannelsShown)
+			scrollBarScrollDown(SB_CHAN_SCROLL, (channel - (editor.ui.channelOffset + editor.ui.numChannelsShown)) + 1);
+		else if (channel < editor.ui.channelOffset)
+			scrollBarScrollUp(SB_CHAN_SCROLL, editor.ui.channelOffset - channel);
+	}
+
+	editor.cursor.ch = channel; // set it here since scrollBarScrollX() changes it...
+	editor.ui.updatePatternEditor = true;
+}
+
+void sbPosEdPos(uint32_t pos)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.songPos != (int16_t)pos)
+		setPos((int16_t)pos, 0);
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPosEdPosUp(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.songPos < song.len-1)
+		setPos(song.songPos + 1, 0);
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPosEdPosDown(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.songPos > 0)
+		setPos(song.songPos - 1, 0);
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPosEdIns(void)
+{
+	uint8_t oldPatt;
+
+	if (song.len >= 255)
+		return;
+
+	lockMixerCallback();
+
+	oldPatt = song.songTab[song.songPos];
+	for (uint16_t i = 0; i < 255-song.songPos; i++)
+		song.songTab[255-i] = song.songTab[254-i];
+	song.songTab[song.songPos] = oldPatt;
+
+	song.len++;
+	setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+
+	drawPosEdNums(song.songPos);
+	drawSongLength();
+
+	editor.ui.updatePosSections = true;
+	setSongModifiedFlag();
+
+	unlockMixerCallback();
+}
+
+void pbPosEdDel(void)
+{
+	if (song.len == 0)
+		return;
+
+	lockMixerCallback();
+
+	for (uint16_t i = 0; i < 254-song.songPos; i++)
+		song.songTab[song.songPos+i] = song.songTab[song.songPos+1+i];
+	song.len--;
+
+	if (song.repS >= song.len)
+	{
+		song.repS =  song.len - 1;
+		drawSongRepS();
+	}
+
+	if (song.songPos > song.len-1)
+	{
+		song.songPos = song.len-1;
+		setPos(song.songPos, -1);
+
+	}
+
+	setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+
+	drawPosEdNums(song.songPos);
+	drawSongLength();
+
+	setPos(song.songPos, -1);
+	setSongModifiedFlag();
+
+	unlockMixerCallback();
+}
+
+void pbPosEdPattUp(void)
+{
+	lockMixerCallback();
+	if (song.songTab[song.songPos] < 255)
+	{
+		song.songTab[song.songPos]++;
+		song.pattNr = song.songTab[song.songPos];
+		editor.editPattern = (uint8_t)song.pattNr;
+		song.pattLen = pattLens[editor.editPattern];
+
+		drawPosEdNums(song.songPos);
+		drawEditPattern(editor.editPattern);
+		drawPatternLength(editor.editPattern);
+
+		editor.ui.updatePatternEditor = true;
+		setSongModifiedFlag();
+	}
+	unlockMixerCallback();
+}
+
+void pbPosEdPattDown(void)
+{
+	lockMixerCallback();
+	if (song.songTab[song.songPos] > 0)
+	{
+		song.songTab[song.songPos]--;
+		song.pattNr = song.songTab[song.songPos];
+		editor.editPattern = (uint8_t)song.pattNr;
+		song.pattLen = pattLens[editor.editPattern];
+
+		drawPosEdNums(song.songPos);
+		drawEditPattern(editor.editPattern);
+		drawPatternLength(editor.editPattern);
+
+		editor.ui.updatePatternEditor = true;
+		setSongModifiedFlag();
+	}
+	unlockMixerCallback();
+}
+
+void pbPosEdLenUp(void)
+{
+	bool audioWasntLocked;
+
+	if (song.len >= 255)
+		return;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	song.len++;
+
+	drawPosEdNums(song.songPos);
+	drawSongLength();
+
+	setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+	setSongModifiedFlag();
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPosEdLenDown(void)
+{
+	bool audioWasntLocked;
+
+	if (song.len == 0)
+		return;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	song.len--;
+
+	if (song.repS >= song.len)
+	{
+		song.repS = song.len - 1;
+		drawSongRepS();
+	}
+
+	if (song.songPos >= song.len)
+	{
+		song.songPos = song.len - 1;
+		setScrollBarPos(SB_POS_ED, song.songPos, false);
+		setPos(song.songPos, -1);
+	}
+
+	drawPosEdNums(song.songPos);
+	drawSongLength();
+
+	setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+	setSongModifiedFlag();
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPosEdRepSUp(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.repS < song.len-1)
+	{
+		song.repS++;
+		drawSongRepS();
+		setSongModifiedFlag();
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPosEdRepSDown(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.repS > 0)
+	{
+		song.repS--;
+		drawSongRepS();
+		setSongModifiedFlag();
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbBPMUp(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.speed < 255)
+	{
+		song.speed++;
+		setSpeed(song.speed);
+
+		// if song is playing, the update is handled in the audio/video sync queue
+		if (!songPlaying)
+		{
+			editor.speed = song.speed;
+			drawSongBPM(song.speed);
+		}
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbBPMDown(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.speed > 32)
+	{
+		song.speed--;
+		setSpeed(song.speed);
+
+		// if song is playing, the update is handled in the audio/video sync queue
+		if (!songPlaying)
+		{
+			editor.speed = song.speed;
+			drawSongBPM(editor.speed);
+		}
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbSpeedUp(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.tempo < 31)
+	{
+		song.tempo++;
+
+		// if song is playing, the update is handled in the audio/video sync queue
+		if (!songPlaying)
+		{
+			editor.tempo = song.tempo;
+			drawSongSpeed(editor.tempo);
+		}
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbSpeedDown(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.tempo > 0)
+	{
+		song.tempo--;
+
+		// if song is playing, the update is handled in the audio/video sync queue
+		if (!songPlaying)
+		{
+			editor.tempo = song.tempo;
+			drawSongSpeed(editor.tempo);
+		}
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbIncAdd(void)
+{
+	if (editor.ID_Add == 16)
+		editor.ID_Add = 0;
+	else
+		editor.ID_Add++;
+
+	drawIDAdd();
+}
+
+void pbDecAdd(void)
+{
+	if (editor.ID_Add == 0)
+		editor.ID_Add = 16;
+	else
+		editor.ID_Add--;
+
+	drawIDAdd();
+}
+
+void pbAddChan(void)
+{
+	if (song.antChn > 30)
+		return;
+
+	lockMixerCallback();
+	song.antChn += 2;
+
+	hideTopScreen();
+	showTopLeftMainScreen(true);
+	showTopRightMainScreen();
+
+	if (editor.ui.patternEditorShown)
+		showPatternEditor();
+
+	setSongModifiedFlag();
+	unlockMixerCallback();
+}
+
+void pbSubChan(void)
+{
+	if (song.antChn < 4)
+		return;
+
+	lockMixerCallback();
+
+	song.antChn -= 2;
+
+	checkMarkLimits();
+
+	hideTopScreen();
+	showTopLeftMainScreen(true);
+	showTopRightMainScreen();
+
+	if (editor.ui.patternEditorShown)
+		showPatternEditor();
+
+	setSongModifiedFlag();
+	unlockMixerCallback();
+}
+
+static void updatePtnLen(void)
+{
+	uint16_t len = pattLens[editor.editPattern];
+
+	song.pattLen = len;
+	editor.pattPos = song.pattPos = CLAMP(song.pattPos, 0, len - 1);
+
+	checkMarkLimits();
+}
+
+void pbEditPattUp(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (editor.editPattern < 255)
+	{
+		editor.editPattern++;
+
+		song.pattNr = editor.editPattern;
+		updatePtnLen();
+
+		if (!editor.ui.aboutScreenShown && !editor.ui.configScreenShown &&
+			!editor.ui.diskOpShown      && !editor.ui.helpScreenShown   &&
+			!editor.ui.nibblesShown)
+		{
+			drawEditPattern(editor.editPattern);
+			drawPatternLength(editor.editPattern);
+		}
+
+		editor.ui.updatePatternEditor = true;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbEditPattDown(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (editor.editPattern > 0)
+	{
+		editor.editPattern--;
+
+		song.pattNr = editor.editPattern;
+		updatePtnLen();
+
+		if (!editor.ui.aboutScreenShown && !editor.ui.configScreenShown &&
+			!editor.ui.diskOpShown      && !editor.ui.helpScreenShown   &&
+			!editor.ui.nibblesShown)
+		{
+			drawEditPattern(editor.editPattern);
+			drawPatternLength(editor.editPattern);
+		}
+
+		editor.ui.updatePatternEditor = true;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPattLenUp(void)
+{
+	bool audioWasntLocked;
+	uint16_t pattLen;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	pattLen = pattLens[editor.editPattern];
+	if (pattLen < 256)
+	{
+		setPatternLen(editor.editPattern, pattLen + 1);
+		checkMarkLimits();
+
+		drawPatternLength(editor.editPattern);
+		editor.ui.updatePatternEditor = true;
+		setSongModifiedFlag();
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void pbPattLenDown(void)
+{
+	bool audioWasntLocked;
+	uint16_t pattLen;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	pattLen = pattLens[editor.editPattern];
+	if (pattLen > 1)
+	{
+		setPatternLen(editor.editPattern, pattLen - 1);
+		checkMarkLimits();
+
+		drawPatternLength(editor.editPattern);
+
+		if (song.pattPos >= song.pattLen)
+			song.pattPos--;
+
+		editor.ui.updatePatternEditor = true;
+		setSongModifiedFlag();
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void drawPosEdNums(int16_t songPos)
+{
+	uint8_t y;
+	int16_t entry;
+
+	if (songPos >= song.len)
+		songPos = song.len - 1;
+
+	// clear
+	if (editor.ui.extended)
+	{
+		clearRect(8,  4, 39, 16);
+		fillRect(8, 23, 39, 7, PAL_DESKTOP);
+		clearRect(8, 33, 39, 16);
+	}
+	else
+	{
+		clearRect(8,  4, 39, 15);
+		fillRect(8, 22, 39, 7, PAL_DESKTOP);
+		clearRect(8, 32, 39, 15);
+	}
+
+	// top two
+	for (y = 0; y < 2; y++)
+	{
+		entry = songPos - (2 - y);
+		if (entry < 0)
+			continue;
+
+		assert(entry < 256);
+
+		if (editor.ui.extended)
+		{
+			pattTwoHexOut(8,  4 + (y * 9), PAL_PATTEXT, (uint8_t)entry);
+			pattTwoHexOut(32, 4 + (y * 9), PAL_PATTEXT, song.songTab[entry]);
+		}
+		else
+		{
+			pattTwoHexOut(8,  4 + (y * 8), PAL_PATTEXT, (uint8_t)entry);
+			pattTwoHexOut(32, 4 + (y * 8), PAL_PATTEXT, song.songTab[entry]);
+		}
+	}
+
+	assert(songPos < 256);
+
+	// middle
+	if (editor.ui.extended)
+	{
+		pattTwoHexOut(8,  23, PAL_FORGRND, (uint8_t)songPos);
+		pattTwoHexOut(32, 23, PAL_FORGRND, song.songTab[songPos]);
+	}
+	else
+	{
+		pattTwoHexOut(8,  22, PAL_FORGRND, (uint8_t)songPos);
+		pattTwoHexOut(32, 22, PAL_FORGRND, song.songTab[songPos]);
+	}
+
+	// bottom two
+	for (y = 0; y < 2; y++)
+	{
+		entry = songPos + (1 + y);
+		if (entry >= song.len)
+			break;
+
+		if (editor.ui.extended)
+		{
+			pattTwoHexOut(8,  33 + (y * 9), PAL_PATTEXT, (uint8_t)entry);
+			pattTwoHexOut(32, 33 + (y * 9), PAL_PATTEXT, song.songTab[entry]);
+		}
+		else
+		{
+			pattTwoHexOut(8,  32 + (y * 8), PAL_PATTEXT, (uint8_t)entry);
+			pattTwoHexOut(32, 32 + (y * 8), PAL_PATTEXT, song.songTab[entry]);
+		}
+	}
+}
+
+void drawSongLength(void)
+{
+	int16_t x, y;
+
+	if (editor.ui.extended)
+	{
+		x = 165;
+		y = 6;
+	}
+	else
+	{
+		x = 59;
+		y = 53;
+	}
+
+	hexOutBg(x, y, PAL_FORGRND, PAL_DESKTOP, (uint8_t)song.len, 2);
+}
+
+void drawSongRepS(void)
+{
+	int16_t x, y;
+
+	if (editor.ui.extended)
+	{
+		x = 165;
+		y = 20;
+	}
+	else
+	{
+		x = 59;
+		y = 65;
+	}
+
+	hexOutBg(x, y, PAL_FORGRND, PAL_DESKTOP, (uint8_t)song.repS, 2);
+}
+
+void drawSongBPM(uint16_t val)
+{
+	char str[8];
+
+	if (editor.ui.extended)
+		return;
+
+	sprintf(str, "%03d", val);
+	textOutFixed(145, 36, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+void drawSongSpeed(uint16_t val)
+{
+	char str[8];
+
+	if (editor.ui.extended)
+		return;
+
+	sprintf(str, "%02d", val);
+	textOutFixed(152, 50, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+void drawEditPattern(uint16_t editPattern)
+{
+	int16_t x, y;
+
+	if (editor.ui.extended)
+	{
+		x = 251;
+		y = 40;
+	}
+	else
+	{
+		x = 237;
+		y = 36;
+	}
+
+	hexOutBg(x, y, PAL_FORGRND, PAL_DESKTOP, editPattern, 2);
+}
+
+void drawPatternLength(uint16_t editPattern)
+{
+	int16_t x, y;
+
+	if (editor.ui.extended)
+	{
+		x = 326;
+		y = 40;
+	}
+	else
+	{
+		x = 230;
+		y = 50;
+	}
+
+	hexOutBg(x, y, PAL_FORGRND, PAL_DESKTOP, pattLens[editPattern], 3);
+}
+
+void drawGlobalVol(int16_t globalVol)
+{
+	char str[8];
+
+	if (editor.ui.extended)
+		return;
+
+	assert(globalVol >= 0 && globalVol <= 64);
+	sprintf(str, "%02d", globalVol);
+	textOutFixed(87, 80, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+void drawIDAdd(void)
+{
+	char str[8];
+
+	assert(editor.ID_Add <= 16);
+	sprintf(str, "%02d", editor.ID_Add);
+	textOutFixed(152, 64, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+void drawPlaybackTime(void)
+{
+	char str[2 + 1];
+	uint32_t a, MI_TimeH, MI_TimeM, MI_TimeS;
+
+	a = ((song.musicTime / 256) * 5) / 512;
+	MI_TimeH = a / 3600;
+	a -= (MI_TimeH * 3600);
+	MI_TimeM = a / 60;
+	MI_TimeS = a - (MI_TimeM * 60);
+
+	// hours
+	str[0] = '0' + (char)(MI_TimeH / 10);
+	str[1] = '0' + (char)(MI_TimeH % 10);
+	str[2] = '\0';
+	textOutFixed(235, 80, PAL_FORGRND, PAL_DESKTOP, str);
+
+	// minutes
+	str[0] = '0' + (char)(MI_TimeM / 10);
+	str[1] = '0' + (char)(MI_TimeM % 10);
+	str[2] = '\0';
+	textOutFixed(255, 80, PAL_FORGRND, PAL_DESKTOP, str);
+
+	// seconds
+	str[0] = '0' + (char)(MI_TimeS / 10);
+	str[1] = '0' + (char)(MI_TimeS % 10);
+	str[2] = '\0';
+	textOutFixed(275, 80, PAL_FORGRND, PAL_DESKTOP, str);
+}
+
+void drawSongName(void)
+{
+	drawFramework(421, 155, 166, 18, FRAMEWORK_TYPE1);
+	drawFramework(423, 157, 162, 14, FRAMEWORK_TYPE2);
+	drawTextBox(TB_SONG_NAME);
+}
+
+void changeLogoType(uint8_t logoType)
+{
+	pushButtons[PB_LOGO].bitmapFlag = true;
+
+	if (logoType == 0)
+	{
+		pushButtons[PB_LOGO].bitmapUnpressed = &ft2LogoBadges[(154 * 32) * 0];
+		pushButtons[PB_LOGO].bitmapPressed   = &ft2LogoBadges[(154 * 32) * 1];
+	}
+	else
+	{
+		pushButtons[PB_LOGO].bitmapUnpressed = &ft2LogoBadges[(154 * 32) * 2];
+		pushButtons[PB_LOGO].bitmapPressed   = &ft2LogoBadges[(154 * 32) * 3];
+	}
+
+	drawPushButton(PB_LOGO);
+}
+
+void changeBadgeType(uint8_t badgeType)
+{
+	pushButtons[PB_BADGE].bitmapFlag = true;
+
+	if (badgeType == 0)
+	{
+		pushButtons[PB_BADGE].bitmapUnpressed = &ft2InfoBadges[(25 * 32) * 0];
+		pushButtons[PB_BADGE].bitmapPressed   = &ft2InfoBadges[(25 * 32) * 1];
+	}
+	else
+	{
+		pushButtons[PB_BADGE].bitmapUnpressed = &ft2InfoBadges[(25 * 32) * 2];
+		pushButtons[PB_BADGE].bitmapPressed   = &ft2InfoBadges[(25 * 32) * 3];
+	}
+
+	drawPushButton(PB_BADGE);
+}
+
+void updateInstrumentSwitcher(void)
+{
+	int8_t i;
+	int16_t y;
+
+	if (editor.ui.extended) // extended pattern editor
+	{
+		//INSTRUMENTS
+
+		clearRect(388, 5, 116, 43); // left box
+		clearRect(511, 5, 116, 43); // right box
+
+		// draw source instrument selection
+		if (editor.srcInstr >= editor.instrBankOffset && editor.srcInstr <= editor.instrBankOffset+8)
+		{
+			y = 5 + ((editor.srcInstr - editor.instrBankOffset - 1) * 11);
+			if (y >= 5 && y <= 82)
+			{
+				if (y <= 47)
+					fillRect(388, y, 15, 10, PAL_BUTTONS); // left box
+				else
+					fillRect(511, y - 44, 15, 10, PAL_BUTTONS); // right box
+			}
+		}
+
+		// draw destination instrument selection
+		if (editor.curInstr >= editor.instrBankOffset && editor.curInstr <= editor.instrBankOffset+8)
+		{
+			y = 5 + ((editor.curInstr - editor.instrBankOffset - 1) * 11);
+			y = 5 + ((editor.curInstr - editor.instrBankOffset - 1) * 11);
+			if (y >= 5 && y <= 82)
+			{
+				if (y <= 47)
+					fillRect(406, y, 98, 10, PAL_BUTTONS); // left box
+				else
+					fillRect(529, y - 44, 98, 10, PAL_BUTTONS); // right box
+			}
+		}
+
+		// draw numbers and texts
+		for (i = 0; i < 4; i++)
+		{
+			hexOut(388, 5 + (i * 11), PAL_FORGRND, 1 + editor.instrBankOffset + i, 2);
+			hexOut(511, 5 + (i * 11), PAL_FORGRND, 5 + editor.instrBankOffset + i, 2);
+			drawTextBox(TB_INST1 + i);
+			drawTextBox(TB_INST5 + i);
+		}
+	}
+	else // normal pattern editor
+	{
+		// INSTRUMENTS
+
+		clearRect(424, 5,  15, 87); // src instrument
+		clearRect(446, 5, 139, 87); // main instrument
+
+		// draw source instrument selection
+		if (editor.srcInstr >= editor.instrBankOffset && editor.srcInstr <= editor.instrBankOffset+8)
+		{
+			y = 5 + ((editor.srcInstr - editor.instrBankOffset - 1) * 11);
+			if (y >= 5 && y <= 82)
+				fillRect(424, y, 15, 10, PAL_BUTTONS);
+		}
+
+		// draw destination instrument selection
+		if (editor.curInstr >= editor.instrBankOffset && editor.curInstr <= editor.instrBankOffset+8)
+		{
+			y = 5 + ((editor.curInstr - editor.instrBankOffset - 1) * 11);
+			if (y >= 5 && y <= 82)
+				fillRect(446, y, 139, 10, PAL_BUTTONS);
+		}
+
+		// draw numbers and texts
+		for (i = 0; i < 8; i++)
+		{
+			hexOut(424, 5 + (i * 11), PAL_FORGRND, 1 + editor.instrBankOffset + i, 2);
+			drawTextBox(TB_INST1 + i);
+		}
+
+		// SAMPLES
+
+		clearRect(424, 99,  15, 54); // src sample
+		clearRect(446, 99, 115, 54); // main sample
+
+		// draw source sample selection
+		if (editor.srcSmp >= editor.sampleBankOffset && editor.srcSmp <= editor.sampleBankOffset+4)
+		{
+			y = 99 + ((editor.srcSmp - editor.sampleBankOffset) * 11);
+			if (y >= 36 && y <= 143)
+				fillRect(424, y, 15, 10, PAL_BUTTONS);
+		}
+
+		// draw destination sample selection
+		if (editor.curSmp >= editor.sampleBankOffset && editor.curSmp <= editor.sampleBankOffset+4)
+		{
+			y = 99 + ((editor.curSmp - editor.sampleBankOffset) * 11);
+			if (y >= 36 && y <= 143)
+				fillRect(446, y, 115, 10, PAL_BUTTONS);
+		}
+
+		// draw numbers and texts
+		for (i = 0; i < 5; i++)
+		{
+			hexOut(424, 99 + (i * 11), PAL_FORGRND, editor.sampleBankOffset + i, 2);
+			drawTextBox(TB_SAMP1 + i);
+		}
+	}
+}
+
+void showInstrumentSwitcher(void)
+{
+	uint16_t i;
+
+	if (!editor.ui.instrSwitcherShown)
+		return;
+
+	for (i = 0; i < 8; i++)
+		showTextBox(TB_INST1 + i);
+
+	if (editor.ui.extended)
+	{
+		hidePushButton(PB_SAMPLE_LIST_UP);
+		hidePushButton(PB_SAMPLE_LIST_DOWN);
+		hideScrollBar(SB_SAMPLE_LIST);
+
+		drawFramework(386,  0, 246,   3, FRAMEWORK_TYPE1);
+		drawFramework(506,  3,   3,  47, FRAMEWORK_TYPE1);
+		drawFramework(386, 50, 246,   3, FRAMEWORK_TYPE1);
+		drawFramework(629,  3,   3,  47, FRAMEWORK_TYPE1);
+
+		clearRect(386, 3, 120, 47);
+		clearRect(509, 3, 120, 47);
+	}
+	else
+	{
+		drawFramework(421,   0, 166,   3, FRAMEWORK_TYPE1);
+		drawFramework(442,   3,   3,  91, FRAMEWORK_TYPE1);
+		drawFramework(421,  94, 166,   3, FRAMEWORK_TYPE1);
+		drawFramework(442,  97,   3,  58, FRAMEWORK_TYPE1);
+		drawFramework(563,  97,  24,  58, FRAMEWORK_TYPE1);
+		drawFramework(587,   0,  45,  71, FRAMEWORK_TYPE1);
+		drawFramework(587,  71,  45,  71, FRAMEWORK_TYPE1);
+		drawFramework(587, 142,  45,  31, FRAMEWORK_TYPE1);
+
+		fillRect(421,  3,  21, 91, PAL_BCKGRND);
+		fillRect(445,  3, 142, 91, PAL_BCKGRND);
+		fillRect(421, 97,  21, 58, PAL_BCKGRND);
+		fillRect(445, 97, 118, 58, PAL_BCKGRND);
+
+		showPushButton(PB_SAMPLE_LIST_UP);
+		showPushButton(PB_SAMPLE_LIST_DOWN);
+		showScrollBar(SB_SAMPLE_LIST);
+
+		for (i = 0; i < 5; i++)
+			showTextBox(TB_SAMP1 + i);
+	}
+
+	updateInstrumentSwitcher();
+
+	for (i = 0; i < 8; i++)
+		showPushButton(PB_RANGE1 + i + (editor.instrBankSwapped * 8));
+
+	showPushButton(PB_SWAP_BANK);
+}
+
+void hideInstrumentSwitcher(void)
+{
+	uint8_t i;
+
+	for (i = 0; i < 16; i++)
+		hidePushButton(PB_RANGE1 + i);
+
+	hidePushButton(PB_SWAP_BANK);
+	hidePushButton(PB_SAMPLE_LIST_UP);
+	hidePushButton(PB_SAMPLE_LIST_DOWN);
+	hideScrollBar(SB_SAMPLE_LIST);
+
+	for (i = 0; i < 8; i++)
+		hideTextBox(TB_INST1 + i);
+
+	for (i = 0; i < 5; i++)
+		hideTextBox(TB_SAMP1 + i);
+}
+
+void pbSwapInstrBank(void)
+{
+	editor.instrBankSwapped ^= 1;
+
+	if (editor.instrBankSwapped)
+		editor.instrBankOffset += (8 * 8);
+	else
+		editor.instrBankOffset -= (8 * 8);
+
+	updateTextBoxPointers();
+
+	if (editor.ui.instrSwitcherShown)
+	{
+		updateInstrumentSwitcher();
+		for (uint16_t i = 0; i < 8; i++)
+		{
+			hidePushButton(PB_RANGE1 + i + (!editor.instrBankSwapped * 8));
+			showPushButton(PB_RANGE1 + i + ( editor.instrBankSwapped * 8));
+		}
+	}
+}
+
+void pbSetInstrBank1(void)
+{
+	editor.instrBankOffset = 0 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank2(void)
+{
+	editor.instrBankOffset = 1 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank3(void)
+{
+	editor.instrBankOffset = 2 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank4(void)
+{
+	editor.instrBankOffset = 3 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank5(void)
+{
+	editor.instrBankOffset = 4 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank6(void)
+{
+	editor.instrBankOffset = 5 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank7(void)
+{
+	editor.instrBankOffset = 6 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank8(void)
+{
+	editor.instrBankOffset = 7 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank9(void)
+{
+	editor.instrBankOffset = 8 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank10(void)
+{
+	editor.instrBankOffset = 9 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank11(void)
+{
+	editor.instrBankOffset = 10 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank12(void)
+{
+	editor.instrBankOffset = 11 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank13(void)
+{
+	editor.instrBankOffset = 12 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank14(void)
+{
+	editor.instrBankOffset = 13 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank15(void)
+{
+	editor.instrBankOffset = 14 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void pbSetInstrBank16(void)
+{
+	editor.instrBankOffset = 15 * 8;
+
+	updateTextBoxPointers();
+	updateInstrumentSwitcher();
+}
+
+void setNewInstr(int16_t ins)
+{ 
+	if (ins <= MAX_INST)
+	{
+		editor.curInstr = (uint8_t)ins;
+		updateTextBoxPointers();
+		updateInstrumentSwitcher();
+		updateNewInstrument();
+	}
+}
+
+void sampleListScrollUp(void)
+{
+	scrollBarScrollUp(SB_SAMPLE_LIST, 1);
+}
+
+void sampleListScrollDown(void)
+{
+	scrollBarScrollDown(SB_SAMPLE_LIST, 1);
+}
+
+static void zapSong(void)
+{
+	lockMixerCallback();
+
+	song.len = 1;
+	song.repS = 0; // FT2 doesn't do this...
+	song.speed = 125;
+	song.tempo = 6;
+	song.songPos = 0;
+	song.globVol = 64;
+
+	memset(song.name,    0, sizeof (song.name));
+	memset(song.songTab, 0, sizeof (song.songTab));
+
+	// zero all pattern data and reset pattern lengths
+
+	freeAllPatterns();
+	for (uint16_t i = 0; i < MAX_PATTERNS; i++)
+		pattLens[i] = 64;
+	song.pattLen = pattLens[song.pattNr];
+
+	resetMusic();
+	setSpeed(song.speed);
+
+	editor.songPos = song.songPos;
+	editor.editPattern = song.pattNr;
+	editor.speed = song.speed;
+	editor.tempo = song.tempo;
+	editor.globalVol = song.globVol;
+	editor.timer = 1;
+
+	if (songPlaying)
+		song.musicTime = 0;
+
+	setFrqTab(true);
+
+	clearPattMark();
+	resetWavRenderer();
+	resetChannels();
+	unlockMixerCallback();
+
+	setScrollBarPos(SB_POS_ED, 0, false);
+	setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+
+	updateWindowTitle(true);
+}
+
+static void zapInstrs(void)
+{
+	lockMixerCallback();
+
+	for (int16_t i = 1; i <= MAX_INST; i++)
+	{
+		freeInstr(i);
+		memset(song.instrName[i], 0, 23);
+	}
+
+	updateNewInstrument();
+
+	editor.currVolEnvPoint = 0;
+	editor.currPanEnvPoint = 0;
+
+	updateSampleEditorSample();
+
+	if (editor.ui.sampleEditorShown)
+		updateSampleEditor();
+	else if (editor.ui.instEditorShown || editor.ui.instEditorExtShown)
+		updateInstEditor();
+
+	unlockMixerCallback();
+}
+
+void pbZap(void)
+{
+	int16_t choice = okBox(4, "System request", "Total devastation of the...");
+
+	if (choice == 1) // zap all
+	{
+		zapSong();
+		zapInstrs();
+	}
+	else if (choice == 2) // zap song
+	{
+		zapSong();
+	}
+	else if (choice == 3) // zap instruments
+	{
+		zapInstrs();
+	}
+
+	if (choice >= 1 && choice <= 3)
+	{
+		// redraw top screens
+		hideTopScreen();
+		showTopScreen(true);
+
+		setSongModifiedFlag();
+	}
+}
+
+void sbSmpBankPos(uint32_t pos)
+{
+	if (editor.sampleBankOffset != pos)
+	{
+		editor.sampleBankOffset = (uint8_t)pos;
+
+		updateTextBoxPointers();
+		updateInstrumentSwitcher();
+	}
+}
+
+void pbToggleLogo(void)
+{
+	config.id_FastLogo ^= 1;
+	changeLogoType(config.id_FastLogo);
+}
+
+void pbToggleBadge(void)
+{
+	config.id_TritonProd ^= 1;
+	changeBadgeType(config.id_TritonProd);
+}
+
+void resetChannelOffset(void)
+{
+	editor.cursor.object = CURSOR_NOTE;
+	editor.cursor.ch = 0;
+	setScrollBarPos(SB_CHAN_SCROLL, 0, true);
+	editor.ui.channelOffset = 0;
+}
+
+void shrinkPattern(void)
+{
+	uint16_t nr, pattLen;
+	tonTyp *pattPtr;
+
+	if (okBox(2, "System request", "Shrink pattern?") != 1)
+		return;
+
+	nr = editor.editPattern;
+
+	pattLen = pattLens[nr];
+	if (pattLen > 1)
+	{
+		lockMixerCallback();
+
+		pattPtr = patt[nr];
+		if (pattPtr != NULL)
+		{
+			for (uint16_t i = 0; i < pattLen/2; i++)
+			{
+				for (uint16_t j = 0; j < MAX_VOICES; j++)
+					pattPtr[(i * MAX_VOICES) + j] = pattPtr[((i * 2) * MAX_VOICES) + j];
+			}
+		}
+
+		pattLens[nr] /= 2;
+
+		if (song.pattNr == nr)
+			song.pattLen = pattLens[nr];
+
+		song.pattPos /= 2;
+		if (song.pattPos >= pattLens[nr])
+			song.pattPos = pattLens[nr] - 1;
+
+		editor.pattPos = song.pattPos;
+
+		editor.ui.updatePatternEditor = true;
+		editor.ui.updatePosSections = true;
+
+		unlockMixerCallback();
+		setSongModifiedFlag();
+	}
+}
+
+void expandPattern(void)
+{
+	uint16_t nr, pattLen;
+	tonTyp *tmpPtn;
+
+	nr = editor.editPattern;
+
+	pattLen = pattLens[nr];
+	if (pattLen > 128)
+	{
+		okBox(0, "System message", "Pattern is too long to be expanded.");
+	}
+	else
+	{
+		lockMixerCallback();
+
+		if (patt[nr] != NULL)
+		{
+			tmpPtn = (tonTyp *)malloc((pattLen * 2) * TRACK_WIDTH);
+			if (tmpPtn == NULL)
+			{
+				unlockMixerCallback();
+				okBox(0, "System message", "Not enough memory!");
+				return;
+			}
+
+			for (uint16_t i = 0; i < pattLen; i++)
+			{
+				for (uint16_t j = 0; j < MAX_VOICES; j++)
+					tmpPtn[((i * 2) * MAX_VOICES) + j] = patt[nr][(i * MAX_VOICES) + j];
+
+				memset(&tmpPtn[((i * 2) + 1) * MAX_VOICES], 0, TRACK_WIDTH);
+			}
+
+			free(patt[nr]);
+			patt[nr] = tmpPtn;
+		}
+
+		pattLens[nr] *= 2;
+
+		if (song.pattNr == nr)
+			song.pattLen = pattLens[nr];
+
+		song.pattPos *= 2;
+		if (song.pattPos >= pattLens[nr])
+			song.pattPos = pattLens[nr] - 1;
+
+		editor.pattPos = song.pattPos;
+
+		editor.ui.updatePatternEditor = true;
+		editor.ui.updatePosSections   = true;
+
+		unlockMixerCallback();
+		setSongModifiedFlag();
+	}
+}
+
+const pattCoordsMouse_t pattCoordMouseTable[2][2][2] =
+{
+	/*
+		uint16_t upperRowsY, midRowY, lowerRowsY;
+		uint16_t numUpperRows;
+	*/
+
+	// no pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 177, 281, 293, 13 }, //   normal pattern editor
+			{  57, 217, 229, 20 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 177, 274, 286, 12 }, //   normal pattern editor
+			{  57, 210, 222, 19 }, // extended pattern editor
+		}
+	},
+
+	// pattern stretch
+	{
+		// no pattern channel scroll
+		{
+			{ 176, 275, 286,  9 }, //   normal pattern editor
+			{  56, 221, 232, 15 }, // extended pattern editor
+		},
+
+		// pattern channel scroll
+		{
+			{ 175, 274, 284,  9 }, //   normal pattern editor
+			{  55, 209, 219, 14 }, // extended pattern editor
+		},
+	}
+};
--- /dev/null
+++ b/src/ft2_pattern_ed.h
@@ -1,0 +1,171 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_unicode.h"
+
+enum
+{
+	VOLUME_COLUMN_HIDDEN = 0,
+	VOLUME_COLUMN_SHOWN = 1,
+
+	TRANSP_ALL_INST = 0,
+	TRANSP_CUR_INST = 1,
+
+	TRANSP_TRACK = 0,
+	TRANSP_PATT = 1,
+	TRANSP_SONG = 2,
+	TRANSP_BLOCK = 3
+};
+
+typedef struct trackHeaderType_t
+{
+	uint16_t ver, len;
+} trackHeaderType;
+
+typedef struct patternHeaderType_t
+{
+	uint16_t ver, len;
+} patternHeaderType;
+
+typedef struct pattCoord_t
+{
+	uint16_t upperRowsY, lowerRowsY;
+	uint16_t upperRowsTextY, midRowTextY, lowerRowsTextY;
+	uint16_t numUpperRows, numLowerRows;
+} pattCoord_t;
+
+typedef struct pattCoord2_t
+{
+	uint16_t upperRowsY, lowerRowsY;
+	uint16_t upperRowsH, lowerRowsH;
+} pattCoord2_t;
+
+typedef struct pattCoordsMouse_t
+{
+	uint16_t upperRowsY, midRowY, lowerRowsY;
+	uint16_t numUpperRows;
+} pattCoordsMouse_t;
+
+typedef struct markCoord_t
+{
+	uint16_t upperRowsY, midRowY, lowerRowsY;
+} markCoord_t;
+
+struct pattMark_t
+{
+	int16_t markX1, markX2, markY1, markY2;
+} pattMark;
+
+bool allocatePattern(uint16_t nr);
+void killPatternIfUnused(uint16_t nr);
+uint8_t getMaxVisibleChannels(void);
+void updatePatternWidth(void);
+void updateAdvEdit(void);
+void drawAdvEdit(void);
+void hideAdvEdit(void);
+void showAdvEdit(void);
+void toggleAdvEdit(void);
+void cursorTabLeft(void);
+void cursorTabRight(void);
+void cursorChannelLeft(void);
+void cursorChannelRight(void);
+void cursorLeft(void);
+void cursorRight(void);
+void chanLeft(void);
+void chanRight(void);
+void writePattern(int16_t currRow, int16_t pattern);
+void showPatternEditor(void);
+void updateInstrumentSwitcher(void);
+void hidePatternEditor(void);
+void patternEditorExtended(void);
+void exitPatternEditorExtended(void);
+void clearPattMark(void);
+void checkMarkLimits(void);
+void handlePatternDataMouseDown(bool mouseButtonHeld);
+void togglePatternEditorExtended(void);
+void rowOneUpWrap(void);
+void rowOneDownWrap(void);
+void rowUp(uint16_t amount);
+void rowDown(uint16_t amount);
+void keybPattMarkUp(void);
+void keybPattMarkDown(void);
+void keybPattMarkLeft(void);
+void keybPattMarkRight(void);
+void drawTranspose(void);
+void showTranspose(void);
+void hideTranspose(void);
+void toggleTranspose(void);
+bool loadTrack(UNICHAR *filenameU);
+bool saveTrack(UNICHAR *filenameU);
+bool loadPattern(UNICHAR *filenameU);
+bool savePattern(UNICHAR *filenameU);
+void scrollChannelLeft(void);
+void scrollChannelRight(void);
+void setChannelScrollPos(uint32_t pos);
+void jumpToChannel(uint8_t channel); // for ALT+q..i ALT+a..k
+void sbPosEdPos(uint32_t pos);
+void pbPosEdPosUp(void);
+void pbPosEdPosDown(void);
+void pbPosEdIns(void);
+void pbPosEdDel(void);
+void pbPosEdPattUp(void);
+void pbPosEdPattDown(void);
+void pbPosEdLenUp(void);
+void pbPosEdLenDown(void);
+void pbPosEdRepSUp(void);
+void pbPosEdRepSDown(void);
+void pbBPMUp(void);
+void pbBPMDown(void);
+void pbSpeedUp(void);
+void pbSpeedDown(void);
+void pbIncAdd(void);
+void pbDecAdd(void);
+void pbAddChan(void);
+void pbSubChan(void);
+void pbEditPattUp(void);
+void pbEditPattDown(void);
+void pbPattLenUp(void);
+void pbPattLenDown(void);
+void drawPosEdNums(int16_t songPos);
+void drawSongLength(void);
+void drawSongRepS(void);
+void drawSongBPM(uint16_t val);
+void drawSongSpeed(uint16_t val);
+void drawEditPattern(uint16_t editPattern);
+void drawPatternLength(uint16_t editPattern);
+void drawGlobalVol(int16_t globalVol);
+void drawIDAdd(void);
+void drawPlaybackTime(void);
+void drawSongName(void);
+void showInstrumentSwitcher(void);
+void hideInstrumentSwitcher(void);
+void changeLogoType(uint8_t logoType);
+void changeBadgeType(uint8_t badgeType);
+void resetChannelOffset(void);
+void shrinkPattern(void);
+void expandPattern(void);
+void pbSwapInstrBank(void);
+void pbSetInstrBank1(void);
+void pbSetInstrBank2(void);
+void pbSetInstrBank3(void);
+void pbSetInstrBank4(void);
+void pbSetInstrBank5(void);
+void pbSetInstrBank6(void);
+void pbSetInstrBank7(void);
+void pbSetInstrBank8(void);
+void pbSetInstrBank9(void);
+void pbSetInstrBank10(void);
+void pbSetInstrBank11(void);
+void pbSetInstrBank12(void);
+void pbSetInstrBank13(void);
+void pbSetInstrBank14(void);
+void pbSetInstrBank15(void);
+void pbSetInstrBank16(void);
+void setNewInstr(int16_t ins);
+void sampleListScrollUp(void);
+void sampleListScrollDown(void);
+void pbZap(void);
+void sbSmpBankPos(uint32_t pos);
+void pbToggleLogo(void);
+void pbToggleBadge(void);
--- /dev/null
+++ b/src/ft2_pushbuttons.c
@@ -1,0 +1,632 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_about.h"
+#include "ft2_video.h"
+#include "ft2_config.h"
+#include "ft2_audioselector.h"
+#include "ft2_audio.h"
+#include "ft2_help.h"
+#include "ft2_sample_ed.h"
+#include "ft2_nibbles.h"
+#include "ft2_inst_ed.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_sample_loader.h"
+#include "ft2_diskop.h"
+#include "ft2_wav_renderer.h"
+#include "ft2_trim.h"
+#include "ft2_sampling.h"
+#include "ft2_module_loader.h"
+#include "ft2_midi.h"
+#include "ft2_midi.h"
+#include "ft2_mouse.h"
+#include "ft2_edit.h"
+#include "ft2_sample_ed_features.h"
+#include "ft2_palette.h"
+
+pushButton_t pushButtons[NUM_PUSHBUTTONS] =
+{
+	// ------ RESERVED PUSHBUTTONS ------
+	{ 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 }, { 0 },
+
+	/*
+	** -- STRUCT INFO: --
+	**  x          = x position
+	**  y          = y position
+	**  w          = width
+	**  h          = height
+	**  p (0,1,2)  = button delay after the first trigger (f.ex. used on scrollbar buttons)
+	**                0 = no delay, 1 = normal delay, 2 = two-phase delay
+	**  d          = function call repeat delay while button is being held down (number of frames)
+	**  text #1    = text line #1
+	**  text #2    = text line #2 (if present, it will be rendered below text #1)
+	**  funcOnDown = function to call when pressed
+	**  funcOnUp   = function to call when released
+	*/
+
+	// ------ POSITION EDITOR PUSHBUTTONS ------
+	//x,  y,  w,  h,  p, d, text #1,           text #2, funcOnDown,      funcOnUp
+	{ 55,  2, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbPosEdPosDown,  NULL },
+	{ 55, 36, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbPosEdPosUp,    NULL },
+	{ 74,  2, 35, 16, 1, 6, "Ins.",            NULL,    pbPosEdIns,      NULL },
+	{ 74, 19, 18, 13, 1, 6, ARROW_UP_STRING,   NULL,    pbPosEdPattUp,   NULL },
+	{ 91, 19, 18, 13, 1, 6, ARROW_DOWN_STRING, NULL,    pbPosEdPattDown, NULL },
+	{ 74, 33, 35, 16, 1, 6, "Del.",            NULL,    pbPosEdDel,      NULL },
+	{ 74, 50, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbPosEdLenUp,    NULL },
+	{ 91, 50, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbPosEdLenDown,  NULL },
+	{ 74, 62, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbPosEdRepSUp,   NULL },
+	{ 91, 62, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbPosEdRepSDown, NULL },
+
+	// ------ SONG/PATTERN PUSHBUTTONS ------
+	//x,   y,  w,  h,  p, d, text #1,           text #2, funcOnDown,     funcOnUp
+	{ 168, 34, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbBPMUp,        NULL },
+	{ 185, 34, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbBPMDown,      NULL },
+	{ 168, 48, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbSpeedUp,      NULL },
+	{ 185, 48, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbSpeedDown,    NULL },
+	{ 168, 62, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbIncAdd,       NULL },
+	{ 185, 62, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbDecAdd,       NULL },
+	{ 253, 34, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbEditPattUp,   NULL },
+	{ 270, 34, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbEditPattDown, NULL },
+	{ 253, 48, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbPattLenUp,    NULL },
+	{ 270, 48, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbPattLenDown,  NULL },
+	{ 209, 62, 40, 13, 0, 0, "Expd.",           NULL,    NULL,           expandPattern },
+	{ 248, 62, 40, 13, 0, 0, "Srnk.",           NULL,    NULL,           shrinkPattern },
+
+	// ------ LOGO PUSHBUTTON ------
+	//x,   y, w,   h,  p, d, text #1, text #2, funcOnDown, funcOnUp
+	{ 112, 0, 154, 32, 0, 0, NULL,    NULL,    NULL,       pbToggleLogo  },
+	{ 266, 0,  25, 32, 0, 0, NULL,    NULL,    NULL,       pbToggleBadge },
+
+	// ------ MAIN SCREEN PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,      text #2, funcOnDown, funcOnUp
+	{ 294,   2, 59, 16, 0, 0, "About",      NULL,    NULL,       showAboutScreen },
+	{ 294,  19, 59, 16, 0, 0, "Nibbles",    NULL,    NULL,       pbNibbles },
+	{ 294,  36, 59, 16, 0, 0, "Zap",        NULL,    NULL,       pbZap },
+	{ 294,  53, 59, 16, 0, 0, "Trim",       NULL,    NULL,       toggleTrimScreen },
+	{ 294,  70, 59, 16, 0, 0, "Extend",     NULL,    NULL,       patternEditorExtended },
+	{ 294,  87, 59, 16, 0, 0, "Transps.",   NULL,    NULL,       toggleTranspose },
+	{ 294, 104, 59, 16, 0, 0, "I.E.Ext.",   NULL,    NULL,       toggleInstEditorExt },
+	{ 294, 121, 59, 16, 0, 0, "S.E.Ext.",   NULL,    NULL,       toggleSampleEditorExt },
+	{ 294, 138, 59, 16, 0, 0, "Adv. Edit",  NULL,    NULL,       toggleAdvEdit },
+	{ 294, 155, 30, 16, 0, 0, "Add",        NULL,    NULL,       pbAddChan },
+	{ 323, 155, 30, 16, 0, 0, "Sub",        NULL,    NULL,       pbSubChan },
+	{ 359,   2, 59, 16, 0, 0, "Play sng.",  NULL,    NULL,       pbPlaySong },
+	{ 359,  19, 59, 16, 0, 0, "Play ptn.",  NULL,    NULL,       pbPlayPtn },
+	{ 359,  36, 59, 16, 0, 0, "Stop",       NULL,    NULL,       stopPlaying },
+	{ 359,  53, 59, 16, 0, 0, "Rec. sng.",  NULL,    NULL,       pbRecSng },
+	{ 359,  70, 59, 16, 0, 0, "Rec. ptn.",  NULL,    NULL,       pbRecPtn },
+	{ 359,  87, 59, 16, 0, 0, "Disk op.",   NULL,    NULL,       toggleDiskOpScreen },
+	{ 359, 104, 59, 16, 0, 0, "Instr. Ed.", NULL,    NULL,       toggleInstEditor },
+	{ 359, 121, 59, 16, 0, 0, "Smp. Ed.",   NULL,    NULL,       toggleSampleEditor },
+	{ 359, 138, 59, 16, 0, 0, "Config",     NULL,    NULL,       showConfigScreen },
+	{ 359, 155, 59, 16, 0, 0, "Help",       NULL,    NULL,       showHelpScreen },
+	{ 115,  35, 46, 16, 0, 0, "Exit",       NULL,    NULL,       exitPatternEditorExtended },
+
+	// ------ INSTRUMENT SWITCHER PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,           text #2, funcOnDown,           funcOnUp
+	{ 590,   2, 39, 16, 0, 0, "01-08",           NULL,    NULL,                 pbSetInstrBank1 },
+	{ 590,  19, 39, 16, 0, 0, "09-10",           NULL,    NULL,                 pbSetInstrBank2 },
+	{ 590,  36, 39, 16, 0, 0, "11-18",           NULL,    NULL,                 pbSetInstrBank3 },
+	{ 590,  53, 39, 16, 0, 0, "19-20",           NULL,    NULL,                 pbSetInstrBank4 },
+	{ 590,  73, 39, 16, 0, 0, "21-28",           NULL,    NULL,                 pbSetInstrBank5 },
+	{ 590,  90, 39, 16, 0, 0, "29-30",           NULL,    NULL,                 pbSetInstrBank6 },
+	{ 590, 107, 39, 16, 0, 0, "31-38",           NULL,    NULL,                 pbSetInstrBank7 },
+	{ 590, 124, 39, 16, 0, 0, "39-40",           NULL,    NULL,                 pbSetInstrBank8 },
+	{ 590,   2, 39, 16, 0, 0, "41-48",           NULL,    NULL,                 pbSetInstrBank9 },
+	{ 590,  19, 39, 16, 0, 0, "49-50",           NULL,    NULL,                 pbSetInstrBank10 },
+	{ 590,  36, 39, 16, 0, 0, "51-58",           NULL,    NULL,                 pbSetInstrBank11 },
+	{ 590,  53, 39, 16, 0, 0, "59-60",           NULL,    NULL,                 pbSetInstrBank12 },
+	{ 590,  73, 39, 16, 0, 0, "61-68",           NULL,    NULL,                 pbSetInstrBank13,},
+	{ 590,  90, 39, 16, 0, 0, "69-70",           NULL,    NULL,                 pbSetInstrBank14 },
+	{ 590, 107, 39, 16, 0, 0, "71-78",           NULL,    NULL,                 pbSetInstrBank15 },
+	{ 590, 124, 39, 16, 0, 0, "79-80",           NULL,    NULL,                 pbSetInstrBank16 },
+	{ 590, 144, 39, 27, 0, 0, "Swap",            "bank",  NULL,                 pbSwapInstrBank },
+	{ 566,  99, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    sampleListScrollUp,   NULL },
+	{ 566, 140, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    sampleListScrollDown, NULL },
+
+	// ------ NIBBLES SCREEN PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1, text #2, funcOnDown, funcOnUp
+	{ 568, 104, 61, 16, 0, 0, "Play",  NULL,    NULL,       nibblesPlay },
+	{ 568, 121, 61, 16, 0, 0, "Help",  NULL,    NULL,       nibblesHelp  },
+	{ 568, 138, 61, 16, 0, 0, "Highs", NULL,    NULL,       nibblesHighScore },
+	{ 568, 155, 61, 16, 0, 0, "Exit",  NULL,    NULL,       nibblesExit },
+
+	// ------ ADVANCED EDIT PUSHBUTTONS ------
+	//x,  y,   w,  h,  p, d, text #1,   text #2, funcOnDown, funcOnUp
+	{  3, 138, 51, 16, 0, 0, "Track",   NULL,    NULL,       remapTrack },
+	{ 55, 138, 52, 16, 0, 0, "Pattern", NULL,    NULL,       remapPattern },
+	{  3, 155, 51, 16, 0, 0, "Song",    NULL,    NULL,       remapSong },
+	{ 55, 155, 52, 16, 0, 0, "Block",   NULL,    NULL,       remapBlock },
+	  
+	// ------ ABOUT SCREEN PUSHBUTTONS ------
+	//x, y,   w,  h,  p, d, text #1, text #2, funcOnDown, funcOnUp
+	{ 5, 153, 59, 16, 0, 0, "Exit",  NULL,    NULL,       exitAboutScreen },
+
+	// ------ HELP SCREEN PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,           text #2, funcOnDown,     funcOnUp
+	{   3, 155, 59, 16, 0, 0, "Exit",            NULL,    NULL,           exitHelpScreen },
+	{ 611,   2, 18, 13, 0, 0, ARROW_UP_STRING,   NULL,    helpScrollUp,   NULL },
+	{ 611, 158, 18, 13, 0, 0, ARROW_DOWN_STRING, NULL,    helpScrollDown, NULL },
+
+	// ------ PATTERN EDITOR PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,            text #2, funcOnDown,         funcOnUp
+	{   3, 385, 25, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    scrollChannelLeft,  NULL },
+	{ 604, 385, 25, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    scrollChannelRight, NULL },
+
+	// ------ TRANSPOSE PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,text #2, funcOnDown, funcOnUp
+	{  56, 110, 21, 16, 0, 0, "up",   NULL,    NULL,       trackTranspCurInsUp },
+	{  76, 110, 21, 16, 0, 0, "dn",   NULL,    NULL,       trackTranspCurInsDn },
+	{  98, 110, 36, 16, 0, 0, "12up", NULL,    NULL,       trackTranspCurIns12Up },
+	{ 133, 110, 36, 16, 0, 0, "12dn", NULL,    NULL,       trackTranspCurIns12Dn },
+	{ 175, 110, 21, 16, 0, 0, "up",   NULL,    NULL,       trackTranspAllInsUp },
+	{ 195, 110, 21, 16, 0, 0, "dn",   NULL,    NULL,       trackTranspAllInsDn },
+	{ 217, 110, 36, 16, 0, 0, "12up", NULL,    NULL,       trackTranspAllIns12Up },
+	{ 252, 110, 36, 16, 0, 0, "12dn", NULL,    NULL,       trackTranspAllIns12Dn },
+	{  56, 125, 21, 16, 0, 0, "up",   NULL,    NULL,       pattTranspCurInsUp },
+	{  76, 125, 21, 16, 0, 0, "dn",   NULL,    NULL,       pattTranspCurInsDn },
+	{  98, 125, 36, 16, 0, 0, "12up", NULL,    NULL,       pattTranspCurIns12Up },
+	{ 133, 125, 36, 16, 0, 0, "12dn", NULL,    NULL,       pattTranspCurIns12Dn },
+	{ 175, 125, 21, 16, 0, 0, "up",   NULL,    NULL,       pattTranspAllInsUp },
+	{ 195, 125, 21, 16, 0, 0, "dn",   NULL,    NULL,       pattTranspAllInsDn },
+	{ 217, 125, 36, 16, 0, 0, "12up", NULL,    NULL,       pattTranspAllIns12Up },
+	{ 252, 125, 36, 16, 0, 0, "12dn", NULL,    NULL,       pattTranspAllIns12Dn },
+	{  56, 140, 21, 16, 0, 0, "up",   NULL,    NULL,       songTranspCurInsUp },
+	{  76, 140, 21, 16, 0, 0, "dn",   NULL,    NULL,       songTranspCurInsDn },
+	{  98, 140, 36, 16, 0, 0, "12up", NULL,    NULL,       songTranspCurIns12Up },
+	{ 133, 140, 36, 16, 0, 0, "12dn", NULL,    NULL,       songTranspCurIns12Dn },
+	{ 175, 140, 21, 16, 0, 0, "up",   NULL,    NULL,       songTranspAllInsUp },
+	{ 195, 140, 21, 16, 0, 0, "dn",   NULL,    NULL,       songTranspAllInsDn },
+	{ 217, 140, 36, 16, 0, 0, "12up", NULL,    NULL,       songTranspAllIns12Up },
+	{ 252, 140, 36, 16, 0, 0, "12dn", NULL,    NULL,       songTranspAllIns12Dn },
+	{  56, 155, 21, 16, 0, 0, "up",   NULL,    NULL,       blockTranspCurInsUp },
+	{  76, 155, 21, 16, 0, 0, "dn",   NULL,    NULL,       blockTranspCurInsDn },
+	{  98, 155, 36, 16, 0, 0, "12up", NULL,    NULL,       blockTranspCurIns12Up },
+	{ 133, 155, 36, 16, 0, 0, "12dn", NULL,    NULL,       blockTranspCurIns12Dn },
+	{ 175, 155, 21, 16, 0, 0, "up",   NULL,    NULL,       blockTranspAllInsUp },
+	{ 195, 155, 21, 16, 0, 0, "dn",   NULL,    NULL,       blockTranspAllInsDn },
+	{ 217, 155, 36, 16, 0, 0, "12up", NULL,    NULL,       blockTranspAllIns12Up },
+	{ 252, 155, 36, 16, 0, 0, "12dn", NULL,    NULL,       blockTranspAllIns12Dn },
+
+	// ------ SAMPLE EDITOR PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,            text #2, funcOnDown,            funcOnUp
+	{   3, 331, 23, 13, 0, 0, ARROW_LEFT_STRING,  NULL,    scrollSampleDataLeft,  NULL },
+	{ 606, 331, 23, 13, 0, 0, ARROW_RIGHT_STRING, NULL,    scrollSampleDataRight, NULL },
+	{  38, 356, 18, 13, 1, 4, ARROW_UP_STRING,    NULL,    sampPlayNoteUp,        NULL },
+	{  38, 368, 18, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    sampPlayNoteDown,      NULL },
+	{   3, 382, 53, 16, 0, 0, "Stop",             NULL,    NULL,                  smpEdStop},
+	{  57, 348, 55, 16, 0, 0, "Wave",             NULL,    NULL,                  sampPlayWave },
+	{  57, 365, 55, 16, 0, 0, "Range",            NULL,    NULL,                  sampPlayRange },
+	{  57, 382, 55, 16, 0, 0, "Display",          NULL,    NULL,                  sampPlayDisplay },
+	{ 118, 348, 63, 16, 0, 0, "Show r.",          NULL,    NULL,                  showRange },
+	{ 118, 365, 63, 16, 0, 0, "Range all",        NULL,    NULL,                  rangeAll },
+	{ 118, 382, 63, 16, 0, 0, "Sample",           NULL,    NULL,                  startSampling },
+	{ 182, 348, 63, 16, 0, 0, "Zoom out",         NULL,    NULL,                  zoomOut },
+	{ 182, 365, 63, 16, 0, 0, "Show all",         NULL,    NULL,                  showAll },
+	{ 182, 382, 63, 16, 0, 0, "Save rng.",        NULL,    NULL,                  saveRange },
+	{ 251, 348, 43, 16, 0, 0, "Cut",              NULL,    NULL,                  sampCut },
+	{ 251, 365, 43, 16, 0, 0, "Copy",             NULL,    NULL,                  sampCopy },
+	{ 251, 382, 43, 16, 0, 0, "Paste",            NULL,    NULL,                  sampPaste },
+	{ 300, 348, 50, 16, 0, 0, "Crop",             NULL,    NULL,                  sampCrop },
+	{ 300, 365, 50, 16, 0, 0, "Volume",           NULL,    NULL,                  pbSampleVolume },
+	{ 300, 382, 50, 16, 0, 0, "X-Fade",           NULL,    NULL,                  sampXFade },
+	{ 430, 348, 54, 16, 0, 0, "Exit",             NULL,    NULL,                  exitSampleEditor },
+	{ 594, 348, 35, 13, 0, 0, "Clr S.",           NULL,    NULL,                  clearSample },
+	{ 594, 360, 35, 13, 0, 0, "Min.",             NULL,    NULL,                  sampMin },
+	{ 594, 373, 18, 13, 2, 4, ARROW_UP_STRING,    NULL,    sampRepeatUp,          NULL },
+	{ 611, 373, 18, 13, 2, 4, ARROW_DOWN_STRING,  NULL,    sampRepeatDown,        NULL },
+	{ 594, 385, 18, 13, 2, 4, ARROW_UP_STRING,    NULL,    sampReplenUp,          NULL },
+	{ 611, 385, 18, 13, 2, 4, ARROW_DOWN_STRING,  NULL,    sampReplenDown,        NULL },
+
+	// ------ SAMPLE EDITOR EXTENSION PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,     text #2, funcOnDown, funcOnUp
+	{   3, 138, 52, 16, 0, 0, "Clr. c.bf", NULL,    NULL,       clearCopyBuffer },
+	{  56, 138, 49, 16, 0, 0, "Conv",      NULL,    NULL,       sampleConv },
+	{ 106, 138, 49, 16, 0, 0, "Echo",      NULL,    NULL,       pbSampleEcho },
+	{   3, 155, 52, 16, 0, 0, "Backw.",    NULL,    NULL,       sampleBackwards },
+	{  56, 155, 49, 16, 0, 0, "Conv W",    NULL,    NULL,       sampleConvW },
+	{ 106, 155, 49, 16, 0, 0, "Fix DC",    NULL,    NULL,       fixDC },
+	{ 161, 121, 60, 16, 0, 0, "Copy ins.", NULL,    NULL,       copyInstr },
+	{ 222, 121, 66, 16, 0, 0, "Copy smp.", NULL,    NULL,       copySmp },
+	{ 161, 138, 60, 16, 0, 0, "Xchg ins.", NULL,    NULL,       xchgInstr },
+	{ 222, 138, 66, 16, 0, 0, "Xchg smp.", NULL,    NULL,       xchgSmp },
+	{ 161, 155, 60, 16, 0, 0, "Resample",  NULL,    NULL,       pbSampleResample },
+	{ 222, 155, 66, 16, 0, 0, "Mix smp.",  NULL,    NULL,       pbSampleMix },
+
+	// ------ INSTRUMENT EDITOR PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,            text #2, funcOnDown,     funcOnUp
+	{ 200, 175, 23, 12, 0, 0, SMALL_1_STRING,     NULL,    NULL,           volPreDef1 },
+	{ 222, 175, 24, 12, 0, 0, SMALL_2_STRING,     NULL,    NULL,           volPreDef2 },
+	{ 245, 175, 24, 12, 0, 0, SMALL_3_STRING,     NULL,    NULL,           volPreDef3 },
+	{ 268, 175, 24, 12, 0, 0, SMALL_4_STRING,     NULL,    NULL,           volPreDef4 },
+	{ 291, 175, 24, 12, 0, 0, SMALL_5_STRING,     NULL,    NULL,           volPreDef5 },
+	{ 314, 175, 24, 12, 0, 0, SMALL_6_STRING,     NULL,    NULL,           volPreDef6 },
+	{ 200, 262, 23, 12, 0, 0, SMALL_1_STRING,     NULL,    NULL,           panPreDef1 },
+	{ 222, 262, 24, 12, 0, 0, SMALL_2_STRING,     NULL,    NULL,           panPreDef2 },
+	{ 245, 262, 24, 12, 0, 0, SMALL_3_STRING,     NULL,    NULL,           panPreDef3 },
+	{ 268, 262, 24, 12, 0, 0, SMALL_4_STRING,     NULL,    NULL,           panPreDef4 },
+	{ 291, 262, 24, 12, 0, 0, SMALL_5_STRING,     NULL,    NULL,           panPreDef5 },
+	{ 314, 262, 24, 12, 0, 0, SMALL_6_STRING,     NULL,    NULL,           panPreDef6 },
+	{ 570, 276, 59, 16, 0, 0, "Exit",             NULL,    NULL,           exitInstEditor },
+	{ 341, 175, 47, 16, 1, 4, "Add",              NULL,    volEnvAdd,      NULL },
+	{ 389, 175, 46, 16, 1, 4, "Del",              NULL,    volEnvDel,      NULL },
+	{ 398, 204, 19, 13, 1, 4, ARROW_UP_STRING,    NULL,    volEnvSusUp,    NULL },
+	{ 416, 204, 19, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    volEnvSusDown,  NULL },
+	{ 398, 231, 19, 13, 1, 4, ARROW_UP_STRING,    NULL,    volEnvRepSUp,   NULL },
+	{ 416, 231, 19, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    volEnvRepSDown, NULL },
+	{ 398, 245, 19, 13, 1, 4, ARROW_UP_STRING,    NULL,    volEnvRepEUp,   NULL },
+	{ 416, 245, 19, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    volEnvRepEDown, NULL },
+	{ 341, 262, 47, 16, 1, 4, "Add",              NULL,    panEnvAdd,      NULL },
+	{ 389, 262, 46, 16, 1, 4, "Del",              NULL,    panEnvDel,      NULL },
+	{ 398, 291, 19, 13, 1, 4, ARROW_UP_STRING,    NULL,    panEnvSusUp,    NULL },
+	{ 416, 291, 19, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    panEnvSusDown,  NULL },
+	{ 398, 318, 19, 13, 1, 4, ARROW_UP_STRING,    NULL,    panEnvRepSUp,   NULL },
+	{ 416, 318, 19, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    panEnvRepSDown, NULL },
+	{ 398, 332, 19, 13, 1, 4, ARROW_UP_STRING,    NULL,    panEnvRepEUp,   NULL },
+	{ 416, 332, 19, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    panEnvRepEDown, NULL },
+	{ 521, 175, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    volDown,        NULL },
+	{ 606, 175, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    volUp,          NULL },
+	{ 521, 189, 23, 13, 2, 4, ARROW_LEFT_STRING,  NULL,    panDown,        NULL },
+	{ 606, 189, 23, 13, 2, 4, ARROW_RIGHT_STRING, NULL,    panUp,          NULL },
+	{ 521, 203, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    ftuneDown,      NULL },
+	{ 606, 203, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    ftuneUp,        NULL },
+	{ 521, 220, 23, 13, 2, 4, ARROW_LEFT_STRING,  NULL,    fadeoutDown,    NULL },
+	{ 606, 220, 23, 13, 2, 4, ARROW_RIGHT_STRING, NULL,    fadeoutUp,      NULL },
+	{ 521, 234, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    vibSpeedDown,   NULL },
+	{ 606, 234, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    vibSpeedUp,     NULL },
+	{ 521, 248, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    vibDepthDown,   NULL },
+	{ 606, 248, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    vibDepthUp,     NULL },
+	{ 521, 262, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    vibSweepDown,   NULL },
+	{ 606, 262, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    vibSweepUp,     NULL },
+	{ 441, 312, 94, 16, 1, 4, "Octave up",        NULL,    relToneOctUp,   NULL },
+	{ 536, 312, 93, 16, 1, 4, "Halftone up",      NULL,    relToneUp,      NULL },
+	{ 441, 329, 94, 16, 1, 4, "Octave down",      NULL,    relToneOctDown, NULL },
+	{ 536, 329, 93, 16, 1, 4, "Halftone down",    NULL,    relToneDown,    NULL },
+
+	// ------ INSTRUMENT EDITOR EXTENSION PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,            text #2, funcOnDown,   funcOnUp
+	{ 172, 130, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    midiChDown,   NULL },
+	{ 265, 130, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    midiChUp,     NULL },
+	{ 172, 144, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    midiPrgDown,  NULL },
+	{ 265, 144, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    midiPrgUp,    NULL },
+	{ 172, 158, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    midiBendDown, NULL },
+	{ 265, 158, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    midiBendUp,   NULL },
+
+	// ------ TRIM SCREEN PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,     text #2, funcOnDown, funcOnUp
+	{ 139, 155, 74, 16, 0, 0, "Calculate", NULL,    NULL,       pbTrimCalc },
+	{ 214, 155, 74, 16, 0, 0, "Trim",      NULL,    NULL,       pbTrimDoTrim },
+
+	// ------ CONFIG LEFT PANEL PUSHBUTTONS ------
+	//x, y,   w,   h,  p, d, text #1,         text #2, funcOnDown, funcOnUp
+	{ 3, 104, 104, 16, 0, 0, "Reset config",  NULL,    NULL,       resetConfig },
+	{ 3, 121, 104, 16, 0, 0, "Load config",   NULL,    NULL,       loadConfig2 },
+	{ 3, 138, 104, 16, 0, 0, "Save config",   NULL,    NULL,       saveConfig2 },
+	{ 3, 155, 104, 16, 0, 0, "Exit",          NULL,    NULL,       exitConfigScreen },
+
+	// ------ CONFIG AUDIO PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,            text #2, funcOnDown,                 funcOnUp
+	{ 326,   2, 57, 13, 0, 0, "Re-scan",          NULL,    NULL,                       rescanAudioDevices },
+	{ 365,  16, 18, 13, 1, 4, ARROW_UP_STRING,    NULL,    scrollAudOutputDevListUp,   NULL },
+	{ 365,  72, 18, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    scrollAudOutputDevListDown, NULL },
+	{ 365, 103, 18, 13, 1, 4, ARROW_UP_STRING,    NULL,    scrollAudInputDevListUp,    NULL },
+	{ 365, 137, 18, 13, 1, 4, ARROW_DOWN_STRING,  NULL,    scrollAudInputDevListDown,  NULL },
+	{ 508, 132, 21, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    configAmpDown,              NULL },
+	{ 608, 132, 21, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    configAmpUp,                NULL },
+	{ 508, 158, 21, 13, 1, 0, ARROW_LEFT_STRING,  NULL,    configMasterVolDown,        NULL },
+	{ 608, 158, 21, 13, 1, 0, ARROW_RIGHT_STRING, NULL,    configMasterVolUp,          NULL },
+
+	// ------ CONFIG LAYOUT PUSHBUTTONS ------
+	//x,   y,  w,  h,  p, d, text #1,            text #2, funcOnDown,        funcOnUp
+	{ 513, 15, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    configPalRDown,    NULL },
+	{ 606, 15, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    configPalRUp,      NULL },
+	{ 513, 29, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    configPalGDown,    NULL },
+	{ 606, 29, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    configPalGUp,      NULL },
+	{ 513, 43, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    configPalBDown,    NULL },
+	{ 606, 43, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    configPalBUp,      NULL },
+	{ 513, 71, 23, 13, 1, 4, ARROW_LEFT_STRING,  NULL,    configPalContDown, NULL },
+	{ 606, 71, 23, 13, 1, 4, ARROW_RIGHT_STRING, NULL,    configPalContUp,   NULL },
+
+	// ------ CONFIG MISCELLANEOUS PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,                         text #2, funcOnDown,          funcOnUp
+	{ 113, 155, 93, 16, 0, 0, editor.ui.fullscreenButtonText, NULL,    NULL,                toggleFullScreen },
+	{ 370, 121, 18, 13, 1, 4, ARROW_UP_STRING,                NULL,    configQuantizeUp,    NULL },
+	{ 387, 121, 18, 13, 1, 4, ARROW_DOWN_STRING,              NULL,    configQuantizeDown,  NULL },
+	{ 594, 107, 18, 13, 1, 4, ARROW_UP_STRING,                NULL,    configMIDIChnUp,     NULL },
+	{ 611, 107, 18, 13, 1, 4, ARROW_DOWN_STRING,              NULL,    configMIDIChnDown,   NULL },
+	{ 594, 121, 18, 13, 1, 4, ARROW_UP_STRING,                NULL,    configMIDITransUp,   NULL },
+	{ 611, 121, 18, 13, 1, 4, ARROW_DOWN_STRING,              NULL,    configMIDITransDown, NULL },
+	{ 556, 158, 22, 13, 1, 4, ARROW_LEFT_STRING,              NULL,    configMIDISensDown,  NULL },
+	{ 607, 158, 22, 13, 1, 4, ARROW_RIGHT_STRING,             NULL,    configMIDISensUp,    NULL },
+
+	// ------ CONFIG MIDI PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,           text #2, funcOnDown,                 funcOnUp
+	{ 483,   2, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    scrollMidiInputDevListUp,   NULL },
+	{ 483, 158, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    scrollMidiInputDevListDown, NULL },
+
+	// ------ DISK OP. PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,           text #2, funcOnDown,       funcOnUp
+	{  70,   2, 58, 16, 0, 0, "Save",            NULL,    NULL,             pbDiskOpSave },
+	{  70,  19, 58, 16, 0, 0, "Delete",          NULL,    NULL,             pbDiskOpDelete },
+	{  70,  36, 58, 16, 0, 0, "Rename",          NULL,    NULL,             pbDiskOpRename },
+	{  70,  53, 58, 16, 0, 0, "Make dir",        NULL,    NULL,             pbDiskOpMakeDir },
+	{  70,  70, 58, 16, 0, 0, "Refresh",         NULL,    NULL,             pbDiskOpRefresh },
+	{  70,  87, 58, 16, 0, 0, "Set path",        NULL,    NULL,             pbDiskOpSetPath },
+	{  70, 104, 58, 16, 0, 0, "Show all",        NULL,    NULL,             pbDiskOpShowAll },
+	{  70, 121, 58, 19, 0, 0, "Exit",            NULL,    NULL,             pbDiskOpExit },
+#ifdef _WIN32
+	{ 134,   2, 31, 13, 0, 0, ".\001",           NULL,    NULL,             pbDiskOpParent },
+	{ 134,  16, 31, 12, 0, 0, "\\",              NULL,    NULL,             pbDiskOpRoot },
+	{ 134,  29, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive1 },
+	{ 134,  43, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive2 },
+	{ 134,  57, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive3 },
+	{ 134,  71, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive4 },
+	{ 134,  85, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive5 },
+	{ 134,  99, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive6 },
+	{ 134, 113, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive7 },
+	{ 134, 127, 31, 13, 0, 0, NULL,              NULL,    NULL,             pbDiskOpDrive8 },
+#else
+	{ 134,   2, 31, 13, 0, 0, "../",             NULL,    NULL,             pbDiskOpParent },
+	{ 134,  16, 31, 12, 0, 0, "/",               NULL,    NULL,             pbDiskOpRoot },
+#endif
+	{ 335,   2, 18, 13, 0, 0, ARROW_UP_STRING,   NULL,    pbDiskOpListUp,   NULL },
+	{ 335, 158, 18, 13, 0, 0, ARROW_DOWN_STRING, NULL,    pbDiskOpListDown, NULL },
+
+	// ------ WAV RENDERER PUSHBUTTONS ------
+	//x,   y,   w,  h,  p, d, text #1,           text #2, funcOnDown,         funcOnUp
+	{   3, 111, 73, 43, 0, 0, "RECORD",          NULL,    NULL,               pbWavRender },
+	{   3, 155, 73, 16, 0, 0, "Exit",            NULL,    NULL,               pbWavExit },
+	{ 253, 114, 18, 13, 1, 6, ARROW_UP_STRING,   NULL,    pbWavFreqUp,        NULL },
+	{ 270, 114, 18, 13, 1, 6, ARROW_DOWN_STRING, NULL,    pbWavFreqDown,      NULL },
+	{ 253, 128, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbWavAmpUp,         NULL },
+	{ 270, 128, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbWavAmpDown,       NULL },
+	{ 253, 142, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbWavSongStartUp,   NULL },
+	{ 270, 142, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbWavSongStartDown, NULL },
+	{ 253, 156, 18, 13, 1, 4, ARROW_UP_STRING,   NULL,    pbWavSongEndUp,     NULL },
+	{ 270, 156, 18, 13, 1, 4, ARROW_DOWN_STRING, NULL,    pbWavSongEndDown,   NULL }
+};
+
+static uint32_t tmpCounter;
+
+void drawPushButton(uint16_t pushButtonID)
+{
+	uint8_t state;
+	uint16_t x, y, w, h, textX, textY, textW;
+	pushButton_t *b;
+
+	assert(pushButtonID < NUM_PUSHBUTTONS);
+
+	b = &pushButtons[pushButtonID];
+	if (!b->visible)
+		return;
+
+	state = b->state;
+
+	x = b->x;
+	y = b->y;
+	w = b->w;
+	h = b->h;
+
+	assert(x < SCREEN_W && y < SCREEN_H && w >= 4 && h >= 4);
+
+	if (b->bitmapFlag)
+	{
+		blitFast(x, y, (state == PUSHBUTTON_UNPRESSED) ? b->bitmapUnpressed : b->bitmapPressed, w, h);
+		return;
+	}
+
+	// fill button background
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// draw outer border
+	hLine(x,         y,         w, PAL_BCKGRND);
+	hLine(x,         y + h - 1, w, PAL_BCKGRND);
+	vLine(x,         y,         h, PAL_BCKGRND);
+	vLine(x + w - 1, y,         h, PAL_BCKGRND);
+
+	//draw inner borders
+	if (state == PUSHBUTTON_UNPRESSED)
+	{
+		// top left corner inner border
+		hLine(x + 1, y + 1, w - 3, PAL_BUTTON1);
+		vLine(x + 1, y + 2, h - 4, PAL_BUTTON1);
+
+		// bottom right corner inner border
+		hLine(x + 1 - 0, y + h - 2, w - 2, PAL_BUTTON2);
+		vLine(x + w - 2, y + 1 - 0, h - 3, PAL_BUTTON2);
+	}
+	else
+	{
+		// top left corner inner border
+		hLine(x + 1, y + 1, w - 2, PAL_BUTTON2);
+		vLine(x + 1, y + 2, h - 3, PAL_BUTTON2);
+	}
+
+	// render button text(s)
+	if (b->caption != NULL && *b->caption != '\0')
+	{
+		// button text #2
+		if (b->caption2 != NULL && *b->caption2 != '\0')
+		{
+			textW = textWidth(b->caption2);
+			textX = x + ((w - textW) / 2);
+			textY = y + 6 + ((h - (FONT1_CHAR_H - 2)) / 2);
+
+			if (state == PUSHBUTTON_PRESSED)
+				textOut(textX + 1, textY + 1, PAL_BTNTEXT, b->caption2);
+			else
+				textOut(textX, textY, PAL_BTNTEXT, b->caption2);
+
+			y -= 5; // if two text lines, bias y position of first (upper) text
+		}
+
+		// button text #1
+		textW = textWidth(b->caption);
+		textX = x + ((w - textW) / 2);
+		textY = y + ((h - (FONT1_CHAR_H - 2)) / 2);
+
+		if (state == PUSHBUTTON_PRESSED)
+			textOut(textX + 1, textY + 1, PAL_BTNTEXT, b->caption);
+		else
+			textOut(textX, textY, PAL_BTNTEXT, b->caption);
+	}
+}
+
+void showPushButton(uint16_t pushButtonID)
+{
+	assert(pushButtonID < NUM_PUSHBUTTONS);
+	pushButtons[pushButtonID].visible = true;
+	drawPushButton(pushButtonID);
+}
+
+void hidePushButton(uint16_t pushButtonID)
+{
+	assert(pushButtonID < NUM_PUSHBUTTONS);
+	pushButtons[pushButtonID].state = 0;
+	pushButtons[pushButtonID].visible = false;
+}
+
+void handlePushButtonsWhileMouseDown(void)
+{
+	int8_t buttonDelay;
+	pushButton_t *pushButton;
+
+	assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_PUSHBUTTONS);
+	pushButton = &pushButtons[mouse.lastUsedObjectID];
+	if (!pushButton->visible)
+		return;
+
+	pushButton->state = PUSHBUTTON_UNPRESSED;
+	if (mouse.x >= pushButton->x && mouse.x < pushButton->x+pushButton->w &&
+        mouse.y >= pushButton->y && mouse.y < pushButton->y+pushButton->h)
+	{
+		pushButton->state = PUSHBUTTON_PRESSED;
+	}
+
+	if (mouse.lastX != mouse.x || mouse.lastY != mouse.y)
+	{
+		mouse.lastX = mouse.x;
+		mouse.lastY = mouse.y;
+
+		drawPushButton(mouse.lastUsedObjectID);
+	}
+
+	// long delay before repeat
+	if (pushButton->preDelay && mouse.firstTimePressingButton)
+	{
+		tmpCounter = 0;
+
+		if (++mouse.buttonCounter >= BUTTON_DOWN_DELAY)
+		{
+			mouse.buttonCounter = 0;
+			mouse.firstTimePressingButton = false;
+		}
+		else
+		{
+			return; // we're delaying
+		}
+	}
+
+	if (pushButton->state == PUSHBUTTON_PRESSED)
+	{
+		// button delay stuff
+		if (mouse.rightButtonPressed)
+			buttonDelay = pushButton->delayFrames / 2;
+		else if (pushButton->preDelay == 2 && (!mouse.firstTimePressingButton && ++tmpCounter >= 20)) // special mode
+			buttonDelay = 0;
+		else 
+			buttonDelay = pushButton->delayFrames;
+
+		// main repeat delay
+		if (++mouse.buttonCounter >= buttonDelay)
+		{
+			mouse.buttonCounter = 0;
+			if (pushButton->callbackFuncOnDown != NULL)
+			    pushButton->callbackFuncOnDown();
+		}
+	}
+}
+
+bool testPushButtonMouseDown(void)
+{
+	uint16_t start, end;
+	pushButton_t *pushButton;
+
+	if (editor.ui.sysReqShown)
+	{
+		// if a system request is open, only test the first eight pushbuttons (reserved)
+		start = 0;
+		end = 8;
+	}
+	else
+	{
+		start = 8;
+		end = NUM_PUSHBUTTONS;
+	}
+
+	for (uint16_t i = start; i < end; i++)
+	{
+		pushButton = &pushButtons[i];
+		if (!pushButton->visible)
+			continue;
+
+		if (mouse.x >= pushButton->x && mouse.x < pushButton->x+pushButton->w &&
+		    mouse.y >= pushButton->y && mouse.y < pushButton->y+pushButton->h)
+		{
+			mouse.lastUsedObjectID = i;
+			mouse.lastUsedObjectType = OBJECT_PUSHBUTTON;
+
+			if (!mouse.rightButtonPressed)
+			{
+				mouse.firstTimePressingButton = true;
+				mouse.buttonCounter = 0;
+
+				pushButton->state = PUSHBUTTON_PRESSED;
+				drawPushButton(i);
+
+				if (pushButton->callbackFuncOnDown != NULL)
+					pushButton->callbackFuncOnDown();
+			}
+
+			return true;
+		}
+	}
+
+	return false;
+}
+
+int16_t testPushButtonMouseRelease(bool runCallback)
+{
+	pushButton_t *pushButton;
+
+	if (mouse.lastUsedObjectType != OBJECT_PUSHBUTTON || mouse.lastUsedObjectID == OBJECT_ID_NONE)
+		return -1;
+
+	assert(mouse.lastUsedObjectID < NUM_PUSHBUTTONS);
+	pushButton = &pushButtons[mouse.lastUsedObjectID];
+	if (!pushButton->visible)
+		return -1;
+
+	if (mouse.x >= pushButton->x && mouse.x < pushButton->x+pushButton->w &&
+		mouse.y >= pushButton->y && mouse.y < pushButton->y+pushButton->h)
+	{
+		pushButton->state = PUSHBUTTON_UNPRESSED;
+		drawPushButton(mouse.lastUsedObjectID);
+
+		if (runCallback)
+		{
+			if (pushButton->callbackFuncOnUp != NULL)
+				pushButton->callbackFuncOnUp();
+		}
+
+		return mouse.lastUsedObjectID;
+	}
+
+	return -1;
+}
--- /dev/null
+++ b/src/ft2_pushbuttons.h
@@ -1,0 +1,379 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+enum // PUSHBUTTONS
+{
+	// reserved
+	PB_RES_1,
+	PB_RES_2,
+	PB_RES_3,
+	PB_RES_4,
+	PB_RES_5,
+	PB_RES_6,
+	PB_RES_7,
+	PB_RES_8,
+
+	// POSITION EDITOR
+	PB_POSED_POS_UP,
+	PB_POSED_POS_DOWN,
+	PB_POSED_INS,
+	PB_POSED_PATT_UP,
+	PB_POSED_PATT_DOWN,
+	PB_POSED_DEL,
+	PB_POSED_LEN_UP,
+	PB_POSED_LEN_DOWN,
+	PB_POSED_REP_UP,
+	PB_POSED_REP_DOWN,
+
+	// SONG/PATTERN
+	PB_BPM_UP,
+	PB_BPM_DOWN,
+	PB_SPEED_UP,
+	PB_SPEED_DOWN,
+	PB_EDITADD_UP,
+	PB_EDITADD_DOWN,
+	PB_PATT_UP,
+	PB_PATT_DOWN,
+	PB_PATTLEN_UP,
+	PB_PATTLEN_DOWN,
+	PB_PATT_EXPAND,
+	PB_PATT_SHRINK,
+
+	// LOGO
+	PB_LOGO,
+	PB_BADGE,
+
+	// MAIN MENU
+	PB_ABOUT,
+	PB_NIBBLES,
+	PB_KILL,
+	PB_TRIM,
+	PB_EXTEND_VIEW,
+	PB_TRANSPOSE,
+	PB_INST_ED_EXT,
+	PB_SMP_ED_EXT,
+	PB_ADV_EDIT,
+	PB_ADD_CHANNELS,
+	PB_SUB_CHANNELS,
+	PB_PLAY_SONG,
+	PB_PLAY_PATT,
+	PB_STOP,
+	PB_RECORD_SONG,
+	PB_RECORD_PATT,
+	PB_DISK_OP,
+	PB_INST_ED,
+	PB_SMP_ED,
+	PB_CONFIG,
+	PB_HELP,
+	PB_EXIT_EXT_PATT,
+
+	// INSTRUMENT SWITCHER
+	PB_RANGE1,
+	PB_RANGE2,
+	PB_RANGE3,
+	PB_RANGE4,
+	PB_RANGE5,
+	PB_RANGE6,
+	PB_RANGE7,
+	PB_RANGE8,
+	PB_RANGE9,
+	PB_RANGE10,
+	PB_RANGE11,
+	PB_RANGE12,
+	PB_RANGE13,
+	PB_RANGE14,
+	PB_RANGE15,
+	PB_RANGE16,
+	PB_SWAP_BANK,
+	PB_SAMPLE_LIST_UP,
+	PB_SAMPLE_LIST_DOWN,
+
+	// NIBBLES SCREEN
+	PB_NIBBLES_PLAY,
+	PB_NIBBLES_HELP,
+	PB_NIBBLES_HIGHS,
+	PB_NIBBLES_EXIT,
+
+	// ADVANCED EDIT
+	PB_REMAP_TRACK,
+	PB_REMAP_PATTERN,
+	PB_REMAP_SONG,
+	PB_REMAP_BLOCK,
+
+	// ABOUT SCREEN
+	PB_EXIT_ABOUT,
+
+	// HELP SCREEN
+	PB_HELP_EXIT,
+	PB_HELP_SCROLL_UP,
+	PB_HELP_SCROLL_DOWN,
+
+	// PATTERN EDITOR
+	PB_CHAN_SCROLL_LEFT,
+	PB_CHAN_SCROLL_RIGHT,
+
+	// TRANSPOSE
+	PB_TRANSP_CUR_INS_TRK_UP,
+	PB_TRANSP_CUR_INS_TRK_DN,
+	PB_TRANSP_CUR_INS_TRK_12UP,
+	PB_TRANSP_CUR_INS_TRK_12DN,
+	PB_TRANSP_ALL_INS_TRK_UP,
+	PB_TRANSP_ALL_INS_TR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_SAMP_PASTE,
+	PB_SAMP_CROP,
+	PB_SAMP_VOLUME,
+	PB_SAMP_XFADE,
+	PB_SAMP_EXIT,
+	PB_SAMP_CLEAR,
+	PB_SAMP_MIN,
+	PB_SAMP_REPEAT_UP,
+	PB_SAMP_REPEAT_DOWN,
+	PB_SAMP_REPLEN_UP,
+	PB_SAMP_REPLEN_DOWN,
+
+	// SAMPLE EDITOR EXTENSION
+	PB_SAMP_EXT_CLEAR_COPYBUF,
+	PB_SAMP_EXT_CONV,
+	PB_SAMP_EXT_ECHO,
+	PB_SAMP_EXT_BACKWARDS,
+	PB_SAMP_EXT_CONV_W,
+	PB_SAMP_EXT_MORPH,
+	PB_SAMP_EXT_COPY_INS,
+	PB_SAMP_EXT_COPY_SMP,
+	PB_SAMP_EXT_XCHG_INS,
+	PB_SAMP_EXT_XCHG_SMP,
+	PB_SAMP_EXT_RESAMPLE,
+	PB_SAMP_EXT_MIX_SAMPLE,
+
+	// INSTRUMENT EDITOR
+	PB_INST_VDEF1,
+	PB_INST_VDEF2,
+	PB_INST_VDEF3,
+	PB_INST_VDEF4,
+	PB_INST_VDEF5,
+	PB_INST_VDEF6,
+	PB_INST_PDEF1,
+	PB_INST_PDEF2,
+	PB_INST_PDEF3,
+	PB_INST_PDEF4,
+	PB_INST_PDEF5,
+	PB_INST_PDEF6,
+	PB_INST_VP_ADD,
+	PB_INST_VP_DEL,
+	PB_INST_VS_UP,
+	PB_INST_VS_DOWN,
+	PB_INST_VREPS_UP,
+	PB_INST_VREPS_DOWN,
+	PB_INST_VREPE_UP,
+	PB_INST_VREPE_DOWN,
+	PB_INST_PP_ADD,
+	PB_INST_PP_DEL,
+	PB_INST_PS_UP,
+	PB_INST_PS_DOWN,
+	PB_INST_PREPS_UP,
+	PB_INST_PREPS_DOWN,
+	PB_INST_PREPE_UP,
+	PB_INST_PREPE_DOWN,
+	PB_INST_VOL_DOWN,
+	PB_INST_VOL_UP,
+	PB_INST_PAN_DOWN,
+	PB_INST_PAN_UP,
+	PB_INST_FTUNE_DOWN,
+	PB_INST_FTUNE_UP,
+	PB_INST_FADEOUT_DOWN,
+	PB_INST_FADEOUT_UP,
+	PB_INST_VIBSPEED_DOWN,
+	PB_INST_VIBSPEED_UP,
+	PB_INST_VIBDEPTH_DOWN,
+	PB_INST_VIBDEPTH_UP,
+	PB_INST_VIBSWEEP_DOWN,
+	PB_INST_VIBSWEEP_UP,
+	PB_INST_EXIT,
+	PB_INST_OCT_UP,
+	PB_INST_HALFTONE_UP,
+	PB_INST_OCT_DOWN,
+	PB_INST_HALFTONE_DOWN,
+
+	// INSTRUMENT EDITOR EXTENSION
+	PB_INST_EXT_MIDI_CH_DOWN,
+	PB_INST_EXT_MIDI_CH_UP,
+	PB_INST_EXT_MIDI_PRG_DOWN,
+	PB_INST_EXT_MIDI_PRG_UP,
+	PB_INST_EXT_MIDI_BEND_DOWN,
+	PB_INST_EXT_MIDI_BEND_UP,
+
+	// TRIM SCREEN
+	PB_TRIM_CALC,
+	PB_TRIM_TRIM,
+
+	// CONFIG LEFT PANEL
+	PB_CONFIG_RESET,
+	PB_CONFIG_LOAD,
+	PB_CONFIG_SAVE,
+	PB_CONFIG_EXIT,
+
+	// CONFIG AUDIO
+	PB_CONFIG_AUDIO_RESCAN,
+	PB_CONFIG_AUDIO_OUTPUT_DOWN,
+	PB_CONFIG_AUDIO_OUTPUT_UP,
+	PB_CONFIG_AUDIO_INPUT_DOWN,
+	PB_CONFIG_AUDIO_INPUT_UP,
+	PB_CONFIG_AMP_DOWN,
+	PB_CONFIG_AMP_UP,
+	PB_CONFIG_MASTVOL_DOWN,
+	PB_CONFIG_MASTVOL_UP,
+
+	// CONFIG LAYOUT
+	PB_CONFIG_PAL_R_DOWN,
+	PB_CONFIG_PAL_R_UP,
+	PB_CONFIG_PAL_G_DOWN,
+	PB_CONFIG_PAL_G_UP,
+	PB_CONFIG_PAL_B_DOWN,
+	PB_CONFIG_PAL_B_UP,
+	PB_CONFIG_PAL_CONT_DOWN,
+	PB_CONFIG_PAL_CONT_UP,
+
+	// CONFIG MISCELLANEOUS
+	PB_CONFIG_TOGGLE_FULLSCREEN,
+	PB_CONFIG_QUANTIZE_UP,
+	PB_CONFIG_QUANTIZE_DOWN,
+	PB_CONFIG_MIDICHN_UP,
+	PB_CONFIG_MIDICHN_DOWN,
+	PB_CONFIG_MIDITRANS_UP,
+	PB_CONFIG_MIDITRANS_DOWN,
+	PB_CONFIG_MIDISENS_DOWN,
+	PB_CONFIG_MIDISENS_UP,
+
+	// CONFIG MIDI
+	PB_CONFIG_MIDI_INPUT_DOWN,
+	PB_CONFIG_MIDI_INPUT_UP,
+
+	// DISK OP.
+	PB_DISKOP_SAVE,
+	PB_DISKOP_DELETE,
+	PB_DISKOP_RENAME,
+	PB_DISKOP_MAKEDIR,
+	PB_DISKOP_REFRESH,
+	PB_DISKOP_SET_PATH,
+	PB_DISKOP_SHOW_ALL,
+	PB_DISKOP_EXIT,
+	PB_DISKOP_ROOT,
+	PB_DISKOP_PARENT,
+#ifdef _WIN32
+	PB_DISKOP_DRIVE1,
+	PB_DISKOP_DRIVE2,
+	PB_DISKOP_DRIVE3,
+	PB_DISKOP_DRIVE4,
+	PB_DISKOP_DRIVE5,
+	PB_DISKOP_DRIVE6,
+	PB_DISKOP_DRIVE7,
+	PB_DISKOP_DRIVE8,
+#endif
+	PB_DISKOP_LIST_UP,
+	PB_DISKOP_LIST_DOWN,
+
+	// WAV RENDERER
+	PB_WAV_RENDER,
+	PB_WAV_EXIT,
+	PB_WAV_FREQ_UP,
+	PB_WAV_FREQ_DOWN,
+	PB_WAV_AMP_UP,
+	PB_WAV_AMP_DOWN,
+	PB_WAV_START_UP,
+	PB_WAV_START_DOWN,
+	PB_WAV_END_UP,
+	PB_WAV_END_DOWN,
+
+	NUM_PUSHBUTTONS
+};
+
+enum
+{
+	PUSHBUTTON_UNPRESSED = 0,
+	PUSHBUTTON_PRESSED   = 1
+};
+
+#define RADIOBUTTON_W 11
+#define RADIOBUTTON_H 11
+#define RADIOBUTTON_STATES 3
+
+// amount of frames to wait
+#define BUTTON_DOWN_DELAY 8
+
+// font #1/#2 special characters (used for buttons)
+#define ARROW_UP_STRING "\x05"
+#define ARROW_DOWN_STRING "\x03"
+#define ARROW_LEFT_STRING "\x1E"
+#define ARROW_RIGHT_STRING "\x1F"
+#define SMALL_1_STRING "\x08"
+#define SMALL_2_STRING "\x09"
+#define SMALL_3_STRING "\x0A"
+#define SMALL_4_STRING "\x0B"
+#define SMALL_5_STRING "\x0C"
+#define SMALL_6_STRING "\x0D"
+
+typedef struct pushButton_t // DO NOT TOUCH!
+{
+	uint16_t x, y, w, h;
+	uint8_t preDelay, delayFrames;
+	char *caption, *caption2;
+	void (*callbackFuncOnDown)(void);
+	void (*callbackFuncOnUp)(void);
+	uint8_t state;
+	bool bitmapFlag, visible;
+	const uint8_t *bitmapUnpressed;
+	const uint8_t *bitmapPressed;
+} pushButton_t;
+
+void drawPushButton(uint16_t pushButtonID);
+void showPushButton(uint16_t pushButtonID);
+void hidePushButton(uint16_t pushButtonID);
+void handlePushButtonsWhileMouseDown(void);
+bool testPushButtonMouseDown(void);
+int16_t testPushButtonMouseRelease(bool runCallback);
--- /dev/null
+++ b/src/ft2_radiobuttons.c
@@ -1,0 +1,460 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_config.h"
+#include "ft2_help.h"
+#include "ft2_sample_ed.h"
+#include "ft2_nibbles.h"
+#include "ft2_inst_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_mouse.h"
+#include "ft2_wav_renderer.h"
+
+radioButton_t radioButtons[NUM_RADIOBUTTONS] =
+{
+	/*
+	** -- STRUCT INFO: --
+	**  x        = x position
+	**  y        = y position
+	**  w        = clickable width space, relative to x
+	**  group    = what group the radiobutton belongs to
+	**  funcOnUp = function to call when released
+	*/
+
+	// ------ HELP SCREEN RADIOBUTTONS ------
+	//x, y,   w,  group,         funcOnUp
+	{ 5, 16,  68, RB_GROUP_HELP, rbHelpFeatures },
+	{ 5, 31,  59, RB_GROUP_HELP, rbHelpEffects },
+	{ 5, 46,  70, RB_GROUP_HELP, rbHelpKeyboard },
+	{ 5, 61, 108, RB_GROUP_HELP, rbHelpHowToUseFT2 },
+	{ 5, 76, 100, RB_GROUP_HELP, rbHelpFAQ },
+	{ 5, 91,  85, RB_GROUP_HELP, rbHelpKnownBugs },
+
+	// ------ NIBBLES SCREEN RADIOBUTTONS ------
+	//x, y,   w,   group,                       funcOnUp
+	{  4, 105, 61, RB_GROUP_NIBBLES_PLAYERS,    nibblesSet1Player },
+	{  4, 119, 68, RB_GROUP_NIBBLES_PLAYERS,    nibblesSet2Players },
+	{ 79, 117, 55, RB_GROUP_NIBBLES_DIFFICULTY, nibblesSetNovice },
+	{ 79, 131, 63, RB_GROUP_NIBBLES_DIFFICULTY, nibblesSetAverage },
+	{ 79, 145, 34, RB_GROUP_NIBBLES_DIFFICULTY, nibblesSetPro },
+	{ 79, 159, 50, RB_GROUP_NIBBLES_DIFFICULTY, nibblesSetTriton },
+
+	// ------ SAMPLER SCREEN RADIOBUTTONS ------
+	//x,   y,   w,  group,                 funcOnUp
+	{ 357, 351, 58, RB_GROUP_SAMPLE_LOOP,  rbSampleNoLoop },
+	{ 357, 368, 62, RB_GROUP_SAMPLE_LOOP,  rbSampleForwardLoop },
+	{ 357, 385, 67, RB_GROUP_SAMPLE_LOOP,  rbSamplePingpongLoop },
+	{ 431, 368, 44, RB_GROUP_SAMPLE_DEPTH, rbSample8bit },
+	{ 431, 383, 50, RB_GROUP_SAMPLE_DEPTH, rbSample16bit },
+
+	// ------ INSTRUMENT EDITOR SCREEN RADIOBUTTONS ------
+	//x,   y,   w,  group,                  funcOnUp
+	{ 442, 279, 25, RB_GROUP_INST_WAVEFORM, rbVibWaveSine },
+	{ 472, 279, 25, RB_GROUP_INST_WAVEFORM, rbVibWaveSquare },
+	{ 502, 279, 25, RB_GROUP_INST_WAVEFORM, rbVibWaveRampDown },
+	{ 532, 279, 25, RB_GROUP_INST_WAVEFORM, rbVibWaveRampUp },
+
+	// ------ CONFIG SCREEN LEFT RADIOBUTTONS ------
+	//x, y,  w,  group,                  funcOnUp
+	{ 4, 19, 87, RB_GROUP_CONFIG_SELECT, rbConfigIODevices },
+	{ 4, 35, 59, RB_GROUP_CONFIG_SELECT, rbConfigLayout },
+	{ 4, 51, 99, RB_GROUP_CONFIG_SELECT, rbConfigMiscellaneous },
+	{ 4, 67, 74, RB_GROUP_CONFIG_SELECT, rbConfigMidiInput },
+
+	// ------ CONFIG AUDIO ------
+
+	// audio buffer size
+	//x,   y,   w,   group,                           funcOnUp
+	{ 390,  16,  46, RB_GROUP_CONFIG_SOUND_BUFF_SIZE, rbConfigSbs512  },
+	{ 390,  30, 113, RB_GROUP_CONFIG_SOUND_BUFF_SIZE, rbConfigSbs1024 },
+	{ 390,  44,  50, RB_GROUP_CONFIG_SOUND_BUFF_SIZE, rbConfigSbs2048 },
+
+	// audio bit depth
+	//x,   y,   w,   group,                           funcOnUp
+	{ 390,  89, 107, RB_GROUP_CONFIG_AUDIO_BIT_DEPTH, rbConfigAudio16bit },
+	{ 390, 103,  83, RB_GROUP_CONFIG_AUDIO_BIT_DEPTH, rbConfigAudio24bit },
+
+	// audio output frequency
+	//x,   y,   w,  group,                      funcOnUp
+#ifdef __APPLE__
+	{ 509, 16, 121, RB_GROUP_CONFIG_AUDIO_FREQ, rbConfigAudio44kHz },
+	{ 509, 30,  66, RB_GROUP_CONFIG_AUDIO_FREQ, rbConfigAudio48kHz },
+#else
+	{ 509, 16,  66, RB_GROUP_CONFIG_AUDIO_FREQ, rbConfigAudio44kHz },
+	{ 509, 30, 121, RB_GROUP_CONFIG_AUDIO_FREQ, rbConfigAudio48kHz },
+#endif
+	{ 509, 44,  66, RB_GROUP_CONFIG_AUDIO_FREQ, rbConfigAudio96kHz },
+
+	// audio input frequency
+	//x,   y,  w,   group,                            funcOnUp
+	{ 180, 156, 60, RB_GROUP_CONFIG_AUDIO_INPUT_FREQ, rbConfigAudioInput44kHz },
+	{ 251, 156, 60, RB_GROUP_CONFIG_AUDIO_INPUT_FREQ, rbConfigAudioInput48kHz },
+	{ 322, 156, 60, RB_GROUP_CONFIG_AUDIO_INPUT_FREQ, rbConfigAudioInput96kHz },
+
+	// frequency table
+	//x,   y,   w,   group,                      funcOnUp
+	{ 509,  89, 114, RB_GROUP_CONFIG_FREQ_TABLE, rbConfigFreqTableAmiga  },
+	{ 509, 103, 117, RB_GROUP_CONFIG_FREQ_TABLE, rbConfigFreqTableLinear },
+
+	// ------ CONFIG LAYOUT ------
+
+	// mouse shape
+	//x,   y,   w,  group,                 funcOnUp
+	{ 115, 120, 41, RB_GROUP_CONFIG_MOUSE, rbConfigMouseNice },
+	{ 178, 120, 41, RB_GROUP_CONFIG_MOUSE, rbConfigMouseUgly },
+	{ 115, 134, 47, RB_GROUP_CONFIG_MOUSE, rbConfigMouseAwful },
+	{ 178, 134, 55, RB_GROUP_CONFIG_MOUSE, rbConfigMouseUsable },
+
+	// mouse busy shape
+	//x,   y,   w,  group,                      funcOnUp
+	{ 115, 159, 51, RB_GROUP_CONFIG_MOUSE_BUSY, rbConfigMouseBusyVogue },
+	{ 178, 159, 45, RB_GROUP_CONFIG_MOUSE_BUSY, rbConfigMouseBusyMrH },
+
+	// scope style
+	//x,   y,   w,  group,                 funcOnUp
+	{ 305, 145, 37, RB_GROUP_CONFIG_SCOPE, rbConfigScopeStandard },
+	{ 346, 145, 46, RB_GROUP_CONFIG_SCOPE, rbConfigScopeLined },
+
+	// visible pattern channels
+	//x,   y,   w,  group,                        funcOnUp
+	{ 257, 42, 78, RB_GROUP_CONFIG_PATTERN_CHANS, rbConfigPatt4Chans },
+	{ 257, 56, 78, RB_GROUP_CONFIG_PATTERN_CHANS, rbConfigPatt6Chans },
+	{ 257, 70, 78, RB_GROUP_CONFIG_PATTERN_CHANS, rbConfigPatt8Chans },
+	{ 257, 84, 85, RB_GROUP_CONFIG_PATTERN_CHANS, rbConfigPatt12Chans },
+
+	// pattern font
+	//x,   y,   w,  group,                funcOnUp
+	{ 257, 114, 62, RB_GROUP_CONFIG_FONT, rbConfigFontCapitals },
+	{ 323, 114, 68, RB_GROUP_CONFIG_FONT, rbConfigFontLowerCase },
+	{ 257, 129, 54, RB_GROUP_CONFIG_FONT, rbConfigFontFuture },
+	{ 323, 129, 40, RB_GROUP_CONFIG_FONT, rbConfigFontBold },
+
+	// palette entries
+	//x,   y,  w,  group,                       funcOnUp
+	{ 399, 2,  88, RB_GROUP_CONFIG_PAL_ENTRIES, rbConfigPalPatternText },
+	{ 399, 16, 79, RB_GROUP_CONFIG_PAL_ENTRIES, rbConfigPalBlockMark },
+	{ 399, 30, 97, RB_GROUP_CONFIG_PAL_ENTRIES, rbConfigPalTextOnBlock },
+	{ 399, 44, 52, RB_GROUP_CONFIG_PAL_ENTRIES, rbConfigPalMouse },
+	{ 399, 58, 63, RB_GROUP_CONFIG_PAL_ENTRIES, rbConfigPalDesktop },
+	{ 399, 72, 61, RB_GROUP_CONFIG_PAL_ENTRIES, rbConfigPalButttons },
+
+	// palette presets
+	//x,   y,   w,   group,                      funcOnUp
+	{ 399,  89,  50, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalArctic },
+	{ 512,  89,  81, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalLitheDark },
+	{ 399, 103, 105, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalAuroraBorealis },
+	{ 512, 103,  45, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalRose },
+	{ 399, 117,  47, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalBlues },
+	{ 512, 117,  81, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalSpacePigs },
+	{ 399, 131,  40, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalGold },
+	{ 512, 131,  56, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalViolent },
+	{ 399, 145,  87, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalHeavyMetal },
+	{ 512, 145,  87, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalWhyColors },
+	{ 399, 159,  54, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalJungle },
+	{ 512, 159,  90, RB_GROUP_CONFIG_PAL_PRESET, rbConfigPalUserDefined },
+
+	// ------ CONFIG MISCELLANEOUS ------
+
+	// FILENAME SORTING
+	//x,   y,  w,  group,                    funcOnUp
+	{ 114, 15, 40, RB_GROUP_CONFIG_FILESORT, rbFileSortExt },
+	{ 114, 29, 48, RB_GROUP_CONFIG_FILESORT, rbFileSortName },
+
+	// WINDOW SIZE
+	//x,   y,  w,  group,                    funcOnUp
+	{ 114, 58, 60, RB_GROUP_CONFIG_WIN_SIZE, rbWinSizeAuto },
+	{ 114, 72, 31, RB_GROUP_CONFIG_WIN_SIZE, rbWinSize1x },
+	{ 156, 72, 31, RB_GROUP_CONFIG_WIN_SIZE, rbWinSize3x },
+	{ 114, 86, 31, RB_GROUP_CONFIG_WIN_SIZE, rbWinSize2x },
+	{ 156, 86, 31, RB_GROUP_CONFIG_WIN_SIZE, rbWinSize4x },
+
+	// ------ DISK OP. ------
+
+	// FILENAME SORTING
+	//x, y,  w,  group,                funcOnUp
+	{ 4, 16, 55, RB_GROUP_DISKOP_ITEM, rbDiskOpModule },
+	{ 4, 30, 45, RB_GROUP_DISKOP_ITEM, rbDiskOpInstr },
+	{ 4, 44, 56, RB_GROUP_DISKOP_ITEM, rbDiskOpSample },
+	{ 4, 58, 59, RB_GROUP_DISKOP_ITEM, rbDiskOpPattern },
+	{ 4, 72, 50, RB_GROUP_DISKOP_ITEM, rbDiskOpTrack },
+
+	// MODULE SAVE AS FORMATS
+	//x, y,  w,   group,                      funcOnUp
+	{ 4, 100, 40, RB_GROUP_DISKOP_MOD_SAVEAS, rbDiskOpModSaveMod },
+	{ 4, 114, 33, RB_GROUP_DISKOP_MOD_SAVEAS, rbDiskOpModSaveXm },
+	{ 4, 128, 40, RB_GROUP_DISKOP_MOD_SAVEAS, rbDiskOpModSaveWav },
+
+	// INSTRUMENT SAVE AS FORMATS
+	//x, y,   w,  group,                      funcOnUp
+	{ 4, 100, 29, RB_GROUP_DISKOP_INS_SAVEAS, NULL },
+
+	// SAMPLE SAVE AS FORMATS
+	//x, y,   w,  group,                      funcOnUp
+	{ 4, 100, 40, RB_GROUP_DISKOP_SMP_SAVEAS, rbDiskOpSmpSaveRaw },
+	{ 4, 114, 34, RB_GROUP_DISKOP_SMP_SAVEAS, rbDiskOpSmpSaveIff },
+	{ 4, 128, 40, RB_GROUP_DISKOP_SMP_SAVEAS, rbDiskOpSmpSaveWav },
+
+	// PATTERN SAVE AS FORMATS
+	//x, y,   w,  group,                      funcOnUp
+	{ 4, 100, 33, RB_GROUP_DISKOP_PAT_SAVEAS, NULL },
+
+	// TRACK SAVE AS FORMATS
+	//x, y,   w,  group,                      funcOnUp
+	{ 4, 100, 31, RB_GROUP_DISKOP_TRK_SAVEAS, NULL },
+
+	// WAV RENDERER BITDEPTH
+	//x,   y,  w,  group,                        funcOnUp
+	{ 140, 95, 52, RB_GROUP_WAV_RENDER_BITDEPTH, rbWavRenderBitDepth16 },
+	{ 205, 95, 83, RB_GROUP_WAV_RENDER_BITDEPTH, rbWavRenderBitDepth32 }
+};
+
+// defined at the bottom of this file
+extern const uint8_t radioButtonGraphics[3][RADIOBUTTON_W * RADIOBUTTON_H];
+
+void drawRadioButton(uint16_t radioButtonID)
+{
+	uint8_t state;
+	radioButton_t *radioButton;
+
+	assert(radioButtonID < NUM_RADIOBUTTONS);
+	radioButton = &radioButtons[radioButtonID];
+	if (!radioButton->visible)
+		return;
+
+	assert(radioButton->x < SCREEN_W && radioButton->y < SCREEN_H);
+
+	state = radioButton->state;
+	if (state <= RADIOBUTTON_STATES-1)
+		blitFast(radioButton->x, radioButton->y, radioButtonGraphics[state], RADIOBUTTON_W, RADIOBUTTON_H);
+}
+
+void showRadioButton(uint16_t radioButtonID)
+{
+	assert(radioButtonID < NUM_RADIOBUTTONS);
+	radioButtons[radioButtonID].visible = true;
+	drawRadioButton(radioButtonID);
+}
+
+void hideRadioButton(uint16_t radioButtonID)
+{
+	assert(radioButtonID < NUM_RADIOBUTTONS);
+	radioButtons[radioButtonID].state = 0;
+	radioButtons[radioButtonID].visible = false;
+}
+
+void checkRadioButton(uint16_t radioButtonID)
+{
+	radioButton_t *radioButton;
+
+	assert(radioButtonID < NUM_RADIOBUTTONS);
+	radioButton = &radioButtons[radioButtonID];
+
+	for (uint16_t i = 0; i < NUM_RADIOBUTTONS; i++)
+	{
+		if (radioButtons[i].group == radioButton->group && radioButtons[i].state == RADIOBUTTON_CHECKED)
+		{
+			radioButtons[i].state = RADIOBUTTON_UNCHECKED;
+			drawRadioButton(i);
+			break;
+		}
+	}
+
+	radioButtons[radioButtonID].state = RADIOBUTTON_CHECKED;
+	drawRadioButton(radioButtonID);
+}
+
+void uncheckRadioButtonGroup(uint16_t radioButtonGroup)
+{
+	for (uint16_t i = 0; i < NUM_RADIOBUTTONS; i++)
+	{
+		if (radioButtons[i].group == radioButtonGroup)
+			radioButtons[i].state = RADIOBUTTON_UNCHECKED;
+	}
+}
+
+void showRadioButtonGroup(uint16_t radioButtonGroup)
+{
+	for (uint16_t i = 0; i < NUM_RADIOBUTTONS; i++)
+	{
+		if (radioButtons[i].group == radioButtonGroup)
+			showRadioButton(i);
+	}
+}
+
+void hideRadioButtonGroup(uint16_t radioButtonGroup)
+{
+	for (uint16_t i = 0; i < NUM_RADIOBUTTONS; i++)
+	{
+		if (radioButtons[i].group == radioButtonGroup)
+			hideRadioButton(i);
+	}
+}
+
+void handleRadioButtonsWhileMouseDown(void)
+{
+	radioButton_t *radioButton;
+
+	assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_RADIOBUTTONS);
+	radioButton = &radioButtons[mouse.lastUsedObjectID];
+	if (!radioButton->visible || radioButton->state == RADIOBUTTON_CHECKED)
+		return;
+
+	radioButton->state = RADIOBUTTON_UNCHECKED;
+	if (mouse.x >= radioButton->x && mouse.x < radioButton->x+radioButton->clickAreaWidth &&
+	    mouse.y >= radioButton->y && mouse.y < radioButton->y+(RADIOBUTTON_H+1))
+	{
+		radioButton->state = RADIOBUTTON_PRESSED;
+	}
+
+	if (mouse.lastX != mouse.x || mouse.lastY != mouse.y)
+	{
+		mouse.lastX = mouse.x;
+		mouse.lastY = mouse.y;
+
+		drawRadioButton(mouse.lastUsedObjectID);
+	}
+}
+
+bool testRadioButtonMouseDown(void)
+{
+	radioButton_t *radioButton;
+
+	if (editor.ui.sysReqShown)
+		return false;
+
+	for (uint16_t i = 0; i < NUM_RADIOBUTTONS; i++)
+	{
+		radioButton = &radioButtons[i];
+		if (!radioButton->visible || radioButton->state == RADIOBUTTON_CHECKED)
+			continue;
+
+		if (mouse.x >= radioButton->x && mouse.x < radioButton->x+radioButton->clickAreaWidth &&
+		    mouse.y >= radioButton->y && mouse.y < radioButton->y+(RADIOBUTTON_H+1))
+		{
+			mouse.lastUsedObjectID = i;
+			mouse.lastUsedObjectType = OBJECT_RADIOBUTTON;
+			return true;
+		}
+	}
+
+	return false;
+}
+
+void testRadioButtonMouseRelease(void)
+{
+	radioButton_t *radioButton;
+
+	if (mouse.lastUsedObjectType != OBJECT_RADIOBUTTON || mouse.lastUsedObjectID == OBJECT_ID_NONE)
+		return;
+
+	assert(mouse.lastUsedObjectID < NUM_RADIOBUTTONS);
+	radioButton = &radioButtons[mouse.lastUsedObjectID];
+	if (!radioButton->visible || radioButton->state == RADIOBUTTON_CHECKED)
+		return;
+
+	if (mouse.x >= radioButton->x && mouse.x < radioButton->x+radioButton->clickAreaWidth && 
+	    mouse.y >= radioButton->y && mouse.y < radioButton->y+(RADIOBUTTON_H+1))
+	{
+		radioButton->state = RADIOBUTTON_UNCHECKED;
+		drawRadioButton(mouse.lastUsedObjectID);
+
+		if (radioButton->callbackFunc != NULL)
+			radioButton->callbackFunc();
+	}
+}
+
+const uint8_t radioButtonGraphics[3][RADIOBUTTON_W * RADIOBUTTON_H] =
+{
+	// unticked
+	{
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP1, PAL_DSKTOP2, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP, PAL_DSKTOP2, PAL_DSKTOP1,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DSKTOP2, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2, PAL_DSKTOP1, PAL_DESKTOP,
+		PAL_DSKTOP2, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_BCKGRND,
+		PAL_DSKTOP2, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_BCKGRND, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_BCKGRND,
+		PAL_DSKTOP2, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_BCKGRND,
+		PAL_DSKTOP2, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2, PAL_BCKGRND,
+		PAL_DSKTOP2, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DSKTOP2, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP
+	},
+
+	// ticked
+	{
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_BCKGRND, PAL_DSKTOP2,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_FORGRND, PAL_DESKTOP,
+		PAL_BCKGRND, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_FORGRND, PAL_FORGRND,
+		PAL_FORGRND, PAL_DESKTOP, PAL_BCKGRND, PAL_DSKTOP2, PAL_DESKTOP,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_FORGRND, PAL_FORGRND,
+		PAL_FORGRND, PAL_FORGRND, PAL_FORGRND, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP,
+		PAL_FORGRND, PAL_FORGRND, PAL_FORGRND, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_FORGRND, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP
+	},
+
+	// pressed
+	{
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_BCKGRND, PAL_DSKTOP2,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_BCKGRND, PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_BCKGRND, PAL_DSKTOP2, PAL_DESKTOP,
+		PAL_DSKTOP2, PAL_BCKGRND, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1,
+		PAL_DSKTOP2, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DSKTOP1, PAL_DSKTOP2, PAL_DESKTOP, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DSKTOP1, PAL_DSKTOP2,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DSKTOP1, PAL_DSKTOP1, PAL_DESKTOP, PAL_DESKTOP, PAL_DESKTOP,
+		PAL_DESKTOP
+	}
+};
--- /dev/null
+++ b/src/ft2_radiobuttons.h
@@ -1,0 +1,221 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+enum // RADIOBUTTONS
+{
+	// HELP
+	RB_HELP_FEATURES,
+	RB_HELP_EFFECTS,
+	RB_HELP_KEYBOARD,
+	RB_HELP_HOW_TO_USE_FT2,
+	RB_HELP_FAQ,
+	RB_HELP_KNOWN_BUGS,
+
+	// NIBBLES
+	RB_NIBBLES_1PLAYER,
+	RB_NIBBLES_2PLAYERS,
+	RB_NIBBLES_NOVICE,
+	RB_NIBBLES_AVERAGE,
+	RB_NIBBLES_PRO,
+	RB_NIBBLES_MANIAC,
+
+	// SAMPLER
+	RB_SAMPLE_NO_LOOP,
+	RB_SAMPLE_FORWARD_LOOP,
+	RB_SAMPLE_PINGPONG_LOOP,
+	RB_SAMPLE_8BIT,
+	RB_SAMPLE_16BIT,
+
+	// INSTRUMENT EDITOR
+	RB_INST_WAVE_SINE,
+	RB_INST_WAVE_SQUARE,
+	RB_INST_WAVE_RAMP_DOWN,
+	RB_INST_WAVE_RAMP_UP,
+
+	// CONFIG SELECT
+	RB_CONFIG_IO_DEVICES,
+	RB_CONFIG_LAYOUT,
+	RB_CONFIG_MISCELLANEOUS,
+	RB_CONFIG_MIDI_INPUT,
+
+	// CONFIG AUDIO
+
+	// SOUND BUFFER SIZE
+	RB_CONFIG_SBS_512,
+	RB_CONFIG_SBS_1024,
+	RB_CONFIG_SBS_2048,
+
+	// SOUND BIT DEPTH
+	RB_CONFIG_AUDIO_16BIT,
+	RB_CONFIG_AUDIO_24BIT,
+
+	// AUDIO FREQUENCY
+	RB_CONFIG_AUDIO_44KHZ,
+	RB_CONFIG_AUDIO_48KHZ,
+	RB_CONFIG_AUDIO_96KHZ,
+
+	// AUDIO INPUT FREQUENCY
+	RB_CONFIG_AUDIO_INPUT_44KHZ,
+	RB_CONFIG_AUDIO_INPUT_48KHZ,
+	RB_CONFIG_AUDIO_INPUT_96KHZ,
+
+	// FREQUENCY TABLE
+	RB_CONFIG_FREQ_AMIGA,
+	RB_CONFIG_FREQ_LINEAR,
+
+	// CONFIG LAYOUT
+
+	// MOUSE SHAPE
+	RB_CONFIG_MOUSE_NICE,
+	RB_CONFIG_MOUSE_UGLY,
+	RB_CONFIG_MOUSE_AWFUL,
+	RB_CONFIG_MOUSE_USABLE,
+
+	// MOUSE BUSY SHAPE
+	RB_CONFIG_MOUSE_BUSY_GLASS,
+	RB_CONFIG_MOUSE_BUSY_CLOCK,
+
+	// SCOPE STYLE
+	RB_CONFIG_SCOPE_NORMAL,
+	RB_CONFIG_SCOPE_LINED,
+
+	// PATTERN CHANNELS
+	RB_CONFIG_MAXCHAN_4,
+	RB_CONFIG_MAXCHAN_6,
+	RB_CONFIG_MAXCHAN_8,
+	RB_CONFIG_MAXCHAN_12,
+
+	// PATTERN FONT
+	RB_CONFIG_FONT_CAPITALS,
+	RB_CONFIG_FONT_LOWERCASE,
+	RB_CONFIG_FONT_FUTURE,
+	RB_CONFIG_FONT_BOLD,
+
+	// PALETTE ENTRIES
+	RB_CONFIG_PAL_PATTERNTEXT,
+	RB_CONFIG_PAL_BLOCKMARK,
+	RB_CONFIG_PAL_TEXTONBLOCK,
+	RB_CONFIG_PAL_MOUSE,
+	RB_CONFIG_PAL_DESKTOP,
+	RB_CONFIG_PAL_BUTTONS,
+
+	// PALETTE PRESETS
+	RB_CONFIG_PAL_ARCTIC,
+	RB_CONFIG_PAL_LITHE_DARK,
+	RB_CONFIG_PAL_AURORA_BOREALIS,
+	RB_CONFIG_PAL_ROSE,
+	RB_CONFIG_PAL_BLUES,
+	RB_CONFIG_PAL_SPACE_PIGS,
+	RB_CONFIG_PAL_GOLD,
+	RB_CONFIG_PAL_VIOLENT,
+	RB_CONFIG_PAL_HEAVY_METAL,
+	RB_CONFIG_PAL_WHY_COLORS,
+	RB_CONFIG_PAL_JUNGLE,
+	RB_CONFIG_PAL_USER_DEFINED,
+
+	// FILE SORTING
+	RB_CONFIG_FILESORT_EXT,
+	RB_CONFIG_FILESORT_NAME,
+
+	// WINDOW SIZE
+	RB_CONFIG_WIN_SIZE_AUTO,
+	RB_CONFIG_WIN_SIZE_1X,
+	RB_CONFIG_WIN_SIZE_3X,
+	RB_CONFIG_WIN_SIZE_2X,
+	RB_CONFIG_WIN_SIZE_4X,
+
+	// DISK OP
+	RB_DISKOP_MODULE,
+	RB_DISKOP_INSTR,
+	RB_DISKOP_SAMPLE,
+	RB_DISKOP_PATTERN,
+	RB_DISKOP_TRACK,
+
+	RB_DISKOP_MOD_SAVEAS_MOD,
+	RB_DISKOP_MOD_SAVEAS_XM,
+	RB_DISKOP_MOD_SAVEAS_WAV,
+	RB_DISKOP_INS_SAVEAS_XI,
+	RB_DISKOP_SMP_SAVEAS_RAW,
+	RB_DISKOP_SMP_SAVEAS_IFF,
+	RB_DISKOP_SMP_SAVEAS_WAV,
+	RB_DISKOP_PAT_SAVEAS_XP,
+	RB_DISKOP_TRK_SAVEAS_XT,
+
+	RB_WAV_RENDER_BITDEPTH16,
+	RB_WAV_RENDER_BITDEPTH32,
+
+	NUM_RADIOBUTTONS,
+
+	// groups (must be *after* NUM_RADIOBUTTONS)
+
+	RB_GROUP_HELP,
+
+	RB_GROUP_NIBBLES_PLAYERS,
+	RB_GROUP_NIBBLES_DIFFICULTY,
+
+	RB_GROUP_SAMPLE_LOOP,
+	RB_GROUP_SAMPLE_DEPTH,
+	RB_GROUP_INST_WAVEFORM,
+
+	RB_GROUP_CONFIG_SELECT,
+	RB_GROUP_CONFIG_SOUND_BUFF_SIZE,
+	RB_GROUP_CONFIG_AUDIO_BIT_DEPTH,
+	RB_GROUP_CONFIG_AUDIO_FREQ,
+	RB_GROUP_CONFIG_AUDIO_INPUT_FREQ,
+	RB_GROUP_CONFIG_FREQ_TABLE,
+
+	RB_GROUP_CONFIG_MOUSE,
+	RB_GROUP_CONFIG_MOUSE_BUSY,
+	RB_GROUP_CONFIG_SCOPE,
+	RB_GROUP_CONFIG_PATTERN_CHANS,
+	RB_GROUP_CONFIG_FONT,
+	RB_GROUP_CONFIG_PAL_ENTRIES,
+	RB_GROUP_CONFIG_PAL_PRESET,
+
+	RB_GROUP_CONFIG_FILESORT,
+	RB_GROUP_CONFIG_WIN_SIZE,
+
+	RB_GROUP_DISKOP_ITEM,
+
+	RB_GROUP_DISKOP_MOD_SAVEAS,
+	RB_GROUP_DISKOP_INS_SAVEAS,
+	RB_GROUP_DISKOP_SMP_SAVEAS,
+	RB_GROUP_DISKOP_PAT_SAVEAS,
+	RB_GROUP_DISKOP_TRK_SAVEAS,
+
+	RB_GROUP_WAV_RENDER_BITDEPTH,
+};
+
+enum
+{
+	RADIOBUTTON_UNCHECKED = 0,
+	RADIOBUTTON_CHECKED = 1,
+	RADIOBUTTON_PRESSED = 2
+};
+
+#define RADIOBUTTON_W 11
+#define RADIOBUTTON_H 11
+#define RADIOBUTTON_STATES 3
+
+typedef struct radioButton_t // DO NOT TOUCH!
+{
+	uint16_t x, y, clickAreaWidth;
+	uint16_t group;
+	void (*callbackFunc)(void);
+
+	uint8_t state;
+	bool visible;
+} radioButton_t;
+
+void drawRadioButton(uint16_t radioButtonID);
+void showRadioButton(uint16_t radioButtonID);
+void hideRadioButton(uint16_t radioButtonID);
+void checkRadioButton(uint16_t radioButtonID);
+void uncheckRadioButtonGroup(uint16_t radioButtonGroup);
+void showRadioButtonGroup(uint16_t radioButtonGroup);
+void hideRadioButtonGroup(uint16_t radioButtonGroup);
+void handleRadioButtonsWhileMouseDown(void);
+bool testRadioButtonMouseDown(void);
+void testRadioButtonMouseRelease(void);
--- /dev/null
+++ b/src/ft2_replayer.c
@@ -1,0 +1,3465 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdio.h>
+#include <math.h>
+#include "ft2_audio.h"
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_gui.h"
+#include "ft2_video.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_sample_ed.h"
+#include "ft2_inst_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_midi.h"
+#include "ft2_scopes.h"
+#include "ft2_mouse.h"
+#include "ft2_sample_loader.h"
+
+/* This is a *huge* mess, directly ported from the original FT2 code (and modified).
+** You will experience a lot of headaches if you dig into it...
+** If something looks to be wrong, it's probably right! */
+
+// TABLES AND VARIABLES
+
+// defined at the bottom of this file
+extern const int8_t vibSineTab[256];
+extern const uint8_t vibTab[32];
+extern const uint16_t amigaFinePeriod[12 * 8];
+extern const uint16_t amigaPeriod[12 * 8];
+
+static bool bxxOverflow;
+static int16_t *linearPeriods, *amigaPeriods, oldPeriod;
+static uint32_t *logTab, oldRate;
+static uint32_t frequenceDivFactor, frequenceMulFactor;
+static tonTyp nilPatternLine;
+
+// globally accessed
+
+int8_t playMode = 0;
+bool linearFrqTab = false, songPlaying = false, audioPaused = false, musicPaused = false;
+volatile bool replayerBusy = false;
+int16_t *note2Period = NULL, pattLens[MAX_PATTERNS];
+stmTyp stm[MAX_VOICES];
+songTyp song;
+instrTyp *instr[132];
+tonTyp *patt[MAX_PATTERNS];
+
+// CODE START
+
+void fixSongName(void) // removes spaces from right side of song name
+{
+	for (int16_t i = 20; i >= 0; i--)
+	{
+		if (song.name[i] == ' ')
+			song.name[i] = '\0';
+		else
+			break;
+	}
+}
+
+void fixSampleName(int16_t nr) // removes spaces from right side of ins/smp names
+{
+	int16_t i, j;
+	sampleTyp *s;
+
+	for (i = 21; i >= 0; i--)
+	{
+		if (song.instrName[nr][i] == ' ')
+			song.instrName[nr][i] = '\0';
+		else
+			break;
+	}
+
+	if (instr[nr] != NULL)
+	{
+		for (i = 0; i < MAX_SMP_PER_INST; i++)
+		{
+			s = &instr[nr]->samp[i];
+			for (j = 21; j >= 0; j--)
+			{
+				if (s->name[j] == ' ')
+					s->name[j] = '\0';
+				else
+					break;
+			}
+			s->name[22] = '\0'; // just in case (for tracker, not present in sample header when saving)
+		}
+	}
+}
+
+void resetChannels(void)
+{
+	bool audioWasntLocked;
+	stmTyp *ch;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	memset(stm, 0, sizeof (stm));
+	for (uint8_t i = 0; i < MAX_VOICES; i++)
+	{
+		ch = &stm[i];
+
+		ch->instrSeg = instr[0];
+		ch->status = IS_Vol;
+		ch->oldPan = 128;
+		ch->outPan = 128;
+		ch->finalPan = 128;
+	}
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void setSongModifiedFlag(void)
+{
+	song.isModified = true;
+	editor.updateWindowTitle = true;
+}
+
+void removeSongModifiedFlag(void)
+{
+	song.isModified = false;
+	editor.updateWindowTitle = true;
+}
+
+void tuneSample(sampleTyp *s, uint32_t midCFreq)
+{
+	int32_t linearFreq, relativeNote;
+
+	if (midCFreq == 0)
+	{
+		s->fine = 0;
+		s->relTon = 0;
+	}
+	else
+	{
+		linearFreq = (int32_t)round(log(midCFreq / 8363.0) * ((12.0 * 128.0) / M_LN2));
+		s->fine = ((linearFreq + 128) & 255) - 128;
+
+		relativeNote = (int32_t)round((linearFreq - s->fine) / 128.0);
+		s->relTon = (int8_t)relativeNote;
+	}
+}
+
+bool setPatternLen(uint16_t nr, int16_t len)
+{
+	bool audioWasntLocked;
+	tonTyp *newPtr;
+
+	assert(nr < MAX_PATTERNS);
+
+	len = CLAMP(len, 1, MAX_PATT_LEN);
+	if (len == pattLens[nr])
+		return true;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (patt[nr] == NULL)
+	{
+		pattLens[nr] = len;
+
+		if (editor.editPattern == song.pattNr)
+			song.pattLen = pattLens[nr];
+
+		if (song.pattPos >= pattLens[nr])
+			song.pattPos = pattLens[nr] - 1;
+
+		editor.pattPos = song.pattPos;
+
+		checkMarkLimits();
+
+		if (audioWasntLocked)
+			unlockAudio();
+
+		editor.ui.updatePatternEditor = true;
+		editor.ui.updatePosSections = true;
+
+		return true;
+	}
+
+	newPtr = (tonTyp *)realloc(patt[nr], len * TRACK_WIDTH);
+	if (newPtr == NULL)
+	{
+		okBox(0, "Status message", "Not enough memory!");
+
+		if (audioWasntLocked)
+			unlockAudio();
+
+		return false;
+	}
+
+	patt[nr] = newPtr;
+
+	// if we enlarged the pattern length, wipe the new data
+	if (len >= pattLens[nr])
+	{
+		if (len > pattLens[nr])
+			memset(&patt[nr][pattLens[nr] * MAX_VOICES], 0, (len - pattLens[nr]) * TRACK_WIDTH);
+
+		pattLens[nr] = len;
+	}
+	else
+	{
+		pattLens[nr] = len;
+		killPatternIfUnused(nr);
+	}
+
+	if (editor.editPattern == song.pattNr)
+		song.pattLen = pattLens[nr];
+
+	if (song.pattPos >= pattLens[nr])
+		song.pattPos = pattLens[nr] - 1;
+
+	editor.pattPos = song.pattPos;
+
+	checkMarkLimits();
+
+	if (audioWasntLocked)
+		unlockAudio();
+
+	editor.ui.updatePatternEditor = true;
+	editor.ui.updatePosSections = true;
+
+	return true;
+}
+
+int16_t getUsedSamples(int16_t nr)
+{
+	int16_t i, j;
+	instrTyp *ins;
+
+	if (instr[nr] == NULL)
+		return 0;
+
+	ins = instr[nr];
+
+	i = 16 - 1;
+	while (i >= 0 && ins->samp[i].pek == NULL && ins->samp[i].name[0] == '\0')
+		i--;
+
+	/* Yes, 'i' can be -1 here, and will be set to at least 0
+	** because of ins->ta values. Possibly an FT2 bug... */
+	for (j = 0; j < 96; j++)
+	{
+		if (ins->ta[j] > i)
+			i = ins->ta[j];
+	}
+
+	return i+1;
+}
+
+int16_t getRealUsedSamples(int16_t nr)
+{
+	int8_t i;
+
+	if (instr[nr] == NULL)
+		return 0;
+
+	i = 16 - 1;
+	while (i >= 0 && instr[nr]->samp[i].pek == NULL)
+		i--;
+
+	return i+1;
+}
+
+void setFrqTab(bool linear)
+{
+	linearFrqTab = linear;
+
+	if (linearFrqTab)
+	{
+		audio.linearFreqTable = true;
+		note2Period = linearPeriods;
+	}
+	else
+	{
+		audio.linearFreqTable = false;
+		note2Period = amigaPeriods;
+	}
+
+	// update frequency type radiobutton if it's shown
+	if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
+		setConfigIORadioButtonStates();
+}
+
+static void retrigVolume(stmTyp *ch)
+{
+	ch->realVol = ch->oldVol;
+	ch->outVol = ch->oldVol;
+	ch->outPan = ch->oldPan;
+	ch->status |= (IS_Vol + IS_Pan + IS_QuickVol);
+}
+
+static void retrigEnvelopeVibrato(stmTyp *ch)
+{
+	instrTyp *ins;
+
+	if (!(ch->waveCtrl & 0x04)) ch->vibPos  = 0;
+	if (!(ch->waveCtrl & 0x40)) ch->tremPos = 0;
+
+	ch->retrigCnt = 0;
+	ch->tremorPos = 0;
+
+	ch->envSustainActive = true;
+
+	ins = ch->instrSeg;
+	assert(ins != NULL);
+
+	if (ins->envVTyp & 1)
+	{
+		ch->envVCnt = 65535;
+		ch->envVPos = 0;
+	}
+
+	if (ins->envPTyp & 1)
+	{
+		ch->envPCnt = 65535;
+		ch->envPPos = 0;
+	}
+
+	ch->fadeOutSpeed = ins->fadeOut; // FT2 doesn't check if fadeout is more than 4095
+	ch->fadeOutAmp = 32768;
+
+	if (ins->vibDepth > 0)
+	{
+		ch->eVibPos = 0;
+
+		if (ins->vibSweep > 0)
+		{
+			ch->eVibAmp = 0;
+			ch->eVibSweep = (ins->vibDepth << 8) / ins->vibSweep;
+		}
+		else
+		{
+			ch->eVibAmp = ins->vibDepth << 8;
+			ch->eVibSweep = 0;
+		}
+	}
+}
+
+void keyOff(stmTyp *ch)
+{
+	instrTyp *ins;
+
+	ch->envSustainActive = false;
+
+	ins = ch->instrSeg;
+	assert(ins != NULL);
+
+	if (!(ins->envPTyp & 1)) // yes, FT2 does this (!)
+	{
+		if (ch->envPCnt >= ins->envPP[ch->envPPos][0])
+			ch->envPCnt = ins->envPP[ch->envPPos][0] - 1;
+	}
+
+	if (ins->envVTyp & 1)
+	{
+		if (ch->envVCnt >= ins->envVP[ch->envVPos][0])
+			ch->envVCnt = ins->envVP[ch->envVPos][0] - 1;
+	}
+	else
+	{
+		ch->realVol = 0;
+		ch->outVol = 0;
+		ch->status |= (IS_Vol + IS_QuickVol);
+	}
+}
+
+// 100% FT2-accurate routine, do not touch!
+void calcReplayRate(uint32_t rate)
+{
+	if (rate == 0)
+		return;
+
+	// for voice delta calculation
+	frequenceDivFactor = (uint32_t)round(65536.0 * 1712.0 / rate * 8363.0);
+	frequenceMulFactor = (uint32_t)round(256.0 * 65536.0 / rate * 8363.0);
+	audio.dScopeFreqMul = rate / (double)SCOPE_HZ;
+
+	// for volume ramping (FT2 doesn't round here)
+	audio.quickVolSizeVal = rate / 200;
+
+	// for audio/video sync
+	audio.dSpeedValMul = (1.0 / rate) * editor.dPerfFreq;
+}
+
+// 100% FT2-accurate routine, do not touch!
+uint32_t getFrequenceValue(uint16_t period)
+{
+	uint8_t shift;
+	uint16_t index;
+	uint32_t rate;
+
+	if (period == 0)
+		return 0;
+
+	if (period == oldPeriod)
+		return oldRate; // added check: prevent this calculation if it would yield the same
+
+	if (linearFrqTab)
+	{
+		index = (12 * 192 * 4) - period;
+		shift = (14 - (index / 768)) & 0x1F;
+
+		// this converts to fast code even on x86 (imul + shrd)
+		rate = ((uint64_t)logTab[index % 768] * frequenceMulFactor) >> 24;
+		if (shift > 0)
+			rate >>= shift;
+	}
+	else
+	{
+		rate = frequenceDivFactor / period;
+	}
+
+	oldPeriod = period;
+	oldRate = rate;
+
+	return rate;
+}
+
+void resetOldRates(void)
+{
+	oldPeriod = 0;
+	oldRate = 0;
+
+	resetOldScopeRates();
+	resetOldRevFreqs();
+}
+
+static void startTone(uint8_t ton, uint8_t effTyp, uint8_t eff, stmTyp *ch)
+{
+	uint8_t smp;
+	uint16_t tmpTon;
+	sampleTyp *s;
+	instrTyp *ins;
+
+	if (ton == 97)
+	{
+		keyOff(ch);
+		return;
+	}
+
+	// if we came from Rxy (retrig), we didn't check note (Ton) yet
+	if (ton == 0)
+	{
+		ton = ch->tonNr;
+		if (ton == 0)
+			return; // if still no note, exit from routine
+	}
+
+	ch->tonNr = ton;
+
+	assert(ch->instrNr <= 130);
+
+	ins = instr[ch->instrNr];
+	if (ins == NULL)
+		ins = instr[0];
+
+	ch->instrSeg = ins;
+	ch->mute = ins->mute;
+
+	if (ton > 96) // non-FT2 security (should never happen because I clamp in the patt loaders now)
+		ton = 96;
+
+	smp = ins->ta[ton-1] & 0x0F;
+	ch->sampleNr = smp;
+
+	s = &ins->samp[smp];
+	ch->smpPtr = s;
+	ch->relTonNr = s->relTon;
+
+	ton += ch->relTonNr;
+	if (ton >= 12*10)
+		return;
+
+	ch->oldVol = s->vol;
+	ch->oldPan = s->pan;
+
+	if (effTyp == 0x0E && (eff & 0xF0) == 0x50)
+		ch->fineTune = ((eff & 0x0F) * 16) - 128; // result is now -128 .. 127
+	else
+		ch->fineTune = s->fine;
+
+	if (ton > 0)
+	{
+		tmpTon = ((ton - 1) * 16) + (((ch->fineTune >> 3) + 16) & 0xFF);
+		if (tmpTon < MAX_NOTES) // should always happen, but FT2 does this check
+		{
+			assert(note2Period != NULL);
+			ch->realPeriod = note2Period[tmpTon];
+
+			ch->outPeriod = ch->realPeriod;
+			ch->midiCurPeriod = ch->realPeriod;
+			ch->midiPortaPeriod = ch->realPeriod;
+		}
+	}
+
+	ch->status |= (IS_Period + IS_Vol + IS_Pan + IS_NyTon + IS_QuickVol);
+
+	if (effTyp == 9)
+	{
+		if (eff)
+			ch->smpOffset = ch->eff;
+
+		ch->smpStartPos = ch->smpOffset * 256;
+	}
+	else
+	{
+		ch->smpStartPos = 0;
+	}
+}
+
+static void multiRetrig(stmTyp *ch)
+{
+	uint8_t cnt;
+	int16_t vol;
+
+	cnt = ch->retrigCnt + 1;
+	if (cnt < ch->retrigSpeed)
+	{
+		ch->retrigCnt = cnt;
+		return;
+	}
+
+	ch->retrigCnt = 0;
+
+	vol = ch->realVol;
+	switch (ch->retrigVol)
+	{
+		case 0x1: vol -= 1; break;
+		case 0x2: vol -= 2; break;
+		case 0x3: vol -= 4; break;
+		case 0x4: vol -= 8; break;
+		case 0x5: vol -= 16; break;
+		case 0x6: vol = (vol >> 1) + (vol >> 3) + (vol >> 4); break;
+		case 0x7: vol >>= 1; break;
+		case 0x8: break; // does not change the volume
+		case 0x9: vol += 1; break;
+		case 0xA: vol += 2; break;
+		case 0xB: vol += 4; break;
+		case 0xC: vol += 8; break;
+		case 0xD: vol += 16; break;
+		case 0xE: vol = (vol >> 1) + vol; break;
+		case 0xF: vol += vol; break;
+		default: break;
+	}
+	vol = CLAMP(vol, 0, 64);
+
+	ch->realVol = (uint8_t)vol;
+	ch->outVol = ch->realVol;
+
+	if (ch->volKolVol >= 0x10 && ch->volKolVol <= 0x50)
+	{
+		ch->outVol = ch->volKolVol - 0x10;
+		ch->realVol = ch->outVol;
+	}
+	else if (ch->volKolVol >= 0xC0 && ch->volKolVol <= 0xCF)
+	{
+		ch->outPan = (ch->volKolVol & 0x0F) << 4;
+	}
+
+	startTone(0, 0, 0, ch);
+}
+
+static void checkMoreEffects(stmTyp *ch) // called even if channel is muted
+{
+	int8_t envPos;
+	bool envUpdate;
+	uint8_t tmpEff;
+	int16_t newEnvPos;
+	uint16_t i;
+	instrTyp *ins;
+
+	ins = ch->instrSeg;
+	assert(ins != NULL);
+
+	// Bxx - position jump
+	if (ch->effTyp == 11)
+	{
+		if (playMode != PLAYMODE_PATT && playMode != PLAYMODE_RECPATT)
+		{
+			if (ch->eff-1 < 0 || ch->eff-1 >= song.len)
+				bxxOverflow = true; // non-FT2 security fix...
+			else
+				song.songPos = ch->eff - 1;
+		}
+
+		song.pBreakPos = 0;
+		song.posJumpFlag = true;
+	}
+
+	// Dxx - pattern break
+	else if (ch->effTyp == 13)
+	{
+		song.posJumpFlag = true;
+
+		tmpEff = ((ch->eff >> 4) * 10) + (ch->eff & 0x0F);
+		if (tmpEff <= 63)
+			song.pBreakPos = tmpEff;
+		else
+			song.pBreakPos = 0;
+	}
+
+	// Exx - E effects
+	else if (ch->effTyp == 14)
+	{
+		if (ch->stOff) // channel is muted
+		{
+			// E6x - pattern loop
+			if ((ch->eff & 0xF0) == 0x60)
+			{
+				if (ch->eff == 0x60) // E60, empty param
+				{
+					ch->pattPos = song.pattPos & 0x00FF;
+				}
+				else
+				{
+					if (ch->loopCnt == 0)
+					{
+						ch->loopCnt = ch->eff & 0x0F;
+
+						song.pBreakPos = ch->pattPos;
+						song.pBreakFlag = true;
+					}
+					else
+					{
+						if (--ch->loopCnt > 0)
+						{
+							song.pBreakPos = ch->pattPos;
+							song.pBreakFlag = true;
+						}
+					}
+				}
+			}
+
+			// EEx - pattern delay
+			else if ((ch->eff & 0xF0) == 0xE0)
+			{
+				if (song.pattDelTime2 == 0)
+					song.pattDelTime = (ch->eff & 0x0F) + 1;
+			}
+
+			return;
+		}
+
+		// E1x - fine period slide up
+		if ((ch->eff & 0xF0) == 0x10)
+		{
+			tmpEff = ch->eff & 0x0F;
+			if (tmpEff == 0)
+				tmpEff = ch->fPortaUpSpeed;
+
+			ch->fPortaUpSpeed = tmpEff;
+
+			ch->realPeriod -= (tmpEff * 4);
+			if (ch->realPeriod < 1)
+				ch->realPeriod = 1;
+
+			ch->outPeriod = ch->realPeriod;
+			ch->status |= IS_Period;
+		}
+
+		// E2x - fine period slide down
+		else if ((ch->eff & 0xF0) == 0x20)
+		{
+			tmpEff = ch->eff & 0x0F;
+			if (tmpEff == 0)
+				tmpEff = ch->fPortaDownSpeed;
+
+			ch->fPortaDownSpeed = tmpEff;
+
+			ch->realPeriod += (tmpEff * 4);
+			if (ch->realPeriod > (32000 - 1))
+				ch->realPeriod =  32000 - 1;
+
+			ch->outPeriod = ch->realPeriod;
+			ch->status |= IS_Period;
+		}
+
+		// E3x - set glissando type
+		else if ((ch->eff & 0xF0) == 0x30) ch->glissFunk = ch->eff & 0x0F;
+
+		// E4x - set vibrato waveform
+		else if ((ch->eff & 0xF0) == 0x40) ch->waveCtrl = (ch->waveCtrl & 0xF0) | (ch->eff & 0x0F);
+
+		// E5x (set finetune) is handled in startTone()
+
+		// E6x - pattern loop
+		else if ((ch->eff & 0xF0) == 0x60)
+		{
+			if (ch->eff == 0x60) // E60, empty param
+			{
+				ch->pattPos = song.pattPos & 0xFF;
+			}
+			else
+			{
+				if (ch->loopCnt == 0)
+				{
+					ch->loopCnt = ch->eff & 0x0F;
+
+					song.pBreakPos = ch->pattPos;
+					song.pBreakFlag = true;
+				}
+				else
+				{
+					if (--ch->loopCnt > 0)
+					{
+						song.pBreakPos = ch->pattPos;
+						song.pBreakFlag = true;
+					}
+				}
+			}
+		}
+
+		// E7x - set tremolo waveform
+		else if ((ch->eff & 0xF0) == 0x70) ch->waveCtrl = ((ch->eff & 0x0F) << 4) | (ch->waveCtrl & 0x0F);
+
+		// EAx - fine volume slide up
+		else if ((ch->eff & 0xF0) == 0xA0)
+		{
+			tmpEff = ch->eff & 0x0F;
+			if (tmpEff == 0)
+				tmpEff = ch->fVolSlideUpSpeed;
+
+			ch->fVolSlideUpSpeed = tmpEff;
+
+			// unsigned clamp
+			if (ch->realVol <= (64 - tmpEff))
+				ch->realVol += tmpEff;
+			else
+				ch->realVol = 64;
+
+			ch->outVol = ch->realVol;
+			ch->status |= IS_Vol;
+		}
+
+		// EBx - fine volume slide down
+		else if ((ch->eff & 0xF0) == 0xB0)
+		{
+			tmpEff = ch->eff & 0x0F;
+			if (tmpEff == 0)
+				tmpEff = ch->fVolSlideDownSpeed;
+
+			ch->fVolSlideDownSpeed = tmpEff;
+
+			// unsigned clamp
+			if (ch->realVol >= tmpEff)
+				ch->realVol -= tmpEff;
+			else
+				ch->realVol = 0;
+
+			ch->outVol = ch->realVol;
+			ch->status |= IS_Vol;
+		}
+
+		// ECx - note cut
+		else if ((ch->eff & 0xF0) == 0xC0)
+		{
+			if (ch->eff == 0xC0) // empty param
+			{
+				ch->realVol = 0;
+				ch->outVol = 0;
+				ch->status |= (IS_Vol + IS_QuickVol);
+			}
+		}
+
+		// EEx - pattern delay
+		else if ((ch->eff & 0xF0) == 0xE0)
+		{
+			if (song.pattDelTime2 == 0)
+				song.pattDelTime = (ch->eff & 0x0F) + 1;
+		}
+	}
+
+	// Fxx - set speed/tempo
+	else if (ch->effTyp == 15)
+	{
+		if (ch->eff >= 32)
+		{
+			song.speed = ch->eff;
+			setSpeed(song.speed);
+		}
+		else
+		{
+			song.tempo = ch->eff;
+			song.timer = ch->eff;
+		}
+	}
+
+	// Gxx - set global volume
+	else if (ch->effTyp == 16)
+	{
+		song.globVol = ch->eff;
+		if (song.globVol > 64)
+			song.globVol = 64;
+
+		for (i = 0; i < song.antChn; i++) // update all voice volumes
+			stm[i].status |= IS_Vol;
+	}
+
+	// Lxx - set vol and pan envelope position
+	else if (ch->effTyp == 21)
+	{
+		// *** VOLUME ENVELOPE ***
+		if (ins->envVTyp & 1)
+		{
+			ch->envVCnt = ch->eff - 1;
+
+			envPos = 0;
+			envUpdate = true;
+			newEnvPos = ch->eff;
+
+			if (ins->envVPAnt > 1)
+			{
+				envPos++;
+				for (i = 0; i < ins->envVPAnt-1; i++)
+				{
+					if (newEnvPos < ins->envVP[envPos][0])
+					{
+						envPos--;
+
+						newEnvPos -= ins->envVP[envPos][0];
+						if (newEnvPos == 0)
+						{
+							envUpdate = false;
+							break;
+						}
+
+						if (ins->envVP[envPos+1][0] <= ins->envVP[envPos][0])
+						{
+							envUpdate = true;
+							break;
+						}
+
+						ch->envVIPValue = ((ins->envVP[envPos+1][1] - ins->envVP[envPos][1]) & 0xFF) << 8;
+						ch->envVIPValue /= (ins->envVP[envPos+1][0] - ins->envVP[envPos][0]);
+
+						ch->envVAmp = (ch->envVIPValue * (newEnvPos - 1)) + ((ins->envVP[envPos][1] & 0xFF) << 8);
+
+						envPos++;
+
+						envUpdate = false;
+						break;
+					}
+
+					envPos++;
+				}
+
+				if (envUpdate)
+					envPos--;
+			}
+
+			if (envUpdate)
+			{
+				ch->envVIPValue = 0;
+				ch->envVAmp = (ins->envVP[envPos][1] & 0xFF) << 8;
+			}
+
+			if (envPos >= ins->envVPAnt)
+			{
+				envPos = ins->envVPAnt - 1;
+				if (envPos < 0)
+					envPos = 0;
+			}
+
+			ch->envVPos = envPos;
+		}
+
+		// *** PANNING ENVELOPE ***
+		if (ins->envVTyp & 2) // probably an FT2 bug
+		{
+			ch->envPCnt = ch->eff - 1;
+
+			envPos = 0;
+			envUpdate = true;
+			newEnvPos = ch->eff;
+
+			if (ins->envPPAnt > 1)
+			{
+				envPos++;
+				for (i = 0; i < ins->envPPAnt-1; i++)
+				{
+					if (newEnvPos < ins->envPP[envPos][0])
+					{
+						envPos--;
+
+						newEnvPos -= ins->envPP[envPos][0];
+						if (newEnvPos == 0)
+						{
+							envUpdate = false;
+							break;
+						}
+
+						if (ins->envPP[envPos + 1][0] <= ins->envPP[envPos][0])
+						{
+							envUpdate = true;
+							break;
+						}
+
+						ch->envPIPValue = ((ins->envPP[envPos+1][1] - ins->envPP[envPos][1]) & 0xFF) << 8;
+						ch->envPIPValue /= (ins->envPP[envPos+1][0] - ins->envPP[envPos][0]);
+
+						ch->envPAmp = (ch->envPIPValue * (newEnvPos - 1)) + ((ins->envPP[envPos][1] & 0xFF) << 8);
+
+						envPos++;
+
+						envUpdate = false;
+						break;
+					}
+
+					envPos++;
+				}
+
+				if (envUpdate)
+					envPos--;
+			}
+
+			if (envUpdate)
+			{
+				ch->envPIPValue = 0;
+				ch->envPAmp = (ins->envPP[envPos][1] & 0xFF) << 8;
+			}
+
+			if (envPos >= ins->envPPAnt)
+			{
+				envPos = ins->envPPAnt - 1;
+				if (envPos < 0)
+					envPos = 0;
+			}
+
+			ch->envPPos = envPos;
+		}
+	}
+}
+
+static void checkEffects(stmTyp *ch)
+{
+	uint8_t tmpEff, tmpEffHi, volKol;
+
+	// this one is manipulated by vol column effects, then used for multiretrig (FT2 quirk)
+	volKol = ch->volKolVol;
+
+	// *** VOLUME COLUMN EFFECTS (TICK 0) ***
+
+	// set volume
+	if (ch->volKolVol >= 0x10 && ch->volKolVol <= 0x50)
+	{
+		volKol -= 16;
+
+		ch->outVol = volKol;
+		ch->realVol = volKol;
+
+		ch->status |= (IS_Vol + IS_QuickVol);
+	}
+
+	// fine volume slide down
+	else if ((ch->volKolVol & 0xF0) == 0x80)
+	{
+		volKol = ch->volKolVol & 0x0F;
+
+		// unsigned clamp
+		if (ch->realVol >= volKol)
+			ch->realVol -= volKol;
+		else
+			ch->realVol = 0;
+
+		ch->outVol  = ch->realVol;
+		ch->status |= IS_Vol;
+	}
+
+	// fine volume slide up
+	else if ((ch->volKolVol & 0xF0) == 0x90)
+	{
+		volKol = ch->volKolVol & 0x0F;
+
+		// unsigned clamp
+		if (ch->realVol <= 64-volKol)
+			ch->realVol += volKol;
+		else
+			ch->realVol = 64;
+
+		ch->outVol  = ch->realVol;
+		ch->status |= IS_Vol;
+	}
+
+	// set vibrato speed
+	else if ((ch->volKolVol & 0xF0) == 0xA0)
+	{
+		volKol = (ch->volKolVol & 0x0F) << 2;
+		ch->vibSpeed = volKol;
+	}
+
+	// set panning
+	else if ((ch->volKolVol & 0xF0) == 0xC0)
+	{
+		volKol <<= 4;
+
+		ch->outPan = volKol;
+		ch->status |= IS_Pan;
+	}
+
+	// *** MAIN EFFECTS (TICK 0) ***
+
+	if (ch->effTyp == 0 && ch->eff == 0) return; // no effect
+
+	// Cxx - set volume
+	if (ch->effTyp == 12)
+	{
+		ch->realVol = ch->eff;
+		if (ch->realVol > 64)
+			ch->realVol = 64;
+
+		ch->outVol = ch->realVol;
+		ch->status |= (IS_Vol + IS_QuickVol);
+
+		return;
+	}
+
+	// 8xx - set panning
+	else if (ch->effTyp == 8)
+	{
+		ch->outPan = ch->eff;
+		ch->status |= IS_Pan;
+
+		return;
+	}
+
+	// Rxy - note multi retrigger
+	else if (ch->effTyp == 27)
+	{
+		tmpEff = ch->eff & 0x0F;
+		if (tmpEff == 0)
+			tmpEff = ch->retrigSpeed;
+
+		ch->retrigSpeed = tmpEff;
+
+		tmpEffHi = ch->eff >> 4;
+		if (tmpEffHi == 0)
+			tmpEffHi = ch->retrigVol;
+
+		ch->retrigVol = tmpEffHi;
+
+		if (volKol == 0)
+			multiRetrig(ch);
+
+		return;
+	}
+
+	// X1x - extra fine period slide up
+	else if (ch->effTyp == 33 && (ch->eff & 0xF0) == 0x10)
+	{
+		tmpEff = ch->eff & 0x0F;
+		if (tmpEff == 0)
+			tmpEff = ch->ePortaUpSpeed;
+
+		ch->ePortaUpSpeed = tmpEff;
+
+		ch->realPeriod -= tmpEff;
+		if (ch->realPeriod < 1)
+			ch->realPeriod = 1;
+
+		ch->outPeriod = ch->realPeriod;
+		ch->status |= IS_Period;
+
+		return;
+	}
+
+	// X2x - extra fine period slide down
+	else if (ch->effTyp == 33 && (ch->eff & 0xF0) == 0x20)
+	{
+		tmpEff = ch->eff & 0x0F;
+		if (tmpEff == 0)
+			tmpEff = ch->ePortaDownSpeed;
+
+		ch->ePortaDownSpeed = tmpEff;
+
+		ch->realPeriod += tmpEff;
+		if (ch->realPeriod > 32000-1)
+			ch->realPeriod = 32000-1;
+
+		ch->outPeriod = ch->realPeriod;
+		ch->status |= IS_Period;
+
+		return;
+	}
+
+	checkMoreEffects(ch);
+}
+
+static void fixTonePorta(stmTyp *ch, tonTyp *p, uint8_t inst)
+{
+	uint16_t portaTmp;
+
+	if (p->ton > 0)
+	{
+		if (p->ton == 97)
+		{
+			keyOff(ch);
+		}
+		else
+		{
+			portaTmp = ((((p->ton - 1) + ch->relTonNr) & 0xFF) * 16) + (((ch->fineTune >> 3) + 16) & 0xFF);
+			if (portaTmp < MAX_NOTES)
+			{
+				assert(note2Period != NULL);
+				ch->wantPeriod = note2Period[portaTmp];
+
+				     if (ch->wantPeriod == ch->realPeriod) ch->portaDir = 0;
+				else if (ch->wantPeriod  > ch->realPeriod) ch->portaDir = 1;
+				else ch->portaDir = 2;
+			}
+		}
+	}
+
+	if (inst > 0)
+	{
+		retrigVolume(ch);
+		if (p->ton != 97)
+			retrigEnvelopeVibrato(ch);
+	}
+}
+
+static void getNewNote(stmTyp *ch, tonTyp *p)
+{
+	uint8_t inst;
+	bool checkEfx;
+
+	ch->volKolVol = p->vol;
+
+	if (ch->effTyp == 0)
+	{
+		if (ch->eff > 0)
+		{
+			// we have an arpeggio running, set period back
+			ch->outPeriod = ch->realPeriod;
+			ch->status |= IS_Period;
+		}
+	}
+	else
+	{
+		if (ch->effTyp == 4 || ch->effTyp == 6)
+		{
+			// we have a vibrato running
+			if (p->effTyp != 4 && p->effTyp != 6)
+			{
+				// but it's ending at the next (this) row, so set period back
+				ch->outPeriod = ch->realPeriod;
+				ch->status |= IS_Period;
+			}
+		}
+	}
+
+	ch->effTyp = p->effTyp;
+	ch->eff = p->eff;
+	ch->tonTyp = (p->instr << 8) | p->ton;
+
+	if (ch->stOff == 1)
+	{
+		checkMoreEffects(ch);
+		return;
+	}
+
+	// 'inst' var is used for later if checks...
+	inst = p->instr;
+	if (inst > 0)
+	{
+		if (inst <= MAX_INST)
+			ch->instrNr = inst;
+		else
+			inst = 0;
+	}
+
+	checkEfx = true;
+	if (p->effTyp == 0x0E)
+	{
+		if (p->eff >= 0xD1 && p->eff <= 0xDF)
+			return; // we have a note delay (ED1..EDF)
+		else if (p->eff == 0x90)
+			checkEfx = false;
+	}
+
+	if (checkEfx)
+	{
+		if ((ch->volKolVol & 0xF0) == 0xF0) // gxx
+		{
+			if ((ch->volKolVol & 0x0F) > 0)
+				ch->portaSpeed = (ch->volKolVol & 0x0F) << 6;
+
+			fixTonePorta(ch, p, inst);
+			checkEffects(ch);
+
+			return;
+		}
+
+		if (p->effTyp == 3 || p->effTyp == 5) // 3xx or 5xx
+		{
+			if (p->effTyp != 5 && p->eff != 0)
+				ch->portaSpeed = p->eff << 2;
+
+			fixTonePorta(ch, p, inst);
+			checkEffects(ch);
+
+			return;
+		}
+
+		if (p->effTyp == 0x14 && p->eff == 0) // K00 (KeyOff - only handle tick 0 here)
+		{
+			keyOff(ch);
+
+			if (inst)
+				retrigVolume(ch);
+
+			checkEffects(ch);
+			return;
+		}
+
+		if (p->ton == 0)
+		{
+			if (inst > 0)
+			{
+				retrigVolume(ch);
+				retrigEnvelopeVibrato(ch);
+			}
+
+			checkEffects(ch);
+			return;
+		}
+	}
+
+	if (p->ton == 97)
+		keyOff(ch);
+	else
+		startTone(p->ton, p->effTyp, p->eff, ch);
+
+	if (inst > 0)
+	{
+		retrigVolume(ch);
+		if (p->ton != 97)
+			retrigEnvelopeVibrato(ch);
+	}
+
+	checkEffects(ch);
+}
+
+static void fixaEnvelopeVibrato(stmTyp *ch)
+{
+	bool envInterpolateFlag, envDidInterpolate;
+	uint8_t envPos;
+	int16_t autoVibVal, panTmp;
+	uint16_t autoVibAmp, tmpPeriod, envVal;
+	int32_t vol, tmp32;
+	instrTyp *ins;
+	double dVol;
+
+	ins = ch->instrSeg;
+
+	assert(ins != NULL);
+
+	// *** FADEOUT ***
+	if (!ch->envSustainActive)
+	{
+		ch->status |= IS_Vol;
+
+		// unsigned clamp + reset
+		if (ch->fadeOutAmp >= ch->fadeOutSpeed)
+		{
+			ch->fadeOutAmp -= ch->fadeOutSpeed;
+		}
+		else
+		{
+			ch->fadeOutAmp = 0;
+			ch->fadeOutSpeed = 0;
+		}
+	}
+
+	if (ch->mute != 1)
+	{
+		// *** VOLUME ENVELOPE ***
+		envVal = 0;
+		if (ins->envVTyp & 1)
+		{
+			envDidInterpolate = false;
+			envPos = ch->envVPos;
+
+			if (++ch->envVCnt == ins->envVP[envPos][0])
+			{
+				ch->envVAmp = (ins->envVP[envPos][1] & 0xFF) << 8;
+
+				envPos++;
+				if (ins->envVTyp & 4)
+				{
+					envPos--;
+
+					if (envPos == ins->envVRepE)
+					{
+						if (!(ins->envVTyp & 2) || envPos != ins->envVSust || ch->envSustainActive)
+						{
+							envPos = ins->envVRepS;
+							ch->envVCnt = ins->envVP[envPos][0];
+							ch->envVAmp = (ins->envVP[envPos][1] & 0xFF) << 8;
+						}
+					}
+
+					envPos++;
+				}
+
+				if (envPos < ins->envVPAnt)
+				{
+					envInterpolateFlag = true;
+					if ((ins->envVTyp & 2) && ch->envSustainActive)
+					{
+						if (envPos-1 == ins->envVSust)
+						{
+							envPos--;
+							ch->envVIPValue = 0;
+							envInterpolateFlag = false;
+						}
+					}
+
+					if (envInterpolateFlag)
+					{
+						ch->envVPos = envPos;
+
+						ch->envVIPValue = 0;
+						if (ins->envVP[envPos][0] > ins->envVP[envPos-1][0])
+						{
+							ch->envVIPValue = ((ins->envVP[envPos][1] - ins->envVP[envPos-1][1]) & 0xFF) << 8;
+							ch->envVIPValue /= (ins->envVP[envPos][0] - ins->envVP[envPos-1][0]);
+
+							envVal = ch->envVAmp;
+							envDidInterpolate = true;
+						}
+					}
+				}
+				else
+				{
+					ch->envVIPValue = 0;
+				}
+			}
+
+			if (!envDidInterpolate)
+			{
+				ch->envVAmp += ch->envVIPValue;
+
+				envVal = ch->envVAmp;
+				if ((envVal >> 8) > 0x40)
+				{
+					if ((envVal >> 8) > (0x40+0xC0)/2)
+						envVal = 16384;
+					else
+						envVal = 0;
+
+					ch->envVIPValue = 0;
+				}
+			}
+
+			/* old integer method with low precision (FT2 way)
+			envVal >>= 8;
+			ch->finalVol = (song.globVol * (((envVal * ch->outVol) * ch->fadeOutAmp) >> (16 + 2))) >> 7;
+			*/
+
+			/* calculate with four times more precision (+ rounding).
+			** also, env. range is now 0..16384 instead of being shifted to 0..64. */
+
+			dVol = song.globVol * ch->outVol * ch->fadeOutAmp;
+			dVol *= envVal; // we need a float mul because it would overflow 32-bit integer
+			dVol *= 1.0 / ((64.0 * 64.0 * 32768.0 * 16384.0) / 2048.0); // 0..2048 (real FT2 is 0..256)
+
+			vol = (int32_t)(dVol + 0.5);
+			if (vol > 2048)
+				vol = 2048;
+
+			ch->finalVol = (uint16_t)vol;
+			ch->status |= IS_Vol;
+		}
+		else
+		{
+			/* old integer method with low precision (FT2 way)
+			ch->finalVol = (song.globVol * (((ch->outVol << 4) * ch->fadeOutAmp) >> 16)) >> 7;
+			*/
+
+			// calculate with four times more precision (+ rounding)
+			dVol = song.globVol * ch->outVol * ch->fadeOutAmp;
+			dVol *= 1.0 / ((64.0 * 64.0 * 32768.0) / 2048.0); // 0..2048 (real FT2 is 0..256)
+
+			vol = (int32_t)(dVol + 0.5);
+			if (vol > 2048)
+				vol = 2048;
+
+			ch->finalVol = (uint16_t)vol;
+		}
+	}
+	else
+	{
+		ch->finalVol = 0;
+	}
+
+	// *** PANNING ENVELOPE ***
+
+	envVal = 0;
+	if (ins->envPTyp & 1)
+	{
+		envDidInterpolate = false;
+		envPos = ch->envPPos;
+
+		if (++ch->envPCnt == ins->envPP[envPos][0])
+		{
+			ch->envPAmp = (ins->envPP[envPos][1] & 0xFF) << 8;
+
+			envPos++;
+			if (ins->envPTyp & 4)
+			{
+				envPos--;
+
+				if (envPos == ins->envPRepE)
+				{
+					if (!(ins->envPTyp & 2) || envPos != ins->envPSust || ch->envSustainActive)
+					{
+						envPos = ins->envPRepS;
+
+						ch->envPCnt = ins->envPP[envPos][0];
+						ch->envPAmp = (ins->envPP[envPos][1] & 0xFF) << 8;
+					}
+				}
+
+				envPos++;
+			}
+
+			if (envPos < ins->envPPAnt)
+			{
+				envInterpolateFlag = true;
+				if ((ins->envPTyp & 2) && ch->envSustainActive)
+				{
+					if (envPos-1 == ins->envPSust)
+					{
+						envPos--;
+						ch->envPIPValue = 0;
+						envInterpolateFlag = false;
+					}
+				}
+
+				if (envInterpolateFlag)
+				{
+					ch->envPPos = envPos;
+
+					ch->envPIPValue = 0;
+					if (ins->envPP[envPos][0] > ins->envPP[envPos-1][0])
+					{
+						ch->envPIPValue = ((ins->envPP[envPos][1] - ins->envPP[envPos-1][1]) & 0xFF) << 8;
+						ch->envPIPValue /= (ins->envPP[envPos][0] - ins->envPP[envPos-1][0]);
+
+						envVal = ch->envPAmp;
+						envDidInterpolate = true;
+					}
+				}
+			}
+			else
+			{
+				ch->envPIPValue = 0;
+			}
+		}
+
+		if (!envDidInterpolate)
+		{
+			ch->envPAmp += ch->envPIPValue;
+
+			envVal = ch->envPAmp;
+			if ((envVal >> 8) > 0x40)
+			{
+				if ((envVal >> 8) > (0x40+0xC0)/2)
+					envVal = 16384;
+				else
+					envVal = 0;
+
+				ch->envPIPValue = 0;
+			}
+		}
+
+		panTmp = ch->outPan - 128;
+		if (panTmp > 0)
+			panTmp = 0 - panTmp;
+		panTmp += 128;
+
+		envVal -= (32 * 256);
+
+		ch->finalPan = ch->outPan + ((((int16_t)envVal * (panTmp << 3)) >> 16) & 0xFF);
+		ch->status |= IS_Pan;
+	}
+	else
+	{
+		ch->finalPan = ch->outPan;
+	}
+
+	// *** AUTO VIBRATO ***
+	if (ch->midiVibDepth > 0 || ins->vibDepth > 0)
+	{
+		if (ch->eVibSweep > 0)
+		{
+			autoVibAmp = ch->eVibSweep;
+			if (ch->envSustainActive)
+			{
+				autoVibAmp += ch->eVibAmp;
+				if ((autoVibAmp >> 8) > ins->vibDepth)
+				{
+					autoVibAmp = ins->vibDepth << 8;
+					ch->eVibSweep = 0;
+				}
+
+				ch->eVibAmp = autoVibAmp;
+			}
+		}
+		else
+		{
+			autoVibAmp = ch->eVibAmp;
+		}
+
+		// non-FT2 hack to make modulation wheel work when auto vibrato rate is zero
+		if (ch->midiVibDepth > 0 && ins->vibRate == 0)
+			ins->vibRate = 0x20;
+
+		autoVibAmp += ch->midiVibDepth;
+
+		ch->eVibPos += ins->vibRate;
+
+		     if (ins->vibTyp == 1) autoVibVal = (ch->eVibPos > 127) ? 64 : -64; // square
+		else if (ins->vibTyp == 2) autoVibVal = (((ch->eVibPos >> 1) + 64) & 127) - 64; // ramp up
+		else if (ins->vibTyp == 3) autoVibVal = (((0 - (ch->eVibPos >> 1)) + 64) & 127) - 64; // ramp down
+		else autoVibVal = vibSineTab[ch->eVibPos]; // sine
+
+		autoVibVal <<= 2;
+
+		tmp32 = ((autoVibVal * (int16_t)autoVibAmp) >> 16) & 0x8000FFFF;
+		tmpPeriod = ch->outPeriod + (int16_t)tmp32;
+		if (tmpPeriod > 32000-1)
+			tmpPeriod = 0;
+
+		ch->finalPeriod = tmpPeriod - ch->midiPitch;
+		ch->status |= IS_Period;
+	}
+	else
+	{
+		ch->finalPeriod = ch->outPeriod;
+		if (midi.enable)
+		{
+			ch->finalPeriod -= ch->midiPitch;
+			ch->status |= IS_Period;
+		}
+	}
+}
+
+int16_t relocateTon(int16_t period, int8_t relativeNote, stmTyp *ch)
+{
+	int8_t fineTune;
+	int32_t loPeriod, hiPeriod, tmpPeriod, tableIndex;
+
+	fineTune = (ch->fineTune >> 3) + 16;
+	hiPeriod = 8 * 12 * 16;
+	loPeriod = 0;
+
+	for (int8_t i = 0; i < 8; i++)
+	{
+		tmpPeriod = (((loPeriod + hiPeriod) >> 1) & 0xFFFFFFF0) + fineTune;
+
+		tableIndex = tmpPeriod - 8;
+		if (tableIndex < 0) // added security check
+			tableIndex = 0;
+
+		if (period >= note2Period[tableIndex])
+			hiPeriod = tmpPeriod - fineTune;
+		else
+			loPeriod = tmpPeriod - fineTune;
+	}
+
+	tmpPeriod = loPeriod + fineTune + (relativeNote << 4);
+	if (tmpPeriod < 0) // added security check
+		tmpPeriod = 0;
+
+	if (tmpPeriod >= ((8*12*16)+15)-1) // FT2 bug: off-by-one edge case
+		tmpPeriod = (8*12*16)+15;
+
+	return note2Period[tmpPeriod];
+}
+
+static void tonePorta(stmTyp *ch)
+{
+	if (ch->portaDir == 0)
+		return;
+
+	if (ch->portaDir > 1)
+	{
+		ch->realPeriod -= ch->portaSpeed;
+		if (ch->realPeriod <= ch->wantPeriod)
+		{
+			ch->portaDir = 1;
+			ch->realPeriod = ch->wantPeriod;
+		}
+	}
+	else
+	{
+		ch->realPeriod += ch->portaSpeed;
+		if (ch->realPeriod >= ch->wantPeriod)
+		{
+			ch->portaDir = 1;
+			ch->realPeriod = ch->wantPeriod;
+		}
+	}
+
+	if (ch->glissFunk) // semi-tone slide flag
+		ch->outPeriod = relocateTon(ch->realPeriod, 0, ch);
+	else
+		ch->outPeriod = ch->realPeriod;
+
+	ch->status |= IS_Period;
+}
+
+static void volume(stmTyp *ch) // actually volume slide
+{
+	uint8_t tmpEff = ch->eff;
+	if (tmpEff == 0)
+		tmpEff = ch->volSlideSpeed;
+
+	ch->volSlideSpeed = tmpEff;
+
+	if ((tmpEff & 0xF0) == 0)
+	{
+		// unsigned clamp
+		if (ch->realVol >= tmpEff)
+			ch->realVol -= tmpEff;
+		else
+			ch->realVol = 0;
+	}
+	else
+	{
+		// unsigned clamp
+		if (ch->realVol <= 64-(tmpEff>>4))
+			ch->realVol += tmpEff>>4;
+		else
+			ch->realVol = 64;
+	}
+
+	ch->outVol = ch->realVol;
+	ch->status |= IS_Vol;
+}
+
+static void vibrato2(stmTyp *ch)
+{
+	uint8_t tmpVib = (ch->vibPos / 4) & 0x1F;
+
+	switch (ch->waveCtrl & 3)
+	{
+		// 0: sine
+		case 0: tmpVib = vibTab[tmpVib]; break;
+
+		// 1: ramp
+		case 1:
+		{
+			tmpVib *= 8;
+			if (ch->vibPos >= 128)
+				tmpVib ^= 0xFF;
+		}
+		break;
+
+		// 2/3: square
+		default: tmpVib = 255; break;
+	}
+
+	tmpVib = (tmpVib * ch->vibDepth) / 32;
+
+	if (ch->vibPos >= 128)
+		ch->outPeriod = ch->realPeriod - tmpVib;
+	else
+		ch->outPeriod = ch->realPeriod + tmpVib;
+
+	ch->status |= IS_Period;
+	ch->vibPos += ch->vibSpeed;
+}
+
+static void vibrato(stmTyp *ch)
+{
+	if (ch->eff > 0)
+	{
+		if ((ch->eff & 0x0F) > 0) ch->vibDepth = ch->eff & 0x0F;
+		if ((ch->eff & 0xF0) > 0) ch->vibSpeed = (ch->eff >> 4) * 4;
+	}
+
+	vibrato2(ch);
+}
+
+static void doEffects(stmTyp *ch)
+{
+	int8_t note;
+	uint8_t tmpEff, tremorData, tremorSign, tmpTrem;
+	int16_t tremVol;
+	uint16_t i, tick;
+
+	if (ch->stOff)
+		return;
+
+	// *** VOLUME COLUMN EFFECTS (TICKS >0) ***
+
+	// volume slide down
+	if ((ch->volKolVol & 0xF0) == 0x60)
+	{
+		// unsigned clamp
+		if (ch->realVol >= (ch->volKolVol & 0x0F))
+			ch->realVol -= ch->volKolVol & 0x0F;
+		else
+			ch->realVol = 0;
+
+		ch->outVol = ch->realVol;
+		ch->status |= IS_Vol;
+	}
+
+	// volume slide up
+	else if ((ch->volKolVol & 0xF0) == 0x70)
+	{
+		// unsigned clamp
+		if (ch->realVol <= 64-(ch->volKolVol & 0x0F))
+			ch->realVol += ch->volKolVol & 0x0F;
+		else
+			ch->realVol = 64;
+
+		ch->outVol = ch->realVol;
+		ch->status |= IS_Vol;
+	}
+
+	// vibrato (+ set vibrato depth)
+	else if ((ch->volKolVol & 0xF0) == 0xB0)
+	{
+		if (ch->volKolVol != 0xB0)
+			ch->vibDepth = ch->volKolVol & 0x0F;
+
+		vibrato2(ch);
+	}
+
+	// pan slide left
+	else if ((ch->volKolVol & 0xF0) == 0xD0)
+	{
+		// unsigned clamp + a bug when the parameter is 0
+		if ((ch->volKolVol & 0x0F) == 0 || ch->outPan < (ch->volKolVol & 0x0F))
+			ch->outPan = 0;
+		else
+			ch->outPan -= ch->volKolVol & 0x0F;
+
+		ch->status |= IS_Pan;
+	}
+
+	// pan slide right
+	else if ((ch->volKolVol & 0xF0) == 0xE0)
+	{
+		// unsigned clamp
+		if (ch->outPan <= 255-(ch->volKolVol & 0x0F))
+			ch->outPan += ch->volKolVol & 0x0F;
+		else
+			ch->outPan = 255;
+
+		ch->status |= IS_Pan;
+	}
+
+	// tone portamento
+	else if ((ch->volKolVol & 0xF0) == 0xF0) tonePorta(ch);
+
+	// *** MAIN EFFECTS (TICKS >0) ***
+
+	if ((ch->eff == 0 && ch->effTyp == 0) || ch->effTyp >= 36) return; // no effect
+
+	// 0xy - Arpeggio
+	if (ch->effTyp == 0)
+	{
+		tick = song.timer;
+
+		// FT2 'out of boundary LUT read' arp simulation
+		     if (tick < 16) tick %= 3;
+		else if (tick == 16) tick = 0;
+		else tick = 2;
+
+		if (tick == 0)
+		{
+			ch->outPeriod = ch->realPeriod;
+		}
+		else
+		{
+			if (tick == 1)
+				note = ch->eff >> 4;
+			else
+				note = ch->eff & 0xF; // tick 2
+
+			ch->outPeriod = relocateTon(ch->realPeriod, note, ch);
+		}
+
+		ch->status |= IS_Period;
+	}
+
+	// 1xx - period slide up
+	else if (ch->effTyp == 1)
+	{
+		tmpEff = ch->eff;
+		if (tmpEff == 0)
+			tmpEff = ch->portaUpSpeed;
+
+		ch->portaUpSpeed = tmpEff;
+
+		ch->realPeriod -= tmpEff * 4;
+		if (ch->realPeriod < 1)
+			ch->realPeriod = 1;
+
+		ch->outPeriod = ch->realPeriod;
+		ch->status |= IS_Period;
+	}
+
+	// 2xx - period slide down
+	else if (ch->effTyp == 2)
+	{
+		tmpEff = ch->eff;
+		if (tmpEff == 0)
+			tmpEff = ch->portaDownSpeed;
+
+		ch->portaDownSpeed = tmpEff;
+
+		ch->realPeriod += tmpEff * 4;
+		if (ch->realPeriod > 32000-1)
+			ch->realPeriod = 32000-1;
+
+		ch->outPeriod = ch->realPeriod;
+		ch->status |= IS_Period;
+	}
+
+	// 3xx - tone portamento
+	else if (ch->effTyp == 3) tonePorta(ch);
+
+	// 4xy - vibrato
+	else if (ch->effTyp == 4) vibrato(ch);
+
+	// 5xy - tone portamento + volume slide
+	else if (ch->effTyp == 5)
+	{
+		tonePorta(ch);
+		volume(ch);
+	}
+
+	// 6xy - vibrato + volume slide
+	else if (ch->effTyp == 6)
+	{
+		vibrato2(ch);
+		volume(ch);
+	}
+
+	// 7xy - tremolo
+	else if (ch->effTyp == 7)
+	{
+		tmpEff = ch->eff;
+		if (tmpEff > 0)
+		{
+			if ((tmpEff & 0x0F) > 0) ch->tremDepth = tmpEff & 0x0F;
+			if ((tmpEff & 0xF0) > 0) ch->tremSpeed = (tmpEff >> 4) * 4;
+		}
+
+		tmpTrem = (ch->tremPos / 4) & 0x1F;
+		switch ((ch->waveCtrl >> 4) & 3)
+		{
+			// 0: sine
+			case 0: tmpTrem = vibTab[tmpTrem]; break;
+
+			// 1: ramp
+			case 1:
+			{
+				tmpTrem *= 8;
+				if (ch->vibPos >= 128) tmpTrem ^= 0xFF; // FT2 bug, should've been TremPos
+			}
+			break;
+
+			// 2/3: square
+			default: tmpTrem = 255; break;
+		}
+		tmpTrem = (tmpTrem * ch->tremDepth) / 64;
+
+		if (ch->tremPos >= 128)
+		{
+			tremVol = ch->realVol - tmpTrem;
+			if (tremVol < 0)
+				tremVol = 0;
+		}
+		else
+		{
+			tremVol = ch->realVol + tmpTrem;
+			if (tremVol > 64)
+				tremVol = 64;
+		}
+
+		ch->outVol = tremVol & 0xFF;
+		ch->tremPos += ch->tremSpeed;
+		ch->status |= IS_Vol;
+	}
+
+	// Axy - volume slide
+	else if (ch->effTyp == 10) volume(ch); // actually volume slide
+
+	// Exy - E effects
+	else if (ch->effTyp == 14)
+	{
+		// E9x - note retrigger
+		if ((ch->eff & 0xF0) == 0x90)
+		{
+			if (ch->eff != 0x90) // E90 is handled in getNewNote()
+			{
+				if ((song.tempo-song.timer) % (ch->eff & 0x0F) == 0)
+				{
+					startTone(0, 0, 0, ch);
+					retrigEnvelopeVibrato(ch);
+				}
+			}
+		}
+
+		// ECx - note cut
+		else if ((ch->eff & 0xF0) == 0xC0)
+		{
+			if (((song.tempo-song.timer) & 0xFF) == (ch->eff & 0x0F))
+			{
+				ch->outVol = 0;
+				ch->realVol = 0;
+				ch->status |= (IS_Vol + IS_QuickVol);
+			}
+		}
+
+		// EDx - note delay
+		else if ((ch->eff & 0xF0) == 0xD0)
+		{
+			if (((song.tempo-song.timer) & 0xFF) == (ch->eff & 0x0F))
+			{
+				startTone(ch->tonTyp & 0xFF, 0, 0, ch);
+
+				if ((ch->tonTyp & 0xFF00) > 0)
+					retrigVolume(ch);
+
+				retrigEnvelopeVibrato(ch);
+
+				if (ch->volKolVol >= 0x10 && ch->volKolVol <= 0x50)
+				{
+					ch->outVol  = ch->volKolVol - 16;
+					ch->realVol = ch->outVol;
+				}
+				else if (ch->volKolVol >= 0xC0 && ch->volKolVol <= 0xCF)
+				{
+					ch->outPan = (ch->volKolVol & 0x0F) << 4;
+				}
+			}
+		}
+	}
+
+	// Hxy - global volume slide
+	else if (ch->effTyp == 17)
+	{
+		tmpEff = ch->eff;
+		if (tmpEff == 0)
+			tmpEff = ch->globVolSlideSpeed;
+
+		ch->globVolSlideSpeed = tmpEff;
+
+		if ((tmpEff & 0xF0) == 0)
+		{
+			// unsigned clamp
+			if (song.globVol >= tmpEff)
+				song.globVol -= tmpEff;
+			else
+				song.globVol = 0;
+		}
+		else
+		{
+			// unsigned clamp
+			if (song.globVol <= 64-(tmpEff >> 4))
+				song.globVol += tmpEff >> 4;
+			else
+				song.globVol = 64;
+		}
+
+		for (i = 0; i < song.antChn; i++) // update all voice volumes
+			stm[i].status |= IS_Vol;
+	}
+
+	// Kxx - key off
+	else if (ch->effTyp == 20)
+	{
+		if (((song.tempo-song.timer) & 31) == (ch->eff & 0x0F))
+			keyOff(ch);
+	}
+
+	// Pxy - panning slide
+	else if (ch->effTyp == 25)
+	{
+		tmpEff = ch->eff;
+		if (tmpEff == 0)
+			tmpEff = ch->panningSlideSpeed;
+
+		ch->panningSlideSpeed = tmpEff;
+
+		if ((tmpEff & 0xF0) == 0)
+		{
+			// unsigned clamp
+			if (ch->outPan >= tmpEff)
+				ch->outPan -= tmpEff;
+			else
+				ch->outPan = 0;
+		}
+		else
+		{
+			tmpEff >>= 4;
+
+			// unsigned clamp
+			if (ch->outPan <= 255-tmpEff)
+				ch->outPan += tmpEff;
+			else
+				ch->outPan = 255;
+		}
+
+		ch->status |= IS_Pan;
+	}
+
+	// Rxy - multi note retrig
+	else if (ch->effTyp == 27) multiRetrig(ch);
+
+	// Txy - tremor
+	else if (ch->effTyp == 29)
+	{
+		tmpEff = ch->eff;
+		if (tmpEff == 0)
+			tmpEff = ch->tremorSave;
+
+		ch->tremorSave = tmpEff;
+
+		tremorSign = ch->tremorPos & 0x80;
+		tremorData = ch->tremorPos & 0x7F;
+
+		tremorData--;
+		if ((tremorData & 0x80) > 0)
+		{
+			if (tremorSign == 0x80)
+			{
+				tremorSign = 0x00;
+				tremorData = tmpEff & 0x0F;
+			}
+			else
+			{
+				tremorSign = 0x80;
+				tremorData = tmpEff >> 4;
+			}
+		}
+
+		ch->tremorPos = tremorData | tremorSign;
+
+		ch->outVol = tremorSign ? ch->realVol : 0;
+		ch->status |= (IS_Vol + IS_QuickVol);
+	}
+}
+
+static void getNextPos(void)
+{
+	if (song.timer != 1)
+		return;
+
+	song.pattPos++;
+
+	if (song.pattDelTime > 0)
+	{
+		song.pattDelTime2 = song.pattDelTime;
+		song.pattDelTime = 0;
+	}
+
+	if (song.pattDelTime2 > 0)
+	{
+		if (--song.pattDelTime2 > 0)
+			song.pattPos--;
+	}
+
+	if (song.pBreakFlag)
+	{
+		song.pBreakFlag = false;
+		song.pattPos = song.pBreakPos;
+	}
+
+	if (song.pattPos >= song.pattLen || song.posJumpFlag)
+	{
+		song.pattPos = song.pBreakPos;
+		song.pBreakPos = 0;
+		song.posJumpFlag = false;
+
+		if (playMode != PLAYMODE_PATT && playMode != PLAYMODE_RECPATT)
+		{
+			if (bxxOverflow)
+			{
+				song.songPos = 0;
+				bxxOverflow = false;
+			}
+			else
+			{
+				if (++song.songPos >= song.len)
+				{
+					editor.wavReachedEndFlag = true;
+					song.songPos = song.repS;
+				}
+			}
+
+			assert(song.songPos <= 255);
+
+			song.pattNr = song.songTab[song.songPos & 0xFF];
+			song.pattLen = pattLens[song.pattNr & 0xFF];
+		}
+	}
+}
+
+void pauseMusic(void) // stops reading pattern data
+{
+	musicPaused = true;
+	while (replayerBusy);
+}
+
+void resumeMusic(void) // starts reading pattern data
+{
+	musicPaused = false;
+}
+
+static void noNewAllChannels(void)
+{
+	for (uint8_t i = 0; i < song.antChn; i++)
+	{
+		doEffects(&stm[i]);
+		fixaEnvelopeVibrato(&stm[i]);
+	}
+}
+
+void mainPlayer(void) // periodically called from audio callback
+{
+	uint8_t i;
+	bool readNewNote;
+
+	if (musicPaused || !songPlaying)
+	{
+		for (i = 0; i < song.antChn; i++)
+			fixaEnvelopeVibrato(&stm[i]);
+
+		return;
+	}
+
+	if (song.speed > 0)
+		song.musicTime += 65536 / song.speed; // for playback counter
+
+	readNewNote = false;
+	if (--song.timer == 0)
+	{
+		song.timer = song.tempo;
+		readNewNote = true;
+	}
+
+	// for visuals
+	song.curReplayerTimer   = (uint8_t)song.timer;
+	song.curReplayerPattPos = (uint8_t)song.pattPos;
+	song.curReplayerPattNr  = (uint8_t)song.pattNr;
+	song.curReplayerSongPos = (uint8_t)song.songPos;
+
+	if (readNewNote)
+	{
+		if (song.pattDelTime2 == 0)
+		{
+			for (i = 0; i < song.antChn; i++)
+			{
+				if (patt[song.pattNr] == NULL)
+					getNewNote(&stm[i], &nilPatternLine);
+				else
+					getNewNote(&stm[i], &patt[song.pattNr][(song.pattPos * MAX_VOICES) + i]);
+
+				fixaEnvelopeVibrato(&stm[i]);
+			}
+		}
+		else
+		{
+			noNewAllChannels();
+		}
+	}
+	else
+	{
+		noNewAllChannels();
+	}
+
+	getNextPos();
+}
+
+void resetMusic(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	song.timer = 1;
+	stopVoices();
+
+	if (audioWasntLocked)
+		unlockAudio();
+
+	setPos(0, 0);
+
+	if (!songPlaying)
+	{
+		setScrollBarEnd(SB_POS_ED, (song.len - 1) + 5);
+		setScrollBarPos(SB_POS_ED, 0, false);
+	}
+}
+
+void setPos(int16_t songPos, int16_t pattPos)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (songPos > -1)
+	{
+		song.songPos = songPos;
+		if (song.len > 0 && song.songPos >= song.len)
+			song.songPos = song.len - 1;
+
+		song.pattNr = song.songTab[songPos];
+		assert(song.pattNr < MAX_PATTERNS);
+		song.pattLen = pattLens[song.pattNr];
+
+		checkMarkLimits(); // non-FT2 safety
+	}
+
+	if (pattPos > -1)
+	{
+		song.pattPos = pattPos;
+		if (song.pattPos >= song.pattLen)
+			song.pattPos = song.pattLen - 1;
+	}
+
+	// if not playing, update local position variables
+	if (!songPlaying)
+	{
+		if (pattPos > -1)
+		{
+			editor.pattPos = (uint8_t)pattPos;
+			editor.ui.updatePatternEditor = true;
+		}
+
+		if (songPos > -1)
+		{
+			editor.editPattern = (uint8_t)song.pattNr;
+			editor.songPos = song.songPos;
+			editor.ui.updatePosSections = true;
+		}
+	}
+
+	song.timer = 1;
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void delta2Samp(int8_t *p, int32_t len, uint8_t typ)
+{
+	int8_t *p8, news8, olds8L, olds8R;
+	int16_t *p16, news16, olds16L, olds16R, tmp16;
+	int32_t i, tmp32;
+
+	if (typ & 16) len /= 2; // 16-bit
+	if (typ & 32) len /= 2; // stereo
+
+	if (typ & 32)
+	{
+		if (typ & 16)
+		{
+			p16 = (int16_t *)p;
+
+			olds16L = 0;
+			olds16R = 0;
+
+			for (i = 0; i < len; i++)
+			{
+				news16 = p16[i] + olds16L;
+				p16[i] = news16;
+				olds16L = news16;
+
+				news16 = p16[len+i] + olds16R;
+				p16[len+i] = news16;
+				olds16R = news16;
+
+				tmp32 = olds16L + olds16R;
+				p16[i] = (int16_t)(tmp32 >> 1);
+			}
+		}
+		else
+		{
+			p8 = (int8_t *)p;
+
+			olds8L = 0;
+			olds8R = 0;
+
+			for (i = 0; i < len; i++)
+			{
+				news8 = p8[i] + olds8L;
+				p8[i] = news8;
+				olds8L = news8;
+
+				news8 = p8[len+i] + olds8R;
+				p8[len+i] = news8;
+				olds8R = news8;
+
+				tmp16 = olds8L + olds8R;
+				p8[i] = (int8_t)(tmp16 >> 1);
+			}
+		}
+	}
+	else
+	{
+		if (typ & 16)
+		{
+			p16 = (int16_t *)p;
+
+			olds16L = 0;
+			for (i = 0; i < len; i++)
+			{
+				news16 = p16[i] + olds16L;
+				p16[i] = news16;
+				olds16L = news16;
+			}
+		}
+		else
+		{
+			p8 = (int8_t *)p;
+
+			olds8L = 0;
+			for (i = 0; i < len; i++)
+			{
+				news8 = p8[i] + olds8L;
+				p8[i] = news8;
+				olds8L = news8;
+			}
+		}
+	}
+}
+
+void samp2Delta(int8_t *p, int32_t len, uint8_t typ)
+{
+	int8_t *p8, news8, olds8;
+	int16_t *p16, news16, olds16;
+	int32_t i;
+
+	if (typ & 16) len /= 2; // 16-bit
+
+	if (typ & 16)
+	{
+		p16 = (int16_t *)p;
+
+		news16 = 0;
+		for (i = 0; i < len; i++)
+		{
+			olds16 = p16[i];
+			p16[i] -= news16;
+			news16 = olds16;
+		}
+	}
+	else
+	{
+		p8 = (int8_t *)p;
+
+		news8 = 0;
+		for (i = 0; i < len; i++)
+		{
+			olds8 = p8[i];
+			p8[i] -= news8;
+			news8 = olds8;
+		}
+	}
+}
+
+bool allocateInstr(int16_t nr)
+{
+	bool audioWasntLocked;
+	instrTyp *p;
+
+	if (instr[nr] != NULL)
+		return false; // already allocated
+
+	p = (instrTyp *)malloc(sizeof (instrTyp));
+	if (p == NULL)
+		return false;
+
+	memset(p, 0, sizeof (instrTyp));
+
+	for (int8_t i = 0; i < 16; i++) // set standard sample pan/vol
+	{
+		p->samp[i].pan = 128;
+		p->samp[i].vol = 64;
+	}
+
+	setStdEnvelope(p, 0, 3);
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	instr[nr] = p;
+
+	if (audioWasntLocked)
+		unlockAudio();
+
+	return true;
+}
+
+void freeInstr(int16_t nr)
+{
+	if (instr[nr] == NULL)
+		return; // not allocated
+
+	pauseAudio(); // channel instrument pointers are now cleared
+
+	for (int8_t i = 0; i < 16; i++) // free sample data
+	{
+		if (instr[nr]->samp[i].pek != NULL)
+			free(instr[nr]->samp[i].pek);
+	}
+
+	free(instr[nr]);
+	instr[nr] = NULL;
+	
+	resumeAudio();
+}
+
+void freeAllInstr(void)
+{
+	pauseAudio(); // channel instrument pointers are now cleared
+	for (int16_t i = 1; i <= MAX_INST; i++)
+	{
+		if (instr[i] != NULL)
+		{
+			for (int8_t j = 0; j < MAX_SMP_PER_INST; j++) // free sample data
+			{
+				if (instr[i]->samp[j].pek != NULL)
+					free(instr[i]->samp[j].pek);
+			}
+
+			free(instr[i]);
+			instr[i] = NULL;
+		}
+	}
+	resumeAudio();
+}
+
+void freeSample(int16_t nr, int16_t nr2)
+{
+	sampleTyp *s;
+
+	if (instr[nr] == NULL)
+		return; // instrument not allocated
+
+	pauseAudio(); // voice sample pointers are now cleared
+
+	s = &instr[nr]->samp[nr2];
+	if (s->pek != NULL)
+		free(s->pek);
+
+	memset(s, 0, sizeof (sampleTyp));
+
+	s->pan = 128;
+	s->vol = 64;
+
+	resumeAudio();
+}
+
+void freeAllPatterns(void)
+{
+	pauseAudio();
+	for (uint16_t i = 0; i < MAX_PATTERNS; i++)
+	{
+		if (patt[i] != NULL)
+		{
+			free(patt[i]);
+			patt[i] = NULL;
+		}
+	}
+	resumeAudio();
+}
+
+void setStdEnvelope(instrTyp *ins, int16_t i, uint8_t typ)
+{
+	if (ins == NULL)
+		return;
+
+	pauseMusic();
+
+	if (typ & 1)
+	{
+		memcpy(ins->envVP, config.stdEnvP[i][0], 2*2*12);
+		ins->envVPAnt = (uint8_t)config.stdVolEnvAnt[i];
+		ins->envVSust = (uint8_t)config.stdVolEnvSust[i];
+		ins->envVRepS = (uint8_t)config.stdVolEnvRepS[i];
+		ins->envVRepE = (uint8_t)config.stdVolEnvRepE[i];
+		ins->fadeOut = config.stdFadeOut[i];
+		ins->vibRate = (uint8_t)config.stdVibRate[i];
+		ins->vibDepth = (uint8_t)config.stdVibDepth[i];
+		ins->vibSweep = (uint8_t)config.stdVibSweep[i];
+		ins->vibTyp = (uint8_t)config.stdVibTyp[i];
+		ins->envVTyp = (uint8_t)config.stdVolEnvTyp[i];
+	}
+
+	if (typ & 2)
+	{
+		memcpy(ins->envPP, config.stdEnvP[i][1], 2*2*12);
+		ins->envPPAnt = (uint8_t)config.stdPanEnvAnt[0];
+		ins->envPSust = (uint8_t)config.stdPanEnvSust[0];
+		ins->envPRepS = (uint8_t)config.stdPanEnvRepS[0];
+		ins->envPRepE = (uint8_t)config.stdPanEnvRepE[0];
+		ins->envPTyp  = (uint8_t)config.stdPanEnvTyp[0];
+	}
+
+	resumeMusic();
+}
+
+void setNoEnvelope(instrTyp *ins)
+{
+	if (ins == NULL)
+		return;
+
+	pauseMusic();
+
+	memcpy(ins->envVP, config.stdEnvP[0][0], 2*2*12);
+	ins->envVPAnt = (uint8_t)config.stdVolEnvAnt[0];
+	ins->envVSust = (uint8_t)config.stdVolEnvSust[0];
+	ins->envVRepS = (uint8_t)config.stdVolEnvRepS[0];
+	ins->envVRepE = (uint8_t)config.stdVolEnvRepE[0];
+	ins->envVTyp = 0;
+
+	memcpy(ins->envPP, config.stdEnvP[0][1], 2*2*12);
+	ins->envPPAnt = (uint8_t)config.stdPanEnvAnt[0];
+	ins->envPSust = (uint8_t)config.stdPanEnvSust[0];
+	ins->envPRepS = (uint8_t)config.stdPanEnvRepS[0];
+	ins->envPRepE = (uint8_t)config.stdPanEnvRepE[0];
+	ins->envPTyp = 0;
+
+	ins->fadeOut = 0;
+	ins->vibRate = 0;
+	ins->vibDepth = 0;
+	ins->vibSweep = 0;
+	ins->vibTyp = 0;
+
+	resumeMusic();
+}
+
+bool patternEmpty(uint16_t nr)
+{
+	uint8_t *scanPtr;
+	uint32_t scanLen;
+
+	if (patt[nr] == NULL)
+		return true;
+
+	scanPtr = (uint8_t *)patt[nr];
+	scanLen = pattLens[nr] * TRACK_WIDTH;
+
+	for (uint32_t i = 0; i < scanLen; i++)
+	{
+		if (scanPtr[i] != 0)
+			return false;
+	}
+
+	return true;
+}
+
+void updateChanNums(void)
+{
+	uint8_t pageLen;
+
+	assert(!(song.antChn & 1));
+
+	pageLen = 8;
+	if (config.ptnS3M)
+	{
+		     if (song.antChn == 2) pageLen = 4;
+		else if (song.antChn == 4) pageLen = 4;
+		else if (song.antChn == 6) pageLen = 6;
+		else if (song.antChn >= 8) pageLen = 8;
+	}
+	else
+	{
+		     if (song.antChn ==  2) pageLen = 4;
+		else if (song.antChn ==  4) pageLen = 4;
+		else if (song.antChn ==  6) pageLen = 6;
+		else if (song.antChn ==  8) pageLen = 8;
+		else if (song.antChn == 10) pageLen = 10;
+		else if (song.antChn >= 12) pageLen = 12;
+	}
+
+	editor.ui.numChannelsShown = pageLen;
+	if (song.antChn == 2)
+		editor.ui.numChannelsShown = 2;
+
+	if (config.ptnMaxChannels == 0)
+	{
+		if (editor.ui.numChannelsShown > 4)
+			editor.ui.numChannelsShown = 4;
+	}
+	else if (config.ptnMaxChannels == 1)
+	{
+		if (editor.ui.numChannelsShown > 6)
+			editor.ui.numChannelsShown = 6;
+	}
+	else if (config.ptnMaxChannels == 2)
+	{
+		if (editor.ui.numChannelsShown > 8)
+			editor.ui.numChannelsShown = 8;
+	}
+	else if (config.ptnMaxChannels == 3)
+	{
+		if (config.ptnS3M)
+		{
+			if (editor.ui.numChannelsShown > 8)
+				editor.ui.numChannelsShown = 8;
+		}
+		else
+		{
+			if (editor.ui.numChannelsShown > 12)
+				editor.ui.numChannelsShown = 12;
+		}
+	}
+
+	editor.ui.pattChanScrollShown = (song.antChn > getMaxVisibleChannels());
+
+	if (editor.ui.patternEditorShown)
+	{
+		if (editor.ui.channelOffset > song.antChn-editor.ui.numChannelsShown)
+			setScrollBarPos(SB_CHAN_SCROLL, song.antChn - editor.ui.numChannelsShown, true);
+	}
+
+	if (editor.ui.pattChanScrollShown)
+	{
+		if (editor.ui.patternEditorShown)
+		{
+			showScrollBar(SB_CHAN_SCROLL);
+			showPushButton(PB_CHAN_SCROLL_LEFT);
+			showPushButton(PB_CHAN_SCROLL_RIGHT);
+		}
+
+		setScrollBarEnd(SB_CHAN_SCROLL, song.antChn);
+		setScrollBarPageLength(SB_CHAN_SCROLL, editor.ui.numChannelsShown);
+	}
+	else
+	{
+		hideScrollBar(SB_CHAN_SCROLL);
+		hidePushButton(PB_CHAN_SCROLL_LEFT);
+		hidePushButton(PB_CHAN_SCROLL_RIGHT);
+
+		setScrollBarPos(SB_CHAN_SCROLL, 0, false);
+
+		editor.ui.channelOffset = 0;
+	}
+
+	if (editor.cursor.ch >= editor.ui.channelOffset+editor.ui.numChannelsShown)
+		editor.cursor.ch = editor.ui.channelOffset+editor.ui.numChannelsShown - 1;
+}
+
+void conv8BitSample(int8_t *p, int32_t len, bool stereo)
+{
+	int8_t *p2, l, r;
+	int16_t tmp16;
+	int32_t i;
+
+	if (stereo)
+	{
+		len /= 2;
+
+		p2 = &p[len];
+		for (i = 0; i < len; i++)
+		{
+			l = p[i]  - 128;
+			r = p2[i] - 128;
+
+			tmp16 = l + r;
+			p[i] = (int8_t)(tmp16 >> 1);
+		}
+	}
+	else
+	{
+		for (i = 0; i < len; i++)
+			p[i] -= 128;
+	}
+}
+
+void conv16BitSample(int8_t *p, int32_t len, bool stereo)
+{
+	int16_t *p16_1, *p16_2, l, r;
+	int32_t i, tmp32;
+
+	p16_1 = (int16_t *)p;
+
+	len /= 2;
+
+	if (stereo)
+	{
+		len /= 2;
+
+		p16_2 = (int16_t *)&p[len * 2];
+		for (i = 0; i < len; i++)
+		{
+			l = p16_1[i] - 32768;
+			r = p16_2[i] - 32768;
+
+			tmp32 = l + r;
+			p16_1[i] = (int16_t)(tmp32 >> 1);
+		}
+	}
+	else
+	{
+		for (i = 0; i < len; i++)
+			p16_1[i] -= 32768;
+	}
+}
+
+void closeReplayer(void)
+{
+	freeAllInstr();
+	freeAllPatterns();
+
+	if (logTab != NULL)
+	{
+		free(logTab);
+		logTab = NULL;
+	}
+
+	if (amigaPeriods != NULL)
+	{
+		free(amigaPeriods);
+		amigaPeriods = NULL;
+	}
+
+	if (linearPeriods != NULL)
+	{
+		free(linearPeriods);
+		linearPeriods = NULL;
+	}
+
+	if (instr[0] != NULL)
+	{
+		free(instr[0]);
+		instr[0] = NULL;
+	}
+
+	if (instr[130] != NULL)
+	{
+		free(instr[130]);
+		instr[130] = NULL;
+	}
+
+	if (instr[131] != NULL)
+	{
+		free(instr[131]);
+		instr[131] = NULL;
+	}
+}
+
+bool setupReplayer(void)
+{
+	uint16_t i, k;
+	int16_t noteVal;
+
+	// allocate memory for pointers
+
+	for (i = 0; i < MAX_PATTERNS; i++)
+		pattLens[i] = 64;
+
+	if (linearPeriods == NULL)
+		linearPeriods = (int16_t *)malloc(sizeof (int16_t) * ((12 * 10 * 16) + 16));
+
+	if (amigaPeriods == NULL)
+		amigaPeriods = (int16_t *)malloc(sizeof (int16_t) * ((12 * 10 * 16) + 16));
+
+	if (logTab == NULL)
+		logTab = (uint32_t *)malloc(sizeof (int32_t) * 768);
+
+	if (linearPeriods == NULL || amigaPeriods == NULL || logTab == NULL)
+	{
+		showErrorMsgBox("Not enough memory!");
+		return false;
+	}
+
+	// generate tables, bit-exact to original FT2
+
+	// log table
+	for (i = 0; i < 768; i++)
+		logTab[i] = (uint32_t)round(16777216.0 * exp((i / 768.0) * M_LN2));
+
+	// linear table
+	for (i = 0; i < (12*10*16)+16; i++)
+		linearPeriods[i] = (((12 * 10 * 16) + 16) * 4) - (i * 4);
+
+	/* Amiga period table
+	** This has a LUT read overflow in real FT2 making the last 17 values trash. We patch those later. */
+	k = 0;
+	for (i = 0; i < 10; i++)
+	{
+		for (uint16_t j = 0; j < 96; j++)
+		{
+			noteVal = ((amigaFinePeriod[j] * 64) + (-1 + (1 << i))) >> (i + 1);
+
+			amigaPeriods[k++] = noteVal;
+			amigaPeriods[k++] = noteVal; // copy for interpolation applied later
+		}
+	}
+
+	// interpolate between points
+	for (i = 0; i < (12*10*8)+7; i++)
+		amigaPeriods[(i * 2) + 1] = (amigaPeriods[i * 2] + amigaPeriods[(i * 2) + 2]) / 2;
+
+	// the following 17 values are confirmed to be the correct table LUT overflow values in real FT2
+	amigaPeriods[1919] = 22; amigaPeriods[1920] = 16; amigaPeriods[1921] =  8; amigaPeriods[1922] =  0;
+	amigaPeriods[1923] = 16; amigaPeriods[1924] = 32; amigaPeriods[1925] = 24; amigaPeriods[1926] = 16;
+	amigaPeriods[1927] =  8; amigaPeriods[1928] =  0; amigaPeriods[1929] = 16; amigaPeriods[1930] = 32;
+	amigaPeriods[1931] = 24; amigaPeriods[1932] = 16; amigaPeriods[1933] =  8; amigaPeriods[1934] =  0;
+	amigaPeriods[1935] =  0;
+
+	playMode = PLAYMODE_IDLE;
+	songPlaying = false;
+
+	resetChannels();
+
+	song.len = 1;
+	song.antChn = 8;
+
+	editor.speed = song.speed = 125;
+	editor.tempo = song.tempo = 6;
+	editor.globalVol = song.globVol = 64;
+	song.initialTempo = song.tempo;
+
+	setFrqTab(true);
+	setPos(0, 0);
+
+	if (!allocateInstr(0))
+	{
+		showErrorMsgBox("Not enough memory!");
+		return false;
+	}
+	instr[0]->samp[0].vol = 0;
+
+	if (!allocateInstr(130))
+	{
+		showErrorMsgBox("Not enough memory!");
+		return false;
+	}
+	memset(instr[130], 0, sizeof (instrTyp));
+
+	if (!allocateInstr(131)) // Instr. Ed. display instrument for unallocated/empty instruments
+	{
+		showErrorMsgBox("Not enough memory!");
+		return false;
+	}
+	memset(instr[131], 0, sizeof (instrTyp));
+	for (i = 0; i < 16; i++)
+		instr[131]->samp[i].pan = 128;
+
+	// unmute all channels
+	for (i = 0; i < MAX_VOICES; i++)
+		editor.chnMode[i] = true;
+
+	editor.tmpPattern = 65535; // pattern editor update/redraw kludge
+	return true;
+}
+
+void startPlaying(int8_t mode, int16_t row)
+{
+	lockMixerCallback();
+
+	assert(mode != PLAYMODE_IDLE && mode != PLAYMODE_EDIT);
+
+	if (mode == PLAYMODE_PATT || mode == PLAYMODE_RECPATT)
+		setPos(-1, row);
+	else
+		setPos(editor.songPos, row);
+
+	playMode = mode;
+	songPlaying = true;
+	song.globVol = 64;
+	song.musicTime = 0;
+	song.pattDelTime2 = 0;
+	song.pattDelTime = 0;
+
+	// non-FT2 fix: If song speed was 0, set it back to initial speed on play
+	if (song.tempo == 0)
+		song.tempo = song.initialTempo;
+
+	unlockMixerCallback();
+
+	editor.ui.updatePosSections = true;
+	editor.ui.updatePatternEditor = true;
+}
+
+void stopPlaying(void)
+{
+	uint8_t i;
+	bool songWasPlaying;
+
+	songWasPlaying = songPlaying;
+	playMode = PLAYMODE_IDLE;
+	songPlaying = false;
+
+	if (config.killNotesOnStopPlay)
+	{
+		// safely kills all voices
+		lockMixerCallback();
+		unlockMixerCallback();
+
+		// prevent getFrequenceValue() from calculating the rates forever
+		for (i = 0; i < MAX_VOICES; i++)
+			stm[i].outPeriod = 0;
+	}
+	else
+	{
+		for (i = 0; i < MAX_VOICES; i++)
+			playTone(i, 0, 97, -1, 0, 0);
+	}
+
+	// if song was playing, update local pattPos (fixes certain glitches)
+	if (songWasPlaying)
+		editor.pattPos = song.pattPos;
+
+	midi.currMIDIVibDepth = 0;
+	midi.currMIDIPitch = 0;
+
+	memset(editor.keyOnTab, 0, sizeof (editor.keyOnTab));
+
+	editor.ui.updatePosSections = true;
+	editor.ui.updatePatternEditor = true;
+
+	// certain non-FT2 fixes
+	song.timer = editor.timer = 1;
+	song.globVol = editor.globalVol = 64;
+	editor.ui.drawGlobVolFlag = true;
+}
+
+// from keyboard/smp. ed.
+void playTone(uint8_t stmm, uint8_t inst, uint8_t ton, int8_t vol, uint16_t midiVibDepth, uint16_t midiPitch)
+{
+	sampleTyp *s;
+	stmTyp *ch;
+	instrTyp *ins = instr[inst];
+
+	if (ins == NULL)
+		return;
+
+	assert(stmm < MAX_VOICES && inst < MAX_INST && ton <= 97);
+	ch = &stm[stmm];
+
+	if (ton != 97)
+	{
+		if (ton < 1 || ton > 96)
+			return;
+
+		s = &ins->samp[ins->ta[ton-1] & 0x0F];
+		if (s->pek == NULL || s->len == 0 || ton+s->relTon <= 0 || ton+s->relTon >= 12*10)
+			return;
+	}
+
+	lockAudio();
+
+	if (inst != 0 && ton != 97)
+	{
+		ch->tonTyp = (inst << 8) | (ch->tonTyp & 0xFF);
+		ch->instrNr = inst;
+	}
+
+	ch->tonTyp = (ch->tonTyp & 0xFF00) | ton;
+	ch->effTyp = 0;
+	ch->eff = 0;
+
+	startTone(ton, 0, 0, ch);
+
+	if (ton != 97)
+	{
+		retrigVolume(ch);
+		retrigEnvelopeVibrato(ch);
+
+		if (vol != -1) // if jamming note keys, vol -1 = use sample's volume
+		{
+			ch->realVol = vol;
+			ch->outVol = vol;
+			ch->oldVol = vol;
+		}
+	}
+
+	ch->midiVibDepth = midiVibDepth;
+	ch->midiPitch = midiPitch;
+
+	fixaEnvelopeVibrato(ch);
+
+	unlockAudio();
+}
+
+// smp. ed.
+void playSample(uint8_t stmm, uint8_t inst, uint8_t smpNr, uint8_t ton, uint16_t midiVibDepth, uint16_t midiPitch)
+{
+	uint8_t vol;
+	stmTyp *ch;
+
+	if (instr[inst] == NULL)
+		return;
+
+	// for sampling playback line in Smp. Ed.
+	lastChInstr[stmm].instrNr = 255;
+	lastChInstr[stmm].sampleNr = 255;
+	editor.curPlayInstr = 255;
+	editor.curPlaySmp = 255;
+
+	assert(stmm < MAX_VOICES && inst < MAX_INST && smpNr < MAX_SMP_PER_INST && ton <= 97);
+	ch = &stm[stmm];
+
+	memcpy(&instr[130]->samp[0], &instr[inst]->samp[smpNr], sizeof (sampleTyp));
+
+	vol = instr[inst]->samp[smpNr].vol;
+	
+	lockAudio();
+
+	ch->instrNr = 130;
+	ch->tonTyp = (ch->instrNr << 8) | ton;
+	ch->effTyp = 0;
+
+	startTone(ton, 0, 0, ch);
+
+	if (ton != 97)
+	{
+		retrigVolume(ch);
+		retrigEnvelopeVibrato(ch);
+
+		ch->realVol = vol;
+		ch->outVol = vol;
+		ch->oldVol = vol;
+	}
+
+	ch->midiVibDepth = midiVibDepth;
+	ch->midiPitch = midiPitch;
+
+	fixaEnvelopeVibrato(ch);
+
+	unlockAudio();
+
+	while (ch->status & IS_NyTon); // wait for sample to latch in mixer
+
+	// for sampling playback line in Smp. Ed.
+	editor.curPlayInstr = editor.curInstr;
+	editor.curPlaySmp = editor.curSmp;
+}
+
+// smp. ed.
+void playRange(uint8_t stmm, uint8_t inst, uint8_t smpNr, uint8_t ton, uint16_t midiVibDepth, uint16_t midiPitch, int32_t offs, int32_t len)
+{
+	uint8_t vol;
+	int32_t samplePlayOffset;
+	stmTyp *ch;
+	sampleTyp *s;
+
+	if (instr[inst] == NULL)
+		return;
+
+	// for sampling playback line in Smp. Ed.
+	lastChInstr[stmm].instrNr = 255;
+	lastChInstr[stmm].sampleNr = 255;
+	editor.curPlayInstr = 255;
+	editor.curPlaySmp = 255;
+
+	assert(stmm < MAX_VOICES && inst < MAX_INST && smpNr < MAX_SMP_PER_INST && ton <= 97);
+
+	ch = &stm[stmm];
+	s = &instr[130]->samp[0];
+
+	memcpy(s, &instr[inst]->samp[smpNr], sizeof (sampleTyp));
+
+	vol = instr[inst]->samp[smpNr].vol;
+
+	if (s->typ & 16)
+	{
+		offs &= 0xFFFFFFFE;
+		len &= 0xFFFFFFFE;
+	}
+
+	lockAudio();
+
+	s->len = offs + len;
+	s->repS = 0;
+	s->repL = 0;
+	s->typ &= 16; // only keep 8-bit/16-bit flag (disable loop)
+
+	samplePlayOffset = offs;
+	if (s->typ & 16)
+		samplePlayOffset >>= 1;
+
+	ch->instrNr = 130;
+	ch->tonTyp = (ch->instrNr << 8) | ton;
+	ch->effTyp = 0;
+
+	startTone(ton, 0, 0, ch);
+
+	ch->smpStartPos = samplePlayOffset;
+
+	if (ton != 97)
+	{
+		retrigVolume(ch);
+		retrigEnvelopeVibrato(ch);
+
+		ch->realVol = vol;
+		ch->outVol = vol;
+		ch->oldVol = vol;
+	}
+
+	ch->midiVibDepth = midiVibDepth;
+	ch->midiPitch = midiPitch;
+
+	fixaEnvelopeVibrato(ch);
+
+	unlockAudio();
+
+	while (ch->status & IS_NyTon); // wait for sample to latch in mixer
+
+	// for sampling playback line in Smp. Ed.
+	editor.curPlayInstr = editor.curInstr;
+	editor.curPlaySmp = editor.curSmp;
+}
+
+void stopVoices(void)
+{
+	bool audioWasntLocked;
+	stmTyp *ch;
+
+	audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	for (uint8_t i = 0; i < MAX_VOICES; i++)
+	{
+		ch = &stm[i];
+
+		lastChInstr[i].sampleNr = 255;
+		lastChInstr[i].instrNr = 255;
+
+		ch->tonTyp = 0;
+		ch->relTonNr = 0;
+		ch->instrNr = 0;
+		ch->instrSeg = instr[0]; // important: set instrument pointer to instr 0 (placeholder instrument)
+		ch->status = IS_Vol;
+		ch->realVol = 0;
+		ch->outVol = 0;
+		ch->oldVol = 0;
+		ch->finalVol = 0;
+		ch->oldPan = 128;
+		ch->outPan = 128;
+		ch->finalPan = 128;
+		ch->vibDepth = 0;
+		ch->midiVibDepth = 0;
+		ch->midiPitch = 0;
+		ch->smpPtr = NULL;
+		ch->portaDir = 0; // FT2 bugfix: weird 3xx behavior if not used with note
+
+		stopVoice(i);
+	}
+
+	// for sampling playback line in Smp. Ed.
+	editor.curPlayInstr = 255;
+	editor.curPlaySmp = 255;
+
+	stopAllScopes();
+	resetDitherSeed();
+	resetOldRates();
+
+	// wait for scope thread to finish, so that we know pointers aren't deprecated
+	while (editor.scopeThreadMutex);
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void decSongPos(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.songPos > 0)
+		setPos(song.songPos - 1, 0);
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void incSongPos(void)
+{
+	bool audioWasntLocked = !audio.locked;
+	if (audioWasntLocked)
+		lockAudio();
+
+	if (song.songPos < song.len-1)
+		setPos(song.songPos + 1, 0);
+
+	if (audioWasntLocked)
+		unlockAudio();
+}
+
+void decCurIns(void)
+{
+	if (editor.curInstr <= 1)
+		return;
+
+	editor.curInstr--;
+	if ((editor.curInstr > 0x40 && !editor.instrBankSwapped) || (editor.curInstr <= 0x40 && editor.instrBankSwapped))
+		pbSwapInstrBank();
+
+	editor.instrBankOffset = ((editor.curInstr - 1) / 8) * 8;
+ 
+	updateTextBoxPointers();
+	updateNewInstrument();
+
+	if (editor.ui.advEditShown)
+		updateAdvEdit();
+}
+
+void incCurIns(void)
+{
+	if (editor.curInstr >= MAX_INST)
+		return;
+
+	editor.curInstr++;
+	if ((editor.curInstr > 0x40 && !editor.instrBankSwapped) || (editor.curInstr <= 0x40 && editor.instrBankSwapped))
+		pbSwapInstrBank();
+
+	editor.instrBankOffset = ((editor.curInstr - 1) / 8) * 8;
+ 
+	updateTextBoxPointers();
+	updateNewInstrument();
+
+	if (editor.ui.advEditShown)
+		updateAdvEdit();
+}
+
+void decCurSmp(void)
+{
+	if (editor.curSmp == 0)
+		return;
+
+	editor.curSmp--;
+
+	editor.sampleBankOffset = (editor.curSmp / 5) * 5;
+	setScrollBarPos(SB_SAMPLE_LIST, editor.sampleBankOffset, true);
+
+	updateTextBoxPointers();
+	updateNewSample();
+}
+
+void incCurSmp(void)
+{
+	if (editor.curSmp >= MAX_SMP_PER_INST-1)
+		return;
+
+	editor.curSmp++;
+
+	editor.sampleBankOffset = (editor.curSmp / 5) * 5;
+	setScrollBarPos(SB_SAMPLE_LIST, editor.sampleBankOffset, true);
+
+	updateTextBoxPointers();
+	updateNewSample();
+}
+
+void pbPlaySong(void)
+{
+	startPlaying(PLAYMODE_SONG, 0);
+}
+
+void pbPlayPtn(void)
+{
+	startPlaying(PLAYMODE_PATT, 0);
+}
+
+void pbRecSng(void)
+{
+	startPlaying(PLAYMODE_RECSONG, 0);
+}
+
+void pbRecPtn(void)
+{
+	startPlaying(PLAYMODE_RECPATT, 0);
+}
+
+void setSyncedReplayerVars(void)
+{
+	uint8_t scopeUpdateStatus[MAX_VOICES];
+	uint64_t frameTime64;
+
+	pattSyncEntry = NULL;
+	chSyncEntry = NULL;
+
+	memset(scopeUpdateStatus, 0, sizeof (scopeUpdateStatus)); // this is needed
+
+	frameTime64 = SDL_GetPerformanceCounter();
+
+	// handle channel sync queue
+
+	while (chQueueClearing);
+
+	chQueueReading = true;
+	while (chQueueReadSize() > 0)
+	{
+		if (frameTime64 < getChQueueTimestamp())
+			break; // we have no more stuff to render for now
+
+		chSyncEntry = chQueuePeek();
+		if (chSyncEntry == NULL)
+			break;
+
+		for (uint32_t i = 0; i < song.antChn; i++)
+			scopeUpdateStatus[i] |= chSyncEntry->channels[i].status; // yes, OR the status
+
+		if (!chQueuePop())
+			break;
+	}
+	chQueueReading = false;
+
+	/* extra validation because of possible issues when the buffer is full
+	** and positions are being reset, which is not entirely thread safe. */
+	if (chSyncEntry != NULL && chSyncEntry->timestamp == 0)
+		chSyncEntry = NULL;
+
+	// handle pattern sync queue
+
+	while (pattQueueClearing);
+
+	pattQueueReading = true;
+	while (pattQueueReadSize() > 0)
+	{
+		if (frameTime64 < getPattQueueTimestamp())
+			break; // we have no more stuff to render for now
+
+		pattSyncEntry = pattQueuePeek();
+		if (pattSyncEntry == NULL)
+			break;
+
+		if (!pattQueuePop())
+			break;
+	}
+	pattQueueReading = false;
+
+	/* extra validation because of possible issues when the buffer is full
+	** and positions are being reset, which is not entirely thread safe. */
+	if (pattSyncEntry != NULL && pattSyncEntry->timestamp == 0)
+		pattSyncEntry = NULL;
+
+	// do actual updates
+
+	if (chSyncEntry != NULL)
+	{
+		handleScopesFromChQueue(chSyncEntry, scopeUpdateStatus);
+		editor.ui.drawReplayerPianoFlag = true;
+	}
+
+	if (!songPlaying || pattSyncEntry == NULL)
+		return;
+
+	// we have a new tick
+
+	editor.timer = pattSyncEntry->timer;
+
+	if (editor.speed != pattSyncEntry->speed)
+	{
+		editor.speed = pattSyncEntry->speed;
+		editor.ui.drawBPMFlag = true;
+	}
+
+	if (editor.tempo != pattSyncEntry->tempo)
+	{
+		editor.tempo = pattSyncEntry->tempo;
+		editor.ui.drawSpeedFlag = true;
+	}
+
+	if (editor.globalVol != pattSyncEntry->globalVol)
+	{
+		editor.globalVol = pattSyncEntry->globalVol;
+		editor.ui.drawGlobVolFlag = true;
+	}
+
+	if (editor.songPos != pattSyncEntry->songPos)
+	{
+		editor.songPos = pattSyncEntry->songPos;
+		editor.ui.drawPosEdFlag = true;
+	}
+
+	// somewhat of a kludge...
+	if (editor.tmpPattern != pattSyncEntry->pattern || editor.pattPos != pattSyncEntry->patternPos)
+	{
+		// set pattern number
+		editor.editPattern = editor.tmpPattern = pattSyncEntry->pattern;
+		checkMarkLimits();
+		editor.ui.drawPattNumLenFlag = true;
+
+		// set row
+		editor.pattPos = (uint8_t)pattSyncEntry->patternPos;
+		editor.ui.updatePatternEditor = true;
+	}
+}
+
+// TABLES
+
+const char modSig[32][5] =
+{
+	"1CHN", "2CHN", "3CHN", "4CHN", "5CHN", "6CHN", "7CHN", "8CHN",
+	"9CHN", "10CH", "11CH", "12CH", "13CH", "14CH", "15CH", "16CH",
+	"17CH", "18CH", "19CH", "20CH", "21CH", "22CH", "23CH", "24CH",
+	"25CH", "26CH", "27CH", "28CH", "29CH", "30CH", "31CH", "32CH"
+};
+
+const int8_t vibSineTab[256] = 
+{
+	 0,-2,-3,-5,-6,-8,-9,-11,-12,-14,-16,-17,-19,-20,-22,-23,-24,-26,-27,
+   -29,-30,-32,-33,-34,-36,-37,-38,-39,-41,-42,-43,-44,-45,-46,-47,-48,
+   -49,-50,-51,-52,-53,-54,-55,-56,-56,-57,-58,-59,-59,-60,-60,-61,-61,
+   -62,-62,-62,-63,-63,-63,-64,-64,-64,-64,-64,-64,-64,-64,-64,-64,-64,
+   -63,-63,-63,-62,-62,-62,-61,-61,-60,-60,-59,-59,-58,-57,-56,-56,-55,
+   -54,-53,-52,-51,-50,-49,-48,-47,-46,-45,-44,-43,-42,-41,-39,-38,-37,
+   -36,-34,-33,-32,-30,-29,-27,-26,-24,-23,-22,-20,-19,-17,-16,-14,-12,
+   -11,-9,-8,-6,-5,-3,-2,0,2,3,5,6,8,9,11,12,14,16,17,19,20,22,23,24,26,
+	27,29,30,32,33,34,36,37,38,39,41,42,43,44,45,46,47,48,49,50,51,52,53,
+	54,55,56,56,57,58,59,59,60,60,61,61,62,62,62,63,63,63,64,64,64,64,64,
+	64,64,64,64,64,64,63,63,63,62,62,62,61,61,60,60,59,59,58,57,56,56,55,
+	54,53,52,51,50,49,48,47,46,45,44,43,42,41,39,38,37,36,34,33,32,30,29,
+	27,26,24,23,22,20,19,17,16,14,12,11,9,8,6,5,3,2
+};
+
+const uint8_t vibTab[32] =
+{
+	  0, 24, 49, 74, 97,120,141,161,
+	180,197,212,224,235,244,250,253,
+	255,253,250,244,235,224,212,197,
+	180,161,141,120, 97, 74, 49, 24
+};
+
+const uint16_t amigaPeriod[12 * 8] =
+{
+	4*1712,4*1616,4*1524,4*1440,4*1356,4*1280,4*1208,4*1140,4*1076,4*1016,4*960,4*906,
+	2*1712,2*1616,2*1524,2*1440,2*1356,2*1280,2*1208,2*1140,2*1076,2*1016,2*960,2*906,
+	1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,960,906,
+	856,808,762,720,678,640,604,570,538,508,480,453,
+	428,404,381,360,339,320,302,285,269,254,240,226,
+	214,202,190,180,170,160,151,143,135,127,120,113,
+	107,101,95,90,85,80,75,71,67,63,60,56,
+	53,50,47,45,42,40,37,35,33,31,30,28
+};
+
+const uint16_t amigaFinePeriod[12 * 8] =
+{
+	907,900,894,887,881,875,868,862,856,850,844,838,
+	832,826,820,814,808,802,796,791,785,779,774,768,
+	762,757,752,746,741,736,730,725,720,715,709,704,
+	699,694,689,684,678,675,670,665,660,655,651,646,
+	640,636,632,628,623,619,614,610,604,601,597,592,
+	588,584,580,575,570,567,563,559,555,551,547,543,
+	538,535,532,528,524,520,516,513,508,505,502,498,
+	494,491,487,484,480,477,474,470,467,463,460,457
+};
--- /dev/null
+++ b/src/ft2_replayer.h
@@ -1,0 +1,323 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_unicode.h"
+
+enum
+{
+	// voice flags
+	IS_Vol = 1, // set volume
+	IS_Period = 2, // set resampling rate
+	IS_NyTon = 4, // trigger new sample
+	IS_Pan = 8, // set panning
+	IS_QuickVol = 16, // 5ms volramp instead of tick ms
+
+	// tracker playback modes
+	PLAYMODE_IDLE = 0,
+	PLAYMODE_EDIT = 1,
+	PLAYMODE_SONG = 2,
+	PLAYMODE_PATT = 3,
+	PLAYMODE_RECSONG = 4,
+	PLAYMODE_RECPATT = 5,
+
+	// note cursor positions
+	CURSOR_NOTE = 0,
+	CURSOR_INST1 = 1,
+	CURSOR_INST2 = 2,
+	CURSOR_VOL1 = 3,
+	CURSOR_VOL2 = 4,
+	CURSOR_EFX0 = 5,
+	CURSOR_EFX1 = 6,
+	CURSOR_EFX2 = 7
+};
+
+// DO NOT TOUCH!
+#define MIN_BPM 32
+#define TRACK_WIDTH (5 * MAX_VOICES)
+#define MAX_VOICES 32
+#define MAX_NOTES ((12 * 10 * 16) + 16)
+#define MAX_PATTERNS 256
+#define MAX_PATT_LEN 256
+#define MAX_INST 128
+#define MAX_SMP_PER_INST 16
+#define MAX_ORDERS 256
+#define STD_ENV_SIZE ((6*2*12*2*2) + (6*8*2) + (6*5*2) + (6*2*2))
+#define INSTR_SIZE 232
+#define INSTR_HEADER_SIZE 263
+#define INSTR_XI_HEADER_SIZE 298
+#define MAX_SAMPLE_LEN 0x3FFFFFFF
+#define PROG_NAME_STR "Fasttracker II clone"
+
+/* Some of the following structs must be packed (e.g. not padded) since they
+** are loaded directly into with fread and stuff. */
+
+#ifdef _MSC_VER
+#pragma pack(push)
+#pragma pack(1)
+#endif
+typedef struct songHeaderTyp_t // DO NOT TOUCH!
+{
+	char sig[17], name[21], progName[20];
+	uint16_t ver;
+	int32_t headerSize;
+	uint16_t len, repS, antChn, antPtn, antInstrs, flags, defTempo, defSpeed;
+	uint8_t songTab[256];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songHeaderTyp;
+
+typedef struct patternHeaderTyp_t // DO NOT TOUCH!
+{
+	int32_t patternHeaderSize;
+	uint8_t typ;
+	int16_t pattLen;
+	uint16_t dataLen;
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+patternHeaderTyp;
+
+typedef struct songMODInstrHeaderTyp_t
+{
+	char name[22];
+	uint16_t len;
+	uint8_t fine, vol;
+	uint16_t repS, repL;
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songMODInstrHeaderTyp;
+
+typedef struct songMOD15HeaderTyp_t
+{
+	char name[20];
+	songMODInstrHeaderTyp instr[15];
+	uint8_t len, repS, songTab[128];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songMOD15HeaderTyp;
+
+typedef struct songMOD31HeaderTyp_t
+{
+	char name[20];
+	songMODInstrHeaderTyp instr[31];
+	uint8_t len, repS, songTab[128];
+	char sig[4];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+songMOD31HeaderTyp;
+
+typedef struct sampleHeaderTyp_t // DO NOT TOUCH!
+{
+	int32_t len, repS, repL;
+	uint8_t vol;
+	int8_t fine;
+	uint8_t typ, pan;
+	int8_t relTon;
+	uint8_t reserved;
+	char name[22];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+sampleHeaderTyp;
+
+typedef struct instrHeaderTyp_t // DO NOT TOUCH!
+{
+	uint32_t instrSize;
+	char name[22];
+	uint8_t typ;
+	int16_t antSamp;
+	int32_t sampleSize;
+	uint8_t ta[96];
+	int16_t envVP[12][2], envPP[12][2];
+	uint8_t envVPAnt, envPPAnt;
+	uint8_t envVSust, envVRepS, envVRepE;
+	uint8_t envPSust, envPRepS, envPRepE;
+	uint8_t envVTyp, envPTyp;
+	uint8_t vibTyp, vibSweep, vibDepth, vibRate;
+	uint16_t fadeOut;
+	uint8_t midiOn, midiChannel;
+	int16_t midiProgram, midiBend;
+	int8_t mute;
+	uint8_t reserved[15];
+	sampleHeaderTyp samp[16];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+instrHeaderTyp;
+
+typedef struct sampleTyp_t  // DO NOT TOUCH!
+{
+	int32_t len, repS, repL;
+	uint8_t vol;
+	int8_t fine;
+	uint8_t typ, pan;
+	int8_t relTon;
+	uint8_t reserved;
+	char name[22 + 1]; // +1 for tracker NUL termination, not present in sample header
+
+	// stuff from now on can be touched
+	int8_t *pek;
+	uint8_t fixed;
+	int16_t fixedSmp1;
+#ifndef LERPMIX
+	int16_t fixedSmp2;
+#endif
+	int32_t fixedPos;
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+sampleTyp;
+
+typedef struct instrTyp_t // DO NOT TOUCH!
+{
+	uint8_t ta[96];
+	int16_t envVP[12][2], envPP[12][2];
+	uint8_t envVPAnt, envPPAnt;
+	uint8_t envVSust, envVRepS, envVRepE;
+	uint8_t envPSust, envPRepS, envPRepE;
+	uint8_t envVTyp, envPTyp;
+	uint8_t vibTyp, vibSweep, vibDepth, vibRate;
+	uint16_t fadeOut;
+	uint8_t midiOn, midiChannel;
+	int16_t midiProgram, midiBend;
+	uint8_t mute, reserved[15];
+	int16_t antSamp;
+	sampleTyp samp[16];
+}
+#ifdef __GNUC__
+__attribute__ ((packed))
+#endif
+instrTyp;
+#ifdef _MSC_VER
+#pragma pack(pop)
+#endif
+
+typedef struct stmTyp_t
+{
+	volatile uint8_t status, tmpStatus;
+	int8_t relTonNr, fineTune;
+	uint8_t sampleNr, instrNr, stOff, effTyp, eff, smpOffset, tremorSave, tremorPos;
+	uint8_t globVolSlideSpeed, panningSlideSpeed, mute, waveCtrl, portaDir;
+	uint8_t glissFunk, vibPos, tremPos, vibSpeed, vibDepth, tremSpeed, tremDepth;
+	uint8_t pattPos, loopCnt, volSlideSpeed, fVolSlideUpSpeed, fVolSlideDownSpeed;
+	uint8_t fPortaUpSpeed, fPortaDownSpeed, ePortaUpSpeed, ePortaDownSpeed;
+	uint8_t portaUpSpeed, portaDownSpeed, retrigSpeed, retrigCnt, retrigVol;
+	uint8_t volKolVol, tonNr, envPPos, eVibPos, envVPos, realVol, oldVol, outVol;
+	uint8_t oldPan, outPan, finalPan;
+	bool envSustainActive;
+	int16_t midiCurChannel, midiCurTone, midiCurVibDepth, midiCurPeriod, midiCurPitch;
+	int16_t midiBend, midiPortaPeriod, midiPitch, realPeriod, envVIPValue, envPIPValue;
+	uint16_t finalVol, outPeriod, finalPeriod, tonTyp, wantPeriod, portaSpeed;
+	uint16_t envVCnt, envVAmp, envPCnt, envPAmp, eVibAmp, eVibSweep;
+	uint16_t fadeOutAmp, fadeOutSpeed, midiVibDepth;
+	int32_t smpStartPos;
+	sampleTyp *smpPtr;
+	instrTyp *instrSeg;
+} stmTyp;
+
+typedef struct songTyp_t
+{
+	uint8_t antChn, pattDelTime, pattDelTime2, pBreakPos, songTab[MAX_ORDERS];
+	bool pBreakFlag, posJumpFlag, isModified;
+	int16_t songPos, pattNr, pattPos, pattLen;
+	uint16_t len, repS, speed, tempo, globVol, timer, ver, initialTempo;
+	char name[20 + 1], instrName[1 + MAX_INST][22 + 1];
+	uint32_t musicTime;
+
+	// used for audio/video sync queue
+	uint8_t curReplayerTimer, curReplayerPattPos, curReplayerSongPos, curReplayerPattNr;
+} songTyp;
+
+typedef struct tonTyp_t
+{
+	uint8_t ton, instr, vol, effTyp, eff;
+} tonTyp;
+
+typedef struct syncedChannel_t // used for audio/video sync queue
+{
+	bool envSustainActive;
+	int8_t fineTune, relTonNr;
+	uint8_t status, sampleNr, instrNr;
+	uint16_t finalPeriod, finalVol;
+	int32_t smpStartPos;
+	uint32_t voiceDelta;
+} syncedChannel_t;
+
+void fixSongName(void); // removes spaces from right side of song name
+void fixSampleName(int16_t nr); // removes spaces from right side of ins/smp names
+
+void calcReplayRate(uint32_t rate);
+void resetOldRates(void);
+void tuneSample(sampleTyp *s, uint32_t midCFreq);
+uint32_t getFrequenceValue(uint16_t period);
+int16_t relocateTon(int16_t period, int8_t relativeNote, stmTyp *ch);
+
+bool allocateInstr(int16_t nr);
+void freeInstr(int16_t nr);
+void freeAllInstr(void);
+void freeSample(int16_t nr, int16_t nr2);
+
+void freeAllPatterns(void);
+void updateChanNums(void);
+bool setupReplayer(void);
+void closeReplayer(void);
+void resetMusic(void);
+void startPlaying(int8_t mode, int16_t row);
+void stopPlaying(void);
+void stopVoices(void);
+void setPos(int16_t songPos, int16_t pattPos);
+void pauseMusic(void); // stops reading pattern data
+void resumeMusic(void); // starts reading pattern data
+void setSongModifiedFlag(void);
+void removeSongModifiedFlag(void);
+void playTone(uint8_t stmm, uint8_t inst, uint8_t ton, int8_t vol, uint16_t midiVibDepth, uint16_t midiPitch);
+void playSample(uint8_t stmm, uint8_t inst, uint8_t smpNr, uint8_t ton, uint16_t midiVibDepth, uint16_t midiPitch);
+void playRange(uint8_t stmm, uint8_t inst, uint8_t smpNr, uint8_t ton, uint16_t midiVibDepth, uint16_t midiPitch, int32_t offs, int32_t len);
+void keyOff(stmTyp *ch);
+void conv8BitSample(int8_t *p, int32_t len, bool stereo);
+void conv16BitSample(int8_t *p, int32_t len, bool stereo);
+void delta2Samp(int8_t *p, int32_t len, uint8_t typ);
+void samp2Delta(int8_t *p, int32_t len, uint8_t typ);
+bool setPatternLen(uint16_t nr, int16_t len);
+void setFrqTab(bool linear);
+void mainPlayer(void); // periodically called from audio callback
+void resetChannels(void);
+bool patternEmpty(uint16_t nr);
+int16_t getUsedSamples(int16_t nr);
+int16_t getRealUsedSamples(int16_t nr);
+void setStdEnvelope(instrTyp *ins, int16_t i, uint8_t typ);
+void setNoEnvelope(instrTyp *ins);
+void setSyncedReplayerVars(void);
+void decSongPos(void);
+void incSongPos(void);
+void decCurIns(void);
+void incCurIns(void);
+void decCurSmp(void);
+void incCurSmp(void);
+void pbPlaySong(void);
+void pbPlayPtn(void);
+void pbRecSng(void);
+void pbRecPtn(void);
+
+// ft2_replayer.c
+extern int8_t playMode;
+extern bool linearFrqTab, songPlaying, audioPaused, musicPaused;
+extern volatile bool replayerBusy;
+extern int16_t *note2Period, pattLens[MAX_PATTERNS];
+extern stmTyp stm[MAX_VOICES];
+extern songTyp song;
+extern instrTyp *instr[132];
+extern tonTyp *patt[MAX_PATTERNS];
--- /dev/null
+++ b/src/ft2_sample_ed.c
@@ -1,0 +1,3730 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <math.h>
+#ifndef _WIN32
+#include <unistd.h> // chdir() in UNICHAR_CHDIR()
+#endif
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_audio.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_gui.h"
+#include "ft2_scopes.h"
+#include "ft2_video.h"
+#include "ft2_inst_ed.h"
+#include "ft2_sample_ed.h"
+#include "ft2_sample_saver.h"
+#include "ft2_mouse.h"
+#include "ft2_diskop.h"
+#include "ft2_keyboard.h"
+
+static const char sharpNote1Char[12] = { 'C', 'C', 'D', 'D', 'E', 'F', 'F', 'G', 'G', 'A', 'A', 'B' };
+static const char sharpNote2Char[12] = { '-', '#', '-', '#', '-', '-', '#', '-', '#', '-', '#', '-' };
+static const char flatNote1Char[12]  = { 'C', 'D', 'D', 'E', 'E', 'F', 'G', 'G', 'A', 'A', 'B', 'B' };
+static const char flatNote2Char[12]  = { '-', 'b', '-', 'b', '-', '-', 'b', '-', 'b', '-', 'b', '-' };
+
+static char smpEd_SysReqText[64];
+static int8_t *smpCopyBuff;
+static bool updateLoopsOnMouseUp, writeSampleFlag;
+static int32_t smpEd_OldSmpPosLine = -1;
+static int32_t smpEd_ViewSize, smpEd_ScrPos, smpCopySize, smpCopyBits;
+static int32_t old_Rx1, old_Rx2, old_ViewSize, old_SmpScrPos;
+static int32_t lastMouseX, lastMouseY, lastDrawX, lastDrawY, mouseXOffs, curSmpRepS, curSmpRepL;
+static double dScrPosScaled, dPos2ScrMul, dScr2SmpPosMul;
+static SDL_Thread *thread;
+
+// globals
+int32_t smpEd_Rx1 = 0, smpEd_Rx2 = 0;
+
+sampleTyp *getCurSample(void)
+{
+	if (editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+		return NULL;
+
+	return &instr[editor.curInstr]->samp[editor.curSmp];
+}
+
+// adds wrapped samples after loop/end (for branchless mixer interpolation)
+void fixSample(sampleTyp *s)
+{
+	uint8_t loopType;
+	int16_t *ptr16;
+	int32_t loopStart, loopLen, loopEnd, len;
+
+	assert(s != NULL);
+	if (s->pek == NULL)
+		return; // empty sample
+
+	loopType = s->typ & 3;
+	if (loopType == 0)
+	{
+		len = s->len;
+
+		// no loop (don't mess with fixed, fixSpar of fixedPos)
+
+		if (s->typ & 16)
+		{
+			if (len < 2)
+				return;
+
+			len /= 2;
+			ptr16 = (int16_t *)s->pek;
+
+			// write new values
+			ptr16[len+0] = 0;
+#ifndef LERPMIX
+			ptr16[len+1] = 0;
+#endif
+		}
+		else
+		{
+			if (len < 1)
+				return;
+
+			// write new values
+			s->pek[len+0] = 0;
+#ifndef LERPMIX
+			s->pek[len+1] = 0;
+#endif
+		}
+
+		return;
+	}
+
+	if (s->fixed)
+		return; // already fixed
+
+	if (loopType == 1)
+	{
+		// forward loop
+
+		if (s->typ & 16)
+		{
+			// 16-bit sample
+
+			if (s->repL < 2)
+				return;
+
+			loopStart = s->repS / 2;
+			loopEnd = (s->repS + s->repL) / 2;
+
+			ptr16 = (int16_t *)s->pek;
+
+			// store old values and old fix position
+			s->fixedSmp1 = ptr16[loopEnd];
+			s->fixedPos = s->repS + s->repL;
+#ifndef LERPMIX
+			s->fixedSmp2 = ptr16[loopEnd+1];
+#endif
+			// write new values
+			ptr16[loopEnd+0] = ptr16[loopStart+0];
+#ifndef LERPMIX
+			ptr16[loopEnd+1] = ptr16[loopStart+1];
+#endif
+		}
+		else
+		{
+			// 8-bit sample
+
+			if (s->repL < 1)
+				return;
+
+			loopStart = s->repS;
+			loopEnd = s->repS + s->repL;
+
+			// store old values and old fix position
+			s->fixedSmp1 = s->pek[loopEnd];
+			s->fixedPos = loopEnd;
+#ifndef LERPMIX
+			s->fixedSmp2 = s->pek[loopEnd+1];
+#endif
+			// write new values
+			s->pek[loopEnd+0] = s->pek[loopStart+0];
+#ifndef LERPMIX
+			s->pek[loopEnd+1] = s->pek[loopStart+1];
+#endif
+		}
+	}
+	else
+	{
+		// pingpong loop
+
+		if (s->typ & 16)
+		{
+			// 16-bit sample
+
+			if (s->repL < 2)
+				return;
+
+			loopStart = s->repS / 2;
+			loopLen = s->repL/ 2;
+
+			loopEnd = loopStart + loopLen;
+			ptr16 = (int16_t *)s->pek;
+
+			// store old values and old fix position
+			s->fixedSmp1 = ptr16[loopEnd];
+			s->fixedPos = s->repS + s->repL;
+#ifndef LERPMIX
+			s->fixedSmp2 = ptr16[loopEnd+1];
+#endif
+			// write new values
+			ptr16[loopEnd+0] = ptr16[loopEnd-1];
+#ifndef LERPMIX
+			if (loopLen >= 2)
+				ptr16[loopEnd+1] = ptr16[loopEnd-2];
+			else
+				ptr16[loopEnd+1] = ptr16[loopStart];
+#endif
+		}
+		else
+		{
+			// 8-bit sample
+
+			if (s->repL < 1)
+				return;
+
+			loopStart = s->repS;
+			loopLen = s->repL;
+
+			loopEnd = loopStart + loopLen;
+
+			// store old values and old fix position
+			s->fixedSmp1 = s->pek[loopEnd];
+			s->fixedPos = loopEnd;
+#ifndef LERPMIX
+			s->fixedSmp2 = s->pek[loopEnd+1];
+#endif
+			// write new values
+			s->pek[loopEnd+0] = s->pek[loopEnd-1];
+#ifndef LERPMIX
+			if (loopLen >= 2)
+				s->pek[loopEnd+1] = s->pek[loopEnd-2];
+			else
+				s->pek[loopEnd+1] = s->pek[loopStart];
+#endif
+		}
+	}
+
+	s->fixed = true;
+}
+
+// reverts wrapped samples after loop/end (for branchless mixer interpolation)
+void restoreSample(sampleTyp *s)
+{
+	int16_t *ptr16;
+
+	assert(s != NULL);
+	if (s->pek == NULL || s->len == 0 || (s->typ & 3) == 0 || !s->fixed)
+		return; // empty sample, no loop or not fixed
+
+	s->fixed = false;
+
+	if (s->typ & 16)
+	{
+		// 16-bit sample
+
+		ptr16 = (int16_t *)s->pek;
+		ptr16[s->fixedPos / 2] = s->fixedSmp1;
+#ifndef LERPMIX
+		ptr16[(s->fixedPos + 2) / 2] = s->fixedSmp2;
+#endif
+	}
+	else
+	{
+		// 8-bit sample
+
+		s->pek[s->fixedPos] = (int8_t)s->fixedSmp1;
+#ifndef LERPMIX
+		s->pek[s->fixedPos+1] = (int8_t)s->fixedSmp2;
+#endif
+	}
+}
+
+inline int16_t getSampleValueNr(int8_t *ptr, uint8_t typ, int32_t pos)
+{
+	assert(pos >= 0);
+	if (ptr == NULL)
+		return 0;
+
+	if (typ & 16)
+	{
+		assert(!(pos & 1));
+		return *(int16_t *)&ptr[pos];
+	}
+	else
+	{
+		return ptr[pos];
+	}
+}
+
+inline void putSampleValueNr(int8_t *ptr, uint8_t typ, int32_t pos, int16_t val)
+{
+	assert(pos >= 0);
+	if (ptr == NULL)
+		return;
+
+	if (typ & 16)
+	{
+		assert(!(pos & 1));
+		*(int16_t *)&ptr[pos] = val;
+	}
+	else
+	{
+		ptr[pos] = (int8_t)val;
+	}
+}
+
+void clearCopyBuffer(void)
+{
+	if (smpCopyBuff != NULL)
+	{
+		free(smpCopyBuff);
+		smpCopyBuff = NULL;
+	}
+
+	smpCopySize = 0;
+	smpCopyBits = 8;
+}
+
+uint32_t getSampleMiddleCRate(sampleTyp *s)
+{
+	double dFTune;
+
+	// replayer is shifting the finetune to the right by 3
+	dFTune = (s->fine >> 3) / (128.0 / (double)(1 << 3));
+
+	return (uint32_t)round(8363.0 * pow(2.0, (s->relTon + dFTune) / 12.0));
+}
+
+int32_t getSampleRangeStart(void)
+{
+	return smpEd_Rx1;
+}
+
+int32_t getSampleRangeEnd(void)
+{
+	return smpEd_Rx2;
+}
+
+int32_t getSampleRangeLength(void)
+{
+	return smpEd_Rx2 - smpEd_Rx1;
+}
+
+// for smpPos2Scr() / scr2SmpPos()
+static void updateViewSize(void)
+{
+	if (smpEd_ViewSize == 0)
+		dPos2ScrMul = 1.0;
+	else
+		dPos2ScrMul = (double)SAMPLE_AREA_WIDTH / smpEd_ViewSize;
+
+	dScr2SmpPosMul = smpEd_ViewSize / (double)SAMPLE_AREA_WIDTH;
+}
+
+static void updateScrPos(void)
+{
+	dScrPosScaled = trunc(smpEd_ScrPos * dPos2ScrMul);
+}
+
+// sample pos -> screen x pos (if outside of visible area, will return <0 or >=SCREEN_W)
+static int32_t smpPos2Scr(int32_t pos)
+{
+	double dPos;
+	sampleTyp *s;
+
+	if (smpEd_ViewSize <= 0)
+		return -1;
+
+	s = getCurSample();
+	if (s == NULL)
+		return -1;
+
+	if (pos > s->len)
+		pos = s->len;
+
+	dPos = round(pos * dPos2ScrMul) - dScrPosScaled; // rounding is needed here
+
+	// this is important, or else the result can mess up in some cases
+	dPos = CLAMP(dPos, INT32_MIN, INT32_MAX);
+	pos = (int32_t)dPos;
+
+	return pos;
+}
+
+// screen x pos -> sample pos
+static int32_t scr2SmpPos(int32_t x)
+{
+	double dPos;
+	sampleTyp *s;
+
+	if (smpEd_ViewSize <= 0)
+		return 0;
+
+	s = getCurSample();
+	if (s == NULL)
+		return 0;
+
+	if (x < 0)
+		x = 0;
+
+	dPos = (dScrPosScaled + x) * dScr2SmpPosMul;
+	x = (int32_t)dPos;
+
+	if (x > s->len)
+		x = s->len;
+
+	if (s->typ & 16)
+		x &= 0xFFFFFFFE;
+
+	return x;
+}
+
+static void fixRepeatGadgets(void)
+{
+	int32_t repS, repE;
+	sampleTyp *s;
+
+	s = getCurSample();
+	if (s == NULL || s->len <= 0 || s->pek == NULL || (s->typ & 3) == 0)
+	{
+		hideSprite(SPRITE_LEFT_LOOP_PIN);
+		hideSprite(SPRITE_RIGHT_LOOP_PIN);
+
+		if (editor.ui.sampleEditorShown)
+		{
+			hexOutBg(536, 375, PAL_FORGRND, PAL_DESKTOP, 0, 8);
+			hexOutBg(536, 387, PAL_FORGRND, PAL_DESKTOP, 0, 8);
+		}
+		return;
+	}
+
+	// draw sample loop points
+
+	repS = smpPos2Scr(curSmpRepS);
+	repE = smpPos2Scr(curSmpRepS+curSmpRepL);
+
+	// do -8 test because part of the loop sprite sticks out on the left/right
+
+	if (repS >= -8 && repS <= SAMPLE_AREA_WIDTH+8)
+		setSpritePos(SPRITE_LEFT_LOOP_PIN, (int16_t)(repS - 8), 174);
+	else
+		hideSprite(SPRITE_LEFT_LOOP_PIN);
+
+	if (repE >= -8)
+	{
+		if (repE <= SAMPLE_AREA_WIDTH+8)
+			setSpritePos(SPRITE_RIGHT_LOOP_PIN, (int16_t)(repE - 8), 174);
+		else
+			hideSprite(SPRITE_RIGHT_LOOP_PIN);
+	}
+	else
+	{
+		hideSprite(SPRITE_RIGHT_LOOP_PIN);
+	}
+
+	if (editor.ui.sampleEditorShown)
+	{
+		hexOutBg(536, 375, PAL_FORGRND, PAL_DESKTOP, curSmpRepS, 8);
+		hexOutBg(536, 387, PAL_FORGRND, PAL_DESKTOP, curSmpRepL, 8);
+	}
+}
+
+static void fixSampleDrag(void)
+{
+	sampleTyp *s = getCurSample();
+	if (s == NULL)
+	{
+		setScrollBarPageLength(SB_SAMP_SCROLL, 0);
+		setScrollBarEnd(SB_SAMP_SCROLL, 0);
+		setScrollBarPos(SB_SAMP_SCROLL, 0, false);
+		return;
+	}
+
+	setScrollBarPageLength(SB_SAMP_SCROLL, smpEd_ViewSize);
+	setScrollBarEnd(SB_SAMP_SCROLL, instr[editor.curInstr]->samp[editor.curSmp].len);
+	setScrollBarPos(SB_SAMP_SCROLL, smpEd_ScrPos, false);
+}
+
+static bool getCopyBuffer(int32_t size)
+{
+	if (smpCopyBuff != NULL)
+		free(smpCopyBuff);
+
+	if (size > MAX_SAMPLE_LEN)
+		size = MAX_SAMPLE_LEN;
+
+	smpCopyBuff = (int8_t *)malloc(size);
+	if (smpCopyBuff == NULL)
+	{
+		smpCopySize = 0;
+		return false;
+	}
+
+	smpCopySize = size;
+	return true;
+}
+
+static int32_t SDLCALL copySampleThread(void *ptr)
+{
+	bool error;
+	int8_t *p;
+	int16_t destIns, destSmp, sourceIns, sourceSmp;
+
+	(void)ptr;
+
+	error = false;
+
+	destIns = editor.curInstr;
+	destSmp = editor.curSmp;
+	sourceIns = editor.srcInstr;
+	sourceSmp = editor.srcSmp;
+
+	pauseAudio();
+
+	if (instr[destIns] == NULL)
+		error = !allocateInstr(destIns);
+
+	if (!error)
+	{
+		freeSample(destIns, destSmp);
+		if (instr[sourceIns] != NULL && instr[sourceIns]->samp[sourceSmp].pek != NULL)
+		{
+			p = (int8_t *)malloc(instr[sourceIns]->samp[sourceSmp].len + LOOP_FIX_LEN);
+			if (p != NULL)
+			{
+				memcpy(&instr[destIns]->samp[destSmp], &instr[sourceIns]->samp[sourceSmp], sizeof (sampleTyp));
+				memcpy(p, instr[sourceIns]->samp[sourceSmp].pek, instr[sourceIns]->samp[sourceSmp].len + LOOP_FIX_LEN);
+				instr[destIns]->samp[destSmp].pek = p;
+			}
+			else error = true;
+		}
+	}
+
+	resumeAudio();
+
+	if (error)
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+
+	editor.updateCurSmp = true;
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	return true;
+}
+
+void copySmp(void) // copy sample from srcInstr->srcSmp to curInstr->curSmp
+{
+	if (editor.curInstr == 0 || (editor.curInstr == editor.srcInstr && editor.curSmp == editor.srcSmp))
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(copySampleThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+void xchgSmp(void) // dstSmp <-> srcSmp
+{
+	sampleTyp *src, *dst, dstTmp;
+
+	if (editor.curInstr == 0 ||
+		(editor.curInstr == editor.srcInstr && editor.curSmp == editor.srcSmp) ||
+		instr[editor.curInstr] == NULL)
+	{
+		return;
+	}
+
+	src = &instr[editor.curInstr]->samp[editor.srcSmp];
+	dst = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	lockMixerCallback();
+	dstTmp = *dst;
+	*dst = *src;
+	*src = dstTmp;
+	unlockMixerCallback();
+
+	updateNewSample();
+	setSongModifiedFlag();
+}
+
+static void writeRange(void)
+{
+	int32_t start, end, rangeLen;
+	uint32_t *ptr32;
+
+	// very first sample (rx1=0,rx2=0) is the "no range" special case
+	if (!editor.ui.sampleEditorShown || smpEd_ViewSize == 0 || (smpEd_Rx1 == 0 && smpEd_Rx2 == 0))
+		return;
+
+	// test if range is outside of view (passed it by scrolling)
+	start = smpPos2Scr(smpEd_Rx1);
+	if (start >= SAMPLE_AREA_WIDTH)
+		return;
+
+	// test if range is outside of view (passed it by scrolling)
+	end = smpPos2Scr(smpEd_Rx2);
+	if (end < 0)
+		return;
+
+	start = CLAMP(start, 0, SAMPLE_AREA_WIDTH - 1);
+	end = CLAMP(end, 0, SAMPLE_AREA_WIDTH - 1);
+	rangeLen = (end + 1) - start;
+
+	assert(start+rangeLen <= SCREEN_W);
+
+	ptr32 = &video.frameBuffer[(174 * SCREEN_W) + start];
+	for (int32_t y = 0; y < SAMPLE_AREA_HEIGHT; y++)
+	{
+		for (int32_t x = 0; x < rangeLen; x++)
+			ptr32[x] = video.palette[(ptr32[x] >> 24) ^ 2]; // ">> 24" to get palette, XOR 2 to switch between mark/normal palette
+
+		ptr32 += SCREEN_W;
+	}
+}
+
+static int8_t getScaledSample(sampleTyp *s, int32_t index)
+{
+	int8_t *ptr8, sample;
+	int16_t *ptr16;
+	int32_t tmp32;
+
+	if (s->pek == NULL || index < 0 || index >= s->len)
+		return 0; // return center value if overflown (e.g. sample is shorter than screen width)
+
+	if (s->typ & 16)
+	{
+		ptr16 = (int16_t *)s->pek;
+
+		assert(!(index & 1));
+
+		// restore fixed mixer interpolation sample(s)
+		if (s->fixed)
+		{
+			if (index == s->fixedPos)
+				tmp32 = s->fixedSmp1;
+#ifndef LERPMIX
+			else if (index == s->fixedPos+2)
+				tmp32 = s->fixedSmp2;
+#endif
+			else
+				tmp32 = ptr16[index >> 1];
+		}
+		else
+		{
+			tmp32 = ptr16[index >> 1];
+		}
+
+		sample = (int8_t)((tmp32 * SAMPLE_AREA_HEIGHT) >> 16);
+	}
+	else
+	{
+		ptr8 = s->pek;
+
+		// restore fixed mixer interpolation sample(s)
+		if (s->fixed)
+		{
+			if (index == s->fixedPos)
+				tmp32 = s->fixedSmp1;
+#ifndef LERPMIX
+			else if (index == s->fixedPos+1)
+				tmp32 = s->fixedSmp2;
+#endif
+			else
+				tmp32 = ptr8[index];
+		}
+		else
+		{
+			tmp32 = ptr8[index];
+		}
+
+		sample = (int8_t)((tmp32 * SAMPLE_AREA_HEIGHT) >> 8);
+	}
+
+	return sample;
+}
+
+static void sampleLine(int16_t x1, int16_t x2, int16_t y1, int16_t y2)
+{
+	int16_t d, x, y, sx, sy, dx, dy;
+	uint16_t ax, ay;
+	int32_t pitch;
+	uint32_t pal1, pal2, pixVal, *dst32;
+
+	// get coefficients
+	dx = x2 - x1;
+	ax = ABS(dx) * 2;
+	sx = SGN(dx);
+	dy = y2 - y1;
+	ay = ABS(dy) * 2;
+	sy = SGN(dy);
+	x  = x1;
+	y  = y1;
+
+	pal1   = video.palette[PAL_DESKTOP];
+	pal2   = video.palette[PAL_FORGRND];
+	pixVal = video.palette[PAL_PATTEXT];
+	pitch  = sy * SCREEN_W;
+
+	dst32 = &video.frameBuffer[(y * SCREEN_W) + x];
+
+	// draw line
+	if (ax > ay)
+	{
+		d = ay - (ax / 2);
+
+		while (true)
+		{
+			// invert certain colors
+			if (*dst32 != pal2)
+			{
+				if (*dst32 == pal1)
+					*dst32 = pal2;
+				else
+					*dst32 = pixVal;
+			}
+
+			if (x == x2)
+				break;
+
+			if (d >= 0)
+			{
+				d -= ax;
+				dst32 += pitch;
+			}
+
+			x += sx;
+			d += ay;
+			dst32 += sx;
+		}
+	}
+	else
+	{
+		d = ax - (ay / 2);
+
+		while (true)
+		{
+			// invert certain colors
+			if (*dst32 != pal2)
+			{
+				if (*dst32 == pal1)
+					*dst32 = pal2;
+				else
+					*dst32 = pixVal;
+			}
+
+			if (y == y2)
+				break;
+
+			if (d >= 0)
+			{
+				d -= ay;
+				dst32 += sx;
+			}
+
+			y += sy;
+			d += ax;
+			dst32 += pitch;
+		}
+	}
+}
+
+static void getMinMax16(const void *p, uint32_t scanLen, int16_t *min16, int16_t *max16)
+{
+#if defined __APPLE__ || defined _WIN32 || defined __amd64__ || (defined __i386__ && defined __SSE2__)
+	if (cpu.hasSSE2)
+	{
+		/* Taken with permission from the OpenMPT project (and slightly modified).
+		**
+		** SSE2 implementation for min/max finder, packs 8*int16 in a 128-bit XMM register.
+		** scanLen = How many samples to process
+		*/
+		const int16_t *p16;
+		uint32_t scanLen8;
+		const __m128i *v;
+		__m128i minVal, maxVal, minVal2, maxVal2, curVals;
+
+		// Put minimum / maximum in 8 packed int16 values
+		minVal = _mm_set1_epi16(32767);
+		maxVal = _mm_set1_epi16(-32768);
+
+		scanLen8 = scanLen / 8;
+		if (scanLen8 > 0)
+		{
+			v = (__m128i *)p;
+			p = (const __m128i *)p + scanLen8;
+
+			while (scanLen8--)
+			{
+				curVals = _mm_loadu_si128(v++);
+				minVal = _mm_min_epi16(minVal, curVals);
+				maxVal = _mm_max_epi16(maxVal, curVals);
+			}
+
+			/* Now we have 8 minima and maxima each.
+			** Move the upper 4 values to the lower half and compute the minima/maxima of that. */
+			minVal2 = _mm_unpackhi_epi64(minVal, minVal);
+			maxVal2 = _mm_unpackhi_epi64(maxVal, maxVal);
+			minVal = _mm_min_epi16(minVal, minVal2);
+			maxVal = _mm_max_epi16(maxVal, maxVal2);
+
+			/* Now we have 4 minima and maxima each.
+			** Move the upper 2 values to the lower half and compute the minima/maxima of that. */
+			minVal2 = _mm_shuffle_epi32(minVal, _MM_SHUFFLE(1, 1, 1, 1));
+			maxVal2 = _mm_shuffle_epi32(maxVal, _MM_SHUFFLE(1, 1, 1, 1));
+			minVal = _mm_min_epi16(minVal, minVal2);
+			maxVal = _mm_max_epi16(maxVal, maxVal2);
+
+			// Compute the minima/maxima of the both remaining values
+			minVal2 = _mm_shufflelo_epi16(minVal, _MM_SHUFFLE(1, 1, 1, 1));
+			maxVal2 = _mm_shufflelo_epi16(maxVal, _MM_SHUFFLE(1, 1, 1, 1));
+			minVal = _mm_min_epi16(minVal, minVal2);
+			maxVal = _mm_max_epi16(maxVal, maxVal2);
+		}
+
+		p16 = (const int16_t *)p;
+		while (scanLen-- & 7)
+		{
+			curVals = _mm_set1_epi16(*p16++);
+			minVal = _mm_min_epi16(minVal, curVals);
+			maxVal = _mm_max_epi16(maxVal, curVals);
+		}
+
+		*min16 = (int16_t)_mm_cvtsi128_si32(minVal);
+		*max16 = (int16_t)_mm_cvtsi128_si32(maxVal);
+	}
+	else
+#endif
+	{
+		// non-SSE version (really slow for big samples, especially when scrolling!)
+		int16_t smp16, minVal, maxVal, *ptr16;
+
+		minVal = 32767;
+		maxVal = -32768;
+
+		ptr16 = (int16_t *)p;
+		for (uint32_t i = 0; i < scanLen; i++)
+		{
+			smp16 = ptr16[i];
+			if (smp16 < minVal) minVal = smp16;
+			if (smp16 > maxVal) maxVal = smp16;
+		}
+
+		*min16 = minVal;
+		*max16 = maxVal;
+	}
+}
+
+static void getMinMax8(const void *p, uint32_t scanLen, int8_t *min8, int8_t *max8)
+{
+#if defined __APPLE__ || defined _WIN32 || defined __amd64__ || (defined __i386__ && defined __SSE2__)
+	if (cpu.hasSSE2)
+	{
+		/* Taken with permission from the OpenMPT project (and slightly modified).
+		**
+		** SSE2 implementation for min/max finder, packs 16*int8 in a 128-bit XMM register.
+		** scanLen = How many samples to process
+		*/
+		const int8_t *p8;
+		uint32_t scanLen16;
+		const __m128i *v;
+		__m128i xorVal, minVal, maxVal, minVal2, maxVal2, curVals;
+
+		// Put minimum / maximum in 8 packed int16 values (-1 and 0 because unsigned)
+		minVal = _mm_set1_epi8(-1);
+		maxVal = _mm_set1_epi8(0);
+
+		// For signed <-> unsigned conversion (_mm_min_epi8/_mm_max_epi8 is SSE4)
+		xorVal = _mm_set1_epi8(0x80);
+
+		scanLen16 = scanLen / 16;
+		if (scanLen16 > 0)
+		{
+			v = (__m128i *)p;
+			p = (const __m128i *)p + scanLen16;
+
+			while (scanLen16--)
+			{
+				curVals = _mm_loadu_si128(v++);
+				curVals = _mm_xor_si128(curVals, xorVal);
+				minVal = _mm_min_epu8(minVal, curVals);
+				maxVal = _mm_max_epu8(maxVal, curVals);
+			}
+
+			/* Now we have 16 minima and maxima each.
+			** Move the upper 8 values to the lower half and compute the minima/maxima of that. */
+			minVal2 = _mm_unpackhi_epi64(minVal, minVal);
+			maxVal2 = _mm_unpackhi_epi64(maxVal, maxVal);
+			minVal = _mm_min_epu8(minVal, minVal2);
+			maxVal = _mm_max_epu8(maxVal, maxVal2);
+
+			/* Now we have 8 minima and maxima each.
+			** Move the upper 4 values to the lower half and compute the minima/maxima of that. */
+			minVal2 = _mm_shuffle_epi32(minVal, _MM_SHUFFLE(1, 1, 1, 1));
+			maxVal2 = _mm_shuffle_epi32(maxVal, _MM_SHUFFLE(1, 1, 1, 1));
+			minVal = _mm_min_epu8(minVal, minVal2);
+			maxVal = _mm_max_epu8(maxVal, maxVal2);
+
+			/* Now we have 4 minima and maxima each.
+			** Move the upper 2 values to the lower half and compute the minima/maxima of that. */
+			minVal2 = _mm_srai_epi32(minVal, 16);
+			maxVal2 = _mm_srai_epi32(maxVal, 16);
+			minVal = _mm_min_epu8(minVal, minVal2);
+			maxVal = _mm_max_epu8(maxVal, maxVal2);
+
+			// Compute the minima/maxima of the both remaining values
+			minVal2 = _mm_srai_epi16(minVal, 8);
+			maxVal2 = _mm_srai_epi16(maxVal, 8);
+			minVal = _mm_min_epu8(minVal, minVal2);
+			maxVal = _mm_max_epu8(maxVal, maxVal2);
+		}
+
+		p8 = (const int8_t *)p;
+		while (scanLen-- & 15)
+		{
+			curVals = _mm_set1_epi8(*p8++ ^ 0x80);
+			minVal = _mm_min_epu8(minVal, curVals);
+			maxVal = _mm_max_epu8(maxVal, curVals);
+		}
+
+		*min8 = (int8_t)(_mm_cvtsi128_si32(minVal) ^ 0x80);
+		*max8 = (int8_t)(_mm_cvtsi128_si32(maxVal) ^ 0x80);
+	}
+	else
+#endif
+	{
+		// non-SSE version (really slow for big samples, especially when scrolling!)
+		int8_t smp8, minVal, maxVal, *ptr8;
+
+		minVal = 127;
+		maxVal = -128;
+
+		ptr8 = (int8_t *)p;
+		for (uint32_t i = 0; i < scanLen; i++)
+		{
+			smp8 = ptr8[i];
+			if (smp8 < minVal) minVal = smp8;
+			if (smp8 > maxVal) maxVal = smp8;
+		}
+
+		*min8 = minVal;
+		*max8 = maxVal;
+	}
+}
+
+static void getSampleDataPeak(sampleTyp *s, int32_t index, int32_t numBytes, int16_t *outMin, int16_t *outMax)
+{
+	int8_t min8, max8;
+	int16_t min16, max16;
+
+	if (numBytes == 0 || s->pek == NULL || s->len <= 0)
+	{
+		*outMin = SAMPLE_AREA_Y_CENTER;
+		*outMax = SAMPLE_AREA_Y_CENTER;
+		return;
+	}
+
+	if (s->typ & 16)
+	{
+		// 16-bit sample
+
+		assert(!(index & 1));
+
+		getMinMax16((int16_t *)&s->pek[index], numBytes >> 1, &min16, &max16);
+
+		*outMin = SAMPLE_AREA_Y_CENTER - ((min16 * SAMPLE_AREA_HEIGHT) >> 16);
+		*outMax = SAMPLE_AREA_Y_CENTER - ((max16 * SAMPLE_AREA_HEIGHT) >> 16);
+	}
+	else
+	{
+		// 8-bit sample
+
+		getMinMax8(&s->pek[index], numBytes, &min8, &max8);
+
+		*outMin = SAMPLE_AREA_Y_CENTER - ((min8 * SAMPLE_AREA_HEIGHT) >> 8);
+		*outMax = SAMPLE_AREA_Y_CENTER - ((max8 * SAMPLE_AREA_HEIGHT) >> 8);
+	}
+}
+
+static void writeWaveform(void)
+{
+	int16_t x, y1, y2, min, max, oldMin, oldMax;
+	int32_t smpIdx, smpNum, smpNumMin;
+	uint32_t viewSizeSamples;
+	sampleTyp *s;
+
+	// clear sample data area
+	memset(&video.frameBuffer[174 * SCREEN_W], 0, SAMPLE_AREA_WIDTH * SAMPLE_AREA_HEIGHT * sizeof (int32_t));
+
+	// draw center line
+	hLine(0, SAMPLE_AREA_Y_CENTER, SAMPLE_AREA_WIDTH, PAL_DESKTOP);
+
+	if (instr[editor.curInstr] == NULL || smpEd_ViewSize == 0)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->pek == NULL || s->len == 0)
+		return;
+
+	y1 = SAMPLE_AREA_Y_CENTER - getScaledSample(s, scr2SmpPos(0));
+
+	viewSizeSamples = smpEd_ViewSize;
+	if (s->typ & 16)
+		viewSizeSamples /= 2;
+
+	if (viewSizeSamples <= SAMPLE_AREA_WIDTH)
+	{
+		// 1:1 or zoomed in
+		for (x = 1; x < SAMPLE_AREA_WIDTH; x++)
+		{
+			y2 = SAMPLE_AREA_Y_CENTER - getScaledSample(s, scr2SmpPos(x));
+			sampleLine(x - 1, x, y1, y2);
+			y1 = y2;
+		}
+	}
+	else
+	{
+		// zoomed out
+
+		oldMin = y1;
+		oldMax = y1;
+
+		smpNumMin = (s->typ & 16) ? 2 : 1;
+		for (x = 0; x < SAMPLE_AREA_WIDTH; x++)
+		{
+			smpIdx = scr2SmpPos(x);
+			smpNum = scr2SmpPos(x+1) - smpIdx;
+
+			// prevent look-up overflow (yes, this can happen near the end of the sample)
+			if (smpIdx+smpNum > s->len)
+				smpNum = s->len - smpNum;
+
+			if (smpNum < smpNumMin)
+				smpNum = smpNumMin;
+
+			getSampleDataPeak(s, smpIdx, smpNum, &min, &max);
+
+			if (x != 0)
+			{
+				if (min > oldMax) sampleLine(x - 1, x, oldMax, min);
+				if (max < oldMin) sampleLine(x - 1, x, oldMin, max);
+			}
+
+			sampleLine(x, x, max, min);
+
+			oldMin = min;
+			oldMax = max;
+		}
+	}
+}
+
+void writeSample(bool forceSmpRedraw)
+{
+	int32_t tmpRx1, tmpRx2;
+	sampleTyp *s;
+
+	// update sample loop points for visuals
+
+	if (instr[editor.curInstr] == NULL)
+		s = &instr[0]->samp[0];
+	else
+		s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	curSmpRepS = s->repS;
+	curSmpRepL = s->repL;
+
+	// exchange range variables if x1 is after x2
+	if (smpEd_Rx1 > smpEd_Rx2)
+	{
+		tmpRx2 = smpEd_Rx2;
+		smpEd_Rx2 = smpEd_Rx1;
+		smpEd_Rx1 = tmpRx2;
+	}
+
+	// clamp range
+	smpEd_Rx1 = CLAMP(smpEd_Rx1, 0, s->len);
+	smpEd_Rx2 = CLAMP(smpEd_Rx2, 0, s->len);
+
+	// sanitize sample scroll position
+	if (smpEd_ScrPos+smpEd_ViewSize > s->len)
+	{
+		smpEd_ScrPos = s->len - smpEd_ViewSize;
+		updateScrPos();
+	}
+ 
+	if (smpEd_ScrPos < 0)
+	{
+		smpEd_ScrPos = 0;
+		updateScrPos();
+
+		if (smpEd_ViewSize > s->len)
+		{
+			smpEd_ViewSize = s->len;
+			updateViewSize();
+		}
+	}
+
+	// handle updating
+	if (editor.ui.sampleEditorShown)
+	{
+		// check if we need to redraw sample data
+		if (forceSmpRedraw || (old_SmpScrPos != smpEd_ScrPos || old_ViewSize != smpEd_ViewSize))
+		{
+			if (editor.ui.sampleEditorShown)
+				writeWaveform();
+
+			old_SmpScrPos = smpEd_ScrPos;
+			old_ViewSize = smpEd_ViewSize;
+
+			if (editor.ui.sampleEditorShown)
+				writeRange(); // range was overwritten, draw it again
+
+			smpEd_OldSmpPosLine = -1;
+
+			old_Rx1 = smpEd_Rx1;
+			old_Rx2 = smpEd_Rx2;
+		}
+
+		// check if we need to write new range
+		if (old_Rx1 != smpEd_Rx1 || old_Rx2 != smpEd_Rx2)
+		{
+			tmpRx1 = smpEd_Rx1;
+			tmpRx2 = smpEd_Rx2;
+
+			// remove old range
+			smpEd_Rx1 = old_Rx1;
+			smpEd_Rx2 = old_Rx2;
+
+			if (editor.ui.sampleEditorShown)
+				writeRange();
+
+			// write new range
+			smpEd_Rx1 = tmpRx1;
+			smpEd_Rx2 = tmpRx2;
+
+			if (editor.ui.sampleEditorShown)
+				writeRange();
+
+			old_Rx1 = smpEd_Rx1;
+			old_Rx2 = smpEd_Rx2;
+		}
+
+		fixRepeatGadgets();
+	}
+
+	if (editor.ui.sampleEditorShown)
+		fixSampleDrag();
+
+	updateSampleEditor();
+}
+
+static void setSampleRange(int32_t start, int32_t end)
+{
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL)
+	{
+		smpEd_Rx1 = 0;
+		smpEd_Rx2 = 0;
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	if (start < 0)
+		start = 0;
+
+	if (end < 0)
+		end = 0;
+
+	// kludge so that you can mark the last sample of what we see
+	// XXX: This doesn't seem to work properly!
+	if (end == SCREEN_W-1)
+	{
+		if (smpEd_ViewSize < SAMPLE_AREA_WIDTH) // zoomed in
+			end += 2;
+		else if (smpEd_ScrPos+smpEd_ViewSize >= s->len)
+			end++;
+	}
+
+	smpEd_Rx1 = scr2SmpPos(start);
+	smpEd_Rx2 = scr2SmpPos(end);
+
+	// 2-byte align if sample is 16-bit
+	if (s->typ & 16)
+	{
+		smpEd_Rx1 &= 0xFFFFFFFE;
+		smpEd_Rx2 &= 0xFFFFFFFE;
+	}
+}
+
+void updateSampleEditorSample(void)
+{
+	smpEd_Rx1 = 0;
+	smpEd_Rx2 = 0;
+
+	smpEd_ScrPos = 0;
+	updateScrPos();
+
+	if (instr[editor.curInstr] == NULL)
+		smpEd_ViewSize = 0;
+	else
+		smpEd_ViewSize = instr[editor.curInstr]->samp[editor.curSmp].len;
+
+	updateViewSize();
+
+	writeSample(true);
+}
+
+void updateSampleEditor(void)
+{
+	char noteChar1, noteChar2, octaChar;
+	uint8_t note, typ;
+	int32_t sampleLen;
+
+	if (!editor.ui.sampleEditorShown)
+		return;
+
+	if (instr[editor.curInstr] == NULL)
+	{
+		typ = 0;
+		sampleLen = 0;
+	}
+	else
+	{
+		typ = instr[editor.curInstr]->samp[editor.curSmp].typ;
+		sampleLen = instr[editor.curInstr]->samp[editor.curSmp].len;
+	}
+
+	// sample bit depth radio buttons
+	uncheckRadioButtonGroup(RB_GROUP_SAMPLE_DEPTH);
+	if (typ & 16)
+		radioButtons[RB_SAMPLE_16BIT].state = RADIOBUTTON_CHECKED;
+	else
+		radioButtons[RB_SAMPLE_8BIT].state = RADIOBUTTON_CHECKED;
+	showRadioButtonGroup(RB_GROUP_SAMPLE_DEPTH);
+
+	// sample loop radio buttons
+	uncheckRadioButtonGroup(RB_GROUP_SAMPLE_LOOP);
+	if (typ & 3)
+	{
+		if (typ & 2)
+			radioButtons[RB_SAMPLE_PINGPONG_LOOP].state = RADIOBUTTON_CHECKED;
+		else
+			radioButtons[RB_SAMPLE_FORWARD_LOOP].state = RADIOBUTTON_CHECKED;
+	}
+	else
+	{
+		radioButtons[RB_SAMPLE_NO_LOOP].state = RADIOBUTTON_CHECKED;
+	}
+	showRadioButtonGroup(RB_GROUP_SAMPLE_LOOP);
+
+	// draw sample play note
+
+	note = (editor.smpEd_NoteNr - 1) % 12;
+	if (config.ptnAcc == 0)
+	{
+		noteChar1 = sharpNote1Char[note];
+		noteChar2 = sharpNote2Char[note];
+	}
+	else
+	{
+		noteChar1 = flatNote1Char[note];
+		noteChar2 = flatNote2Char[note];
+	}
+
+	octaChar = '0' + ((editor.smpEd_NoteNr - 1) / 12);
+
+	charOutBg(7,  369, PAL_FORGRND, PAL_BCKGRND, noteChar1);
+	charOutBg(15, 369, PAL_FORGRND, PAL_BCKGRND, noteChar2);
+	charOutBg(23, 369, PAL_FORGRND, PAL_BCKGRND, octaChar);
+
+	// draw sample display/length
+
+	hexOutBg(536, 350, PAL_FORGRND, PAL_DESKTOP, smpEd_ViewSize, 8);
+	hexOutBg(536, 362, PAL_FORGRND, PAL_DESKTOP, sampleLen, 8);
+}
+
+void sampPlayNoteUp(void)
+{
+	if (editor.smpEd_NoteNr < 96)
+	{
+		editor.smpEd_NoteNr++;
+		updateSampleEditor();
+	}
+}
+
+void sampPlayNoteDown(void)
+{
+	if (editor.smpEd_NoteNr > 1)
+	{
+		editor.smpEd_NoteNr--;
+		updateSampleEditor();
+	}
+}
+
+void scrollSampleDataLeft(void)
+{
+	int32_t scrollAmount, sampleLen;
+
+	if (instr[editor.curInstr] == NULL)
+		sampleLen = 0;
+	else
+		sampleLen = instr[editor.curInstr]->samp[editor.curSmp].len;
+
+	if (smpEd_ViewSize == 0 || smpEd_ViewSize == sampleLen)
+		return;
+
+	if (mouse.rightButtonPressed)
+	{
+		scrollAmount = smpEd_ViewSize / 14; // rounded from 16 (70Hz)
+		if (scrollAmount < 1)
+			scrollAmount = 1;
+	}
+	else
+	{
+		scrollAmount = smpEd_ViewSize / 27; // rounded from 32 (70Hz)
+		if (scrollAmount < 1)
+			scrollAmount = 1;
+	}
+
+	smpEd_ScrPos -= scrollAmount;
+	if (smpEd_ScrPos < 0)
+		smpEd_ScrPos = 0;
+
+	updateScrPos();
+}
+
+void scrollSampleDataRight(void)
+{
+	int32_t scrollAmount, sampleLen;
+
+	if (instr[editor.curInstr] == NULL)
+		sampleLen = 0;
+	else
+		sampleLen = instr[editor.curInstr]->samp[editor.curSmp].len;
+
+	if (smpEd_ViewSize == 0 || smpEd_ViewSize == sampleLen)
+		return;
+
+	if (mouse.rightButtonPressed)
+	{
+		scrollAmount = smpEd_ViewSize / 14; // was 16 (70Hz->60Hz)
+		if (scrollAmount < 1)
+			scrollAmount = 1;
+	}
+	else
+	{
+		scrollAmount = smpEd_ViewSize / 27; // was 32 (70Hz->60Hz)
+		if (scrollAmount < 1)
+			scrollAmount = 1;
+	}
+
+	smpEd_ScrPos += scrollAmount;
+	if (smpEd_ScrPos+smpEd_ViewSize > sampleLen)
+		smpEd_ScrPos = sampleLen - smpEd_ViewSize;
+
+	updateScrPos();
+}
+
+void scrollSampleData(uint32_t pos)
+{
+	int32_t sampleLen;
+
+	if (instr[editor.curInstr] == NULL)
+		sampleLen = 0;
+	else
+		sampleLen = instr[editor.curInstr]->samp[editor.curSmp].len;
+
+	if (smpEd_ViewSize == 0 || smpEd_ViewSize == sampleLen)
+		return;
+
+	smpEd_ScrPos = (int32_t)pos;
+	updateScrPos();
+}
+
+void sampPlayWave(void)
+{
+	playSample(editor.cursor.ch, editor.curInstr, editor.curSmp, editor.smpEd_NoteNr, 0, 0);
+}
+
+void sampPlayDisplay(void)
+{
+	playRange(editor.cursor.ch, editor.curInstr, editor.curSmp, editor.smpEd_NoteNr, 0, 0, smpEd_ScrPos, smpEd_ViewSize);
+}
+
+void sampPlayRange(void)
+{
+	playRange(editor.cursor.ch, editor.curInstr, editor.curSmp, editor.smpEd_NoteNr, 0, 0, smpEd_Rx1, smpEd_Rx2 - smpEd_Rx1);
+}
+
+void showRange(void)
+{
+	sampleTyp *s;
+
+	if (editor.curInstr == 0 || instr[editor.curInstr] == NULL)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	if (s->pek == NULL)
+		return;
+
+	if (smpEd_Rx1 < smpEd_Rx2)
+	{
+		smpEd_ViewSize = smpEd_Rx2 - smpEd_Rx1;
+
+		if (s->typ & 16)
+		{
+			if (smpEd_ViewSize < 4)
+				smpEd_ViewSize = 4;
+		}
+		else if (smpEd_ViewSize < 2)
+		{
+			smpEd_ViewSize = 2;
+		}
+
+		updateViewSize();
+
+		smpEd_ScrPos = smpEd_Rx1;
+		updateScrPos();
+	}
+	else
+	{
+		okBox(0, "System message", "Cannot show empty range!");
+	}
+}
+
+void rangeAll(void)
+{
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	smpEd_Rx1 = smpEd_ScrPos;
+	smpEd_Rx2 = smpEd_ScrPos + smpEd_ViewSize;
+}
+
+static void zoomSampleDataIn(int32_t step, int16_t x)
+{
+	int32_t tmp32, minViewSize;
+	int64_t newScrPos64;
+	sampleTyp *s;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	minViewSize = (s->typ & 16) ? 4 : 2;
+	if (old_ViewSize <= minViewSize)
+		return;
+
+	if (step < 1)
+		step = 1;
+
+	smpEd_ViewSize = old_ViewSize - (step * 2);
+	if (smpEd_ViewSize < minViewSize)
+		smpEd_ViewSize = minViewSize;
+
+	updateViewSize();
+
+	tmp32 = (x - (SAMPLE_AREA_WIDTH / 2)) * step;
+	step += (int32_t)round(tmp32 / (double)(SAMPLE_AREA_WIDTH / 2));
+
+	newScrPos64 = old_SmpScrPos + step;
+	if (newScrPos64+smpEd_ViewSize > s->len)
+		newScrPos64 = s->len - smpEd_ViewSize;
+
+	smpEd_ScrPos = newScrPos64 & 0xFFFFFFFF;
+	updateScrPos();
+}
+
+static void zoomSampleDataOut(int32_t step, int16_t x)
+{
+	int32_t tmp32;
+	int64_t newViewSize64;
+	sampleTyp *s;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	if (old_ViewSize == s->len)
+		return;
+
+	if (step < 1)
+		step = 1;
+
+	newViewSize64 = (int64_t)old_ViewSize + (step * 2);
+	if (newViewSize64 > s->len)
+	{
+		smpEd_ViewSize = s->len;
+		smpEd_ScrPos = 0;
+	}
+	else
+	{
+		tmp32 = (x - (SAMPLE_AREA_WIDTH / 2)) * step;
+		step += (int32_t)round(tmp32 / (double)(SAMPLE_AREA_WIDTH / 2));
+
+		smpEd_ViewSize = newViewSize64 & 0xFFFFFFFF;
+
+		smpEd_ScrPos = old_SmpScrPos - step;
+		if (smpEd_ScrPos < 0)
+			smpEd_ScrPos = 0;
+
+		if ((smpEd_ScrPos + smpEd_ViewSize) > s->len)
+			smpEd_ScrPos = s->len - smpEd_ViewSize;
+	}
+
+	updateViewSize();
+	updateScrPos();
+}
+
+void mouseZoomSampleDataIn(void)
+{
+	int32_t step;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	step = (int32_t)round(old_ViewSize / 10.0);
+	zoomSampleDataIn(step, mouse.x);
+}
+
+void mouseZoomSampleDataOut(void)
+{
+	int32_t step;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	step = (int32_t)round(old_ViewSize / 10.0);
+	zoomSampleDataOut(step, mouse.x);
+}
+
+void zoomOut(void)
+{
+	sampleTyp *s;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	if (old_ViewSize == s->len)
+		return;
+
+	smpEd_ScrPos = (int32_t)round(old_SmpScrPos - (old_ViewSize / 2.0));
+	if (smpEd_ScrPos < 0)
+		smpEd_ScrPos = 0;
+
+	smpEd_ViewSize = old_ViewSize * 2;
+	if (smpEd_ViewSize < old_ViewSize)
+	{
+		smpEd_ViewSize = s->len;
+		smpEd_ScrPos = 0;
+	}
+	else if (smpEd_ViewSize+smpEd_ScrPos > s->len)
+	{
+		smpEd_ViewSize = s->len - smpEd_ScrPos;
+	}
+
+	updateViewSize();
+	updateScrPos();
+}
+
+void showAll(void)
+{
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	smpEd_ScrPos = 0;
+	updateScrPos();
+
+	smpEd_ViewSize = instr[editor.curInstr]->samp[editor.curSmp].len;
+	updateViewSize();
+}
+
+void saveRange(void)
+{
+	UNICHAR *filenameU;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	if (smpEd_Rx1 >= smpEd_Rx2)
+	{
+		okBox(0, "System message", "No range specified!");
+		return;
+	}
+
+	smpEd_SysReqText[0] = '\0';
+	if (inputBox(1, "Enter filename:", smpEd_SysReqText, sizeof (smpEd_SysReqText) - 1) != 1)
+		return;
+
+	if (smpEd_SysReqText[0] == '\0')
+	{
+		okBox(0, "System message", "Filename can't be empty!");
+		return;
+	}
+
+	if (smpEd_SysReqText[0] == '.')
+	{
+		okBox(0, "System message", "The very first character in the filename can't be '.' (dot)!");
+		return;
+	}
+
+	if (strpbrk(smpEd_SysReqText, "\\/:*?\"<>|") != NULL)
+	{
+		okBox(0, "System message", "The filename can't contain the following characters: \\ / : * ? \" < > |");
+		return;
+	}
+
+	switch (editor.sampleSaveMode)
+	{
+		         case SMP_SAVE_MODE_RAW: changeFilenameExt(smpEd_SysReqText, ".raw", sizeof (smpEd_SysReqText) - 1); break;
+		         case SMP_SAVE_MODE_IFF: changeFilenameExt(smpEd_SysReqText, ".iff", sizeof (smpEd_SysReqText) - 1); break;
+		default: case SMP_SAVE_MODE_WAV: changeFilenameExt(smpEd_SysReqText, ".wav", sizeof (smpEd_SysReqText) - 1); break;
+	}
+
+	filenameU = cp437ToUnichar(smpEd_SysReqText);
+	if (filenameU == NULL)
+	{
+		okBox(0, "System message", "Error converting string locale!");
+		return;
+	}
+
+	saveSample(filenameU, SAVE_RANGE);
+	free(filenameU);
+}
+
+static bool cutRange(bool cropMode, int32_t r1, int32_t r2)
+{
+	int8_t *newPtr;
+	int32_t len, repE;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL)
+		return false;
+
+	assert(!(s->typ & 16) || (!(r1 & 1) && !(r2 & 1) && !(s->len & 1)));
+
+	if (!cropMode)
+	{
+		if (editor.curInstr == 0 || s->pek == NULL || s->len == 0)
+			return false;
+
+		pauseAudio();
+		restoreSample(s);
+
+		if (config.smpCutToBuffer)
+		{
+			if (!getCopyBuffer(r2 - r1))
+			{
+				if (!cropMode)
+				{
+					fixSample(s);
+					resumeAudio();
+				}
+
+				okBoxThreadSafe(0, "System message", "Not enough memory!");
+				return false;
+			}
+
+			memcpy(smpCopyBuff, &s->pek[r1], r2 - r1);
+			smpCopyBits = (s->typ & 16) ? 16 : 8;
+		}
+	}
+
+	memmove(&s->pek[r1], &s->pek[r2], s->len - r2);
+
+	len = s->len - r2 + r1;
+	if (len > 0)
+	{
+		newPtr = (int8_t *)realloc(s->pek, len + LOOP_FIX_LEN);
+		if (newPtr == NULL)
+		{
+			freeSample(editor.curInstr, editor.curSmp);
+			editor.updateCurSmp = true;
+
+			if (!cropMode)
+				resumeAudio();
+
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			return false;
+		}
+
+		s->pek = newPtr;
+		s->len = len;
+
+		repE = s->repS + s->repL;
+		if (s->repS > r1)
+		{
+			s->repS -= r2 - r1;
+			if (s->repS < r1)
+				s->repS = r1;
+		}
+
+		if (repE > r1)
+		{
+			repE -= r2 - r1;
+			if (repE < r1)
+				repE = r1;
+		}
+
+		s->repL = repE - s->repS;
+		if (s->repL < 0)
+			s->repL = 0;
+
+		if (s->repS+s->repL > len)
+			s->repL = len - s->repS;
+
+		// 2-byte align loop points if sample is 16-bit
+		if (s->typ & 16)
+		{
+			s->repL &= 0xFFFFFFFE;
+			s->repS &= 0xFFFFFFFE;
+		}
+
+		if (s->repL == 0)
+		{
+			s->repS = 0;
+			s->typ &= ~3; // disable loop
+		}
+
+		if (!cropMode)
+			fixSample(s);
+	}
+	else
+	{
+		freeSample(editor.curInstr, editor.curSmp);
+		editor.updateCurSmp = true;
+	}
+
+	if (!cropMode)
+	{
+		resumeAudio();
+		setSongModifiedFlag();
+
+		setMouseBusy(false);
+
+		smpEd_Rx2 = r1;
+		writeSampleFlag = true;
+	}
+
+	return true;
+}
+
+static int32_t SDLCALL sampCutThread(void *ptr)
+{
+	(void)ptr;
+
+	if (!cutRange(false, smpEd_Rx1, smpEd_Rx2))
+		okBoxThreadSafe(0, "System message", "Not enough memory! (Disable \"cut to buffer\")");
+	else
+		writeSampleFlag = true;
+
+	return true;
+}
+
+void sampCut(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0 || smpEd_Rx2 == 0 || smpEd_Rx2 < smpEd_Rx1)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampCutThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL sampCopyThread(void *ptr)
+{
+	bool smpMustBeFixed;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	assert(s != NULL && (!(s->typ & 16) || (!(smpEd_Rx1 & 1) && !(smpEd_Rx2 & 1))));
+
+	if (!getCopyBuffer(smpEd_Rx2 - smpEd_Rx1))
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		return true;
+	}
+
+	// if smp loop fix is within marked range, we need to restore and fix the sample before copy
+	smpMustBeFixed = (smpEd_Rx1 >= s->fixedPos) || (smpEd_Rx2 >= s->fixedPos);
+
+	if (smpMustBeFixed)
+		restoreSample(s);
+
+	memcpy(smpCopyBuff, &s->pek[smpEd_Rx1], smpEd_Rx2 - smpEd_Rx1);
+
+	if (smpMustBeFixed)
+		fixSample(s);
+
+	smpCopyBits = (s->typ & 16) ? 16 : 8;
+	setMouseBusy(false);
+
+	return true;
+}
+
+void sampCopy(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0 ||  smpEd_Rx2 == 0 || smpEd_Rx2 < smpEd_Rx1)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampCopyThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL sampPasteThread(void *ptr)
+{
+	int8_t *p, *ptr8;
+	int16_t *ptr16;
+	int32_t i, l, d, realCopyLen, len32;
+	sampleTyp *s;
+
+	(void)ptr;
+
+	if (instr[editor.curInstr] == NULL && !allocateInstr(editor.curInstr))
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		return true;
+	}
+
+	s = getCurSample();
+
+	if (smpEd_Rx2 == 0) // paste without selecting where (overwrite)
+	{
+		p = (int8_t *)malloc(smpCopySize + LOOP_FIX_LEN);
+		if (p == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			return true;
+		}
+
+		pauseAudio();
+
+		if (s->pek != NULL)
+			free(s->pek);
+
+		memset(s, 0, sizeof (sampleTyp));
+		memcpy(p, smpCopyBuff, smpCopySize);
+
+		s->pek = p;
+		s->len = smpCopySize;
+		s->vol = 64;
+		s->pan = 128;
+		s->typ = (smpCopyBits == 16) ? 16 : 0;
+
+		fixSample(s);
+		resumeAudio();
+
+		editor.updateCurSmp = true;
+		setSongModifiedFlag();
+		setMouseBusy(false);
+
+		return true;
+	}
+
+	assert(!(s->typ & 16) || (!(smpEd_Rx1 & 1) && !(smpEd_Rx2 & 1) && !(s->len & 1)));
+
+	if (s->len+smpCopySize > MAX_SAMPLE_LEN)
+	{
+		okBoxThreadSafe(0, "System message", "Not enough room in sample!");
+		return true;
+	}
+
+	realCopyLen = smpCopySize;
+	if (s->pek != NULL)
+	{
+		if (!(s->typ & 16))
+		{
+			// destination sample is 8-bit
+
+			// copy buffer is 16-bit, divide by 2
+			if (smpCopyBits == 16)
+			{
+				realCopyLen &= 0xFFFFFFFE;
+				realCopyLen /= 2;
+			}
+		}
+		else
+		{
+			// destination sample is 16-bit
+
+			// copy buffer is 8-bit, multiply by 2
+			if (smpCopyBits == 8)
+				realCopyLen *= 2;
+		}
+
+		d = realCopyLen - (smpEd_Rx1 - smpEd_Rx2);
+		l = s->len + realCopyLen - (smpEd_Rx2 - smpEd_Rx1);
+	}
+	else
+	{
+		// destination sample is empty
+		d = 0;
+		l = smpCopySize;
+	}
+
+	p = (int8_t *)malloc(l + LOOP_FIX_LEN);
+	if (p == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		return true;
+	}
+
+	pauseAudio();
+	restoreSample(s);
+
+	if (s->pek != NULL)
+	{
+		// copy first part of sample (left side before copy part)
+		memcpy(p, s->pek, smpEd_Rx1);
+
+		if (s->typ & 16)
+		{
+			// destination sample = 16-bit
+
+			if (smpCopyBits == 16)
+			{
+				// src/dst = equal bits, copy directly
+				memcpy(&p[smpEd_Rx1], smpCopyBuff, realCopyLen);
+			}
+			else
+			{
+				// convert copy data to 16-bit then paste
+				ptr16 = (int16_t *)&p[smpEd_Rx1];
+				len32 = realCopyLen / 2;
+
+				for (i = 0; i < len32; i++)
+					ptr16[i] = smpCopyBuff[i] << 8;
+			}
+		}
+		else
+		{
+			// destination sample = 8-bit
+
+			if (smpCopyBits == 8)
+			{
+				// src/dst = equal bits, copy directly
+				memcpy(&p[smpEd_Rx1], smpCopyBuff, realCopyLen);
+			}
+			else
+			{
+				// convert copy data to 8-bit then paste
+				ptr8 = (int8_t *)&p[smpEd_Rx1];
+				ptr16 = (int16_t *)smpCopyBuff;
+
+				for (i = 0; i < realCopyLen; i++)
+					ptr8[i] = ptr16[i] >> 8;
+			}
+		}
+
+		// copy remaining data from original sample
+		memmove(&p[smpEd_Rx1+realCopyLen], &s->pek[smpEd_Rx2], s->len - smpEd_Rx2);
+		free(s->pek);
+
+		// adjust loop points if necessary
+		if (smpEd_Rx2-smpEd_Rx1 != realCopyLen)
+		{
+			if (s->repS > smpEd_Rx2)
+			{
+				s->repS += d;
+				s->repL -= d;
+			}
+
+			if (s->repS+s->repL > smpEd_Rx2)
+				s->repL += d;
+
+			if (s->repS > l)
+			{
+				s->repS = 0;
+				s->repL = 0;
+			}
+
+			if (s->repS+s->repL > l)
+				s->repL = l - s->repS;
+
+			// 2-byte align loop points if smaple is 16-bit
+			if (s->typ & 16)
+			{
+				s->repL &= 0xFFFFFFFE;
+				s->repS &= 0xFFFFFFFE;
+			}
+		}
+	}
+	else
+	{
+		// we pasted to an empty sample
+
+		// copy over copy buffer data
+		memcpy(p, smpCopyBuff, smpCopySize);
+
+		// set new sample bit depth
+		if (smpCopyBits == 16)
+			s->typ |= 16;
+		else
+			s->typ &= ~16;
+
+		smpEd_ViewSize = l;
+		updateViewSize();
+	}
+
+	s->len = l;
+	s->pek = p;
+
+	fixSample(s);
+	resumeAudio();
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	// set new range
+	smpEd_Rx2 = smpEd_Rx1 + realCopyLen;
+
+	if (s->typ & 16)
+	{
+		smpEd_Rx1 &= 0xFFFFFFFE;
+		smpEd_Rx2 &= 0xFFFFFFFE;
+	}
+
+	writeSampleFlag = true;
+	return true;
+}
+
+void sampPaste(void)
+{
+	if (editor.curInstr == 0 || smpEd_Rx2 < smpEd_Rx1 || smpCopyBuff == NULL || smpCopySize == 0)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampPasteThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL sampCropThread(void *ptr)
+{
+	int32_t r1, r2;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	assert(!(s->typ & 16) || (!(smpEd_Rx1 & 1) && !(smpEd_Rx2 & 1) && !(s->len & 1)));
+
+	r1 = smpEd_Rx1;
+	r2 = smpEd_Rx2;
+
+	pauseAudio();
+	restoreSample(s);
+
+	if (!cutRange(true, 0, r1) || !cutRange(true, r2 - r1, s->len))
+	{
+		fixSample(s);
+		resumeAudio();
+		return true;
+	}
+	
+	fixSample(s);
+	resumeAudio();
+
+	r1 = 0;
+	r2 = s->len;
+
+	if (s->typ & 16)
+		r2 &= 0xFFFFFFFE;
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	smpEd_Rx1 = r1;
+	smpEd_Rx2 = r2;
+	writeSampleFlag = true;
+
+	return true;
+}
+
+void sampCrop(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0 || smpEd_Rx1 >= smpEd_Rx2)
+		return;
+
+	if (smpEd_Rx1 == 0 && smpEd_Rx2 == s->len)
+		return; // no need to crop (the whole sample is marked)
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampCropThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+void sampXFade(void)
+{
+	bool is16Bit;
+	uint8_t t;
+	int16_t c ,d;
+	int32_t i, x1, x2, y1, y2, a, b, d1, d2, d3, dist;
+	double dR, dS1, dS2, dS3, dS4;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	assert(!(s->typ & 16) || (!(smpEd_Rx1 & 1) && !(smpEd_Rx2 & 1) && !(s->len & 1)));
+
+	t = s->typ;
+
+	// check if the sample has the loop flag enabled
+	if ((t & 3) == 0)
+	{
+		okBox(0, "System message", "X-Fade can only be used on a loop-enabled sample!");
+		return;
+	}
+
+	// check if we selected a range
+	if (smpEd_Rx2 == 0)
+	{
+		okBox(0, "System message", "No range selected! Make a small range that includes loop start or loop end.");
+		return;
+	}
+
+	// check if we selected a valid range length
+	if (smpEd_Rx2-smpEd_Rx1 <= 2)
+	{
+		okBox(0, "System message", "Invalid range!");
+		return;
+	}
+
+	x1 = smpEd_Rx1;
+	x2 = smpEd_Rx2;
+
+	is16Bit = (t & 16) ? true : false;
+
+	if ((t & 3) >= 2)
+	{
+		// pingpong loop
+
+		y1 = s->repS;
+		if (x1 <= y1)
+		{
+			// first loop point
+
+			if (x2 <= y1 || x2 >= s->repS+s->repL)
+			{
+				okBox(0, "System message", "Not enough sample data outside loop!");
+				return;
+			}
+
+			d1 = y1 - x1;
+			if (x2-y1 > d1)
+				d1 = x2 - y1;
+
+			d2 = y1 - x1;
+			d3 = x2 - y1;
+
+			if (d1 < 1 || d2 < 1 || d3 < 1)
+			{
+				okBox(0, "System message", "Not enough sample data outside loop!");
+				return;
+			}
+
+			if (y1-d1 < 0 || y1+d1 >= s->len)
+			{
+				okBox(0, "System message", "Invalid range!");
+				return;
+			}
+
+			dist = 1;
+			if (is16Bit)
+				dist++;
+
+			pauseAudio();
+			restoreSample(s);
+
+			i = 0;
+			while (i < d1)
+			{
+				a = getSampleValueNr(s->pek, t, y1 + dist * (-i - 1));
+				b = getSampleValueNr(s->pek, t, y1 + dist * i);
+
+				dS1 = 1.0 - i / (double)d2; dS2 = 2.0 - dS1;
+				dS3 = 1.0 - i / (double)d3; dS4 = 2.0 - dS3;
+
+				c = (int16_t)round((a * dS2 + b * dS1) / (dS1 + dS2));
+				d = (int16_t)round((b * dS4 + a * dS3) / (dS3 + dS4));
+
+				if (i < d2) putSampleValueNr(s->pek, t, y1 + dist * (-i - 1), c);
+				if (i < d3) putSampleValueNr(s->pek, t, y1 + dist * i, d);
+
+				i += dist;
+			}
+
+			fixSample(s);
+			resumeAudio();
+		}
+		else
+		{
+			// last loop point
+
+			y1 += s->repL;
+			if (x1 >= y1 || x2 <= y1 || x2 >= s->len)
+			{
+				okBox(0, "System message", "Not enough sample data outside loop!");
+				return;
+			}
+
+			d1 = y1 - x1;
+			if (x2-y1 > d1)
+				d1 = x2 - y1;
+
+			d2 = y1 - x1;
+			d3 = x2 - y1;
+
+			if (d1 < 1 || d2 < 1 || d3 < 1)
+			{
+				okBox(0, "System message", "Not enough sample data outside loop!");
+				return;
+			}
+
+			if (y1-d1 < 0 || y1+d1 >= s->len)
+			{
+				okBox(0, "System message", "Invalid range!");
+				return;
+			}
+
+			dist = is16Bit ? 2 : 1;
+
+			pauseAudio();
+			restoreSample(s);
+
+			i = 0;
+			while (i < d1)
+			{
+				a = getSampleValueNr(s->pek, t, y1 - i - dist);
+				b = getSampleValueNr(s->pek, t, y1 + i);
+
+				dS1 = 1.0 - i / (double)d2; dS2 = 2.0 - dS1;
+				dS3 = 1.0 - i / (double)d3; dS4 = 2.0 - dS3;
+
+				c = (int16_t)round((a * dS2 + b * dS1) / (dS1 + dS2));
+				d = (int16_t)round((b * dS4 + a * dS3) / (dS3 + dS4));
+
+				if (i < d2) putSampleValueNr(s->pek, t, y1 - i - dist, c);
+				if (i < d3) putSampleValueNr(s->pek, t, y1 + i, d);
+
+				i += dist;
+			}
+
+			fixSample(s);
+			resumeAudio();
+		}
+	}
+	else
+	{
+		// standard loop
+
+		if (x1 > s->repS)
+		{
+			x1 -= s->repL;
+			x2 -= s->repL;
+		}
+
+		if (x1 < 0 || x2 <= x1 || x2 >= s->len)
+		{
+			okBox(0, "System message", "Not enough sample data outside loop!");
+			return;
+		}
+
+		i = (x2 - x1 + 1) / 2;
+		y1 = s->repS - i;
+		y2 = s->repS + s->repL - i;
+
+		if (t & 16)
+		{
+			y1 &= 0xFFFFFFFE;
+			y2 &= 0xFFFFFFFE;
+		}
+
+		if (y1 < 0 || y2+(x2-x1) >= s->len)
+		{
+			okBox(0, "System message", "Invalid range!");
+			return;
+		}
+
+		d1 = x2 - x1;
+		d2 = s->repS - y1;
+		d3 = x2 - x1 - d2;
+
+		if (y1+(x2-x1) <= s->repS || d1 == 0 || d3 == 0 || d1 > s->repL)
+		{
+			okBox(0, "System message", "Not enough sample data outside loop!");
+			return;
+		}
+
+		dR = (s->repS - i) / (double)(x2 - x1);
+		dist = is16Bit ? 2 : 1;
+
+		pauseAudio();
+		restoreSample(s);
+
+		i = 0;
+		while (i < x2-x1)
+		{
+			a = getSampleValueNr(s->pek, t, y1 + i);
+			b = getSampleValueNr(s->pek, t, y2 + i);
+
+			dS2 = i / (double)d1;
+			dS1 = 1.0 - dS2;
+
+			if (y1+i < s->repS)
+			{
+				dS3 = 1.0 - (1.0 - dR) * i / d2;
+				dS4 = dR * i / d2;
+
+				c = (int16_t)round((a * dS3 + b * dS4) / (dS3 + dS4));
+				d = (int16_t)round((a * dS2 + b * dS1) / (dS1 + dS2));
+			}
+			else
+			{
+				dS3 = 1.0 - (1.0 - dR) * (d1 - i) / d3;
+				dS4 = dR * (d1 - i) / d3;
+
+				c = (int16_t)round((a * dS2 + b * dS1) / (dS1 + dS2));
+				d = (int16_t)round((a * dS4 + b * dS3) / (dS3 + dS4));
+			}
+
+			putSampleValueNr(s->pek, t, y1 + i, c);
+			putSampleValueNr(s->pek, t, y2 + i, d);
+
+			i += dist;
+		}
+
+		fixSample(s);
+		resumeAudio();
+	}
+
+	writeSample(true);
+	setSongModifiedFlag();
+}
+
+void rbSampleNoLoop(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	lockMixerCallback();
+	restoreSample(s);
+
+	s->typ &= ~3;
+
+	fixSample(s);
+	unlockMixerCallback();
+
+	updateSampleEditor();
+	writeSample(true);
+	setSongModifiedFlag();
+}
+
+void rbSampleForwardLoop(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	lockMixerCallback();
+	restoreSample(s);
+
+	s->typ = (s->typ & ~3) | 1;
+
+	if (s->repL+s->repS == 0)
+	{
+		s->repS = 0;
+		s->repL = s->len;
+	}
+
+	fixSample(s);
+	unlockMixerCallback();
+
+	updateSampleEditor();
+	writeSample(true);
+	setSongModifiedFlag();
+}
+
+void rbSamplePingpongLoop(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	lockMixerCallback();
+	restoreSample(s);
+
+	s->typ = (s->typ & ~3) | 2;
+
+	if (s->repL+s->repS == 0)
+	{
+		s->repS = 0;
+		s->repL = s->len;
+	}
+
+	fixSample(s);
+	unlockMixerCallback();
+
+	updateSampleEditor();
+	writeSample(true);
+	setSongModifiedFlag();
+}
+
+static int32_t SDLCALL convSmp8Bit(void *ptr)
+{
+	int8_t *dst8, *newPtr;
+	int16_t *src16;
+	int32_t i, newLen;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	pauseAudio();
+	restoreSample(s);
+
+	src16 = (int16_t *)s->pek;
+	dst8 = s->pek;
+
+	newLen = s->len / 2;
+	for (i = 0; i < newLen; i++)
+		dst8[i] = src16[i] >> 8;
+
+	newPtr = (int8_t *)realloc(s->pek, newLen + LOOP_FIX_LEN);
+	if (newPtr != NULL)
+		s->pek = newPtr;
+
+	s->repL /= 2;
+	s->repS /= 2;
+	s->len /= 2;
+	s->typ &= ~16; // remove 16-bit flag
+
+	fixSample(s);
+	resumeAudio();
+
+	editor.updateCurSmp = true;
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	return true;
+}
+
+void rbSample8bit(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (okBox(2, "System request", "Convert sampledata?") == 1)
+	{
+		mouseAnimOn();
+		thread = SDL_CreateThread(convSmp8Bit, NULL, NULL);
+		if (thread == NULL)
+		{
+			okBox(0, "System message", "Couldn't create thread!");
+			return;
+		}
+
+		SDL_DetachThread(thread);
+		return;
+	}
+	else
+	{
+		lockMixerCallback();
+		restoreSample(s);
+
+		s->typ &= ~16; // remove 16-bit flag
+
+		fixSample(s);
+		unlockMixerCallback();
+
+		updateSampleEditorSample();
+		updateSampleEditor();
+		writeSample(true);
+		setSongModifiedFlag();
+	}
+}
+
+static int32_t SDLCALL convSmp16Bit(void *ptr)
+{
+	int8_t *src8, *newPtr;
+	int16_t smp16, *dst16;
+	int32_t i;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	pauseAudio();
+	restoreSample(s);
+
+	newPtr = (int8_t *)realloc(s->pek, (s->len * 2) + LOOP_FIX_LEN);
+	if (newPtr == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		return true;
+	}
+	else
+	{
+		s->pek = newPtr;
+	}
+
+	src8 = s->pek;
+	dst16 = (int16_t *)s->pek;
+
+	for (i = s->len-1; i >= 0; i--)
+	{
+		smp16 = src8[i] << 8;
+		dst16[i] = smp16;
+	}
+
+	s->len *= 2;
+	s->repL *= 2;
+	s->repS *= 2;
+	s->typ |= 16; // add 16-bit flag
+
+	fixSample(s);
+	resumeAudio();
+
+	editor.updateCurSmp = true;
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	return true;
+}
+
+void rbSample16bit(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (okBox(2, "System request", "Convert sampledata?") == 1)
+	{
+		mouseAnimOn();
+		thread = SDL_CreateThread(convSmp16Bit, NULL, NULL);
+		if (thread == NULL)
+		{
+			okBox(0, "System message", "Couldn't create thread!");
+			return;
+		}
+
+		SDL_DetachThread(thread);
+		return;
+	}
+	else
+	{
+		lockMixerCallback();
+		restoreSample(s);
+
+		s->typ |= 16; // add 16-bit flag
+
+		// make sure stuff is 2-byte aligned for 16-bit mode
+		s->repS &= 0xFFFFFFFE;
+		s->repL &= 0xFFFFFFFE;
+		s->len &= 0xFFFFFFFE;
+
+		fixSample(s);
+		unlockMixerCallback();
+
+		updateSampleEditorSample();
+		updateSampleEditor();
+		writeSample(true);
+		setSongModifiedFlag();
+	}
+}
+
+void clearSample(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (okBox(1, "System request", "Clear sample?") != 1)
+		return;
+
+	freeSample(editor.curInstr, editor.curSmp);
+	updateNewSample();
+	setSongModifiedFlag();
+}
+
+void sampMin(void)
+{
+	int8_t *newPtr;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (!(s->typ & 3) || (s->repS+s->repL >= s->len || s->repS+s->repL <= 0))
+	{
+		okBox(0, "System message", "Sample is already minimized.");
+	}
+	else
+	{
+		lockMixerCallback();
+
+		s->len = s->repS + s->repL;
+
+		newPtr = (int8_t *)realloc(s->pek, s->len + LOOP_FIX_LEN);
+		if (newPtr != NULL)
+			s->pek = newPtr;
+
+		unlockMixerCallback();
+
+		updateSampleEditorSample();
+		updateSampleEditor();
+		setSongModifiedFlag();
+	}
+}
+
+void sampRepeatUp(void)
+{
+	int32_t repS, repL, addVal, lenSub;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (s->typ & 16)
+	{
+		lenSub = 4;
+		addVal = 2;
+	}
+	else
+	{
+		lenSub = 2;
+		addVal = 1;
+	}
+
+	repS = curSmpRepS;
+	repL = curSmpRepL;
+
+	if (repS < s->len-lenSub)
+		repS += addVal;
+
+	if (repS+repL > s->len)
+		repL = s->len - repS;
+
+	curSmpRepS = (s->typ & 16) ? (int32_t)(repS & 0xFFFFFFFE) : repS;
+	curSmpRepL = (s->typ & 16) ? (int32_t)(repL & 0xFFFFFFFE) : repL;
+
+	fixRepeatGadgets();
+	updateLoopsOnMouseUp = true;
+}
+
+void sampRepeatDown(void)
+{
+	int32_t repS;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (s->typ & 16)
+		repS = curSmpRepS - 2;
+	else
+		repS = curSmpRepS - 1;
+
+	if (repS < 0)
+		repS = 0;
+
+	curSmpRepS = (s->typ & 16) ? (int32_t)(repS & 0xFFFFFFFE) : repS;
+
+	fixRepeatGadgets();
+	updateLoopsOnMouseUp = true;
+}
+
+void sampReplenUp(void)
+{
+	int32_t repL;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (s->typ & 16)
+		repL = curSmpRepL + 2;
+	else
+		repL = curSmpRepL + 1;
+
+	if (curSmpRepS+repL > s->len)
+		repL = s->len - curSmpRepS;
+
+	curSmpRepL = (s->typ & 16) ? (int32_t)(repL & 0xFFFFFFFE) : repL;
+
+	fixRepeatGadgets();
+	updateLoopsOnMouseUp = true;
+}
+
+void sampReplenDown(void)
+{
+	int32_t repL;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	if (s->typ & 16)
+		repL = curSmpRepL - 2;
+	else
+		repL = curSmpRepL - 1;
+
+	if (repL < 0)
+		repL = 0;
+
+	curSmpRepL = (s->typ & 16) ? (int32_t)(repL & 0xFFFFFFFE) : repL;
+
+	fixRepeatGadgets();
+	updateLoopsOnMouseUp = true;
+}
+
+void hideSampleEditor(void)
+{
+	hidePushButton(PB_SAMP_SCROLL_LEFT);
+	hidePushButton(PB_SAMP_SCROLL_RIGHT);
+	hidePushButton(PB_SAMP_PNOTE_UP);
+	hidePushButton(PB_SAMP_PNOTE_DOWN);
+	hidePushButton(PB_SAMP_STOP);
+	hidePushButton(PB_SAMP_PWAVE);
+	hidePushButton(PB_SAMP_PRANGE);
+	hidePushButton(PB_SAMP_PDISPLAY);
+	hidePushButton(PB_SAMP_SHOW_RANGE);
+	hidePushButton(PB_SAMP_RANGE_ALL);
+	hidePushButton(PB_SAMP_CLR_RANGE);
+	hidePushButton(PB_SAMP_ZOOM_OUT);
+	hidePushButton(PB_SAMP_SHOW_ALL);
+	hidePushButton(PB_SAMP_SAVE_RNG);
+	hidePushButton(PB_SAMP_CUT);
+	hidePushButton(PB_SAMP_COPY);
+	hidePushButton(PB_SAMP_PASTE);
+	hidePushButton(PB_SAMP_CROP);
+	hidePushButton(PB_SAMP_VOLUME);
+	hidePushButton(PB_SAMP_XFADE);
+	hidePushButton(PB_SAMP_EXIT);
+	hidePushButton(PB_SAMP_CLEAR);
+	hidePushButton(PB_SAMP_MIN);
+	hidePushButton(PB_SAMP_REPEAT_UP);
+	hidePushButton(PB_SAMP_REPEAT_DOWN);
+	hidePushButton(PB_SAMP_REPLEN_UP);
+	hidePushButton(PB_SAMP_REPLEN_DOWN);
+
+	hideRadioButtonGroup(RB_GROUP_SAMPLE_LOOP);
+	hideRadioButtonGroup(RB_GROUP_SAMPLE_DEPTH);
+
+	hideScrollBar(SB_SAMP_SCROLL);
+
+	editor.ui.sampleEditorShown = false;
+
+	hideSprite(SPRITE_LEFT_LOOP_PIN);
+	hideSprite(SPRITE_RIGHT_LOOP_PIN);
+}
+
+void exitSampleEditor(void)
+{
+	hideSampleEditor();
+
+	if (editor.ui.sampleEditorExtShown)
+		hideSampleEditorExt();
+
+	showPatternEditor();
+}
+
+void showSampleEditor(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideInstEditor();
+	hidePatternEditor();
+	editor.ui.sampleEditorShown = true;
+
+	drawFramework(0,   329, 632, 17, FRAMEWORK_TYPE1);
+	drawFramework(0,   346, 115, 54, FRAMEWORK_TYPE1);
+	drawFramework(115, 346, 133, 54, FRAMEWORK_TYPE1);
+	drawFramework(248, 346,  49, 54, FRAMEWORK_TYPE1);
+	drawFramework(297, 346,  56, 54, FRAMEWORK_TYPE1);
+	drawFramework(353, 346,  74, 54, FRAMEWORK_TYPE1);
+	drawFramework(427, 346, 205, 54, FRAMEWORK_TYPE1);
+	drawFramework(2,   366,  34, 15, FRAMEWORK_TYPE2);
+
+	textOutShadow(5,   352, PAL_FORGRND, PAL_DSKTOP2, "Play:");
+	textOutShadow(371, 352, PAL_FORGRND, PAL_DSKTOP2, "No loop");
+	textOutShadow(371, 369, PAL_FORGRND, PAL_DSKTOP2, "Forward");
+	textOutShadow(371, 386, PAL_FORGRND, PAL_DSKTOP2, "Pingpong");
+	textOutShadow(446, 369, PAL_FORGRND, PAL_DSKTOP2, "8-bit");
+	textOutShadow(445, 385, PAL_FORGRND, PAL_DSKTOP2, "16-bit");
+	textOutShadow(488, 349, PAL_FORGRND, PAL_DSKTOP2, "Display");
+	textOutShadow(488, 361, PAL_FORGRND, PAL_DSKTOP2, "Length");
+	textOutShadow(488, 375, PAL_FORGRND, PAL_DSKTOP2, "Repeat");
+	textOutShadow(488, 387, PAL_FORGRND, PAL_DSKTOP2, "Replen.");
+
+	showPushButton(PB_SAMP_SCROLL_LEFT);
+	showPushButton(PB_SAMP_SCROLL_RIGHT);
+	showPushButton(PB_SAMP_PNOTE_UP);
+	showPushButton(PB_SAMP_PNOTE_DOWN);
+	showPushButton(PB_SAMP_STOP);
+	showPushButton(PB_SAMP_PWAVE);
+	showPushButton(PB_SAMP_PRANGE);
+	showPushButton(PB_SAMP_PDISPLAY);
+	showPushButton(PB_SAMP_SHOW_RANGE);
+	showPushButton(PB_SAMP_RANGE_ALL);
+	showPushButton(PB_SAMP_CLR_RANGE);
+	showPushButton(PB_SAMP_ZOOM_OUT);
+	showPushButton(PB_SAMP_SHOW_ALL);
+	showPushButton(PB_SAMP_SAVE_RNG);
+	showPushButton(PB_SAMP_CUT);
+	showPushButton(PB_SAMP_COPY);
+	showPushButton(PB_SAMP_PASTE);
+	showPushButton(PB_SAMP_CROP);
+	showPushButton(PB_SAMP_VOLUME);
+	showPushButton(PB_SAMP_XFADE);
+	showPushButton(PB_SAMP_EXIT);
+	showPushButton(PB_SAMP_CLEAR);
+	showPushButton(PB_SAMP_MIN);
+	showPushButton(PB_SAMP_REPEAT_UP);
+	showPushButton(PB_SAMP_REPEAT_DOWN);
+	showPushButton(PB_SAMP_REPLEN_UP);
+	showPushButton(PB_SAMP_REPLEN_DOWN);
+
+	showRadioButtonGroup(RB_GROUP_SAMPLE_LOOP);
+	showRadioButtonGroup(RB_GROUP_SAMPLE_DEPTH);
+
+	showScrollBar(SB_SAMP_SCROLL);
+
+	// clear two lines that are never written to when the sampler is open
+	hLine(0, 173, SAMPLE_AREA_WIDTH, PAL_BCKGRND);
+	hLine(0, 328, SAMPLE_AREA_WIDTH, PAL_BCKGRND);
+
+	updateSampleEditor();
+	writeSample(true);
+}
+
+void toggleSampleEditor(void)
+{
+	hideInstEditor();
+
+	if (editor.ui.sampleEditorShown)
+	{
+		exitSampleEditor();
+	}
+	else
+	{
+		hidePatternEditor();
+		showSampleEditor();
+	}
+}
+
+static void writeSmpXORLine(int32_t x)
+{
+	uint32_t *ptr32;
+
+	if (x < 0 || x >= SCREEN_W)
+		return;
+
+	ptr32 = &video.frameBuffer[(174 * SCREEN_W) + x];
+	for (int32_t y = 0; y < SAMPLE_AREA_HEIGHT; y++)
+	{
+		*ptr32 = video.palette[(*ptr32 >> 24) ^ 1]; // ">> 24" to get palette, XOR 1 to switch between normal/inverted mode
+		ptr32 += SCREEN_W;
+	}
+}
+
+static void writeSamplePosLine(void)
+{
+	uint8_t ins, smp;
+	int32_t smpPos, scrPos;
+	lastChInstr_t *c;
+
+	assert(editor.curSmpChannel < MAX_VOICES);
+
+	c = &lastChInstr[editor.curSmpChannel];
+	if (c->instrNr == 130) // "Play Wave/Range/Display" in Smp. Ed.
+	{
+		ins = editor.curPlayInstr;
+		smp = editor.curPlaySmp;
+	}
+	else
+	{
+		ins = c->instrNr;
+		smp = c->sampleNr;
+	}
+
+	if (editor.curInstr == ins && editor.curSmp == smp)
+	{
+		smpPos = getSamplePosition(editor.curSmpChannel);
+		if (smpPos != -1)
+		{
+			// convert sample position to screen position
+			scrPos = smpPos2Scr(smpPos);
+			if (scrPos != -1)
+			{
+				if (scrPos != smpEd_OldSmpPosLine)
+				{
+					writeSmpXORLine(smpEd_OldSmpPosLine); // remove old line
+					writeSmpXORLine(scrPos); // write new line
+				}
+
+				smpEd_OldSmpPosLine = scrPos;
+				return;
+			}
+		}
+	}
+
+	if (smpEd_OldSmpPosLine != -1)
+		writeSmpXORLine(smpEd_OldSmpPosLine);
+
+	smpEd_OldSmpPosLine = -1;
+}
+
+void handleSamplerRedrawing(void)
+{
+	// update sample editor
+
+	if (!editor.ui.sampleEditorShown || editor.samplingAudioFlag)
+		return;
+
+	if (writeSampleFlag)
+	{
+		writeSampleFlag = false;
+		writeSample(true);
+	}
+	else if (smpEd_Rx1 != old_Rx1 || smpEd_Rx2 != old_Rx2 || smpEd_ScrPos != old_SmpScrPos || smpEd_ViewSize != old_ViewSize)
+	{
+		writeSample(false);
+	}
+
+	writeSamplePosLine();
+}
+
+static void setLeftLoopPinPos(int32_t x)
+{
+	int32_t repS, repL, newPos;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	newPos = scr2SmpPos(x) - curSmpRepS;
+
+	repS = curSmpRepS + newPos;
+	repL = curSmpRepL - newPos;
+
+	if (repS < 0)
+	{
+		repL += repS;
+		repS = 0;
+	}
+
+	if (repL < 0)
+	{
+		repL = 0;
+		repS = curSmpRepS + curSmpRepL;
+	}
+
+	if (s->typ & 16)
+	{
+		repS &= 0xFFFFFFFE;
+		repL &= 0xFFFFFFFE;
+	}
+
+	curSmpRepS = repS;
+	curSmpRepL = repL;
+
+	fixRepeatGadgets();
+	updateLoopsOnMouseUp = true;
+}
+
+static void setRightLoopPinPos(int32_t x)
+{
+	int32_t repL;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	repL = scr2SmpPos(x) - curSmpRepS;
+	if (repL < 0)
+		repL = 0;
+
+	if (repL+curSmpRepS > s->len)
+		repL = s->len - curSmpRepS;
+
+	if (repL < 0)
+		repL = 0;
+
+	if (s->typ & 16)
+		repL &= 0xFFFFFFFE;
+
+	curSmpRepL = repL;
+
+	fixRepeatGadgets();
+	updateLoopsOnMouseUp = true;
+}
+
+static void editSampleData(bool mouseButtonHeld)
+{
+	int8_t *ptr8;
+	int16_t *ptr16;
+	int32_t mx, my, tmp32, p, vl, tvl, r, rl, rvl;
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	// ported directly from FT2 and slightly modified
+
+	mx = mouse.x;
+	my = mouse.y;
+
+	if (!mouseButtonHeld)
+	{
+		pauseAudio();
+		restoreSample(s);
+		editor.editSampleFlag = true;
+
+		lastDrawX = scr2SmpPos(mx);
+		if (s->typ & 16)
+			lastDrawX /= 2;
+
+		if (my == 250) // center
+		{
+			lastDrawY = 128;
+		}
+		else
+		{
+			lastDrawY = (int32_t)round((my - 174) * (256.0 / SAMPLE_AREA_HEIGHT));
+			lastDrawY = 255 - CLAMP(lastDrawY, 0, 255);
+		}
+
+		lastMouseX = mx;
+		lastMouseY = my;
+	}
+	else if (mx == lastMouseX && my == lastMouseY)
+	{
+		return; // don't continue if we didn't move the mouse
+	}
+
+	// kludge so that you can edit the very end of the sample
+	if (mx == SCREEN_W-1 && smpEd_ScrPos+smpEd_ViewSize >= s->len)
+		mx++;
+
+	if (mx != lastMouseX)
+	{
+		p = scr2SmpPos(mx);
+		if (s->typ & 16)
+			p /= 2;
+	}
+	else
+	{
+		p = lastDrawX;
+	}
+
+	if (!keyb.leftShiftPressed && my != lastMouseY)
+	{
+		if (my == 250) // center
+		{
+			vl = 128;
+		}
+		else
+		{
+			vl = (int32_t)round((my - 174) * (256.0 / SAMPLE_AREA_HEIGHT));
+			vl = 255 - CLAMP(vl, 0, 255);
+		}
+	}
+	else
+	{
+		vl = lastDrawY;
+	}
+
+	lastMouseX = mx;
+	lastMouseY = my;
+
+	r = p;
+	rvl = vl;
+
+	// swap x/y if needed
+	if (p > lastDrawX)
+	{
+		// swap x
+		tmp32 = p;
+		p = lastDrawX;
+		lastDrawX = tmp32;
+
+		// swap y
+		tmp32 = lastDrawY;
+		lastDrawY = vl;
+		vl = tmp32;
+	}
+
+	if (s->typ & 16)
+	{
+		// 16-bit
+		ptr16 = (int16_t *)s->pek;
+		for (rl = p; rl <= lastDrawX; rl++)
+		{
+			if (rl >= 0 && rl*2 < s->len)
+			{
+				if (p != lastDrawX)
+					tvl = (vl - lastDrawY) * (rl - p) / (p - lastDrawX) + vl;
+				else
+					tvl = vl;
+
+				tvl <<= 8;
+				ptr16[rl] = (int16_t)tvl ^ 0x8000;
+			}
+		}
+	}
+	else
+	{
+		// 8-bit
+		ptr8 = s->pek;
+		for (rl = p; rl <= lastDrawX; rl++)
+		{
+			if (rl >= 0 && rl < s->len)
+			{
+				if (p != lastDrawX)
+					tvl = (vl - lastDrawY) * (rl - p) / (p - lastDrawX) + vl;
+				else
+					tvl = vl;
+
+				ptr8[rl] = (int8_t)tvl ^ 0x80;
+			}
+		}
+	}
+
+	lastDrawY = rvl;
+	lastDrawX = r;
+
+	writeSample(true);
+}
+
+void handleSampleDataMouseDown(bool mouseButtonHeld)
+{
+	int32_t tmp, leftLoopPinPos, rightLoopPinPos;
+
+	if (editor.curInstr == 0)
+		return;
+
+	if (!mouseButtonHeld)
+	{
+		editor.ui.rightLoopPinMoving  = false;
+		editor.ui.leftLoopPinMoving = false;
+		editor.ui.sampleDataOrLoopDrag = -1;
+
+		mouseXOffs = 0;
+		lastMouseX = mouse.x;
+		lastMouseY = mouse.y;
+
+		mouse.lastUsedObjectType = OBJECT_SMPDATA;
+
+		if (mouse.leftButtonPressed)
+		{
+			// move loop pins
+			if (mouse.y < 183)
+			{
+				leftLoopPinPos = getSpritePosX(SPRITE_LEFT_LOOP_PIN);
+				if (mouse.x >= leftLoopPinPos && mouse.x <= leftLoopPinPos+16)
+				{
+					mouseXOffs = (leftLoopPinPos + 8) - mouse.x;
+
+					editor.ui.sampleDataOrLoopDrag = true;
+
+					setLeftLoopPinState(true);
+					lastMouseX = mouse.x;
+
+					editor.ui.leftLoopPinMoving = true;
+					return;
+				}
+			}
+			else if (mouse.y > 318)
+			{
+				rightLoopPinPos = getSpritePosX(SPRITE_RIGHT_LOOP_PIN);
+				if (mouse.x >= rightLoopPinPos && mouse.x <= rightLoopPinPos+16)
+				{
+					mouseXOffs = (rightLoopPinPos + 8) - mouse.x;
+
+					editor.ui.sampleDataOrLoopDrag = true;
+
+					setRightLoopPinState(true);
+					lastMouseX = mouse.x;
+
+					editor.ui.rightLoopPinMoving = true;
+					return;
+				}
+			}
+
+			// mark data
+			editor.ui.sampleDataOrLoopDrag = mouse.x;
+			lastMouseX = editor.ui.sampleDataOrLoopDrag;
+			setSampleRange(editor.ui.sampleDataOrLoopDrag, editor.ui.sampleDataOrLoopDrag);
+		}
+		else if (mouse.rightButtonPressed)
+		{
+			// edit data
+			editor.ui.sampleDataOrLoopDrag = true;
+			editSampleData(false);
+		}
+
+		return;
+	}
+
+	if (mouse.rightButtonPressed)
+	{
+		editSampleData(true);
+		return;
+	}
+
+	if (mouse.x != lastMouseX)
+	{
+		if (mouse.leftButtonPressed)
+		{
+			if (editor.ui.leftLoopPinMoving)
+			{
+				lastMouseX = mouse.x;
+				setLeftLoopPinPos(mouseXOffs + lastMouseX);
+			}
+			else if (editor.ui.rightLoopPinMoving)
+			{
+				lastMouseX = mouse.x;
+				setRightLoopPinPos(mouseXOffs + lastMouseX);
+			}
+			else if (editor.ui.sampleDataOrLoopDrag >= 0)
+			{
+				// mark data
+
+				lastMouseX = mouse.x;
+				tmp = lastMouseX;
+
+				if (lastMouseX  > editor.ui.sampleDataOrLoopDrag)
+					setSampleRange(editor.ui.sampleDataOrLoopDrag, tmp);
+				else if (lastMouseX == editor.ui.sampleDataOrLoopDrag)
+					setSampleRange(editor.ui.sampleDataOrLoopDrag, editor.ui.sampleDataOrLoopDrag);
+				else if (lastMouseX  < editor.ui.sampleDataOrLoopDrag)
+					setSampleRange(tmp, editor.ui.sampleDataOrLoopDrag);
+			}
+		}
+	}
+}
+
+// SAMPLE EDITOR EXTENSION
+
+void handleSampleEditorExtRedrawing(void)
+{
+	hexOutBg(35,  96,  PAL_FORGRND, PAL_DESKTOP, smpEd_Rx1, 8);
+	hexOutBg(99,  96,  PAL_FORGRND, PAL_DESKTOP, smpEd_Rx2, 8);
+	hexOutBg(99,  110, PAL_FORGRND, PAL_DESKTOP, smpEd_Rx2 - smpEd_Rx1, 8);
+	hexOutBg(99,  124, PAL_FORGRND, PAL_DESKTOP, smpCopySize, 8);
+	hexOutBg(226, 96,  PAL_FORGRND, PAL_DESKTOP, editor.srcInstr, 2);
+	hexOutBg(274, 96,  PAL_FORGRND, PAL_DESKTOP, editor.srcSmp, 2);
+	hexOutBg(226, 109, PAL_FORGRND, PAL_DESKTOP, editor.curInstr, 2);
+	hexOutBg(274, 109, PAL_FORGRND, PAL_DESKTOP, editor.curSmp, 2);
+}
+
+void drawSampleEditorExt(void)
+{
+	drawFramework(0,    92, 158, 44, FRAMEWORK_TYPE1);
+	drawFramework(0,   136, 158, 37, FRAMEWORK_TYPE1);
+	drawFramework(158,  92, 133, 81, FRAMEWORK_TYPE1);
+
+	textOutShadow( 4,  96, PAL_FORGRND, PAL_DSKTOP2, "Rng.:");
+	charOutShadow(91,  95, PAL_FORGRND, PAL_DSKTOP2, '-');
+	textOutShadow( 4, 109, PAL_FORGRND, PAL_DSKTOP2, "Range size");
+	textOutShadow( 4, 123, PAL_FORGRND, PAL_DSKTOP2, "Copy buf. size");
+
+	textOutShadow(162,  95, PAL_FORGRND, PAL_DSKTOP2, "Src.instr.");
+	textOutShadow(245,  96, PAL_FORGRND, PAL_DSKTOP2, "smp.");
+	textOutShadow(162, 109, PAL_FORGRND, PAL_DSKTOP2, "Dest.instr.");
+	textOutShadow(245, 109, PAL_FORGRND, PAL_DSKTOP2, "smp.");
+
+	showPushButton(PB_SAMP_EXT_CLEAR_COPYBUF);
+	showPushButton(PB_SAMP_EXT_CONV);
+	showPushButton(PB_SAMP_EXT_ECHO);
+	showPushButton(PB_SAMP_EXT_BACKWARDS);
+	showPushButton(PB_SAMP_EXT_CONV_W);
+	showPushButton(PB_SAMP_EXT_MORPH);
+	showPushButton(PB_SAMP_EXT_COPY_INS);
+	showPushButton(PB_SAMP_EXT_COPY_SMP);
+	showPushButton(PB_SAMP_EXT_XCHG_INS);
+	showPushButton(PB_SAMP_EXT_XCHG_SMP);
+	showPushButton(PB_SAMP_EXT_RESAMPLE);
+	showPushButton(PB_SAMP_EXT_MIX_SAMPLE);
+}
+
+void showSampleEditorExt(void)
+{
+	hideTopScreen();
+	showTopScreen(false);
+
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	if (!editor.ui.sampleEditorShown)
+		showSampleEditor();
+
+	editor.ui.sampleEditorExtShown = true;
+	editor.ui.scopesShown = false;
+	drawSampleEditorExt();
+}
+
+void hideSampleEditorExt(void)
+{
+	editor.ui.sampleEditorExtShown = false;
+
+	hidePushButton(PB_SAMP_EXT_CLEAR_COPYBUF);
+	hidePushButton(PB_SAMP_EXT_CONV);
+	hidePushButton(PB_SAMP_EXT_ECHO);
+	hidePushButton(PB_SAMP_EXT_BACKWARDS);
+	hidePushButton(PB_SAMP_EXT_CONV_W);
+	hidePushButton(PB_SAMP_EXT_MORPH);
+	hidePushButton(PB_SAMP_EXT_COPY_INS);
+	hidePushButton(PB_SAMP_EXT_COPY_SMP);
+	hidePushButton(PB_SAMP_EXT_XCHG_INS);
+	hidePushButton(PB_SAMP_EXT_XCHG_SMP);
+	hidePushButton(PB_SAMP_EXT_RESAMPLE);
+	hidePushButton(PB_SAMP_EXT_MIX_SAMPLE);
+
+	editor.ui.scopesShown = true;
+	drawScopeFramework();
+}
+
+void toggleSampleEditorExt(void)
+{
+	if (editor.ui.sampleEditorExtShown)
+		hideSampleEditorExt();
+	else
+		showSampleEditorExt();
+}
+
+static int32_t SDLCALL sampleBackwardsThread(void *ptr)
+{
+	int8_t tmp8, *ptrStart, *ptrEnd;
+	int16_t tmp16, *ptrStart16, *ptrEnd16;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	if (s->typ & 16)
+	{
+		if (smpEd_Rx1 >= smpEd_Rx2)
+		{
+			ptrStart16 = (int16_t *)s->pek;
+			ptrEnd16 = (int16_t *)&s->pek[s->len-2];
+		}
+		else
+		{
+			ptrStart16 = (int16_t *)&s->pek[smpEd_Rx1];
+			ptrEnd16 = (int16_t *)&s->pek[smpEd_Rx2-2];
+		}
+
+		pauseAudio();
+		restoreSample(s);
+
+		while (ptrStart16 < ptrEnd16)
+		{
+			tmp16 = *ptrStart16;
+			*ptrStart16++ = *ptrEnd16;
+			*ptrEnd16-- = tmp16;
+		}
+
+		fixSample(s);
+		resumeAudio();
+	}
+	else
+	{
+		if (smpEd_Rx1 >= smpEd_Rx2)
+		{
+			ptrStart = s->pek;
+			ptrEnd = &s->pek[s->len-1];
+		}
+		else
+		{
+			ptrStart = &s->pek[smpEd_Rx1];
+			ptrEnd = &s->pek[smpEd_Rx2-1];
+		}
+
+		pauseAudio();
+		restoreSample(s);
+
+		while (ptrStart < ptrEnd)
+		{
+			tmp8 = *ptrStart;
+			*ptrStart++ = *ptrEnd;
+			*ptrEnd-- = tmp8;
+		}
+
+		fixSample(s);
+		resumeAudio();
+	}
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+	writeSampleFlag = true;
+
+	return true;
+}
+
+void sampleBackwards(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len < 2)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampleBackwardsThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL sampleConvThread(void *ptr)
+{
+	int8_t *ptr8;
+	int16_t *ptr16;
+	int32_t i, len;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	pauseAudio();
+	restoreSample(s);
+
+	if (s->typ & 16)
+	{
+		len = s->len / 2;
+		ptr16 = (int16_t *)s->pek;
+
+		for (i = 0; i < len; i++)
+			ptr16[i] ^= 0x8000;
+	}
+	else
+	{
+		len = s->len;
+		ptr8 = s->pek;
+
+		for (i = 0; i < len; i++)
+			ptr8[i] ^= 0x80;
+	}
+
+	fixSample(s);
+	resumeAudio();
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+	writeSampleFlag = true;
+
+	return true;
+}
+
+void sampleConv(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampleConvThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL sampleConvWThread(void *ptr)
+{
+	int8_t *ptr8, tmp;
+	int32_t len;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	pauseAudio();
+	restoreSample(s);
+
+	len = s->len / 2;
+	ptr8 = s->pek;
+
+	for (int32_t i = 0; i < len; i++)
+	{
+		tmp = ptr8[0];
+		ptr8[0] = ptr8[1];
+		ptr8[1] = tmp;
+
+		ptr8 += 2;
+	}
+
+	fixSample(s);
+	resumeAudio();
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+	writeSampleFlag = true;
+
+	return true;
+}
+
+void sampleConvW(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(sampleConvWThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL fixDCThread(void *ptr)
+{
+	int8_t *ptr8;
+	int16_t *ptr16;
+	int32_t i, len, smpSub, smp32;
+	int64_t offset;
+	sampleTyp *s = getCurSample();
+
+	(void)ptr;
+
+	offset = 0;
+	if (s->typ & 16)
+	{
+		if (smpEd_Rx1 >= smpEd_Rx2)
+		{
+			assert(!(s->len & 1));
+
+			ptr16 = (int16_t *)s->pek;
+			len = s->len / 2;
+		}
+		else
+		{
+			assert(!(smpEd_Rx1 & 1));
+			assert(!(smpEd_Rx2 & 1));
+
+			ptr16 = (int16_t *)&s->pek[smpEd_Rx1];
+			len = (smpEd_Rx2 - smpEd_Rx1) / 2;
+		}
+
+		if (len < 0 || len > s->len/2)
+		{
+			setMouseBusy(false);
+			return true;
+		}
+
+		pauseAudio();
+		restoreSample(s);
+
+		for (i = 0; i < len; i++)
+			offset += ptr16[i];
+		offset /= len;
+
+		smpSub = (int32_t)offset;
+		for (i = 0; i < len; i++)
+		{
+			smp32 = ptr16[i] - smpSub;
+			CLAMP16(smp32);
+			ptr16[i] = (int16_t)smp32;
+		}
+
+		fixSample(s);
+		resumeAudio();
+	}
+	else
+	{
+		if (smpEd_Rx1 >= smpEd_Rx2)
+		{
+			ptr8 = s->pek;
+			len = s->len;
+		}
+		else
+		{
+			ptr8 = &s->pek[smpEd_Rx1];
+			len = smpEd_Rx2 - smpEd_Rx1;
+		}
+
+		if (len < 0 || len > s->len)
+		{
+			setMouseBusy(false);
+			return true;
+		}
+
+		pauseAudio();
+		restoreSample(s);
+
+		for (i = 0; i < len; i++)
+			offset += ptr8[i];
+		offset /= len;
+
+		smpSub = (int32_t)offset;
+		for (i = 0; i < len; i++)
+		{
+			smp32 = ptr8[i] - smpSub;
+			CLAMP8(smp32);
+			ptr8[i] = (int8_t)smp32;
+		}
+
+		fixSample(s);
+		resumeAudio();
+	}
+
+	writeSampleFlag = true;
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	return true;
+}
+
+void fixDC(void)
+{
+	sampleTyp *s = getCurSample();
+
+	if (s == NULL || s->pek == NULL || s->len <= 0)
+		return;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(fixDCThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+void smpEdStop(void)
+{
+	// safely kills all voices
+	lockMixerCallback();
+	unlockMixerCallback();
+}
+
+void testSmpEdMouseUp(void) // used for setting new loop points
+{
+	sampleTyp *s;
+
+	if (updateLoopsOnMouseUp)
+	{
+		updateLoopsOnMouseUp = false;
+
+		s = getCurSample();
+		if (s == NULL)
+			return;
+
+		if (s->repS != curSmpRepS || s->repL != curSmpRepL)
+		{
+			lockMixerCallback();
+			restoreSample(s);
+
+			setSongModifiedFlag();
+
+			s->repS = curSmpRepS;
+			s->repL = curSmpRepL;
+
+			fixSample(s);
+			unlockMixerCallback();
+
+			writeSample(true);
+		}
+	}
+}
--- /dev/null
+++ b/src/ft2_sample_ed.h
@@ -1,0 +1,74 @@
+#pragma once
+
+#include <stdint.h>
+#include "ft2_replayer.h"
+
+#define SAMPLE_AREA_HEIGHT 154
+#define SAMPLE_AREA_WIDTH 632
+#define SAMPLE_AREA_Y_CENTER 250
+
+sampleTyp *getCurSample(void);
+void fixSample(sampleTyp *s); // adds wrapped sample after loop/end (for branchless mixer interpolation)
+void restoreSample(sampleTyp *s); // reverts wrapped sample after loop/end (for branchless mixer interpolation)
+void clearSample(void);
+void clearCopyBuffer(void);
+uint32_t getSampleMiddleCRate(sampleTyp *s);
+int32_t getSampleRangeStart(void);
+int32_t getSampleRangeEnd(void);
+int32_t getSampleRangeLength(void);
+void copySmp(void); // dstSmp = srcSmp
+void xchgSmp(void); // dstSmp <-> srcSmp
+void scrollSampleDataLeft(void);
+void scrollSampleDataRight(void);
+void scrollSampleData(uint32_t pos);
+void sampPlayNoteUp(void);
+void sampPlayNoteDown(void);
+void sampPlayWave(void);
+void sampPlayRange(void);
+void sampPlayDisplay(void);
+void showRange(void);
+void rangeAll(void);
+void mouseZoomSampleDataIn(void);
+void mouseZoomSampleDataOut(void);
+void zoomOut(void);
+void showAll(void);
+void saveRange(void);
+void sampCut(void);
+void sampCopy(void);
+void sampPaste(void);
+void sampCrop(void);
+void sampXFade(void);
+void rbSampleNoLoop(void);
+void rbSampleForwardLoop(void);
+void rbSamplePingpongLoop(void);
+void rbSample8bit(void);
+void rbSample16bit(void);
+void sampMin(void);
+void sampRepeatUp(void);
+void sampRepeatDown(void);
+void sampReplenUp(void);
+void sampReplenDown(void);
+int16_t getSampleValueNr(int8_t *ptr, uint8_t typ, int32_t pos);
+void putSampleValueNr(int8_t *ptr, uint8_t typ, int32_t pos, int16_t val);
+void writeSample(bool forceSmpRedraw);
+void handleSampleDataMouseDown(bool mouseButtonHeld);
+void updateSampleEditorSample(void);
+void updateSampleEditor(void);
+void hideSampleEditor(void);
+void exitSampleEditor(void);
+void showSampleEditor(void);
+void handleSamplerRedrawing(void);
+void toggleSampleEditor(void);
+void toggleSampleEditorExt(void);
+void showSampleEditorExt(void);
+void hideSampleEditorExt(void);
+void drawSampleEditorExt(void);
+void handleSampleEditorExtRedrawing(void);
+void sampleBackwards(void);
+void sampleConv(void);
+void sampleConvW(void);
+void fixDC(void);
+void smpEdStop(void);
+void testSmpEdMouseUp(void);
+
+extern int32_t smpEd_Rx1, smpEd_Rx2;
--- /dev/null
+++ b/src/ft2_sample_ed_features.c
@@ -1,0 +1,1663 @@
+/* This file contains the routines for the following sample editor functions:
+** - Resampler
+** - Echo
+** - Mix
+** - Volume */
+
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <math.h>
+#include "ft2_header.h"
+#include "ft2_mouse.h"
+#include "ft2_audio.h"
+#include "ft2_gui.h"
+#include "ft2_events.h"
+#include "ft2_video.h"
+#include "ft2_inst_ed.h"
+#include "ft2_sample_ed.h"
+#include "ft2_keyboard.h"
+
+static int8_t smpEd_RelReSmp, mix_Balance = 50;
+static bool stopThread, echo_AddMemory, exitFlag, outOfMemory;
+static int16_t vol_StartVol = 100, vol_EndVol = 100, echo_nEcho = 1, echo_VolChange = 30;
+static int32_t echo_Distance = 0x100;
+static SDL_Thread *thread;
+
+static void pbExit(void)
+{
+	editor.ui.sysReqShown = false;
+	exitFlag = true;
+}
+
+static void windowOpen(void)
+{
+	editor.ui.sysReqShown = true;
+	editor.ui.sysReqEnterPressed = false;
+
+#ifndef __APPLE__
+	if (!video.fullscreen) // release mouse button trap
+		SDL_SetWindowGrab(video.window, SDL_FALSE);
+#endif
+
+	unstuckLastUsedGUIElement();
+	SDL_EventState(SDL_DROPFILE, SDL_DISABLE);
+}
+
+static void windowClose(bool rewriteSample)
+{
+	SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
+
+	if (exitFlag || rewriteSample)
+		writeSample(true);
+	else
+		updateNewSample();
+
+	mouseAnimOff();
+}
+
+static void sbSetResampleTones(uint32_t pos)
+{
+	if (smpEd_RelReSmp != (int8_t)(pos - 36))
+		smpEd_RelReSmp = (int8_t)(pos - 36);
+}
+
+static void pbResampleTonesDown(void)
+{
+	if (smpEd_RelReSmp > -36)
+		smpEd_RelReSmp--;
+}
+
+static void pbResampleTonesUp(void)
+{
+	if (smpEd_RelReSmp < 36)
+		smpEd_RelReSmp++;
+}
+
+static int32_t SDLCALL resampleThread(void *ptr)
+{
+	int8_t *p1, *p2, *src8, *dst8;
+	int16_t *src16, *dst16;
+	uint32_t newLen, mask, resampleLen;
+	uint64_t posfrac64, delta64;
+	double dNewLen, dLenMul;
+	sampleTyp *s;
+
+	(void)ptr;
+
+	if (instr[editor.curInstr] == NULL)
+		return true;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	mask = (s->typ & 16) ? 0xFFFFFFFE : 0xFFFFFFFF;
+	dLenMul = pow(2.0, smpEd_RelReSmp * (1.0 / 12.0));
+
+	dNewLen = s->len * dLenMul;
+	if (dNewLen > (double)MAX_SAMPLE_LEN)
+		dNewLen = (double)MAX_SAMPLE_LEN;
+
+	newLen = (int32_t)dNewLen & mask;
+
+	p2 = (int8_t *)malloc(newLen + LOOP_FIX_LEN);
+	if (p2 == NULL)
+	{
+		outOfMemory = true;
+		setMouseBusy(false);
+		editor.ui.sysReqShown = false;
+		return true;
+	}
+
+	p1 = s->pek;
+
+	// don't use the potentially clamped newLen value here
+	delta64 = ((uint64_t)s->len << 32) / (uint64_t)(s->len * dLenMul);
+
+	posfrac64 = 0;
+
+	pauseAudio();
+	restoreSample(s);
+
+	if (newLen > 0)
+	{
+		if (s->typ & 16)
+		{
+			src16 = (int16_t *)p1;
+			dst16 = (int16_t *)p2;
+
+			resampleLen = newLen / 2;
+			for (uint32_t i = 0; i < resampleLen; i++)
+			{
+				dst16[i] = src16[posfrac64 >> 32];
+				posfrac64 += delta64;
+			}
+		}
+		else
+		{
+			src8 = p1;
+			dst8 = p2;
+
+			for (uint32_t i = 0; i < newLen; i++)
+			{
+				dst8[i] = src8[posfrac64 >> 32];
+				posfrac64 += delta64;
+			}
+		}
+	}
+
+	free(p1);
+
+	s->relTon = CLAMP(s->relTon + smpEd_RelReSmp, -48, 71);
+
+	s->len = newLen;
+	s->pek = p2;
+	s->repS = (int32_t)(s->repS * dLenMul) & mask;
+	s->repL = (int32_t)(s->repL * dLenMul) & mask;
+
+	if (s->repS > s->len)
+		s->repS = s->len;
+
+	if (s->repS+s->repL > s->len)
+		s->repL = s->len - s->repS;
+
+	if (s->typ & 16)
+	{
+		s->len  &= 0xFFFFFFFE;
+		s->repS &= 0xFFFFFFFE;
+		s->repL &= 0xFFFFFFFE;
+	}
+
+	if (s->repL == 0)
+		s->typ &= ~3; // disable loop
+
+	fixSample(s);
+	resumeAudio();
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	editor.ui.sysReqShown = false;
+	return true;
+}
+
+static void pbDoResampling(void)
+{
+	mouseAnimOn();
+	thread = SDL_CreateThread(resampleThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static void drawResampleBox(void)
+{
+	char sign;
+	const int16_t x = 209;
+	const int16_t y = 230;
+	const int16_t w = 214;
+	const int16_t h = 54;
+	uint16_t val;
+	uint32_t mask;
+	double dNewLen, dLenMul;
+	sampleTyp *s;
+
+	// main fill
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// outer border
+	vLine(x,         y,         h - 1, PAL_BUTTON1);
+	hLine(x + 1,     y,         w - 2, PAL_BUTTON1);
+	vLine(x + w - 1, y,         h,     PAL_BUTTON2);
+	hLine(x,         y + h - 1, w - 1, PAL_BUTTON2);
+
+	// inner border
+	vLine(x + 2,     y + 2,     h - 5, PAL_BUTTON2);
+	hLine(x + 3,     y + 2,     w - 6, PAL_BUTTON2);
+	vLine(x + w - 3, y + 2,     h - 4, PAL_BUTTON1);
+	hLine(x + 2,     y + h - 3, w - 4, PAL_BUTTON1);
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	mask = (s->typ & 16) ? 0xFFFFFFFE : 0xFFFFFFFF;
+	dLenMul = pow(2.0, smpEd_RelReSmp * (1.0 / 12.0));
+
+	dNewLen = s->len * dLenMul;
+	if (dNewLen > (double)MAX_SAMPLE_LEN)
+		dNewLen = (double)MAX_SAMPLE_LEN;
+
+	textOutShadow(215, 236, PAL_FORGRND, PAL_BUTTON2, "Rel. h.tones");
+	textOutShadow(215, 250, PAL_FORGRND, PAL_BUTTON2, "New sample size");
+	hexOut(361, 250, PAL_FORGRND, (uint32_t)dNewLen & mask, 8);
+
+	     if (smpEd_RelReSmp == 0) sign = ' ';
+	else if (smpEd_RelReSmp  < 0) sign = '-';
+	else sign = '+';
+
+	val = ABS(smpEd_RelReSmp);
+	if (val > 9)
+	{
+		charOut(291, 236, PAL_FORGRND, sign);
+		charOut(298, 236, PAL_FORGRND, '0' + ((val / 10) % 10));
+		charOut(305, 236, PAL_FORGRND, '0' + (val % 10));
+	}
+	else
+	{
+		charOut(298, 236, PAL_FORGRND, sign);
+		charOut(305, 236, PAL_FORGRND, '0' + (val % 10));
+	}
+}
+
+static void setupResampleBoxWidgets(void)
+{
+	pushButton_t *p;
+	scrollBar_t *s;
+
+	// "Apply" pushbutton
+	p = &pushButtons[0];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Apply";
+	p->x = 214;
+	p->y = 264;
+	p->w = 73;
+	p->h = 16;
+	p->callbackFuncOnUp = pbDoResampling;
+	p->visible = true;
+
+	// "Exit" pushbutton
+	p = &pushButtons[1];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Exit";
+	p->x = 345;
+	p->y = 264;
+	p->w = 73;
+	p->h = 16;
+	p->callbackFuncOnUp = pbExit;
+	p->visible = true;
+
+	// scrollbar buttons
+
+	p = &pushButtons[2];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 314;
+	p->y = 234;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbResampleTonesDown;
+	p->visible = true;
+
+	p = &pushButtons[3];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 395;
+	p->y = 234;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbResampleTonesUp;
+	p->visible = true;
+
+	// echo num scrollbar
+	s = &scrollBars[0];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 337;
+	s->y = 234;
+	s->w = 58;
+	s->h = 13;
+	s->callbackFunc = sbSetResampleTones;
+	s->visible = true;
+	setScrollBarPageLength(0, 1);
+	setScrollBarEnd(0, 36 * 2);
+}
+
+void pbSampleResample(void)
+{
+	uint16_t i;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	setupResampleBoxWidgets();
+	windowOpen();
+
+	outOfMemory = false;
+
+	exitFlag = false;
+	while (editor.ui.sysReqShown)
+	{
+		readInput();
+		if (editor.ui.sysReqEnterPressed)
+			pbDoResampling();
+
+		setSyncedReplayerVars();
+		handleRedrawing();
+
+		drawResampleBox();
+		setScrollBarPos(0, smpEd_RelReSmp + 36, false);
+		drawCheckBox(0);
+		for (i = 0; i < 4; i++) drawPushButton(i);
+		drawScrollBar(0);
+
+		flipFrame();
+	}
+
+	for (i = 0; i < 4; i++) hidePushButton(i);
+	hideScrollBar(0);
+
+	windowClose(false);
+
+	if (outOfMemory)
+		okBox(0, "System message", "Not enough memory!");
+}
+
+static void cbEchoAddMemory(void)
+{
+	echo_AddMemory ^= 1;
+}
+
+static void sbSetEchoNumPos(uint32_t pos)
+{
+	if (echo_nEcho != (int32_t)pos)
+		echo_nEcho = (int16_t)pos;
+}
+
+static void sbSetEchoDistPos(uint32_t pos)
+{
+	if (echo_Distance != (int32_t)pos)
+		echo_Distance = (int32_t)pos;
+}
+
+static void sbSetEchoFadeoutPos(uint32_t pos)
+{
+	if (echo_VolChange != (int32_t)pos)
+		echo_VolChange = (int16_t)pos;
+}
+
+static void pbEchoNumDown(void)
+{
+	if (echo_nEcho > 0)
+		echo_nEcho--;
+}
+
+static void pbEchoNumUp(void)
+{
+	if (echo_nEcho < 1024)
+		echo_nEcho++;
+}
+
+static void pbEchoDistDown(void)
+{
+	if (echo_Distance > 0)
+		echo_Distance--;
+}
+
+static void pbEchoDistUp(void)
+{
+	if (echo_Distance < 16384)
+		echo_Distance++;
+}
+
+static void pbEchoFadeoutDown(void)
+{
+	if (echo_VolChange > 0)
+		echo_VolChange--;
+}
+
+static void pbEchoFadeoutUp(void)
+{
+	if (echo_VolChange < 100)
+		echo_VolChange++;
+}
+
+static int32_t SDLCALL createEchoThread(void *ptr)
+{
+	int8_t *readPtr, *writePtr, *newPtr;
+	bool is16Bit;
+	int16_t *readPtr16, *writePtr16;
+	int32_t nEchoes, distance, readLen, writeLen, i, j;
+	int32_t smpOut, volChange, smpMul, echoRead, echoCycle, writeIdx;
+	int64_t tmp64;
+	sampleTyp *s;
+
+	(void)ptr;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	readLen = s->len;
+	readPtr = s->pek;
+	is16Bit = (s->typ & 16) ? true : false;
+	distance = echo_Distance * 16;
+
+	// calculate real number of echoes
+	j = is16Bit ? 32768 : 128; i = 0;
+	while (i < echo_nEcho && j > 0)
+	{
+		j = (j * echo_VolChange) / 100;
+		i++;
+	}
+	nEchoes = i + 1;
+
+	// set write length (either original length or full echo length)
+	writeLen = readLen;
+	if (echo_AddMemory)
+	{
+		tmp64 = writeLen + ((int64_t)distance * (nEchoes - 1));
+		if (tmp64 > MAX_SAMPLE_LEN)
+			writeLen = MAX_SAMPLE_LEN;
+		else
+			writeLen += distance * (nEchoes - 1);
+
+		if (is16Bit)
+			writeLen &= 0xFFFFFFFE;
+	}
+
+	writePtr = (int8_t *)malloc(writeLen + LOOP_FIX_LEN);
+	if (writePtr == NULL)
+	{
+		outOfMemory = true;
+		setMouseBusy(false);
+		editor.ui.sysReqShown = false;
+		return false;
+	}
+
+	pauseAudio();
+	restoreSample(s);
+
+	writeIdx = 0;
+
+	// scale value for faster math and suitable rounding for PCM waveforms (DIV -> arithmetic bitshift right)
+	volChange = (int32_t)round((echo_VolChange * 256) / 100.0);
+	if (volChange > 256)
+		volChange = 256;
+
+	if (is16Bit)
+	{
+		readPtr16 = (int16_t *)readPtr;
+		writePtr16 = (int16_t *)writePtr;
+
+		writeLen >>= 1;
+		while (!stopThread && writeIdx < writeLen)
+		{
+			smpOut = 0;
+			smpMul = 32768;
+
+			echoRead = writeIdx;
+			echoCycle = nEchoes;
+
+			while (!stopThread && echoRead > 0 && echoCycle-- > 0)
+			{
+				if (echoRead < readLen)
+					smpOut += (readPtr16[echoRead] * smpMul) >> (16-1);
+
+				smpMul = (smpMul * volChange) >> 8;
+				echoRead -= distance;
+			}
+			CLAMP16(smpOut);
+
+			writePtr16[writeIdx++] = (int16_t)smpOut;
+		}
+		writeLen <<= 1;
+	}
+	else
+	{
+		while (!stopThread && writeIdx < writeLen)
+		{
+			smpOut = 0;
+			smpMul = 65536;
+
+			echoRead = writeIdx;
+			echoCycle = nEchoes;
+
+			while (!stopThread && echoRead > 0 && echoCycle-- > 0)
+			{
+				if (echoRead < readLen)
+					smpOut += (readPtr[echoRead] * smpMul) >> (16-8);
+
+				smpMul = (smpMul * volChange) >> 8;
+				echoRead -= distance;
+			}
+			CLAMP16(smpOut);
+
+			writePtr[writeIdx++] = (int8_t)(smpOut >> 8);
+		}
+	}
+
+	free(readPtr);
+
+	if (stopThread)
+	{
+		writeLen = writeIdx;
+
+		newPtr = (int8_t *)realloc(writePtr, writeIdx + LOOP_FIX_LEN);
+		if (newPtr != NULL)
+			s->pek = newPtr;
+
+		editor.updateCurSmp = true;
+	}
+	else
+	{
+		s->pek = writePtr;
+	}
+
+	if (is16Bit)
+		writeLen &= 0xFFFFFFFE;
+
+	s->len = writeLen;
+
+	fixSample(s);
+	resumeAudio();
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	editor.ui.sysReqShown = false;
+	return true;
+}
+
+static void pbCreateEcho(void)
+{
+	stopThread = false;
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(createEchoThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static void drawEchoBox(void)
+{
+	const int16_t x = 171;
+	const int16_t y = 220;
+	const int16_t w = 291;
+	const int16_t h = 66;
+
+	// main fill
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// outer border
+	vLine(x,         y,         h - 1, PAL_BUTTON1);
+	hLine(x + 1,     y,         w - 2, PAL_BUTTON1);
+	vLine(x + w - 1, y,         h,     PAL_BUTTON2);
+	hLine(x,         y + h - 1, w - 1, PAL_BUTTON2);
+
+	// inner border
+	vLine(x + 2,     y + 2,     h - 5, PAL_BUTTON2);
+	hLine(x + 3,     y + 2,     w - 6, PAL_BUTTON2);
+	vLine(x + w - 3, y + 2,     h - 4, PAL_BUTTON1);
+	hLine(x + 2,     y + h - 3, w - 4, PAL_BUTTON1);
+
+	textOutShadow(177, 226, PAL_FORGRND, PAL_BUTTON2, "Number of echoes");
+	textOutShadow(177, 239, PAL_FORGRND, PAL_BUTTON2, "Echo distance");
+	textOutShadow(177, 253, PAL_FORGRND, PAL_BUTTON2, "Fade out");
+	textOutShadow(192, 270, PAL_FORGRND, PAL_BUTTON2, "Add memory to sample");
+
+	assert(echo_nEcho <= 1024);
+
+	charOut(315 + (0 * 7), 226, PAL_FORGRND, '0' + (echo_nEcho / 1000) % 10);
+	charOut(315 + (1 * 7), 226, PAL_FORGRND, '0' + (echo_nEcho / 100) % 10);
+	charOut(315 + (2 * 7), 226, PAL_FORGRND, '0' + (echo_nEcho / 10) % 10);
+	charOut(315 + (3 * 7), 226, PAL_FORGRND, '0' + (echo_nEcho % 10));
+
+	assert((echo_Distance * 16) <= 262144);
+
+	hexOut(308, 240, PAL_FORGRND, echo_Distance * 16, 5);
+
+	assert(echo_VolChange <= 100);
+
+	charOut(312 + (0 * 7), 254, PAL_FORGRND, '0' + (echo_VolChange / 100) % 10);
+	charOut(312 + (1 * 7), 254, PAL_FORGRND, '0' + (echo_VolChange / 10) % 10);
+	charOut(312 + (2 * 7), 254, PAL_FORGRND, '0' + (echo_VolChange % 10));
+	charOutShadow(313 + (3 * 7), 254, PAL_FORGRND, PAL_BUTTON2, '%');
+}
+
+static void setupEchoBoxWidgets(void)
+{
+	checkBox_t *c;
+	pushButton_t *p;
+	scrollBar_t *s;
+
+	// "Add memory to sample" checkbox
+	c = &checkBoxes[0];
+	memset(c, 0, sizeof (checkBox_t));
+	c->x = 176;
+	c->y = 268;
+	c->clickAreaWidth = 146;
+	c->clickAreaHeight = 12;
+	c->callbackFunc = cbEchoAddMemory;
+	c->checked = echo_AddMemory ? CHECKBOX_CHECKED : CHECKBOX_UNCHECKED;
+	c->visible = true;
+
+	// "Apply" pushbutton
+	p = &pushButtons[0];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Apply";
+	p->x = 345;
+	p->y = 266;
+	p->w = 56;
+	p->h = 16;
+	p->callbackFuncOnUp = pbCreateEcho;
+	p->visible = true;
+
+	// "Exit" pushbutton
+	p = &pushButtons[1];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Exit";
+	p->x = 402;
+	p->y = 266;
+	p->w = 55;
+	p->h = 16;
+	p->callbackFuncOnUp = pbExit;
+	p->visible = true;
+
+	// scrollbar buttons
+
+	p = &pushButtons[2];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 345;
+	p->y = 224;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbEchoNumDown;
+	p->visible = true;
+
+	p = &pushButtons[3];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 434;
+	p->y = 224;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbEchoNumUp;
+	p->visible = true;
+
+	p = &pushButtons[4];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 345;
+	p->y = 238;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbEchoDistDown;
+	p->visible = true;
+
+	p = &pushButtons[5];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 434;
+	p->y = 238;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbEchoDistUp;
+	p->visible = true;
+
+	p = &pushButtons[6];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 345;
+	p->y = 252;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbEchoFadeoutDown;
+	p->visible = true;
+
+	p = &pushButtons[7];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 434;
+	p->y = 252;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbEchoFadeoutUp;
+	p->visible = true;
+
+	// echo num scrollbar
+	s = &scrollBars[0];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 368;
+	s->y = 224;
+	s->w = 66;
+	s->h = 13;
+	s->callbackFunc = sbSetEchoNumPos;
+	s->visible = true;
+	setScrollBarPageLength(0, 1);
+	setScrollBarEnd(0, 1024);
+
+	// echo distance scrollbar
+	s = &scrollBars[1];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 368;
+	s->y = 238;
+	s->w = 66;
+	s->h = 13;
+	s->callbackFunc = sbSetEchoDistPos;
+	s->visible = true;
+	setScrollBarPageLength(1, 1);
+	setScrollBarEnd(1, 16384);
+
+	// echo fadeout scrollbar
+	s = &scrollBars[2];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 368;
+	s->y = 252;
+	s->w = 66;
+	s->h = 13;
+	s->callbackFunc = sbSetEchoFadeoutPos;
+	s->visible = true;
+	setScrollBarPageLength(2, 1);
+	setScrollBarEnd(2, 100);
+}
+
+void handleEchoToolPanic(void)
+{
+	stopThread = true;
+}
+
+void pbSampleEcho(void)
+{
+	uint16_t i;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	setupEchoBoxWidgets();
+	windowOpen();
+
+	outOfMemory = false;
+
+	exitFlag = false;
+	while (editor.ui.sysReqShown)
+	{
+		readInput();
+		if (editor.ui.sysReqEnterPressed)
+			pbCreateEcho();
+
+		setSyncedReplayerVars();
+		handleRedrawing();
+
+		drawEchoBox();
+		setScrollBarPos(0, echo_nEcho, false);
+		setScrollBarPos(1, echo_Distance, false);
+		setScrollBarPos(2, echo_VolChange, false);
+		drawCheckBox(0);
+		for (i = 0; i < 8; i++) drawPushButton(i);
+		for (i = 0; i < 3; i++) drawScrollBar(i);
+
+		flipFrame();
+	}
+
+	hideCheckBox(0);
+	for (i = 0; i < 8; i++) hidePushButton(i);
+	for (i = 0; i < 3; i++) hideScrollBar(i);
+
+	windowClose(echo_AddMemory ? false : true);
+
+	if (outOfMemory)
+		okBox(0, "System message", "Not enough memory!");
+}
+
+static int32_t SDLCALL mixThread(void *ptr)
+{
+	int8_t *destPtr, *mixPtr, *p;
+	uint8_t mixTyp, destTyp;
+	int16_t destIns, destSmp, mixIns, mixSmp;
+	int32_t mixMul1, mixMul2, smp32, x1, x2, i, destLen, mixLen, maxLen, dest8Size, max8Size, mix8Size;
+
+	(void)ptr;
+
+	destIns = editor.curInstr;
+	destSmp = editor.curSmp;
+	mixIns = editor.srcInstr;
+	mixSmp = editor.srcSmp;
+
+	if (destIns == mixIns && destSmp == mixSmp)
+	{
+		setMouseBusy(false);
+		editor.ui.sysReqShown = false;
+		return true;
+	}
+
+	if (instr[mixIns] == NULL)
+	{
+		mixLen = 0;
+		mixPtr = NULL;
+		mixTyp = 0;
+	}
+	else
+	{
+		mixLen = instr[mixIns]->samp[mixSmp].len;
+		mixPtr = instr[mixIns]->samp[mixSmp].pek;
+		mixTyp = instr[mixIns]->samp[mixSmp].typ;
+
+		if (mixPtr == NULL)
+		{
+			mixLen = 0;
+			mixTyp = 0;
+		}
+	}
+
+	if (instr[destIns] == NULL)
+	{
+		destLen = 0;
+		destPtr = NULL;
+		destTyp = 0;
+	}
+	else
+	{
+		destLen = instr[destIns]->samp[destSmp].len;
+		destPtr = instr[destIns]->samp[destSmp].pek;
+		destTyp = instr[destIns]->samp[destSmp].typ;
+
+		if (destPtr == NULL)
+		{
+			destLen = 0;
+			destTyp = 0;
+		}
+	}
+
+	mix8Size = (mixTyp & 16) ? (mixLen / 2) : mixLen;
+	dest8Size = (destTyp & 16) ? (destLen / 2) : destLen;
+	max8Size = (dest8Size > mix8Size) ? dest8Size : mix8Size;
+	maxLen = (destTyp & 16) ? (max8Size * 2) : max8Size;
+
+	if (maxLen <= 0)
+	{
+		setMouseBusy(false);
+		editor.ui.sysReqShown = false;
+		return true;
+	}
+
+	p = (int8_t *)calloc(maxLen + LOOP_FIX_LEN, sizeof (int8_t));
+	if (p == NULL)
+	{
+		outOfMemory = true;
+		setMouseBusy(false);
+		editor.ui.sysReqShown = false;
+		return true;
+	}
+
+	if (instr[destIns] == NULL && !allocateInstr(destIns))
+	{
+		outOfMemory = true;
+		setMouseBusy(false);
+		editor.ui.sysReqShown = false;
+		return true;
+	}
+
+	pauseAudio();
+
+	restoreSample(&instr[destIns]->samp[destSmp]);
+	if (instr[mixIns] != NULL)
+		restoreSample(&instr[mixIns]->samp[mixSmp]);
+
+	// scale value for faster math and suitable rounding for PCM waveforms (DIV -> arithmetic bitshift right)
+	mixMul1 = (int32_t)round((mix_Balance * 256) / 100.0);
+	if (mixMul1 > 256)
+		mixMul1 = 256;
+	mixMul2 = 256 - mixMul1;
+
+	for (i = 0; i < max8Size; i++)
+	{
+		x1 = (i >= mix8Size) ? 0 : getSampleValueNr(mixPtr, mixTyp, (mixTyp & 16) ? (i << 1) : i);
+		x2 = (i >= dest8Size) ? 0 : getSampleValueNr(destPtr, destTyp, (destTyp & 16) ? (i << 1) : i);
+
+		if (!(mixTyp & 16)) x1 <<= 8;
+		if (!(destTyp & 16)) x2 <<= 8;
+
+		smp32 = (int32_t)((((int64_t)x1 * mixMul1) + ((int64_t)x2 * mixMul2)) >> 8);
+		CLAMP16(smp32);
+
+		if (!(destTyp & 16))
+			smp32 >>= 8;
+
+		putSampleValueNr(p, destTyp, (destTyp & 16) ? (i << 1) : i, (int16_t)smp32);
+	}
+
+	if (instr[destIns]->samp[destSmp].pek != NULL)
+		free(instr[destIns]->samp[destSmp].pek);
+
+	instr[destIns]->samp[destSmp].pek = p;
+	instr[destIns]->samp[destSmp].len = maxLen;
+	instr[destIns]->samp[destSmp].typ = destTyp;
+
+	if (destTyp & 16) // bugfix
+		instr[destIns]->samp[destSmp].len &= 0xFFFFFFFE;
+
+	fixSample(&instr[destIns]->samp[destSmp]);
+	if (instr[mixIns] != NULL)
+		fixSample(&instr[mixIns]->samp[mixSmp]);
+
+	resumeAudio();
+
+	setSongModifiedFlag();
+	setMouseBusy(false);
+
+	editor.ui.sysReqShown = false;
+	return true;
+}
+
+static void pbMix(void)
+{
+	mouseAnimOn();
+	thread = SDL_CreateThread(mixThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static void sbSetMixBalancePos(uint32_t pos)
+{
+	if (mix_Balance != (int8_t)pos)
+		mix_Balance = (int8_t)pos;
+}
+
+static void pbMixBalanceDown(void)
+{
+	if (mix_Balance > 0)
+		mix_Balance--;
+}
+
+static void pbMixBalanceUp(void)
+{
+	if (mix_Balance < 100)
+		mix_Balance++;
+}
+
+static void drawMixSampleBox(void)
+{
+	const int16_t x = 192;
+	const int16_t y = 240;
+	const int16_t w = 248;
+	const int16_t h = 38;
+
+	// main fill
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// outer border
+	vLine(x,         y,         h - 1, PAL_BUTTON1);
+	hLine(x + 1,     y,         w - 2, PAL_BUTTON1);
+	vLine(x + w - 1, y,         h,     PAL_BUTTON2);
+	hLine(x,         y + h - 1, w - 1, PAL_BUTTON2);
+
+	// inner border
+	vLine(x + 2,     y + 2,     h - 5, PAL_BUTTON2);
+	hLine(x + 3,     y + 2,     w - 6, PAL_BUTTON2);
+	vLine(x + w - 3, y + 2,     h - 4, PAL_BUTTON1);
+	hLine(x + 2,     y + h - 3, w - 4, PAL_BUTTON1);
+
+	textOutShadow(198, 246, PAL_FORGRND, PAL_BUTTON2, "Mixing balance");
+
+	assert((mix_Balance >= 0) && (mix_Balance <= 100));
+
+	charOut(299 + (0 * 7), 246, PAL_FORGRND, '0' + ((mix_Balance / 100) % 10));
+	charOut(299 + (1 * 7), 246, PAL_FORGRND, '0' + ((mix_Balance / 10) % 10));
+	charOut(299 + (2 * 7), 246, PAL_FORGRND, '0' + (mix_Balance % 10));
+}
+
+static void setupMixBoxWidgets(void)
+{
+	pushButton_t *p;
+	scrollBar_t *s;
+
+	// "Apply" pushbutton
+	p = &pushButtons[0];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Apply";
+	p->x = 197;
+	p->y = 258;
+	p->w = 73;
+	p->h = 16;
+	p->callbackFuncOnUp = pbMix;
+	p->visible = true;
+
+	// "Exit" pushbutton
+	p = &pushButtons[1];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Exit";
+	p->x = 361;
+	p->y = 258;
+	p->w = 73;
+	p->h = 16;
+	p->callbackFuncOnUp = pbExit;
+	p->visible = true;
+
+	// scrollbar buttons
+
+	p = &pushButtons[2];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 322;
+	p->y = 244;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbMixBalanceDown;
+	p->visible = true;
+
+	p = &pushButtons[3];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 411;
+	p->y = 244;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbMixBalanceUp;
+	p->visible = true;
+
+	// mixing balance scrollbar
+	s = &scrollBars[0];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 345;
+	s->y = 244;
+	s->w = 66;
+	s->h = 13;
+	s->callbackFunc = sbSetMixBalancePos;
+	s->visible = true;
+	setScrollBarPageLength(0, 1);
+	setScrollBarEnd(0, 100);
+}
+
+void pbSampleMix(void)
+{
+	uint16_t i;
+
+	if (editor.curInstr == 0)
+		return;
+
+	setupMixBoxWidgets();
+	windowOpen();
+
+	outOfMemory = false;
+
+	exitFlag = false;
+	while (editor.ui.sysReqShown)
+	{
+		readInput();
+		if (editor.ui.sysReqEnterPressed)
+			pbMix();
+
+		setSyncedReplayerVars();
+		handleRedrawing();
+
+		drawMixSampleBox();
+		setScrollBarPos(0, mix_Balance, false);
+		for (i = 0; i < 4; i++) drawPushButton(i);
+		drawScrollBar(0);
+
+		flipFrame();
+	}
+
+	for (i = 0; i < 4; i++) hidePushButton(i);
+	hideScrollBar(0);
+
+	windowClose(false);
+
+	if (outOfMemory)
+		okBox(0, "System message", "Not enough memory!");
+}
+
+static void sbSetStartVolPos(uint32_t pos)
+{
+	int16_t val = (int16_t)(pos - 500);
+	if (val != vol_StartVol)
+	{
+		     if (ABS(val)       < 10) val =    0;
+		else if (ABS(val - 100) < 10) val =  100;
+		else if (ABS(val - 200) < 10) val =  200;
+		else if (ABS(val - 300) < 10) val =  300;
+		else if (ABS(val - 400) < 10) val =  400;
+		else if (ABS(val + 100) < 10) val = -100;
+		else if (ABS(val + 200) < 10) val = -200;
+		else if (ABS(val + 300) < 10) val = -300;
+		else if (ABS(val + 400) < 10) val = -400;
+
+		vol_StartVol = val;
+	}
+}
+
+static void sbSetEndVolPos(uint32_t pos)
+{
+	int16_t val = (int16_t)(pos - 500);
+	if (val != vol_EndVol)
+	{
+		     if (ABS(val)       < 10) val =    0;
+		else if (ABS(val - 100) < 10) val =  100;
+		else if (ABS(val - 200) < 10) val =  200;
+		else if (ABS(val - 300) < 10) val =  300;
+		else if (ABS(val - 400) < 10) val =  400;
+		else if (ABS(val + 100) < 10) val = -100;
+		else if (ABS(val + 200) < 10) val = -200;
+		else if (ABS(val + 300) < 10) val = -300;
+		else if (ABS(val + 400) < 10) val = -400;
+
+		vol_EndVol = val;
+	}
+}
+
+static void pbSampStartVolDown(void)
+{
+	if (vol_StartVol > -500)
+		vol_StartVol--;
+}
+
+static void pbSampStartVolUp(void)
+{
+	if (vol_StartVol < 500)
+		vol_StartVol++;
+}
+
+static void pbSampEndVolDown(void)
+{
+	if (vol_EndVol > -500)
+		vol_EndVol--;
+}
+
+static void pbSampEndVolUp(void)
+{
+	if (vol_EndVol < 500)
+		vol_EndVol++;
+}
+
+static int32_t SDLCALL applyVolumeThread(void *ptr)
+{
+	int8_t *ptr8;
+	int16_t *ptr16;
+	int32_t vol1, vol2, tmp32, x1, x2, len, i;
+	sampleTyp *s;
+
+	if (instr[editor.curInstr] == NULL)
+		goto applyVolumeExit;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	(void)ptr;
+
+	if (smpEd_Rx1 < smpEd_Rx2)
+	{
+		x1 = smpEd_Rx1;
+		x2 = smpEd_Rx2;
+
+		if (x2 > s->len)
+			x2 = s->len;
+
+		if (x1 < 0)
+			x1 = 0;
+
+		if (x2 <= x1)
+			goto applyVolumeExit;
+
+		if (s->typ & 16)
+		{
+			x1 &= 0xFFFFFFFE;
+			x2 &= 0xFFFFFFFE;
+		}
+	}
+	else
+	{
+		x1 = 0;
+		x2 = s->len;
+	}
+
+	if (s->typ & 16)
+	{
+		x1 /= 2;
+		x2 /= 2;
+	}
+
+	len = x2 - x1;
+	if (len <= 0)
+		goto applyVolumeExit;
+
+	pauseAudio();
+	restoreSample(s);
+
+	// scale values for faster math and suitable rounding for PCM waveforms (DIV -> arithmetic bitshift right)
+	vol1 = (int32_t)round((vol_StartVol * 256) / 100.0);
+	vol2 = (int32_t)round((vol_EndVol * 256) / 100.0) - vol1;
+
+	if (s->typ & 16)
+	{
+		ptr16 = (int16_t *)s->pek;
+		for (i = x1; i < x2; i++)
+		{
+			tmp32 = vol1 + (int32_t)(((int64_t)(i - x1) * vol2) / len);
+			tmp32 = (ptr16[i] * tmp32) >> 8;
+			CLAMP16(tmp32);
+			ptr16[i] = (int16_t)tmp32;
+		}
+	}
+	else
+	{
+		ptr8 = s->pek;
+		for (i = x1; i < x2; i++)
+		{
+			tmp32 = vol1 + (int32_t)(((int64_t)(i - x1) * vol2) / len);
+			tmp32 = (ptr8[i] * tmp32) >> 8;
+			CLAMP8(tmp32);
+			ptr8[i] = (int8_t)tmp32;
+		}
+	}
+	fixSample(s);
+
+	resumeAudio();
+	setSongModifiedFlag();
+
+applyVolumeExit:
+	setMouseBusy(false);
+	editor.ui.sysReqShown = false;
+	return true;
+}
+
+static void pbApplyVolume(void)
+{
+	if (vol_StartVol == 100 && vol_EndVol == 100)
+	{
+		editor.ui.sysReqShown = false;
+		return; // no volume change to be done
+	}
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(applyVolumeThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static int32_t SDLCALL getMaxScaleThread(void *ptr)
+{
+	int8_t *ptr8;
+	int16_t *ptr16;
+	int32_t vol, absSmp, x1, x2, len, i, maxAmp;
+	sampleTyp *s;
+
+	(void)ptr;
+
+	if (instr[editor.curInstr] == NULL)
+		goto getScaleExit;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	if (smpEd_Rx1 < smpEd_Rx2)
+	{
+		x1 = smpEd_Rx1;
+		x2 = smpEd_Rx2;
+
+		if (x2 > s->len)
+			x2 = s->len;
+
+		if (x1 < 0)
+			x1 = 0;
+
+		if (x2 <= x1)
+			goto getScaleExit;
+
+		if (s->typ & 16)
+		{
+			x1 &= 0xFFFFFFFE;
+			x2 &= 0xFFFFFFFE;
+		}
+	}
+	else
+	{
+		// no sample marking, operate on the whole sample
+		x1 = 0;
+		x2 = s->len;
+	}
+
+	len = x2 - x1;
+	if (s->typ & 16)
+		len /= 2;
+
+	if (len <= 0)
+	{
+		vol_StartVol = 0;
+		vol_EndVol = 0;
+		goto getScaleExit;
+	}
+
+	restoreSample(s);
+
+	maxAmp = 0;
+	if (s->typ & 16)
+	{
+		ptr16 = (int16_t *)&s->pek[x1];
+		for (i = 0; i < len; i++)
+		{
+			absSmp = ABS(ptr16[i]);
+			if (absSmp > maxAmp)
+				maxAmp = absSmp;
+		}
+	}
+	else
+	{
+		ptr8 = &s->pek[x1];
+		for (i = 0; i < len; i++)
+		{
+			absSmp = ABS(ptr8[i]);
+			if (absSmp > maxAmp)
+				maxAmp = absSmp;
+		}
+
+		maxAmp <<= 8;
+	}
+
+	fixSample(s);
+
+	if (maxAmp <= 0)
+	{
+		vol_StartVol = 0;
+		vol_EndVol = 0;
+	}
+	else
+	{
+		vol = (100 * 32768) / maxAmp;
+		if (vol > 500)
+			vol = 500;
+
+		vol_StartVol = (int16_t)vol;
+		vol_EndVol = (int16_t)vol;
+	}
+
+getScaleExit:
+	setMouseBusy(false);
+	return true;
+}
+
+static void pbGetMaxScale(void)
+{
+	mouseAnimOn();
+	thread = SDL_CreateThread(getMaxScaleThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+static void drawSampleVolumeBox(void)
+{
+	char sign;
+	const int16_t x = 166;
+	const int16_t y = 230;
+	const int16_t w = 301;
+	const int16_t h = 52;
+	uint16_t val;
+
+	// main fill
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// outer border
+	vLine(x,         y,         h - 1, PAL_BUTTON1);
+	hLine(x + 1,     y,         w - 2, PAL_BUTTON1);
+	vLine(x + w - 1, y,         h,     PAL_BUTTON2);
+	hLine(x,         y + h - 1, w - 1, PAL_BUTTON2);
+
+	// inner border
+	vLine(x + 2,     y + 2,     h - 5, PAL_BUTTON2);
+	hLine(x + 3,     y + 2,     w - 6, PAL_BUTTON2);
+	vLine(x + w - 3, y + 2,     h - 4, PAL_BUTTON1);
+	hLine(x + 2,     y + h - 3, w - 4, PAL_BUTTON1);
+
+	textOutShadow(172, 236, PAL_FORGRND, PAL_BUTTON2, "Start volume");
+	textOutShadow(172, 249, PAL_FORGRND, PAL_BUTTON2, "End volume");
+	charOutShadow(282, 236, PAL_FORGRND, PAL_BUTTON2, '%');
+	charOutShadow(282, 250, PAL_FORGRND, PAL_BUTTON2, '%');
+
+	     if (vol_StartVol == 0) sign = ' ';
+	else if (vol_StartVol  < 0) sign = '-';
+	else sign = '+';
+
+	val = ABS(vol_StartVol);
+	if (val > 99)
+	{
+		charOut(253, 236, PAL_FORGRND, sign);
+		charOut(260, 236, PAL_FORGRND, '0' + ((val / 100) % 10));
+		charOut(267, 236, PAL_FORGRND, '0' + ((val / 10) % 10));
+		charOut(274, 236, PAL_FORGRND, '0' + (val % 10));
+	}
+	else if (val > 9)
+	{
+		charOut(260, 236, PAL_FORGRND, sign);
+		charOut(267, 236, PAL_FORGRND, '0' + ((val / 10) % 10));
+		charOut(274, 236, PAL_FORGRND, '0' + (val % 10));
+	}
+	else
+	{
+		charOut(267, 236, PAL_FORGRND, sign);
+		charOut(274, 236, PAL_FORGRND, '0' + (val % 10));
+	}
+
+	     if (vol_EndVol == 0) sign = ' ';
+	else if (vol_EndVol  < 0) sign = '-';
+	else sign = '+';
+
+	val = ABS(vol_EndVol);
+	if (val > 99)
+	{
+		charOut(253, 250, PAL_FORGRND, sign);
+		charOut(260, 250, PAL_FORGRND, '0' + ((val / 100) % 10));
+		charOut(267, 250, PAL_FORGRND, '0' + ((val / 10) % 10));
+		charOut(274, 250, PAL_FORGRND, '0' + (val % 10));
+	}
+	else if (val > 9)
+	{
+		charOut(260, 250, PAL_FORGRND, sign);
+		charOut(267, 250, PAL_FORGRND, '0' + ((val / 10) % 10));
+		charOut(274, 250, PAL_FORGRND, '0' + (val % 10));
+	}
+	else
+	{
+		charOut(267, 250, PAL_FORGRND, sign);
+		charOut(274, 250, PAL_FORGRND, '0' + (val % 10));
+	}
+}
+
+static void setupVolumeBoxWidgets(void)
+{
+	pushButton_t *p;
+	scrollBar_t *s;
+
+	// "Apply" pushbutton
+	p = &pushButtons[0];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Apply";
+	p->x = 171;
+	p->y = 262;
+	p->w = 73;
+	p->h = 16;
+	p->callbackFuncOnUp = pbApplyVolume;
+	p->visible = true;
+
+	// "Get maximum scale" pushbutton
+	p = &pushButtons[1];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Get maximum scale";
+	p->x = 245;
+	p->y = 262;
+	p->w = 143;
+	p->h = 16;
+	p->callbackFuncOnUp = pbGetMaxScale;
+	p->visible = true;
+
+	// "Exit" pushbutton
+	p = &pushButtons[2];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = "Exit";
+	p->x = 389;
+	p->y = 262;
+	p->w = 73;
+	p->h = 16;
+	p->callbackFuncOnUp = pbExit;
+	p->visible = true;
+
+	// scrollbar buttons
+
+	p = &pushButtons[3];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 292;
+	p->y = 234;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbSampStartVolDown;
+	p->visible = true;
+
+	p = &pushButtons[4];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 439;
+	p->y = 234;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbSampStartVolUp;
+	p->visible = true;
+
+	p = &pushButtons[5];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_LEFT_STRING;
+	p->x = 292;
+	p->y = 248;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbSampEndVolDown;
+	p->visible = true;
+
+	p = &pushButtons[6];
+	memset(p, 0, sizeof (pushButton_t));
+	p->caption = ARROW_RIGHT_STRING;
+	p->x = 439;
+	p->y = 248;
+	p->w = 23;
+	p->h = 13;
+	p->preDelay = 1;
+	p->delayFrames = 3;
+	p->callbackFuncOnDown = pbSampEndVolUp;
+	p->visible = true;
+
+	// volume start scrollbar
+	s = &scrollBars[0];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 315;
+	s->y = 234;
+	s->w = 124;
+	s->h = 13;
+	s->callbackFunc = sbSetStartVolPos;
+	s->visible = true;
+	setScrollBarPageLength(0, 1);
+	setScrollBarEnd(0, 500 * 2);
+	setScrollBarPos(0, 500, false);
+
+	// volume end scrollbar
+	s = &scrollBars[1];
+	memset(s, 0, sizeof (scrollBar_t));
+	s->x = 315;
+	s->y = 248;
+	s->w = 124;
+	s->h = 13;
+	s->callbackFunc = sbSetEndVolPos;
+	s->visible = true;
+	setScrollBarPageLength(1, 1);
+	setScrollBarEnd(1, 500 * 2);
+	setScrollBarPos(1, 500, false);
+}
+
+void pbSampleVolume(void)
+{
+	uint16_t i;
+
+	if (editor.curInstr == 0 ||
+		instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL)
+	{
+		return;
+	}
+
+	setupVolumeBoxWidgets();
+	windowOpen();
+
+	exitFlag = false;
+	while (editor.ui.sysReqShown)
+	{
+		readInput();
+		if (editor.ui.sysReqEnterPressed)
+		{
+			pbApplyVolume();
+			keyb.ignoreCurrKeyUp = true; // don't handle key up event for this key release
+		}
+
+		setSyncedReplayerVars();
+		handleRedrawing();
+
+		// this is needed for the "Get maximum scale" button
+		if (editor.ui.setMouseIdle) mouseAnimOff();
+
+		drawSampleVolumeBox();
+		setScrollBarPos(0, 500 + vol_StartVol, false);
+		setScrollBarPos(1, 500 + vol_EndVol, false);
+		for (i = 0; i < 7; i++) drawPushButton(i);
+		for (i = 0; i < 2; i++) drawScrollBar(i);
+
+		flipFrame();
+	}
+
+	for (i = 0; i < 7; i++) hidePushButton(i);
+	for (i = 0; i < 2; i++) hideScrollBar(i);
+
+	windowClose(true);
+}
--- /dev/null
+++ b/src/ft2_sample_ed_features.h
@@ -1,0 +1,9 @@
+#pragma once
+
+#include <stdint.h>
+
+void pbSampleResample(void);
+void pbSampleEcho(void);
+void pbSampleMix(void);
+void pbSampleVolume(void);
+void handleEchoToolPanic(void);
--- /dev/null
+++ b/src/ft2_sample_loader.c
@@ -1,0 +1,2236 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <math.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_unicode.h"
+#include "ft2_audio.h"
+#include "ft2_sample_ed.h"
+#include "ft2_mouse.h"
+#include "ft2_diskop.h"
+
+/* All of these routines were written from scratch and were not present
+** in original FT2. */
+
+enum
+{
+	STEREO_SAMPLE_READ_LEFT = 1,
+	STEREO_SAMPLE_READ_RIGHT = 2,
+	STEREO_SAMPLE_CONVERT = 3,
+
+	WAV_FORMAT_PCM = 0x0001,
+	WAV_FORMAT_IEEE_FLOAT = 0x0003
+};
+
+static volatile bool sampleIsLoading;
+static bool loadAsInstrFlag;
+static uint8_t sampleSlot;
+static int16_t stereoSampleLoadMode;
+static SDL_Thread *thread;
+
+static void normalize32bitSigned(int32_t *sampleData, uint32_t sampleLength);
+static void normalize16bitFloatSigned(float *fSampleData, uint32_t sampleLength);
+static void normalize64bitDoubleSigned(double *dSampleData, uint32_t sampleLength);
+
+void freeTmpSample(sampleTyp *s)
+{
+	if (s->pek != NULL)
+	{
+		free(s->pek);
+		s->pek = NULL;
+	}
+
+	memset(s, 0, sizeof (sampleTyp));
+}
+
+void removeSampleIsLoadingFlag(void)
+{
+	sampleIsLoading = false;
+}
+
+static int32_t getAIFFRate(uint8_t *in)
+{
+	int32_t exp;
+	uint32_t lo, hi;
+	double dOut;
+
+	exp = (int32_t)(((in[0] & 0x7F) << 8) | in[1]);
+	lo  = (in[2] << 24) | (in[3] << 16) | (in[4] << 8) | in[5];
+	hi  = (in[6] << 24) | (in[7] << 16) | (in[8] << 8) | in[9];
+
+	if (exp == 0 && lo == 0 && hi == 0)
+		return 0;
+
+	exp -= 16383;
+
+	dOut = ldexp(lo, -31 + exp) + ldexp(hi, -63 + exp);
+	return (int32_t)round(dOut);
+}
+
+static bool aiffIsStereo(FILE *f) // only ran on files that are confirmed to be AIFFs
+{
+	uint16_t numChannels;
+	int32_t bytesRead, endOfChunk, filesize;
+	uint32_t chunkID, chunkSize, commPtr, commLen;
+	uint32_t oldPos;
+
+	oldPos = ftell(f);
+
+	fseek(f, 0, SEEK_END);
+	filesize = ftell(f);
+
+	if (filesize < 12)
+	{
+		fseek(f, oldPos, SEEK_SET);
+		return false;
+	}
+
+	fseek(f, 12, SEEK_SET);
+
+	commPtr = 0; commLen = 0;
+
+	bytesRead = 0;
+	while (!feof(f) && bytesRead < filesize-12)
+	{
+		fread(&chunkID, 4, 1, f); chunkID   = SWAP32(chunkID); if (feof(f)) break;
+		fread(&chunkSize, 4, 1, f); chunkSize = SWAP32(chunkSize); if (feof(f)) break;
+
+		endOfChunk = (ftell(f) + chunkSize) + (chunkSize & 1);
+		switch (chunkID)
+		{
+			case 0x434F4D4D: // "COMM"
+			{
+				commPtr = ftell(f);
+				commLen = chunkSize;
+			}
+			break;
+
+			default: break;
+		}
+
+		bytesRead += (chunkSize + (chunkSize & 1));
+		fseek(f, endOfChunk, SEEK_SET);
+	}
+
+	if (commPtr == 0 || commLen < 2)
+	{
+		fseek(f, oldPos, SEEK_SET);
+		return false;
+	}
+
+	fseek(f, commPtr, SEEK_SET);
+	fread(&numChannels, 2, 1, f); numChannels = SWAP16(numChannels);
+	fseek(f, oldPos, SEEK_SET);
+
+	return (numChannels == 2);
+}
+
+static bool wavIsStereo(FILE *f) // only ran on files that are confirmed to be WAVs
+{
+	uint16_t numChannels;
+	int32_t bytesRead, endOfChunk, filesize;
+	uint32_t chunkID, chunkSize, fmtPtr, fmtLen;
+	uint32_t oldPos;
+
+	oldPos = ftell(f);
+
+	fseek(f, 0, SEEK_END);
+	filesize = ftell(f);
+
+	if (filesize < 12)
+	{
+		fseek(f, oldPos, SEEK_SET);
+		return false;
+	}
+
+	fseek(f, 12, SEEK_SET);
+
+	fmtPtr = 0;
+	fmtLen = 0;
+
+	bytesRead = 0;
+	while (!feof(f) && bytesRead < filesize-12)
+	{
+		fread(&chunkID, 4, 1, f); if (feof(f)) break;
+		fread(&chunkSize, 4, 1, f); if (feof(f)) break;
+
+		endOfChunk = (ftell(f) + chunkSize) + (chunkSize & 1);
+		switch (chunkID)
+		{
+			case 0x20746D66: // "fmt "
+			{
+				fmtPtr = ftell(f);
+				fmtLen = chunkSize;
+			}
+			break;
+
+			default: break;
+		}
+
+		bytesRead += (chunkSize + (chunkSize & 1));
+		fseek(f, endOfChunk, SEEK_SET);
+	}
+
+	if (fmtPtr == 0 || fmtLen < 4)
+	{
+		fseek(f, oldPos, SEEK_SET);
+		return false;
+	}
+
+	fseek(f, fmtPtr + 2, SEEK_SET);
+	fread(&numChannels, 2, 1, f);
+	fseek(f, oldPos, SEEK_SET);
+
+	return (numChannels == 2);
+}
+
+static int32_t SDLCALL loadAIFFSample(void *ptr)
+{
+	char *tmpFilename, *tmpPtr, compType[4];
+	int8_t *audioDataS8, *newPtr;
+	uint8_t sampleRateBytes[10], *audioDataU8;
+	int16_t *audioDataS16, *audioDataS16_2, smp16;
+	uint16_t numChannels, bitDepth;
+	int32_t j, filesize, smp32, *audioDataS32;
+	uint32_t i, filenameLen, sampleRate, sampleLength, blockName, blockSize;
+	uint32_t commPtr, commLen, ssndPtr, ssndLen, offset, len32;
+	int64_t smp64;
+	FILE *f;
+	UNICHAR *filename;
+	sampleTyp tmpSmp, *s;
+
+	(void)ptr;
+
+	// this is important for the "goto" on load error
+	f = NULL;
+	memset(&tmpSmp, 0, sizeof (tmpSmp));
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto aiffLoadError;
+	}
+
+	filename = editor.tmpFilenameU;
+
+	f = UNICHAR_FOPEN(filename, "rb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto aiffLoadError;
+	}
+
+	fseek(f, 0, SEEK_END);
+	filesize = ftell(f);
+	if (filesize < 12)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto aiffLoadError;
+	}
+
+	// handle chunks
+
+	commPtr = 0; commLen = 0;
+	ssndPtr = 0; ssndLen = 0;
+
+	fseek(f, 12, SEEK_SET);
+	while (!feof(f) && ftell(f) < filesize-12)
+	{
+		fread(&blockName, 4, 1, f); if (feof(f)) break;
+		fread(&blockSize, 4, 1, f); if (feof(f)) break;
+
+		blockName = SWAP32(blockName);
+		blockSize = SWAP32(blockSize);
+
+		switch (blockName)
+		{
+			case 0x434F4D4D: // "COMM"
+			{
+				commPtr = ftell(f);
+				commLen = blockSize;
+			}
+			break;
+
+			case 0x53534E44: // "SSND"
+			{
+				ssndPtr = ftell(f);
+				ssndLen = blockSize;
+			}
+			break;
+
+			default: break;
+		}
+
+		fseek(f, blockSize + (blockSize & 1), SEEK_CUR);
+	}
+
+	if (commPtr == 0 || commLen < 18 || ssndPtr == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto aiffLoadError;
+	}
+
+	// kludge for some really strange AIFFs
+	if (ssndLen == 0)
+		ssndLen = filesize - ssndPtr;
+
+	if (ssndPtr+ssndLen > (uint32_t)filesize)
+		ssndLen = filesize - ssndPtr;
+
+	fseek(f, commPtr, SEEK_SET);
+	fread(&numChannels, 2, 1, f); numChannels = SWAP16(numChannels);
+	fseek(f, 4, SEEK_CUR);
+	fread(&bitDepth, 2, 1, f); bitDepth = SWAP16(bitDepth);
+	fread(sampleRateBytes, 1, 10, f);
+
+	if (numChannels != 1 && numChannels != 2)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: Unsupported amounts of channels!");
+		goto aiffLoadError;
+	}
+
+	if (bitDepth != 8 && bitDepth != 16 && bitDepth != 24 && bitDepth != 32)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: Unsupported bitdepth!");
+		goto aiffLoadError;
+	}
+
+	// read compression type (if present)
+	if (commLen > 18)
+	{
+		fread(&compType, 1, 4, f);
+		if (memcmp(compType, "NONE", 4))
+		{
+			okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+			goto aiffLoadError;
+		}
+	}
+
+	sampleRate = getAIFFRate(sampleRateBytes);
+
+	// sample data chunk
+
+	fseek(f, ssndPtr, SEEK_SET);
+
+	fread(&offset, 4, 1, f);
+	if (offset > 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto aiffLoadError;
+	}
+
+	fseek(f, 4, SEEK_CUR);
+
+	ssndLen -= 8; // don't include offset and blockSize datas
+
+	sampleLength = ssndLen;
+	if (sampleLength > MAX_SAMPLE_LEN)
+		sampleLength = MAX_SAMPLE_LEN;
+
+	freeTmpSample(&tmpSmp);
+
+	// read sample data
+
+	if (bitDepth == 8)
+	{
+		// 8-BIT SIGNED PCM
+
+		tmpSmp.pek = (int8_t *)malloc(sampleLength);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto aiffLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 1, f) != 1)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto aiffLoadError;
+		}
+
+		audioDataS8 = (int8_t *)tmpSmp.pek;
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					for (i = 1; i < sampleLength; i++)
+						audioDataS8[i] = audioDataS8[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS8[i] = audioDataS8[(i * 2) + 1];
+
+					audioDataS8[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp16 = (audioDataS8[(i * 2) + 0] + audioDataS8[(i * 2) + 1]) >> 1;
+						audioDataS8[i] = (int8_t)smp16;
+					}
+
+					audioDataS8[i] = 0;
+				}
+				break;
+			}
+		}
+	}
+	else if (bitDepth == 16)
+	{
+		// 16-BIT SIGNED PCM
+
+		sampleLength /= 2;
+
+		tmpSmp.pek = (int8_t *)malloc(sampleLength * 2);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto aiffLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 2, f) != 2)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto aiffLoadError;
+		}
+
+		// fix endianness
+		audioDataS16 = (int16_t *)tmpSmp.pek;
+		for (i = 0; i < sampleLength; i++)
+			audioDataS16[i] = SWAP16(audioDataS16[i]);
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					for (i = 1; i < sampleLength; i++)
+						audioDataS16[i] = audioDataS16[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS16[i] = audioDataS16[(i * 2) + 1];
+
+					audioDataS16[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp32 = (audioDataS16[(i * 2) + 0] + audioDataS16[(i * 2) + 1]) >> 1;
+						audioDataS16[i] = (int16_t)smp32;
+					}
+
+					audioDataS16[i] = 0;
+				}
+				break;
+			}
+		}
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16;
+	}
+	else if (bitDepth == 24)
+	{
+		// 24-BIT SIGNED PCM
+
+		sampleLength /= 3;
+
+		tmpSmp.pek = (int8_t *)malloc((sampleLength * 4) * 2);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto aiffLoadError;
+		}
+
+		if (fread(&tmpSmp.pek[sampleLength], sampleLength, 3, f) != 3)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto aiffLoadError;
+		}
+
+		audioDataS32 = (int32_t *)tmpSmp.pek;
+
+		// convert to 32-bit
+		audioDataU8 = (uint8_t *)tmpSmp.pek + sampleLength;
+		for (i = 0; i < sampleLength; i++)
+		{
+			audioDataS32[i] = (audioDataU8[0] << 24) | (audioDataU8[1] << 16) | (audioDataU8[2] << 8);
+			audioDataU8 += 3;
+		}
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					for (i = 1; i < sampleLength; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 1];
+
+					audioDataS32[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp64 = audioDataS32[(i * 2) + 0];
+						smp64 += audioDataS32[(i * 2) + 1];
+						smp64 >>= 1;
+
+						audioDataS32[i] = (int32_t)smp64;
+					}
+
+					audioDataS32[i] = 0;
+				}
+				break;
+			}
+		}
+
+		normalize32bitSigned(audioDataS32, sampleLength);
+
+		// downscale to 16-bit (ultra fast method!)
+
+		audioDataS16 = (int16_t *)tmpSmp.pek;
+		audioDataS16_2 = (int16_t *)tmpSmp.pek + 1;
+
+		for (i = 0; i < sampleLength; i++)
+		{
+			audioDataS16[i] = audioDataS16_2[i];
+			audioDataS16_2++;
+		}
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16;
+	}
+	else if (bitDepth == 32)
+	{
+		// 32-BIT SIGNED PCM
+
+		sampleLength /= 4;
+
+		tmpSmp.pek = (int8_t *)malloc(sampleLength * 4);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto aiffLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 4, f) != 4)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto aiffLoadError;
+		}
+
+		// fix endianness
+		audioDataS32 = (int32_t *)tmpSmp.pek;
+		for (i = 0; i < sampleLength; i++)
+			audioDataS32[i] = SWAP32(audioDataS32[i]);
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					for (i = 1; i < sampleLength; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 1];
+
+					audioDataS32[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp64 = audioDataS32[(i * 2) + 0];
+						smp64 += audioDataS32[(i * 2) + 1];
+						smp64 >>= 1;
+
+						audioDataS32[i] = (int32_t)smp64;
+					}
+
+					audioDataS32[i] = 0;
+				}
+				break;
+			}
+		}
+
+		normalize32bitSigned(audioDataS32, sampleLength);
+
+		// downscale to 16-bit (ultra fast method!)
+
+		audioDataS16 = (int16_t *)tmpSmp.pek;
+		audioDataS16_2 = (int16_t *)tmpSmp.pek + 1;
+
+		for (i = 0; i < sampleLength; i++)
+		{
+			audioDataS16[i] = audioDataS16_2[i];
+			audioDataS16_2++;
+		}
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16;
+	}
+
+	// adjust memory needed
+	newPtr = (int8_t *)realloc(tmpSmp.pek, sampleLength + LOOP_FIX_LEN);
+	if (newPtr != NULL)
+		tmpSmp.pek = newPtr;
+
+	// set sample attributes
+	tmpSmp.len = sampleLength;
+	tmpSmp.vol = 64;
+	tmpSmp.pan = 128;
+
+	tuneSample(&tmpSmp, sampleRate);
+
+	// set sample name
+	tmpFilename = unicharToCp437(filename, true);
+	if (tmpFilename != NULL)
+	{
+		j = (int32_t)strlen(tmpFilename);
+		while (j--)
+		{
+			if (tmpFilename[j] == DIR_DELIMITER)
+				break;
+		}
+
+		tmpPtr = tmpFilename;
+		if (j > 0)
+			tmpPtr += j + 1;
+
+		sanitizeFilename(tmpPtr);
+
+		filenameLen = (uint32_t)strlen(tmpPtr);
+		for (i = 0; i < 22; i++)
+		{
+			if (i < filenameLen)
+				tmpSmp.name[i] = tmpPtr[i];
+			else
+				tmpSmp.name[i] = '\0';
+		}
+
+		free(tmpFilename);
+	}
+
+	fclose(f);
+
+	lockMixerCallback();
+	if (loadAsInstrFlag) // if loaded in instrument mode
+	{
+		freeInstr(editor.curInstr);
+		memset(song.instrName[editor.curInstr], 0, 23);
+	}
+
+	if (instr[editor.curInstr] == NULL)
+		allocateInstr(editor.curInstr);
+
+	if (instr[editor.curInstr] != NULL)
+	{
+		s = &instr[editor.curInstr]->samp[sampleSlot];
+
+		freeSample(editor.curInstr, sampleSlot);
+		memcpy(s, &tmpSmp, sizeof (sampleTyp));
+		fixSample(s);
+	}
+	else
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		goto aiffLoadError;
+	}
+	unlockMixerCallback();
+
+	fixSampleName(editor.curInstr);
+	setSongModifiedFlag();
+	stereoSampleLoadMode = -1;
+
+	// also sets mouse busy to false when done
+	editor.updateCurSmp = true;
+
+	return true;
+
+aiffLoadError:
+	if (f != NULL) fclose(f);
+	if (tmpSmp.pek != NULL) free(tmpSmp.pek);
+
+	stereoSampleLoadMode = -1;
+	sampleIsLoading = false;
+
+	return false;
+}
+
+static int32_t SDLCALL loadIFFSample(void *ptr)
+{
+	char *tmpFilename, *tmpPtr, hdr[4 + 1];
+	bool is16Bit;
+	uint8_t i;
+	uint16_t sampleRate;
+	int32_t j, filesize;
+	uint32_t filenameLen, sampleVol, sampleLength, sampleLoopStart, sampleLoopLength, blockName, blockSize;
+	uint32_t vhdrPtr, vhdrLen, bodyPtr, bodyLen, namePtr, nameLen;
+	FILE *f;
+	UNICHAR *filename;
+	sampleTyp tmpSmp, *s;
+
+	(void)ptr;
+
+	// this is important for the "goto" on load error
+	f = NULL;
+	memset(&tmpSmp, 0, sizeof (tmpSmp));
+
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto iffLoadError;
+	}
+
+	filename = editor.tmpFilenameU;
+
+	f = UNICHAR_FOPEN(filename, "rb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto iffLoadError;
+	}
+
+	fseek(f, 0, SEEK_END);
+	filesize = ftell(f);
+	if (filesize < 12)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto iffLoadError;
+	}
+
+	fseek(f, 8, SEEK_SET);
+	fread(hdr, 1, 4, f);
+	hdr[4] = '\0';
+	is16Bit = !strncmp(hdr, "16SV", 4);
+
+	sampleLength = 0;
+	sampleVol = 64;
+	sampleLoopStart = 0;
+	sampleLoopLength = 0;
+	sampleRate = 16726;
+
+	vhdrPtr = 0; vhdrLen = 0;
+	bodyPtr = 0; bodyLen = 0;
+	namePtr = 0; nameLen = 0;
+
+	fseek(f, 12, SEEK_SET);
+	while (!feof(f) && ftell(f) < filesize-12)
+	{
+		fread(&blockName, 4, 1, f); if (feof(f)) break;
+		fread(&blockSize, 4, 1, f); if (feof(f)) break;
+
+		blockName = SWAP32(blockName);
+		blockSize = SWAP32(blockSize);
+
+		switch (blockName)
+		{
+			case 0x56484452: // VHDR
+			{
+				vhdrPtr = ftell(f);
+				vhdrLen = blockSize;
+			}
+			break;
+
+			case 0x4E414D45: // NAME
+			{
+				namePtr = ftell(f);
+				nameLen = blockSize;
+			}
+			break;
+
+			case 0x424F4459: // BODY
+			{
+				bodyPtr = ftell(f);
+				bodyLen = blockSize;
+			}
+			break;
+
+			default: break;
+		}
+
+		fseek(f, blockSize + (blockSize & 1), SEEK_CUR);
+	}
+
+	if (vhdrPtr == 0 || vhdrLen < 20 || bodyPtr == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto iffLoadError;
+	}
+
+	// kludge for some really strange IFFs
+	if (bodyLen == 0)
+		bodyLen = filesize - bodyPtr;
+
+	if (bodyPtr+bodyLen > (uint32_t)filesize)
+		bodyLen = filesize - bodyPtr;
+
+	fseek(f, vhdrPtr, SEEK_SET);
+	fread(&sampleLoopStart,  4, 1, f); sampleLoopStart  = SWAP32(sampleLoopStart);
+	fread(&sampleLoopLength, 4, 1, f); sampleLoopLength = SWAP32(sampleLoopLength);
+	fseek(f, 4, SEEK_CUR);
+	fread(&sampleRate, 2, 1, f); sampleRate = SWAP16(sampleRate);
+	fseek(f, 1, SEEK_CUR);
+
+	if (fgetc(f) != 0) // sample type
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported!");
+		goto iffLoadError;
+	}
+
+	fread(&sampleVol, 4, 1, f); sampleVol = SWAP32(sampleVol);
+	if (sampleVol > 65535)
+		sampleVol = 65535;
+
+	sampleVol = (uint32_t)round(sampleVol / 1024.0);
+	if (sampleVol > 64)
+		sampleVol = 64;
+
+	sampleLength = bodyLen;
+	if (sampleLength > MAX_SAMPLE_LEN)
+		sampleLength = MAX_SAMPLE_LEN;
+
+	if (sampleLoopStart >= MAX_SAMPLE_LEN || sampleLoopLength > MAX_SAMPLE_LEN)
+	{
+		sampleLoopStart = 0;
+		sampleLoopLength = 0;
+	}
+
+	if (sampleLoopStart+sampleLoopLength > sampleLength)
+	{
+		sampleLoopStart = 0;
+		sampleLoopLength = 0;
+	}
+
+	if (sampleLoopStart > sampleLength-2)
+	{
+		sampleLoopStart  = 0;
+		sampleLoopLength = 0;
+	}
+
+	tmpSmp.pan = 128;
+	tmpSmp.vol = 64;
+
+	tmpSmp.pek = (int8_t *)malloc(sampleLength + LOOP_FIX_LEN);
+	if (tmpSmp.pek == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		goto iffLoadError;
+	}
+
+	fseek(f, bodyPtr, SEEK_SET);
+	if (fread(tmpSmp.pek, sampleLength, 1, f) != 1)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto iffLoadError;
+	}
+
+	// set sample attributes
+	tmpSmp.len = sampleLength;
+
+	if (sampleLoopLength > 2)
+	{
+		tmpSmp.repS = sampleLoopStart;
+		tmpSmp.repL = sampleLoopLength;
+		tmpSmp.typ |= 1;
+	}
+
+	if (is16Bit)
+	{
+		tmpSmp.len  &= 0xFFFFFFFE;
+		tmpSmp.repS &= 0xFFFFFFFE;
+		tmpSmp.repL &= 0xFFFFFFFE;
+		tmpSmp.typ |= 16;
+	}
+
+	tmpSmp.vol = (uint8_t)sampleVol;
+	tmpSmp.pan = 128;
+
+	tuneSample(&tmpSmp, sampleRate);
+
+	// set name
+	if (namePtr != 0 && nameLen > 0)
+	{
+		fseek(f, namePtr, SEEK_SET);
+		if (nameLen > 21)
+		{
+			tmpSmp.name[21] = '\0';
+			fread(tmpSmp.name, 1, 21, f);
+		}
+		else
+		{
+			memset(tmpSmp.name, 0, 22);
+			fread(tmpSmp.name, 1, nameLen, f);
+		}
+	}
+	else
+	{
+		// set sample name from filename if we didn't load name from .wav
+		tmpFilename = unicharToCp437(filename, true);
+		if (tmpFilename != NULL)
+		{
+			j = (int32_t)strlen(tmpFilename);
+			while (j--)
+			{
+				if (tmpFilename[j] == DIR_DELIMITER)
+					break;
+			}
+
+			tmpPtr = tmpFilename;
+			if (j > 0)
+				tmpPtr += j + 1;
+
+			sanitizeFilename(tmpPtr);
+
+			filenameLen = (uint32_t)strlen(tmpPtr);
+			for (i = 0; i < 22; i++)
+			{
+				if (i < filenameLen)
+					tmpSmp.name[i] = tmpPtr[i];
+				else
+					tmpSmp.name[i] = '\0';
+			}
+
+			free(tmpFilename);
+		}
+	}
+
+	fclose(f);
+
+	lockMixerCallback();
+	if (loadAsInstrFlag) // if loaded in instrument mode
+	{
+		freeInstr(editor.curInstr);
+		memset(song.instrName[editor.curInstr], 0, 23);
+	}
+
+	if (instr[editor.curInstr] == NULL)
+		allocateInstr(editor.curInstr);
+
+	if (instr[editor.curInstr] != NULL)
+	{
+		s = &instr[editor.curInstr]->samp[sampleSlot];
+
+		freeSample(editor.curInstr, sampleSlot);
+		memcpy(s, &tmpSmp, sizeof (sampleTyp));
+		fixSample(s);
+	}
+	else
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		goto iffLoadError;
+	}
+	unlockMixerCallback();
+
+	fixSampleName(editor.curInstr);
+	setSongModifiedFlag();
+	stereoSampleLoadMode = -1;
+
+	// also sets mouse busy to false when done
+	editor.updateCurSmp = true;
+
+	return true;
+
+iffLoadError:
+	if (f != NULL) fclose(f);
+	if (tmpSmp.pek != NULL) free(tmpSmp.pek);
+
+	stereoSampleLoadMode = -1;
+	sampleIsLoading = false;
+
+	return false;
+}
+
+static int32_t SDLCALL loadRawSample(void *ptr)
+{
+	char *tmpFilename, *tmpPtr;
+	int32_t j;
+	uint32_t filenameLen, i, filesize;
+	FILE *f;
+	UNICHAR *filename;
+	sampleTyp tmpSmp, *s;
+
+	(void)ptr;
+
+	// this is important for the "goto" on load error
+	f = NULL;
+	memset(&tmpSmp, 0, sizeof (tmpSmp));
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto rawLoadError;
+	}
+
+	filename = editor.tmpFilenameU;
+
+	f = UNICHAR_FOPEN(filename, "rb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto rawLoadError;
+	}
+
+	fseek(f, 0, SEEK_END);
+	filesize = ftell(f);
+	rewind(f);
+
+	if (filesize > MAX_SAMPLE_LEN)
+		filesize = MAX_SAMPLE_LEN;
+
+	if (filesize == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto rawLoadError;
+	}
+
+	tmpSmp.pan = 128;
+	tmpSmp.vol = 64;
+
+	tmpSmp.pek = (int8_t *)malloc(filesize + LOOP_FIX_LEN);
+	if (tmpSmp.pek == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		goto rawLoadError;
+	}
+
+	if (fread(tmpSmp.pek, filesize, 1, f) != 1)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto rawLoadError;
+	}
+
+	fclose(f);
+
+	tmpFilename = unicharToCp437(filename, true);
+	if (tmpFilename != NULL)
+	{
+		j = (int32_t)strlen(tmpFilename);
+		while (j--)
+		{
+			if (tmpFilename[j] == DIR_DELIMITER)
+				break;
+		}
+
+		tmpPtr = tmpFilename;
+		if (j > 0)
+			tmpPtr += j + 1;
+
+		sanitizeFilename(tmpPtr);
+
+		filenameLen = (uint32_t)strlen(tmpPtr);
+		for (i = 0; i < 22; i++)
+		{
+			if (i < filenameLen)
+				tmpSmp.name[i] = tmpPtr[i];
+			else
+				tmpSmp.name[i] = '\0';
+		}
+
+		free(tmpFilename);
+	}
+
+	tmpSmp.len = filesize;
+	tmpSmp.vol = 64;
+	tmpSmp.pan = 128;
+
+	lockMixerCallback();
+	if (loadAsInstrFlag) // if loaded in instrument mode
+	{
+		freeInstr(editor.curInstr);
+		memset(song.instrName[editor.curInstr], 0, 23);
+	}
+
+	if (instr[editor.curInstr] == NULL)
+		allocateInstr(editor.curInstr);
+
+	if (instr[editor.curInstr] != NULL)
+	{
+		s = &instr[editor.curInstr]->samp[sampleSlot];
+
+		freeSample(editor.curInstr, sampleSlot);
+		memcpy(s, &tmpSmp, sizeof (sampleTyp));
+		fixSample(s);
+	}
+	else
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		goto rawLoadError;
+	}
+	unlockMixerCallback();
+
+	fixSampleName(editor.curInstr);
+	setSongModifiedFlag();
+	stereoSampleLoadMode = -1;
+
+	// also sets mouse busy to false when done
+	editor.updateCurSmp = true;
+
+	return true;
+
+rawLoadError:
+	if (f != NULL) fclose(f);
+	if (tmpSmp.pek != NULL) free(tmpSmp.pek);
+
+	stereoSampleLoadMode = -1;
+	sampleIsLoading = false;
+
+	return false;
+}
+
+static int32_t SDLCALL loadWAVSample(void *ptr)
+{
+	char chr, *tmpFilename, *tmpPtr;
+	int8_t *newPtr;
+	uint8_t *audioDataU8;
+	int16_t *audioDataS16, *audioDataS16_2, *ptr16;
+	uint16_t audioFormat, numChannels, bitsPerSample, tempPan, tempVol;
+	int32_t j, *audioDataS32, smp32;
+	uint32_t filenameLen, i, sampleRate, chunkID, chunkSize, sampleLength, filesize;
+	uint32_t numLoops, loopType, loopStart, loopEnd, bytesRead, endOfChunk, dataPtr, dataLen, fmtPtr;
+	uint32_t fmtLen, inamPtr, inamLen, smplPtr, smplLen, xtraPtr, xtraLen, xtraFlags, len32;
+	int64_t smp64;
+	float *fAudioDataFloat;
+	double *dAudioDataDouble;
+	FILE *f;
+	sampleTyp tmpSmp, *s;
+	UNICHAR *filename;
+
+	(void)ptr;
+
+	// this is important for the "goto" on load error
+	f = NULL;
+	memset(&tmpSmp, 0, sizeof (tmpSmp));
+
+	// zero out chunk pointers and lengths
+	fmtPtr  = 0; fmtLen  = 0;
+	dataPtr = 0; dataLen = 0;
+	inamPtr = 0; inamLen = 0;
+	xtraPtr = 0; xtraLen = 0;
+	smplPtr = 0; smplLen = 0;
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto wavLoadError;
+	}
+
+	filename = editor.tmpFilenameU;
+
+	f = UNICHAR_FOPEN(filename, "rb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+		goto wavLoadError;
+	}
+
+	// get and check filesize
+	fseek(f, 0, SEEK_END);
+	filesize = ftell(f);
+	if (filesize < 12)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto wavLoadError;
+	}
+
+	// look for wanted chunks and set up pointers + lengths
+	fseek(f, 12, SEEK_SET);
+
+	bytesRead = 0;
+	while (!feof(f) && bytesRead < filesize-12)
+	{
+		fread(&chunkID, 4, 1, f); if (feof(f)) break;
+		fread(&chunkSize, 4, 1, f); if (feof(f)) break;
+
+		endOfChunk = (ftell(f) + chunkSize) + (chunkSize & 1);
+		switch (chunkID)
+		{
+			case 0x20746D66: // "fmt "
+			{
+				fmtPtr = ftell(f);
+				fmtLen = chunkSize;
+			}
+			break;
+
+			case 0x61746164: // "data"
+			{
+				dataPtr = ftell(f);
+				dataLen = chunkSize;
+			}
+			break;
+
+			case 0x5453494C: // "LIST"
+			{
+				if (chunkSize >= 4)
+				{
+					fread(&chunkID, 4, 1, f);
+					if (chunkID == 0x4F464E49) // "INFO"
+					{
+						bytesRead = 0;
+						while (!feof(f) && bytesRead < chunkSize)
+						{
+							fread(&chunkID, 4, 1, f);
+							fread(&chunkSize, 4, 1, f);
+
+							switch (chunkID)
+							{
+								case 0x4D414E49: // "INAM"
+								{
+									inamPtr = ftell(f);
+									inamLen = chunkSize;
+								}
+								break;
+
+								default: break;
+							}
+
+							bytesRead += (chunkSize + (chunkSize & 1));
+						}
+					}
+				}
+			}
+			break;
+
+			case 0x61727478: // "xtra"
+			{
+				xtraPtr = ftell(f);
+				xtraLen = chunkSize;
+			}
+			break;
+
+			case 0x6C706D73: // "smpl"
+			{
+				smplPtr = ftell(f);
+				smplLen = chunkSize;
+			}
+			break;
+
+			default: break;
+		}
+
+		bytesRead += (chunkSize + (chunkSize & 1));
+		fseek(f, endOfChunk, SEEK_SET);
+	}
+
+	// we need at least "fmt " and "data" - check if we found them sanely
+	if ((fmtPtr == 0 || fmtLen < 16) || (dataPtr == 0 || dataLen == 0))
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto wavLoadError;
+	}
+
+	// ---- READ "fmt " CHUNK ----
+	fseek(f, fmtPtr, SEEK_SET);
+	fread(&audioFormat, 2, 1, f);
+	fread(&numChannels, 2, 1, f);
+	fread(&sampleRate,  4, 1, f);
+	fseek(f, 6, SEEK_CUR); // unneeded
+	fread(&bitsPerSample, 2, 1, f);
+	sampleLength = dataLen;
+	// ---------------------------
+
+	// test if the WAV is compatible with our loader
+
+	if (sampleRate == 0 || sampleLength == 0 || sampleLength >= filesize)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported or is invalid!");
+		goto wavLoadError;
+	}
+
+	if (audioFormat != WAV_FORMAT_PCM && audioFormat != WAV_FORMAT_IEEE_FLOAT)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: The sample is not supported!");
+		goto wavLoadError;
+	}
+
+	if (numChannels == 0 || numChannels > 2)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: Unsupported number of channels!");
+		goto wavLoadError;
+	}
+
+	if (audioFormat == WAV_FORMAT_IEEE_FLOAT && bitsPerSample != 32 && bitsPerSample != 64)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: Unsupported bitdepth!");
+		goto wavLoadError;
+	}
+
+	if (bitsPerSample != 8 && bitsPerSample != 16 && bitsPerSample != 24 && bitsPerSample != 32 && bitsPerSample != 64)
+	{
+		okBoxThreadSafe(0, "System message", "Error loading sample: Unsupported bitdepth!");
+		goto wavLoadError;
+	}
+
+	// ---- READ SAMPLE DATA ----
+	fseek(f, dataPtr, SEEK_SET);
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+	tmpSmp.pan = 128;
+	tmpSmp.vol = 64;
+
+	if (sampleLength > MAX_SAMPLE_LEN)
+		sampleLength = MAX_SAMPLE_LEN;
+
+	if (bitsPerSample == 8) // 8-BIT INTEGER SAMPLE
+	{
+		tmpSmp.pek = (int8_t *)malloc(sampleLength);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto wavLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 1, f) != 1)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto wavLoadError;
+		}
+
+		audioDataU8 = (uint8_t *)tmpSmp.pek;
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					// remove right channel data
+					for (i = 1; i < sampleLength; i++)
+						audioDataU8[i] = audioDataU8[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					// remove left channel data
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataU8[i] = audioDataU8[(i * 2) + 1];
+
+					audioDataU8[i] = 128;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					// mix stereo to mono
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataU8[i] = (audioDataU8[(i * 2) + 0] + audioDataU8[(i * 2) + 1]) >> 1;
+
+					audioDataU8[i] = 128;
+				}
+				break;
+			}
+		}
+
+		// convert from unsigned to signed
+		for (i = 0; i < sampleLength; i++)
+			tmpSmp.pek[i] ^= 0x80;
+
+		tmpSmp.typ &= ~16; // 8-bit
+	}
+	else if (bitsPerSample == 16) // 16-BIT INTEGER SAMPLE
+	{
+		sampleLength /= 2;
+
+		tmpSmp.pek = (int8_t *)malloc(sampleLength * 2);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto wavLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 2, f) != 2)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto wavLoadError;
+		}
+
+		audioDataS16 = (int16_t *)tmpSmp.pek;
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					// remove right channel data
+					for (i = 1; i < sampleLength; i++)
+						audioDataS16[i] = audioDataS16[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					// remove left channel data
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS16[i] = audioDataS16[(i * 2) + 1];
+
+					audioDataS16[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					// mix stereo to mono
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp32 = audioDataS16[(i * 2) + 0] + audioDataS16[(i * 2) + 1];
+						audioDataS16[i] = (int16_t)(smp32 >> 1);
+					}
+
+					audioDataS16[i] = 0;
+				}
+				break;
+			}
+		}
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16; // 16-bit
+	}
+	else if (bitsPerSample == 24) // 24-BIT INTEGER SAMPLE
+	{
+		sampleLength /= 3;
+
+		tmpSmp.pek = (int8_t *)malloc((sampleLength * 4) * 2);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto wavLoadError;
+		}
+
+		if (fread(&tmpSmp.pek[sampleLength], sampleLength, 3, f) != 3)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto wavLoadError;
+		}
+
+		audioDataS32 = (int32_t *)tmpSmp.pek;
+
+		// convert to 32-bit
+		audioDataU8 = (uint8_t *)tmpSmp.pek + sampleLength;
+		for (i = 0; i < sampleLength; i++)
+		{
+			audioDataS32[i] = (audioDataU8[2] << 24) | (audioDataU8[1] << 16) | (audioDataU8[0] << 8);
+			audioDataU8 += 3;
+		}
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					// remove right channel data
+					for (i = 1; i < sampleLength; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					// remove left channel data
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 1];
+
+					audioDataS32[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					// mix stereo to mono
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp64 = audioDataS32[(i * 2) + 0];
+						smp64 += audioDataS32[(i * 2) + 1];
+						smp64 >>= 1;
+
+						audioDataS32[i] = (int32_t)smp64;
+					}
+
+					audioDataS32[i] = 0;
+				}
+				break;
+			}
+		}
+
+		normalize32bitSigned(audioDataS32, sampleLength);
+
+		// downscale to 16-bit (ultra fast method!)
+
+		audioDataS16 = (int16_t *)tmpSmp.pek;
+		audioDataS16_2 = (int16_t *)tmpSmp.pek + 1;
+
+		for (i = 0; i < sampleLength; i++)
+		{
+			audioDataS16[i] = audioDataS16_2[i];
+			audioDataS16_2++;
+		}
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16; // 16-bit
+	}
+	else if (audioFormat == WAV_FORMAT_PCM && bitsPerSample == 32) // 32-BIT INTEGER SAMPLE
+	{
+		sampleLength /= 4;
+
+		tmpSmp.pek = (int8_t *)malloc((sampleLength * 4) + LOOP_FIX_LEN);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto wavLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 4, f) != 4)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto wavLoadError;
+		}
+
+		audioDataS32 = (int32_t *)tmpSmp.pek;
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					// remove right channel data
+					for (i = 1; i < sampleLength; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					// remove left channel data
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						audioDataS32[i] = audioDataS32[(i * 2) + 1];
+
+					audioDataS32[i] = 0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					// mix stereo to mono
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+					{
+						smp64 = audioDataS32[(i * 2) + 0];
+						smp64 += audioDataS32[(i * 2) + 1];
+						smp64 >>= 1;
+
+						audioDataS32[i] = (int32_t)smp64;
+					}
+
+					audioDataS32[i] = 0;
+				}
+				break;
+			}
+		}
+
+		normalize32bitSigned(audioDataS32, sampleLength);
+
+		// downscale to 16-bit (ultra fast method!)
+
+		audioDataS16 = (int16_t *)tmpSmp.pek;
+		audioDataS16_2 = (int16_t *)tmpSmp.pek + 1;
+
+		for (i = 0; i < sampleLength; i++)
+		{
+			audioDataS16[i] = audioDataS16_2[i];
+			audioDataS16_2++;
+		}
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16; // 16-bit
+	}
+	else if (audioFormat == WAV_FORMAT_IEEE_FLOAT && bitsPerSample == 32) // 32-BIT FLOATING POINT SAMPLE
+	{
+		sampleLength /= 4;
+
+		tmpSmp.pek = (int8_t *)malloc((sampleLength * 4) + LOOP_FIX_LEN);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto wavLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 4, f) != 4)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto wavLoadError;
+		}
+
+		fAudioDataFloat = (float *)tmpSmp.pek;
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					// remove right channel data
+					for (i = 1; i < sampleLength; i++)
+						fAudioDataFloat[i] = fAudioDataFloat[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					// remove left channel data
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						fAudioDataFloat[i] = fAudioDataFloat[(i * 2) + 1];
+
+					fAudioDataFloat[i] = 0.0f;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					// mix stereo to mono
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						fAudioDataFloat[i] = (fAudioDataFloat[(i * 2) + 0] + fAudioDataFloat[(i * 2) + 1]) * 0.5f;
+
+					fAudioDataFloat[i] = 0.0f;
+				}
+				break;
+			}
+		}
+
+		normalize16bitFloatSigned(fAudioDataFloat, sampleLength);
+
+		ptr16 = (int16_t *)tmpSmp.pek;
+		for (i = 0; i < sampleLength; i++)
+			ptr16[i] = (int16_t)fAudioDataFloat[i]; // should use SIMD if available
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16; // 16-bit
+	}
+	else if (audioFormat == WAV_FORMAT_IEEE_FLOAT && bitsPerSample == 64) // 64-BIT FLOATING POINT SAMPLE
+	{
+		sampleLength /= 8;
+
+		tmpSmp.pek = (int8_t *)malloc((sampleLength * 8) + LOOP_FIX_LEN);
+		if (tmpSmp.pek == NULL)
+		{
+			okBoxThreadSafe(0, "System message", "Not enough memory!");
+			goto wavLoadError;
+		}
+
+		if (fread(tmpSmp.pek, sampleLength, 8, f) != 8)
+		{
+			okBoxThreadSafe(0, "System message", "General I/O error during loading! Is the file in use?");
+			goto wavLoadError;
+		}
+
+		dAudioDataDouble = (double *)tmpSmp.pek;
+
+		// stereo conversion
+		if (numChannels == 2)
+		{
+			sampleLength /= 2;
+			switch (stereoSampleLoadMode)
+			{
+				case STEREO_SAMPLE_READ_LEFT:
+				{
+					// remove right channel data
+					for (i = 1; i < sampleLength; i++)
+						dAudioDataDouble[i] = dAudioDataDouble[(i * 2) + 0];
+				}
+				break;
+
+				case STEREO_SAMPLE_READ_RIGHT:
+				{
+					// remove left channel data
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						dAudioDataDouble[i] = dAudioDataDouble[(i * 2) + 1];
+
+					dAudioDataDouble[i] = 0.0;
+				}
+				break;
+
+				default:
+				case STEREO_SAMPLE_CONVERT:
+				{
+					// mix stereo to mono
+					len32 = sampleLength - 1;
+					for (i = 0; i < len32; i++)
+						dAudioDataDouble[i] = (dAudioDataDouble[(i * 2) + 0] + dAudioDataDouble[(i * 2) + 1]) * 0.5;
+
+					dAudioDataDouble[i] = 0.0;
+				}
+				break;
+			}
+		}
+
+		normalize64bitDoubleSigned(dAudioDataDouble, sampleLength);
+
+		ptr16 = (int16_t *)tmpSmp.pek;
+		for (i = 0; i < sampleLength; i++)
+			ptr16[i] = (int16_t)dAudioDataDouble[i]; // should use SIMD if available
+
+		sampleLength *= 2;
+		tmpSmp.typ |= 16; // 16-bit
+	}
+
+	// adjust memory needed
+	newPtr = (int8_t *)realloc(tmpSmp.pek, sampleLength + LOOP_FIX_LEN);
+	if (newPtr != NULL)
+		tmpSmp.pek = newPtr;
+
+	tuneSample(&tmpSmp, sampleRate);
+
+	tmpSmp.vol = 64;
+	tmpSmp.pan = 128;
+	tmpSmp.len = sampleLength;
+
+	// ---- READ "smpl" chunk ----
+	if (smplPtr != 0 && smplLen > 52)
+	{
+		fseek(f, smplPtr + 28, SEEK_SET); // seek to first wanted byte
+
+		fread(&numLoops, 4, 1, f);
+		if (numLoops == 1)
+		{
+			fseek(f, 4 + 4, SEEK_CUR); // skip "samplerData" and "identifier"
+
+			fread(&loopType,  4, 1, f);
+			fread(&loopStart, 4, 1, f);
+			fread(&loopEnd,   4, 1, f);
+
+			loopEnd++;
+
+			if (tmpSmp.typ & 16)
+			{
+				loopStart *= 2;
+				loopEnd *= 2;
+			}
+
+			if (loopEnd <= sampleLength)
+			{
+				tmpSmp.repS = loopStart;
+				tmpSmp.repL = loopEnd - loopStart;
+				tmpSmp.typ |= ((loopType == 0) ? 1 : 2);
+			}
+		}
+	}
+	// ---------------------------
+
+	// ---- READ "xtra" chunk ----
+	if (xtraPtr != 0 && xtraLen >= 8)
+	{
+		fseek(f, xtraPtr, SEEK_SET);
+
+		fread(&xtraFlags, 4, 1, f); // flags
+
+		// panning (0..256)
+		if (xtraFlags & 0x20) // set panning flag
+		{
+			fread(&tempPan, 2, 1, f);
+			if (tempPan > 255)
+				tempPan = 255;
+
+			tmpSmp.pan = (uint8_t)tempPan;
+		}
+		else
+		{
+			// don't read panning, skip it
+			fseek(f, 2, SEEK_CUR);
+		}
+
+		// volume (0..256)
+		fread(&tempVol, 2, 1, f);
+		if (tempVol > 256)
+			tempVol = 256;
+
+		tmpSmp.vol = (uint8_t)(tempVol / 4); // 0..256 -> 0..64
+	}
+	// ---------------------------
+
+	// ---- READ "INAM" chunk ----
+	if (inamPtr != 0 && inamLen > 0)
+	{
+		fseek(f, inamPtr, SEEK_SET);
+
+		memset(tmpSmp.name, 0, sizeof (tmpSmp.name));
+		for (i = 0; i < 22; i++)
+		{
+			if (i < inamLen)
+			{
+				chr = (char)fgetc(f);
+				if (chr == '\0')
+					break;
+
+				tmpSmp.name[i] = chr;
+			}
+		}
+	}
+	else
+	{
+		// set sample name from filename if we didn't load name from .wav
+		tmpFilename = unicharToCp437(filename, true);
+		if (tmpFilename != NULL)
+		{
+			j = (int32_t)strlen(tmpFilename);
+			while (j--)
+			{
+				if (tmpFilename[j] == DIR_DELIMITER)
+					break;
+			}
+
+			tmpPtr = tmpFilename;
+			if (j > 0)
+				tmpPtr += j + 1;
+
+			sanitizeFilename(tmpPtr);
+
+			filenameLen = (uint32_t)strlen(tmpPtr);
+			for (i = 0; i < 22; i++)
+			{
+				if (i < filenameLen)
+					tmpSmp.name[i] = tmpPtr[i];
+				else
+					tmpSmp.name[i] = '\0';
+			}
+
+			free(tmpFilename);
+		}
+	}
+
+	fclose(f);
+
+	lockMixerCallback();
+	if (loadAsInstrFlag) // if loaded in instrument mode
+	{
+		freeInstr(editor.curInstr);
+		memset(song.instrName[editor.curInstr], 0, 23);
+	}
+
+	if (instr[editor.curInstr] == NULL)
+		allocateInstr(editor.curInstr);
+
+	if (instr[editor.curInstr] != NULL)
+	{
+		s = &instr[editor.curInstr]->samp[sampleSlot];
+
+		freeSample(editor.curInstr, sampleSlot);
+		memcpy(s, &tmpSmp, sizeof (sampleTyp));
+		fixSample(s);
+	}
+	else
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		goto wavLoadError;
+	}
+	unlockMixerCallback();
+
+	fixSampleName(editor.curInstr);
+	setSongModifiedFlag();
+	stereoSampleLoadMode = -1;
+
+	// also sets mouse busy to false when done
+	editor.updateCurSmp = true;
+
+	return true;
+
+wavLoadError:
+	if (f != NULL) fclose(f);
+	if (tmpSmp.pek != NULL) free(tmpSmp.pek);
+
+	stereoSampleLoadMode = -1;
+	sampleIsLoading = false;
+
+	return false;
+}
+
+bool loadSample(UNICHAR *filenameU, uint8_t smpNr, bool instrFlag)
+{
+	char tmpBuffer[16+1];
+	FILE *f;
+
+	if (sampleIsLoading)
+		return false;
+
+	stereoSampleLoadMode = 0;
+
+	sampleSlot = smpNr;
+	loadAsInstrFlag = instrFlag;
+
+	if (editor.curInstr == 0)
+	{
+		okBox(0, "System message", "The zero-instrument cannot hold intrument data.");
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(filenameU, "rb");
+	if (f == NULL)
+	{
+		okBox(0, "System message", "General I/O error during loading! Is the file in use?");
+		return false;
+	}
+
+	memset(tmpBuffer, 0, sizeof (tmpBuffer));
+	if (fread(tmpBuffer, sizeof (tmpBuffer) - 1, 1, f) == 1)
+	{
+		tmpBuffer[sizeof (tmpBuffer) - 1] = '\0';
+
+		// detect what sample format this is...
+
+		// WAV
+		if (!strncmp("RIFF", tmpBuffer, 4) && !strncmp("WAVE", tmpBuffer + 8, 4))
+		{
+			// let the user pick what to do with stereo samples...
+			if (wavIsStereo(f))
+				stereoSampleLoadMode = okBox(5, "System request", "This is a stereo sample...");
+
+			sampleIsLoading = true;
+
+			fclose(f);
+			UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+			mouseAnimOn();
+			thread = SDL_CreateThread(loadWAVSample, NULL, NULL);
+			if (thread == NULL)
+			{
+				okBox(0, "System message", "Couldn't create thread!");
+				sampleIsLoading = false;
+				return false;
+			}
+
+			SDL_DetachThread(thread);
+			return true;
+		}
+
+		// AIFF or IFF
+		if (!strncmp("FORM", tmpBuffer, 4))
+		{
+			if (!strncmp("AIFC", tmpBuffer + 8, 4))
+			{
+				// AIFC (not supported)
+
+				fclose(f);
+				okBox(0, "System message", "Error loading sample: This AIFF type (AIFC) is not supported!");
+				return true;
+			}
+			else if (!strncmp("AIFF", tmpBuffer + 8, 4))
+			{
+				// AIFF
+
+				// let the user pick what to do with stereo samples...
+				if (aiffIsStereo(f))
+					stereoSampleLoadMode = okBox(5, "System request", "This is a stereo sample...");
+
+				sampleIsLoading = true;
+
+				fclose(f);
+				UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+				mouseAnimOn();
+				thread = SDL_CreateThread(loadAIFFSample, NULL, NULL);
+				if (thread == NULL)
+				{
+					okBox(0, "System message", "Couldn't create thread!");
+					sampleIsLoading = false;
+					return false;
+				}
+
+				SDL_DetachThread(thread);
+				return true;
+			}
+			else if (!strncmp("8SVX", tmpBuffer + 8, 4) || !strncmp("16SV", tmpBuffer + 8, 4))
+			{
+				// IFF
+
+				sampleIsLoading = true;
+
+				fclose(f);
+				UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+				mouseAnimOn();
+				thread = SDL_CreateThread(loadIFFSample, NULL, NULL);
+				if (thread == NULL)
+				{
+					okBox(0, "System message", "Couldn't create thread!");
+					sampleIsLoading = false;
+					return false;
+				}
+
+				SDL_DetachThread(thread);
+				return true;
+			}
+		}
+	}
+
+	// load as RAW sample
+
+	sampleIsLoading = true;
+
+	fclose(f);
+	UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(loadRawSample, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBox(0, "System message", "Couldn't create thread!");
+		sampleIsLoading = false;
+		return false;
+	}
+
+	SDL_DetachThread(thread);
+	return true;
+}
+
+static void normalize32bitSigned(int32_t *sampleData, uint32_t sampleLength)
+{
+	uint32_t i, sample, sampleVolPeak;
+	double dGain;
+
+	sampleVolPeak = 0;
+	for (i = 0; i < sampleLength; i++)
+	{
+		sample = ABS(sampleData[i]);
+		if (sampleVolPeak < sample)
+			sampleVolPeak = sample;
+	}
+
+	if (sampleVolPeak <= 0)
+		return;
+
+	dGain = (double)INT32_MAX / sampleVolPeak;
+	for (i = 0; i < sampleLength; i++)
+		sampleData[i] = (int32_t)(sampleData[i] * dGain);
+}
+
+static void normalize16bitFloatSigned(float *fSampleData, uint32_t sampleLength)
+{
+	uint32_t i;
+	float fSample, fSampleVolPeak, fGain;
+
+	fSampleVolPeak = 0.0f;
+	for (i = 0; i < sampleLength; i++)
+	{
+		fSample = fabsf(fSampleData[i]);
+		if (fSampleVolPeak < fSample)
+			fSampleVolPeak = fSample;
+	}
+
+	if (fSampleVolPeak <= 0.0f)
+		return;
+
+	fGain = (float)INT16_MAX / fSampleVolPeak;
+	for (i = 0; i < sampleLength; i++)
+		fSampleData[i] *= fGain;
+}
+
+static void normalize64bitDoubleSigned(double *dSampleData, uint32_t sampleLength)
+{
+	uint32_t i;
+	double dSample, dSampleVolPeak, dGain;
+
+	dSampleVolPeak = 0.0;
+	for (i = 0; i < sampleLength; i++)
+	{
+		dSample = fabs(dSampleData[i]);
+		if (dSampleVolPeak < dSample)
+			dSampleVolPeak = dSample;
+	}
+
+	if (dSampleVolPeak <= 0.0)
+		return;
+
+	dGain = (double)INT16_MAX / dSampleVolPeak;
+	for (i = 0; i < sampleLength; i++)
+		dSampleData[i] *= dGain;
+}
+
+bool fileIsInstrument(char *fullPath)
+{
+	char *filename;
+	int32_t i, len, extOffset;
+
+	// this assumes that fullPath is not empty
+
+	len = (int32_t)strlen(fullPath);
+
+	// get filename from path
+	i = len;
+	while (i--)
+	{
+		if (fullPath[i] == DIR_DELIMITER)
+			break;
+	}
+
+	filename = fullPath;
+	if (i > 0)
+		filename += i + 1;
+	// --------------------------
+
+	len = (int32_t)strlen(filename);
+	if (len < 4)
+		return true; // can't be an instrument
+
+	if (!_strnicmp("xi.", filename, 3) || (len >= 4 && !_strnicmp("pat.", filename, 4)))
+		return true;
+
+	extOffset = getExtOffset(filename, len);
+	if (extOffset != -1)
+	{
+		if ((extOffset <= len-4) && !_strnicmp(".pat", &filename[extOffset], 4)) return true;
+		if ((extOffset <= len-3) && !_strnicmp(".xi",  &filename[extOffset], 3)) return true;
+	}
+
+	return false;
+}
+
+bool fileIsSample(char *fullPath)
+{
+	char *filename;
+	int32_t i, len, extOffset;
+
+	// this assumes that fullPath is not empty
+
+	len = (int32_t)strlen(fullPath);
+
+	// get filename from path
+	i = len;
+	while (i--)
+	{
+		if (fullPath[i] == DIR_DELIMITER)
+			break;
+	}
+
+	filename = fullPath;
+	if (i > 0)
+		filename += i + 1;
+	// --------------------------
+
+	len = (int32_t)strlen(filename);
+	if (len < 4)
+		return true; // can't be a module
+
+	if (!_strnicmp("xm.",  filename, 3) || !_strnicmp("ft.",  filename, 3) ||
+		!_strnicmp("mod.", filename, 4) || !_strnicmp("nst.", filename, 4) ||
+		!_strnicmp("s3m.", filename, 4) || !_strnicmp("stm.", filename, 4) ||
+		!_strnicmp("fst.", filename, 4) || !_strnicmp("it.",  filename, 3))
+	{
+		return false; // definitely a module
+	}
+
+	extOffset = getExtOffset(filename, len);
+	if (extOffset != -1)
+	{
+		if (extOffset <= len-4)
+		{
+			filename = &filename[extOffset];
+			if (!_strnicmp(".mod", filename, 4) || !_strnicmp(".nst", filename, 4) ||
+				!_strnicmp(".s3m", filename, 4) || !_strnicmp(".stm", filename, 4) ||
+				!_strnicmp(".fst", filename, 4))
+			{
+				return false; // definitely a module
+			}
+		}
+		else if (extOffset <= len-3)
+		{
+			filename = &filename[extOffset];
+			if (!_strnicmp(".xm", filename, 3) || !_strnicmp(".ft", filename, 3) || !_strnicmp(".it", filename, 3))
+				return false; // definitely a module
+		}
+	}
+
+	return true; // let's assume it's a sample
+}
--- /dev/null
+++ b/src/ft2_sample_loader.h
@@ -1,0 +1,10 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_unicode.h"
+
+bool loadSample(UNICHAR *filenameU, uint8_t sampleSlot, bool loadAsInstrFlag);
+bool fileIsInstrument(char *fullPath);
+bool fileIsSample(char *fullPath);
+void removeSampleIsLoadingFlag(void);
--- /dev/null
+++ b/src/ft2_sample_saver.c
@@ -1,0 +1,556 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#ifndef _WIN32
+#include <unistd.h> // chdir()
+#endif
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_sample_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_mouse.h"
+
+typedef struct wavHeader_t
+{
+	uint32_t chunkID, chunkSize, format, subchunk1ID, subchunk1Size;
+	uint16_t audioFormat, numChannels;
+	uint32_t sampleRate, byteRate;
+	uint16_t blockAlign, bitsPerSample;
+	uint32_t subchunk2ID, subchunk2Size;
+} wavHeader_t;
+
+typedef struct sampleLoop_t
+{
+	uint32_t dwIdentifier, dwType, dwStart, dwEnd, dwFraction, dwPlayCount;
+} sampleLoop_t;
+
+typedef struct samplerChunk_t
+{
+	uint32_t chunkID, chunkSize, dwManufacturer, dwProduct, dwSamplePeriod;
+	uint32_t dwMIDIUnityNote, dwMIDIPitchFraction, dwSMPTEFormat;
+	uint32_t dwSMPTEOffset, cSampleLoops, cbSamplerData;
+	sampleLoop_t loop;
+} samplerChunk_t;
+
+typedef struct mptExtraChunk_t
+{
+	uint32_t chunkID, chunkSize, flags;
+	uint16_t defaultPan, defaultVolume, globalVolume, reserved;
+	uint8_t vibratoType, vibratoSweep, vibratoDepth, vibratoRate;
+} mptExtraChunk_t;
+
+static const char rangedDataStr[] = "Ranged data from FT2";
+
+// thread data
+static bool saveRangeFlag;
+static SDL_Thread *thread;
+
+// used to restore mixer interpolation fix .RAW/.IFF/.WAV files after save
+static bool fileRestoreSampleData(UNICHAR *filenameU, int32_t sampleDataOffset, sampleTyp *smp)
+{
+	int8_t fixSpar8;
+	FILE *f;
+
+	if (!smp->fixed)
+		return false; // nothing to fix
+
+	f = UNICHAR_FOPEN(filenameU, "r+"); // open in read+update mode
+	if (f == NULL)
+		return false;
+
+	if (smp->typ & 16)
+	{
+		// 16-bit sample
+		if (smp->fixedPos < smp->len/2)
+		{
+			fseek(f, sampleDataOffset + (smp->fixedPos * 2), SEEK_SET);
+			fwrite(&smp->fixedSmp1, sizeof (int16_t), 1, f);
+		}
+
+#ifndef LERPMIX
+		if (smp->fixedPos+2 < smp->len/2)
+		{
+			fseek(f, sampleDataOffset + ((smp->fixedPos + 2) * 2), SEEK_SET);
+			fwrite(&smp->fixedSmp2, sizeof (int16_t), 1, f);
+		}
+#endif
+	}
+	else
+	{
+		// 8-bit sample
+		if (smp->fixedPos < smp->len)
+		{
+			fseek(f, sampleDataOffset + smp->fixedPos, SEEK_SET);
+
+			fixSpar8 = (int8_t)smp->fixedSmp1;
+			if (editor.sampleSaveMode == SMP_SAVE_MODE_WAV) // on 8-bit WAVs the sample data is unsigned
+				fixSpar8 ^= 0x80;
+
+			fwrite(&fixSpar8, sizeof (int8_t), 1, f);
+		}
+
+#ifndef LERPMIX
+		if (smp->fixedPos+1 < smp->len)
+		{
+			fseek(f, sampleDataOffset + (smp->fixedPos + 1), SEEK_SET);
+
+			fixSpar8 = (int8_t)smp->fixedSmp2;
+			if (editor.sampleSaveMode == SMP_SAVE_MODE_WAV) // on 8-bit WAVs the sample data is unsigned
+				fixSpar8 ^= 0x80;
+
+			fwrite(&fixSpar8, sizeof (int8_t), 1, f);
+		}
+#endif
+	}
+
+	fclose(f);
+	return true;
+}
+
+static bool saveRawSample(UNICHAR *filenameU, bool saveRangedData)
+{
+	int8_t *samplePtr;
+	uint32_t sampleLen;
+	FILE *f;
+	sampleTyp *smp;
+
+	if (instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].len == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error saving sample: The sample is empty!");
+		return false;
+	}
+
+	smp = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	if (saveRangedData)
+	{
+		samplePtr = &smp->pek[getSampleRangeStart()];
+		sampleLen = getSampleRangeLength();
+	}
+	else
+	{
+		sampleLen = smp->len;
+		samplePtr = smp->pek;
+	}
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	if (fwrite(samplePtr, sampleLen, 1, f) != 1)
+	{
+		fclose(f);
+		okBoxThreadSafe(0, "System message", "Error saving sample: General I/O error!");
+		return false;
+	}
+
+	fclose(f);
+
+	// restore mixer interpolation fix
+	fileRestoreSampleData(filenameU, 0, smp);
+
+	editor.diskOpReadDir = true; // force diskop re-read
+
+	setMouseBusy(false);
+	return true;
+}
+
+static void iffWriteChunkHeader(FILE *f, char *chunkName, uint32_t chunkLen)
+{
+	fwrite(chunkName, sizeof (int32_t), 1, f);
+	chunkLen = SWAP32(chunkLen);
+	fwrite(&chunkLen, sizeof (int32_t), 1, f);
+}
+
+static void iffWriteUint32(FILE *f, uint32_t value)
+{
+	value = SWAP32(value);
+	fwrite(&value, sizeof (int32_t), 1, f);
+}
+
+static void iffWriteUint16(FILE *f, uint16_t value)
+{
+	value = SWAP16(value);
+	fwrite(&value, sizeof (int16_t), 1, f);
+}
+
+static bool saveIFFSample(UNICHAR *filenameU, bool saveRangedData)
+{
+	char *smpNamePtr;
+	int8_t *samplePtr;
+	uint32_t sampleLen, smpNameLen, chunkLen, tmp32, sampleDataPos;
+	FILE *f;
+	sampleTyp *smp;
+
+	if (instr[editor.curInstr] == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].pek == NULL ||
+		instr[editor.curInstr]->samp[editor.curSmp].len == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error saving sample: The sample is empty!");
+		return false;
+	}
+
+	smp = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	if (saveRangedData)
+	{
+		samplePtr = &smp->pek[getSampleRangeStart()];
+		sampleLen = getSampleRangeLength();
+	}
+	else
+	{
+		sampleLen = smp->len;
+		samplePtr = smp->pek;
+	}
+
+	// "FORM" chunk
+	iffWriteChunkHeader(f, "FORM", 0); // "FORM" chunk size is overwritten later
+	iffWriteUint32(f, (smp->typ & 16) ? 0x31365356 : 0x38535658); // bitdepth - "16SV" (16-bit) or "8SVX" (8-bit)
+
+	// "VHDR" chunk
+	iffWriteChunkHeader(f, "VHDR", 20);
+
+	if (!saveRangedData && (smp->typ & 3)) // loop enabled?
+	{
+		iffWriteUint32(f, smp->repS); // oneShotHiSamples
+		iffWriteUint32(f, smp->repL); // repeatHiSamples
+	}
+	else
+	{
+		iffWriteUint32(f, 0); // oneShotHiSamples
+		iffWriteUint32(f, 0); // repeatHiSamples
+	}
+
+	iffWriteUint32(f, 0); // samplesPerHiCycle
+
+	// samplesPerSec
+	tmp32 = getSampleMiddleCRate(smp);
+	if (tmp32 == 0 || tmp32 > 65535)
+		tmp32 = 16726;
+	iffWriteUint16(f, tmp32 & 0xFFFF);
+
+	fputc(1, f); // ctOctave (number of samples)
+	fputc(0, f); // sCompression
+	iffWriteUint32(f, smp->vol * 1024); // volume (max: 65536/0x10000)
+
+	// "NAME" chunk
+
+	if (saveRangedData)
+	{
+		smpNamePtr = (char *)rangedDataStr;
+		smpNameLen = (uint32_t)strlen(rangedDataStr);
+	}
+	else
+	{
+		smpNamePtr = smp->name;
+
+		smpNameLen = 0;
+		while (smpNameLen < 22)
+		{
+			if (smpNamePtr[smpNameLen] == '\0')
+				break;
+
+			smpNameLen++;
+		}
+	}
+
+	if (smpNameLen > 0)
+	{
+		chunkLen = smpNameLen;
+		iffWriteChunkHeader(f, "NAME", chunkLen);
+		fwrite(smpNamePtr, 1, chunkLen, f);
+		if (chunkLen & 1) fputc(0, f); // write pad byte if chunk size is uneven
+	}
+
+	// "ANNO" chunk (we put the program name here)
+	if (PROG_NAME_STR[0] != '\0')
+	{
+		chunkLen = sizeof (PROG_NAME_STR) - 1;
+		iffWriteChunkHeader(f, "ANNO", chunkLen);
+		fwrite(PROG_NAME_STR, 1, chunkLen, f);
+		if (chunkLen & 1) fputc(0, f); // write pad byte if chunk size is uneven
+	}
+
+	// "BODY" chunk
+	chunkLen = sampleLen;
+	iffWriteChunkHeader(f, "BODY", chunkLen);
+	sampleDataPos = ftell(f);
+	fwrite(samplePtr, 1, chunkLen, f);
+	if (chunkLen & 1) fputc(0, f); // write pad byte if chunk size is uneven
+
+	// go back and fill in "FORM" chunk size
+	tmp32 = ftell(f) - 8;
+	fseek(f, 4, SEEK_SET);
+	iffWriteUint32(f, tmp32);
+
+	fclose(f);
+
+	// restore mixer interpolation fix
+	fileRestoreSampleData(filenameU, sampleDataPos, smp);
+
+	editor.diskOpReadDir = true; // force diskop re-read
+
+	setMouseBusy(false);
+	return true;
+}
+
+static bool saveWAVSample(UNICHAR *filenameU, bool saveRangedData)
+{
+	char *smpNamePtr;
+	int8_t *samplePtr;
+	uint8_t sampleBitDepth;
+	uint32_t i, sampleLen, riffChunkSize, smpNameLen, tmpLen, progNameLen, sampleDataPos;
+	FILE *f;
+	sampleTyp *smp;
+	instrTyp *ins;
+	wavHeader_t wavHeader;
+	samplerChunk_t samplerChunk;
+	mptExtraChunk_t mptExtraChunk;
+
+	ins = instr[editor.curInstr];
+	if (ins == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Error saving sample: The sample is empty!");
+		return false;
+	}
+
+	smp = &ins->samp[editor.curSmp];
+	if (smp->pek == NULL || smp->len == 0)
+	{
+		okBoxThreadSafe(0, "System message", "Error saving sample: The sample is empty!");
+		return false;
+	}
+
+	f = UNICHAR_FOPEN(filenameU, "wb");
+	if (f == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	if (saveRangedData)
+	{
+		samplePtr = &smp->pek[getSampleRangeStart()];
+		sampleLen = getSampleRangeLength();
+	}
+	else
+	{
+		sampleLen = smp->len;
+		samplePtr = smp->pek;
+	}
+
+	sampleBitDepth = (smp->typ & 16) ? 16 : 8;
+
+	wavHeader.chunkID = 0x46464952; // "RIFF"
+	wavHeader.chunkSize = 0; // is filled later
+	wavHeader.format = 0x45564157; // "WAVE"
+	wavHeader.subchunk1ID = 0x20746D66; // "fmt "
+	wavHeader.subchunk1Size = 16;
+	wavHeader.audioFormat = 1;
+	wavHeader.numChannels = 1;
+	wavHeader.sampleRate = getSampleMiddleCRate(smp);
+	wavHeader.byteRate = (wavHeader.sampleRate * wavHeader.numChannels * sampleBitDepth) / 8;
+	wavHeader.blockAlign = (wavHeader.numChannels * sampleBitDepth) / 8;
+	wavHeader.bitsPerSample = sampleBitDepth;
+	wavHeader.subchunk2ID = 0x61746164; // "data"
+	wavHeader.subchunk2Size = sampleLen;
+
+	// write main header
+	fwrite(&wavHeader, sizeof (wavHeader_t), 1, f);
+
+	// write sample data
+	sampleDataPos = ftell(f);
+	if (sampleBitDepth == 16)
+	{
+		fwrite((int16_t *)samplePtr, sizeof (int16_t), sampleLen / 2, f);
+	}
+	else
+	{
+		for (i = 0; i < sampleLen; i++)
+			fputc(samplePtr[i] ^ 0x80, f); // write as unsigned 8-bit data
+	}
+
+	if (wavHeader.subchunk2Size & 1)
+		fputc(0, f); // write pad byte if chunk size is uneven
+
+	// write "smpl" chunk if loop is enabled
+	if (!saveRangedData && (smp->typ & 3))
+	{
+		memset(&samplerChunk, 0, sizeof (samplerChunk));
+
+		samplerChunk.chunkID = 0x6C706D73; // "smpl"
+		samplerChunk.chunkSize = sizeof (samplerChunk) - 4 - 4;
+		samplerChunk.dwSamplePeriod = 1000000000 / wavHeader.sampleRate;
+		samplerChunk.dwMIDIUnityNote = 60; // 60 = C-4
+		samplerChunk.cSampleLoops = 1;
+		samplerChunk.loop.dwType = (smp->typ & 3) - 1; // 0 = forward, 1 = ping-pong
+
+		if (sampleBitDepth == 16)
+		{
+			// divide loop points by 2 to get samples insetad of bytes
+			samplerChunk.loop.dwStart = smp->repS / 2;
+			samplerChunk.loop.dwEnd = ((smp->repS + smp->repL) / 2) - 1;
+		}
+		else
+		{
+			// 8-bit sample
+			samplerChunk.loop.dwStart = smp->repS;
+			samplerChunk.loop.dwEnd = (smp->repS + smp->repL) - 1;
+		}
+
+		fwrite(&samplerChunk, sizeof (samplerChunk), 1, f);
+		if (samplerChunk.chunkSize & 1)
+			fputc(0, f); // write pad byte if chunk size is uneven
+	}
+
+	// write modplug tracker "xtra" chunk
+	if (!saveRangedData)
+	{
+		memset(&mptExtraChunk, 0, sizeof (mptExtraChunk));
+
+		mptExtraChunk.chunkID = 0x61727478; // "xtra"
+		mptExtraChunk.chunkSize = sizeof (mptExtraChunk) - 4 - 4;
+		mptExtraChunk.flags = 0x20; // set pan flag - used when loading .WAVs in OpenMPT
+		mptExtraChunk.defaultPan = smp->pan; // 0..255
+		mptExtraChunk.defaultVolume = smp->vol * 4; // 0..256
+		mptExtraChunk.globalVolume = 64; // 0..64
+		mptExtraChunk.vibratoType = ins->vibTyp; // 0..3    0 = sine, 1 = square, 2 = ramp up, 3 = ramp down
+		mptExtraChunk.vibratoSweep = ins->vibSweep; // 0..255
+		mptExtraChunk.vibratoDepth = ins->vibDepth; // 0..15
+		mptExtraChunk.vibratoRate= ins->vibRate; // 0..63
+
+		fwrite(&mptExtraChunk, sizeof (mptExtraChunk), 1, f);
+		if (mptExtraChunk.chunkSize & 1)
+			fputc(0, f); // write pad byte if chunk size is uneven
+	}
+
+	// write LIST->INFO->INAM chunk
+
+	if (saveRangedData)
+	{
+		smpNamePtr = (char *)rangedDataStr;
+		smpNameLen = (uint32_t)strlen(smpNamePtr);
+	}
+	else
+	{
+		smpNamePtr = smp->name;
+
+		smpNameLen = 0;
+		while (smpNameLen < 22)
+		{
+			if (smpNamePtr[smpNameLen] == '\0')
+				break;
+
+			smpNameLen++;
+		}
+	}
+
+	progNameLen = sizeof (PROG_NAME_STR) - 1;
+
+	tmpLen = 4 + (4 + 4) + (progNameLen + 1 + ((progNameLen + 1) & 1));
+	if (smpNameLen > 0)
+		tmpLen += ((4 + 4) + (progNameLen + 1 + ((progNameLen + 1) & 1)));
+
+	fwrite("LIST", sizeof (int32_t), 1, f);
+	fwrite(&tmpLen, sizeof (int32_t), 1, f);
+	fwrite("INFO", sizeof (int32_t), 1, f);
+
+	if (smpNameLen > 0)
+	{
+		tmpLen = smpNameLen + 1;
+		fwrite("INAM", sizeof (int32_t), 1, f);
+		fwrite(&tmpLen, sizeof (int32_t), 1, f);
+		fwrite(smpNamePtr, 1, smpNameLen, f);
+		fputc(0, f); // string termination
+		if (tmpLen & 1)
+			fputc(0, f); // pad byte
+	}
+
+	tmpLen = progNameLen + 1;
+	fwrite("ISFT", sizeof (int32_t), 1, f);
+	fwrite(&tmpLen, sizeof (int32_t), 1, f);
+	fwrite(PROG_NAME_STR, 1, progNameLen, f);
+	fputc(0, f); // string termination
+	if (tmpLen & 1)
+		fputc(0, f); // pad byte
+
+	// go back and fill in "RIFF" chunk size
+	riffChunkSize = ftell(f) - 8;
+	fseek(f, 4, SEEK_SET);
+	fwrite(&riffChunkSize, sizeof (int32_t), 1, f);
+
+	fclose(f);
+
+	// restore mixer interpolation fix
+	fileRestoreSampleData(filenameU, sampleDataPos, smp);
+
+	editor.diskOpReadDir = true; // force diskop re-read
+
+	setMouseBusy(false);
+	return true;
+}
+
+static int32_t SDLCALL saveSampleThread(void *ptr)
+{
+	const UNICHAR *oldPathU;
+
+	(void)ptr;
+
+	if (editor.tmpFilenameU == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "General I/O error during saving! Is the file in use?");
+		return false;
+	}
+
+	oldPathU = getDiskOpCurPath();
+
+	// in "save range mode", we must enter the sample directory
+	if (saveRangeFlag)
+		UNICHAR_CHDIR(getDiskOpSmpPath());
+
+	switch (editor.sampleSaveMode)
+	{
+		         case SMP_SAVE_MODE_RAW: saveRawSample(editor.tmpFilenameU, saveRangeFlag); break;
+		         case SMP_SAVE_MODE_IFF: saveIFFSample(editor.tmpFilenameU, saveRangeFlag); break;
+		default: case SMP_SAVE_MODE_WAV: saveWAVSample(editor.tmpFilenameU, saveRangeFlag); break;
+	}
+
+	// set back old working directory if we changed it
+	if (saveRangeFlag)
+		UNICHAR_CHDIR(oldPathU);
+
+	return true;
+}
+
+void saveSample(UNICHAR *filenameU, bool saveAsRange)
+{
+	saveRangeFlag = saveAsRange;
+	UNICHAR_STRCPY(editor.tmpFilenameU, filenameU);
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(saveSampleThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		okBoxThreadSafe(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
--- /dev/null
+++ b/src/ft2_sample_saver.h
@@ -1,0 +1,13 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_unicode.h"
+
+enum
+{
+	SAVE_NORMAL = 0,
+	SAVE_RANGE = 1
+};
+
+void saveSample(UNICHAR *filenameU, bool saveAsRange);
--- /dev/null
+++ b/src/ft2_sampling.c
@@ -1,0 +1,449 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_config.h"
+#include "ft2_gui.h"
+#include "ft2_mouse.h"
+#include "ft2_sample_ed.h"
+#include "ft2_video.h"
+#include "ft2_sampling.h"
+
+// these may very well change after opening the audio input device
+#define SAMPLING_BUFFER_SIZE 2048
+
+static bool sampleInStereo;
+static volatile bool drawSamplingBufferFlag, outOfMemoryFlag, noMoreRoomFlag;
+static int16_t *currWriteBuf;
+static int16_t displayBuffer1[SAMPLING_BUFFER_SIZE * 2], displayBuffer2[SAMPLING_BUFFER_SIZE * 2];
+static int32_t bytesSampled, samplingBufferBytes;
+static uint32_t samplingRate;
+static volatile int32_t currSampleLen;
+static SDL_AudioDeviceID recordDev;
+static int16_t rightChSmpSlot = -1;
+
+static void SDLCALL samplingCallback(void *userdata, Uint8 *stream, int len)
+{
+	int8_t *newPtr;
+	sampleTyp *s;
+
+	(void)userdata;
+
+	if (instr[editor.curInstr] == NULL || len < 0 || len > samplingBufferBytes)
+		return;
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	newPtr = (int8_t *)realloc(s->pek, s->len + len);
+	if (newPtr == NULL)
+	{
+		drawSamplingBufferFlag = false;
+		outOfMemoryFlag = true;
+		return;
+	}
+
+	s->pek = newPtr;
+	memcpy(&s->pek[s->len], stream, len);
+
+	s->len += len;
+	if (s->len > MAX_SAMPLE_LEN) // length overflow
+	{
+		s->len -= len;
+		noMoreRoomFlag = true;
+		return;
+	}
+
+	bytesSampled += len;
+	if (bytesSampled >= samplingBufferBytes)
+	{
+		bytesSampled -= samplingBufferBytes;
+
+		currSampleLen = s->len - samplingBufferBytes;
+
+		// fill display buffer
+		memcpy(currWriteBuf, &s->pek[currSampleLen], samplingBufferBytes);
+
+		// swap write buffer (double-buffering)
+		if (currWriteBuf == displayBuffer1)
+			currWriteBuf = displayBuffer2;
+		else
+			currWriteBuf = displayBuffer1;
+
+		drawSamplingBufferFlag = true;
+	}
+}
+
+void stopSampling(void)
+{
+	int8_t *newPtr;
+	int16_t *dst16, *src16;
+	int32_t i, len;
+	sampleTyp *currSmp, *nextSmp;
+
+	resumeAudio();
+	mouseAnimOff();
+
+	SDL_CloseAudioDevice(recordDev);
+	editor.samplingAudioFlag = false;
+
+	currSmp = NULL;
+	nextSmp = NULL;
+
+	if (instr[editor.curInstr] != NULL)
+		currSmp = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	if (sampleInStereo)
+	{
+		// read right channel data
+		
+		if (currSmp->pek != NULL && rightChSmpSlot != -1)
+		{
+			nextSmp = &instr[editor.curInstr]->samp[rightChSmpSlot];
+
+			nextSmp->pek = (int8_t *)malloc((currSmp->len / 2) + LOOP_FIX_LEN);
+			if (nextSmp->pek != NULL)
+			{
+				nextSmp->len = currSmp->len / 2;
+
+				src16 = (int16_t *)currSmp->pek;
+				dst16 = (int16_t *)nextSmp->pek;
+
+				len = nextSmp->len / 2;
+				for (i = 0; i < len; i++)
+					dst16[i] = src16[(i << 1) + 1];
+			}
+			else
+			{
+				freeSample(editor.curInstr, rightChSmpSlot);
+			}
+
+			currSmp->len /= 2;
+
+			// read left channel data by skipping every other sample
+
+			dst16 = (int16_t *)currSmp->pek;
+
+			len = currSmp->len / 2;
+			for (i = 0; i < len; i++)
+				dst16[i] = dst16[i << 1];
+		}
+	}
+
+	if (currSmp->pek != NULL)
+	{
+		newPtr = (int8_t *)realloc(currSmp->pek, currSmp->len + LOOP_FIX_LEN);
+		if (newPtr != NULL)
+			currSmp->pek = newPtr;
+	}
+	else
+	{
+		freeSample(editor.curInstr, editor.curSmp);
+	}
+
+	updateSampleEditorSample();
+	editor.updateCurInstr = true;
+}
+
+static uint8_t getDispBuffPeakMono(const int16_t *smpData, int32_t smpNum)
+{
+	int16_t smp16;
+	uint32_t smpAbs, max;
+	int32_t i;
+
+	max = 0;
+	for (i = 0; i < smpNum; i++)
+	{
+		smp16 = smpData[i];
+
+		smpAbs = ABS(smp16);
+		if (smpAbs > max)
+			max = smpAbs;
+	}
+
+	max = (max * SAMPLE_AREA_HEIGHT) >> 16;
+	if (max > 76)
+		max = 76;
+
+	return (uint8_t)max;
+}
+
+static uint8_t getDispBuffPeakLeft(const int16_t *smpData, int32_t smpNum)
+{
+	int16_t smp16;
+	uint32_t smpAbs, max;
+	int32_t i;
+
+	smpNum <<= 1;
+
+	max = 0;
+	for (i = 0; i < smpNum; i += 2)
+	{
+		smp16 = smpData[i];
+
+		smpAbs = ABS(smp16);
+		if (smpAbs > max)
+			max = smpAbs;
+	}
+
+	max = (max * SAMPLE_AREA_HEIGHT) >> (16 + 1);
+	if (max > 38)
+		max = 38;
+
+	return (uint8_t)max;
+}
+
+static uint8_t getDispBuffPeakRight(const int16_t *smpData, int32_t smpNum)
+{
+	int16_t smp16;
+	uint32_t smpAbs, max;
+	int32_t i;
+
+	smpNum <<= 1;
+
+	max = 0;
+	for (i = 0; i < smpNum; i += 2)
+	{
+		smp16 = smpData[i];
+
+		smpAbs = ABS(smp16);
+		if (smpAbs > max)
+			max = smpAbs;
+	}
+
+	max = (max * SAMPLE_AREA_HEIGHT) >> (16 + 1);
+	if (max > 38)
+		max = 38;
+
+	return (uint8_t)max;
+}
+
+static inline int32_t scrPos2SmpBufPos(int32_t x) // x = 0..SAMPLE_AREA_WIDTH
+{
+	return (x * ((SAMPLING_BUFFER_SIZE << 16) / SAMPLE_AREA_WIDTH)) >> 16;
+}
+
+static void drawSamplingPreview(void)
+{
+	uint8_t smpAbs;
+	int16_t *readBuf;
+	uint16_t x;
+	int32_t smpIdx, smpNum;
+	uint32_t *centerPtrL, *centerPtrR, pixVal;
+
+#define SAMPLEL_AREA_Y_CENTER 250
+
+	pixVal = video.palette[PAL_PATTEXT];
+
+	// select buffer currently not being written to (double-buffering)
+	if (currWriteBuf == displayBuffer1)
+		readBuf = displayBuffer2;
+	else
+		readBuf = displayBuffer1;
+
+	if (sampleInStereo)
+	{
+		// stereo sampling
+
+		const uint16_t centerL = SAMPLE_AREA_Y_CENTER - (SAMPLE_AREA_HEIGHT / 4);
+		const uint16_t centerR = SAMPLE_AREA_Y_CENTER + (SAMPLE_AREA_HEIGHT / 4);
+
+		centerPtrL = &video.frameBuffer[centerL*SCREEN_W];
+		centerPtrR = &video.frameBuffer[centerR*SCREEN_W];
+
+		for (x = 0; x < SAMPLE_AREA_WIDTH; x++)
+		{
+			smpIdx = scrPos2SmpBufPos(x);
+			smpNum = scrPos2SmpBufPos(x+1) - smpIdx;
+
+			if (smpIdx+smpNum >= SAMPLING_BUFFER_SIZE)
+				smpNum = SAMPLING_BUFFER_SIZE - smpIdx;
+
+			// left channel samples
+			smpAbs = getDispBuffPeakLeft(&readBuf[(smpIdx * 2) + 0], smpNum);
+			if (smpAbs == 0)
+				centerPtrL[x] = pixVal;
+			else
+				vLine(x, centerL - smpAbs, (smpAbs * 2) + 1, PAL_PATTEXT);
+
+			// right channel samples
+			smpAbs = getDispBuffPeakRight(&readBuf[(smpIdx * 2) + 1], smpNum);
+			if (smpAbs == 0)
+				centerPtrR[x] = pixVal;
+			else
+				vLine(x, centerR - smpAbs, (smpAbs * 2) + 1, PAL_PATTEXT);
+		}
+	}
+	else
+	{
+		// mono sampling
+
+		centerPtrL = &video.frameBuffer[SAMPLE_AREA_Y_CENTER * SCREEN_W];
+
+		for (x = 0; x < SAMPLE_AREA_WIDTH; x++)
+		{
+			smpIdx = scrPos2SmpBufPos(x);
+			smpNum = scrPos2SmpBufPos(x+1) - smpIdx;
+
+			if (smpIdx+smpNum >= SAMPLING_BUFFER_SIZE)
+				smpNum = SAMPLING_BUFFER_SIZE - smpIdx;
+
+			smpAbs = getDispBuffPeakMono(&readBuf[smpIdx], smpNum);
+			if (smpAbs == 0)
+				centerPtrL[x] = pixVal;
+			else
+				vLine(x, SAMPLE_AREA_Y_CENTER - smpAbs, (smpAbs * 2) + 1, PAL_PATTEXT);
+		}
+	}
+}
+
+void handleSamplingUpdates(void)
+{
+	if (outOfMemoryFlag)
+	{
+		outOfMemoryFlag = false;
+		stopSampling();
+		okBox(0, "System message", "Not enough memory!");
+		return;
+	}
+
+	if (noMoreRoomFlag)
+	{
+		noMoreRoomFlag = false;
+		stopSampling();
+		okBox(0, "System message", "Not more room in sample!");
+		return;
+	}
+
+	if (drawSamplingBufferFlag)
+	{
+		drawSamplingBufferFlag = false;
+
+		// clear sample data area
+		memset(&video.frameBuffer[174 * SCREEN_W], 0, SAMPLE_AREA_WIDTH * SAMPLE_AREA_HEIGHT * sizeof (int32_t));
+
+		drawSamplingPreview();
+
+		// clear and draw new sample length number
+		fillRect(536, 362, 56, 10, PAL_DESKTOP);
+
+		if (sampleInStereo)
+			hexOut(536, 362, PAL_FORGRND, currSampleLen >> 1, 8);
+		else
+			hexOut(536, 362, PAL_FORGRND, currSampleLen, 8);
+	}
+}
+
+void startSampling(void)
+{
+	int16_t result;
+
+#if SDL_PATCHLEVEL < 5
+	okBox(2, "System message", "This program needs to be compiled with SDL 2.0.5 or later to support audio sampling.");
+	return;
+#else
+	SDL_AudioSpec want, have;
+	sampleTyp *s, *nextSmp;
+
+	if (editor.samplingAudioFlag || editor.curInstr == 0)
+		return;
+
+	result = okBox(9, "System request", "Stereo sampling will use the next sample slot. While ongoing, press any key to stop. ");
+	if (result == 0 || result == 3)
+		return;
+
+	sampleInStereo = (result == 2);
+	samplingBufferBytes = sampleInStereo ? (SAMPLING_BUFFER_SIZE * 4) : (SAMPLING_BUFFER_SIZE * 2);
+
+	mouseAnimOn();
+
+	switch (config.audioInputFreq)
+	{
+		case INPUT_FREQ_96KHZ: samplingRate = 96000; break;
+
+#ifdef __APPLE__
+		case INPUT_FREQ_48KHZ: samplingRate = 48000; break;
+		default: samplingRate = 44100; break;
+#else
+		case INPUT_FREQ_44KHZ: samplingRate = 44100; break;
+		default: samplingRate = 48000; break;
+#endif
+	}
+
+	memset(&want, 0, sizeof (SDL_AudioSpec));
+	want.freq = samplingRate;
+	want.format = AUDIO_S16;
+	want.channels = 1 + sampleInStereo;
+	want.callback = samplingCallback;
+	want.userdata = NULL;
+	want.samples = SAMPLING_BUFFER_SIZE;
+
+	recordDev = SDL_OpenAudioDevice(audio.currInputDevice, true, &want, &have, 0);
+	if (recordDev == 0)
+	{
+		okBox(0, "System message", "Couldn't open the input device! Try adjusting the input rate at the config screen.");
+		return;
+	}
+
+	pauseAudio();
+
+	if (instr[editor.curInstr] == NULL && !allocateInstr(editor.curInstr))
+	{
+		resumeAudio();
+		okBox(0, "System message", "Not enough memory!");
+		return;
+	}
+
+	s = &instr[editor.curInstr]->samp[editor.curSmp];
+
+	// wipe current sample and prepare it
+	freeSample(editor.curInstr, editor.curSmp);
+	s->typ |= 16; // we always sample in 16-bit
+
+	tuneSample(s, samplingRate); // tune sample (relTone/finetune) to the sampling frequency we obtained
+
+	if (sampleInStereo)
+	{
+		strcpy(s->name, "Left sample");
+		s->pan = 0;
+
+		if (editor.curSmp+1 < MAX_SMP_PER_INST)
+			rightChSmpSlot = editor.curSmp+1;
+		else
+			rightChSmpSlot = -1;
+
+		if (rightChSmpSlot != -1)
+		{
+			// wipe current sample and prepare it
+			freeSample(editor.curInstr, rightChSmpSlot);
+			nextSmp = &instr[editor.curInstr]->samp[rightChSmpSlot];
+
+			strcpy(nextSmp->name, "Right sample");
+			nextSmp->typ |= 16; // we always sample in 16-bit
+			nextSmp->pan = 255;
+
+			tuneSample(nextSmp, samplingRate); // tune sample (relTone/finetune) to the sampling frequency we obtained
+		}
+	}
+	else
+	{
+		strcpy(s->name, "Mono-mixed sample");
+	}
+
+	updateSampleEditorSample();
+	updateSampleEditor();
+	setSongModifiedFlag();
+
+	currWriteBuf = displayBuffer1;
+	memset(displayBuffer1, 0, sizeof (displayBuffer1));
+	memset(displayBuffer2, 0, sizeof (displayBuffer2));
+
+	editor.samplingAudioFlag = true;
+	bytesSampled = 0;
+	currSampleLen = 0;
+
+	SDL_PauseAudioDevice(recordDev, false);
+#endif
+}
--- /dev/null
+++ b/src/ft2_sampling.h
@@ -1,0 +1,12 @@
+#pragma once
+
+enum
+{
+	INPUT_FREQ_44KHZ = 2,
+	INPUT_FREQ_48KHZ = 4,
+	INPUT_FREQ_96KHZ = 8
+};
+
+void startSampling(void);
+void stopSampling(void);
+void handleSamplingUpdates(void);
--- /dev/null
+++ b/src/ft2_scopes.c
@@ -1,0 +1,890 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <math.h> // modf()
+#ifndef _WIN32
+#include <unistd.h> // usleep()
+#endif
+#include "ft2_header.h"
+#include "ft2_events.h"
+#include "ft2_config.h"
+#include "ft2_audio.h"
+#include "ft2_gui.h"
+#include "ft2_midi.h"
+#include "ft2_gfxdata.h"
+#include "ft2_scopes.h"
+#include "ft2_mouse.h"
+#include "ft2_video.h"
+
+enum
+{
+	LOOP_NONE = 0,
+	LOOP_FORWARD = 1,
+	LOOP_PINGPONG = 2
+};
+
+#define SCOPE_HEIGHT 36
+
+// data to be read from main update thread during sample trigger
+typedef struct scopeState_t
+{
+	int8_t *pek;
+	uint8_t typ;
+	int32_t len, repS, repL, playOffset;
+} scopeState_t;
+
+// actual scope data
+typedef struct scope_t
+{
+	volatile bool active;
+	const int8_t *sampleData8;
+	const int16_t *sampleData16;
+	int8_t SVol;
+	bool wasCleared, sample16Bit;
+	uint8_t loopType;
+	int32_t SRepS, SRepL, SLen, SPos;
+	uint32_t SFrq, SPosDec, posXOR;
+} scope_t;
+
+static volatile bool scopesUpdatingFlag, scopesDisplayingFlag;
+static uint32_t oldVoiceDelta, oldSFrq, scopeTimeLen, scopeTimeLenFrac;
+static uint64_t timeNext64, timeNext64Frac;
+static volatile scope_t scope[MAX_VOICES];
+static SDL_Thread *scopeThread;
+
+lastChInstr_t lastChInstr[MAX_VOICES]; // global
+
+static const uint8_t scopeMuteBMPWidths[16] =
+{
+	162,111, 76, 56, 42, 35, 28, 24,
+	 21, 21, 17, 17, 12, 12,  9,  9
+};
+
+static const uint8_t scopeMuteBMPHeights[16] =
+{
+	27, 27, 26, 25, 25, 25, 24, 24,
+	24, 24, 24, 24, 24, 24, 24, 24
+};
+
+static const uint8_t *scopeMuteBMPPointers[16] =
+{
+	scopeMuteBMP1, scopeMuteBMP2, scopeMuteBMP3, scopeMuteBMP4,
+	scopeMuteBMP5, scopeMuteBMP6, scopeMuteBMP7, scopeMuteBMP8,
+	scopeMuteBMP9, scopeMuteBMP9, scopeMuteBMP10,scopeMuteBMP10,
+	scopeMuteBMP11,scopeMuteBMP11,scopeMuteBMP12,scopeMuteBMP12
+};
+
+static const uint16_t scopeLenTab[16][32] =
+{
+	/*  2 ch */ {285,285},
+	/*  4 ch */ {141,141,141,141},
+	/*  6 ch */ {93,93,93,93,93,93},
+	/*  8 ch */ {69,69,69,69,69,69,69,69},
+	/* 10 ch */ {55,55,55,54,54,55,55,55,54,54},
+	/* 12 ch */ {45,45,45,45,45,45,45,45,45,45,45,45},
+	/* 14 ch */ {39,38,38,38,38,38,38,39,38,38,38,38,38,38},
+	/* 16 ch */ {33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33},
+	/* 18 ch */ {29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29},
+	/* 20 ch */ {26,26,26,26,26,26,26,26,25,25,26,26,26,26,26,26,26,26,25,25},
+	/* 22 ch */ {24,24,23,23,23,23,23,23,23,23,23,24,24,23,23,23,23,23,23,23,23,23},
+	/* 24 ch */ {21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21},
+	/* 26 ch */ {20,20,19,19,19,19,19,19,19,19,19,19,19,20,20,19,19,19,19,19,19,19,19,19,19,19},
+	/* 28 ch */ {18,18,18,18,18,18,18,18,17,17,17,17,17,17,18,18,18,18,18,18,18,18,17,17,17,17,17,17},
+	/* 30 ch */ {17,17,17,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,16,16,16,16,16,16,16,16,16,16,16,16},
+	/* 32 ch */ {15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15}
+};
+
+void resetOldScopeRates(void)
+{
+	oldVoiceDelta = 0;
+	oldSFrq = 0;
+}
+
+int32_t getSamplePosition(uint8_t ch)
+{
+	volatile bool active, sample16Bit;
+	volatile int32_t pos, len;
+	volatile scope_t *sc;
+
+	if (ch >= song.antChn)
+		return -1;
+
+	sc = &scope[ch];
+
+	// cache some stuff
+	active = sc->active;
+	pos = sc->SPos;
+	len = sc->SLen;
+	sample16Bit = sc->sample16Bit;
+
+	if (!active || len == 0)
+		return -1;
+
+	if (pos >= 0 && pos < len)
+	{
+		if (sample16Bit)
+			pos <<= 1;
+
+		return pos;
+	}
+
+	return -1; // not active or overflown
+}
+
+void stopAllScopes(void)
+{
+	// wait for scopes to finish updating
+	while (scopesUpdatingFlag);
+
+	for (uint8_t i = 0; i < MAX_VOICES; i++)
+		scope[i].active = false;
+
+	// wait for scope displaying to be done (safety)
+	while (scopesDisplayingFlag);
+}
+
+// toggle mute
+static void setChannel(int16_t nr, bool on)
+{
+	stmTyp *ch;
+
+	ch = &stm[nr];
+
+	ch->stOff = !on;
+	if (ch->stOff)
+	{
+		ch->effTyp = 0;
+		ch->eff = 0;
+		ch->realVol = 0;
+		ch->outVol = 0;
+		ch->oldVol = 0;
+		ch->finalVol = 0;
+		ch->outPan = 128;
+		ch->oldPan = 128;
+		ch->finalPan = 128;
+		ch->status = IS_Vol;
+
+		ch->envSustainActive = false; // non-FT2 bug fix for stuck piano keys
+	}
+
+	scope[nr].wasCleared = false;
+}
+
+static void drawScopeNumber(uint16_t scopeXOffs, uint16_t scopeYOffs, uint8_t channel, bool outline)
+{
+	scopeYOffs++;
+	channel++;
+
+	if (outline)
+	{
+		if (channel < 10) // one digit?
+		{
+			charOutOutlined(scopeXOffs, scopeYOffs, PAL_MOUSEPT, '0' + channel);
+		}
+		else
+		{
+			charOutOutlined(scopeXOffs, scopeYOffs, PAL_MOUSEPT, '0' + (channel / 10));
+			charOutOutlined(scopeXOffs + 7, scopeYOffs, PAL_MOUSEPT, '0' + (channel % 10));
+		}
+	}
+	else
+	{
+		if (channel < 10) // one digit?
+		{
+			charOut(scopeXOffs, scopeYOffs, PAL_MOUSEPT, '0' + channel);
+		}
+		else
+		{
+			charOut(scopeXOffs, scopeYOffs, PAL_MOUSEPT, '0' + (channel / 10));
+			charOut(scopeXOffs + 7, scopeYOffs, PAL_MOUSEPT, '0' + (channel % 10));
+		}
+	}
+}
+
+static void redrawScope(int16_t ch)
+{
+	uint8_t chansPerRow;
+	const uint16_t *scopeLens;
+	uint16_t x, y, i, chanLookup, scopeLen, muteGfxLen, muteGfxX;
+
+	chansPerRow = song.antChn / 2;
+	chanLookup = chansPerRow - 1;
+	scopeLens = scopeLenTab[chanLookup];
+
+	x = 2;
+	y = 94;
+
+	scopeLen = 0; // prevent compiler warning
+	for (i = 0; i < song.antChn; i++)
+	{
+		scopeLen = scopeLens[i];
+
+		if (i == chansPerRow) // did we reach end of row?
+		{
+			// yes, go one row down
+			x  = 2;
+			y += 39;
+		}
+
+		if (i == ch)
+			break;
+
+		// adjust position to next channel
+		x += scopeLen + 3;
+	}
+
+	drawFramework(x, y, scopeLen + 2, 38, FRAMEWORK_TYPE2);
+
+	// draw mute graphics if channel is muted
+	if (!editor.chnMode[i])
+	{
+		muteGfxLen = scopeMuteBMPWidths[chanLookup];
+		muteGfxX = x + ((scopeLen - muteGfxLen) / 2);
+
+		blitFast(muteGfxX, y + 6, scopeMuteBMPPointers[chanLookup], muteGfxLen, scopeMuteBMPHeights[chanLookup]);
+
+		if (config.ptnChnNumbers)
+			drawScopeNumber(x + 1, y + 1, (uint8_t)i, true);
+	}
+
+	scope[ch].wasCleared = false;
+}
+
+void refreshScopes(void)
+{
+	for (int16_t i = 0; i < MAX_VOICES; i++)
+		scope[i].wasCleared = false;
+}
+
+static void channelMode(int16_t chn)
+{
+	bool m, m2, test;
+	int16_t i;
+	
+	assert(chn < song.antChn);
+
+	m = mouse.leftButtonPressed && !mouse.rightButtonPressed;
+	m2 = mouse.rightButtonPressed && mouse.leftButtonPressed;
+
+	if (m2)
+	{
+		test = false;
+		for (i = 0; i < song.antChn; i++)
+		{
+			if (i != chn && !editor.chnMode[i])
+				test = true;
+		}
+
+		if (test)
+		{
+			for (i = 0; i < song.antChn; i++)
+				editor.chnMode[i] = true;
+		}
+		else
+		{
+			for (i = 0; i < song.antChn; i++)
+				editor.chnMode[i] = (i == chn);
+		}
+	}
+	else if (m)
+	{
+		editor.chnMode[chn] ^= 1;
+	}
+	else
+	{
+		if (editor.chnMode[chn])
+		{
+			config.multiRecChn[chn] ^= 1;
+		}
+		else
+		{
+			config.multiRecChn[chn] = true;
+			editor.chnMode[chn] = true;
+			m = true;
+		}
+	}
+
+	for (i = 0; i < song.antChn; i++)
+		setChannel(i, editor.chnMode[i]);
+
+	if (m2)
+	{
+		for (i = 0; i < song.antChn; i++)
+			redrawScope(i);
+	}
+	else
+	{
+		redrawScope(chn);
+	}
+}
+
+bool testScopesMouseDown(void)
+{
+	int8_t chanToToggle;
+	uint8_t i, chansPerRow;
+	uint16_t x;
+	const uint16_t *scopeLens;
+
+	if (!editor.ui.scopesShown)
+		return false;
+
+	if (mouse.y >= 95 && mouse.y <= 169 && mouse.x >= 3 && mouse.x <= 288)
+	{
+		if (mouse.y > 130 && mouse.y < 134)
+			return true;
+
+		chansPerRow = song.antChn / 2;
+		scopeLens = scopeLenTab[chansPerRow-1];
+
+		// find out if we clicked inside a scope
+		x = 3;
+		for (i = 0; i < chansPerRow; i++)
+		{
+			if (mouse.x >= x && mouse.x < x+scopeLens[i])
+				break;
+
+			x += scopeLens[i] + 3;
+		}
+
+		if (i == chansPerRow)
+			return true; // scope framework was clicked instead
+
+		chanToToggle = i;
+		if (mouse.y >= 134) // second row of scopes?
+			chanToToggle += chansPerRow; // yes, increase lookup offset
+
+		channelMode(chanToToggle);
+		return true;
+	}
+
+	return false;
+}
+
+static void scopeTrigger(uint8_t ch, sampleTyp *s, int32_t playOffset)
+{
+	bool sampleIs16Bit;
+	uint8_t loopType;
+	int32_t length, loopBegin, loopLength;
+	volatile scope_t *sc;
+	scope_t tempState;
+
+	sc = &scope[ch];
+
+	length = s->len;
+	loopBegin = s->repS;
+	loopLength = s->repL;
+	loopType = s->typ & 3;
+	sampleIs16Bit = (s->typ >> 4) & 1;
+
+	if (sampleIs16Bit)
+	{
+		assert(!(length & 1));
+		assert(!(loopBegin & 1));
+		assert(!(loopLength & 1));
+
+		length >>= 1;
+		loopBegin >>= 1;
+		loopLength >>= 1;
+	}
+
+	if (s->pek == NULL || length < 1)
+	{
+		sc->active = false; // shut down scope (illegal parameters)
+		return;
+	}
+
+	if (loopLength < 1) // disable loop if loopLength is below 1
+		loopType = 0;
+
+	if (sampleIs16Bit)
+		tempState.sampleData16 = (const int16_t *)s->pek;
+	else
+		tempState.sampleData8 = (const int8_t *)s->pek;
+
+	tempState.sample16Bit = sampleIs16Bit;
+	tempState.loopType = loopType;
+
+	tempState.posXOR = 0; // forwards
+	tempState.SLen = (loopType > 0) ? (loopBegin + loopLength) : length;
+	tempState.SRepS = loopBegin;
+	tempState.SRepL = loopLength;
+	tempState.SPos = playOffset;
+	tempState.SPosDec = 0; // position fraction
+	
+	// if 9xx position overflows, shut down scopes
+	if (tempState.SPos >= tempState.SLen)
+	{
+		sc->active = false;
+		return;
+	}
+
+	// these has to be read
+	tempState.active = true;
+	tempState.wasCleared = sc->wasCleared;
+	tempState.SFrq = sc->SFrq;
+	tempState.SVol = sc->SVol;
+
+	/* Update live scope now.
+	** In theory it -can- be written to in the middle of a cached read,
+    ** then the read thread writes its own non-updated cached copy back and
+	** the trigger never happens. So far I have never seen it happen,
+	** so it's probably very rare. Yes, this is not good coding... */
+	*sc = tempState;
+}
+
+static void updateScopes(void)
+{
+	int32_t loopOverflowVal;
+	volatile scope_t *sc;
+	scope_t tempState;
+
+	scopesUpdatingFlag = true;
+	for (uint32_t i = 0; i < song.antChn; i++)
+	{
+		sc = &scope[i];
+		tempState = *sc; // cache it
+
+		if (!tempState.active)
+			continue; // scope is not active, no need
+
+		// scope position update
+
+		tempState.SPosDec += tempState.SFrq;
+		tempState.SPos += ((tempState.SPosDec >> 16) ^ tempState.posXOR);
+		tempState.SPosDec &= 0xFFFF;
+
+		// handle loop wrapping or sample end
+
+		if (tempState.posXOR == 0xFFFFFFFF && tempState.SPos < tempState.SRepS) // sampling backwards (definitely pingpong loop)
+		{
+			tempState.posXOR = 0; // change direction to forwards
+
+			if (tempState.SRepL < 2)
+				tempState.SPos = tempState.SRepS;
+			else
+				tempState.SPos = tempState.SRepS + ((tempState.SRepS - tempState.SPos - 1) % tempState.SRepL);
+
+			assert(tempState.SPos >= tempState.SRepS && tempState.SPos < tempState.SLen);
+		}
+		else if (tempState.SPos >= tempState.SLen)
+		{
+			if (tempState.SRepL < 2)
+				loopOverflowVal = 0;
+			else
+				loopOverflowVal = (tempState.SPos - tempState.SLen) % tempState.SRepL;
+
+			if (tempState.loopType == LOOP_NONE)
+			{
+				tempState.active = false;
+			}
+			else if (tempState.loopType == LOOP_FORWARD)
+			{
+				tempState.SPos = tempState.SRepS + loopOverflowVal;
+				assert(tempState.SPos >= tempState.SRepS && tempState.SPos < tempState.SLen);
+			}
+			else // pingpong loop
+			{
+				tempState.posXOR = 0xFFFFFFFF; // change direction to backwards
+				tempState.SPos = (tempState.SLen - 1) - loopOverflowVal;
+				assert(tempState.SPos >= tempState.SRepS && tempState.SPos < tempState.SLen);
+			}
+		}
+		assert(tempState.SPos >= 0);
+
+		*sc = tempState; // update scope state
+	}
+	scopesUpdatingFlag = false;
+}
+
+static void scopeLine(int16_t x1, int16_t y1, int16_t y2)
+{
+	int16_t d, sy, dy;
+	uint16_t ay;
+	int32_t pitch;
+	uint32_t pixVal, *dst32;
+
+	dy = y2 - y1;
+	ay = ABS(dy);
+	sy = SGN(dy);
+
+	pixVal = video.palette[PAL_PATTEXT];
+	pitch = sy * SCREEN_W;
+
+	dst32 = &video.frameBuffer[(y1 * SCREEN_W) + x1];
+	*dst32 = pixVal;
+
+	if (ay <= 1)
+	{
+		if (ay != 0)
+			dst32 += pitch;
+
+		*++dst32 = pixVal;
+		return;
+	}
+
+	d = 2 - ay;
+
+	ay *= 2;
+	while (y1 != y2)
+	{
+		if (d >= 0)
+		{
+			d -= ay;
+			dst32++;
+		}
+
+		y1 += sy;
+		d  += 2;
+
+		 dst32 += pitch;
+		*dst32  = pixVal;
+	}
+}
+
+static inline int8_t getScaledScopeSample8(scope_t *sc, int32_t drawPos)
+{
+	if (!sc->active)
+		return 0;
+
+	assert(drawPos >= 0 && drawPos < sc->SLen);
+	return (sc->sampleData8[drawPos] * sc->SVol) >> 8;
+}
+
+static inline int8_t getScaledScopeSample16(scope_t *sc, int32_t drawPos)
+{
+	if (!sc->active)
+		return 0;
+
+	assert(drawPos >= 0 && drawPos < sc->SLen);
+	return (int8_t)((sc->sampleData16[drawPos] * sc->SVol) >> 16);
+}
+
+#define SCOPE_UPDATE_DRAWPOS \
+	scopeDrawFrac += s.SFrq >> 6; \
+	scopeDrawPos += ((scopeDrawFrac >> 16) ^ drawPosXOR); \
+	scopeDrawFrac &= 0xFFFF; \
+	\
+	if (drawPosXOR == 0xFFFFFFFF && scopeDrawPos < s.SRepS) /* sampling backwards (definitely pingpong loop) */ \
+	{ \
+		drawPosXOR = 0; /* change direction to forwards */ \
+		\
+		if (s.SRepL < 2) \
+			scopeDrawPos = s.SRepS; \
+		else \
+			scopeDrawPos = s.SRepS + ((s.SRepS - scopeDrawPos - 1) % s.SRepL); \
+		\
+		assert(scopeDrawPos >= s.SRepS && scopeDrawPos < s.SLen); \
+	} \
+	else if (scopeDrawPos >= s.SLen) \
+	{ \
+		if (s.SRepL < 2) \
+			loopOverflowVal = 0; \
+		else \
+			loopOverflowVal = (scopeDrawPos - s.SLen) % s.SRepL; \
+		\
+		if (s.loopType == LOOP_NONE) \
+		{ \
+			s.active = false; \
+		} \
+		else if (s.loopType == LOOP_FORWARD) \
+		{ \
+			scopeDrawPos = s.SRepS + loopOverflowVal; \
+			assert(scopeDrawPos >= s.SRepS && scopeDrawPos < s.SLen); \
+		} \
+		else /* pingpong loop */ \
+		{ \
+			drawPosXOR = 0xFFFFFFFF; /* change direction to backwards */ \
+			scopeDrawPos = (s.SLen - 1) - loopOverflowVal; \
+			assert(scopeDrawPos >= s.SRepS && scopeDrawPos < s.SLen); \
+		} \
+		\
+	} \
+	assert(scopeDrawPos >= 0); \
+
+void drawScopes(void)
+{
+	int16_t y1, y2, sample, scopeLineY;
+	const uint16_t *scopeLens;
+	uint16_t chansPerRow, x16, scopeXOffs, scopeYOffs, scopeDrawLen;
+	int32_t scopeDrawPos, loopOverflowVal;
+	uint32_t x, len, drawPosXOR, scopeDrawFrac, scopePixelColor;
+	volatile scope_t *sc;
+	scope_t s;
+
+	scopesDisplayingFlag = true;
+	chansPerRow = song.antChn / 2;
+
+	scopeLens = scopeLenTab[chansPerRow-1];
+	scopeXOffs = 3;
+	scopeYOffs = 95;
+	scopeLineY = 112;
+
+	for (int16_t i = 0; i < song.antChn; i++)
+	{
+		// if we reached the last scope on the row, go to first scope on the next row
+		if (i == chansPerRow)
+		{
+			scopeXOffs = 3;
+			scopeYOffs = 134;
+			scopeLineY = 151;
+		}
+
+		scopeDrawLen = scopeLens[i];
+
+		if (!editor.chnMode[i]) // scope muted (mute graphics blit()'ed elsewhere)
+		{
+			scopeXOffs += scopeDrawLen + 3; // align x to next scope
+			continue;
+		}
+
+		s = scope[i]; // cache scope to lower thread race condition issues
+		if (s.active && s.SVol > 0 && !audio.locked)
+		{
+			// scope is active
+
+			scope[i].wasCleared = false;
+
+			// clear scope background
+			clearRect(scopeXOffs, scopeYOffs, scopeDrawLen, SCOPE_HEIGHT);
+
+			scopeDrawPos = s.SPos;
+			scopeDrawFrac = 0;
+			drawPosXOR = s.posXOR;
+
+			// draw current scope
+			if (config.specialFlags & LINED_SCOPES)
+			{
+				// LINE SCOPE
+
+				if (s.sample16Bit)
+				{
+					y1 = scopeLineY - getScaledScopeSample16(&s, scopeDrawPos);
+					SCOPE_UPDATE_DRAWPOS
+
+					x16 = scopeXOffs;
+					len = scopeXOffs + (scopeDrawLen - 1);
+
+					for (; x16 < len; x16++)
+					{
+						y2 = scopeLineY - getScaledScopeSample16(&s, scopeDrawPos);
+						scopeLine(x16, y1, y2);
+						y1 = y2;
+
+						SCOPE_UPDATE_DRAWPOS
+					}
+				}
+				else
+				{
+					y1 = scopeLineY - getScaledScopeSample8(&s, scopeDrawPos);
+					SCOPE_UPDATE_DRAWPOS
+
+					x16 = scopeXOffs;
+					len = scopeXOffs + (scopeDrawLen - 1);
+
+					for (; x16 < len; x16++)
+					{
+						y2 = scopeLineY - getScaledScopeSample8(&s, scopeDrawPos);
+						scopeLine(x16, y1, y2);
+						y1 = y2;
+
+						SCOPE_UPDATE_DRAWPOS
+					}
+				}
+			}
+			else
+			{
+				// PIXEL SCOPE
+
+				scopePixelColor = video.palette[PAL_PATTEXT];
+
+				x = scopeXOffs;
+				len = scopeXOffs + scopeDrawLen;
+
+				if (s.sample16Bit)
+				{
+					for (; x < len; x++)
+					{
+						sample = getScaledScopeSample16(&s, scopeDrawPos);
+						video.frameBuffer[((scopeLineY - sample) * SCREEN_W) + x] = scopePixelColor;
+
+						SCOPE_UPDATE_DRAWPOS
+					}
+				}
+				else
+				{
+					for (; x < len; x++)
+					{
+						sample = getScaledScopeSample8(&s, scopeDrawPos);
+						video.frameBuffer[((scopeLineY - sample) * SCREEN_W) + x] = scopePixelColor;
+
+						SCOPE_UPDATE_DRAWPOS
+					}
+				}
+			}
+		}
+		else
+		{
+			// scope is inactive
+
+			sc = &scope[i];
+			if (!sc->wasCleared)
+			{
+				// clear scope background
+				clearRect(scopeXOffs, scopeYOffs, scopeDrawLen, SCOPE_HEIGHT);
+
+				// draw empty line
+				hLine(scopeXOffs, scopeLineY, scopeDrawLen, PAL_PATTEXT);
+
+				sc->wasCleared = true;
+			}
+		}
+
+		// draw channel numbering (if enabled)
+		if (config.ptnChnNumbers)
+			drawScopeNumber(scopeXOffs, scopeYOffs, (uint8_t)i, false);
+
+		// draw rec. symbol (if enabled)
+		if (config.multiRecChn[i])
+			blit(scopeXOffs, scopeYOffs + 31, scopeRecBMP, 13, 4);
+
+		scopeXOffs += scopeDrawLen + 3; // align x to next scope
+	}
+
+	scopesDisplayingFlag = false;
+}
+
+void drawScopeFramework(void)
+{
+	drawFramework(0, 92, 291, 81, FRAMEWORK_TYPE1);
+	for (uint8_t i = 0; i < song.antChn; i++)
+		redrawScope(i);
+}
+
+void handleScopesFromChQueue(chSyncData_t *chSyncData, uint8_t *scopeUpdateStatus)
+{
+	uint8_t status;
+	syncedChannel_t *ch;
+	volatile scope_t *sc;
+	sampleTyp *smpPtr;
+
+	for (int32_t i = 0; i < song.antChn; i++)
+	{
+		sc = &scope[i];
+		ch = &chSyncData->channels[i];
+		status = scopeUpdateStatus[i];
+
+		// set scope volume
+		if (status & IS_Vol)
+			sc->SVol = (int8_t)(((ch->finalVol * SCOPE_HEIGHT) + (1 << 10)) >> 11); // rounded
+
+		// set scope frequency
+		if (status & IS_Period)
+		{
+			if (ch->voiceDelta != oldVoiceDelta)
+			{
+				oldVoiceDelta = ch->voiceDelta;
+				oldSFrq = (uint32_t)((oldVoiceDelta * audio.dScopeFreqMul) + 0.5); // rounded
+			}
+
+			sc->SFrq = oldSFrq;
+		}
+
+		// start scope sample
+		if (status & IS_NyTon)
+		{
+			if (instr[ch->instrNr] != NULL)
+			{
+				smpPtr = &instr[ch->instrNr]->samp[ch->sampleNr];
+				scopeTrigger((uint8_t)i, smpPtr, ch->smpStartPos);
+
+				// set stuff used by Smp. Ed. for sampling position line
+
+				if (ch->instrNr == 130 || (ch->instrNr == editor.curInstr && ch->sampleNr == editor.curSmp))
+					editor.curSmpChannel = (uint8_t)i;
+
+				lastChInstr[i].instrNr = ch->instrNr;
+				lastChInstr[i].sampleNr = ch->sampleNr;
+			}
+		}
+	}
+}
+
+static int32_t SDLCALL scopeThreadFunc(void *ptr)
+{
+	int32_t time32;
+	uint32_t diff32;
+	uint64_t time64;
+
+	(void)ptr;
+
+	// this is needed for scope stability (confirmed)
+	SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
+
+	// set next frame time
+	timeNext64 = SDL_GetPerformanceCounter() + scopeTimeLen;
+	timeNext64Frac = scopeTimeLenFrac;
+
+	while (editor.programRunning)
+	{
+		editor.scopeThreadMutex = true;
+		updateScopes();
+		editor.scopeThreadMutex = false;
+
+		time64 = SDL_GetPerformanceCounter();
+		if (time64 < timeNext64)
+		{
+			assert(timeNext64-time64 <= 0xFFFFFFFFULL);
+			diff32 = (uint32_t)(timeNext64 - time64);
+
+			// convert to microseconds and round to integer
+			time32 = (int32_t)((diff32 * editor.dPerfFreqMulMicro) + 0.5);
+
+			// delay until we have reached next tick
+			if (time32 > 0)
+				usleep(time32);
+		}
+
+		// update next tick time
+		timeNext64 += scopeTimeLen;
+
+		timeNext64Frac += scopeTimeLenFrac;
+		if (timeNext64Frac >= (1ULL << 32))
+		{
+			timeNext64++;
+			timeNext64Frac &= 0xFFFFFFFF;
+		}
+	}
+
+	return true;
+}
+
+bool initScopes(void)
+{
+	double dInt, dFrac;
+
+	// calculate scope time for performance counters and split into int/frac
+	dFrac = modf(editor.dPerfFreq / SCOPE_HZ, &dInt);
+
+	// integer part
+	scopeTimeLen = (uint32_t)dInt;
+
+	// fractional part scaled to 0..2^32-1
+	dFrac *= UINT32_MAX + 1.0;
+	if (dFrac > (double)UINT32_MAX)
+		dFrac = (double)UINT32_MAX;
+	scopeTimeLenFrac = (uint32_t)round(dFrac);
+
+	scopeThread = SDL_CreateThread(scopeThreadFunc, NULL, NULL);
+	if (scopeThread == NULL)
+	{
+		showErrorMsgBox("Couldn't create channel scope thread!");
+		return false;
+	}
+
+	SDL_DetachThread(scopeThread);
+	return true;
+}
--- /dev/null
+++ b/src/ft2_scopes.h
@@ -1,0 +1,21 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+
+void resetOldScopeRates(void);
+int32_t getSamplePosition(uint8_t ch);
+void stopAllScopes(void);
+void refreshScopes(void);
+bool testScopesMouseDown(void);
+void drawScopes(void);
+void drawScopeFramework(void);
+bool initScopes(void);
+
+typedef struct lastChInstr_t
+{
+	uint8_t sampleNr, instrNr;
+} lastChInstr_t;
+
+extern lastChInstr_t lastChInstr[MAX_VOICES];
--- /dev/null
+++ b/src/ft2_scrollbars.c
@@ -1,0 +1,684 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_config.h"
+#include "ft2_audio.h"
+#include "ft2_help.h"
+#include "ft2_sample_ed.h"
+#include "ft2_inst_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_audioselector.h"
+#include "ft2_midi.h"
+#include "ft2_mouse.h"
+#include "ft2_video.h"
+#include "ft2_palette.h"
+
+scrollBar_t scrollBars[NUM_SCROLLBARS] =
+{
+	// ------ RESERVED SCROLLBARS ------
+	{ 0 }, { 0 }, { 0 },
+
+	/*
+	** -- STRUCT INFO: --
+	**  x         = x position
+	**  y         = y position
+	**  w         = width
+	**  h         = height
+	**  type      = scrollbar type (vertical/horizontal)
+	**  style     = scrollbar style (flat/noflat)
+	** funcOnDown = function to call when pressed
+	*/
+
+	// ------ POSITION EDITOR SCROLLBARS ------
+	//x,  y,  w,  h,  type,               style                 funcOnDown
+	{ 55, 15, 18, 21, SCROLLBAR_VERTICAL, SCROLLBAR_THUMB_FLAT, sbPosEdPos },
+
+	// ------ INSTRUMENT SWITCHER SCROLLBARS ------
+	//x,   y,   w,  h,  type,               style                 funcOnDown
+	{ 566, 112, 18, 28, SCROLLBAR_VERTICAL, SCROLLBAR_THUMB_FLAT, sbSmpBankPos },
+
+	// ------ PATTERN VIEWER SCROLLBARS ------
+	//x,  y,   w,   h,  type,                 style                 funcOnDown
+	{ 28, 385, 576, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_FLAT, setChannelScrollPos },
+
+	// ------ HELP SCREEN SCROLLBARS ------
+	//x,   y,  w,  h,   type,               style                 funcOnDown
+	{ 611, 15, 18, 143, SCROLLBAR_VERTICAL, SCROLLBAR_THUMB_FLAT, helpScrollSetPos },
+
+	// ------ SAMPLE EDITOR SCROLLBARS ------
+	//x,  y,   w,   h,  type,                 style                 funcOnDown
+	{ 26, 331, 580, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_FLAT, scrollSampleData },
+
+	// ------ INSTRUMENT EDITOR SCROLLBARS ------
+	//x,   y,   w,  h,  type,                 style                   funcOnDown
+	{ 544, 175, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setVolumeScroll },
+	{ 544, 189, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setPanningScroll },
+	{ 544, 203, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setFinetuneScroll },
+	{ 544, 220, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setFadeoutScroll },
+	{ 544, 234, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setVibSpeedScroll },
+	{ 544, 248, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setVibDepthScroll },
+	{ 544, 262, 62, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, setVibSweepScroll },
+
+	// ------ INSTRUMENT EDITOR EXTENSION SCROLLBARS ------
+	//x,   y,   w,  h,  type,                 style                   funcOnDown
+	{ 195, 130, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbMidiChPos },
+	{ 195, 144, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbMidiPrgPos },
+	{ 195, 158, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbMidiBendPos },
+
+	// ------ CONFIG AUDIO SCROLLBARS ------
+	//x,   y,   w,  h,  type,                 style                   funcOnDown
+	{ 365,  29, 18, 43, SCROLLBAR_VERTICAL,   SCROLLBAR_THUMB_FLAT,   sbAudOutputSetPos },
+	{ 365, 116, 18, 21, SCROLLBAR_VERTICAL,   SCROLLBAR_THUMB_FLAT,   sbAudInputSetPos },
+	{ 529, 132, 79, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbAmp },
+	{ 529, 158, 79, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbMasterVol },
+
+	// ------ CONFIG LAYOUT SCROLLBARS ------
+	//x,   y,  w,  h,  type,                 style                   funcOnDown
+	{ 536, 15, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbPalRPos },
+	{ 536, 29, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbPalGPos },
+	{ 536, 43, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbPalBPos },
+	{ 536, 71, 70, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbPalContrastPos },
+
+	// ------ CONFIG MISCELLANEOUS SCROLLBARS ------
+	//x,   y,   w,  h,  type,                 style                   funcOnDown
+	{ 578, 158, 29, 13, SCROLLBAR_HORIZONTAL, SCROLLBAR_THUMB_NOFLAT, sbMIDISens },
+
+	// ------ CONFIG MIDI SCROLLBARS ------
+	//x,   y,  w,  h,   type,               style                 funcOnDown
+	{ 483, 15, 18, 143, SCROLLBAR_VERTICAL, SCROLLBAR_THUMB_FLAT, sbMidiInputSetPos },
+
+	// ------ DISK OP. SCROLLBARS ------
+	//x,   y,  w,  h,   type,               style                 funcOnDown
+	{ 335, 15, 18, 143, SCROLLBAR_VERTICAL, SCROLLBAR_THUMB_FLAT, sbDiskOpSetPos }
+};
+
+void drawScrollBar(uint16_t scrollBarID)
+{
+	int16_t thumbX, thumbY, thumbW, thumbH;
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+
+	scrollBar = &scrollBars[scrollBarID];
+	if (!scrollBar->visible)
+		return;
+
+	assert(scrollBar->x < SCREEN_W && scrollBar->y < SCREEN_H && scrollBar->w >= 3 && scrollBar->h >= 3);
+
+	thumbX = scrollBar->thumbX;
+	thumbY = scrollBar->thumbY;
+	thumbW = scrollBar->thumbW;
+	thumbH = scrollBar->thumbH;
+
+	// clear scrollbar background (lazy, but sometimes even faster than filling bg gaps)
+	clearRect(scrollBar->x, scrollBar->y, scrollBar->w, scrollBar->h);
+
+	// draw thumb
+	if (scrollBar->thumbType == SCROLLBAR_THUMB_FLAT)
+	{
+		// flat
+		fillRect(thumbX, thumbY, thumbW, thumbH, PAL_PATTEXT);
+	}
+	else
+	{
+		// 3D
+		fillRect(thumbX, thumbY, thumbW, thumbH, PAL_BUTTONS);
+
+		if (scrollBar->state == SCROLLBAR_UNPRESSED)
+		{
+			// top left corner inner border
+			hLine(thumbX, thumbY,     thumbW - 1, PAL_BUTTON1);
+			vLine(thumbX, thumbY + 1, thumbH - 2, PAL_BUTTON1);
+
+			// bottom right corner inner border
+			hLine(thumbX,              thumbY + thumbH - 1, thumbW - 1, PAL_BUTTON2);
+			vLine(thumbX + thumbW - 1, thumbY,              thumbH,     PAL_BUTTON2);
+		}
+		else
+		{
+			// top left corner inner border
+			hLine(thumbX, thumbY,     thumbW,     PAL_BUTTON2);
+			vLine(thumbX, thumbY + 1, thumbH - 1, PAL_BUTTON2);
+		}
+	}
+}
+
+void showScrollBar(uint16_t scrollBarID)
+{
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBars[scrollBarID].visible = true;
+	drawScrollBar(scrollBarID);
+}
+
+void hideScrollBar(uint16_t scrollBarID)
+{
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBars[scrollBarID].state = 0;
+	scrollBars[scrollBarID].visible = false;
+}
+
+static void setScrollBarThumbCoords(uint16_t scrollBarID)
+{
+	int16_t tmp16, thumbX, thumbY, thumbW, thumbH, scrollEnd;
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[scrollBarID];
+
+	assert(scrollBar->page > 0);
+
+	// uninitialized scrollbar, set full thumb length/height
+	if (scrollBar->end == 0)
+	{
+		scrollBar->thumbX = scrollBar->x + 1;
+		scrollBar->thumbY = scrollBar->y + 1;
+		scrollBar->thumbW = scrollBar->w - 2;
+		scrollBar->thumbH = scrollBar->h - 2;
+		return;
+	}
+
+	if (scrollBar->type == SCROLLBAR_HORIZONTAL)
+	{
+		// horizontal scrollbar
+
+		thumbY = scrollBar->y + 1;
+		thumbH = scrollBar->h - 2;
+		scrollEnd = scrollBar->x + scrollBar->w;
+
+		if (scrollBar->thumbType == SCROLLBAR_THUMB_NOFLAT)
+		{
+			thumbW = 15;
+			if (scrollBar->end > 0)
+			{
+				tmp16 = (int16_t)round(((scrollBar->w - thumbW) / (double)scrollBar->end) * scrollBar->pos);
+				thumbX = scrollBar->x + tmp16;
+			}
+			else
+			{
+				thumbX = scrollBar->x;
+			}
+		}
+		else
+		{
+			if (scrollBar->end > 0)
+			{
+				tmp16 = (int16_t)round((scrollBar->w / (double)scrollBar->end) * scrollBar->page);
+				thumbW = CLAMP(tmp16, 1, scrollBar->w);
+			}
+			else
+			{
+				thumbW = 1;
+			}
+
+			if (scrollBar->end > scrollBar->page)
+			{
+				tmp16 = (int16_t)round(((scrollBar->w - thumbW) / (double)(scrollBar->end - scrollBar->page)) * scrollBar->pos);
+				thumbX = scrollBar->x + tmp16;
+			}
+			else
+			{
+				thumbX = scrollBar->x;
+			}
+		}
+
+		// prevent scrollbar thumb coords from being outside of the scrollbar area
+		thumbX = CLAMP(thumbX, scrollBar->x, scrollEnd - 1);
+		if (thumbX+thumbW > scrollEnd)
+			thumbW = scrollEnd - thumbX;
+	}
+	else
+	{
+		// vertical scrollbar
+
+		thumbX = scrollBar->x + 1;
+		thumbW = scrollBar->w - 2;
+		scrollEnd = scrollBar->y + scrollBar->h;
+
+		if (scrollBar->end > 0)
+		{
+			tmp16 = (int16_t)round((scrollBar->h / (double)scrollBar->end) * scrollBar->page);
+			thumbH = CLAMP(tmp16, 1, scrollBar->h);
+		}
+		else
+		{
+			thumbH = 1;
+		}
+
+		if (scrollBar->end > scrollBar->page)
+		{
+			tmp16 = (int16_t)round(((scrollBar->h - thumbH) / (double)(scrollBar->end - scrollBar->page)) * scrollBar->pos);
+			thumbY = scrollBar->y + tmp16;
+		}
+		else
+		{
+			thumbY = scrollBar->y;
+		}
+
+		// prevent scrollbar thumb coords from being outside of the scrollbar area
+		thumbY = CLAMP(thumbY, scrollBar->y, scrollEnd - 1);
+		if (thumbY+thumbH > scrollEnd)
+			thumbH = scrollEnd - thumbY;
+	}
+
+	// set values now
+	scrollBar->thumbX = thumbX;
+	scrollBar->thumbY = thumbY;
+	scrollBar->thumbW = thumbW;
+	scrollBar->thumbH = thumbH;
+}
+
+void scrollBarScrollUp(uint16_t scrollBarID, uint32_t amount)
+{
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[scrollBarID];
+
+	assert(scrollBar->page > 0 && scrollBar->end > 0);
+
+	if (scrollBar->end < scrollBar->page || scrollBar->pos == 0)
+		return;
+
+	if (scrollBar->pos >= amount)
+		scrollBar->pos -= amount;
+	else
+		scrollBar->pos = 0;
+
+	setScrollBarThumbCoords(scrollBarID);
+	drawScrollBar(scrollBarID);
+
+	if (scrollBar->callbackFunc != NULL)
+		scrollBar->callbackFunc(scrollBar->pos);
+}
+
+void scrollBarScrollDown(uint16_t scrollBarID, uint32_t amount)
+{
+	uint32_t endPos;
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[scrollBarID];
+
+	assert(scrollBar->page > 0 && scrollBar->end > 0);
+
+	if (scrollBar->end < scrollBar->page)
+		return;
+
+	endPos = scrollBar->end;
+	if (scrollBar->thumbType == SCROLLBAR_THUMB_FLAT)
+	{
+		if (endPos >= scrollBar->page)
+			endPos -= scrollBar->page;
+		else
+			endPos = 0;
+	}
+
+	// check if we're already at the end
+	if (scrollBar->pos == endPos)
+		return;
+
+	scrollBar->pos += amount;
+	if (scrollBar->pos > endPos)
+		scrollBar->pos = endPos;
+
+	setScrollBarThumbCoords(scrollBarID);
+	drawScrollBar(scrollBarID);
+
+	if (scrollBar->callbackFunc != NULL)
+		scrollBar->callbackFunc(scrollBar->pos);
+}
+
+void scrollBarScrollLeft(uint16_t scrollBarID, uint32_t amount)
+{
+	scrollBarScrollUp(scrollBarID, amount);
+}
+
+void scrollBarScrollRight(uint16_t scrollBarID, uint32_t amount)
+{
+	scrollBarScrollDown(scrollBarID, amount);
+}
+
+void setScrollBarPos(uint16_t scrollBarID, uint32_t pos, bool triggerCallBack)
+{
+	uint32_t endPos;
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[scrollBarID];
+
+	if (scrollBar->page == 0)
+	{
+		scrollBar->pos = 0;
+		return;
+	}
+
+	if (scrollBar->end < scrollBar->page || scrollBar->pos == pos)
+	{
+		setScrollBarThumbCoords(scrollBarID);
+		drawScrollBar(scrollBarID);
+		return;
+	}
+
+	endPos = scrollBar->end;
+	if (scrollBar->thumbType == SCROLLBAR_THUMB_FLAT)
+	{
+		if (endPos >= scrollBar->page)
+			endPos -= scrollBar->page;
+		else
+			endPos = 0;
+	}
+
+	scrollBar->pos = pos;
+	if (scrollBar->pos > endPos)
+		scrollBar->pos = endPos;
+
+	setScrollBarThumbCoords(scrollBarID);
+	drawScrollBar(scrollBarID);
+
+	if (triggerCallBack && scrollBar->callbackFunc != NULL)
+		scrollBar->callbackFunc(scrollBar->pos);
+}
+
+uint32_t getScrollBarPos(uint16_t scrollBarID)
+{
+	assert(scrollBarID < NUM_SCROLLBARS);
+	return scrollBars[scrollBarID].pos;
+}
+
+void setScrollBarEnd(uint16_t scrollBarID, uint32_t end)
+{
+	uint8_t setPos;
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[scrollBarID];
+
+	if (end < 1)
+		end = 1;
+
+	scrollBar->end = end;
+
+	setPos = false;
+	if (scrollBar->pos >= end)
+	{
+		scrollBar->pos = end - 1;
+		setPos = true;
+	}
+
+	if (scrollBar->page > 0)
+	{
+		if (setPos)
+		{
+			setScrollBarPos(scrollBarID, scrollBar->pos, false);
+			// this will also call setScrollBarThumbCoords() and drawScrollBar()
+		}
+		else
+		{
+			setScrollBarThumbCoords(scrollBarID);
+			drawScrollBar(scrollBarID);
+		}
+	}
+}
+
+void setScrollBarPageLength(uint16_t scrollBarID, uint32_t pageLength)
+{
+	scrollBar_t *scrollBar;
+
+	assert(scrollBarID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[scrollBarID];
+
+	if (pageLength < 1)
+		pageLength = 1;
+
+	scrollBar->page = pageLength;
+	if (scrollBar->end > 0)
+	{
+		setScrollBarPos(scrollBarID, scrollBar->pos, false);
+		setScrollBarThumbCoords(scrollBarID);
+		drawScrollBar(scrollBarID);
+	}
+}
+
+bool testScrollBarMouseDown(void)
+{
+	uint16_t start, end;
+	int32_t scrollPos;
+	double dTmp;
+	scrollBar_t *scrollBar;
+
+	if (editor.ui.sysReqShown)
+	{
+		// if a system request is open, only test the first three scrollbars (reserved)
+		start = 0;
+		end = 3;
+	}
+	else
+	{
+		start = 3;
+		end = NUM_SCROLLBARS;
+	}
+
+	for (uint16_t i = start; i < end; i++)
+	{
+		scrollBar = &scrollBars[i];
+		if (!scrollBar->visible)
+			continue;
+
+		if (mouse.x >= scrollBar->x && mouse.x < scrollBar->x+scrollBar->w &&
+		    mouse.y >= scrollBar->y && mouse.y < scrollBar->y+scrollBar->h)
+		{
+			mouse.lastUsedObjectID = i;
+			mouse.lastUsedObjectType = OBJECT_SCROLLBAR;
+
+			// kludge for when a system request is about to open
+			scrollBar->state = SCROLLBAR_PRESSED;
+			if (scrollBar->thumbType == SCROLLBAR_THUMB_NOFLAT)
+				drawScrollBar(mouse.lastUsedObjectType);
+
+			if (scrollBar->type == SCROLLBAR_HORIZONTAL)
+			{
+				mouse.lastScrollXTmp = mouse.lastScrollX = mouse.x;
+
+				if (mouse.x >= scrollBar->thumbX && mouse.x < scrollBar->thumbX+scrollBar->thumbW)
+				{
+					mouse.saveMouseX = mouse.lastScrollX - scrollBar->thumbX;
+				}
+				else
+				{
+					mouse.saveMouseX = (int16_t)round(scrollBar->thumbW / 2.0);
+
+					scrollPos = mouse.lastScrollX - scrollBar->x - mouse.saveMouseX;
+					if (scrollBar->thumbType == SCROLLBAR_THUMB_NOFLAT)
+						scrollPos = (int32_t)round(scrollPos * (scrollBar->w / (double)(scrollBar->w - 15)));
+
+					scrollPos = CLAMP(scrollPos, 0, scrollBar->w);
+
+					assert(scrollBar->w > 0);
+
+					dTmp = round(((double)scrollPos * scrollBar->end) / scrollBar->w);
+					setScrollBarPos(mouse.lastUsedObjectID, (int32_t)dTmp, true);
+				}
+			}
+			else
+			{
+				mouse.lastScrollY = mouse.y;
+				if (mouse.y >= scrollBar->thumbY && mouse.y < scrollBar->thumbY+scrollBar->thumbH)
+				{
+					mouse.saveMouseY = mouse.lastScrollY - scrollBar->thumbY;
+				}
+				else
+				{
+					mouse.saveMouseY = (int16_t)(scrollBar->thumbH / 2.0); // truncate here
+
+					scrollPos = mouse.lastScrollY - scrollBar->y - mouse.saveMouseY;
+					scrollPos = CLAMP(scrollPos, 0, scrollBar->h);
+
+					assert(scrollBar->h > 0);
+
+					dTmp = round(((double)scrollPos * scrollBar->end) / scrollBar->h);
+					setScrollBarPos(mouse.lastUsedObjectID, (int32_t)dTmp, true);
+				}
+			}
+
+			// objectID can be set to none in scrollbar's callback during setScrollBarPos()
+			if (mouse.lastUsedObjectID == OBJECT_ID_NONE)
+				return true;
+
+			scrollBar->state = SCROLLBAR_PRESSED;
+			if (scrollBar->thumbType == SCROLLBAR_THUMB_NOFLAT)
+				drawScrollBar(mouse.lastUsedObjectID);
+
+			return true;
+		}
+	}
+
+	return false;
+}
+
+void testScrollBarMouseRelease(void)
+{
+	scrollBar_t *scrollBar;
+
+	if (mouse.lastUsedObjectType != OBJECT_SCROLLBAR || mouse.lastUsedObjectID == OBJECT_ID_NONE)
+		return;
+
+	assert(mouse.lastUsedObjectID < NUM_SCROLLBARS);
+
+	scrollBar = &scrollBars[mouse.lastUsedObjectID];
+	if (scrollBar->visible)
+	{
+		scrollBar->state = SCROLLBAR_UNPRESSED;
+		drawScrollBar(mouse.lastUsedObjectID);
+	}
+}
+
+void handleScrollBarsWhileMouseDown(void)
+{
+	int16_t scrollX, scrollY;
+	double dTmp;
+	scrollBar_t *scrollBar;
+
+	assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_SCROLLBARS);
+	scrollBar = &scrollBars[mouse.lastUsedObjectID];
+	if (!scrollBar->visible)
+		return;
+
+	if (scrollBar->type == SCROLLBAR_HORIZONTAL)
+	{
+		if (mouse.x != mouse.lastScrollX)
+		{
+			mouse.lastScrollX = mouse.x;
+			scrollX = mouse.lastScrollX - mouse.saveMouseX - scrollBar->x;
+
+			if (scrollBar->thumbType == SCROLLBAR_THUMB_NOFLAT)
+			{
+				assert(scrollBar->w >= 16);
+				scrollX = (int16_t)round(scrollX * (scrollBar->w / (double)(scrollBar->w - 15)));
+			}
+
+			scrollX = CLAMP(scrollX, 0, scrollBar->w);
+
+			assert(scrollBar->w > 0);
+
+			dTmp = round(((double)scrollX * scrollBar->end) / scrollBar->w);
+			setScrollBarPos(mouse.lastUsedObjectID, (int32_t)dTmp, true);
+
+			if (mouse.lastUsedObjectID != OBJECT_ID_NONE) // this can change in the callback in setScrollBarPos()
+				drawScrollBar(mouse.lastUsedObjectID);
+		}
+	}
+	else
+	{
+		if (mouse.y != mouse.lastScrollY)
+		{
+			mouse.lastScrollY = mouse.y;
+
+			scrollY = mouse.lastScrollY - mouse.saveMouseY - scrollBar->y;
+			scrollY = CLAMP(scrollY, 0, scrollBar->h);
+
+			assert(scrollBar->h > 0);
+
+			dTmp = round(((double)scrollY * scrollBar->end) / scrollBar->h);
+			setScrollBarPos(mouse.lastUsedObjectID, (int32_t)dTmp, true);
+
+			if (mouse.lastUsedObjectID != OBJECT_ID_NONE) // this can change in the callback in setScrollBarPos()
+				drawScrollBar(mouse.lastUsedObjectID);
+		}
+	}
+}
+
+void initializeScrollBars(void)
+{
+	// pattern editor
+	setScrollBarPageLength(SB_CHAN_SCROLL, 8);
+	setScrollBarEnd(SB_CHAN_SCROLL, 8);
+
+	// position editor
+	setScrollBarPageLength(SB_POS_ED, 5);
+	setScrollBarEnd(SB_POS_ED, 5);
+
+	// instrument switcher
+	setScrollBarPageLength(SB_SAMPLE_LIST, 5);
+	setScrollBarEnd(SB_SAMPLE_LIST, 16);
+
+	// help screen
+	setScrollBarPageLength(SB_HELP_SCROLL, 15);
+	setScrollBarEnd(SB_HELP_SCROLL, 1);
+
+	// config screen
+	setScrollBarPageLength(SB_AMP_SCROLL, 1);
+	setScrollBarEnd(SB_AMP_SCROLL, 31);
+	setScrollBarPageLength(SB_MASTERVOL_SCROLL, 1);
+	setScrollBarEnd(SB_MASTERVOL_SCROLL, 256);
+	setScrollBarPageLength(SB_PAL_R, 1);
+	setScrollBarEnd(SB_PAL_R, 63);
+	setScrollBarPageLength(SB_PAL_G, 1);
+	setScrollBarEnd(SB_PAL_G, 63);
+	setScrollBarPageLength(SB_PAL_B, 1);
+	setScrollBarEnd(SB_PAL_B, 63);
+	setScrollBarPageLength(SB_PAL_CONTRAST, 1);
+	setScrollBarEnd(SB_PAL_CONTRAST, 100);
+	setScrollBarPageLength(SB_MIDI_SENS, 1);
+	setScrollBarEnd(SB_MIDI_SENS, 200);
+	setScrollBarPageLength(SB_AUDIO_OUTPUT_SCROLL, 6);
+	setScrollBarEnd(SB_AUDIO_OUTPUT_SCROLL, 1);
+	setScrollBarPageLength(SB_AUDIO_INPUT_SCROLL, 4);
+	setScrollBarEnd(SB_AUDIO_INPUT_SCROLL, 1);
+	setScrollBarPageLength(SB_MIDI_INPUT_SCROLL, 15);
+	setScrollBarEnd(SB_MIDI_INPUT_SCROLL, 1);
+
+	// disk op.
+	setScrollBarPageLength(SB_DISKOP_LIST, DISKOP_ENTRY_NUM);
+	setScrollBarEnd(SB_DISKOP_LIST, 1);
+
+	// instrument editor
+	setScrollBarPageLength(SB_INST_VOL, 1);
+	setScrollBarEnd(SB_INST_VOL, 64);
+	setScrollBarPageLength(SB_INST_PAN, 1);
+	setScrollBarEnd(SB_INST_PAN, 255);
+	setScrollBarPageLength(SB_INST_FTUNE, 1);
+	setScrollBarEnd(SB_INST_FTUNE, 255);
+	setScrollBarPageLength(SB_INST_FADEOUT, 1);
+	setScrollBarEnd(SB_INST_FADEOUT, 0xFFF);
+	setScrollBarPageLength(SB_INST_VIBSPEED, 1);
+	setScrollBarEnd(SB_INST_VIBSPEED, 0x3F);
+	setScrollBarPageLength(SB_INST_VIBDEPTH, 1);
+	setScrollBarEnd(SB_INST_VIBDEPTH, 0xF);
+	setScrollBarPageLength(SB_INST_VIBSWEEP, 1);
+	setScrollBarEnd(SB_INST_VIBSWEEP, 0xFF);
+
+	// instrument editor extension
+	setScrollBarPageLength(SB_INST_EXT_MIDI_CH, 1);
+	setScrollBarEnd(SB_INST_EXT_MIDI_CH, 15);
+	setScrollBarPageLength(SB_INST_EXT_MIDI_PRG, 1);
+	setScrollBarEnd(SB_INST_EXT_MIDI_PRG, 127);
+	setScrollBarPageLength(SB_INST_EXT_MIDI_BEND, 1);
+	setScrollBarEnd(SB_INST_EXT_MIDI_BEND, 36);
+}
--- /dev/null
+++ b/src/ft2_scrollbars.h
@@ -1,0 +1,93 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+enum // SCROLLBARS
+{
+	// reserved
+	SB_RES_1,
+	SB_RES_2,
+	SB_RES_3,
+
+	SB_POS_ED,
+	SB_SAMPLE_LIST,
+	SB_CHAN_SCROLL,
+	SB_HELP_SCROLL,
+	SB_SAMP_SCROLL,
+
+	// Instrument Editor
+	SB_INST_VOL,
+	SB_INST_PAN,
+	SB_INST_FTUNE,
+	SB_INST_FADEOUT,
+	SB_INST_VIBSPEED,
+	SB_INST_VIBDEPTH,
+	SB_INST_VIBSWEEP,
+
+	// Instrument Editor Extension
+	SB_INST_EXT_MIDI_CH,
+	SB_INST_EXT_MIDI_PRG,
+	SB_INST_EXT_MIDI_BEND,
+
+	// Config I/O devices
+	SB_AUDIO_OUTPUT_SCROLL,
+	SB_AUDIO_INPUT_SCROLL,
+	SB_AMP_SCROLL,
+	SB_MASTERVOL_SCROLL,
+
+	// Config Layout
+	SB_PAL_R,
+	SB_PAL_G,
+	SB_PAL_B,
+	SB_PAL_CONTRAST,
+
+	// Config Miscellaneous
+	SB_MIDI_SENS,
+
+	// Config Midi
+	SB_MIDI_INPUT_SCROLL,
+
+	// Disk Op.
+	SB_DISKOP_LIST,
+
+	NUM_SCROLLBARS
+};
+
+enum
+{
+	SCROLLBAR_UNPRESSED = 0,
+	SCROLLBAR_PRESSED = 1,
+	SCROLLBAR_HORIZONTAL = 0,
+	SCROLLBAR_VERTICAL = 1,
+	SCROLLBAR_THUMB_NOFLAT = 0,
+	SCROLLBAR_THUMB_FLAT = 1
+};
+
+typedef struct scrollBar_t // DO NOT TOUCH!
+{
+	uint16_t x, y, w, h;
+	uint8_t type, thumbType;
+	void (*callbackFunc)(uint32_t pos);
+
+	bool visible;
+	uint8_t state;
+	uint32_t pos, page, end;
+	uint16_t thumbX, thumbY, thumbW, thumbH; 
+} scrollBar_t;
+
+void drawScrollBar(uint16_t scrollBarID);
+void showScrollBar(uint16_t scrollBarID);
+void hideScrollBar(uint16_t scrollBarID);
+void scrollBarScrollUp(uint16_t scrollBarID, uint32_t amount);
+void scrollBarScrollDown(uint16_t scrollBarID, uint32_t amount);
+void scrollBarScrollLeft(uint16_t scrollBarID, uint32_t amount);
+void scrollBarScrollRight(uint16_t scrollBarID, uint32_t amount);
+void setScrollBarPos(uint16_t scrollBarID, uint32_t pos, bool triggerCallBack);
+uint32_t getScrollBarPos(uint16_t scrollBarID);
+void setScrollBarEnd(uint16_t scrollBarID, uint32_t end);
+void setScrollBarPageLength(uint16_t scrollBarID, uint32_t pageLength);
+bool testScrollBarMouseDown(void);
+void testScrollBarMouseRelease(void);
+void handleScrollBarsWhileMouseDown(void);
+void initializeScrollBars(void);
--- /dev/null
+++ b/src/ft2_sysreqs.c
@@ -1,0 +1,611 @@
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_config.h"
+#include "ft2_gui.h"
+#include "ft2_mouse.h"
+#include "ft2_keyboard.h"
+#include "ft2_textboxes.h"
+#include "ft2_video.h"
+
+#define SYSTEM_REQUEST_H 67
+#define SYSTEM_REQUEST_Y 249
+#define SYSTEM_REQUEST_Y_EXT 91
+
+#define NUM_SYSREQ_TYPES 10
+
+static char *buttonText[NUM_SYSREQ_TYPES][5] =
+{
+	{ "OK", "","","","" },
+	{ "OK", "Cancel", "","","" },
+	{ "Yes", "No", "","","" },
+	{ "=(", "Rules","","","" },
+	{ "All", "Song", "Instruments", "Cancel", "" },
+	{ "Read left", "Read right", "Convert", "", "" },
+	{ "OK", "","","","" },
+	{ "OK", "","","","" },
+	{ "Sorry...", "","","","" },
+	{ "Mono", "Stereo", "Cancel", "","" }
+};
+
+static SDL_Keycode shortCut[NUM_SYSREQ_TYPES][5] =
+{
+	{ SDLK_o, 0,      0,      0,      0 },
+	{ SDLK_o, SDLK_c, 0,      0,      0 },
+	{ SDLK_y, SDLK_n, 0,      0,      0 },
+	{ SDLK_s, SDLK_r, 0,      0,      0 },
+	{ SDLK_a, SDLK_s, SDLK_i, SDLK_c, 0 },
+	{ SDLK_l, SDLK_r, SDLK_c, 0,      0 },
+	{ SDLK_o, 0,      0,      0,      0 },
+	{ SDLK_o, 0,      0,      0,      0 },
+	{ SDLK_s, 0,      0,      0,      0 },
+	{ SDLK_m, SDLK_s, SDLK_c, 0,      0 },
+};
+
+static void drawWindow(uint16_t w)
+{
+	const uint16_t h = SYSTEM_REQUEST_H;
+	uint16_t x, y;
+
+	x = (SCREEN_W / 2) - (w / 2);
+	y = editor.ui.extended ? 91 : SYSTEM_REQUEST_Y;
+
+	// main fill
+	fillRect(x + 1, y + 1, w - 2, h - 2, PAL_BUTTONS);
+
+	// outer border
+	vLine(x,         y,         h - 1, PAL_BUTTON1);
+	hLine(x + 1,     y,         w - 2, PAL_BUTTON1);
+	vLine(x + w - 1, y,         h,     PAL_BUTTON2);
+	hLine(x,         y + h - 1, w - 1, PAL_BUTTON2);
+
+	// inner border
+	vLine(x + 2,     y + 2,     h - 5, PAL_BUTTON2);
+	hLine(x + 3,     y + 2,     w - 6, PAL_BUTTON2);
+	vLine(x + w - 3, y + 2,     h - 4, PAL_BUTTON1);
+	hLine(x + 2,     y + h - 3, w - 4, PAL_BUTTON1);
+
+	// title bottom line
+	hLine(x + 3, y + 16, w - 6, PAL_BUTTON2);
+	hLine(x + 3, y + 17, w - 6, PAL_BUTTON1);
+}
+
+static bool mouseButtonDownLogic(uint8_t mouseButton)
+{
+	// if already holding left button and clicking right, don't do mouse down handling
+	if (mouseButton == SDL_BUTTON_RIGHT && mouse.leftButtonPressed)
+	{
+		mouse.rightButtonPressed = true;
+		return false;
+	}
+
+	// if already holding right button and clicking left, don't do mouse down handling
+	if (mouseButton == SDL_BUTTON_LEFT && mouse.rightButtonPressed)
+	{
+		mouse.leftButtonPressed = true;
+		return false;
+	}
+
+	     if (mouseButton == SDL_BUTTON_LEFT) mouse.leftButtonPressed = true;
+	else if (mouseButton == SDL_BUTTON_RIGHT) mouse.rightButtonPressed = true;
+
+	// don't do mouse down testing here if we already are using an object
+	if (mouse.lastUsedObjectType != OBJECT_NONE)
+		return false;
+
+	// kludge #2
+	if (mouse.lastUsedObjectType != OBJECT_PUSHBUTTON && mouse.lastUsedObjectID != OBJECT_ID_NONE)
+		return false;
+
+	// kludge #3
+	if (!mouse.rightButtonPressed)
+		mouse.lastUsedObjectID = OBJECT_ID_NONE;
+
+	return true;
+}
+
+static bool mouseButtonUpLogic(uint8_t mouseButton)
+{
+	     if (mouseButton == SDL_BUTTON_LEFT) mouse.leftButtonPressed = false;
+	else if (mouseButton == SDL_BUTTON_RIGHT) mouse.rightButtonPressed = false;
+
+	editor.textCursorBlinkCounter = 0;
+
+	// if we used both mouse button at the same time and released *one*, don't release GUI object
+	if ( mouse.leftButtonPressed && !mouse.rightButtonPressed) return false;
+	if (!mouse.leftButtonPressed &&  mouse.rightButtonPressed) return false;
+
+	return true;
+}
+
+// WARNING: This routine must ONLY be called from the main input/video thread!
+int16_t okBox(int16_t typ, char *headline, char *text)
+{
+#define PUSHBUTTON_W 80
+
+	int16_t returnVal, oldLastUsedObjectID, oldLastUsedObjectType;
+	uint16_t x, y, i, tlen, hlen, wlen, tx, knp, headlineX, textX;
+	const uint16_t mid = SCREEN_W / 2;
+	SDL_Event inputEvent;
+	pushButton_t *p;
+	checkBox_t *c;
+
+#ifndef __APPLE__
+	if (!video.fullscreen) // release mouse button trap
+		SDL_SetWindowGrab(video.window, SDL_FALSE);
+#endif
+
+	if (editor.editTextFlag)
+		exitTextEditing();
+
+	// revert "delete/rename" mouse modes (disk op.)
+	if (mouse.mode != MOUSE_MODE_NORMAL)
+		setMouseMode(MOUSE_MODE_NORMAL);
+
+	if (editor.ui.sysReqShown)
+		return 0;
+
+	SDL_EventState(SDL_DROPFILE, SDL_DISABLE);
+
+	editor.ui.sysReqShown = true;
+	mouseAnimOff();
+
+	oldLastUsedObjectID = mouse.lastUsedObjectID;
+	oldLastUsedObjectType = mouse.lastUsedObjectType;
+
+	// count number of buttons
+	knp = 0;
+	while (buttonText[typ][knp][0] != '\0' && knp < 5)
+		knp++;
+
+	tlen = textWidth(text);
+	hlen = textWidth(headline);
+
+	wlen = tlen;
+	if (hlen > tlen)
+		wlen = hlen;
+
+	tx = (knp * 100) - 20;
+	if (tx > wlen)
+		wlen = tx;
+
+	wlen += 100;
+	if (wlen > 600)
+		wlen = 600;
+
+	headlineX = mid - (hlen / 2);
+	textX = mid - (tlen / 2);
+	x = mid - (wlen / 2);
+
+	// the box y position differs in extended pattern editor mode
+	y = editor.ui.extended ? SYSTEM_REQUEST_Y_EXT : SYSTEM_REQUEST_Y;
+
+	// set up buttons
+	for (i = 0; i < knp; i++)
+	{
+		p = &pushButtons[i];
+
+		p->x = (mid - (tx / 2)) + (i * 100);
+		p->y = y + 42;
+		p->w = PUSHBUTTON_W;
+		p->h = 16;
+		p->caption = buttonText[typ][i];
+		p->visible = true;
+	}
+
+	// set up checkbox (special okBox types only!)
+	if (typ >= 6 && typ <= 7)
+	{
+		c = &checkBoxes[0];
+		c->x = x + 5;
+		c->y = y + 50;
+		c->clickAreaWidth = 116;
+		c->clickAreaHeight = 12;
+		c->checked = false;
+
+		if (typ == 6)
+		{
+			// S3M load warning
+			c->callbackFunc = configToggleS3MLoadWarning;
+		}
+		else if (typ == 7)
+		{
+			// "setting not yet applied"
+			c->callbackFunc = configToggleNotYetAppliedWarning;
+		}
+
+		c->visible = true;
+	}
+
+	mouse.lastUsedObjectType = OBJECT_NONE;
+	mouse.lastUsedObjectID = OBJECT_ID_NONE;
+	mouse.leftButtonPressed = 0;
+	mouse.rightButtonPressed = 0;
+
+	// input/rendering loop
+	returnVal = 0;
+	while (editor.ui.sysReqShown)
+	{
+		beginFPSCounter();
+		readMouseXY();
+		setSyncedReplayerVars();
+
+		if (mouse.leftButtonPressed || mouse.rightButtonPressed)
+		{
+			     if (mouse.lastUsedObjectType == OBJECT_PUSHBUTTON) handlePushButtonsWhileMouseDown();
+			else if (mouse.lastUsedObjectType == OBJECT_CHECKBOX) handleCheckBoxesWhileMouseDown();
+		}
+
+		while (SDL_PollEvent(&inputEvent))
+		{
+			if (inputEvent.type == SDL_KEYDOWN)
+			{
+				if (inputEvent.key.keysym.sym == SDLK_ESCAPE)
+				{
+					returnVal = 0;
+					editor.ui.sysReqShown = false;
+				}
+				else if (inputEvent.key.keysym.sym == SDLK_RETURN)
+				{
+					returnVal = 1;
+					editor.ui.sysReqShown = false;
+					keyb.ignoreCurrKeyUp = true; // don't handle key up event for any keys that were pressed
+				}
+
+				for (i = 0; i < knp; i++)
+				{
+					if (shortCut[typ][i] == inputEvent.key.keysym.sym)
+					{
+						returnVal = i + 1;
+						editor.ui.sysReqShown = false;
+						keyb.ignoreCurrKeyUp = true; // don't handle key up event for any keys that were pressed
+						break;
+					}
+				}
+			}
+			else if (inputEvent.type == SDL_MOUSEBUTTONUP)
+			{
+				if (mouseButtonUpLogic(inputEvent.button.button))
+				{
+					if (typ >= 6 && typ <= 7)
+						testCheckBoxMouseRelease();
+
+					returnVal = testPushButtonMouseRelease(false) + 1;
+					if (returnVal > 0)
+						editor.ui.sysReqShown = false;
+
+					mouse.lastUsedObjectID = OBJECT_ID_NONE;
+					mouse.lastUsedObjectType = OBJECT_NONE;
+				}
+			}
+			else if (inputEvent.type == SDL_MOUSEBUTTONDOWN)
+			{
+				if (mouseButtonDownLogic(inputEvent.button.button))
+				{
+					if (testPushButtonMouseDown()) continue;
+					if (testCheckBoxMouseDown()) continue;
+				}
+			}
+
+			if (!editor.ui.sysReqShown)
+				break;
+		}
+
+		if (!editor.ui.sysReqShown)
+			break;
+
+		handleRedrawing();
+
+		// draw OK box
+		drawWindow(wlen);
+		textOutShadow(headlineX, y +  4, PAL_BUTTON1, PAL_BUTTON2, headline);
+		textOutShadow(textX,     y + 24, PAL_BUTTON1, PAL_BUTTON2, text);
+		for (i = 0; i < knp; i++) drawPushButton(i);
+		if (typ >= 6 && typ <= 7)
+		{
+			drawCheckBox(0);
+			textOutShadow(x + 21, y + 52, PAL_BUTTON1, PAL_BUTTON2, "Don't show again");
+		}
+
+		flipFrame();
+		endFPSCounter();
+	}
+
+	for (i = 0; i < knp; i++)
+		hidePushButton(i);
+
+	if (typ >= 6 && typ <= 7)
+		hideCheckBox(0);
+
+	mouse.lastUsedObjectID = oldLastUsedObjectID;
+	mouse.lastUsedObjectType = oldLastUsedObjectType;
+	unstuckLastUsedGUIElement();
+
+	showBottomScreen();
+
+	SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
+	return returnVal;
+}
+
+/* WARNING:
+** - This routine must ONLY be called from the main input/video thread!!
+** - edText must be null-terminated
+*/
+int16_t inputBox(int16_t typ, char *headline, char *edText, uint16_t maxStrLen)
+{
+#define PUSHBUTTON_W 80
+#define TEXTBOX_W 250
+
+	char *inputText;
+	int16_t returnVal, oldLastUsedObjectID, oldLastUsedObjectType;
+	uint16_t y, wlen, tx, knp, headlineX, i;
+	const uint16_t mid = SCREEN_W / 2;
+	SDL_Event inputEvent;
+	pushButton_t *p;
+	textBox_t *t;
+
+	if (editor.editTextFlag)
+		exitTextEditing();
+
+	// revert "delete/rename" mouse modes (disk op.)
+	if (mouse.mode != MOUSE_MODE_NORMAL)
+		setMouseMode(MOUSE_MODE_NORMAL);
+
+	if (editor.ui.sysReqShown)
+		return 0;
+
+	oldLastUsedObjectID = mouse.lastUsedObjectID;
+	oldLastUsedObjectType = mouse.lastUsedObjectType;
+
+	t = &textBoxes[0];
+
+	// set up text box
+	memset(t, 0, sizeof (textBox_t));
+	t->w = TEXTBOX_W;
+	t->h = 12;
+	t->tx = 2;
+	t->ty = 1;
+	t->textPtr = edText;
+	t->maxChars = maxStrLen;
+	t->changeMouseCursor = true;
+	t->renderBufW = (9 + 1) * t->maxChars; // 9 = max character/glyph width possible
+	t->renderBufH = 10; // 10 = max character height possible
+	t->renderW = t->w - (t->tx * 2);
+
+	t->renderBuf = (uint8_t *)malloc(t->renderBufW * t->renderBufH * sizeof (int8_t));
+	if (t->renderBuf == NULL)
+	{
+		okBox(0, "System message", "Not enough memory!");
+		return 0;
+	}
+
+#ifndef __APPLE__
+	if (!video.fullscreen) // release mouse button trap
+		SDL_SetWindowGrab(video.window, SDL_FALSE);
+#endif
+
+	SDL_EventState(SDL_DROPFILE, SDL_DISABLE);
+
+	editor.ui.sysReqShown = true;
+	mouseAnimOff();
+
+	wlen = textWidth(headline);
+	headlineX = mid - (wlen / 2);
+
+	// count number of buttons
+	knp = 0;
+	while (buttonText[typ][knp][0] != '\0' && knp < 5)
+		knp++;
+
+	tx = TEXTBOX_W;
+	if (tx > wlen)
+		wlen = tx;
+
+	tx = (knp * 100) - 20;
+	if (tx > wlen)
+		wlen = tx;
+
+	wlen += 100;
+	if (wlen > 600)
+		wlen = 600;
+
+	// the box y position differs in extended pattern editor mode
+	y = editor.ui.extended ? SYSTEM_REQUEST_Y_EXT : SYSTEM_REQUEST_Y;
+
+	// set further text box settings
+	t->x = mid - (TEXTBOX_W / 2);
+	t->y = y + 24;
+	t->visible = true;
+
+	// setup buttons
+	for (i = 0; i < knp; i++)
+	{
+		p = &pushButtons[i];
+
+		p->w = PUSHBUTTON_W;
+		p->h = 16;
+		p->x = (mid - (tx / 2)) + (i * 100);
+		p->y = y + 42;
+		p->caption = buttonText[typ][i];
+		p->visible = true;
+	}
+
+	keyb.leftShiftPressed = false; // kludge
+	setTextCursorToEnd(t);
+
+	mouse.lastEditBox = 0;
+	editor.editTextFlag = true;
+	SDL_StartTextInput();
+
+	mouse.lastUsedObjectType = OBJECT_NONE;
+	mouse.lastUsedObjectID = OBJECT_ID_NONE;
+	mouse.leftButtonPressed = 0;
+	mouse.rightButtonPressed = 0;
+
+	// input/rendering loop
+	returnVal = 0;
+	while (editor.ui.sysReqShown)
+	{
+		beginFPSCounter();
+		readMouseXY();
+		readKeyModifiers();
+		setSyncedReplayerVars();
+
+		if (mouse.leftButtonPressed || mouse.rightButtonPressed)
+		{
+			     if (mouse.lastUsedObjectType == OBJECT_PUSHBUTTON) handlePushButtonsWhileMouseDown();
+			else if (mouse.lastUsedObjectType == OBJECT_TEXTBOX) handleTextBoxWhileMouseDown();
+		}
+
+		while (SDL_PollEvent(&inputEvent))
+		{
+			if (inputEvent.type == SDL_TEXTINPUT)
+			{
+				if (editor.editTextFlag)
+				{
+					if (keyb.ignoreTextEditKey)
+					{
+						keyb.ignoreTextEditKey = false;
+						continue;
+					}
+
+					inputText = utf8ToCp437(inputEvent.text.text, false);
+					if (inputText != NULL)
+					{
+						if (inputText[0] != '\0')
+							handleTextEditInputChar(inputText[0]);
+
+						free(inputText);
+					}
+				}
+			}
+			else if (inputEvent.type == SDL_KEYDOWN)
+			{
+				if (inputEvent.key.keysym.sym == SDLK_ESCAPE)
+				{
+					returnVal = 0;
+					editor.ui.sysReqShown = false;
+				}
+				else if (inputEvent.key.keysym.sym == SDLK_RETURN)
+				{
+					returnVal = 1;
+					editor.ui.sysReqShown = false;
+					keyb.ignoreCurrKeyUp = true; // don't handle key up event for any keys that were pressed
+				}
+
+				if (editor.editTextFlag)
+				{
+					handleTextEditControl(inputEvent.key.keysym.sym);
+				}
+				else
+				{
+					for (i = 0; i < knp; i++)
+					{
+						if (shortCut[1][i] == inputEvent.key.keysym.sym)
+						{
+							returnVal = i + 1;
+							editor.ui.sysReqShown = false;
+							keyb.ignoreCurrKeyUp = true; // don't handle key up event for any keys that were pressed
+							break;
+						}
+					}
+				}
+			}
+			else if (inputEvent.type == SDL_MOUSEBUTTONUP)
+			{
+				if (mouseButtonUpLogic(inputEvent.button.button))
+				{
+					returnVal = testPushButtonMouseRelease(false) + 1;
+					if (returnVal > 0)
+						editor.ui.sysReqShown = false;
+
+					mouse.lastUsedObjectID = OBJECT_ID_NONE;
+					mouse.lastUsedObjectType = OBJECT_NONE;
+				}
+			}
+			else if (inputEvent.type == SDL_MOUSEBUTTONDOWN)
+			{
+				if (mouseButtonDownLogic(inputEvent.button.button))
+				{
+					if (testTextBoxMouseDown()) continue;
+					if (testPushButtonMouseDown()) continue;
+				}
+			}
+
+			if (!editor.ui.sysReqShown)
+				break;
+		}
+
+		if (!editor.ui.sysReqShown)
+			break;
+
+		handleRedrawing();
+
+		// draw input box
+		drawWindow(wlen);
+		textOutShadow(headlineX, y + 4, PAL_BUTTON1, PAL_BUTTON2, headline);
+		clearRect(t->x, t->y, t->w, t->h);
+		hLine(t->x - 1,    t->y - 1,    t->w + 2, PAL_BUTTON2);
+		vLine(t->x - 1,    t->y,        t->h + 1, PAL_BUTTON2);
+		hLine(t->x,        t->y + t->h, t->w + 1, PAL_BUTTON1);
+		vLine(t->x + t->w, t->y,        t->h,     PAL_BUTTON1);
+		drawTextBox(0);
+		for (i = 0; i < knp; i++) drawPushButton(i);
+
+		flipFrame();
+		endFPSCounter();
+	}
+
+	editor.editTextFlag = false;
+	SDL_StopTextInput();
+
+	for (i = 0; i < knp; i++)
+		hidePushButton(i);
+	hideTextBox(0);
+
+	free(t->renderBuf);
+
+	mouse.lastUsedObjectID = oldLastUsedObjectID;
+	mouse.lastUsedObjectType = oldLastUsedObjectType;
+	unstuckLastUsedGUIElement();
+
+	showBottomScreen();
+
+	SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
+	return returnVal;
+}
+
+// WARNING: This routine must NOT be called from the main input/video thread!
+int16_t okBoxThreadSafe(int16_t typ, char *headline, char *text)
+{
+	// block multiple calls before they are completed (for safety)
+	while (okBoxData.active)
+		SDL_Delay(1000 / VBLANK_HZ);
+
+	okBoxData.typ = typ;
+	okBoxData.headline = headline;
+	okBoxData.text = text;
+	okBoxData.active = true;
+
+	while (okBoxData.active)
+		SDL_Delay(1000 / VBLANK_HZ);
+
+	return okBoxData.returnData;
+}
+
+int16_t quitBox(bool skipQuitMsg)
+{
+	char *text;
+
+	if (editor.ui.sysReqShown)
+		return 0;
+
+	if (!song.isModified && skipQuitMsg)
+		return 1;
+
+	if (song.isModified)
+		text = "You have unsaved changes in your song. Do you still want to quit and lose ALL changes?";
+	else
+		text = "Do you really want to quit?";
+
+	return okBox(2, "System request", text);
+}
--- /dev/null
+++ b/src/ft2_sysreqs.h
@@ -1,0 +1,17 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+int16_t okBoxThreadSafe(int16_t typ, char *headline, char *text);
+int16_t okBox(int16_t typ, char *headline, char *text);
+int16_t quitBox(bool skipQuitMsg);
+int16_t inputBox(int16_t typ, char *headline, char *edText, uint16_t maxStrLen);
+
+// for thread-safe version of okBox()
+struct
+{
+	volatile bool active;
+	int16_t typ, returnData;
+	char *headline, *text;
+} okBoxData;
--- /dev/null
+++ b/src/ft2_textboxes.c
@@ -1,0 +1,1238 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_video.h"
+#include "ft2_config.h"
+#include "ft2_diskop.h"
+#include "ft2_keyboard.h"
+#include "ft2_gfxdata.h"
+#include "ft2_mouse.h"
+
+textBox_t textBoxes[NUM_TEXTBOXES] =
+{
+	// ------ RESERVED TEXTBOXES ------
+	{ 0 },
+
+	/*
+	** -- STRUCT INFO: --
+	**  x    = x position
+	**  y    = y position
+	**  w    = width
+	**  h    = height
+	**  tx   = left padding for text
+	**  ty   = top padding for text
+	**  maxc = max characters in box string
+	**  rmb  = can only be triggered with right mouse button (f.ex. tracker instrument texts)
+	**  cmc  = change mouse cursor when hovering over it
+	*/
+
+	// ------ INSTRUMENT/SAMPLE/SONG NAME TEXTBOXES ------
+	// x,   y,   w,   h,  tx,ty, maxc,       rmb,   cmc
+	{  446,   5, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  16, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  27, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  38, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  49, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  60, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  71, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  82, 140,  10, 1, 0, 22,         true,  false },
+	{  446,  99, 116,  10, 1, 0, 22,         true,  false },
+	{  446, 110, 116,  10, 1, 0, 22,         true,  false },
+	{  446, 121, 116,  10, 1, 0, 22,         true,  false },
+	{  446, 132, 116,  10, 1, 0, 22,         true,  false },
+	{  446, 143, 116,  10, 1, 0, 22,         true,  false },
+	{  424, 158, 160,  12, 2, 1, 20,         false, true  },
+
+	// ------ DISK OP. TEXTBOXES ------
+	// x,   y,   w,   h,  tx,ty, maxc,       rmb,   cmc
+	{   31, 158, 134,  12, 2, 1, PATH_MAX-1, false, true },
+
+	// ------ CONFIG TEXTBOXES ------
+	// x,   y,   w,   h,  tx,ty, maxc,       rmb,   cmc
+	{ 486,   16, 143,  12, 2, 1, 80,         false, true },
+	{ 486,   31, 143,  12, 2, 1, 80,         false, true },
+	{ 486,   46, 143,  12, 2, 1, 80,         false, true },
+	{ 486,   61, 143,  12, 2, 1, 80,         false, true },
+	{ 486,   76, 143,  12, 2, 1, 80,         false, true }
+};
+
+static int16_t markX1, markX2;
+static uint16_t oldCursorPos, oldMouseX;
+
+static void moveTextCursorLeft(int16_t i, bool updateTextBox);
+static void moveTextCursorRight(int16_t i, bool updateTextBox);
+
+static void setSongModifiedFlagIfNeeded(void) // called during keystrokes in text boxes
+{
+	if (mouse.lastEditBox == TB_SONG_NAME ||
+	   (mouse.lastEditBox >= TB_INST1 && mouse.lastEditBox <= TB_INST8) ||
+	   (mouse.lastEditBox >= TB_SAMP1 && mouse.lastEditBox <= TB_SAMP5))
+	{
+		setSongModifiedFlag();
+	}
+}
+
+bool textIsMarked(void)
+{
+	if (markX1 == markX2)
+		return false;
+
+	return true;
+}
+
+static void removeTextMarking(void)
+{
+	markX1 = 0;
+	markX2 = 0;
+}
+
+static int16_t getTextMarkStart(void)
+{
+	if (markX2 < markX1)
+		return markX2;
+
+	return markX1;
+}
+
+static int16_t getTextMarkEnd(void)
+{
+	if (markX1 > markX2)
+		return markX1;
+
+	return markX2;
+}
+
+static int16_t getTextLength(textBox_t *t, uint16_t offset)
+{
+	uint16_t i;
+
+	if (t->textPtr == NULL || offset >= t->maxChars)
+		return 0;
+
+	// count number of characters in text
+	for (i = offset; i < t->maxChars; i++)
+	{
+		if (t->textPtr[i] == '\0')
+			break;
+	}
+
+	i -= offset; // i now contains string length
+	assert(i <= t->maxChars);
+
+	return i;
+}
+
+static void deleteMarkedText(textBox_t *t)
+{
+	int16_t start, end;
+	int32_t i, deleteTextWidth, length;
+
+	if (!textIsMarked())
+		return;
+
+	start = getTextMarkStart();
+	end = getTextMarkEnd();
+
+	assert(start < t->maxChars && end <= t->maxChars);
+
+	// calculate pixel width of string to delete
+	deleteTextWidth = 0;
+	for (i = start; i < end; i++)
+		deleteTextWidth += charWidth(t->textPtr[i]);
+
+	// copy markEnd part to markStart, and add null termination
+	length = (int32_t)strlen(&t->textPtr[end]);
+	if (length > 0)
+		memcpy(&t->textPtr[start], &t->textPtr[end], length);
+	t->textPtr[start+length] = '\0';
+
+	// scroll buffer offset to the left if we are scrolled
+	if (t->bufOffset >= deleteTextWidth)
+		t->bufOffset -= deleteTextWidth;
+	else
+		t->bufOffset = 0;
+
+	// set text cursor to markStart
+	t->cursorPos = start;
+
+	setSongModifiedFlagIfNeeded();
+}
+
+static void setCursorToMarkStart(textBox_t *t)
+{
+	char ch;
+	int16_t start;
+	int32_t startXPos;
+
+	if (!textIsMarked())
+		return;
+
+	start = getTextMarkStart();
+	assert(start < t->maxChars);
+	t->cursorPos = start;
+
+	startXPos = 0;
+	for (int32_t i = 0; i < start; i++)
+	{
+		ch = t->textPtr[i];
+		if (ch == '\0')
+			break;
+
+		startXPos += charWidth(ch);
+	}
+
+	// change buffer offset, if needed
+	if (startXPos < t->bufOffset)
+		t->bufOffset = startXPos;
+}
+
+static void setCursorToMarkEnd(textBox_t *t)
+{
+	char ch;
+	int16_t end;
+	int32_t endXPos;
+
+	if (!textIsMarked())
+		return;
+
+	end = getTextMarkEnd();
+	assert(end <= t->maxChars);
+	t->cursorPos = end;
+
+	endXPos = 0;
+	for (int32_t i = 0; i < end; i++)
+	{
+		ch = t->textPtr[i];
+		if (ch == '\0')
+			break;
+
+		endXPos += charWidth(ch);
+	}
+
+	// change buffer offset, if needed
+	if (endXPos > t->bufOffset+t->renderW)
+		t->bufOffset = endXPos - t->renderW;
+}
+
+static void copyMarkedText(textBox_t *t)
+{
+	int32_t length, start, end;
+	char *utf8Text;
+
+	if (!textIsMarked())
+		return;
+
+	start = getTextMarkStart();
+	end = getTextMarkEnd();
+
+	assert(start < t->maxChars && end <= t->maxChars);
+
+	length = end - start;
+	if (length < 1)
+		return;
+
+	utf8Text = cp437ToUtf8(&t->textPtr[start]);
+	if (utf8Text != NULL)
+	{
+		SDL_SetClipboardText(utf8Text);
+		free(utf8Text);
+	}
+}
+
+static void cutMarkedText(textBox_t *t)
+{
+	if (!textIsMarked())
+		return;
+
+	copyMarkedText(t);
+	deleteMarkedText(t);
+	removeTextMarking();
+
+	drawTextBox(mouse.lastEditBox);
+}
+
+static void pasteText(textBox_t *t)
+{
+	char *copiedText, *copiedTextUtf8, *endPart;
+	uint16_t endOffset;
+	int32_t textLength, roomLeft, copiedTextLength, endPartLength;
+
+	if (!SDL_HasClipboardText())
+		return;
+
+	// if we've marked text, delete it and remove text marking
+	if (textIsMarked())
+	{
+		deleteMarkedText(t);
+		removeTextMarking();
+	}
+
+	if (t->cursorPos >= t->maxChars)
+		return;
+
+	textLength = getTextLength(t, 0);
+
+	roomLeft = t->maxChars - textLength;
+	if (roomLeft <= 0)
+		return; // no more room!
+ 
+	copiedTextUtf8 = SDL_GetClipboardText();
+
+	copiedText = utf8ToCp437(copiedTextUtf8, true);
+	if (copiedText == NULL)
+		return;
+
+	copiedTextLength = (int32_t)strlen(copiedText);
+	if (copiedTextLength > roomLeft)
+		copiedTextLength = roomLeft;
+
+	endOffset = t->cursorPos;
+	endPart = NULL; // prevent false compiler warning
+
+	endPartLength = getTextLength(t, endOffset);
+	if (endPartLength > 0)
+	{
+		endPart = (char *)malloc(endPartLength + 1);
+		if (endPart == NULL)
+		{
+			free(copiedText);
+			okBox(0, "System message", "Not enough memory!");
+			return;
+		}
+	}
+
+	// make a copy of end data
+	if (endPartLength > 0)
+	{
+		memcpy(endPart, &t->textPtr[endOffset], endPartLength);
+		endPart[endPartLength] = '\0';
+	}
+
+	// paste copied data
+	memcpy(&t->textPtr[endOffset], copiedText, copiedTextLength);
+	t->textPtr[endOffset+copiedTextLength] = '\0';
+	free(copiedText);
+
+	// append end data
+	if (endPartLength > 0)
+	{
+		strcat(&t->textPtr[endOffset+copiedTextLength], endPart);
+		free(endPart);
+	}
+
+	for (int32_t i = 0; i < copiedTextLength; i++)
+		moveTextCursorRight(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+
+	drawTextBox(mouse.lastEditBox);
+
+	setSongModifiedFlagIfNeeded();
+}
+
+void exitTextEditing(void)
+{
+	if (!editor.editTextFlag)
+		return;
+
+	if (mouse.lastEditBox >= 0 && mouse.lastEditBox < NUM_TEXTBOXES)
+	{
+		textBoxes[mouse.lastEditBox].bufOffset = 0;
+		removeTextMarking();
+		drawTextBox(mouse.lastEditBox);
+	}
+
+	if (mouse.lastEditBox == TB_DISKOP_FILENAME && getDiskOpItem() == DISKOP_ITEM_MODULE)
+	{
+		updateCurrSongFilename(); // for window title
+		updateWindowTitle(true);
+	}
+
+	keyb.ignoreCurrKeyUp = true; // prevent a note being played (on enter key)
+	editor.editTextFlag = false;
+
+	hideSprite(SPRITE_TEXT_CURSOR);
+	SDL_StopTextInput();
+}
+
+static int16_t cursorPosToX(textBox_t *t)
+{
+	int32_t x;
+
+	assert(t->textPtr != NULL);
+
+	x = -1; // cursor starts one pixel before character
+	for (int16_t i = 0; i < t->cursorPos; i++)
+		x += charWidth(t->textPtr[i]);
+ 
+	x -= t->bufOffset; // subtract by buffer offset to get real X position
+	return (int16_t)x;
+}
+
+int16_t getTextCursorX(textBox_t *t)
+{
+	return t->x + t->tx + cursorPosToX(t);
+}
+
+int16_t getTextCursorY(textBox_t *t)
+{
+	return t->y + t->ty;
+}
+
+static void scrollTextBufferLeft(textBox_t *t)
+{
+	// scroll buffer and clamp
+	t->bufOffset -= TEXT_SCROLL_VALUE;
+	if (t->bufOffset < 0)
+		t->bufOffset = 0;
+}
+
+static void scrollTextBufferRight(textBox_t *t, uint16_t numCharsInText)
+{
+	int32_t textEnd;
+
+	assert(numCharsInText <= t->maxChars);
+
+	// get end of text position
+	textEnd = 0;
+	for (uint16_t j = 0; j < numCharsInText; j++)
+		textEnd += charWidth(t->textPtr[j]);
+
+	// subtract by text box width and clamp to 0
+	textEnd -= t->renderW;
+	if (textEnd < 0)
+		textEnd = 0;
+
+	// scroll buffer and clamp
+	t->bufOffset += TEXT_SCROLL_VALUE;
+	if (t->bufOffset > textEnd)
+		t->bufOffset = textEnd;
+}
+
+static void moveTextCursorToMouseX(uint16_t textBoxID)
+{
+	int8_t cw;
+	int16_t i, numChars, cursorPos;
+	int32_t mx, tx, tx2;
+	textBox_t *t;
+
+	t = &textBoxes[textBoxID];
+	if ((mouse.x == t->x && t->bufOffset == 0) || t->textPtr == NULL || t->textPtr[0] == '\0')
+	{
+		t->cursorPos = 0;
+		return;
+	}
+
+	numChars = getTextLength(t, 0);
+
+	// find out what character we are clicking at, and set cursor to that character
+	mx = t->bufOffset + mouse.x;
+	tx = (t->x + t->tx) - 1;
+	cw = -1;
+
+	for (i = 0; i < numChars; i++)
+	{
+		cw = charWidth(t->textPtr[i]);
+		tx2 = tx + cw;
+
+		if (mx >= tx && mx < tx2)
+		{
+			t->cursorPos = i;
+			break;
+		}
+
+		tx += cw;
+	}
+
+	// set to last character if we clicked outside the end of the text
+	if (i == numChars && mx >= tx)
+		t->cursorPos = numChars;
+
+	if (cw != -1)
+	{
+		cursorPos = cursorPosToX(t);
+
+		// scroll buffer to the right if needed
+		if (cursorPos+cw > t->renderW)
+			scrollTextBufferRight(t, numChars);
+
+		// scroll buffer to the left if needed
+		else if (cursorPos < 0-1)
+			scrollTextBufferLeft(t);
+	}
+
+	editor.textCursorBlinkCounter = 0;
+}
+
+static void textOutBuf(uint8_t *dstBuffer, uint32_t dstWidth, uint8_t paletteIndex, char *text, uint32_t maxTextLen)
+{
+	char chr;
+	uint8_t *dstPtr;
+	const uint8_t *srcPtr;
+	uint16_t currX;
+
+	assert(text != NULL);
+	if (*text == '\0')
+		return; // empty string
+
+	currX = 0;
+	for (uint32_t i = 0; i < maxTextLen; i++)
+	{
+		chr = *text++ & 0x7F;
+		if (chr == '\0')
+			break;
+
+		if (chr != ' ')
+		{
+			srcPtr = &font1Data[chr * FONT1_CHAR_W];
+			dstPtr = &dstBuffer[currX];
+
+			for (uint32_t y = 0; y < FONT1_CHAR_H; y++)
+			{
+				for (uint32_t x = 0; x < FONT1_CHAR_W; x++)
+				{
+					if (srcPtr[x])
+						dstPtr[x] = paletteIndex;
+				}
+
+				srcPtr += FONT1_WIDTH;
+				dstPtr += dstWidth;
+			}
+		}
+
+		currX += charWidth(chr);
+	}
+}
+
+static void blitClipW(uint16_t xPos, uint16_t yPos, const uint8_t *srcPtr, uint16_t w, uint16_t h, uint16_t clipW)
+{
+	uint16_t blitW;
+	uint32_t *dstPtr;
+
+	blitW = w;
+	if (blitW > clipW)
+		blitW = clipW;
+
+	assert(xPos < SCREEN_W && yPos < SCREEN_H && xPos+blitW <= SCREEN_W && yPos+h <= SCREEN_H && srcPtr != NULL);
+
+	dstPtr = &video.frameBuffer[(yPos * SCREEN_W) + xPos];
+	for (uint32_t y = 0; y < h; y++)
+	{
+		for (uint32_t x = 0; x < blitW; x++)
+		{
+			if (srcPtr[x] != PAL_TRANSPR)
+				dstPtr[x] = video.palette[srcPtr[x]];
+		}
+
+		srcPtr += w;
+		dstPtr += SCREEN_W;
+	}
+}
+
+ // a lot of filling here, but textboxes are small so no problem...
+void drawTextBox(uint16_t textBoxID)
+{
+	char ch;
+	int8_t cw;
+	uint8_t pal;
+	int32_t start, end, x1, x2, length;
+	textBox_t *t;
+
+	assert(textBoxID < NUM_TEXTBOXES);
+	t = &textBoxes[textBoxID];
+	if (!t->visible)
+		return;
+
+	// test if buffer offset is not overflowing
+#ifdef _DEBUG
+	if (t->renderBufW > t->renderW)
+		assert(t->bufOffset <= t->renderBufW-t->renderW);
+#endif
+
+	// fill text rendering buffer with transparency key
+	memset(t->renderBuf, PAL_TRANSPR, t->renderBufW * t->renderBufH);
+
+	if (t->textPtr == NULL)
+		return;
+
+	// draw text mark background
+	if (textIsMarked())
+	{
+		hideSprite(SPRITE_TEXT_CURSOR);
+
+		start = getTextMarkStart();
+		end = getTextMarkEnd();
+
+		assert(start < t->maxChars && end <= t->maxChars);
+
+		// find pixel start/length from markX1 and markX2
+
+		x1 = 0; x2 = 0;
+		for (int32_t i = 0; i < end; i++)
+		{
+			ch = t->textPtr[i];
+			if (ch == '\0')
+				break;
+
+			cw = charWidth(ch);
+			if (i < start)
+				x1 += cw;
+
+			x2 += cw;
+		}
+
+		// render text mark background
+		if (x1 != x2)
+		{
+			start = x1;
+			length = x2 - x1;
+
+			assert(start+length <= t->renderBufW);
+			for (uint16_t y = 0; y < t->renderBufH; y++)
+				memset(&t->renderBuf[(y * t->renderBufW) + start], PAL_TEXTMRK, length);
+		}
+	}
+
+	// render text to text render buffer
+	textOutBuf(t->renderBuf, t->renderBufW, PAL_FORGRND, t->textPtr, t->maxChars);
+
+	// fill screen rect background color (not always needed, but I'm lazy)
+	pal = video.frameBuffer[(t->y * SCREEN_W) + t->x] >> 24; // get background palette (stored in alpha channel)
+	fillRect(t->x + t->tx, t->y + t->ty, t->renderW, 10, pal); // 10 = tallest possible glyph/char height
+
+	// render visible part of text render buffer to screen
+	blitClipW(t->x + t->tx, t->y + t->ty, &t->renderBuf[t->bufOffset], t->renderBufW, t->renderBufH, t->renderW);
+}
+
+void showTextBox(uint16_t textBoxID)
+{
+	assert(textBoxID < NUM_TEXTBOXES);
+	textBoxes[textBoxID].visible = true;
+}
+
+void hideTextBox(uint16_t textBoxID)
+{
+	assert(textBoxID < NUM_TEXTBOXES);
+	hideSprite(SPRITE_TEXT_CURSOR);
+	textBoxes[textBoxID].visible = false;
+}
+
+static void setMarkX2ToMouseX(textBox_t *t)
+{
+	int8_t cw;
+	int16_t i, numChars;
+	int32_t mx, tx, tx2;
+
+	if (t->textPtr == NULL || t->textPtr[0] == '\0')
+	{
+		removeTextMarking();
+		return;
+	}
+
+	if (markX2 < markX1 && mouse.x < t->x+t->tx)
+	{
+		markX2 = 0;
+		return;
+	}
+
+	numChars = getTextLength(t, 0);
+
+	// find out what character we are clicking at, and set markX2 to that character
+	mx = t->bufOffset + mouse.x;
+	tx = (t->x + t->tx) - 1;
+
+	for (i = 0; i < numChars; i++)
+	{
+		cw  = charWidth(t->textPtr[i]);
+		tx2 = tx + cw;
+
+		if (mx >= tx && mx < tx2)
+		{
+			markX2 = i;
+			break;
+		}
+
+		tx += cw;
+	}
+
+	// set to last character if we clicked outside the end of the text
+	if (i == numChars && mx >= tx)
+		markX2 = numChars;
+
+	if (mouse.x >= t->x+t->w-3)
+	{
+		scrollTextBufferRight(t, numChars);
+		if (++markX2 > numChars)
+			markX2 = numChars;
+	}
+	else if (mouse.x <= t->x+t->tx+3)
+	{
+		if (t->bufOffset > 0)
+		{
+			scrollTextBufferLeft(t);
+			if (--markX2 < 0)
+				markX2 = 0;
+		}
+	}
+
+	t->cursorPos = markX2;
+	assert(t->cursorPos >= 0 && t->cursorPos <= getTextLength(t, 0));
+
+	editor.textCursorBlinkCounter = 0;
+}
+
+void handleTextBoxWhileMouseDown(void)
+{
+	textBox_t *t;
+
+	assert(mouse.lastUsedObjectID >= 0 && mouse.lastUsedObjectID < NUM_TEXTBOXES);
+	t = &textBoxes[mouse.lastUsedObjectID];
+	if (!t->visible)
+		return;
+
+	if (mouse.x != oldMouseX)
+	{
+		oldMouseX = mouse.x;
+
+		markX1 = oldCursorPos;
+		setMarkX2ToMouseX(t);
+
+		drawTextBox(mouse.lastUsedObjectID);
+	}
+}
+
+bool testTextBoxMouseDown(void)
+{
+	uint16_t start, end;
+	textBox_t *t;
+
+	oldMouseX = mouse.x;
+	oldCursorPos = 0;
+
+	if (editor.ui.sysReqShown)
+	{
+		// if a system request is open, only test the first textbox (reserved)
+		start = 0;
+		end = 1;
+	}
+	else
+	{
+		start = 1;
+		end = NUM_TEXTBOXES;
+	}
+
+	for (uint16_t i = start; i < end; i++)
+	{
+		t = &textBoxes[i];
+		if (!t->visible || t->textPtr == NULL)
+			continue;
+
+		if (mouse.y >= t->y && mouse.y < t->y+t->h &&
+		    mouse.x >= t->x && mouse.x < t->x+t->w)
+		{
+			if (!mouse.rightButtonPressed && t->rightMouseButton)
+				break;
+
+			// if we were editing another text box and clicked on another one, properly end it
+			if (editor.editTextFlag && i != mouse.lastEditBox)
+				exitTextEditing();
+
+			mouse.lastEditBox = i;
+			moveTextCursorToMouseX(mouse.lastEditBox);
+
+			oldCursorPos = t->cursorPos;
+			removeTextMarking();
+			drawTextBox(mouse.lastEditBox);
+
+			editor.textCursorBlinkCounter  = 0;
+			mouse.lastUsedObjectType = OBJECT_TEXTBOX;
+			mouse.lastUsedObjectID = i;
+
+			editor.editTextFlag = true;
+
+			SDL_StartTextInput();
+			return true;
+		}
+	}
+
+	// if we were editing text and we clicked outside of a text box, exit text editing
+	if (editor.editTextFlag)
+		exitTextEditing();
+
+	return false;
+}
+
+void updateTextBoxPointers(void)
+{
+	uint8_t i;
+	instrTyp *curIns = instr[editor.curInstr];
+
+	// instrument names
+	for (i = 0; i < 8; i++)
+		textBoxes[TB_INST1+i].textPtr = song.instrName[1+editor.instrBankOffset+i];
+
+	// sample names
+	if (editor.curInstr == 0 || curIns == NULL)
+	{
+		for (i = 0; i < 5; i++)
+			textBoxes[TB_SAMP1+i].textPtr = NULL;
+	}
+	else
+	{
+		for (i = 0; i < 5; i++)
+			textBoxes[TB_SAMP1+i].textPtr = curIns->samp[editor.sampleBankOffset+i].name;
+	}
+
+	// song name
+	textBoxes[TB_SONG_NAME].textPtr = song.name;
+}
+
+void setupInitialTextBoxPointers(void)
+{
+	textBoxes[TB_CONF_DEF_MODS_DIR].textPtr = config.modulesPath;
+	textBoxes[TB_CONF_DEF_INSTRS_DIR].textPtr = config.instrPath;
+	textBoxes[TB_CONF_DEF_SAMPS_DIR].textPtr = config.samplesPath;
+	textBoxes[TB_CONF_DEF_PATTS_DIR].textPtr = config.patternsPath;
+	textBoxes[TB_CONF_DEF_TRACKS_DIR].textPtr = config.tracksPath;
+}
+
+void setTextCursorToEnd(textBox_t *t)
+{
+	char ch;
+	uint16_t numChars;
+	uint32_t textWidth;
+
+	// count number of chars and get full text width
+	textWidth = 0;
+	for (numChars = 0; numChars < t->maxChars; numChars++)
+	{
+		ch = t->textPtr[numChars];
+		if (ch == '\0')
+			break;
+
+		textWidth += charWidth(ch);
+	}
+
+	// if cursor is not at the end, handle text marking
+	if (t->cursorPos < numChars)
+	{
+		if (keyb.leftShiftPressed)
+		{
+			if (!textIsMarked())
+				markX1 = t->cursorPos;
+
+			markX2 = numChars;
+		}
+		else
+		{
+			removeTextMarking();
+		}
+	}
+
+	t->cursorPos = numChars;
+
+	t->bufOffset = 0;
+	if (textWidth > t->renderW)
+		t->bufOffset = textWidth - t->renderW;
+
+	drawTextBox(mouse.lastEditBox);
+	editor.textCursorBlinkCounter = 0;
+}
+
+void handleTextEditControl(SDL_Keycode keycode)
+{
+	int16_t i;
+	uint16_t numChars;
+	int32_t textLength;
+	uint32_t textWidth;
+	textBox_t *t;
+
+	assert(mouse.lastEditBox >= 0 && mouse.lastEditBox < NUM_TEXTBOXES);
+
+	t = &textBoxes[mouse.lastEditBox];
+	assert(t->textPtr != NULL);
+
+	switch (keycode)
+	{
+		case SDLK_ESCAPE:
+		{
+			removeTextMarking();
+			exitTextEditing();
+		}
+		break;
+
+		case SDLK_a:
+		{
+			// CTRL+A - mark all text
+			if (keyb.ctrlPressed || keyb.commandPressed)
+			{
+				// count number of chars and get full text width
+				textWidth = 0;
+				for (numChars = 0; numChars < t->maxChars; numChars++)
+				{
+					if (t->textPtr[numChars] == '\0')
+						break;
+
+					textWidth += charWidth(t->textPtr[numChars]);
+				}
+
+				markX1 = 0;
+				markX2 = numChars;
+				t->cursorPos = markX2;
+
+				t->bufOffset = 0;
+				if (textWidth > t->renderW)
+					t->bufOffset = textWidth - t->renderW;
+
+				drawTextBox(mouse.lastEditBox);
+			}
+		}
+		break;
+
+		case SDLK_x:
+		{
+			// CTRL+X - cut marked text
+			if (keyb.ctrlPressed || keyb.commandPressed)
+				cutMarkedText(t);
+		}
+		break;
+
+		case SDLK_c:
+		{
+			// CTRL+C - copy marked text
+			if (keyb.ctrlPressed || keyb.commandPressed)
+				copyMarkedText(t);
+		}
+		break;
+
+		case SDLK_v:
+		{
+			// CTRL+V - paste text
+			if (keyb.ctrlPressed || keyb.commandPressed)
+				pasteText(t);
+		}
+		break;
+
+		case SDLK_KP_ENTER:
+		case SDLK_RETURN:
+		{
+			// ALT+ENTER = toggle fullscreen, even while text editing
+			if (keyb.leftAltPressed)
+				toggleFullScreen();
+			else
+				exitTextEditing();
+		}
+		break;
+
+		case SDLK_LEFT:
+		{
+			if (keyb.leftShiftPressed)
+			{
+				if (!textIsMarked())
+				{
+					// no marking, mark character to left from cursor
+					if (t->cursorPos > 0)
+					{
+						markX1 = t->cursorPos;
+						moveTextCursorLeft(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+						markX2 = t->cursorPos;
+
+						drawTextBox(mouse.lastEditBox);
+					}
+				}
+				else
+				{
+					// marking, extend/shrink marking
+					if (markX2 > 0)
+					{
+						t->cursorPos = markX2;
+						markX2--;
+						moveTextCursorLeft(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+						drawTextBox(mouse.lastEditBox);
+					}
+				}
+			}
+			else
+			{
+				if (textIsMarked())
+				{
+					setCursorToMarkStart(t);
+					removeTextMarking();
+				}
+				else
+				{
+					removeTextMarking();
+					moveTextCursorLeft(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+				}
+
+				drawTextBox(mouse.lastEditBox);
+			}
+		}
+		break;
+
+		case SDLK_RIGHT:
+		{
+			if (keyb.leftShiftPressed)
+			{
+				textLength = getTextLength(t, 0);
+
+				if (!textIsMarked())
+				{
+					if (t->cursorPos < textLength)
+					{
+						markX1 = t->cursorPos;
+						moveTextCursorRight(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+						markX2 = t->cursorPos;
+
+						drawTextBox(mouse.lastEditBox);
+					}
+				}
+				else
+				{
+					// marking, extend/shrink marking
+					if (markX2 < textLength)
+					{
+						t->cursorPos = markX2;
+						markX2++;
+						moveTextCursorRight(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+						drawTextBox(mouse.lastEditBox);
+					}
+				}
+			}
+			else
+			{
+				if (textIsMarked())
+				{
+					setCursorToMarkEnd(t);
+					removeTextMarking();
+				}
+				else
+				{
+					removeTextMarking();
+					moveTextCursorRight(mouse.lastEditBox, TEXTBOX_NO_UPDATE);
+				}
+
+				drawTextBox(mouse.lastEditBox);
+			}
+		}
+		break;
+
+		case SDLK_BACKSPACE:
+		{
+			if (textIsMarked())
+			{
+				deleteMarkedText(t);
+				removeTextMarking();
+				drawTextBox(mouse.lastEditBox);
+				break;
+			}
+
+			removeTextMarking();
+
+			if (t->cursorPos > 0 && t->textPtr[0] != '\0')
+			{
+				// scroll buffer offset if we are scrolled
+				if (t->bufOffset > 0)
+				{
+					t->bufOffset -= charWidth(t->textPtr[t->cursorPos-1]);
+					if (t->bufOffset < 0)
+						t->bufOffset = 0;
+				}
+
+				moveTextCursorLeft(mouse.lastEditBox, TEXTBOX_UPDATE);
+
+				i = t->cursorPos;
+				while (i < t->maxChars)
+				{
+					t->textPtr[i] = t->textPtr[i+1];
+					if (t->textPtr[i] == '\0')
+						break;
+					i++;
+				}
+
+				drawTextBox(mouse.lastEditBox);
+				setSongModifiedFlagIfNeeded();
+			}
+		}
+		break;
+
+		case SDLK_DELETE:
+		{
+			if (textIsMarked())
+			{
+				deleteMarkedText(t);
+				removeTextMarking();
+				drawTextBox(mouse.lastEditBox);
+				break;
+			}
+
+			if (t->textPtr[t->cursorPos] != '\0' && t->textPtr[0] != '\0' && t->cursorPos < t->maxChars)
+			{
+				// scroll buffer offset if we are scrolled
+				if (t->bufOffset > 0)
+				{
+					t->bufOffset -= charWidth(t->textPtr[t->cursorPos]);
+					if (t->bufOffset < 0)
+						t->bufOffset = 0;
+				}
+
+				i = t->cursorPos;
+				while (i < t->maxChars)
+				{
+					if (t->textPtr[i] == '\0')
+						break;
+
+					t->textPtr[i] = t->textPtr[i+1];
+					i++;
+				}
+
+				drawTextBox(mouse.lastEditBox);
+				setSongModifiedFlagIfNeeded();
+			}
+		}
+		break;
+
+		case SDLK_HOME:
+		{
+			if (keyb.leftShiftPressed)
+			{
+				if (!textIsMarked())
+					markX1 = t->cursorPos;
+
+				markX2 = 0;
+				t->bufOffset = 0;
+				t->cursorPos = 0;
+			}
+			else
+			{
+				removeTextMarking();
+
+				if (t->cursorPos > 0)
+				{
+					t->cursorPos = 0;
+					t->bufOffset = 0;
+
+					editor.textCursorBlinkCounter = 0;
+				}
+			}
+
+			drawTextBox(mouse.lastEditBox);
+		}
+		break;
+
+		case SDLK_END:
+		{
+			setTextCursorToEnd(t);
+		}
+		break;
+
+		default: break;
+	}
+}
+
+void handleTextEditInputChar(char textChar)
+{
+	int8_t ch;
+	int16_t i;
+	textBox_t *t;
+
+	assert(mouse.lastEditBox >= 0 && mouse.lastEditBox < NUM_TEXTBOXES);
+
+	t = &textBoxes[mouse.lastEditBox];
+	if (t->textPtr == NULL)
+		return;
+
+	ch = (int8_t)textChar;
+	if (ch < 32 && ch != -124 && ch != -108 && ch != -122 && ch != -114 && ch != -103 && ch != -113)
+		return; // allow certain codepage 437 nordic characters
+
+	if (textIsMarked())
+	{
+		deleteMarkedText(t);
+		removeTextMarking();
+	}
+
+	if (t->cursorPos >= 0 && t->cursorPos < t->maxChars)
+	{
+		i = getTextLength(t, 0);
+		if (i < t->maxChars) // do we have room for a new character?
+		{
+			t->textPtr[i+1] = '\0';
+
+			// if string not empty, shift string to the right to make space for char insertion
+			if (i > 0)
+			{
+				for (; i > t->cursorPos; i--)
+					t->textPtr[i] = t->textPtr[i-1];
+			}
+
+			t->textPtr[t->cursorPos] = textChar;
+
+			moveTextCursorRight(mouse.lastEditBox, TEXTBOX_UPDATE); // also updates textbox
+			setSongModifiedFlagIfNeeded();
+		}
+	}
+}
+
+static void moveTextCursorLeft(int16_t i, bool updateTextBox)
+{
+	textBox_t *t;
+
+	t = &textBoxes[i];
+	if (t->cursorPos == 0)
+		return;
+
+	t->cursorPos--;
+
+	// scroll buffer if needed
+	if (cursorPosToX(t) < 0-1)
+		scrollTextBufferLeft(t);
+
+	if (updateTextBox)
+		drawTextBox(i);
+
+	editor.textCursorBlinkCounter = 0; // reset text cursor blink timer
+}
+
+static void moveTextCursorRight(int16_t i, bool updateTextBox)
+{
+	uint16_t numChars;
+	textBox_t *t;
+
+	t = &textBoxes[i];
+
+	numChars = getTextLength(t, 0);
+	if (t->cursorPos >= numChars)
+		return;
+
+	t->cursorPos++;
+
+	// scroll buffer if needed
+	if (cursorPosToX(t) >= t->renderW)
+		scrollTextBufferRight(t, numChars);
+
+	if (updateTextBox)
+		drawTextBox(i);
+
+	editor.textCursorBlinkCounter = 0; // reset text cursor blink timer
+}
+
+void freeTextBoxes(void)
+{
+	textBox_t *t;
+
+	// free text box buffers (skip first entry, it's reserved for inputBox())
+	for (int32_t i = 1; i < NUM_TEXTBOXES; i++)
+	{
+		t = &textBoxes[i];
+		if (t->renderBuf != NULL)
+		{
+			free(t->renderBuf);
+			t->renderBuf = NULL;
+		}
+	}
+}
--- /dev/null
+++ b/src/ft2_textboxes.h
@@ -1,0 +1,78 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <SDL2/SDL.h>
+
+enum // TEXTBOXES
+{
+	TB_RES_1, // reserved
+
+	TB_INST1,
+	TB_INST2,
+	TB_INST3,
+	TB_INST4,
+	TB_INST5,
+	TB_INST6,
+	TB_INST7,
+	TB_INST8,
+
+	TB_SAMP1,
+	TB_SAMP2,
+	TB_SAMP3,
+	TB_SAMP4,
+	TB_SAMP5,
+
+	TB_SONG_NAME,
+
+	TB_DISKOP_FILENAME,
+
+	TB_CONF_DEF_MODS_DIR,
+	TB_CONF_DEF_INSTRS_DIR,
+	TB_CONF_DEF_SAMPS_DIR,
+	TB_CONF_DEF_PATTS_DIR,
+	TB_CONF_DEF_TRACKS_DIR,
+
+	NUM_TEXTBOXES
+};
+
+#define TEXT_CURSOR_BLINK_RATE 6
+#define TEXT_SCROLL_VALUE 30
+
+enum
+{
+	TEXTBOX_NO_UPDATE = 0,
+	TEXTBOX_UPDATE = 1
+};
+
+typedef struct textBox_t // DO NOT TOUCH!
+{
+	uint16_t x, y, w;
+	uint8_t h, tx, ty;
+	uint16_t maxChars;
+	bool rightMouseButton, changeMouseCursor;
+
+	// these ones are changed at run time
+	char *textPtr;
+	bool visible;
+	uint8_t *renderBuf;
+	int16_t cursorPos;
+	uint16_t renderW, renderBufW, renderBufH;
+	int32_t bufOffset;
+} textBox_t;
+
+bool textIsMarked(void);
+void exitTextEditing(void);
+int16_t getTextCursorX(textBox_t *t);
+int16_t getTextCursorY(textBox_t *t);
+void drawTextBox(uint16_t textBoxID);
+void showTextBox(uint16_t textBoxID);
+void hideTextBox(uint16_t textBoxID);
+bool testTextBoxMouseDown(void);
+void updateTextBoxPointers(void);
+void setupInitialTextBoxPointers(void);
+void setTextCursorToEnd(textBox_t *t);
+void handleTextEditControl(SDL_Keycode keycode);
+void handleTextEditInputChar(char textChar);
+void handleTextBoxWhileMouseDown(void);
+void freeTextBoxes(void);
--- /dev/null
+++ b/src/ft2_trim.c
@@ -1,0 +1,1244 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <math.h>
+#include "ft2_header.h"
+#include "ft2_sample_ed.h"
+#include "ft2_gui.h"
+#include "ft2_scopes.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_replayer.h"
+#include "ft2_audio.h"
+#include "ft2_mouse.h"
+
+// Messy But Works�
+
+static char byteFormatBuffer[64], tmpInstrName[1 + MAX_INST][22 + 1], tmpInstName[MAX_INST][22 + 1];
+static bool removePatt, removeInst, removeSamp, removeChans, removeSmpDataAfterLoop, convSmpsTo8Bit;
+static uint8_t instrUsed[MAX_INST], instrOrder[MAX_INST], pattUsed[MAX_PATTERNS], pattOrder[MAX_PATTERNS];
+static int16_t oldPattLens[MAX_PATTERNS], tmpPattLens[MAX_PATTERNS];
+static int64_t xmSize64 = -1, xmAfterTrimSize64 = -1, spaceSaved64 = -1;
+static tonTyp *oldPatts[MAX_PATTERNS], *tmpPatt[MAX_PATTERNS];
+static instrTyp *tmpInstr[1 + MAX_INST], *tmpInst[MAX_INST]; // tmpInstr[x] = copy of instr[x] for "after trim" size calculation
+static SDL_Thread *trimThread;
+
+void pbTrimCalc(void);
+
+static void freeTmpInstruments(void)
+{
+	for (int16_t i = 0; i <= MAX_INST; i++)
+	{
+		if (tmpInstr[i] != NULL)
+		{
+			free(tmpInstr[i]);
+			tmpInstr[i] = NULL;
+		}
+	}
+}
+
+static bool setTmpInstruments(void)
+{
+	freeTmpInstruments();
+
+	for (int16_t i = 0; i <= MAX_INST; i++)
+	{
+		if (instr[i] != NULL)
+		{
+			tmpInstr[i] = (instrTyp *)malloc(sizeof (instrTyp));
+			if (tmpInstr[i] == NULL)
+			{
+				freeTmpInstruments();
+				return false;
+			}
+
+			memcpy(tmpInstr[i], instr[i], sizeof (instrTyp));
+		}
+	}
+
+	return true;
+}
+
+static void remapInstrInSong(uint8_t src, uint8_t dst, int16_t ap)
+{
+	int32_t readLen;
+	tonTyp *pattPtr, *note;
+
+	for (int16_t i = 0; i < ap; i++)
+	{
+		pattPtr = patt[i];
+		if (pattPtr == NULL)
+			continue;
+
+		readLen = pattLens[i] * MAX_VOICES;
+		for (int32_t j = 0; j < readLen; j++)
+		{
+			note = &pattPtr[j];
+			if (note->instr == src)
+				note->instr = dst;
+		}
+	}
+}
+
+static int16_t getUsedTempSamples(uint16_t nr)
+{
+	int16_t i, j;
+	instrTyp *ins;
+
+	if (tmpInstr[nr] == NULL)
+		return 0;
+
+	ins = tmpInstr[nr];
+
+	i = 16 - 1;
+	while (i >= 0 && ins->samp[i].pek == NULL && ins->samp[i].name[0] == '\0')
+		i--;
+
+	/* Yes, 'i' can be -1 here, and will be set to at least 0
+	** because of ins->ta values. Possibly an FT2 bug... */
+	for (j = 0; j < 96; j++)
+	{
+		if (ins->ta[j] > i)
+			i = ins->ta[j];
+	}
+
+	return i+1;
+}
+
+static int64_t getTempInsAndSmpSize(void)
+{
+	int16_t a, j, ai;
+	int64_t currSize64;
+	instrTyp *ins;
+
+	ai = MAX_INST;
+	while (ai > 0 && getUsedTempSamples(ai) == 0 && tmpInstrName[ai][0] == '\0')
+		ai--;
+
+	currSize64 = 0;
+
+	// count instrument and sample data size in song
+	for (int16_t i = 1; i <= ai; i++)
+	{
+		if (tmpInstr[i] == NULL)
+			j = 0;
+		else
+			j = i;
+
+		a = getUsedTempSamples(i);
+		if (a > 0)
+			currSize64 += INSTR_HEADER_SIZE + (a * sizeof (sampleHeaderTyp));
+		else
+			currSize64 += 22+11;
+
+		ins = tmpInstr[j];
+		for (int16_t k = 0; k < a; k++)
+		{
+			if (ins->samp[k].pek != NULL)
+				currSize64 += ins->samp[k].len;
+		}
+	}
+
+	return currSize64;
+}
+
+static void wipeInstrUnused(bool testWipeSize, int16_t *ai, int16_t ap, uint8_t antChn)
+{
+	uint8_t newInst;
+	int16_t numInsts, newNumInsts, instToDel, i, j, k, pattLen;
+	tonTyp *pattPtr;
+
+	numInsts = *ai;
+
+	// calculate what instruments are used
+	memset(instrUsed, 0, numInsts);
+	for (i = 0; i < ap; i++)
+	{
+		if (testWipeSize)
+		{
+			pattPtr = tmpPatt[i];
+			pattLen = tmpPattLens[i];
+		}
+		else
+		{
+			pattPtr = patt[i];
+			pattLen = pattLens[i];
+		}
+
+		if (pattPtr == NULL)
+			continue;
+
+		for (j = 0; j < pattLen; j++)
+		{
+			for (k = 0; k < antChn; k++)
+			{
+				newInst = pattPtr[(j * MAX_VOICES) + k].instr;
+				if (newInst > 0 && newInst <= MAX_INST)
+					instrUsed[newInst-1] = true;
+			}
+		}
+	}
+
+	instToDel = 0;
+	newInst = 0;
+	newNumInsts = 0;
+
+	memset(instrOrder, 0, numInsts);
+	for (i = 0; i < numInsts; i++)
+	{
+		if (instrUsed[i])
+		{
+			newNumInsts++;
+			instrOrder[i] = newInst++;
+		}
+		else
+		{
+			instToDel++;
+		}
+	}
+
+	if (instToDel == 0)
+		return;
+
+	if (testWipeSize)
+	{
+		for (i = 0; i < numInsts; i++)
+		{
+			if (!instrUsed[i] && tmpInstr[1+i] != NULL)
+			{
+				free(tmpInstr[1+i]);
+				tmpInstr[1+i] = NULL;
+			}
+		}
+
+		// relocate instruments
+
+		memcpy(tmpInstName, &tmpInstrName[1], MAX_INST * sizeof (song.instrName[0]));
+		memcpy(tmpInst, &tmpInstr[1], MAX_INST * sizeof (instr[0]));
+
+		memset(&tmpInstr[1], 0, numInsts * sizeof (tmpInstr[0]));
+		memset(&tmpInstrName[1], 0, numInsts * sizeof (tmpInstrName[0]));
+
+		for (i = 0; i < numInsts; i++)
+		{
+			if (instrUsed[i])
+			{
+				newInst = instrOrder[i];
+
+				memcpy(&tmpInstr[1+newInst], &tmpInst[i], sizeof (tmpInst[0]));
+				strcpy(tmpInstrName[1+newInst], tmpInstName[i]);
+			}
+		}
+
+		*ai = newNumInsts;
+		return;
+	}
+
+	// clear unused instruments
+	for (i = 0; i < numInsts; i++)
+	{
+		if (!instrUsed[i])
+			freeInstr(1 + i);
+	}
+
+	// relocate instruments
+
+	memcpy(tmpInstName, &song.instrName[1], MAX_INST * sizeof (song.instrName[0]));
+	memcpy(tmpInst, &instr[1], MAX_INST * sizeof (instr[0]));
+
+	memset(&instr[1], 0, numInsts * sizeof (instr[0]));
+	memset(song.instrName[1], 0, numInsts * sizeof (song.instrName[0]));
+
+	for (i = 0; i < numInsts; i++)
+	{
+		if (instrUsed[i])
+		{
+			newInst = instrOrder[i];
+			remapInstrInSong(1 + (uint8_t)i, 1 + newInst, ap);
+
+			memcpy(&instr[1+newInst], &tmpInst[i], sizeof (instr[0]));
+			strcpy(song.instrName[1+newInst], tmpInstName[i]);
+		}
+	}
+
+	*ai = newNumInsts;
+
+	setTmpInstruments();
+}
+
+static void wipePattsUnused(bool testWipeSize, int16_t *ap)
+{
+	uint8_t newPatt;
+	int16_t usedPatts, newUsedPatts, i, *pLens;
+	tonTyp **p;
+
+	usedPatts = *ap;
+	memset(pattUsed, 0, usedPatts);
+
+	newUsedPatts = 0;
+	for (i = 0; i < song.len; i++)
+	{
+		newPatt = song.songTab[i];
+		if (newPatt < usedPatts && !pattUsed[newPatt])
+		{
+			pattUsed[newPatt] = true;
+			newUsedPatts++;
+		}
+	}
+
+	if (newUsedPatts == 0 || newUsedPatts == usedPatts)
+		return; // nothing to do!
+
+	newPatt = 0;
+	memset(pattOrder, 0, usedPatts);
+	for (i = 0; i < usedPatts; i++)
+	{
+		if (pattUsed[i])
+			pattOrder[i] = newPatt++;
+	}
+
+	if (testWipeSize)
+	{
+		p = tmpPatt;
+		pLens = tmpPattLens;
+	}
+	else
+	{
+		p = patt;
+		pLens = pattLens;
+	}
+
+	memcpy(oldPatts, p, usedPatts * sizeof (tonTyp *));
+	memcpy(oldPattLens, pLens, usedPatts * sizeof (int16_t));
+	memset(p, 0, usedPatts * sizeof (tonTyp *));
+	memset(pLens, 0, usedPatts * sizeof (int16_t));
+
+	// relocate patterns
+	for (i = 0; i < usedPatts; i++)
+	{
+		p[i] = NULL;
+
+		if (!pattUsed[i])
+		{
+			if (!testWipeSize && oldPatts[i] != NULL)
+			{
+				free(oldPatts[i]);
+				oldPatts[i] = NULL;
+			}
+		}
+		else
+		{
+			newPatt = pattOrder[i];
+			p[newPatt] = oldPatts[i];
+			pLens[newPatt] = oldPattLens[i];
+		}
+	}
+
+	if (!testWipeSize)
+	{
+		for (i = 0; i < MAX_PATTERNS; i++)
+		{
+			if (patt[i] == NULL)
+				pattLens[i] = 64;
+		}
+
+		// reorder order list (and clear unused entries)
+		for (i = 0; i < 256; i++)
+		{
+			if (i < song.len)
+				song.songTab[i] = pattOrder[song.songTab[i]];
+			else
+				song.songTab[i] = 0;
+		}
+	}
+
+	*ap = newUsedPatts;
+}
+
+static void wipeSamplesUnused(bool testWipeSize, int16_t ai)
+{
+	uint8_t newSamp, smpUsed[16], smpOrder[16];
+	int16_t i, j, k, l;
+	instrTyp *ins;
+	sampleTyp *s, tempSamples[16];
+
+	for (i = 1; i <= ai; i++)
+	{
+		if (!testWipeSize)
+		{
+			if (instr[i] == NULL)
+				l = 0;
+			else
+				l = i;
+
+			ins = instr[l];
+			l = getUsedSamples(i);
+		}
+		else
+		{
+			if (tmpInstr[i] == NULL)
+				l = 0;
+			else
+				l = i;
+
+			ins = tmpInstr[l];
+			l = getUsedTempSamples(i);
+		}
+
+		memset(smpUsed, 0, l);
+		if (l > 0)
+		{
+			for (j = 0; j < l; j++)
+			{
+				s = &ins->samp[j];
+
+				// check if sample is referenced in instrument
+				for (k = 0; k < 96; k++)
+				{
+					if (ins->ta[k] == j)
+					{
+						smpUsed[j] = true;
+						break; // sample is used
+					}
+				}
+
+				if (k == 96)
+				{
+					// sample is unused
+
+					if (s->pek != NULL && !testWipeSize)
+						free(s->pek);
+
+					memset(s, 0, sizeof (sampleTyp));
+					s->pek = NULL;
+				}
+			}
+
+			// create re-order list
+			newSamp = 0;
+			memset(smpOrder, 0, l);
+			for (j = 0; j < l; j++)
+			{
+				if (smpUsed[j])
+					smpOrder[j] = newSamp++;
+			}
+
+			// re-order samples
+
+			memcpy(tempSamples, ins->samp, l * sizeof (sampleTyp));
+			memset(ins->samp, 0, l * sizeof (sampleTyp));
+
+			for (j = 0; j < l; j++)
+			{
+				if (smpUsed[j])
+					ins->samp[smpOrder[j]] = tempSamples[j];
+			}
+
+			// re-order note->sample list
+			for (j = 0; j < 96; j++)
+			{
+				newSamp = ins->ta[j];
+				if (smpUsed[newSamp])
+					ins->ta[j] = smpOrder[newSamp];
+				else
+					ins->ta[j] = 0;
+			}
+		}
+	}
+}
+
+static void wipeSmpDataAfterLoop(bool testWipeSize, int16_t ai)
+{
+	int8_t *newPtr;
+	int16_t l;
+	instrTyp *ins;
+	sampleTyp *s;
+
+	for (int16_t i = 1; i <= ai; i++)
+	{
+		if (!testWipeSize)
+		{
+			if (instr[i] == NULL)
+				l = 0;
+			else
+				l = i;
+
+			ins = instr[l];
+			l = getUsedSamples(i);
+		}
+		else
+		{
+			if (tmpInstr[i] == NULL)
+				l = 0;
+			else
+				l = i;
+
+			ins = tmpInstr[l];
+			l = getUsedTempSamples(i);
+		}
+
+		for (int16_t j = 0; j < l; j++)
+		{
+			s = &ins->samp[j];
+			if (s->pek != NULL && s->typ & 3 && s->len > 0 && s->len > s->repS+s->repL)
+			{
+				if (!testWipeSize)
+					restoreSample(s);
+
+				s->len = s->repS + s->repL;
+				if (!testWipeSize)
+				{
+					if (s->len <= 0)
+					{
+						s->len = 0;
+						free(s->pek);
+						s->pek = NULL;
+					}
+					else
+					{
+						newPtr = (int8_t *)realloc(s->pek, s->len + LOOP_FIX_LEN);
+						if (newPtr != NULL)
+							s->pek = newPtr;
+					}
+				}
+
+				if (!testWipeSize)
+					fixSample(s);
+			}
+		}
+	}
+}
+
+static void convertSamplesTo8bit(bool testWipeSize, int16_t ai)
+{
+	int8_t *dst8, smp8, *newPtr;
+	int16_t *src16, k;
+	int32_t newLen;
+	instrTyp *ins;
+	sampleTyp *s;
+
+	for (int16_t i = 1; i <= ai; i++)
+	{
+		if (!testWipeSize)
+		{
+			if (instr[i] == NULL)
+				k = 0;
+			else
+				k = i;
+
+			ins = instr[k];
+			k = getUsedSamples(i);
+		}
+		else
+		{
+			if (tmpInstr[i] == NULL)
+				k = 0;
+			else
+				k = i;
+
+			ins = tmpInstr[k];
+			k = getUsedTempSamples(i);
+		}
+
+		for (int16_t j = 0; j < k; j++)
+		{
+			s = &ins->samp[j];
+			if (s->pek != NULL && (s->typ & 16) && s->len > 0)
+			{
+				if (testWipeSize)
+				{
+					s->typ &= ~16;
+					s->len /= 2;
+					s->repL /= 2;
+					s->repS /= 2;
+				}
+				else
+				{
+					restoreSample(s);
+
+					src16 = (int16_t *)s->pek;
+					dst8 = s->pek;
+
+					newLen = s->len / 2;
+					for (int32_t a = 0; a < newLen; a++)
+					{
+						smp8 = src16[a] >> 8;
+						dst8[a] = smp8;
+					}
+
+					s->repL /= 2;
+					s->repS /= 2;
+					s->len /= 2;
+					s->typ &= ~16;
+
+					newPtr = (int8_t *)realloc(s->pek, s->len + LOOP_FIX_LEN);
+					if (newPtr != NULL)
+						s->pek = newPtr;
+
+					fixSample(s);
+				}
+			}
+		}
+	}
+}
+
+static uint16_t getPackedPattSize(tonTyp *pattern, uint16_t numRows, uint8_t antChn)
+{
+	uint8_t bytes[sizeof (tonTyp)], packBits, *writePtr, *firstBytePtr, *pattPtr;
+	uint16_t totalPackLen;
+
+	totalPackLen = 0;
+
+	pattPtr = (uint8_t *)pattern;
+
+	writePtr = pattPtr;
+	for (uint16_t row = 0; row < numRows; row++)
+	{
+		for (uint16_t chn = 0; chn < antChn; chn++)
+		{
+			bytes[0] = *pattPtr++;
+			bytes[1] = *pattPtr++;
+			bytes[2] = *pattPtr++;
+			bytes[3] = *pattPtr++;
+			bytes[4] = *pattPtr++;
+
+			firstBytePtr = writePtr++;
+
+			packBits = 0;
+			if (bytes[0] > 0) { packBits |= 1; writePtr++; } // note
+			if (bytes[1] > 0) { packBits |= 2; writePtr++; } // instrument
+			if (bytes[2] > 0) { packBits |= 4; writePtr++; } // volume column
+			if (bytes[3] > 0) { packBits |= 8; writePtr++; } // effect
+
+			if (packBits == 15) // first four bits set?
+			{
+				// no packing needed, write pattern data as is
+				totalPackLen += 5;
+				writePtr += 5;
+
+				continue;
+			}
+
+			if (bytes[4] > 0) writePtr++; // effect parameter
+
+			totalPackLen += (uint16_t)(writePtr - firstBytePtr); // bytes writen
+		}
+
+		// skip unused channels
+		pattPtr += sizeof (tonTyp) * (MAX_VOICES - antChn);
+	}
+
+	return totalPackLen;
+}
+
+static bool tmpPatternEmpty(uint16_t nr, uint8_t antChn)
+{
+	uint8_t *scanPtr;
+	uint32_t pattLen, scanLen;
+
+	if (tmpPatt[nr] == NULL)
+		return true;
+
+	scanPtr = (uint8_t *)tmpPatt[nr];
+	scanLen = antChn * sizeof (tonTyp);
+	pattLen = tmpPattLens[nr];
+
+	for (uint32_t i = 0; i < pattLen; i++)
+	{
+		for (uint32_t j = 0; j < scanLen; j++)
+		{
+			if (scanPtr[j] != 0)
+				return false;
+		}
+
+		scanPtr += sizeof (tonTyp) * MAX_VOICES;
+	}
+
+	return true;
+}
+
+static int64_t calculateXMSize(void)
+{
+	int16_t i, j, ap, ai, a;
+	int64_t currSize64;
+	instrTyp *ins;
+
+	// count header size in song
+	currSize64 = sizeof (songHeaderTyp);
+
+	// count number of patterns that would be saved
+	ap = MAX_PATTERNS;
+	do
+	{
+		if (patternEmpty(ap - 1))
+			ap--;
+		else
+			break;
+	}
+	while (ap > 0);
+
+	// count number of instruments
+	ai = 128;
+	while (ai > 0 && getUsedSamples(ai) == 0 && song.instrName[ai][0] == '\0')
+		ai--;
+
+	// count packed pattern data size in song
+	for (i = 0; i < ap; i++)
+	{
+		currSize64 += sizeof (patternHeaderTyp);
+		if (!patternEmpty(i))
+			currSize64 += getPackedPattSize(patt[i], pattLens[i], song.antChn);
+	}
+
+	// count instrument and sample data size in song
+	for (i = 1; i <= ai; i++)
+	{
+		if (instr[i] == NULL)
+			j = 0;
+		else
+			j = i;
+
+		a = getUsedSamples(i);
+		if (a > 0)
+			currSize64 += INSTR_HEADER_SIZE + (a * sizeof (sampleHeaderTyp));
+		else
+			currSize64 += 22+11;
+
+		ins = instr[j];
+		for (int16_t k = 0; k < a; k++)
+		{
+			if (ins->samp[k].pek != NULL)
+				currSize64 += ins->samp[k].len;
+		}
+	}
+
+	return currSize64;
+}
+
+static int64_t calculateTrimSize(void)
+{
+	uint8_t antChn;
+	int16_t ap, i, j, k, ai, highestChan, pattLen;
+	int32_t pattDataLen, newPattDataLen;
+	int64_t bytes64, oldInstrSize64, newInstrSize64;
+	tonTyp *note, *pattPtr;
+
+	antChn = song.antChn;
+	pattDataLen = 0;
+	newPattDataLen = 0;
+	bytes64 = 0;
+	oldInstrSize64 = 0;
+
+	// copy over temp data
+	memcpy(tmpPatt, patt, sizeof (tmpPatt));
+	memcpy(tmpPattLens, pattLens, sizeof (tmpPattLens));
+	memcpy(tmpInstrName, song.instrName, sizeof (tmpInstrName));
+
+	if (!setTmpInstruments())
+	{
+		okBox(0, "System message", "Not enough memory!");
+		return 0;
+	}
+
+	// get current size of all instruments and their samples
+	if (removeInst || removeSamp || removeSmpDataAfterLoop || convSmpsTo8Bit)
+		oldInstrSize64 = getTempInsAndSmpSize();
+
+	// count number of patterns that would be saved
+	ap = MAX_PATTERNS;
+	do
+	{
+		if (tmpPatternEmpty(ap - 1, antChn))
+			ap--;
+		else
+			break;
+	}
+	while (ap > 0);
+
+	// count number of instruments that would be saved
+	ai = MAX_INST;
+	while (ai > 0 && getUsedTempSamples(ai) == 0 && tmpInstrName[ai][0] == '\0')
+		ai--;
+
+	// calculate "remove unused samples" size
+	if (removeSamp) wipeSamplesUnused(true, ai);
+
+	// calculate "remove sample data after loop" size
+	if (removeSmpDataAfterLoop) wipeSmpDataAfterLoop(true, ai);
+
+	// calculate "convert samples to 8-bit" size
+	if (convSmpsTo8Bit) convertSamplesTo8bit(true, ai);
+
+	// get old pattern data length
+	if (removeChans || removePatt)
+	{
+		for (i = 0; i < ap; i++)
+		{
+			pattDataLen += sizeof (patternHeaderTyp);
+			if (!tmpPatternEmpty(i, antChn))
+				pattDataLen += getPackedPattSize(tmpPatt[i], tmpPattLens[i], antChn);
+		}
+	}
+
+	// calculate "remove unused channels" size
+	if (removeChans)
+	{
+		// get real number of channels
+		highestChan = -1;
+		for (i = 0; i < ap; i++)
+		{
+			pattPtr = tmpPatt[i];
+			if (pattPtr == NULL)
+				continue;
+
+			pattLen = tmpPattLens[i];
+			for (j = 0; j < pattLen; j++)
+			{
+				for (k = 0; k < antChn; k++)
+				{
+					note = &pattPtr[(j * MAX_VOICES) + k];
+					if (note->eff || note->effTyp || note->instr || note->ton || note->vol)
+					{
+						if (k > highestChan)
+							highestChan = k;
+					}
+				}
+			}
+		}
+
+		// set new number of channels (and make it an even number)
+		if (highestChan >= 0)
+		{
+			highestChan++;
+			if (highestChan & 1)
+				highestChan++;
+
+			antChn = (uint8_t)(CLAMP(highestChan, 2, antChn));
+		}
+	}
+
+	// calculate "remove unused patterns" size
+	if (removePatt) wipePattsUnused(true, &ap);
+
+	// calculate new pattern data size
+	if (removeChans || removePatt)
+	{
+		for (i = 0; i < ap; i++)
+		{
+			newPattDataLen += sizeof (patternHeaderTyp);
+			if (!tmpPatternEmpty(i, antChn))
+				newPattDataLen += getPackedPattSize(tmpPatt[i], tmpPattLens[i], antChn);
+		}
+
+		assert(pattDataLen >= newPattDataLen);
+
+		if (pattDataLen > newPattDataLen)
+			bytes64 += (pattDataLen - newPattDataLen);
+	}
+
+	// calculate "remove unused instruments" size
+	if (removeInst) wipeInstrUnused(true, &ai, ap, antChn);
+
+	// calculat new instruments and samples size
+	if (removeInst || removeSamp || removeSmpDataAfterLoop || convSmpsTo8Bit)
+	{
+		newInstrSize64 = getTempInsAndSmpSize();
+
+		assert(oldInstrSize64 >= newInstrSize64);
+
+		if (oldInstrSize64 > newInstrSize64)
+			bytes64 += (oldInstrSize64 - newInstrSize64);
+	}
+
+	freeTmpInstruments();
+	return bytes64;
+}
+
+static int32_t SDLCALL trimThreadFunc(void *ptr)
+{
+	int16_t ap, ai, i, j, k, pattLen, highestChan;
+	tonTyp *pattPtr, *note;
+
+	(void)ptr;
+
+	if (!setTmpInstruments())
+	{
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		return true;
+	}
+
+	// audio callback is not running now, so we're safe
+
+	// count number of patterns
+	ap = MAX_PATTERNS;
+	do
+	{
+		if (patternEmpty(ap - 1))
+			ap--;
+		else
+			break;
+	}
+	while (ap > 0);
+
+	// count number of instruments
+	ai = MAX_INST;
+	while (ai > 0 && getUsedSamples(ai) == 0 && song.instrName[ai][0] == '\0')
+		ai--;
+
+	// remove unused samples
+	if (removeSamp)
+		wipeSamplesUnused(false, ai);
+
+	// remove sample data after loop
+	if (removeSmpDataAfterLoop)
+		wipeSmpDataAfterLoop(false, ai);
+
+	// convert samples to 8-bit
+	if (convSmpsTo8Bit)
+		convertSamplesTo8bit(false, ai);
+
+	// removed unused channels
+	if (removeChans)
+	{
+		// count used channels
+		highestChan = -1;
+		for (i = 0; i < ap; i++)
+		{
+			pattPtr = patt[i];
+			if (pattPtr == NULL)
+				continue;
+
+			pattLen = pattLens[i];
+			for (j = 0; j < pattLen; j++)
+			{
+				for (k = 0; k < song.antChn; k++)
+				{
+					note = &pattPtr[(j * MAX_VOICES) + k];
+					if (note->eff || note->effTyp || note->instr || note->ton || note->vol)
+					{
+						if (k > highestChan)
+							highestChan = k;
+					}
+				}
+			}
+		}
+
+		// set new 'channels used' number
+		if (highestChan >= 0)
+		{
+			highestChan++;
+			if (highestChan & 1)
+				highestChan++;
+
+			song.antChn = (uint8_t)(CLAMP(highestChan, 2, song.antChn));
+		}
+
+		// clear potentially unused channel data
+		if (song.antChn < MAX_VOICES)
+		{
+			for (i = 0; i < MAX_PATTERNS; i++)
+			{
+				pattPtr = patt[i];
+				if (pattPtr == NULL)
+					continue;
+
+				pattLen = pattLens[i];
+				for (j = 0; j < pattLen; j++)
+					memset(&pattPtr[(j * MAX_VOICES) + song.antChn], 0, sizeof (tonTyp) * (MAX_VOICES - song.antChn));
+			}
+		}
+	}
+
+	// clear unused patterns
+	if (removePatt)
+		wipePattsUnused(false, &ap);
+
+	// remove unused instruments
+	if (removeInst)
+		wipeInstrUnused(false, &ai, ap, song.antChn);
+
+	freeTmpInstruments();
+	editor.trimThreadWasDone = true;
+
+	return true;
+}
+
+void trimThreadDone(void)
+{
+	if (removePatt)
+		setPos(song.songPos, song.pattPos);
+
+	if (removeInst)
+	{
+		editor.currVolEnvPoint = 0;
+		editor.currPanEnvPoint = 0;
+	}
+
+	updateTextBoxPointers();
+
+	hideTopScreen();
+	showTopScreen(true);
+	showBottomScreen();
+
+	if (removeChans)
+	{
+		if (editor.ui.patternEditorShown)
+		{
+			if (editor.ui.channelOffset > song.antChn-editor.ui.numChannelsShown)
+				setScrollBarPos(SB_CHAN_SCROLL, song.antChn - editor.ui.numChannelsShown, true);
+		}
+
+		if (editor.cursor.ch >= editor.ui.channelOffset+editor.ui.numChannelsShown)
+			editor.cursor.ch = editor.ui.channelOffset+editor.ui.numChannelsShown - 1;
+	}
+
+	checkMarkLimits();
+
+	if (removeSamp || convSmpsTo8Bit)
+		updateSampleEditorSample();
+
+	pbTrimCalc();
+	setSongModifiedFlag();
+	resumeAudio();
+	setMouseBusy(false);
+}
+
+static char *formatBytes(uint64_t bytes, bool roundUp)
+{
+	double dBytes;
+
+	if (bytes == 0)
+	{
+		strcpy(byteFormatBuffer, "0");
+		return byteFormatBuffer;
+	}
+
+	bytes %= 1000ULL*1024*1024*999; // wrap around gigabytes in case of overflow
+	if (bytes >= 1024ULL*1024*1024*9)
+	{
+		// gigabytes
+		dBytes = bytes / (1024.0*1024.0*1024.0);
+		if (dBytes < 100)
+			sprintf(byteFormatBuffer, "%.1fGB", dBytes);
+		else
+			sprintf(byteFormatBuffer, "%dGB", roundUp ? (int32_t)ceil(dBytes) : (int32_t)dBytes);
+	}
+	else if (bytes >= 1024*1024*9)
+	{
+		// megabytes
+		dBytes = bytes / (1024.0*1024.0);
+		if (dBytes < 100)
+			sprintf(byteFormatBuffer, "%.1fMB", dBytes);
+		else
+			sprintf(byteFormatBuffer, "%dMB", roundUp ? (int32_t)ceil(dBytes) : (int32_t)dBytes);
+	}
+	else if (bytes >= 1024*9)
+	{
+		// kilobytes
+		dBytes = bytes / 1024.0;
+		if (dBytes < 100)
+			sprintf(byteFormatBuffer, "%.1fkB", dBytes);
+		else
+			sprintf(byteFormatBuffer, "%dkB", roundUp ? (int32_t)ceil(dBytes) : (int32_t)dBytes);
+	}
+	else
+	{
+		// bytes
+		sprintf(byteFormatBuffer, "%d", (int32_t)bytes);
+	}
+
+	return byteFormatBuffer;
+}
+
+void drawTrimScreen(void)
+{
+	char sizeBuf[16];
+
+	drawFramework(0,   92, 136, 81, FRAMEWORK_TYPE1);
+	drawFramework(136, 92, 155, 81, FRAMEWORK_TYPE1);
+
+	textOutShadow(4,    95, PAL_FORGRND, PAL_DSKTOP2, "What to remove:");
+	textOutShadow(19,  109, PAL_FORGRND, PAL_DSKTOP2, "Unused patterns");
+	textOutShadow(19,  122, PAL_FORGRND, PAL_DSKTOP2, "Unused instruments");
+	textOutShadow(19,  135, PAL_FORGRND, PAL_DSKTOP2, "Unused samples");
+	textOutShadow(19,  148, PAL_FORGRND, PAL_DSKTOP2, "Unused channels");
+	textOutShadow(19,  161, PAL_FORGRND, PAL_DSKTOP2, "Smp. dat. after loop");
+
+	textOutShadow(155,  96, PAL_FORGRND, PAL_DSKTOP2, "Conv. samples to 8-bit");
+	textOutShadow(140, 111, PAL_FORGRND, PAL_DSKTOP2, ".xm size before");
+	textOutShadow(140, 124, PAL_FORGRND, PAL_DSKTOP2, ".xm size after");
+	textOutShadow(140, 137, PAL_FORGRND, PAL_DSKTOP2, "Bytes to save");
+
+	if (xmSize64 > -1)
+	{
+		sprintf(sizeBuf, "%s", formatBytes(xmSize64, true));
+		textOut(287 - textWidth(sizeBuf), 111, PAL_FORGRND, sizeBuf);
+	}
+	else
+	{
+		textOut(287 - textWidth("Unknown"), 111, PAL_FORGRND, "Unknown");
+	}
+
+	if (xmAfterTrimSize64 > -1)
+	{
+		sprintf(sizeBuf, "%s", formatBytes(xmAfterTrimSize64, true));
+		textOut(287 - textWidth(sizeBuf), 124, PAL_FORGRND, sizeBuf);
+	}
+	else
+	{
+		textOut(287 - textWidth("Unknown"), 124, PAL_FORGRND, "Unknown");
+	}
+
+	if (spaceSaved64 > -1)
+	{
+		sprintf(sizeBuf, "%s", formatBytes(spaceSaved64, false));
+		textOut(287 - textWidth(sizeBuf), 137, PAL_FORGRND, sizeBuf);
+	}
+	else
+	{
+		textOut(287 - textWidth("Unknown"), 137, PAL_FORGRND, "Unknown");
+	}
+
+	showCheckBox(CB_TRIM_PATT);
+	showCheckBox(CB_TRIM_INST);
+	showCheckBox(CB_TRIM_SAMP);
+	showCheckBox(CB_TRIM_CHAN);
+	showCheckBox(CB_TRIM_SMPD);
+	showCheckBox(CB_TRIM_CONV);
+	showPushButton(PB_TRIM_CALC);
+	showPushButton(PB_TRIM_TRIM);
+}
+
+void hideTrimScreen(void)
+{
+	hideCheckBox(CB_TRIM_PATT);
+	hideCheckBox(CB_TRIM_INST);
+	hideCheckBox(CB_TRIM_SAMP);
+	hideCheckBox(CB_TRIM_CHAN);
+	hideCheckBox(CB_TRIM_SMPD);
+	hideCheckBox(CB_TRIM_CONV);
+	hidePushButton(PB_TRIM_CALC);
+	hidePushButton(PB_TRIM_TRIM);
+
+	editor.ui.trimScreenShown = false;
+	editor.ui.scopesShown = true;
+	drawScopeFramework();
+}
+
+void showTrimScreen(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	showTopScreen(false);
+
+	editor.ui.trimScreenShown = true;
+	editor.ui.scopesShown = false;
+
+	drawTrimScreen();
+}
+
+void toggleTrimScreen(void)
+{
+	if (editor.ui.trimScreenShown)
+		hideTrimScreen();
+	else
+		showTrimScreen();
+}
+
+void setInitialTrimFlags(void)
+{
+	removePatt = true;
+	removeInst = true;
+	removeSamp = true;
+	removeChans = true;
+	removeSmpDataAfterLoop = true;
+	convSmpsTo8Bit = false;
+
+	checkBoxes[CB_TRIM_PATT].checked = true;
+	checkBoxes[CB_TRIM_INST].checked = true;
+	checkBoxes[CB_TRIM_SAMP].checked = true;
+	checkBoxes[CB_TRIM_CHAN].checked = true;
+	checkBoxes[CB_TRIM_SMPD].checked = true;
+	checkBoxes[CB_TRIM_CONV].checked = false;
+}
+
+void cbTrimUnusedPatt(void)
+{
+	removePatt ^= 1;
+}
+
+void cbTrimUnusedInst(void)
+{
+	removeInst ^= 1;
+}
+
+void cbTrimUnusedSamp(void)
+{
+	removeSamp ^= 1;
+}
+
+void cbTrimUnusedChans(void)
+{
+	removeChans ^= 1;
+}
+
+void cbTrimUnusedSmpData(void)
+{
+	removeSmpDataAfterLoop ^= 1;
+}
+
+void cbTrimSmpsTo8Bit(void)
+{
+	convSmpsTo8Bit ^= 1;
+}
+
+void pbTrimCalc(void)
+{
+	xmSize64 = calculateXMSize();
+	spaceSaved64 = calculateTrimSize();
+
+	xmAfterTrimSize64 = xmSize64 - spaceSaved64;
+	if (xmAfterTrimSize64 < 0)
+		xmAfterTrimSize64 = 0;
+
+	if (editor.ui.trimScreenShown)
+		drawTrimScreen();
+}
+
+void pbTrimDoTrim(void)
+{
+	if (!removePatt && !removeInst && !removeSamp && !removeChans && !removeSmpDataAfterLoop && !convSmpsTo8Bit)
+		return; // nothing to trim...
+
+	if (okBox(2, "System request", "Are you sure you want to trim the song? Making a backup of the song first is recommended.") != 1)
+		return;
+
+	mouseAnimOn();
+	pauseAudio();
+
+	trimThread = SDL_CreateThread(trimThreadFunc, NULL, NULL);
+	if (trimThread == NULL)
+	{
+		resumeAudio();
+		mouseAnimOff();
+		return;
+	}
+
+	SDL_DetachThread(trimThread);
+}
+
+void resetTrimSizes(void)
+{
+	xmSize64 = -1;
+	xmAfterTrimSize64 = -1;
+	spaceSaved64 = -1;
+
+	if (editor.ui.trimScreenShown)
+		drawTrimScreen();
+}
--- /dev/null
+++ b/src/ft2_trim.h
@@ -1,0 +1,17 @@
+#pragma once
+
+void drawTrimScreen(void);
+void hideTrimScreen(void);
+void showTrimScreen(void);
+void toggleTrimScreen(void);
+void setInitialTrimFlags(void);
+void trimThreadDone(void);
+void resetTrimSizes(void);
+void cbTrimUnusedPatt(void);
+void cbTrimUnusedInst(void);
+void cbTrimUnusedSamp(void);
+void cbTrimUnusedChans(void);
+void cbTrimUnusedSmpData(void);
+void cbTrimSmpsTo8Bit(void);
+void pbTrimCalc(void);
+void pbTrimDoTrim(void);
--- /dev/null
+++ b/src/ft2_unicode.c
@@ -1,0 +1,356 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdlib.h>
+#include <string.h>
+#include <stdint.h>
+#include <stdbool.h>
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#else
+#include <iconv.h>
+#endif
+#include "ft2_unicode.h"
+
+#ifdef _WIN32
+
+// Windows routines
+char *cp437ToUtf8(char *src)
+{
+	char *x;
+	int32_t reqSize, retVal, srcLen;
+	wchar_t *w;
+
+	if (src == NULL)
+		return NULL;
+
+	srcLen = (int32_t)strlen(src);
+	if (srcLen <= 0)
+		return NULL;
+
+	reqSize = MultiByteToWideChar(437, 0, src, srcLen, 0, 0);
+	if (reqSize <= 0)
+		return NULL;
+
+	w = (wchar_t *)malloc((reqSize + 1) * sizeof (wchar_t));
+	if (w == NULL)
+		return NULL;
+
+	w[reqSize] = 0;
+
+	retVal = MultiByteToWideChar(437, 0, src, srcLen, w, reqSize);
+	if (!retVal)
+	{
+		free(w);
+		return NULL;
+	}
+
+	srcLen = (int32_t)wcslen(w);
+	if (srcLen <= 0)
+		return NULL;
+
+	reqSize = WideCharToMultiByte(CP_UTF8, 0, w, srcLen, 0, 0, 0, 0);
+	if (reqSize <= 0)
+	{
+		free(w);
+		return NULL;
+	}
+
+	x = (char *)malloc((reqSize + 2) * sizeof (char));
+	if (x == NULL)
+	{
+		free(w);
+		return NULL;
+	}
+
+	x[reqSize+0] = '\0';
+	x[reqSize+1] = '\0';
+
+	retVal = WideCharToMultiByte(CP_UTF8, 0, w, srcLen, x, reqSize, 0, 0);
+	free(w);
+
+	if (!retVal)
+	{
+		free(x);
+		return NULL;
+	}
+
+	return x;
+}
+
+UNICHAR *cp437ToUnichar(char *src)
+{
+	int32_t reqSize, retVal, srcLen;
+	UNICHAR *w;
+
+	if (src == NULL)
+		return NULL;
+
+	srcLen = (int32_t)strlen(src);
+	if (srcLen <= 0)
+		return NULL;
+
+	reqSize = MultiByteToWideChar(437, 0, src, srcLen, 0, 0);
+	if (reqSize <= 0)
+		return NULL;
+
+	w = (wchar_t *)malloc((reqSize + 1) * sizeof (wchar_t));
+	if (w == NULL)
+		return NULL;
+
+	w[reqSize] = 0;
+
+	retVal = MultiByteToWideChar(437, 0, src, srcLen, w, reqSize);
+	if (!retVal)
+	{
+		free(w);
+		return NULL;
+	}
+
+	return w;
+}
+
+char *utf8ToCp437(char *src, bool removeIllegalChars)
+{
+	char *x;
+	int8_t ch;
+	int32_t reqSize, retVal, srcLen;
+	wchar_t *w;
+
+	if (src == NULL)
+		return NULL;
+
+	srcLen = (int32_t)strlen(src);
+	if (srcLen <= 0)
+		return NULL;
+
+	reqSize = MultiByteToWideChar(CP_UTF8, 0, src, srcLen, 0, 0);
+	if (reqSize <= 0)
+		return NULL;
+
+	w = (wchar_t *)malloc((reqSize + 1) * sizeof (wchar_t));
+	if (w == NULL)
+		return NULL;
+
+	w[reqSize] = 0;
+
+	retVal = MultiByteToWideChar(CP_UTF8, 0, src, srcLen, w, reqSize);
+	if (!retVal)
+	{
+		free(w);
+		return NULL;
+	}
+
+	srcLen = (int32_t)wcslen(w);
+	if (srcLen <= 0)
+	{
+		free(w);
+		return NULL;
+	}
+
+	reqSize = WideCharToMultiByte(437, 0, w, srcLen, 0, 0, 0, 0);
+	if (reqSize <= 0)
+	{
+		free(w);
+		return NULL;
+	}
+
+	x = (char *)calloc(reqSize + 1, sizeof (char));
+	if (x == NULL)
+	{
+		free(w);
+		return NULL;
+	}
+
+	x[reqSize] = '\0';
+
+	retVal = WideCharToMultiByte(437, 0, w, srcLen, x, reqSize, 0, 0);
+	free(w);
+
+	if (!retVal)
+	{
+		free(x);
+		return NULL;
+	}
+
+	if (removeIllegalChars)
+	{
+		// remove illegal characters (only allow certain nordic ones)
+		for (int32_t i = 0; i < reqSize; i++)
+		{
+			ch = (int8_t)x[i];
+			if (ch < 32 && ch != 0 && ch != -124 && ch != -108 &&
+			    ch != -122 && ch != -114 && ch != -103 && ch != -113)
+			{
+				x[i] = ' '; // character not allowed, turn it into space
+			}
+		}
+	}
+
+	return x;
+}
+
+char *unicharToCp437(UNICHAR *src, bool removeIllegalChars)
+{
+	char *x;
+	int8_t ch;
+	int32_t reqSize, retVal, srcLen, i;
+
+	if (src == NULL)
+		return NULL;
+
+	srcLen = (int32_t)UNICHAR_STRLEN(src);
+	if (srcLen <= 0)
+		return NULL;
+
+	reqSize = WideCharToMultiByte(437, 0, src, srcLen, 0, 0, 0, 0);
+	if (reqSize <= 0)
+		return NULL;
+
+	x = (char *)malloc((reqSize + 1) * sizeof (char));
+	if (x == NULL)
+		return NULL;
+
+	x[reqSize] = '\0';
+
+	retVal = WideCharToMultiByte(437, 0, src, srcLen, x, reqSize, 0, 0);
+	if (!retVal)
+	{
+		free(x);
+		return NULL;
+	}
+
+	if (removeIllegalChars)
+	{
+		// remove illegal characters (only allow certain nordic ones)
+		for (i = 0; i < reqSize; i++)
+		{
+			ch = (int8_t)x[i];
+			if (ch < 32 && ch != 0 && ch != -124 && ch != -108 &&
+			    ch != -122 && ch != -114 && ch != -103 && ch != -113)
+			{
+				x[i] = ' '; // character not allowed, turn it into space
+			}
+		}
+	}
+
+	return x;
+}
+
+#else
+
+// non-Windows routines
+char *cp437ToUtf8(char *src)
+{
+	char *inPtr, *outPtr, *outBuf;
+	int32_t rc;
+	size_t srcLen, inLen, outLen;
+	iconv_t cd;
+
+	if (src == NULL)
+		return NULL;
+
+	srcLen = strlen(src);
+	if (srcLen <= 0)
+		return NULL;
+
+	cd = iconv_open("UTF-8", "437");
+	if (cd == (iconv_t)-1)
+		return NULL;
+
+	outLen = srcLen * 2; // should be sufficient
+
+	outBuf = (char *)calloc(outLen + 2, sizeof (char));
+	if (outBuf == NULL)
+		return NULL;
+
+	inPtr = src;
+	inLen = srcLen;
+	outPtr = outBuf;
+
+#if defined(__NetBSD__) || defined(__sun) || defined(sun)
+	rc = iconv(cd, (const char **)&inPtr, &inLen, &outPtr, &outLen);
+#else
+	rc = iconv(cd, &inPtr, &inLen, &outPtr, &outLen);
+#endif
+	iconv(cd, NULL, NULL, &outPtr, &outLen); // flush
+	iconv_close(cd);
+
+	if (rc == -1)
+	{
+		free(outBuf);
+		return NULL;
+	}
+
+	return outBuf;
+}
+
+char *utf8ToCp437(char *src, bool removeIllegalChars)
+{
+	char *inPtr, *outPtr, *outBuf;
+	int8_t ch;
+	int32_t rc;
+	size_t srcLen, inLen, outLen;
+	iconv_t cd;
+
+	if (src == NULL)
+		return NULL;
+
+	srcLen = strlen(src);
+	if (srcLen <= 0)
+		return NULL;
+
+#ifdef __APPLE__
+	cd = iconv_open("437//TRANSLIT//IGNORE", "UTF-8-MAC");
+#elif defined(__NetBSD__) || defined(__sun) || defined(sun)
+	cd = iconv_open("437", "UTF-8");
+#else
+	cd = iconv_open("437//TRANSLIT//IGNORE", "UTF-8");
+#endif
+	if (cd == (iconv_t)-1)
+		return NULL;
+
+	outLen = srcLen * 2; // should be sufficient
+
+	outBuf = (char *)calloc(outLen + 1, sizeof (char));
+	if (outBuf == NULL)
+		return NULL;
+
+	inPtr = src;
+	inLen = srcLen;
+	outPtr = outBuf;
+
+#if defined(__NetBSD__) || defined(__sun) || defined(sun)
+	rc = iconv(cd, (const char **)&inPtr, &inLen, &outPtr, &outLen);
+#else
+	rc = iconv(cd, &inPtr, &inLen, &outPtr, &outLen);
+#endif
+	iconv(cd, NULL, NULL, &outPtr, &outLen); // flush
+	iconv_close(cd);
+
+	if (rc == -1)
+	{
+		free(outBuf);
+		return NULL;
+	}
+
+	if (removeIllegalChars)
+	{
+		// remove illegal characters (only allow certain nordic ones)
+		for (size_t i = 0; i < outLen; i++)
+		{
+			ch = (int8_t)outBuf[i];
+			if (ch < 32 && ch != 0 && ch != -124 && ch != -108 &&
+			    ch != -122 && ch != -114 && ch != -103 && ch != -113)
+			{
+				outBuf[i] = ' '; // character not allowed, turn it into space
+			}
+		}
+	}
+
+	return outBuf;
+}
+#endif
--- /dev/null
+++ b/src/ft2_unicode.h
@@ -1,0 +1,53 @@
+#pragma once
+
+#include <stdbool.h>
+
+#ifdef _WIN32
+#include <wchar.h>
+#endif
+
+// unicode stuff for different platforms
+
+#ifdef _WIN32
+
+// Windows
+typedef wchar_t UNICHAR;
+#define UNICHAR_STRCPY(a, b) wcscpy(a, b)
+#define UNICHAR_STRNCPY(a, b, c) wcsncpy(a, b, c)
+#define UNICHAR_STRCMP(a, b) wcscmp(a, b)
+#define UNICHAR_STRNCMP(a, b, c) wcsncmp(a, b, c)
+#define UNICHAR_STRCAT(a, b) wcscat(a, b)
+#define UNICHAR_STRDUP(a) wcsdup(a)
+#define UNICHAR_FOPEN(a, b) _wfopen(a, L ## b)
+#define UNICHAR_CHDIR(a) _wchdir(a)
+#define UNICHAR_GETCWD(a, b) _wgetcwd(a, b)
+#define UNICHAR_RENAME(a, b) _wrename(a, b)
+#define UNICHAR_REMOVE(a) _wremove(a)
+#define UNICHAR_STRLEN(a) wcslen(a)
+#else
+
+// other OSes
+typedef char UNICHAR;
+#define UNICHAR_STRCPY(a, b) strcpy(a, b)
+#define UNICHAR_STRNCPY(a, b, c) strncpy(a, b, c)
+#define UNICHAR_STRCMP(a, b) strcmp(a, b)
+#define UNICHAR_STRNCMP(a, b, c) strncmp(a, b, c)
+#define UNICHAR_STRCAT(a, b) strcat(a, b)
+#define UNICHAR_STRDUP(a) strdup(a)
+#define UNICHAR_FOPEN(a, b) fopen(a, b)
+#define UNICHAR_CHDIR(a) chdir(a)
+#define UNICHAR_GETCWD(a, b) getcwd(a, b)
+#define UNICHAR_RENAME(a, b) rename(a, b)
+#define UNICHAR_REMOVE(a) remove(a)
+#define UNICHAR_STRLEN(a) strlen(a)
+#endif
+
+char *cp437ToUtf8(char *src);
+char *utf8ToCp437(char *src, bool removeIllegalChars);
+#ifdef _WIN32
+UNICHAR *cp437ToUnichar(char *src);
+char *unicharToCp437(UNICHAR *src, bool removeIllegalChars);
+#else
+#define cp437ToUnichar(a) cp437ToUtf8(a)
+#define unicharToCp437(a, b) utf8ToCp437(a, b)
+#endif
--- /dev/null
+++ b/src/ft2_video.c
@@ -1,0 +1,1128 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <math.h>
+#ifdef _WIN32
+#define WIN32_MEAN_AND_LEAN
+#include <windows.h>
+#include <SDL2/SDL_syswm.h>
+#else
+#include <unistd.h> // usleep()
+#endif
+#include "ft2_header.h"
+#include "ft2_config.h"
+#include "ft2_gfxdata.h"
+#include "ft2_gui.h"
+#include "ft2_video.h"
+#include "ft2_events.h"
+#include "ft2_mouse.h"
+#include "ft2_scopes.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_sample_ed.h"
+#include "ft2_nibbles.h"
+#include "ft2_inst_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_about.h"
+#include "ft2_trim.h"
+#include "ft2_sampling.h"
+#include "ft2_module_loader.h"
+#include "ft2_midi.h"
+
+// for FPS counter
+#define FPS_SCAN_FRAMES 60
+#define FPS_RENDER_W 280
+#define FPS_RENDER_H (((FONT1_CHAR_H + 1) * 8) + 1)
+#define FPS_RENDER_X 2
+#define FPS_RENDER_Y 2
+
+static const uint8_t textCursorData[12] =
+{
+	PAL_FORGRND, PAL_FORGRND, PAL_FORGRND,
+	PAL_FORGRND, PAL_FORGRND, PAL_FORGRND,
+	PAL_FORGRND, PAL_FORGRND, PAL_FORGRND,
+	PAL_FORGRND, PAL_FORGRND, PAL_FORGRND
+};
+
+static bool songIsModified;
+static char buf[1024], wndTitle[128 + PATH_MAX];
+static uint64_t frameStartTime, timeNext64, timeNext64Frac;
+static sprite_t sprites[SPRITE_NUM];
+static double dRunningFPS, dFrameTime, dAvgFPS;
+
+static void drawReplayerData(void);
+
+void resetFPSCounter(void)
+{
+	editor.framesPassed = 0;
+	buf[0] = '\0';
+	dRunningFPS = VBLANK_HZ;
+	dFrameTime = 1000.0 / VBLANK_HZ;
+}
+
+void beginFPSCounter(void)
+{
+	if (video.showFPSCounter)
+		frameStartTime = SDL_GetPerformanceCounter();
+}
+
+static void drawFPSCounter(void)
+{
+	char *textPtr, ch;
+	uint16_t xPos, yPos;
+	double dRefreshRate, dAudLatency;
+
+	if (!video.showFPSCounter)
+		return;
+
+	if (editor.framesPassed >= FPS_SCAN_FRAMES && (editor.framesPassed % FPS_SCAN_FRAMES) == 0)
+	{
+		dAvgFPS = dRunningFPS * (1.0 / FPS_SCAN_FRAMES);
+		if (dAvgFPS < 0.0 || dAvgFPS > 99999999.9999)
+			dAvgFPS = 99999999.9999; // prevent number from overflowing text box
+
+		dRunningFPS = 0.0;
+	}
+
+	clearRect(FPS_RENDER_X+2, FPS_RENDER_Y+2, FPS_RENDER_W, FPS_RENDER_H);
+	vLineDouble(FPS_RENDER_X, FPS_RENDER_Y+1, FPS_RENDER_H+2, PAL_FORGRND);
+	vLineDouble(FPS_RENDER_X+FPS_RENDER_W, FPS_RENDER_Y+1, FPS_RENDER_H+2, PAL_FORGRND);
+	hLineDouble(FPS_RENDER_X+1, FPS_RENDER_Y, FPS_RENDER_W, PAL_FORGRND);
+	hLineDouble(FPS_RENDER_X+1, FPS_RENDER_Y+FPS_RENDER_H+2, FPS_RENDER_W, PAL_FORGRND);
+
+	// test if enough data is collected yet
+	if (editor.framesPassed < FPS_SCAN_FRAMES)
+	{
+		textOut(FPS_RENDER_X+53, FPS_RENDER_Y+39, PAL_FORGRND, "Collecting frame information...");
+		return;
+	}
+
+	dRefreshRate = video.dMonitorRefreshRate;
+	if (dRefreshRate < 0.0 || dRefreshRate > 9999.9)
+		dRefreshRate = 9999.9; // prevent number from overflowing text box
+
+	dAudLatency = audio.dAudioLatencyMs;
+	if (dAudLatency < 0.0 || dAudLatency > 999999999.9999)
+		dAudLatency = 999999999.9999; // prevent number from overflowing text box
+
+	sprintf(buf, "Frames per second: %.4f\n" \
+	             "Monitor refresh rate: %.1fHz (+/-)\n" \
+	             "59..61Hz GPU VSync used: %s\n" \
+	             "Audio frequency: %.1fkHz (expected %.1fkHz)\n" \
+	             "Audio buffer samples: %d (expected %d)\n" \
+	             "Audio channels: %d (expected %d)\n" \
+	             "Audio latency: %.1fms (expected %.1fms)\n" \
+	             "Press CTRL+SHIFT+F to close this box.\n",
+	             dAvgFPS, dRefreshRate,
+	             video.vsync60HzPresent ? "yes" : "no",
+	             audio.haveFreq * (1.0 / 1000.0), audio.wantFreq * (1.0 / 1000.0),
+	             audio.haveSamples, audio.wantSamples,
+	             audio.haveChannels, audio.wantChannels,
+	             dAudLatency, ((audio.wantSamples * 1000.0) / audio.wantFreq));
+
+	// draw text
+
+	xPos = FPS_RENDER_X + 3;
+	yPos = FPS_RENDER_Y + 3;
+
+	textPtr = buf;
+	while (*textPtr != '\0')
+	{
+		ch = *textPtr++;
+		if (ch == '\n')
+		{
+			yPos += FONT1_CHAR_H+1;
+			xPos = FPS_RENDER_X + 3;
+			continue;
+		}
+
+		charOut(xPos, yPos, PAL_FORGRND, ch);
+		xPos += charWidth(ch);
+	}
+}
+
+void endFPSCounter(void)
+{
+	uint64_t frameTimeDiff;
+	double dHz;
+
+	if (!video.showFPSCounter || frameStartTime == 0)
+		return;
+
+	frameTimeDiff = SDL_GetPerformanceCounter() - frameStartTime;
+	dHz = 1000.0 / (frameTimeDiff * editor.dPerfFreqMulMs);
+	dRunningFPS += dHz;
+}
+
+void flipFrame(void)
+{
+	uint32_t windowFlags = SDL_GetWindowFlags(video.window);
+
+	renderSprites();
+	drawFPSCounter();
+	SDL_UpdateTexture(video.texture, NULL, video.frameBuffer, SCREEN_W * sizeof (int32_t));
+	SDL_RenderClear(video.renderer);
+	SDL_RenderCopy(video.renderer, video.texture, NULL, NULL);
+	SDL_RenderPresent(video.renderer);
+	eraseSprites();
+
+	if (!video.vsync60HzPresent)
+	{
+		waitVBL(); // we have no VSync, do crude thread sleeping to sync to ~60Hz
+	}
+	else
+	{
+		/* We have VSync, but it can unexpectedly get inactive in certain scenarios.
+		** We have to force thread sleeping (to ~60Hz) if so.
+		*/
+#ifdef __APPLE__
+		// macOS: VSync gets disabled if the window is 100% covered by another window. Let's add a (crude) fix:
+		if ((windowFlags & SDL_WINDOW_MINIMIZED) || !(windowFlags & SDL_WINDOW_INPUT_FOCUS))
+			waitVBL();
+#elif __unix__
+		// *NIX: VSync gets disabled in fullscreen mode (at least on some distros/systems). Let's add a fix:
+		if ((windowFlags & SDL_WINDOW_MINIMIZED) || video.fullscreen)
+			waitVBL();
+#else
+		if (windowFlags & SDL_WINDOW_MINIMIZED)
+			waitVBL();
+#endif
+	}
+
+	editor.framesPassed++;
+}
+
+void showErrorMsgBox(const char *fmt, ...)
+{
+	char strBuf[256];
+	va_list args;
+
+	// format the text string
+	va_start(args, fmt);
+	vsnprintf(strBuf, sizeof (strBuf), fmt, args);
+	va_end(args);
+
+	// window can be NULL here, no problem...
+	SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", strBuf, video.window);
+}
+
+void updateRenderSizeVars(void)
+{
+	int32_t di;
+#ifdef __APPLE__
+	int32_t actualScreenW, actualScreenH;
+	double dXUpscale, dYUpscale;
+#endif
+	float fXScale, fYScale;
+	SDL_DisplayMode dm;
+
+	di = SDL_GetWindowDisplayIndex(video.window);
+	if (di < 0)
+		di = 0; // return display index 0 (default) on error
+
+	SDL_GetDesktopDisplayMode(di, &dm);
+	video.displayW = dm.w;
+	video.displayH = dm.h;
+
+	if (video.fullscreen)
+	{
+		if (config.windowFlags & FILTERING)
+		{
+			video.renderW = video.displayW;
+			video.renderH = video.displayH;
+			video.renderX = 0;
+			video.renderY = 0;
+		}
+		else
+		{
+			SDL_RenderGetScale(video.renderer, &fXScale, &fYScale);
+
+			video.renderW = (int32_t)(SCREEN_W * fXScale);
+			video.renderH = (int32_t)(SCREEN_H * fYScale);
+
+#ifdef __APPLE__
+			// retina high-DPI hackery (SDL2 is bad at reporting actual rendering sizes on macOS w/ high-DPI)
+			SDL_GL_GetDrawableSize(video.window, &actualScreenW, &actualScreenH);
+
+			dXUpscale = (double)actualScreenW / video.displayW;
+			dYUpscale = (double)actualScreenH / video.displayH;
+
+			// downscale back to correct sizes
+			if (dXUpscale != 0.0) video.renderW = (int32_t)(video.renderW / dXUpscale);
+			if (dYUpscale != 0.0) video.renderH = (int32_t)(video.renderH / dYUpscale);
+#endif
+			video.renderX = (video.displayW - video.renderW) / 2;
+			video.renderY = (video.displayH - video.renderH) / 2;
+		}
+	}
+	else
+	{
+		SDL_GetWindowSize(video.window, &video.renderW, &video.renderH);
+
+		video.renderX = 0;
+		video.renderY = 0;
+	}
+}
+
+void enterFullscreen(void)
+{
+	SDL_DisplayMode dm;
+
+	strcpy(editor.ui.fullscreenButtonText, "Go windowed");
+	if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_MISCELLANEOUS)
+		showConfigScreen(); // redraw so that we can see the new button text
+
+	if (config.windowFlags & FILTERING)
+	{
+		SDL_GetDesktopDisplayMode(0, &dm);
+		SDL_RenderSetLogicalSize(video.renderer, dm.w, dm.h);
+	}
+	else
+	{
+		SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);
+	}
+
+	SDL_SetWindowSize(video.window, SCREEN_W, SCREEN_H);
+	SDL_SetWindowFullscreen(video.window, SDL_WINDOW_FULLSCREEN_DESKTOP);
+	SDL_SetWindowGrab(video.window, SDL_TRUE);
+
+	updateRenderSizeVars();
+	updateMouseScaling();
+	setMousePosToCenter();
+}
+
+void leaveFullScreen(void)
+{
+	strcpy(editor.ui.fullscreenButtonText, "Go fullscreen");
+	if (editor.ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_MISCELLANEOUS)
+		showConfigScreen(); // redraw so that we can see the new button text
+
+	SDL_SetWindowFullscreen(video.window, 0);
+	SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);
+
+	setWindowSizeFromConfig(false); // also updates mouse scaling and render size vars
+	SDL_SetWindowSize(video.window, SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor);
+	SDL_SetWindowPosition(video.window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
+	SDL_SetWindowGrab(video.window, SDL_FALSE);
+
+	updateRenderSizeVars();
+	updateMouseScaling();
+	setMousePosToCenter();
+}
+
+void toggleFullScreen(void)
+{
+	video.fullscreen ^= 1;
+
+	if (video.fullscreen)
+		enterFullscreen();
+	else
+		leaveFullScreen();
+}
+
+bool setupSprites(void)
+{
+	sprite_t *s;
+
+	memset(sprites, 0, sizeof (sprites));
+
+	s = &sprites[SPRITE_MOUSE_POINTER];
+	s->data = mouseCursors;
+	s->w = MOUSE_CURSOR_W;
+	s->h = MOUSE_CURSOR_H;
+
+	s = &sprites[SPRITE_LEFT_LOOP_PIN];
+	s->data = leftLoopPinUnclicked;
+	s->w = 16;
+	s->h = SAMPLE_AREA_HEIGHT;
+
+	s = &sprites[SPRITE_RIGHT_LOOP_PIN];
+	s->data = rightLoopPinUnclicked;
+	s->w = 16;
+	s->h = SAMPLE_AREA_HEIGHT;
+
+	s = &sprites[SPRITE_TEXT_CURSOR];
+	s->data = textCursorData;
+	s->w = 1;
+	s->h = 12;
+
+	hideSprite(SPRITE_MOUSE_POINTER);
+	hideSprite(SPRITE_LEFT_LOOP_PIN);
+	hideSprite(SPRITE_RIGHT_LOOP_PIN);
+	hideSprite(SPRITE_TEXT_CURSOR);
+
+	// setup refresh buffer (used to clear sprites after each frame)
+	for (uint32_t i = 0; i < SPRITE_NUM; i++)
+	{
+		sprites[i].refreshBuffer = (uint32_t *)malloc((sprites[i].w * sprites[i].h) * sizeof (int32_t));
+		if (sprites[i].refreshBuffer == NULL)
+			return false;
+	}
+
+	return true;
+}
+
+void changeSpriteData(uint8_t sprite, const uint8_t *data)
+{
+	sprites[sprite].data = data;
+	memset(sprites[sprite].refreshBuffer, 0, sprites[sprite].w * sprites[sprite].h * sizeof (int32_t));
+}
+
+void freeSprites(void)
+{
+	for (uint32_t i = 0; i < SPRITE_NUM; i++)
+	{
+		if (sprites[i].refreshBuffer != NULL)
+		{
+			free(sprites[i].refreshBuffer);
+			sprites[i].refreshBuffer = NULL;
+		}
+	}
+}
+
+void setLeftLoopPinState(bool clicked)
+{
+	changeSpriteData(SPRITE_LEFT_LOOP_PIN, clicked ? leftLoopPinClicked : leftLoopPinUnclicked);
+}
+
+void setRightLoopPinState(bool clicked)
+{
+	changeSpriteData(SPRITE_RIGHT_LOOP_PIN, clicked ? rightLoopPinClicked : rightLoopPinUnclicked);
+}
+
+int32_t getSpritePosX(uint8_t sprite)
+{
+	return sprites[sprite].x;
+}
+
+void setSpritePos(uint8_t sprite, int16_t x, int16_t y)
+{
+	sprites[sprite].newX = x;
+	sprites[sprite].newY = y;
+}
+
+void hideSprite(uint8_t sprite)
+{
+	sprites[sprite].newX = SCREEN_W;
+}
+
+void eraseSprites(void)
+{
+	int8_t i;
+	register int32_t x, y, sw, sh, srcPitch, dstPitch;
+	const uint32_t *src32;
+	uint32_t *dst32;
+	sprite_t *s;
+
+	for (i = (SPRITE_NUM - 1); i >= 0; i--) // erasing must be done in reverse order
+	{
+		s = &sprites[i];
+		if (s->x >= SCREEN_W) // sprite is hidden, don't erase
+			continue;
+
+		assert(s->y >= 0 && s->refreshBuffer != NULL);
+
+		sw = s->w;
+		sh = s->h;
+		x  = s->x;
+		y  = s->y;
+
+		// if x is negative, adjust variables (can only happen on loop pins in smp. ed.)
+		if (x < 0)
+		{
+			sw += x; // subtraction
+			x = 0;
+		}
+
+		src32 = s->refreshBuffer;
+		dst32 = &video.frameBuffer[(y * SCREEN_W) + x];
+
+		if (y+sh >= SCREEN_H) sh = SCREEN_H - y;
+		if (x+sw >= SCREEN_W) sw = SCREEN_W - x;
+
+		srcPitch = s->w - sw;
+		dstPitch = SCREEN_W - sw;
+
+		for (y = 0; y < sh; y++)
+		{
+			for (x = 0; x < sw; x++)
+				*dst32++ = *src32++;
+
+			src32 += srcPitch;
+			dst32 += dstPitch;
+		}
+	}
+}
+
+void renderSprites(void)
+{
+	const uint8_t *src8;
+	register int32_t x, y, sw, sh, srcPitch, dstPitch;
+	uint32_t i, *clr32, *dst32, windowFlags;
+	sprite_t *s;
+
+	for (i = 0; i < SPRITE_NUM; i++)
+	{
+		if (i == SPRITE_LEFT_LOOP_PIN || i == SPRITE_RIGHT_LOOP_PIN)
+			continue; // these need special drawing (done elsewhere)
+
+		// don't render the text edit cursor if window is inactive
+		if (i == SPRITE_TEXT_CURSOR)
+		{
+			assert(video.window != NULL);
+			windowFlags = SDL_GetWindowFlags(video.window);
+			if (!(windowFlags & SDL_WINDOW_INPUT_FOCUS))
+				continue;
+		}
+
+		s = &sprites[i];
+
+		// set new sprite position
+		s->x = s->newX;
+		s->y = s->newY;
+
+		if (s->x >= SCREEN_W) // sprite is hidden, don't draw nor fill clear buffer
+			continue;
+
+		assert(s->x >= 0 && s->y >= 0 && s->data != NULL && s->refreshBuffer != NULL);
+
+		sw = s->w;
+		sh = s->h;
+		src8 = s->data;
+		dst32 = &video.frameBuffer[(s->y * SCREEN_W) + s->x];
+		clr32 = s->refreshBuffer;
+
+		// handle xy clipping
+		if (s->y+sh >= SCREEN_H) sh = SCREEN_H - s->y;
+		if (s->x+sw >= SCREEN_W) sw = SCREEN_W - s->x;
+
+		srcPitch = s->w - sw;
+		dstPitch = SCREEN_W - sw;
+
+		if (mouse.mouseOverTextBox && i == SPRITE_MOUSE_POINTER)
+		{
+			// text edit mouse pointer (has color changing depending on content under it)
+			for (y = 0; y < sh; y++)
+			{
+				for (x = 0; x < sw; x++)
+				{
+					*clr32++ = *dst32; // fill clear buffer
+
+					if (*src8 != PAL_TRANSPR)
+					{
+						if (!(*dst32 & 0xFFFFFF) || *dst32 == video.palette[PAL_TEXTMRK])
+							*dst32 = 0xB3DBF6;
+						else
+							*dst32 = 0x004ECE;
+					}
+
+					dst32++;
+					src8++;
+				}
+
+				clr32 += srcPitch;
+				src8 += srcPitch;
+				dst32 += dstPitch;
+			}
+		}
+		else
+		{
+			// normal sprites
+			for (y = 0; y < sh; y++)
+			{
+				for (x = 0; x < sw; x++)
+				{
+					*clr32++ = *dst32; // fill clear buffer
+
+					if (*src8 != PAL_TRANSPR)
+					{
+						assert(*src8 < PAL_NUM);
+						*dst32 = video.palette[*src8];
+					}
+
+					dst32++;
+					src8++;
+				}
+
+				clr32 += srcPitch;
+				src8 += srcPitch;
+				dst32 += dstPitch;
+			}
+		}
+	}
+}
+
+void renderLoopPins(void)
+{
+	uint8_t pal;
+	const uint8_t *src8;
+	int32_t sx;
+	register int32_t x, y, sw, sh, srcPitch, dstPitch;
+	uint32_t *clr32, *dst32;
+	sprite_t *s;
+
+	// left loop pin
+
+	s = &sprites[SPRITE_LEFT_LOOP_PIN];
+	assert(s->data != NULL && s->refreshBuffer != NULL);
+
+	// set new sprite position
+	s->x = s->newX;
+	s->y = s->newY;
+
+	if (s->x < SCREEN_W) // loop pin shown?
+	{
+		sw = s->w;
+		sh = s->h;
+		sx = s->x;
+
+		src8 = s->data;
+		clr32 = s->refreshBuffer;
+
+		// if x is negative, adjust variables
+		if (sx < 0)
+		{
+			sw += sx; // subtraction
+			src8 -= sx; // addition
+			sx = 0;
+		}
+
+		dst32 = &video.frameBuffer[(s->y * SCREEN_W) + sx];
+
+		// handle x clipping
+		if (s->x+sw >= SCREEN_W) sw = SCREEN_W - s->x;
+
+		srcPitch = s->w - sw;
+		dstPitch = SCREEN_W - sw;
+
+		for (y = 0; y < sh; y++)
+		{
+			for (x = 0; x < sw; x++)
+			{
+				*clr32++ = *dst32; // fill clear buffer
+
+				if (*src8 != PAL_TRANSPR)
+				{
+					assert(*src8 < PAL_NUM);
+					*dst32 = video.palette[*src8];
+				}
+
+				dst32++;
+				src8++;
+			}
+
+			src8 += srcPitch;
+			clr32 += srcPitch;
+			dst32 += dstPitch;
+		}
+	}
+
+	// right loop pin
+
+	s = &sprites[SPRITE_RIGHT_LOOP_PIN];
+	assert(s->data != NULL && s->refreshBuffer != NULL);
+
+	// set new sprite position
+	s->x = s->newX;
+	s->y = s->newY;
+
+	if (s->x < SCREEN_W) // loop pin shown?
+	{
+		s->x = s->newX;
+		s->y = s->newY;
+
+		sw = s->w;
+		sh = s->h;
+		sx = s->x;
+
+		src8 = s->data;
+		clr32 = s->refreshBuffer;
+
+		// if x is negative, adjust variables
+		if (sx < 0)
+		{
+			sw += sx; // subtraction
+			src8 -= sx; // addition
+			sx = 0;
+		}
+
+		dst32 = &video.frameBuffer[(s->y * SCREEN_W) + sx];
+
+		// handle x clipping
+		if (s->x+sw >= SCREEN_W) sw = SCREEN_W - s->x;
+
+		srcPitch = s->w - sw;
+		dstPitch = SCREEN_W - sw;
+
+		for (y = 0; y < sh; y++)
+		{
+			for (x = 0; x < sw; x++)
+			{
+				*clr32++ = *dst32;
+
+				if (*src8 != PAL_TRANSPR)
+				{
+					assert(*src8 < PAL_NUM);
+					if (y < 9 && *src8 == PAL_LOOPPIN)
+					{
+						// don't draw marker line on top of left loop pin's thumb graphics
+						pal = *dst32 >> 24;
+						if (pal != PAL_DESKTOP && pal != PAL_DSKTOP1 && pal != PAL_DSKTOP2)
+							*dst32 = video.palette[*src8];
+					}
+					else
+					{
+						*dst32 = video.palette[*src8];
+					}
+				}
+
+				dst32++;
+				src8++;
+			}
+
+			src8 += srcPitch;
+			clr32 += srcPitch;
+			dst32 += dstPitch;
+		}
+	}
+}
+
+void setupWaitVBL(void)
+{
+	// set next frame time
+	timeNext64 = SDL_GetPerformanceCounter() + video.vblankTimeLen;
+	timeNext64Frac = video.vblankTimeLenFrac;
+}
+
+void waitVBL(void)
+{
+	// this routine almost never delays if we have 60Hz vsync, but it's still needed in some occasions
+	int32_t time32;
+	uint32_t diff32;
+	uint64_t time64;
+
+	time64 = SDL_GetPerformanceCounter();
+	if (time64 < timeNext64)
+	{
+		assert(timeNext64-time64 <= 0xFFFFFFFFULL);
+		diff32 = (uint32_t)(timeNext64 - time64);
+
+		// convert and round to microseconds
+		time32 = (int32_t)((diff32 * editor.dPerfFreqMulMicro) + 0.5);
+
+		// delay until we have reached next frame
+		if (time32 > 0)
+			usleep(time32);
+	}
+
+	// update next frame time
+
+	timeNext64 += video.vblankTimeLen;
+
+	timeNext64Frac += video.vblankTimeLenFrac;
+	if (timeNext64Frac >= (1ULL << 32))
+	{
+		timeNext64Frac &= 0xFFFFFFFF;
+		timeNext64++;
+	}
+}
+
+void closeVideo(void)
+{
+	if (video.texture != NULL)
+	{
+		SDL_DestroyTexture(video.texture);
+		video.texture = NULL;
+	}
+
+	if (video.renderer != NULL)
+	{
+		SDL_DestroyRenderer(video.renderer);
+		video.renderer = NULL;
+	}
+
+	if (video.window != NULL)
+	{
+		SDL_DestroyWindow(video.window);
+		video.window = NULL;
+	}
+
+	if (video.frameBuffer != NULL)
+	{
+		free(video.frameBuffer);
+		video.frameBuffer = NULL;
+	}
+}
+
+void setWindowSizeFromConfig(bool updateRenderer)
+{
+#define MAX_UPSCALE_FACTOR 16 // 10112x6400 - ought to be good enough for many years to come
+
+	uint8_t i, oldUpscaleFactor;
+	SDL_DisplayMode dm;
+
+	oldUpscaleFactor = video.upscaleFactor;
+	if (config.windowFlags & WINSIZE_AUTO)
+	{
+		// find out which upscaling factor is the biggest to fit on screen
+		if (SDL_GetDesktopDisplayMode(0, &dm) == 0)
+		{
+			for (i = MAX_UPSCALE_FACTOR; i >= 1; i--)
+			{
+				// slightly bigger than 632x400 because of window title, window borders and taskbar/menu
+				if (dm.w >= 640*i && dm.h >= 450*i)
+				{
+					video.upscaleFactor = i;
+					break;
+				}
+			}
+
+			if (i == 0)
+				video.upscaleFactor = 1; // 1x is not going to fit, but use 1x anyways...
+		}
+		else
+		{
+			// couldn't get screen resolution, set to 1x
+			video.upscaleFactor = 1;
+		}
+	}
+	else if (config.windowFlags & WINSIZE_1X) video.upscaleFactor = 1;
+	else if (config.windowFlags & WINSIZE_2X) video.upscaleFactor = 2;
+	else if (config.windowFlags & WINSIZE_3X) video.upscaleFactor = 3;
+	else if (config.windowFlags & WINSIZE_4X) video.upscaleFactor = 4;
+
+	if (updateRenderer)
+	{
+		SDL_SetWindowSize(video.window, SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor);
+
+		if (oldUpscaleFactor != video.upscaleFactor)
+			SDL_SetWindowPosition(video.window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
+
+		updateRenderSizeVars();
+		updateMouseScaling();
+		setMousePosToCenter();
+	}
+}
+
+void updateWindowTitle(bool forceUpdate)
+{
+	char *songTitle;
+
+	if (!forceUpdate && songIsModified == song.isModified)
+		return; // window title is already set to the same
+
+	songTitle = getCurrSongFilename();
+	if (songTitle != NULL)
+	{
+		if (song.isModified)
+			sprintf(wndTitle, "Fasttracker II clone v%s - \"%s\" (unsaved)", PROG_VER_STR, songTitle);
+		else
+			sprintf(wndTitle, "Fasttracker II clone v%s - \"%s\"", PROG_VER_STR, songTitle);
+	}
+	else
+	{
+		if (song.isModified)
+			sprintf(wndTitle, "Fasttracker II clone v%s - \"untitled\" (unsaved)", PROG_VER_STR);
+		else
+			sprintf(wndTitle, "Fasttracker II clone v%s - \"untitled\"", PROG_VER_STR);
+	}
+
+	SDL_SetWindowTitle(video.window, wndTitle);
+	songIsModified = song.isModified;
+}
+
+bool recreateTexture(void)
+{
+	if (video.texture != NULL)
+	{
+		SDL_DestroyTexture(video.texture);
+		video.texture = NULL;
+	}
+
+	if (config.windowFlags & FILTERING)
+		SDL_SetHint("SDL_RENDER_SCALE_QUALITY", "best");
+	else
+		SDL_SetHint("SDL_RENDER_SCALE_QUALITY", "nearest");
+
+	video.texture = SDL_CreateTexture(video.renderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_STREAMING, SCREEN_W, SCREEN_H);
+	if (video.texture == NULL)
+	{
+		showErrorMsgBox("Couldn't create a %dx%d GPU texture:\n%s\n\nIs your GPU (+ driver) too old?", SCREEN_W, SCREEN_H, SDL_GetError());
+		return false;
+	}
+
+	SDL_SetTextureBlendMode(video.texture, SDL_BLENDMODE_NONE);
+	return true;
+}
+
+bool setupWindow(void)
+{
+	uint32_t windowFlags;
+	SDL_DisplayMode dm;
+
+	video.vsync60HzPresent = false;
+
+	windowFlags = SDL_WINDOW_ALLOW_HIGHDPI;
+#if defined (__APPLE__) || defined (_WIN32) // yet another quirk!
+	windowFlags |= SDL_WINDOW_HIDDEN;
+#endif
+
+	setWindowSizeFromConfig(false);
+
+#if SDL_PATCHLEVEL >= 5 // SDL 2.0.5 or later
+	SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
+#endif
+
+	SDL_GetDesktopDisplayMode(0, &dm);
+	video.dMonitorRefreshRate = (double)dm.refresh_rate;
+
+	if (dm.refresh_rate >= 59 && dm.refresh_rate <= 61)
+		video.vsync60HzPresent = true;
+
+	if (config.windowFlags & FORCE_VSYNC_OFF)
+		video.vsync60HzPresent = false;
+
+	video.window = SDL_CreateWindow("", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
+					SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor,
+					windowFlags);
+
+	if (video.window == NULL)
+	{
+		showErrorMsgBox("Couldn't create SDL window:\n%s", SDL_GetError());
+		return false;
+	}
+
+#ifdef __APPLE__ // for macOS we need to do this here for reasons I can't be bothered to explain
+	SDL_PumpEvents();
+	SDL_ShowWindow(video.window);
+#endif
+
+	updateWindowTitle(true);
+	return true;
+}
+
+bool setupRenderer(void)
+{
+	uint32_t rendererFlags;
+
+	rendererFlags = 0;
+	if (video.vsync60HzPresent)
+		rendererFlags |= SDL_RENDERER_PRESENTVSYNC;
+
+	video.renderer = SDL_CreateRenderer(video.window, -1, rendererFlags);
+	if (video.renderer == NULL)
+	{
+		if (video.vsync60HzPresent)
+		{
+			// try again without vsync flag
+			video.vsync60HzPresent = false;
+
+			rendererFlags &= ~SDL_RENDERER_PRESENTVSYNC;
+			video.renderer = SDL_CreateRenderer(video.window, -1, rendererFlags);
+		}
+
+		if (video.renderer == NULL)
+		{
+			showErrorMsgBox("Couldn't create SDL renderer:\n%s\n\nIs your GPU (+ driver) too old?",
+				SDL_GetError());
+			return false;
+		}
+	}
+
+	SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);
+
+#if SDL_PATCHLEVEL >= 5
+	SDL_RenderSetIntegerScale(video.renderer, SDL_TRUE);
+#endif
+
+	SDL_SetRenderDrawBlendMode(video.renderer, SDL_BLENDMODE_NONE);
+
+	if (!recreateTexture())
+	{
+		showErrorMsgBox("Couldn't create a %dx%d GPU texture:\n%s\n\nIs your GPU (+ driver) too old?",
+			SCREEN_W, SCREEN_H, SDL_GetError());
+		return false;
+	}
+
+	// framebuffer used by SDL (for texture)
+	video.frameBuffer = (uint32_t *)malloc(SCREEN_W * SCREEN_H * sizeof (int32_t));
+	if (video.frameBuffer == NULL)
+	{
+		showErrorMsgBox("Not enough memory!");
+		return false;
+	}
+
+	if (!setupSprites())
+		return false;
+
+	updateRenderSizeVars();
+	updateMouseScaling();
+
+	if (config.specialFlags2 & HARDWARE_MOUSE)
+		SDL_ShowCursor(SDL_TRUE);
+	else
+		SDL_ShowCursor(SDL_FALSE);
+
+	return true;
+}
+
+void handleRedrawing(void)
+{
+	textBox_t *txt;
+
+	if (!editor.ui.configScreenShown && !editor.ui.helpScreenShown)
+	{
+		if (editor.ui.aboutScreenShown)
+		{
+			aboutFrame();
+		}
+		else if (editor.ui.nibblesShown)
+		{
+			if (editor.NI_Play)
+				moveNibblePlayers();
+		}
+		else
+		{
+			if (editor.ui.updatePosSections)
+			{
+				editor.ui.updatePosSections = false;
+
+				if (!editor.ui.diskOpShown)
+				{
+					drawSongRepS();
+					drawSongLength();
+					drawPosEdNums(editor.songPos);
+					drawEditPattern(editor.editPattern);
+					drawPatternLength(editor.editPattern);
+					drawSongBPM(editor.speed);
+					drawSongSpeed(editor.tempo);
+					drawGlobalVol(editor.globalVol);
+
+					if (!songPlaying || editor.wavIsRendering)
+						setScrollBarPos(SB_POS_ED, editor.songPos, false);
+
+					// draw current mode text (not while in extended pattern editor mode)
+					if (!editor.ui.extended)
+					{
+						fillRect(115, 80, 74, 10, PAL_DESKTOP);
+
+						     if (playMode == PLAYMODE_PATT)    textOut(115, 80, PAL_FORGRND, "> Play ptn. <");
+						else if (playMode == PLAYMODE_EDIT)    textOut(121, 80, PAL_FORGRND, "> Editing <");
+						else if (playMode == PLAYMODE_RECSONG) textOut(114, 80, PAL_FORGRND, "> Rec. sng. <");
+						else if (playMode == PLAYMODE_RECPATT) textOut(115, 80, PAL_FORGRND, "> Rec. ptn. <");
+					}
+				}
+			}
+
+			if (!editor.ui.extended)
+			{
+				if (!editor.ui.diskOpShown)
+					drawPlaybackTime();
+
+				     if (editor.ui.sampleEditorExtShown) handleSampleEditorExtRedrawing();
+				else if (editor.ui.scopesShown) drawScopes();
+			}
+		}
+	}
+
+	drawReplayerData();
+
+	     if (editor.ui.instEditorShown) handleInstEditorRedrawing();
+	else if (editor.ui.sampleEditorShown) handleSamplerRedrawing();
+
+	// blink text edit cursor
+	if (editor.editTextFlag && mouse.lastEditBox != -1)
+	{
+		assert(mouse.lastEditBox >= 0 && mouse.lastEditBox < NUM_TEXTBOXES);
+
+		txt = &textBoxes[mouse.lastEditBox];
+		if (editor.textCursorBlinkCounter < 256/2 && !textIsMarked() && !(mouse.leftButtonPressed | mouse.rightButtonPressed))
+			setSpritePos(SPRITE_TEXT_CURSOR, getTextCursorX(txt), getTextCursorY(txt) - 1); // show text cursor
+		else
+			hideSprite(SPRITE_TEXT_CURSOR); // hide text cursor
+
+		editor.textCursorBlinkCounter += TEXT_CURSOR_BLINK_RATE;
+	}
+
+	if (editor.busy)
+		animateBusyMouse();
+
+	renderLoopPins();
+}
+
+static void drawReplayerData(void)
+{
+	bool drawPosText;
+
+	if (songPlaying)
+	{
+		if (editor.ui.drawReplayerPianoFlag)
+		{
+			editor.ui.drawReplayerPianoFlag = false;
+			if (editor.ui.instEditorShown)
+			{
+				if (chSyncEntry != NULL)
+					drawPianoReplayer(chSyncEntry);
+			}
+		}
+
+		drawPosText = true;
+		if (editor.ui.configScreenShown || editor.ui.nibblesShown     ||
+			editor.ui.helpScreenShown   || editor.ui.aboutScreenShown ||
+			editor.ui.diskOpShown)
+		{
+			drawPosText = false;
+		}
+
+		if (drawPosText)
+		{
+			if (editor.ui.drawBPMFlag)
+			{
+				editor.ui.drawBPMFlag = false;
+				drawSongBPM(editor.speed);
+			}
+			
+			if (editor.ui.drawSpeedFlag)
+			{
+				editor.ui.drawSpeedFlag = false;
+				drawSongSpeed(editor.tempo);
+			}
+
+			if (editor.ui.drawGlobVolFlag)
+			{
+				editor.ui.drawGlobVolFlag = false;
+				drawGlobalVol(editor.globalVol);
+			}
+
+			if (editor.ui.drawPosEdFlag)
+			{
+				editor.ui.drawPosEdFlag = false;
+				drawPosEdNums(editor.songPos);
+				setScrollBarPos(SB_POS_ED, editor.songPos, false);
+			}
+
+			if (editor.ui.drawPattNumLenFlag)
+			{
+				editor.ui.drawPattNumLenFlag = false;
+				drawEditPattern(editor.editPattern);
+				drawPatternLength(editor.editPattern);
+			}
+		}
+	}
+	else if (editor.ui.instEditorShown)
+	{
+		drawPiano();
+	}
+
+	// handle pattern data updates
+	if (editor.ui.updatePatternEditor)
+	{
+		editor.ui.updatePatternEditor = false;
+		if (editor.ui.patternEditorShown)
+			writePattern(editor.pattPos, editor.editPattern);
+	}
+}
--- /dev/null
+++ b/src/ft2_video.h
@@ -1,0 +1,74 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_palette.h"
+#include "ft2_audio.h"
+
+enum
+{
+	SPRITE_LEFT_LOOP_PIN = 0,
+	SPRITE_RIGHT_LOOP_PIN = 1,
+	SPRITE_TEXT_CURSOR = 2,
+	SPRITE_MOUSE_POINTER = 3, // priority above all other sprites
+
+	SPRITE_NUM
+};
+
+struct video_t
+{
+	uint8_t upscaleFactor;
+	bool fullscreen, vsync60HzPresent, showFPSCounter;
+	int32_t renderX, renderY, renderW, renderH, displayW, displayH;
+	uint32_t *frameBuffer, palette[PAL_NUM], vblankTimeLen, vblankTimeLenFrac;
+	uint32_t xScaleMul, yScaleMul;
+	double dMonitorRefreshRate;
+#ifdef _WIN32
+	HWND hWnd;
+#endif
+	SDL_Window *window;
+	SDL_Renderer *renderer;
+	SDL_Texture *texture;
+	SDL_Surface *iconSurface;
+} video;
+
+typedef struct
+{
+	uint32_t *refreshBuffer;
+	const uint8_t *data;
+	bool visible;
+	int16_t newX, newY, x, y;
+	uint16_t w, h;
+} sprite_t;
+
+void resetFPSCounter(void);
+void beginFPSCounter(void);
+void endFPSCounter(void);
+void flipFrame(void);
+void showErrorMsgBox(const char *fmt, ...);
+void updateWindowTitle(bool forceUpdate);
+void setPalettePreset(int16_t palettePreset);
+void handleScopesFromChQueue(chSyncData_t *chSyncData, uint8_t *scopeUpdateStatus);
+bool setupWindow(void);
+bool setupRenderer(void);
+void closeVideo(void);
+void setLeftLoopPinState(bool clicked);
+void setRightLoopPinState(bool clicked);
+int32_t getSpritePosX(uint8_t sprite);
+void eraseSprites(void);
+void renderLoopPins(void);
+void renderSprites(void);
+bool setupSprites(void);
+void freeSprites(void);
+void setSpritePos(uint8_t sprite, int16_t x, int16_t y);
+void changeSpriteData(uint8_t sprite, const uint8_t *data);
+void hideSprite(uint8_t sprite);
+void handleRedrawing(void);
+void enterFullscreen(void);
+void leaveFullScreen(void);
+void toggleFullScreen(void);
+void setWindowSizeFromConfig(bool updateRenderer);
+bool recreateTexture(void);
+void setupWaitVBL(void);
+void waitVBL(void);
--- /dev/null
+++ b/src/ft2_wav_renderer.c
@@ -1,0 +1,542 @@
+// for finding memory leaks in debug mode with Visual Studio
+#if defined _DEBUG && defined _MSC_VER
+#include <crtdbg.h>
+#endif
+
+#include <stdio.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include "ft2_header.h"
+#include "ft2_gui.h"
+#include "ft2_pattern_ed.h"
+#include "ft2_diskop.h"
+#include "ft2_scopes.h"
+#include "ft2_config.h"
+#include "ft2_mouse.h"
+#include "ft2_sample_ed.h"
+#include "ft2_inst_ed.h"
+#include "ft2_audio.h"
+#include "ft2_wav_renderer.h"
+
+#define TICKS_PER_RENDER_CHUNK 32
+
+enum
+{
+	WAV_FORMAT_PCM = 0x0001,
+	WAV_FORMAT_IEEE_FLOAT = 0x0003
+};
+
+typedef struct wavHeader_t
+{
+	uint32_t chunkID, chunkSize, format, subchunk1ID, subchunk1Size;
+	uint16_t audioFormat, numChannels;
+	uint32_t sampleRate, byteRate;
+	uint16_t blockAlign, bitsPerSample;
+	uint32_t subchunk2ID, subchunk2Size;
+} wavHeader_t;
+
+static char WAV_SysReqText[192];
+static uint8_t WDBitDepth = 16, WDStartPos, WDStopPos, *wavRenderBuffer;
+static int16_t WDAmp;
+static uint32_t WDFrequency = 44100;
+static SDL_Thread *thread;
+
+static void updateWavRenderer(void)
+{
+	char str[10];
+
+	fillRect(209, 116, 41, 51, PAL_DESKTOP);
+
+	sprintf(str, "%06d", WDFrequency);
+	textOut(209, 116, PAL_FORGRND, str);
+
+	sprintf(str, "%02d", WDAmp);
+	textOut(237, 130, PAL_FORGRND, str);
+
+	hexOut(237, 144, PAL_FORGRND, WDStartPos, 2);
+	hexOut(237, 158, PAL_FORGRND, WDStopPos,  2);
+}
+
+void updateWavRendererSettings(void) // called when changing config.boostLevel
+{
+	WDAmp = config.boostLevel;
+}
+
+void drawWavRenderer(void)
+{
+	drawFramework(0,   92, 291, 17, FRAMEWORK_TYPE1);
+	drawFramework(0,  109,  79, 64, FRAMEWORK_TYPE1);
+	drawFramework(79, 109, 212, 64, FRAMEWORK_TYPE1);
+
+	textOutShadow(4,   96, PAL_FORGRND, PAL_DSKTOP2, "Harddisk recording:");
+	textOutShadow(156, 96, PAL_FORGRND, PAL_DSKTOP2, "16-bit");
+	textOutShadow(221, 96, PAL_FORGRND, PAL_DSKTOP2, "24-bit float");
+
+	textOutShadow(85, 116, PAL_FORGRND, PAL_DSKTOP2, "Frequency");
+	textOutShadow(85, 130, PAL_FORGRND, PAL_DSKTOP2, "Amplification");
+	textOutShadow(85, 144, PAL_FORGRND, PAL_DSKTOP2, "Start song position");
+	textOutShadow(85, 158, PAL_FORGRND, PAL_DSKTOP2, "Stop song position");
+
+	showPushButton(PB_WAV_RENDER);
+	showPushButton(PB_WAV_EXIT);
+	showPushButton(PB_WAV_FREQ_UP);
+	showPushButton(PB_WAV_FREQ_DOWN);
+	showPushButton(PB_WAV_AMP_UP);
+	showPushButton(PB_WAV_AMP_DOWN);
+	showPushButton(PB_WAV_START_UP);
+	showPushButton(PB_WAV_START_DOWN);
+	showPushButton(PB_WAV_END_UP);
+	showPushButton(PB_WAV_END_DOWN);
+
+	// bitdepth radiobuttons
+
+	radioButtons[RB_WAV_RENDER_BITDEPTH16].state = RADIOBUTTON_UNCHECKED;
+	radioButtons[RB_WAV_RENDER_BITDEPTH32].state = RADIOBUTTON_UNCHECKED;
+
+	if (WDBitDepth == 16)
+		radioButtons[RB_WAV_RENDER_BITDEPTH16].state = RADIOBUTTON_CHECKED;
+	else
+		radioButtons[RB_WAV_RENDER_BITDEPTH32].state = RADIOBUTTON_CHECKED;
+
+	showRadioButtonGroup(RB_GROUP_WAV_RENDER_BITDEPTH);
+
+	updateWavRenderer();
+}
+
+void resetWavRenderer(void)
+{
+	WDStartPos = 0;
+	WDStopPos  = (uint8_t)song.len - 1;
+
+	if (editor.ui.wavRendererShown)
+		updateWavRenderer();
+}
+
+void showWavRenderer(void)
+{
+	if (editor.ui.extended)
+		exitPatternEditorExtended();
+
+	hideTopScreen();
+	showTopScreen(false);
+
+	editor.ui.wavRendererShown = true;
+	editor.ui.scopesShown = false;
+
+	WDStartPos = 0;
+	WDStopPos = (uint8_t)song.len - 1;
+
+	drawWavRenderer();
+}
+
+void hideWavRenderer(void)
+{
+	editor.ui.wavRendererShown = false;
+
+	hidePushButton(PB_WAV_RENDER);
+	hidePushButton(PB_WAV_EXIT);
+	hidePushButton(PB_WAV_FREQ_UP);
+	hidePushButton(PB_WAV_FREQ_DOWN);
+	hidePushButton(PB_WAV_AMP_UP);
+	hidePushButton(PB_WAV_AMP_DOWN);
+	hidePushButton(PB_WAV_START_UP);
+	hidePushButton(PB_WAV_START_DOWN);
+	hidePushButton(PB_WAV_END_UP);
+	hidePushButton(PB_WAV_END_DOWN);
+	hideRadioButtonGroup(RB_GROUP_WAV_RENDER_BITDEPTH);
+
+	editor.ui.scopesShown = true;
+	drawScopeFramework();
+}
+
+void exitWavRenderer(void)
+{
+	hideWavRenderer();
+}
+
+static bool dump_Init(uint32_t frq, int16_t amp, int16_t songPos)
+{
+	uint8_t i, oldMuteFlags[MAX_VOICES];
+	uint32_t maxSamplesPerTick, sampleSize;
+
+	maxSamplesPerTick = ((frq * 5) / 2) / MIN_BPM; // absolute max samples per tidck
+	sampleSize = (WDBitDepth / 8) * 2; // 2 channels
+
+	// *2 for stereo
+	wavRenderBuffer = (uint8_t *)malloc((TICKS_PER_RENDER_CHUNK * maxSamplesPerTick) * sampleSize);
+	if (wavRenderBuffer == NULL)
+		return false;
+
+	editor.wavIsRendering = true;
+
+	setPos(songPos, 0);
+	playMode = PLAYMODE_SONG;
+	songPlaying = true;
+
+	// store mute states
+	for (i = 0; i < MAX_VOICES; i++)
+		oldMuteFlags[i] = stm[i].stOff;
+
+	resetChannels();
+
+	// restore mute states
+	for (i = 0; i < MAX_VOICES; i++)
+		stm[i].stOff = oldMuteFlags[i];
+
+	setNewAudioFreq(frq);
+	setAudioAmp(amp, config.masterVol, (WDBitDepth == 32));
+
+	stopVoices();
+	song.globVol = 64;
+	setSpeed(song.speed);
+
+	song.musicTime = 0;
+	return true;
+}
+
+static void dump_Close(FILE *f, uint32_t totalSamples)
+{
+	uint32_t tmpLen, totalBytes;
+	wavHeader_t wavHeader;
+
+	if (wavRenderBuffer != NULL)
+	{
+		free(wavRenderBuffer);
+		wavRenderBuffer = NULL;
+	}
+
+	if (WDBitDepth == 16)
+		totalBytes = totalSamples * sizeof (int16_t);
+	else
+		totalBytes = totalSamples * sizeof (float);
+
+	if (totalBytes & 1)
+		fputc(0, f); // write pad byte
+
+	tmpLen = ftell(f) - 8;
+
+	// go back and fill in WAV header
+	fseek(f, 0, SEEK_SET);
+
+	wavHeader.chunkID = 0x46464952; // "RIFF"
+	wavHeader.chunkSize = tmpLen;
+	wavHeader.format = 0x45564157; // "WAVE"
+	wavHeader.subchunk1ID = 0x20746D66; // "fmt "
+	wavHeader.subchunk1Size = 16;
+
+	if (WDBitDepth == 16)
+		wavHeader.audioFormat = WAV_FORMAT_PCM;
+	else
+		wavHeader.audioFormat = WAV_FORMAT_IEEE_FLOAT;
+
+	wavHeader.numChannels = 2;
+	wavHeader.sampleRate = WDFrequency;
+	wavHeader.byteRate = (wavHeader.sampleRate * wavHeader.numChannels * WDBitDepth) / 8;
+	wavHeader.blockAlign = (wavHeader.numChannels * WDBitDepth) / 8;
+	wavHeader.bitsPerSample = WDBitDepth;
+	wavHeader.subchunk2ID = 0x61746164; // "data"
+	wavHeader.subchunk2Size = totalBytes;
+
+	// write main header
+	fwrite(&wavHeader, 1, sizeof (wavHeader_t), f);
+	fclose(f);
+
+	stopPlaying();
+
+	// kludge: set speed to 6 if speed was set to 0
+	if (song.tempo == 0)
+		song.tempo = 6;
+
+	setBackOldAudioFreq();
+	setSpeed(song.speed);
+	setAudioAmp(config.boostLevel, config.masterVol, config.specialFlags & BITDEPTH_24);
+	editor.wavIsRendering = false;
+
+	setMouseBusy(false);
+}
+
+static bool dump_EndOfTune(int16_t endSongPos) // exactly the same as in real FT2
+{
+	bool returnValue = (editor.wavReachedEndFlag && song.pattPos == 0 && song.timer == 1) || (song.tempo == 0);
+
+	if (song.songPos == endSongPos && song.pattPos == 0 && song.timer == 1)
+		editor.wavReachedEndFlag = true;
+
+	return returnValue;
+}
+
+uint32_t dump_RenderTick(uint8_t *buffer) // returns bytes mixed
+{
+	replayerBusy = true;
+
+	if (audio.volumeRampingFlag)
+		mix_SaveIPVolumes();
+
+	mainPlayer();
+	mix_UpdateChannelVolPanFrq();
+
+	replayerBusy = false;
+
+	return mixReplayerTickToBuffer(buffer, WDBitDepth);
+}
+
+static void updateVisuals(void)
+{
+	editor.editPattern = (uint8_t)song.pattNr;
+	editor.pattPos = song.pattPos;
+	editor.songPos = song.songPos;
+	editor.speed = song.speed;
+	editor.tempo = song.tempo;
+	editor.globalVol = song.globVol;
+
+	editor.ui.drawPosEdFlag = true;
+	editor.ui.drawPattNumLenFlag = true; 
+	editor.ui.drawReplayerPianoFlag = true;
+	editor.ui.drawBPMFlag = true;
+	editor.ui.drawSpeedFlag = true;
+	editor.ui.drawGlobVolFlag = true;
+	editor.ui.updatePatternEditor = true;
+}
+
+static int32_t SDLCALL renderWavThread(void *ptr)
+{
+	bool renderDone;
+	uint8_t *ptr8, loopCounter;
+	uint32_t samplesInChunk, tickSamples, sampleCounter;
+	FILE *f;
+
+	(void)ptr;
+
+	f = (FILE *)editor.wavRendererFileHandle;
+	fseek(f, sizeof (wavHeader_t), SEEK_SET);
+
+	pauseAudio();
+
+	if (!dump_Init(WDFrequency, WDAmp, WDStartPos))
+	{
+		resumeAudio();
+		okBoxThreadSafe(0, "System message", "Not enough memory!");
+		return true;
+	}
+
+	sampleCounter = 0;
+	renderDone = false;
+	loopCounter = 0;
+
+	editor.wavReachedEndFlag = false;
+	while (!renderDone && editor.wavIsRendering)
+	{
+		samplesInChunk = 0;
+
+		// render several ticks at once to prevent frequent disk I/O (speeds up the process)
+		ptr8 = wavRenderBuffer;
+		for (uint32_t i = 0; i < TICKS_PER_RENDER_CHUNK; i++)
+		{
+			if (!editor.wavIsRendering || dump_EndOfTune(WDStopPos))
+			{
+				renderDone = true;
+				break;
+			}
+
+			tickSamples = dump_RenderTick(ptr8) * 2; // *2 for stereo
+
+			samplesInChunk += tickSamples;
+			sampleCounter  += tickSamples;
+
+			// increase buffer pointer
+			if (WDBitDepth == 16)
+				ptr8 += (tickSamples * sizeof (int16_t));
+			else
+				ptr8 += (tickSamples * sizeof (float));
+
+			if (++loopCounter > 16)
+			{
+				loopCounter = 0;
+				updateVisuals();
+			}
+		}
+
+		// write buffer to disk
+		if (samplesInChunk > 0)
+		{
+			if (WDBitDepth == 16)
+				fwrite(wavRenderBuffer, sizeof (int16_t), samplesInChunk, f);
+			else
+				fwrite(wavRenderBuffer, sizeof (float), samplesInChunk, f);
+		}
+	}
+
+	updateVisuals();
+	dump_Close(f, sampleCounter);
+
+	resumeAudio();
+
+	editor.diskOpReadOnOpen = true;
+	return true;
+}
+
+static void createOverwriteText(char *name)
+{
+	char nameTmp[128];
+	uint32_t nameLen;
+
+	// read entry name to a small buffer
+	nameLen = (uint32_t)strlen(name);
+	memcpy(nameTmp, name, (nameLen >= sizeof (nameTmp)) ? sizeof (nameTmp) : (nameLen + 1));
+	nameTmp[sizeof (nameTmp) - 1] = '\0';
+
+	trimEntryName(nameTmp, false);
+
+	sprintf(WAV_SysReqText, "Overwrite file \"%s\"?", nameTmp);
+}
+
+static void wavRender(bool checkOverwrite)
+{
+	char *filename;
+
+	WDStartPos = (uint8_t)(MAX(0, MIN(WDStartPos, song.len - 1)));
+	WDStopPos  = (uint8_t)(MAX(0, MIN(MAX(WDStartPos, WDStopPos), song.len - 1)));
+
+	updateWavRenderer();
+
+	diskOpChangeFilenameExt(".wav");
+
+	filename = getDiskOpFilename();
+	if (checkOverwrite && fileExistsAnsi(filename))
+	{
+		createOverwriteText(filename);
+		if (okBox(2, "System request", WAV_SysReqText) != 1)
+			return;
+	}
+
+	editor.wavRendererFileHandle = fopen(filename, "wb");
+	if (editor.wavRendererFileHandle == NULL)
+	{
+		okBox(0, "System message", "General I/O error while writing to WAV (is the file in use)?");
+		return;
+	}
+
+	mouseAnimOn();
+	thread = SDL_CreateThread(renderWavThread, NULL, NULL);
+	if (thread == NULL)
+	{
+		fclose((FILE *)editor.wavRendererFileHandle);
+		okBox(0, "System message", "Couldn't create thread!");
+		return;
+	}
+
+	SDL_DetachThread(thread);
+}
+
+void pbWavRender(void)
+{
+	wavRender(config.cfg_OverwriteWarning ? true : false);
+}
+
+void pbWavExit(void)
+{
+	exitWavRenderer();
+}
+
+void pbWavFreqUp(void)
+{
+	if (WDFrequency < MAX_WAV_RENDER_FREQ)
+	{
+		     if (WDFrequency == 8000)  WDFrequency = 11025;
+		else if (WDFrequency == 11025) WDFrequency = 16000;
+		else if (WDFrequency == 16000) WDFrequency = 22050;
+		else if (WDFrequency == 22050) WDFrequency = 32000;
+		else if (WDFrequency == 32000) WDFrequency = 44100;
+		else if (WDFrequency == 44100) WDFrequency = 48000;
+		else if (WDFrequency == 48000) WDFrequency = 96000;
+		else if (WDFrequency == 96000) WDFrequency = 192000;
+
+		updateWavRenderer();
+	}
+}
+
+void pbWavFreqDown(void)
+{
+	if (WDFrequency > MIN_WAV_RENDER_FREQ)
+	{
+		     if (WDFrequency == 192000) WDFrequency = 96000;
+		else if (WDFrequency == 96000)  WDFrequency = 48000;
+		else if (WDFrequency == 48000)  WDFrequency = 44100;
+		else if (WDFrequency == 44100)  WDFrequency = 32000;
+		else if (WDFrequency == 32000)  WDFrequency = 22050;
+		else if (WDFrequency == 22050)  WDFrequency = 16000;
+		else if (WDFrequency == 16000)  WDFrequency = 11025;
+		else if (WDFrequency == 11025)  WDFrequency = 8000;
+
+		updateWavRenderer();
+	}
+}
+
+void pbWavAmpUp(void)
+{
+	if (WDAmp >= 32)
+		return;
+
+	WDAmp++;
+	updateWavRenderer();
+}
+
+void pbWavAmpDown(void)
+{
+	if (WDAmp <= 1)
+		return;
+
+	WDAmp--;
+	updateWavRenderer();
+}
+
+void pbWavSongStartUp(void)
+{
+	if (WDStartPos >= song.len-1)
+		return;
+
+	WDStartPos++;
+	WDStopPos = (uint8_t)(MIN(MAX(WDStartPos, WDStopPos), song.len - 1));
+	updateWavRenderer();
+}
+
+void pbWavSongStartDown(void)
+{
+	if (WDStartPos == 0)
+		return;
+
+	WDStartPos--;
+	updateWavRenderer();
+}
+
+void pbWavSongEndUp(void)
+{
+	if (WDStopPos >= 255)
+		return;
+
+	WDStopPos++;
+	WDStopPos = (uint8_t)(MIN(MAX(WDStartPos, WDStopPos), song.len - 1));
+	updateWavRenderer();
+}
+
+void pbWavSongEndDown(void)
+{
+	if (WDStopPos == 0)
+		return;
+
+	WDStopPos--;
+	WDStopPos = (uint8_t)(MIN(MAX(WDStartPos, WDStopPos), song.len - 1));
+	updateWavRenderer();
+}
+
+void rbWavRenderBitDepth16(void)
+{
+	checkRadioButton(RB_WAV_RENDER_BITDEPTH16);
+	WDBitDepth = 16;
+}
+
+void rbWavRenderBitDepth32(void)
+{
+	checkRadioButton(RB_WAV_RENDER_BITDEPTH32);
+	WDBitDepth = 32;
+}
--- /dev/null
+++ b/src/ft2_wav_renderer.h
@@ -1,0 +1,28 @@
+#pragma once
+
+#include <stdint.h>
+#include "ft2_header.h"
+
+#define MIN_WAV_RENDER_FREQ 8000
+#define MAX_WAV_RENDER_FREQ 192000
+#define MAX_WAV_RENDER_SAMPLES_PER_TICK (((MAX_WAV_RENDER_FREQ * 5) / 2) / MIN_BPM)
+
+void updateWavRendererSettings(void);
+void drawWavRenderer(void);
+void showWavRenderer(void);
+void hideWavRenderer(void);
+void exitWavRenderer(void);
+uint32_t dump_RenderTick(uint8_t *buffer);
+void pbWavRender(void);
+void pbWavExit(void);
+void pbWavFreqUp(void);
+void pbWavFreqDown(void);
+void pbWavAmpUp(void);
+void pbWavAmpDown(void);
+void pbWavSongStartUp(void);
+void pbWavSongStartDown(void);
+void pbWavSongEndUp(void);
+void pbWavSongEndDown(void);
+void resetWavRenderer(void);
+void rbWavRenderBitDepth16(void);
+void rbWavRenderBitDepth32(void);
--- /dev/null
+++ b/src/gfxdata/bmp/LICENSE.txt
@@ -1,0 +1,443 @@
+These graphics (except "ft2-clone.ico", "logo.bmp" and "midilogo.bmp")
+are copyrighted Magnus "Vogue" H�gdahl and can ONLY be used for non-commercial
+purposes! Some of the graphics have been slightly altered by me (8bitbubsy).
+The rest of the graphics uses the same BSD 3-clause license as the source code.
+
+License (CC BY-NC-SA 4.0):
+Attribution-NonCommercial-ShareAlike 4.0 International
+
+=======================================================================
+
+Creative Commons Corporation ("Creative Commons") is not a law firm and
+does not provide legal services or legal advice. Distribution of
+Creative Commons public licenses does not create a lawyer-client or
+other relationship. Creative Commons makes its licenses and related
+information available on an "as-is" basis. Creative Commons gives no
+warranties regarding its licenses, any material licensed under their
+terms and conditions, or any related information. Creative Commons
+disclaims all liability for damages resulting from their use to the
+fullest extent possible.
+
+Using Creative Commons Public Licenses
+
+Creative Commons public licenses provide a standard set of terms and
+conditions that creators and other rights holders may use to share
+original works of authorship and other material subject to copyright
+and certain other rights specified in the public license below. The
+following considerations are for informational purposes only, are not
+exhaustive, and do not form part of our licenses.
+
+     Considerations for licensors: Our public licenses are
+     intended for use by those authorized to give the public
+     permission to use material in ways otherwise restricted by
+     copyright and certain other rights. Our licenses are
+     irrevocable. Licensors should read and understand the terms
+     and conditions of the license they choose before applying it.
+     Licensors should also secure all rights necessary before
+     applying our licenses so that the public can reuse the
+     material as expected. Licensors should clearly mark any
+     material not subject to the license. This includes other CC-
+     licensed material, or material used under an exception or
+     limitation to copyright. More considerations for licensors:
+	wiki.creativecommons.org/Considerations_for_licensors
+
+     Considerations for the public: By using one of our public
+     licenses, a licensor grants the public permission to use the
+     licensed material under specified terms and conditions. If
+     the licensor's permission is not necessary for any reason--for
+     example, because of any applicable exception or limitation to
+     copyright--then that use is not regulated by the license. Our
+     licenses grant only permissions under copyright and certain
+     other rights that a licensor has authority to grant. Use of
+     the licensed material may still be restricted for other
+     reasons, including because others have copyright or other
+     rights in the material. A licensor may make special requests,
+     such as asking that all changes be marked or described.
+     Although not required by our licenses, you are encouraged to
+     respect those requests where reasonable. More considerations
+     for the public: 
+	wiki.creativecommons.org/Considerations_for_licensees
+
+=======================================================================
+
+Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
+Public License
+
+By exercising the Licensed Rights (defined below), You accept and agree
+to be bound by the terms and conditions of this Creative Commons
+Attribution-NonCommercial-ShareAlike 4.0 International Public License
+("Public License"). To the extent this Public License may be
+interpreted as a contract, You are granted the Licensed Rights in
+consideration of Your acceptance of these terms and conditions, and the
+Licensor grants You such rights in consideration of benefits the
+Licensor receives from making the Licensed Material available under
+these terms and conditions.
+
+
+Section 1 -- Definitions.
+
+  a. Adapted Material means material subject to Copyright and Similar
+     Rights that is derived from or based upon the Licensed Material
+     and in which the Licensed Material is translated, altered,
+     arranged, transformed, or otherwise modified in a manner requiring
+     permission under the Copyright and Similar Rights held by the
+     Licensor. For purposes of this Public License, where the Licensed
+     Material is a musical work, performance, or sound recording,
+     Adapted Material is always produced where the Licensed Material is
+     synched in timed relation with a moving image.
+
+  b. Adapter's License means the license You apply to Your Copyright
+     and Similar Rights in Your contributions to Adapted Material in
+     accordance with the terms and conditions of this Public License.
+
+  c. BY-NC-SA Compatible License means a license listed at
+     creativecommons.org/compatiblelicenses, approved by Creative
+     Commons as essentially the equivalent of this Public License.
+
+  d. Copyright and Similar Rights means copyright and/or similar rights
+     closely related to copyright including, without limitation,
+     performance, broadcast, sound recording, and Sui Generis Database
+     Rights, without regard to how the rights are labeled or
+     categorized. For purposes of this Public License, the rights
+     specified in Section 2(b)(1)-(2) are not Copyright and Similar
+     Rights.
+
+  e. Effective Technological Measures means those measures that, in the
+     absence of proper authority, may not be circumvented under laws
+     fulfilling obligations under Article 11 of the WIPO Copyright
+     Treaty adopted on December 20, 1996, and/or similar international
+     agreements.
+
+  f. Exceptions and Limitations means fair use, fair dealing, and/or
+     any other exception or limitation to Copyright and Similar Rights
+     that applies to Your use of the Licensed Material.
+
+  g. License Elements means the license attributes listed in the name
+     of a Creative Commons Public License. The License Elements of this
+     Public License are Attribution, NonCommercial, and ShareAlike.
+
+  h. Licensed Material means the artistic or literary work, database,
+     or other material to which the Licensor applied this Public
+     License.
+
+  i. Licensed Rights means the rights granted to You subject to the
+     terms and conditions of this Public License, which are limited to
+     all Copyright and Similar Rights that apply to Your use of the
+     Licensed Material and that the Licensor has authority to license.
+
+  j. Licensor means the individual(s) or entity(ies) granting rights
+     under this Public License.
+
+  k. NonCommercial means not primarily intended for or directed towards
+     commercial advantage or monetary compensation. For purposes of
+     this Public License, the exchange of the Licensed Material for
+     other material subject to Copyright and Similar Rights by digital
+     file-sharing or similar means is NonCommercial provided there is
+     no payment of monetary compensation in connection with the
+     exchange.
+
+  l. Share means to provide material to the public by any means or
+     process that requires permission under the Licensed Rights, such
+     as reproduction, public display, public performance, distribution,
+     dissemination, communication, or importation, and to make material
+     available to the public including in ways that members of the
+     public may access the material from a place and at a time
+     individually chosen by them.
+
+  m. Sui Generis Database Rights means rights other than copyright
+     resulting from Directive 96/9/EC of the European Parliament and of
+     the Council of 11 March 1996 on the legal protection of databases,
+     as amended and/or succeeded, as well as other essentially
+     equivalent rights anywhere in the world.
+
+  n. You means the individual or entity exercising the Licensed Rights
+     under this Public License. Your has a corresponding meaning.
+
+
+Section 2 -- Scope.
+
+  a. License grant.
+
+       1. Subject to the terms and conditions of this Public License,
+          the Licensor hereby grants You a worldwide, royalty-free,
+          non-sublicensable, non-exclusive, irrevocable license to
+          exercise the Licensed Rights in the Licensed Material to:
+
+            a. reproduce and Share the Licensed Material, in whole or
+               in part, for NonCommercial purposes only; and
+
+            b. produce, reproduce, and Share Adapted Material for
+               NonCommercial purposes only.
+
+       2. Exceptions and Limitations. For the avoidance of doubt, where
+          Exceptions and Limitations apply to Your use, this Public
+          License does not apply, and You do not need to comply with
+          its terms and conditions.
+
+       3. Term. The term of this Public License is specified in Section
+          6(a).
+
+       4. Media and formats; technical modifications allowed. The
+          Licensor authorizes You to exercise the Licensed Rights in
+          all media and formats whether now known or hereafter created,
+          and to make technical modifications necessary to do so. The
+          Licensor waives and/or agrees not to assert any right or
+          authority to forbid You from making technical modifications
+          necessary to exercise the Licensed Rights, including
+          technical modifications necessary to circumvent Effective
+          Technological Measures. For purposes of this Public License,
+          simply making modifications authorized by this Section 2(a)
+          (4) never produces Adapted Material.
+
+       5. Downstream recipients.
+
+            a. Offer from the Licensor -- Licensed Material. Every
+               recipient of the Licensed Material automatically
+               receives an offer from the Licensor to exercise the
+               Licensed Rights under the terms and conditions of this
+               Public License.
+
+            b. Additional offer from the Licensor -- Adapted Material.
+               Every recipient of Adapted Material from You
+               automatically receives an offer from the Licensor to
+               exercise the Licensed Rights in the Adapted Material
+               under the conditions of the Adapter's License You apply.
+
+            c. No downstream restrictions. You may not offer or impose
+               any additional or different terms or conditions on, or
+               apply any Effective Technological Measures to, the
+               Licensed Material if doing so restricts exercise of the
+               Licensed Rights by any recipient of the Licensed
+               Material.
+
+       6. No endorsement. Nothing in this Public License constitutes or
+          may be construed as permission to assert or imply that You
+          are, or that Your use of the Licensed Material is, connected
+          with, or sponsored, endorsed, or granted official status by,
+          the Licensor or others designated to receive attribution as
+          provided in Section 3(a)(1)(A)(i).
+
+  b. Other rights.
+
+       1. Moral rights, such as the right of integrity, are not
+          licensed under this Public License, nor are publicity,
+          privacy, and/or other similar personality rights; however, to
+          the extent possible, the Licensor waives and/or agrees not to
+          assert any such rights held by the Licensor to the limited
+          extent necessary to allow You to exercise the Licensed
+          Rights, but not otherwise.
+
+       2. Patent and trademark rights are not licensed under this
+          Public License.
+
+       3. To the extent possible, the Licensor waives any right to
+          collect royalties from You for the exercise of the Licensed
+          Rights, whether directly or through a collecting society
+          under any voluntary or waivable statutory or compulsory
+          licensing scheme. In all other cases the Licensor expressly
+          reserves any right to collect such royalties, including when
+          the Licensed Material is used other than for NonCommercial
+          purposes.
+
+
+Section 3 -- License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the
+following conditions.
+
+  a. Attribution.
+
+       1. If You Share the Licensed Material (including in modified
+          form), You must:
+
+            a. retain the following if it is supplied by the Licensor
+               with the Licensed Material:
+
+                 i. identification of the creator(s) of the Licensed
+                    Material and any others designated to receive
+                    attribution, in any reasonable manner requested by
+                    the Licensor (including by pseudonym if
+                    designated);
+
+                ii. a copyright notice;
+
+               iii. a notice that refers to this Public License;
+
+                iv. a notice that refers to the disclaimer of
+                    warranties;
+
+                 v. a URI or hyperlink to the Licensed Material to the
+                    extent reasonably practicable;
+
+            b. indicate if You modified the Licensed Material and
+               retain an indication of any previous modifications; and
+
+            c. indicate the Licensed Material is licensed under this
+               Public License, and include the text of, or the URI or
+               hyperlink to, this Public License.
+
+       2. You may satisfy the conditions in Section 3(a)(1) in any
+          reasonable manner based on the medium, means, and context in
+          which You Share the Licensed Material. For example, it may be
+          reasonable to satisfy the conditions by providing a URI or
+          hyperlink to a resource that includes the required
+          information.
+       3. If requested by the Licensor, You must remove any of the
+          information required by Section 3(a)(1)(A) to the extent
+          reasonably practicable.
+
+  b. ShareAlike.
+
+     In addition to the conditions in Section 3(a), if You Share
+     Adapted Material You produce, the following conditions also apply.
+
+       1. The Adapter's License You apply must be a Creative Commons
+          license with the same License Elements, this version or
+          later, or a BY-NC-SA Compatible License.
+
+       2. You must include the text of, or the URI or hyperlink to, the
+          Adapter's License You apply. You may satisfy this condition
+          in any reasonable manner based on the medium, means, and
+          context in which You Share Adapted Material.
+
+       3. You may not offer or impose any additional or different terms
+          or conditions on, or apply any Effective Technological
+          Measures to, Adapted Material that restrict exercise of the
+          rights granted under the Adapter's License You apply.
+
+
+Section 4 -- Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that
+apply to Your use of the Licensed Material:
+
+  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
+     to extract, reuse, reproduce, and Share all or a substantial
+     portion of the contents of the database for NonCommercial purposes
+     only;
+
+  b. if You include all or a substantial portion of the database
+     contents in a database in which You have Sui Generis Database
+     Rights, then the database in which You have Sui Generis Database
+     Rights (but not its individual contents) is Adapted Material,
+     including for purposes of Section 3(b); and
+
+  c. You must comply with the conditions in Section 3(a) if You Share
+     all or a substantial portion of the contents of the database.
+
+For the avoidance of doubt, this Section 4 supplements and does not
+replace Your obligations under this Public License where the Licensed
+Rights include other Copyright and Similar Rights.
+
+
+Section 5 -- Disclaimer of Warranties and Limitation of Liability.
+
+  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
+     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
+     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
+     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
+     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
+     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
+     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
+     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
+     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
+     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
+
+  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
+     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
+     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
+     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
+     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
+     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
+     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
+     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
+     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
+
+  c. The disclaimer of warranties and limitation of liability provided
+     above shall be interpreted in a manner that, to the extent
+     possible, most closely approximates an absolute disclaimer and
+     waiver of all liability.
+
+
+Section 6 -- Term and Termination.
+
+  a. This Public License applies for the term of the Copyright and
+     Similar Rights licensed here. However, if You fail to comply with
+     this Public License, then Your rights under this Public License
+     terminate automatically.
+
+  b. Where Your right to use the Licensed Material has terminated under
+     Section 6(a), it reinstates:
+
+       1. automatically as of the date the violation is cured, provided
+          it is cured within 30 days of Your discovery of the
+          violation; or
+
+       2. upon express reinstatement by the Licensor.
+
+     For the avoidance of doubt, this Section 6(b) does not affect any
+     right the Licensor may have to seek remedies for Your violations
+     of this Public License.
+
+  c. For the avoidance of doubt, the Licensor may also offer the
+     Licensed Material under separate terms or conditions or stop
+     distributing the Licensed Material at any time; however, doing so
+     will not terminate this Public License.
+
+  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
+     License.
+
+
+Section 7 -- Other Terms and Conditions.
+
+  a. The Licensor shall not be bound by any additional or different
+     terms or conditions communicated by You unless expressly agreed.
+
+  b. Any arrangements, understandings, or agreements regarding the
+     Licensed Material not stated herein are separate from and
+     independent of the terms and conditions of this Public License.
+
+
+Section 8 -- Interpretation.
+
+  a. For the avoidance of doubt, this Public License does not, and
+     shall not be interpreted to, reduce, limit, restrict, or impose
+     conditions on any use of the Licensed Material that could lawfully
+     be made without permission under this Public License.
+
+  b. To the extent possible, if any provision of this Public License is
+     deemed unenforceable, it shall be automatically reformed to the
+     minimum extent necessary to make it enforceable. If the provision
+     cannot be reformed, it shall be severed from this Public License
+     without affecting the enforceability of the remaining terms and
+     conditions.
+
+  c. No term or condition of this Public License will be waived and no
+     failure to comply consented to unless expressly agreed to by the
+     Licensor.
+
+  d. Nothing in this Public License constitutes or may be interpreted
+     as a limitation upon, or waiver of, any privileges and immunities
+     that apply to the Licensor or You, including from the legal
+     processes of any jurisdiction or authority.
+
+=======================================================================
+
+Creative Commons is not a party to its public
+licenses. Notwithstanding, Creative Commons may elect to apply one of
+its public licenses to material it publishes and in those instances
+will be considered the �Licensor.� The text of the Creative Commons
+public licenses is dedicated to the public domain under the CC0 Public
+Domain Dedication. Except for the limited purpose of indicating that
+material is shared under a Creative Commons public license or as
+otherwise permitted by the Creative Commons policies published at
+creativecommons.org/policies, Creative Commons does not authorize the
+use of the trademark "Creative Commons" or any other trademark or logo
+of Creative Commons without its prior written consent including,
+without limitation, in connection with any unauthorized modifications
+to any of its public licenses or any other arrangements,
+understandings, or agreements concerning use of licensed material. For
+the avoidance of doubt, this paragraph does not form part of the
+public licenses.
+
+Creative Commons may be contacted at creativecommons.org.
binary files /dev/null b/src/gfxdata/bmp/abouttext.bmp differ
binary files /dev/null b/src/gfxdata/bmp/badges.bmp differ
binary files /dev/null b/src/gfxdata/bmp/bigfont.bmp differ
binary files /dev/null b/src/gfxdata/bmp/blackPianoKeys.bmp differ
binary files /dev/null b/src/gfxdata/bmp/font3.bmp differ
binary files /dev/null b/src/gfxdata/bmp/hexfont.bmp differ
binary files /dev/null b/src/gfxdata/bmp/left-pin-clicked.bmp differ
binary files /dev/null b/src/gfxdata/bmp/left-pin-unclicked.bmp differ
binary files /dev/null b/src/gfxdata/bmp/logo.bmp differ
binary files /dev/null b/src/gfxdata/bmp/logoBadges.bmp differ
binary files /dev/null b/src/gfxdata/bmp/mainfont.bmp differ
binary files /dev/null b/src/gfxdata/bmp/midilogo.bmp differ
binary files /dev/null b/src/gfxdata/bmp/mouse-cursor-busy-clock.bmp differ
binary files /dev/null b/src/gfxdata/bmp/mouse-cursor-busy-glass.bmp differ
binary files /dev/null b/src/gfxdata/bmp/mouse-cursors.bmp differ
binary files /dev/null b/src/gfxdata/bmp/nibbles-logo.bmp differ
binary files /dev/null b/src/gfxdata/bmp/nibbles-stages.bmp differ
--- /dev/null
+++ b/src/gfxdata/bmp/readme.txt
@@ -1,0 +1,20 @@
+These are not directly used when compiling the binary, but are here for re-use
+or modification. Some files are missing!
+
+This is how they are converted for binary use:
+- Every 32-bit RGB pixel is converted to an 8-bit palette index value.
+  This is not a fully automated process, as you need to use your eyes
+  (and brain) to find out what RGB values are converted to what value. This is
+  because the palette is not the same for all BMP files, to make it easier on
+  the contrast and stuff like that. Some palette entries share the same color.
+- These palette index bytes are given appropriate constant names
+  (found in ft2_palette.h) and the array is converted to a .h file for
+  inclusion in the code, and is then directly read by GUI functions.
+ 
+This makes modification all but a smooth process, and I'm sorry for that.
+I ought to have every single graphics file stored as BMP, then have a custom
+program that is run on compile time to convert every BMPs to .h files
+accordingly. Maybe one day, though this means that the custom program would
+interfere with portability.
+  
+Please read LICENSE.txt if you plan on using these...
\ No newline at end of file
binary files /dev/null b/src/gfxdata/bmp/right-pin-clicked.bmp differ
binary files /dev/null b/src/gfxdata/bmp/right-pin-unclicked.bmp differ
binary files /dev/null b/src/gfxdata/bmp/whitePianoKeys.bmp differ
--- /dev/null
+++ b/src/gfxdata/ft2_gfx_fonts.c
@@ -1,0 +1,2459 @@
+#include <stdint.h>
+
+const uint8_t prop8Width[128] = // normal font
+{
+	8,8,4,6,7,6,7,6,6,6,6,6,6,6,8,8,
+	6,6,6,7,7,7,7,7,7,8,7,8,8,8,8,8,
+	4,3,8,8,8,8,8,4,5,5,8,7,4,7,3,8,
+	7,7,7,7,7,7,7,7,7,7,3,8,8,8,8,8,
+	8,8,8,8,8,8,8,8,8,3,8,8,8,9,9,8,
+	8,8,8,8,9,8,8,9,9,9,8,8,8,8,4,8,
+	8,7,7,7,7,7,5,7,7,3,5,7,3,9,7,7,
+	7,7,5,7,5,7,8,9,8,7,7,8,2,6,7,1
+};
+
+const uint8_t prop16Width[128] = // big font
+{
+	16,16,16,16,14,16,14,16,16,16,16,16,16,16,16,16,
+	16,16,16,16,14,16,16,16,16,16,16,16,16,16,16,16,
+	10, 8,16,16,16,16,16,10,12,12,16,16,10,14, 8,16,
+	16,16,16,16,16,16,16,16,16,16, 8,16,16,16,16,16,
+	16,16,16,16,16,16,16,16,16, 6,14,16,15,16,16,16,
+	16,17,16,16,16,16,16,16,16,16,17,16,16,16,16,16,
+	16,14,14,14,14,14,12,14,14, 6,10,14, 6,17,14,14,
+	14,14,13,14,12,14,14,17,16,14,16,16,16,16,16,16
+};
+
+const uint8_t smallHexBitmap[560] =
+{
+	0,1,1,1,0,0,1,1,0,0,0,1,1,1,0,0,1,1,1,0,1,1,0,1,1,1,1,1,
+	1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,0,1,1,1,0,1,
+	1,1,1,0,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,
+	1,1,1,1,0,0,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,0,0,1,1,
+	0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,
+	1,1,0,1,1,1,1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,1,0,1,1,0,1,1,
+	0,0,0,0,0,1,1,0,0,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,0,
+	0,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,0,
+	0,1,1,0,1,1,1,1,0,0,0,1,1,0,0,0,1,1,0,1,1,0,1,1,0,0,0,0,
+	1,1,0,0,0,1,1,0,1,1,1,1,1,0,0,0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DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP
+};
+
+const uint8_t whitePianoKeysBitmap[3036] =
+{
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t blackPianoKeysBitmap[378] =
+{
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL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BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS
+};
--- /dev/null
+++ b/src/gfxdata/ft2_gfx_logo.c
@@ -1,0 +1,8358 @@
+#include <stdint.h>
+#include "../ft2_palette.h"
+
+const uint8_t aboutText[10121] =
+{
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_BUTTONS,PAL_BUTTON1,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTON1,PAL_BUTTONS,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_BUTTONS,PAL_BUTTON1,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_BUTTONS,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+    PAL_FORGRND,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+    PAL_TRANSPR
+};
+
+const uint32_t ft2Logo[33675] =
+{
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x999999,0xABABAB,0xA8A8A8,0xBBBBBB,
+    0xB8B8B8,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,
+    0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,
+    0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB7B7B7,0xB6B6B6,
+    0xB6B6B6,0xB6B6B6,0xB7B7B7,0xB7B7B7,0xB6B6B6,0xB6B6B6,0xB6B6B6,0xB6B6B6,
+    0xB6B6B6,0xB6B6B6,0xB6B6B6,0xBDBDBD,0x898989,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x969696,
+    0xA8A8A8,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xB2B2B2,0x343434,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x1E1E1E,0x414141,0x363636,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x363636,0x363636,0x363636,0x363636,0x363636,0x373737,0x373737,0x363636,
+    0x363636,0x373737,0x363636,0x373737,0x393939,0x363636,0x363636,0x363636,
+    0x363636,0x363636,0x363636,0x363636,0x363636,0x363636,0x363636,0x363636,
+    0x363636,0x363636,0x363636,0x363636,0x353535,0x363636,0x363636,0x353535,
+    0x353535,0x363636,0x363636,0x373737,0x323232,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x727272,0x8B8B8B,0x818181,
+    0xAEAEAE,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xCBCBCB,0xCDCDCD,
+    0xCDCDCD,0xCDCDCD,0xCDCDCD,0xCDCDCD,0xCBCBCB,0xCACACA,0xCACACA,0xCACACA,
+    0xCBCBCB,0xCBCBCB,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xD3D3D3,0x717171,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xA1A1A1,0xBABABA,0xB8B8B8,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xBCBCBC,0x6C6C6C,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,0x848484,0xA2A2A2,0x9F9F9F,0x9E9E9E,
+    0xB5B5B5,0xB4B4B4,0xB3B3B3,0xB2B2B2,0xB3B3B3,0xB3B3B3,0xB2B2B2,0xB2B2B2,
+    0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB0B0B0,
+    0xB2B2B2,0xB5B5B5,0x9B9B9B,0x9D9D9D,0x969696,0x838383,0x9E9E9E,0x9B9B9B,
+    0x9B9B9B,0xB2B2B2,0xB1B1B1,0xAFAFAF,0xAEAEAE,0xAFAFAF,0xAFAFAF,0xAFAFAF,
+    0xAFAFAF,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,
+    0xAEAEAE,0xAEAEAE,0xB2B2B2,0x9A9A9A,0x9D9D9D,0x9A9A9A,0x1F1F1F,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4A4A4A,0x5E5E5E,
+    0x545454,0x545454,0x6A6A6A,0xBFBFBF,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC8C8C8,0xC2C2C2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA5A5A5,0xC0C0C0,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC8C8C8,0xCCCCCC,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xCACACA,0x434343,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x6A6A6A,0x777777,0x989898,0xB5B5B5,0xB1B1B1,0xB1B1B1,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB3B3B3,0xA8A8A8,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x515151,0x838383,0x7E7E7E,
+    0x797979,0x909090,0xA0A0A0,0xA7A7A7,0xA6A6A6,0xA4A4A4,0xA4A4A4,0xA4A4A4,
+    0xA5A5A5,0xA5A5A5,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA4A4A4,0xA3A3A3,
+    0xA5A5A5,0xA1A1A1,0x808080,0x666666,0x787878,0x777777,0x5C5C5C,0x797979,
+    0x7D7D7D,0x7D7D7D,0x939393,0x989898,0xA4A4A4,0xA5A5A5,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0x848484,0x6B6B6B,0x727272,0x868686,0x343434,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4E4E4E,
+    0x656565,0x5B5B5B,0x535353,0x4F4F4F,0xB3B3B3,0xC9C9C9,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC8C8C8,
+    0x666666,0x616161,0x606060,0x5E5E5E,0x5E5E5E,0x666666,0x707070,0x717171,
+    0x707070,0x707070,0x6B6B6B,0x656565,0x777777,0x999999,0xC6C6C6,0xCBCBCB,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC8C8C8,0xB4B4B4,0x2D2D2D,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,0xA9A9A9,
+    0x515151,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x474747,0xC9C9C9,0x3B3B3B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x5C5C5C,0x575757,0x525252,0xA3A3A3,0xB4B4B4,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,0xA0A0A0,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x575757,0x707070,
+    0x6E6E6E,0x6A6A6A,0x6B6B6B,0x626262,0x6F6F6F,0xA6A6A6,0xA6A6A6,0xA4A4A4,
+    0xA5A5A5,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA4A4A4,
+    0xA3A3A3,0xA8A8A8,0x717171,0x474747,0x555555,0x666666,0x686868,0x585858,
+    0x6B6B6B,0x6D6D6D,0x6E6E6E,0x707070,0x5E5E5E,0x676767,0x9F9F9F,0xA5A5A5,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA1A1A1,
+    0xA2A2A2,0xA2A2A2,0xA6A6A6,0x7E7E7E,0x454545,0x515151,0x636363,0x6F6F6F,
+    0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x4F4F4F,0x656565,0x5B5B5B,0x4F4F4F,0x707070,0xC8C8C8,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC9C9C9,
+    0xB5B5B5,0x393939,0x636363,0x626262,0x626262,0x626262,0x626262,0x606060,
+    0x5E5E5E,0x5E5E5E,0x5D5D5D,0x5A5A5A,0x585858,0x515151,0x4F4F4F,0x666666,
+    0xA9A9A9,0xCECECE,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC4C4C4,0x3A3A3A,
+    0x282828,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x848484,
+    0xD4D4D4,0x3F3F3F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x6B6B6B,0xC5C5C5,0xB8B8B8,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x5E5E5E,0x5A5A5A,0x494949,0x626262,0xB2B2B2,
+    0xB2B2B2,0xB0B0B0,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB3B3B3,
+    0xA2A2A2,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x5E5E5E,
+    0x727272,0x707070,0x6C6C6C,0x5D5D5D,0x515151,0x505050,0x6F6F6F,0xA6A6A6,
+    0xA5A5A5,0xA5A5A5,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA5A5A5,0xA4A4A4,0xA4A4A4,
+    0xA4A4A4,0xA5A5A5,0xA2A2A2,0x545454,0x444444,0x5A5A5A,0x6A6A6A,0x686868,
+    0x5A5A5A,0x6E6E6E,0x6F6F6F,0x6F6F6F,0x626262,0x535353,0x4F4F4F,0x5B5B5B,
+    0xA2A2A2,0xA5A5A5,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA7A7A7,0x606060,0x404040,0x565656,0x676767,
+    0x717171,0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3F3F3F,0x666666,0x5B5B5B,0x515151,0x999999,0xCCCCCC,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xD1D1D1,0x797979,0x2D2D2D,0x646464,0x626262,0x626262,0x626262,0x626262,
+    0x616161,0x616161,0x606060,0x5E5E5E,0x5C5C5C,0x5A5A5A,0x565656,0x535353,
+    0x4D4D4D,0x525252,0x8E8E8E,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xCACACA,0xA6A6A6,
+    0x252525,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x747474,
+    0xCDCDCD,0xBFBFBF,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x262626,0xC6C6C6,0xC8C8C8,0xA0A0A0,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x5E5E5E,0x595959,0x4C4C4C,0x434343,
+    0xAAAAAA,0xB3B3B3,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB9B9B9,0x393939,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x151515,
+    0x5F5F5F,0x727272,0x707070,0x6B6B6B,0x5C5C5C,0x515151,0x4D4D4D,0x414141,
+    0x888888,0xA8A8A8,0xA5A5A5,0xA4A4A4,0xA5A5A5,0xA5A5A5,0xA4A4A4,0xA4A4A4,
+    0xA3A3A3,0xA4A4A4,0xA5A5A5,0xA6A6A6,0x606060,0x444444,0x5C5C5C,0x6B6B6B,
+    0x676767,0x5A5A5A,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x616161,0x535353,0x4E4E4E,
+    0x424242,0x565656,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA6A6A6,0x727272,0x464646,0x575757,
+    0x696969,0x6A6A6A,0x141414,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x414141,0x676767,0x5A5A5A,0x5C5C5C,0xBFBFBF,0xC8C8C8,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC9C9C9,0xB3B3B3,0x3A3A3A,0x303030,0x656565,0x626262,0x626262,0x626262,
+    0x626262,0x616161,0x616161,0x616161,0x5E5E5E,0x5C5C5C,0x5A5A5A,0x565656,
+    0x535353,0x535353,0x4F4F4F,0x4C4C4C,0xB0B0B0,0xC9C9C9,0xC6C6C6,0xD0D0D0,
+    0x6B6B6B,0x212121,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x707070,
+    0xCDCDCD,0xC3C3C3,0xBBBBBB,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB2B2B2,0xC5C5C5,0xC7C7C7,
+    0x8B8B8B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x646464,0x585858,0x4D4D4D,
+    0x424242,0xA9A9A9,0xB3B3B3,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xBDBDBD,0x3E3E3E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x151515,0x626262,0x727272,0x707070,0x6A6A6A,0x5B5B5B,0x505050,0x4B4B4B,
+    0x3D3D3D,0x444444,0xA2A2A2,0xA6A6A6,0xA4A4A4,0xA5A5A5,0xA5A5A5,0xA4A4A4,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA8A8A8,0x848484,0x4E4E4E,0x5D5D5D,
+    0x6B6B6B,0x656565,0x5C5C5C,0x6F6F6F,0x707070,0x6E6E6E,0x606060,0x535353,
+    0x4D4D4D,0x444444,0x353535,0x898989,0xA6A6A6,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA3A3A3,0x9C9C9C,0x4F4F4F,
+    0x575757,0x6B6B6B,0x646464,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x323232,0x686868,0x575757,0x7D7D7D,0xC9C9C9,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC7C7C7,0xCDCDCD,0x545454,0x1C1C1C,0x333333,0x636363,0x626262,0x626262,
+    0x626262,0x626262,0x616161,0x616161,0x616161,0x5E5E5E,0x5C5C5C,0x5A5A5A,
+    0x565656,0x535353,0x525252,0x515151,0x484848,0x7D7D7D,0xCBCBCB,0xC8C8C8,
+    0xC7C7C7,0x404040,0x232323,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x292929,
+    0xC7C7C7,0xC2C2C2,0xC6C6C6,0xA7A7A7,0x1F1F1F,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x202020,0x7E7E7E,0xC5C5C5,0xBFBFBF,
+    0xC7C7C7,0x6F6F6F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1C1C1C,0x636363,0x585858,
+    0x4D4D4D,0x404040,0xA8A8A8,0xB3B3B3,0xB2B2B2,0xB1B1B1,0xB1B1B1,0xB1B1B1,
+    0xB0B0B0,0xB0B0B0,0xAFAFAF,0xBDBDBD,0x3D3D3D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x181818,0x676767,0x717171,0x707070,0x696969,0x5A5A5A,0x515151,
+    0x4B4B4B,0x3E3E3E,0x393939,0x909090,0xA7A7A7,0xA4A4A4,0xA4A4A4,0xA4A4A4,
+    0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA4A4A4,0xA4A4A4,0xA5A5A5,0x9E9E9E,0x575757,
+    0x5D5D5D,0x6C6C6C,0x646464,0x616161,0x6F6F6F,0x707070,0x6B6B6B,0x5E5E5E,
+    0x525252,0x4D4D4D,0x434343,0x333333,0x626262,0xADADAD,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA6A6A6,
+    0x6B6B6B,0x5E5E5E,0x6C6C6C,0x646464,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x686868,0x5D5D5D,0xAEAEAE,
+    0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC7C7C7,
+    0xC6C6C6,0xC8C8C8,0xBFBFBF,0x2F2F2F,0x232323,0x313131,0x636363,0x626262,
+    0x626262,0x626262,0x626262,0x616161,0x616161,0x616161,0x5E5E5E,0x5C5C5C,
+    0x5A5A5A,0x565656,0x535353,0x525252,0x515151,0x494949,0x6A6A6A,0xC8C8C8,
+    0xCBCBCB,0xBEBEBE,0x292929,0x272727,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x717171,
+    0xC7C7C7,0xC4C4C4,0xC1C1C1,0xC9C9C9,0x7D7D7D,0x141414,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,0xC0C0C0,0xCBCBCB,0xBEBEBE,
+    0xC1C1C1,0xB9B9B9,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1C1C1C,0x626262,
+    0x585858,0x4B4B4B,0x3A3A3A,0xA1A1A1,0xB4B4B4,0xB1B1B1,0xB2B2B2,0xB1B1B1,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xBDBDBD,0x3C3C3C,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x202020,0x6E6E6E,0x707070,0x707070,0x686868,0x595959,
+    0x505050,0x4B4B4B,0x3E3E3E,0x323232,0x6A6A6A,0xAEAEAE,0xA3A3A3,0xA4A4A4,
+    0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA6A6A6,
+    0x707070,0x5A5A5A,0x6E6E6E,0x606060,0x626262,0x6F6F6F,0x707070,0x6B6B6B,
+    0x5C5C5C,0x515151,0x4C4C4C,0x414141,0x363636,0x3A3A3A,0x7F7F7F,0xA7A7A7,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA3A3A3,0x9A9A9A,0x717171,0x6A6A6A,0x5B5B5B,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x6F6F6F,0x6F6F6F,
+    0xC5C5C5,0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC6C6C6,
+    0xC7C7C7,0xC6C6C6,0xCFCFCF,0x8A8A8A,0x222222,0x252525,0x303030,0x626262,
+    0x636363,0x626262,0x626262,0x626262,0x616161,0x616161,0x606060,0x5E5E5E,
+    0x5C5C5C,0x595959,0x565656,0x535353,0x525252,0x515151,0x4B4B4B,0x5E5E5E,
+    0xC6C6C6,0xC9C9C9,0x4F4F4F,0x242424,0x282828,0x2D2D2D,0x161616,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x737373,
+    0xCDCDCD,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xCCCCCC,0x6A6A6A,0x1A1A1A,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x808080,0xCBCBCB,0xBFBFBF,
+    0xBFBFBF,0xC3C3C3,0xAAAAAA,0x212121,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1B1B1B,
+    0x626262,0x575757,0x4B4B4B,0x353535,0x8E8E8E,0xB6B6B6,0xB1B1B1,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xBCBCBC,0x434343,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x262626,0x6E6E6E,0x707070,0x707070,0x666666,
+    0x575757,0x4F4F4F,0x4A4A4A,0x3D3D3D,0x353535,0x3B3B3B,0x8A8A8A,0xA8A8A8,
+    0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA4A4A4,0xA4A4A4,0xA3A3A3,
+    0xA7A7A7,0x929292,0x727272,0x6E6E6E,0x5E5E5E,0x646464,0x6F6F6F,0x707070,
+    0x696969,0x5A5A5A,0x515151,0x4C4C4C,0x414141,0x383838,0x323232,0x4A4A4A,
+    0xA5A5A5,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA6A6A6,0x909090,0x7B7B7B,0x545454,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2C2C2C,0x777777,
+    0xBFBFBF,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC6C6C6,0xC7C7C7,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC7C7C7,0xCBCBCB,0x505050,0x212121,0x262626,0x2F2F2F,
+    0x626262,0x636363,0x626262,0x626262,0x626262,0x616161,0x616161,0x616161,
+    0x5E5E5E,0x5C5C5C,0x5A5A5A,0x565656,0x535353,0x525252,0x515151,0x4A4A4A,
+    0x6E6E6E,0xCECECE,0xA1A1A1,0x222222,0x272727,0x282828,0x2C2C2C,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x464646,
+    0xD0D0D0,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xC8C8C8,0x555555,0x1B1B1B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x717171,0xCBCBCB,0xBEBEBE,
+    0xBFBFBF,0xBFBFBF,0xC6C6C6,0x8D8D8D,0x242424,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x171717,0x616161,0x565656,0x4B4B4B,0x353535,0x828282,0xB8B8B8,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,0x9A9A9A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2E2E2E,0x707070,0x707070,0x707070,
+    0x666666,0x575757,0x4F4F4F,0x494949,0x3C3C3C,0x373737,0x303030,0x5D5D5D,
+    0xAAAAAA,0xA5A5A5,0xA4A4A4,0xA5A5A5,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA4A4A4,
+    0xA4A4A4,0xA3A3A3,0xA8A8A8,0x8C8C8C,0x7C7C7C,0x5A5A5A,0x646464,0x6F6F6F,
+    0x707070,0x696969,0x5A5A5A,0x505050,0x4B4B4B,0x3F3F3F,0x373737,0x363636,
+    0x383838,0x919191,0xA5A5A5,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA1A1A1,0xA2A2A2,0xA2A2A2,0x9F9F9F,0x838383,0x494949,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,
+    0x999999,0xCDCDCD,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCFCFCF,0x737373,0x222222,0x272727,0x262626,
+    0x2C2C2C,0x5D5D5D,0x646464,0x626262,0x626262,0x626262,0x616161,0x616161,
+    0x5B5B5B,0x5E5E5E,0x5D5D5D,0x5A5A5A,0x565656,0x535353,0x535353,0x515151,
+    0x4B4B4B,0x9D9D9D,0xD5D5D5,0x666666,0x202020,0x282828,0x282828,0x2D2D2D,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x494949,
+    0xB7B7B7,0xC5C5C5,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xC4C4C4,0xBDBDBD,0x3A3A3A,
+    0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA5A5A5,0xC7C7C7,0xBFBFBF,
+    0xBFBFBF,0xBFBFBF,0xBFBFBF,0xC8C8C8,0x787878,0x252525,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x262626,0x666666,0x555555,0x4B4B4B,0x343434,0x717171,0xB7B7B7,
+    0xB2B2B2,0xB2B2B2,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB3B3B3,
+    0xA2A2A2,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2F2F2F,0x707070,0x707070,
+    0x707070,0x646464,0x565656,0x4F4F4F,0x494949,0x3B3B3B,0x373737,0x353535,
+    0x444444,0xA1A1A1,0xA6A6A6,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA5A5A5,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA5A5A5,0x9D9D9D,0x7E7E7E,0x595959,0x656565,
+    0x6F6F6F,0x707070,0x676767,0x595959,0x4F4F4F,0x4A4A4A,0x3F3F3F,0x373737,
+    0x373737,0x313131,0x6B6B6B,0xACACAC,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA5A5A5,0x939393,0x454545,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x202020,0xB8B8B8,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC7C7C7,
+    0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC6C6C6,0x353535,0x232323,0x282828,
+    0x272727,0x272727,0x565656,0x656565,0x626262,0x626262,0x626262,0x616161,
+    0x5E5E5E,0x888888,0x646464,0x585858,0x5A5A5A,0x565656,0x535353,0x535353,
+    0x515151,0x4C4C4C,0x8F8F8F,0xB5B5B5,0x3A3A3A,0x232323,0x282828,0x282828,
+    0x2D2D2D,0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x727272,
+    0xD1D1D1,0xC5C5C5,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xC5C5C5,0xBCBCBC,
+    0x2E2E2E,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x727272,0xC7C7C7,0xC0C0C0,
+    0xBFBFBF,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xC9C9C9,0x686868,0x212121,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x282828,0x666666,0x555555,0x4A4A4A,0x383838,0x404040,
+    0xABABAB,0xB3B3B3,0xB0B0B0,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB4B4B4,0xA1A1A1,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x727272,
+    0x707070,0x6F6F6F,0x636363,0x555555,0x4F4F4F,0x484848,0x3B3B3B,0x373737,
+    0x373737,0x393939,0x8F8F8F,0xA8A8A8,0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA4A4A4,
+    0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA4A4A4,0x898989,0x585858,
+    0x686868,0x6E6E6E,0x707070,0x666666,0x575757,0x505050,0x494949,0x3D3D3D,
+    0x383838,0x373737,0x343434,0x3E3E3E,0x878787,0xA7A7A7,0xA1A1A1,0xA1A1A1,
+    0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA6A6A6,
+    0x414141,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3C3C3C,0xCFCFCF,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCCCCCC,0xA0A0A0,0x252525,0x272727,
+    0x282828,0x272727,0x272727,0x555555,0x656565,0x626262,0x626262,0x626262,
+    0x5D5D5D,0x7A7A7A,0xB1B1B1,0x494949,0x5A5A5A,0x5A5A5A,0x565656,0x535353,
+    0x525252,0x515151,0x4D4D4D,0x9F9F9F,0x9D9D9D,0x262626,0x272727,0x282828,
+    0x282828,0x2A2A2A,0x151515,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x494949,0xAEAEAE,
+    0xC9C9C9,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xC5C5C5,
+    0x6A6A6A,0x252525,0x222222,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x242424,0x7F7F7F,0xCBCBCB,0xBFBFBF,
+    0xC0C0C0,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xC9C9C9,0x626262,0x1C1C1C,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x282828,0x666666,0x555555,0x494949,0x373737,
+    0x393939,0xA9A9A9,0xB3B3B3,0xB2B2B2,0xB0B0B0,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB4B4B4,0xA0A0A0,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,
+    0x737373,0x6F6F6F,0x6F6F6F,0x626262,0x545454,0x4F4F4F,0x474747,0x3A3A3A,
+    0x373737,0x373737,0x323232,0x626262,0xA8A8A8,0xA5A5A5,0xA5A5A5,0xA4A4A4,
+    0xA4A4A4,0xA3A3A3,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA6A6A6,0x909090,
+    0x656565,0x6B6B6B,0x6F6F6F,0x707070,0x656565,0x565656,0x4F4F4F,0x4A4A4A,
+    0x3C3C3C,0x373737,0x373737,0x373737,0x303030,0x535353,0xA6A6A6,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xAAAAAA,0x646464,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x222222,0xC4C4C4,0xC9C9C9,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD2D2D2,0x595959,0x202020,
+    0x282828,0x282828,0x272727,0x272727,0x535353,0x666666,0x626262,0x626262,
+    0x616161,0x616161,0xB2B2B2,0x8D8D8D,0x303030,0x5F5F5F,0x5A5A5A,0x565656,
+    0x535353,0x525252,0x505050,0x525252,0x8B8B8B,0x525252,0x222222,0x282828,
+    0x282828,0x282828,0x2A2A2A,0x141414,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x242424,0x515151,0x454545,0x505050,0xB0B0B0,0xB8B8B8,
+    0xB6B6B6,0xBDBDBD,0x7F7F7F,0x4D4D4D,0x414141,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x252525,0x4E4E4E,0x484848,0x7A7A7A,0xC3C3C3,0x797979,0x494949,0x404040,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x242424,0x4F4F4F,0x1B1B1B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x767676,0xD0D0D0,
+    0xC7C7C7,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC4C4C4,
+    0xBCBCBC,0x2C2C2C,0x202020,0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x717171,0xC7C7C7,0xCBCBCB,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xBFBFBF,0xBFBFBF,0xC0C0C0,0xC1C1C1,0x404040,
+    0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0x4A4A4A,
+    0x424242,0x4A4A4A,0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x212121,0x474747,0x414141,0x404040,0x404040,
+    0x414141,0x3C3C3C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3B3B3B,0x404040,
+    0x3E3E3E,0x3E3E3E,0x484848,0x212121,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x272727,0x666666,0x545454,0x494949,
+    0x383838,0x373737,0xA2A2A2,0xB4B4B4,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB3B3B3,0xABABAB,0x404040,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x434343,0x737373,0x6F6F6F,0x6E6E6E,0x606060,0x535353,0x4F4F4F,0x464646,
+    0x393939,0x373737,0x373737,0x373737,0x353535,0x7A7A7A,0xAAAAAA,0xA3A3A3,
+    0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA5A5A5,
+    0xA2A2A2,0x767676,0x696969,0x6F6F6F,0x707070,0x636363,0x555555,0x4F4F4F,
+    0x484848,0x3B3B3B,0x373737,0x373737,0x373737,0x363636,0x3A3A3A,0x9B9B9B,
+    0xA5A5A5,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA2A2A2,0xA7A7A7,0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x515151,0xD6D6D6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCBCBCB,0xA2A2A2,0x2C2C2C,
+    0x252525,0x282828,0x282828,0x282828,0x262626,0x525252,0x666666,0x626262,
+    0x626262,0x5C5C5C,0x969696,0xBFBFBF,0x5B5B5B,0x2A2A2A,0x5E5E5E,0x5B5B5B,
+    0x575757,0x545454,0x525252,0x515151,0x505050,0x5E5E5E,0x3A3A3A,0x252525,
+    0x282828,0x282828,0x282828,0x2D2D2D,0x181818,0x00FF00,0x00FF00,0x00FF00,
+    0x424242,0x515151,0xB0B0B0,0xC7C7C7,0xD7D7D7,0xD4D4D4,0xD3D3D3,0xCACACA,
+    0xC9C9C9,0xC9C9C9,0xC9C9C9,0xCFCFCF,0xD5D5D5,0xD0D0D0,0xB9B9B9,0x292929,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x424242,
+    0x7B7B7B,0xCACACA,0xD3D3D3,0xD1D1D1,0xCDCDCD,0xC6C6C6,0xCDCDCD,0xD1D1D1,
+    0xCECECE,0xB0B0B0,0x494949,0x00FF00,0x00FF00,0x494949,0xD0D0D0,0xC9C9C9,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x747474,0xCECECE,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC3C3C3,0xBBBBBB,0x525252,0x4C4C4C,0x525252,0x707070,0x464646,0x434343,
+    0x434343,0x4A4A4A,0x191919,0x00FF00,0x747474,0xCDCDCD,0xC2C2C2,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xBFBFBF,0xC0C0C0,0xBFBFBF,
+    0x636363,0x4B4B4B,0x4E4E4E,0x434343,0x434343,0x434343,0x434343,0x424242,
+    0x434343,0x434343,0x424242,0x434343,0x434343,0x434343,0x434343,0x424242,
+    0x424242,0x434343,0x424242,0x424242,0x424242,0x434343,0x3D3D3D,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3E3E3E,0x747474,0xC1C1C1,
+    0xCBCBCB,0xC8C8C8,0xCACACA,0xC2C2C2,0x6E6E6E,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x222222,0x4D4D4D,0xA2A2A2,0xACACAC,0xB8B8B8,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC1C1C1,0xADADAD,0xA2A2A2,0x424242,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,0xA1A1A1,0xA9A9A9,0xBFBFBF,
+    0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xB2B2B2,0xABABAB,0x757575,0x212121,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0x646464,0x545454,
+    0x494949,0x383838,0x333333,0x8F8F8F,0xB5B5B5,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,0xADADAD,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3D3D3D,0x999999,0x9F9F9F,0x9D9D9D,0x9C9C9C,0x9C9C9C,0x9F9F9F,
+    0x949494,0x464646,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x161616,0x6F6F6F,0xA0A0A0,0x989898,0x999999,0x929292,0x464646,
+    0x1E1E1E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x4C4C4C,0x737373,0x707070,0x6C6C6C,0x5F5F5F,0x525252,0x4E4E4E,
+    0x454545,0x393939,0x373737,0x373737,0x373737,0x313131,0x5D5D5D,0xA9A9A9,
+    0xA5A5A5,0xA4A4A4,0xA3A3A3,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA6A6A6,0x959595,0x7B7B7B,0x6F6F6F,0x6F6F6F,0x626262,0x545454,
+    0x4E4E4E,0x464646,0x3A3A3A,0x373737,0x373737,0x373737,0x373737,0x343434,
+    0x737373,0xAAAAAA,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,
+    0xA2A2A2,0xA1A1A1,0xA1A1A1,0xAFAFAF,0x424242,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xADADAD,0xCBCBCB,0xC7C7C7,0xC6C6C6,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC8C8C8,0x3B3B3B,
+    0x222222,0x282828,0x282828,0x282828,0x282828,0x262626,0x505050,0x666666,
+    0x626262,0x606060,0x767676,0xB5B5B5,0xB5B5B5,0x343434,0x343434,0x626262,
+    0x5A5A5A,0x575757,0x545454,0x525252,0x515151,0x515151,0x666666,0x404040,
+    0x252525,0x282828,0x282828,0x282828,0x2C2C2C,0x00FF00,0x00FF00,0x494949,
+    0xB3B3B3,0xD0D0D0,0xD6D6D6,0xCECECE,0xCDCDCD,0xCACACA,0xCBCBCB,0xCBCBCB,
+    0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xCCCCCC,
+    0xCCCCCC,0x787878,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x767676,
+    0xD3D3D3,0xCECECE,0xC6C6C6,0xC5C5C5,0xC8C8C8,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC6C6C6,0xC4C4C4,0xC9C9C9,0xCECECE,0xA7A7A7,0x7F7F7F,0xC3C3C3,0xCDCDCD,
+    0x929292,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,0xB6B6B6,0xC8C8C8,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC1C1C1,0xC2C2C2,
+    0xC1C1C1,0xC2C2C2,0xC2C2C2,0xC5C5C5,0xC6C6C6,0xC6C6C6,0xCBCBCB,0xCECECE,
+    0xCECECE,0xCECECE,0xD5D5D5,0x7F7F7F,0x707070,0xCACACA,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xBFBFBF,
+    0xC0C0C0,0xC5C5C5,0xC4C4C4,0xCCCCCC,0xCDCDCD,0xCDCDCD,0xCDCDCD,0xCCCCCC,
+    0xCECECE,0xB9B9B9,0xB7B7B7,0xCECECE,0xCBCBCB,0xCBCBCB,0xCBCBCB,0xCBCBCB,
+    0xCBCBCB,0xCBCBCB,0xCBCBCB,0xCACACA,0xCACACA,0xCACACA,0xCCCCCC,0xBBBBBB,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x6F6F6F,0xCBCBCB,0xC5C5C5,
+    0xBCBCBC,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBCBCBC,0xC6C6C6,0x6C6C6C,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,
+    0xA4A4A4,0xB9B9B9,0xC7C7C7,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xBBBBBB,0xBABABA,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xBBBBBB,0xBCBCBC,0xC3C3C3,0xACACAC,
+    0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x444444,0xA3A3A3,0xBFBFBF,0xB9B9B9,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB4B4B4,0xB3B3B3,0xB5B5B5,0xB5B5B5,0xBEBEBE,
+    0xB3B3B3,0xA5A5A5,0x252525,0x00FF00,0x00FF00,0x00FF00,0x323232,0x636363,
+    0x545454,0x484848,0x373737,0x323232,0x828282,0xB7B7B7,0xB1B1B1,0xB2B2B2,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB3B3B3,0xA1A1A1,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x333333,0x969696,0xA4A4A4,
+    0xA1A1A1,0x9F9F9F,0xA0A0A0,0xA0A0A0,0x9F9F9F,0x9F9F9F,0x9F9F9F,0x9F9F9F,
+    0x9E9E9E,0x9F9F9F,0x9F9F9F,0xA1A1A1,0x999999,0x404040,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3E3E3E,0x9A9A9A,0xB6B6B6,0xAFAFAF,0xAEAEAE,0xB1B1B1,0xB2B2B2,0xB1B1B1,
+    0xAFAFAF,0xAFAFAF,0xB9B9B9,0xACACAC,0x9F9F9F,0x232323,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x212121,0xA0A0A0,0x9F9F9F,
+    0x9C9C9C,0x9B9B9B,0x9B9B9B,0x9B9B9B,0x9B9B9B,0x9B9B9B,0x9B9B9B,0x9B9B9B,
+    0x9B9B9B,0x999999,0x9E9E9E,0x8E8E8E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x1E1E1E,0x7D7D7D,0xB6B6B6,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xABABAB,
+    0xB6B6B6,0xA7A7A7,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x505050,0x737373,0x707070,0x6B6B6B,0x5D5D5D,0x525252,
+    0x4D4D4D,0x434343,0x383838,0x373737,0x373737,0x373737,0x353535,0x414141,
+    0xA1A1A1,0xA6A6A6,0xA4A4A4,0xA3A3A3,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA4A4A4,0xA2A2A2,0x7F7F7F,0x6F6F6F,0x6E6E6E,0x616161,
+    0x535353,0x4E4E4E,0x454545,0x3A3A3A,0x373737,0x373737,0x373737,0x373737,
+    0x333333,0x4A4A4A,0x9A9A9A,0xA5A5A5,0xA2A2A2,0xA1A1A1,0xA2A2A2,0xA2A2A2,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA4A4A4,0x9D9D9D,0x1A1A1A,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,0xC7C7C7,0xC8C8C8,0xC6C6C6,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCBCBCB,0xA6A6A6,
+    0x252525,0x272727,0x282828,0x282828,0x282828,0x282828,0x252525,0x4F4F4F,
+    0x666666,0x5D5D5D,0x616161,0xADADAD,0xB5B5B5,0x6E6E6E,0x222222,0x343434,
+    0x606060,0x5A5A5A,0x575757,0x545454,0x525252,0x515151,0x505050,0x646464,
+    0x434343,0x252525,0x282828,0x282828,0x252525,0x272727,0x4D4D4D,0xB2B2B2,
+    0xD0D0D0,0xCBCBCB,0xCCCCCC,0xC9C9C9,0xAFAFAF,0xA1A1A1,0xA6A6A6,0xA1A1A1,
+    0x9A9A9A,0xC5C5C5,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC7C7C7,0xD9D9D9,0x3E3E3E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x252525,0xB8B8B8,
+    0xCBCBCB,0xC5C5C5,0xC5C5C5,0xC7C7C7,0xC7C7C7,0xADADAD,0x9F9F9F,0xA0A0A0,
+    0x979797,0xBCBCBC,0xC9C9C9,0xC6C6C6,0xC3C3C3,0xC8C8C8,0xCCCCCC,0xC5C5C5,
+    0xCECECE,0x6F6F6F,0x00FF00,0x00FF00,0x00FF00,0x717171,0xC9C9C9,0xC9C9C9,
+    0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC1C1C1,
+    0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC9C9C9,0xCACACA,0xBFBFBF,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xBFBFBF,0xBFBFBF,0xBFBFBF,0xC0C0C0,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xBFBFBF,
+    0xC0C0C0,0xB8B8B8,0x464646,0x696969,0xA7A7A7,0xC3C3C3,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBCBCBC,0xBCBCBC,0xBCBCBC,0xC0C0C0,
+    0xAEAEAE,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA2A2A2,0xC3C3C3,0xBBBBBB,
+    0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBFBFBF,0xB2B2B2,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x262626,0xACACAC,
+    0xC5C5C5,0xBEBEBE,0xBCBCBC,0xBFBFBF,0xB6B6B6,0xADADAD,0x9B9B9B,0x9A9A9A,
+    0xB2B2B2,0xBEBEBE,0xB9B9B9,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xBDBDBD,0xBEBEBE,0x6A6A6A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x202020,0x797979,0xC4C4C4,0xB9B9B9,0xB4B4B4,0xB4B4B4,
+    0xBBBBBB,0x9F9F9F,0x949494,0x979797,0xB4B4B4,0xB4B4B4,0xB3B3B3,0xB3B3B3,
+    0xB3B3B3,0xB4B4B4,0xB9B9B9,0xB9B9B9,0x696969,0x00FF00,0x00FF00,0x373737,
+    0x656565,0x535353,0x454545,0x373737,0x323232,0x757575,0xB8B8B8,0xB2B2B2,
+    0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xB4B4B4,0xA1A1A1,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x5F5F5F,
+    0xA0A0A0,0xADADAD,0xB7B7B7,0xB3B3B3,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB2B2B2,
+    0xB2B2B2,0xB0B0B0,0xB5B5B5,0xB4B4B4,0x9B9B9B,0x858585,0x595959,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x646464,0xBBBBBB,0xB0B0B0,0xACACAC,0xACACAC,0xAEAEAE,0x9A9A9A,0x8E8E8E,
+    0x959595,0xA5A5A5,0xADADAD,0xAAAAAA,0xACACAC,0xB0B0B0,0xB1B1B1,0x616161,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x181818,0x919191,
+    0xA2A2A2,0xADADAD,0xAEAEAE,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xABABAB,0xB4B4B4,0x363636,0x00FF00,0x00FF00,
+    0x00FF00,0x252525,0xA7A7A7,0xB2B2B2,0xA6A6A6,0xA7A7A7,0xA7A7A7,0xA6A6A6,
+    0xA6A6A6,0xA6A6A6,0xACACAC,0xA8A8A8,0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x575757,0x767676,0x717171,0x6B6B6B,0x5C5C5C,
+    0x525252,0x4D4D4D,0x424242,0x383838,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x8A8A8A,0xA8A8A8,0xA3A3A3,0xA3A3A3,0xA4A4A4,0xA4A4A4,0xA4A4A4,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA5A5A5,0x8A8A8A,0x6C6C6C,0x6E6E6E,
+    0x606060,0x525252,0x4D4D4D,0x454545,0x3A3A3A,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x323232,0x5B5B5B,0xA8A8A8,0xA2A2A2,0xA1A1A1,0xA2A2A2,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xADADAD,0x666666,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x848484,0xD1D1D1,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD2D2D2,
+    0x696969,0x202020,0x282828,0x282828,0x282828,0x282828,0x282828,0x252525,
+    0x4F4F4F,0x606060,0x787878,0xB5B5B5,0xCCCCCC,0xA6A6A6,0x282828,0x232323,
+    0x343434,0x616161,0x5B5B5B,0x575757,0x545454,0x525252,0x515151,0x505050,
+    0x636363,0x444444,0x252525,0x282828,0x222222,0x2D2D2D,0x8E8E8E,0xD1D1D1,
+    0xCCCCCC,0xC7C7C7,0xCFCFCF,0xAAAAAA,0x656565,0x5A5A5A,0x626262,0x676767,
+    0x5D5D5D,0x565656,0x727272,0xB6B6B6,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xCFCFCF,0x848484,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x252525,0xC5C5C5,
+    0xCCCCCC,0xC5C5C5,0xC5C5C5,0xC7C7C7,0xC7C7C7,0x5C5C5C,0x4A4A4A,0x626262,
+    0x626262,0x595959,0x5E5E5E,0x898989,0xC2C2C2,0xC6C6C6,0xC4C4C4,0xC4C4C4,
+    0xC4C4C4,0xCBCBCB,0x595959,0x00FF00,0x00FF00,0x9B9B9B,0xCECECE,0xC9C9C9,
+    0xC8C8C8,0xC7C7C7,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC5C5C5,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xBFBFBF,0xC1C1C1,0xC4C4C4,0xC4C4C4,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC7C7C7,0xA8A8A8,0x262626,0x5B5B5B,0x515151,0x9D9D9D,0xC2C2C2,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBCBCBC,0xBCBCBC,0xBCBCBC,
+    0xC1C1C1,0xA6A6A6,0x00FF00,0x00FF00,0x00FF00,0x707070,0xC5C5C5,0xBBBBBB,
+    0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBCBCBC,
+    0xB9B9B9,0x212121,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x6C6C6C,0xC0C0C0,
+    0xC0C0C0,0xB9B9B9,0xBBBBBB,0xB4B4B4,0x777777,0x5D5D5D,0x6B6B6B,0x696969,
+    0x6E6E6E,0x636363,0x7F7F7F,0xB4B4B4,0xBABABA,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB7B7B7,0xB8B8B8,0xC4C4C4,0x6C6C6C,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x232323,0xB6B6B6,0xC0C0C0,0xB4B4B4,0xB4B4B4,0xB5B5B5,
+    0xBABABA,0x828282,0x525252,0x646464,0x5A5A5A,0x717171,0xB7B7B7,0xB4B4B4,
+    0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB4B4B4,0xC5C5C5,0x424242,0x00FF00,
+    0x353535,0x5D5D5D,0x5A5A5A,0x464646,0x373737,0x313131,0x6C6C6C,0xB9B9B9,
+    0xB2B2B2,0xB0B0B0,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,
+    0x9F9F9F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x4A4A4A,0x707070,0x646464,0x888888,0xADADAD,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xB3B3B3,0x979797,0x616161,0x505050,0x616161,0x393939,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x909090,0xB4B4B4,0xACACAC,0xACACAC,0xACACAC,0xB0B0B0,0x767676,0x444444,
+    0x616161,0x727272,0x5B5B5B,0x757575,0xAEAEAE,0xAAAAAA,0xAAAAAA,0xACACAC,
+    0xB1B1B1,0x9F9F9F,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,
+    0x787878,0x6E6E6E,0x636363,0x959595,0xAEAEAE,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xB4B4B4,0x434343,0x00FF00,
+    0x00FF00,0x00FF00,0x6B6B6B,0xB4B4B4,0xA7A7A7,0xA6A6A6,0xA7A7A7,0xA6A6A6,
+    0xA7A7A7,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xB2B2B2,0x6D6D6D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x484848,0x696969,0x717171,0x757575,
+    0x616161,0x525252,0x4C4C4C,0x414141,0x383838,0x373737,0x373737,0x373737,
+    0x373737,0x323232,0x646464,0xA9A9A9,0xA5A5A5,0xA4A4A4,0xA4A4A4,0xA4A4A4,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA5A5A5,0x959595,0x828282,
+    0x747474,0x646464,0x545454,0x4D4D4D,0x444444,0x393939,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x353535,0x3F3F3F,0x9D9D9D,0xA3A3A3,0xA1A1A1,
+    0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,
+    0xA7A7A7,0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x474747,0xD3D3D3,0xC6C6C6,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,
+    0xC8C8C8,0x363636,0x242424,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x252525,0x373737,0x7C7C7C,0xB9B9B9,0xCDCDCD,0xD1D1D1,0x818181,0x212121,
+    0x262626,0x323232,0x5A5A5A,0x626262,0x5C5C5C,0x585858,0x555555,0x525252,
+    0x505050,0x656565,0x464646,0x232323,0x222222,0x4A4A4A,0xB5B5B5,0xCFCFCF,
+    0xC7C7C7,0xC7C7C7,0xC9C9C9,0x7F7F7F,0x383838,0x414141,0x565656,0x666666,
+    0x6A6A6A,0x626262,0x555555,0x474747,0x8F8F8F,0xCDCDCD,0xC7C7C7,0xC7C7C7,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xD1D1D1,0x646464,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x262626,0xC5C5C5,
+    0xCBCBCB,0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC5C5C5,0x5E5E5E,0x323232,0x484848,
+    0x666666,0x666666,0x585858,0x515151,0x4C4C4C,0x707070,0xC3C3C3,0xC5C5C5,
+    0xC4C4C4,0xC5C5C5,0xC1C1C1,0x393939,0x00FF00,0x00FF00,0x666666,0x9F9F9F,
+    0x999999,0x969696,0xA1A1A1,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC1C1C1,0xC5C5C5,0xAEAEAE,0x959595,0x989898,
+    0x989898,0x989898,0x979797,0x979797,0x979797,0x979797,0x979797,0x969696,
+    0x979797,0xBEBEBE,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xBFBFBF,0xC1C1C1,0xB0B0B0,0x949494,0x969696,0x969696,0x969696,
+    0x969696,0x969696,0x9B9B9B,0x797979,0x3C3C3C,0x616161,0x4C4C4C,0x767676,
+    0xC4C4C4,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBCBCBC,
+    0xBCBCBC,0xC9C9C9,0x464646,0x00FF00,0x00FF00,0x707070,0xC7C7C7,0xBBBBBB,
+    0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBABABA,
+    0xBABABA,0xCBCBCB,0x505050,0x00FF00,0x00FF00,0x00FF00,0x707070,0xC5C5C5,
+    0xBBBBBB,0xB9B9B9,0xBABABA,0xBFBFBF,0x696969,0x373737,0x4E4E4E,0x616161,
+    0x6C6C6C,0x676767,0x565656,0x4B4B4B,0x717171,0xBABABA,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB6B6B6,0xC3C3C3,0x6B6B6B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x242424,0xB4B4B4,0xBBBBBB,0xB4B4B4,0xB5B5B5,0xB4B4B4,
+    0xBABABA,0x787878,0x353535,0x4C4C4C,0x676767,0x555555,0x4A4A4A,0x909090,
+    0xB9B9B9,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB5B5B5,0xA9A9A9,
+    0x444444,0x00FF00,0x00FF00,0x242424,0x404040,0x393939,0x303030,0x686868,
+    0xBABABA,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB2B2B2,0xAFAFAF,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x5A5A5A,0x676767,0x575757,0x4D4D4D,0x838383,0xB3B3B3,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xB4B4B4,0x949494,0x414141,0x3F3F3F,0x4D4D4D,0x636363,
+    0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3F3F3F,0xA9A9A9,0xAEAEAE,0xACACAC,0xACACAC,0xADADAD,0xADADAD,0x4A4A4A,
+    0x414141,0x656565,0x676767,0x515151,0x494949,0x8A8A8A,0xB2B2B2,0xA9A9A9,
+    0xAAAAAA,0xAAAAAA,0xB1B1B1,0xAAAAAA,0x242424,0x00FF00,0x00FF00,0x00FF00,
+    0x1C1C1C,0x6D6D6D,0x626262,0x4D4D4D,0x585858,0xA2A2A2,0xA9A9A9,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xACACAC,0x929292,
+    0x00FF00,0x00FF00,0x202020,0x9C9C9C,0xA9A9A9,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA6A6A6,0xA7A7A7,0xA7A7A7,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xB6B6B6,0x363636,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,
+    0x2D2D2D,0x353535,0x4E4E4E,0x515151,0x414141,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x363636,0x373737,0x797979,0xAAAAAA,0xA4A4A4,0xA3A3A3,
+    0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xACACAC,
+    0x646464,0x2A2A2A,0x383838,0x515151,0x525252,0x444444,0x383838,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x343434,0x7D7D7D,0xA8A8A8,
+    0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xAFAFAF,0x444444,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB3B3B3,0xCBCBCB,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,
+    0xC9C9C9,0x5E5E5E,0x242424,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x262626,0x1B1B1B,0x2E2E2E,0xC7C7C7,0xCCCCCC,0xC8C8C8,0xCDCDCD,0x4E4E4E,
+    0x212121,0x292929,0x222222,0x00FF00,0x222222,0x1F1F1F,0x2F2F2F,0x464646,
+    0x545454,0x505050,0x646464,0x474747,0x1F1F1F,0x686868,0xCBCBCB,0xCDCDCD,
+    0xC7C7C7,0xC7C7C7,0xC9C9C9,0xC5C5C5,0x3A3A3A,0x323232,0x454545,0x555555,
+    0x656565,0x6A6A6A,0x626262,0x555555,0x4F4F4F,0x959595,0xCCCCCC,0xC7C7C7,
+    0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xD2D2D2,0x5F5F5F,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB8B8B8,
+    0xCCCCCC,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC8C8C8,0xB6B6B6,0x2D2D2D,0x393939,
+    0x464646,0x646464,0x666666,0x585858,0x535353,0x505050,0x4A4A4A,0x9F9F9F,
+    0xC9C9C9,0xC3C3C3,0xC6C6C6,0xBABABA,0x2F2F2F,0x00FF00,0x00FF00,0x232323,
+    0x6A6A6A,0x636363,0x5D5D5D,0x909090,0xC7C7C7,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC5C5C5,0x8A8A8A,0x606060,
+    0x646464,0x646464,0x646464,0x646464,0x646464,0x646464,0x646464,0x646464,
+    0x636363,0x6F6F6F,0xBBBBBB,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC4C4C4,0x999999,0x606060,0x646464,0x646464,
+    0x646464,0x646464,0x646464,0x686868,0x515151,0x444444,0x5E5E5E,0x515151,
+    0x4C4C4C,0xB6B6B6,0xC0C0C0,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,
+    0xBCBCBC,0xBCBCBC,0xC9C9C9,0x424242,0x1A1A1A,0xB1B1B1,0xC3C3C3,0xBBBBBB,
+    0xBBBBBB,0xBCBCBC,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,
+    0xBABABA,0xBDBDBD,0xB4B4B4,0x212121,0x00FF00,0x00FF00,0x6A6A6A,0xC6C6C6,
+    0xB9B9B9,0xBABABA,0xBABABA,0xBBBBBB,0xB2B2B2,0x3A3A3A,0x404040,0x4F4F4F,
+    0x636363,0x6C6C6C,0x676767,0x575757,0x505050,0x484848,0xA1A1A1,0xBBBBBB,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB6B6B6,0xB7B7B7,0xC6C6C6,
+    0x424242,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xABABAB,0xBCBCBC,0xB5B5B5,0xB5B5B5,0xB4B4B4,
+    0xB6B6B6,0xAAAAAA,0x3C3C3C,0x3B3B3B,0x505050,0x646464,0x565656,0x414141,
+    0x6C6C6C,0xBBBBBB,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,
+    0xB9B9B9,0xB2B2B2,0x00FF00,0x00FF00,0x00FF00,0x161616,0x3C3C3C,0x303030,
+    0x676767,0xB9B9B9,0xB2B2B2,0xB2B2B2,0xB0B0B0,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xBFBFBF,0x444444,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x545454,0x666666,0x585858,0x474747,0x737373,0xB5B5B5,
+    0xAEAEAE,0xAEAEAE,0xB4B4B4,0x999999,0x3F3F3F,0x3A3A3A,0x454545,0x4E4E4E,
+    0x666666,0x282828,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3C3C3C,0xBFBFBF,0xADADAD,0xACACAC,0xACACAC,0xACACAC,0xB1B1B1,0x808080,
+    0x343434,0x474747,0x666666,0x666666,0x525252,0x474747,0x4C4C4C,0x9C9C9C,
+    0xAEAEAE,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xAEAEAE,0xB0B0B0,0x5D5D5D,0x00FF00,
+    0x00FF00,0x252525,0x6D6D6D,0x616161,0x515151,0x414141,0x808080,0xAFAFAF,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xABABAB,
+    0x999999,0x00FF00,0x161616,0xA4A4A4,0xADADAD,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA6A6A6,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xB4B4B4,
+    0x434343,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x454545,0x383838,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x313131,0x5A5A5A,0xA9A9A9,0xA4A4A4,
+    0xA3A3A3,0xA3A3A3,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA8A8A8,0x898989,0x00FF00,0x00FF00,0x00FF00,0x323232,0x484848,0x393939,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x333333,0x525252,
+    0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,
+    0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA5A5A5,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,0xD1D1D1,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xCBCBCB,0xAEAEAE,0x242424,0x262626,0x282828,0x282828,0x282828,0x252525,
+    0x202020,0x2B2B2B,0x575757,0xC6C6C6,0xCCCCCC,0xC7C7C7,0xCACACA,0xC0C0C0,
+    0x2B2B2B,0x262626,0x292929,0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x202020,0x4C4C4C,0x656565,0x434343,0x515151,0xCDCDCD,0xC9C9C9,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCFCFCF,0x6A6A6A,0x303030,0x454545,
+    0x555555,0x656565,0x6A6A6A,0x626262,0x545454,0x585858,0xBEBEBE,0xC8C8C8,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xCBCBCB,
+    0xAAAAAA,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA6A6A6,
+    0xC7C7C7,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCCCCCC,0x838383,0x292929,
+    0x3A3A3A,0x494949,0x676767,0x666666,0x585858,0x525252,0x515151,0x4B4B4B,
+    0x5C5C5C,0xC3C3C3,0xC5C5C5,0xC9C9C9,0x959595,0x282828,0x00FF00,0x00FF00,
+    0x363636,0x717171,0x686868,0x636363,0x999999,0xC8C8C8,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC3C3C3,0xB8B8B8,0x5C5C5C,
+    0x6B6B6B,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x686868,0x797979,0xBCBCBC,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC6C6C6,0x9C9C9C,0x646464,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x707070,0x4F4F4F,0x262626,0x5A5A5A,
+    0x505050,0x535353,0xBABABA,0xBFBFBF,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBCBCBC,0xBDBDBD,0xC6C6C6,0x3A3A3A,0x424242,0xCCCCCC,0xBFBFBF,
+    0xC1C1C1,0xC1C1C1,0xC0C0C0,0xBCBCBC,0xBBBBBB,0xBBBBBB,0xBBBBBB,0xBBBBBB,
+    0xBBBBBB,0xBABABA,0xC7C7C7,0x5E5E5E,0x00FF00,0x00FF00,0x1E1E1E,0xC1C1C1,
+    0xBBBBBB,0xBABABA,0xBABABA,0xB9B9B9,0xBABABA,0xC0C0C0,0x767676,0x3A3A3A,
+    0x505050,0x636363,0x6E6E6E,0x676767,0x575757,0x515151,0x464646,0x999999,
+    0xBBBBBB,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,
+    0xBBBBBB,0xA2A2A2,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x686868,0xBDBDBD,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB4B4B4,0xB8B8B8,0xA6A6A6,0x303030,0x3D3D3D,0x585858,0x666666,0x565656,
+    0x414141,0x6F6F6F,0xBCBCBC,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,
+    0xB3B3B3,0xB3B3B3,0xB3B3B3,0x949494,0x00FF00,0x00FF00,0x00FF00,0x2D2D2D,
+    0x343434,0x555555,0xB4B4B4,0xB2B2B2,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xBDBDBD,0x3D3D3D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x585858,0x656565,0x585858,0x474747,0x6B6B6B,
+    0xB6B6B6,0xAEAEAE,0xB2B2B2,0x9B9B9B,0x404040,0x373737,0x3E3E3E,0x444444,
+    0x4F4F4F,0x676767,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x1E1E1E,0xA8A8A8,0xAFAFAF,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xB1B1B1,
+    0x7C7C7C,0x343434,0x494949,0x686868,0x656565,0x505050,0x4A4A4A,0x3F3F3F,
+    0x555555,0xAAAAAA,0xABABAB,0xAAAAAA,0xA9A9A9,0xA9A9A9,0xADADAD,0xB2B2B2,
+    0x1A1A1A,0x00FF00,0x282828,0x707070,0x5E5E5E,0x515151,0x404040,0x4F4F4F,
+    0xA8A8A8,0xA9A9A9,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA9A9A9,0xA7A7A7,0x1B1B1B,0x1F1F1F,0xAEAEAE,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA6A6A6,0xA6A6A6,
+    0xAAAAAA,0x8F8F8F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,0x3C3C3C,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x363636,0x414141,0x9F9F9F,
+    0xA6A6A6,0xA3A3A3,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA5A5A5,0xA5A5A5,0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,
+    0x3D3D3D,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x323232,0x636363,0xA9A9A9,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA7A7A7,0x8D8D8D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x7F7F7F,0xD1D1D1,
+    0xC7C7C7,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xD0D0D0,0x656565,0x1A1A1A,0x212121,0x212121,0x212121,0x232323,
+    0x2C2C2C,0x595959,0xB0B0B0,0xCECECE,0xCACACA,0xC7C7C7,0xC8C8C8,0xCDCDCD,
+    0x6A6A6A,0x232323,0x282828,0x292929,0x252525,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x515151,0x7D7D7D,0xC8C8C8,0xC9C9C9,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCDCDCD,0x8E8E8E,0x333333,
+    0x454545,0x555555,0x646464,0x6A6A6A,0x636363,0x525252,0x696969,0xC5C5C5,
+    0xC8C8C8,0xC7C7C7,0xC6C6C6,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC6C6C6,
+    0xD2D2D2,0x4F4F4F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,
+    0xC7C7C7,0xC8C8C8,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCDCDCD,0x797979,
+    0x262626,0x3A3A3A,0x464646,0x646464,0x676767,0x585858,0x525252,0x515151,
+    0x4E4E4E,0x4A4A4A,0xA8A8A8,0xC7C7C7,0xCDCDCD,0x717171,0x242424,0x00FF00,
+    0x00FF00,0x323232,0x6E6E6E,0x686868,0x6F6F6F,0xB0B0B0,0xC6C6C6,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC6C6C6,0xA1A1A1,
+    0x4D4D4D,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x707070,0x939393,0xC2C2C2,0xC1C1C1,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC1C1C1,0xBBBBBB,0x717171,0x676767,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x707070,0x444444,0x1C1C1C,
+    0x5C5C5C,0x4E4E4E,0x616161,0xBFBFBF,0xBFBFBF,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBEBEBE,0xB7B7B7,0x585858,0xADADAD,0xC2C2C2,
+    0xAAAAAA,0x8F8F8F,0x8D8D8D,0x9F9F9F,0xC1C1C1,0xBCBCBC,0xBBBBBB,0xBBBBBB,
+    0xBBBBBB,0xBBBBBB,0xBBBBBB,0xC6C6C6,0x434343,0x00FF00,0x00FF00,0x7B7B7B,
+    0xC4C4C4,0xBABABA,0xBABABA,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xBBBBBB,0xB4B4B4,
+    0x4C4C4C,0x4F4F4F,0x646464,0x6E6E6E,0x666666,0x575757,0x515151,0x424242,
+    0x585858,0xBBBBBB,0xB9B9B9,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xBABABA,0xA7A7A7,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,0xBEBEBE,0xB6B6B6,0xB5B5B5,0xB4B4B4,
+    0xB5B5B5,0xB5B5B5,0xBCBCBC,0x717171,0x2C2C2C,0x3C3C3C,0x5A5A5A,0x676767,
+    0x555555,0x474747,0x474747,0xA6A6A6,0xB5B5B5,0xB3B3B3,0xB3B3B3,0xB3B3B3,
+    0xB3B3B3,0xB3B3B3,0xB2B2B2,0xB4B4B4,0xB3B3B3,0x212121,0x00FF00,0x00FF00,
+    0x272727,0x373737,0x4C4C4C,0xAFAFAF,0xB3B3B3,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xBDBDBD,0x3D3D3D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x626262,0x646464,0x575757,0x4A4A4A,
+    0x888888,0xB2B2B2,0xB0B0B0,0xAEAEAE,0x454545,0x353535,0x3B3B3B,0x3E3E3E,
+    0x444444,0x4F4F4F,0x636363,0x1E1E1E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3D3D3D,0xBCBCBC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xB3B3B3,0x6A6A6A,0x323232,0x4C4C4C,0x696969,0x646464,0x505050,0x4A4A4A,
+    0x444444,0x3B3B3B,0x9D9D9D,0xAEAEAE,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xB2B2B2,0x7A7A7A,0x181818,0x2C2C2C,0x6E6E6E,0x5D5D5D,0x4F4F4F,0x434343,
+    0x343434,0x808080,0xAEAEAE,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA7A7A7,0xA7A7A7,0xACACAC,0x999999,0x767676,0xAEAEAE,0xA8A8A8,0xA3A3A3,
+    0xA0A0A0,0xA2A2A2,0xA8A8A8,0xA9A9A9,0xA7A7A7,0xA7A7A7,0xA6A6A6,0xA6A6A6,
+    0xA7A7A7,0xA7A7A7,0xABABAB,0x242424,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x353535,0x3B3B3B,0x373737,0x373737,0x373737,0x373737,0x373737,0x363636,
+    0x848484,0xA8A8A8,0xA3A3A3,0xA4A4A4,0xA4A4A4,0xA4A4A4,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xB3B3B3,0x464646,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x2B2B2B,0x3B3B3B,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x343434,0x434343,0xA0A0A0,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA2A2A2,0x1D1D1D,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x484848,0xD3D3D3,
+    0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC9C9C9,0x707070,0x484848,0x4F4F4F,0x4B4B4B,0x5B5B5B,
+    0x999999,0xAFAFAF,0xCFCFCF,0xCCCCCC,0xC8C8C8,0xC7C7C7,0xC8C8C8,0xCCCCCC,
+    0xA2A2A2,0x242424,0x272727,0x282828,0x292929,0x262626,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x494949,0xBDBDBD,0xCCCCCC,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xC0C0C0,
+    0x424242,0x424242,0x555555,0x656565,0x6A6A6A,0x636363,0x4F4F4F,0x8B8B8B,
+    0xCDCDCD,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC6C6C6,
+    0xC8C8C8,0xC4C4C4,0x1E1E1E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xB6B6B6,0xCBCBCB,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC6C6C6,
+    0xC2C2C2,0x414141,0x343434,0x474747,0x666666,0x666666,0x585858,0x525252,
+    0x515151,0x4F4F4F,0x414141,0x838383,0xCCCCCC,0xCBCBCB,0x585858,0x262626,
+    0x00FF00,0x00FF00,0x2B2B2B,0x717171,0x656565,0x848484,0xC5C5C5,0xC3C3C3,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC9C9C9,
+    0x7B7B7B,0x535353,0x6C6C6C,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x727272,0xBCBCBC,0xC2C2C2,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC8C8C8,0x727272,0x323232,
+    0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x707070,0x3A3A3A,
+    0x222222,0x626262,0x4C4C4C,0x797979,0xC5C5C5,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBDBDBD,0xBCBCBC,0xBBBBBB,0xB8B8B8,0xC5C5C5,
+    0xAFAFAF,0x3C3C3C,0x4C4C4C,0x616161,0x545454,0x868686,0xC0C0C0,0xBFBFBF,
+    0xBBBBBB,0xBCBCBC,0xBCBCBC,0xC4C4C4,0x949494,0x202020,0x00FF00,0x3C3C3C,
+    0xC8C8C8,0xB9B9B9,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xB9B9B9,
+    0xBCBCBC,0xA1A1A1,0x505050,0x646464,0x6E6E6E,0x656565,0x565656,0x515151,
+    0x424242,0x5B5B5B,0xBBBBBB,0xB9B9B9,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB7B7B7,0xB8B8B8,0xBBBBBB,0xA7A7A7,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x777777,0xC1C1C1,0xB5B5B5,0xB5B5B5,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xC0C0C0,0x616161,0x292929,0x3C3C3C,0x585858,
+    0x676767,0x545454,0x474747,0x343434,0x999999,0xB8B8B8,0xB3B3B3,0xB3B3B3,
+    0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB2B2B2,0xC2C2C2,0x474747,0x00FF00,
+    0x00FF00,0x232323,0x393939,0x424242,0xADADAD,0xB3B3B3,0xB2B2B2,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xBFBFBF,0x3B3B3B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x5F5F5F,0x646464,0x525252,
+    0x696969,0xAFAFAF,0xAFAFAF,0xB3B3B3,0x707070,0x373737,0x3A3A3A,0x3B3B3B,
+    0x3F3F3F,0x454545,0x515151,0x666666,0x222222,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x686868,0xB5B5B5,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xB4B4B4,0x636363,0x343434,0x4D4D4D,0x6A6A6A,0x636363,0x4F4F4F,
+    0x494949,0x434343,0x3A3A3A,0x575757,0xAAAAAA,0xAAAAAA,0xA9A9A9,0xA9A9A9,
+    0xA9A9A9,0xA8A8A8,0xB9B9B9,0x676767,0x2B2B2B,0x6F6F6F,0x5C5C5C,0x4F4F4F,
+    0x414141,0x323232,0x696969,0xB0B0B0,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xAAAAAA,0xAEAEAE,0xA7A7A7,0xA9A9A9,
+    0x585858,0x585858,0x707070,0x6C6C6C,0x9D9D9D,0xA9A9A9,0xA8A8A8,0xA7A7A7,
+    0xA6A6A6,0xA6A6A6,0xA8A8A8,0xA9A9A9,0x232323,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x3A3A3A,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x313131,0x646464,0xADADAD,0xA3A3A3,0xA3A3A3,0xA4A4A4,0xA4A4A4,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA6A6A6,0x9F9F9F,0x1A1A1A,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x373737,0x383838,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x343434,0x838383,0xA7A7A7,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xAFAFAF,
+    0x424242,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB3B3B3,
+    0xCBCBCB,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCBCBCB,0xCCCCCC,0xCCCCCC,0xCBCBCB,
+    0xCECECE,0xCDCDCD,0xCBCBCB,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xD1D1D1,0x666666,0x202020,0x282828,0x282828,0x282828,0x282828,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x6D6D6D,0xD2D2D2,
+    0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC9C9C9,
+    0xC2C2C2,0x444444,0x424242,0x555555,0x646464,0x6A6A6A,0x636363,0x555555,
+    0xA2A2A2,0xCCCCCC,0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC7C7C7,0xC6C6C6,0xC7C7C7,
+    0xC6C6C6,0xCACACA,0xAEAEAE,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xB8B8B8,0xC9C9C9,0xC6C6C6,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC6C6C6,
+    0xC5C5C5,0xCBCBCB,0x989898,0x343434,0x454545,0x656565,0x676767,0x595959,
+    0x535353,0x505050,0x4E4E4E,0x434343,0x6C6C6C,0xC9C9C9,0xC1C1C1,0x3A3A3A,
+    0x272727,0x00FF00,0x00FF00,0x353535,0x707070,0x6E6E6E,0xA5A5A5,0xC8C8C8,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC4C4C4,
+    0xBEBEBE,0x343434,0x464646,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x686868,0x797979,0xBCBCBC,0xC1C1C1,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC9C9C9,0x636363,
+    0x3A3A3A,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,0x696969,0x6E6E6E,
+    0x474747,0x3E3E3E,0x606060,0x4D4D4D,0x7E7E7E,0xC5C5C5,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBCBCBC,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBCBCBC,0xBCBCBC,0xC1C1C1,
+    0xAFAFAF,0x4F4F4F,0x343434,0x505050,0x686868,0x505050,0x4C4C4C,0x7F7F7F,
+    0xAFAFAF,0xBCBCBC,0xBABABA,0xBFBFBF,0x979797,0x383838,0x202020,0x00FF00,
+    0x424242,0xC7C7C7,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xB9B9B9,0xBABABA,0xBABABA,0x6A6A6A,0x616161,0x6E6E6E,0x656565,0x565656,
+    0x515151,0x424242,0x656565,0xBEBEBE,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB7B7B7,0xB7B7B7,0xBABABA,0xA7A7A7,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xAFAFAF,0xB8B8B8,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB6B6B6,0xB7B7B7,0x4C4C4C,0x2C2C2C,0x3A3A3A,
+    0x565656,0x666666,0x525252,0x454545,0x353535,0x7A7A7A,0xB8B8B8,0xB3B3B3,
+    0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB2B2B2,0xC1C1C1,0x464646,
+    0x00FF00,0x00FF00,0x212121,0x3C3C3C,0x3D3D3D,0xA9A9A9,0xB3B3B3,0xB2B2B2,
+    0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xBABABA,0x6A6A6A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x5D5D5D,0x616161,
+    0x595959,0x9B9B9B,0xB3B3B3,0xB1B1B1,0x767676,0x363636,0x383838,0x3A3A3A,
+    0x3B3B3B,0x3F3F3F,0x464646,0x525252,0x686868,0x232323,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xA7A7A7,0xAEAEAE,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xB1B1B1,0x7F7F7F,0x353535,0x4F4F4F,0x6C6C6C,0x616161,
+    0x4E4E4E,0x494949,0x434343,0x3C3C3C,0x373737,0xA2A2A2,0xACACAC,0xA9A9A9,
+    0xA9A9A9,0xAAAAAA,0xA9A9A9,0xAAAAAA,0xA3A3A3,0x4B4B4B,0x6A6A6A,0x5C5C5C,
+    0x4E4E4E,0x434343,0x343434,0x555555,0xACACAC,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xACACAC,
+    0x8A8A8A,0x3A3A3A,0x575757,0x636363,0x4B4B4B,0x515151,0x717171,0xA5A5A5,
+    0xA9A9A9,0xA8A8A8,0xA9A9A9,0xAEAEAE,0x444444,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x323232,0x3A3A3A,0x373737,0x373737,0x373737,
+    0x373737,0x363636,0x3A3A3A,0x808080,0xA9A9A9,0xA3A3A3,0xA4A4A4,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xAEAEAE,0x6B6B6B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2B2B2B,0x3D3D3D,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x313131,0x5B5B5B,0xA8A8A8,0xA1A1A1,
+    0xA2A2A2,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA3A3A3,0x9B9B9B,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,
+    0xD1D1D1,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xCCCCCC,0xCCCCCC,0xCBCBCB,0xC9C9C9,
+    0xC9C9C9,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC7C7C7,
+    0xC9C9C9,0xC7C7C7,0x383838,0x242424,0x282828,0x282828,0x282828,0x282828,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB2B2B2,
+    0xCBCBCB,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,
+    0xCFCFCF,0x9A9A9A,0x313131,0x454545,0x555555,0x646464,0x6A6A6A,0x626262,
+    0x616161,0xBFBFBF,0xC9C9C9,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xD0D0D0,0x848484,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xA7A7A7,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC5C5C5,0xC5C5C5,0xCECECE,0x969696,0x464646,0x696969,0x676767,
+    0x595959,0x535353,0x515151,0x4F4F4F,0x474747,0x4D4D4D,0xB7B7B7,0xBDBDBD,
+    0x2C2C2C,0x2C2C2C,0x181818,0x00FF00,0x232323,0x6C6C6C,0x747474,0xBCBCBC,
+    0xC5C5C5,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC7C7C7,0xA5A5A5,0x212121,0x4E4E4E,0x6F6F6F,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x666666,0x8D8D8D,0xC2C2C2,0xC1C1C1,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC9C9C9,
+    0x5B5B5B,0x424242,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x6C6C6C,0x525252,0x474747,0x5E5E5E,0x4D4D4D,0x858585,0xC4C4C4,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBCBCBC,0xBCBCBC,
+    0xC6C6C6,0x717171,0x2B2B2B,0x3A3A3A,0x4B4B4B,0x686868,0x525252,0x4B4B4B,
+    0x4B4B4B,0x606060,0x787878,0x858585,0x717171,0x434343,0x353535,0x202020,
+    0x00FF00,0x414141,0xC8C8C8,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xB9B9B9,0xC1C1C1,0x898989,0x5C5C5C,0x6E6E6E,0x656565,
+    0x565656,0x515151,0x414141,0x6E6E6E,0xC1C1C1,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xB7B7B7,0xC1C1C1,0x3B3B3B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,0xBFBFBF,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB8B8B8,0xA9A9A9,0x2D2D2D,0x303030,
+    0x3A3A3A,0x545454,0x656565,0x525252,0x464646,0x353535,0x4B4B4B,0xB2B2B2,
+    0xB4B4B4,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB6B6B6,
+    0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x383838,0x3A3A3A,0xA9A9A9,0xB3B3B3,
+    0xB0B0B0,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB3B3B3,
+    0xA8A8A8,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x161616,0x656565,
+    0x666666,0x959595,0xB4B4B4,0xB4B4B4,0x979797,0x373737,0x373737,0x3A3A3A,
+    0x3A3A3A,0x3B3B3B,0x404040,0x474747,0x535353,0x626262,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x343434,0xB5B5B5,0xADADAD,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xB4B4B4,0x656565,0x343434,0x505050,0x6C6C6C,
+    0x606060,0x4F4F4F,0x484848,0x434343,0x3C3C3C,0x353535,0x8D8D8D,0xAEAEAE,
+    0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xAAAAAA,0x9D9D9D,0x707070,
+    0x5B5B5B,0x4E4E4E,0x404040,0x353535,0x414141,0xA5A5A5,0xAAAAAA,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA8A8A8,
+    0xACACAC,0x595959,0x383838,0x5B5B5B,0x616161,0x4D4D4D,0x4C4C4C,0x515151,
+    0x636363,0x898989,0x9D9D9D,0x999999,0x767676,0x222222,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x212121,0x3D3D3D,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x313131,0x565656,0xA8A8A8,0xA4A4A4,0xA4A4A4,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA5A5A5,
+    0x9E9E9E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,0x393939,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x363636,0x373737,0x727272,
+    0xA8A8A8,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA8A8A8,0x919191,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x797979,0xD1D1D1,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xB4B4B4,0x9C9C9C,0x999999,0xAEAEAE,
+    0xC5C5C5,0xC8C8C8,0xCBCBCB,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC8C8C8,
+    0xC7C7C7,0xCDCDCD,0xA5A5A5,0x252525,0x272727,0x282828,0x282828,0x282828,
+    0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x404040,
+    0xD1D1D1,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC7C7C7,
+    0xC9C9C9,0xCBCBCB,0x4A4A4A,0x303030,0x444444,0x545454,0x646464,0x6A6A6A,
+    0x5E5E5E,0x808080,0xC9C9C9,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC6C6C6,0xC7C7C7,0xCDCDCD,0x5D5D5D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xBDBDBD,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC6C6C6,
+    0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC9C9C9,0xBDBDBD,0x828282,
+    0x626262,0x585858,0x525252,0x505050,0x4F4F4F,0x484848,0x434343,0xBBBBBB,
+    0x969696,0x242424,0x2C2C2C,0x00FF00,0x00FF00,0x303030,0x717171,0x727272,
+    0xBFBFBF,0xC5C5C5,0xC2C2C2,0xC2C2C2,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xCBCBCB,0x7B7B7B,0x202020,0x575757,0x6E6E6E,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x646464,0x989898,0xC6C6C6,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC1C1C1,
+    0xC2C2C2,0x434343,0x4C4C4C,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x6F6F6F,0x505050,0x2F2F2F,0x5B5B5B,0x4B4B4B,0x8B8B8B,0xC4C4C4,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xBDBDBD,0xBCBCBC,
+    0xBFBFBF,0xB2B2B2,0x373737,0x323232,0x3A3A3A,0x4C4C4C,0x686868,0x525252,
+    0x4C4C4C,0x4F4F4F,0x515151,0x5B5B5B,0x686868,0x545454,0x3F3F3F,0x383838,
+    0x1E1E1E,0x00FF00,0x3D3D3D,0xC5C5C5,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xB9B9B9,0xBFBFBF,0x7F7F7F,0x5D5D5D,0x6E6E6E,
+    0x646464,0x555555,0x515151,0x414141,0x6B6B6B,0xC1C1C1,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB8B8B8,0xB8B8B8,0xC5C5C5,0x414141,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x707070,0xC0C0C0,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB7B7B7,0xACACAC,0x323232,
+    0x303030,0x3A3A3A,0x535353,0x646464,0x525252,0x474747,0x393939,0x3B3B3B,
+    0x848484,0xBBBBBB,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB9B9B9,
+    0xA2A2A2,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x303030,0x3A3A3A,0xA8A8A8,
+    0xB4B4B4,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB4B4B4,0xA1A1A1,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,
+    0x6E6E6E,0x999999,0xB3B3B3,0xB2B2B2,0xAFAFAF,0x525252,0x343434,0x393939,
+    0x393939,0x3A3A3A,0x3B3B3B,0x404040,0x474747,0x545454,0x666666,0x1A1A1A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA3A3A3,0xAFAFAF,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xB4B4B4,0x656565,0x353535,0x515151,
+    0x6C6C6C,0x5D5D5D,0x4E4E4E,0x484848,0x424242,0x3C3C3C,0x333333,0x6B6B6B,
+    0xB2B2B2,0xAAAAAA,0xAAAAAA,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xAAAAAA,0xACACAC,
+    0x7B7B7B,0x575757,0x4C4C4C,0x414141,0x373737,0x393939,0x969696,0xACACAC,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA8A8A8,
+    0xA8A8A8,0xADADAD,0x5B5B5B,0x393939,0x606060,0x606060,0x4C4C4C,0x4D4D4D,
+    0x4F4F4F,0x515151,0x5C5C5C,0x6F6F6F,0x616161,0x434343,0x232323,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3E3E3E,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x363636,0x3E3E3E,0x9C9C9C,0xA5A5A5,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,
+    0xA3A3A3,0xAEAEAE,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,
+    0x3D3D3D,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x333333,
+    0x464646,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA2A2A2,0x1D1D1D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x484848,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC7C7C7,0x595959,0x595959,0x585858,
+    0x626262,0x626262,0x737373,0xAFAFAF,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xD0D0D0,0x646464,0x202020,0x282828,0x282828,0x282828,
+    0x282828,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xBDBDBD,0xCBCBCB,0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC9C9C9,0xCECECE,0x646464,0x222222,0x343434,0x444444,0x545454,0x646464,
+    0x6A6A6A,0x5A5A5A,0x999999,0xCDCDCD,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC9C9C9,0xC5C5C5,0x3A3A3A,0x161616,0x00FF00,
+    0x00FF00,0x00FF00,0x1F1F1F,0xC3C3C3,0xC8C8C8,0xC6C6C6,0xC6C6C6,0xC5C5C5,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC9C9C9,
+    0xB8B8B8,0x6F6F6F,0x565656,0x535353,0x515151,0x4E4E4E,0x494949,0x434343,
+    0x636363,0x4C4C4C,0x242424,0x2A2A2A,0x00FF00,0x00FF00,0x252525,0x696969,
+    0x7E7E7E,0xC1C1C1,0xC4C4C4,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xCDCDCD,0x6A6A6A,0x1D1D1D,0x434343,0x6E6E6E,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x646464,0x989898,
+    0xC6C6C6,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC2C2C2,0xBBBBBB,0x343434,0x373737,0x6E6E6E,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x707070,0x434343,0x1B1B1B,0x575757,0x616161,0xAFAFAF,
+    0xC1C1C1,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,
+    0xBCBCBC,0xC6C6C6,0x656565,0x252525,0x353535,0x3B3B3B,0x4F4F4F,0x686868,
+    0x515151,0x4C4C4C,0x4F4F4F,0x535353,0x606060,0x6B6B6B,0x575757,0x3F3F3F,
+    0x383838,0x1C1C1C,0x00FF00,0x00FF00,0x9E9E9E,0xC1C1C1,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xB9B9B9,0xBEBEBE,0x919191,0x4B4B4B,0x676767,
+    0x6E6E6E,0x636363,0x555555,0x505050,0x414141,0x6B6B6B,0xC0C0C0,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xC5C5C5,
+    0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB0B0B0,
+    0xB9B9B9,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB7B7B7,0xADADAD,
+    0x343434,0x303030,0x3F3F3F,0x535353,0x636363,0x525252,0x444444,0x383838,
+    0x3A3A3A,0x4D4D4D,0x969696,0xBBBBBB,0xB4B4B4,0xB4B4B4,0xB3B3B3,0xB8B8B8,
+    0xB5B5B5,0x4D4D4D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2C2C2C,0x383838,
+    0x8F8F8F,0xB5B5B5,0xB2B2B2,0xB2B2B2,0xB0B0B0,0xB0B0B0,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB4B4B4,0x9F9F9F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x141414,0x7A7A7A,0xB3B3B3,0xB0B0B0,0xAAAAAA,0x525252,0x343434,0x393939,
+    0x393939,0x393939,0x3A3A3A,0x3C3C3C,0x404040,0x474747,0x565656,0x646464,
+    0x191919,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x393939,0xB6B6B6,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xB1B1B1,0x7B7B7B,0x373737,
+    0x545454,0x6E6E6E,0x5B5B5B,0x4E4E4E,0x474747,0x424242,0x3C3C3C,0x373737,
+    0x3A3A3A,0x9C9C9C,0xACACAC,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xACACAC,0x9D9D9D,0x5D5D5D,0x4C4C4C,0x3F3F3F,0x373737,0x343434,0x4A4A4A,
+    0xA7A7A7,0xA9A9A9,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,
+    0xA8A8A8,0xA8A8A8,0xA9A9A9,0x555555,0x3B3B3B,0x5E5E5E,0x5E5E5E,0x4C4C4C,
+    0x4D4D4D,0x4F4F4F,0x535353,0x626262,0x6F6F6F,0x606060,0x464646,0x1F1F1F,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,
+    0x3C3C3C,0x373737,0x373737,0x373737,0x373737,0x373737,0x363636,0x7F7F7F,
+    0xA9A9A9,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xACACAC,0x696969,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3A3A3A,0x383838,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x8A8A8A,0xA5A5A5,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xAEAEAE,0x434343,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xC6C6C6,0xCBCBCB,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCCCCCC,0xA7A7A7,0x393939,0x636363,
+    0x5E5E5E,0x585858,0x535353,0x4F4F4F,0x505050,0x959595,0xCFCFCF,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xD2D2D2,0x848484,0x242424,0x272727,0x282828,0x282828,
+    0x282828,0x282828,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x636363,0xD1D1D1,0xCBCBCB,0xC9C9C9,0xC9C9C9,0xC8C8C8,
+    0xCDCDCD,0xCBCBCB,0x838383,0x2B2B2B,0x282828,0x343434,0x444444,0x535353,
+    0x636363,0x636363,0x7F7F7F,0xBABABA,0xC9C9C9,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCACACA,0xA8A8A8,0x2B2B2B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB6B6B6,0xC9C9C9,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC9C9C9,0xACACAC,0x626262,0x545454,0x515151,0x4F4F4F,0x494949,
+    0x414141,0x5C5C5C,0x444444,0x252525,0x2D2D2D,0x141414,0x00FF00,0x202020,
+    0x676767,0x979797,0xC8C8C8,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC3C3C3,0xC9C9C9,0x545454,0x1D1D1D,0x4C4C4C,0x6F6F6F,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x707070,
+    0xA3A3A3,0xC5C5C5,0xC0C0C0,0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC2C2C2,0xB8B8B8,0x2B2B2B,0x3C3C3C,0x6E6E6E,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x707070,0x3A3A3A,0x212121,0x595959,0x888888,
+    0xC8C8C8,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,
+    0xBCBCBC,0xBDBDBD,0xC6C6C6,0x4E4E4E,0x262626,0x343434,0x3B3B3B,0x505050,
+    0x676767,0x515151,0x4C4C4C,0x4F4F4F,0x535353,0x606060,0x6B6B6B,0x555555,
+    0x3F3F3F,0x383838,0x1A1A1A,0x00FF00,0x00FF00,0x555555,0xAFAFAF,0xBFBFBF,
+    0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBCBCBC,0xBEBEBE,0x494949,0x414141,
+    0x686868,0x6D6D6D,0x636363,0x555555,0x505050,0x3D3D3D,0x666666,0xC1C1C1,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB8B8B8,0xB7B7B7,
+    0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3F3F3F,
+    0xC0C0C0,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB7B7B7,
+    0xAFAFAF,0x393939,0x313131,0x414141,0x555555,0x626262,0x525252,0x444444,
+    0x383838,0x3B3B3B,0x434343,0x535353,0x838383,0xADADAD,0xB0B0B0,0xB2B2B2,
+    0x9A9A9A,0x5A5A5A,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,
+    0x363636,0x4D4D4D,0xAEAEAE,0xB2B2B2,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB1B1B1,
+    0xB0B0B0,0xB0B0B0,0xB2B2B2,0xAEAEAE,0x232323,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x2C2C2C,0xB5B5B5,0xB2B2B2,0xB6B6B6,0x6F6F6F,0x303030,0x393939,
+    0x393939,0x393939,0x3A3A3A,0x3A3A3A,0x3C3C3C,0x414141,0x494949,0x575757,
+    0x5D5D5D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x373737,0xB8B8B8,
+    0xADADAD,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xAEAEAE,0x9B9B9B,
+    0x3C3C3C,0x555555,0x6D6D6D,0x5A5A5A,0x4E4E4E,0x484848,0x414141,0x3B3B3B,
+    0x383838,0x323232,0x7A7A7A,0xAFAFAF,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xA9A9A9,0xA9A9A9,0xACACAC,0x6A6A6A,0x484848,0x404040,0x373737,0x363636,
+    0x393939,0x9C9C9C,0xABABAB,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA7A7A7,0xA8A8A8,0xAAAAAA,0x545454,0x3B3B3B,0x636363,0x5C5C5C,
+    0x4C4C4C,0x4D4D4D,0x4F4F4F,0x535353,0x626262,0x707070,0x5D5D5D,0x454545,
+    0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3B3B3B,0x383838,0x373737,0x373737,0x373737,0x373737,0x323232,
+    0x5C5C5C,0xA7A7A7,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xB2B2B2,0x3D3D3D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x2F2F2F,0x3A3A3A,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x313131,0x646464,0xADADAD,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA5A5A5,0x8D8D8D,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3C3C3C,0xD0D0D0,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xCECECE,0x656565,0x323232,
+    0x656565,0x5E5E5E,0x5A5A5A,0x555555,0x535353,0x4F4F4F,0x515151,0xA9A9A9,
+    0xCCCCCC,0xC8C8C8,0xC8C8C8,0xCDCDCD,0x4E4E4E,0x202020,0x282828,0x282828,
+    0x282828,0x282828,0x282828,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x383838,0x8E8E8E,0xC0C0C0,0xC3C3C3,0xC3C3C3,
+    0xC6C6C6,0xA9A9A9,0x616161,0x333333,0x2F2F2F,0x282828,0x333333,0x414141,
+    0x565656,0x787878,0x9E9E9E,0xB7B7B7,0xCCCCCC,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xC3C3C3,0x363636,0x2A2A2A,
+    0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x3E3E3E,0xCECECE,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC6C6C6,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC8C8C8,0xC0C0C0,0x737373,0x515151,0x4F4F4F,
+    0x494949,0x424242,0x5C5C5C,0x515151,0x252525,0x2B2B2B,0x00FF00,0x00FF00,
+    0x323232,0x6C6C6C,0x9B9B9B,0xC8C8C8,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC5C5C5,0xBFBFBF,0x393939,0x222222,0x585858,
+    0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x686868,
+    0x747474,0xBBBBBB,0xC2C2C2,0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC2C2C2,0xB4B4B4,0x252525,0x474747,0x6F6F6F,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x6F6F6F,0x414141,0x343434,0x5A5A5A,
+    0x868686,0xC4C4C4,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBCBCBC,0xBCBCBC,0xC1C1C1,0xA0A0A0,0x313131,0x2B2B2B,0x353535,0x3A3A3A,
+    0x535353,0x676767,0x505050,0x4C4C4C,0x4F4F4F,0x535353,0x606060,0x6B6B6B,
+    0x545454,0x3F3F3F,0x383838,0x161616,0x00FF00,0x151515,0x474747,0x5B5B5B,
+    0xA8A8A8,0xBDBDBD,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xB6B6B6,0x696969,0x2C2C2C,
+    0x484848,0x686868,0x6D6D6D,0x636363,0x525252,0x525252,0x626262,0x989898,
+    0xBCBCBC,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB8B8B8,
+    0xB7B7B7,0xC5C5C5,0x3F3F3F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3F3F3F,0xC4C4C4,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,
+    0xB7B7B7,0xB0B0B0,0x3B3B3B,0x313131,0x414141,0x626262,0x626262,0x515151,
+    0x454545,0x383838,0x3B3B3B,0x454545,0x4D4D4D,0x545454,0x696969,0x7E7E7E,
+    0x7C7C7C,0x555555,0x3D3D3D,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x232323,0x393939,0x404040,0xACACAC,0xB3B3B3,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xB6B6B6,0xA1A1A1,0x00FF00,0x00FF00,
+    0x00FF00,0x1C1C1C,0xAEAEAE,0xB3B3B3,0xAEAEAE,0xAFAFAF,0xABABAB,0x5C5C5C,
+    0x343434,0x393939,0x393939,0x3A3A3A,0x3A3A3A,0x3B3B3B,0x414141,0x494949,
+    0x575757,0x626262,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x181818,
+    0xA9A9A9,0xAEAEAE,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0x5C5C5C,0x515151,0x6A6A6A,0x565656,0x4A4A4A,0x434343,0x3D3D3D,
+    0x373737,0x343434,0x2D2D2D,0x636363,0xB2B2B2,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xA9A9A9,0xA9A9A9,0xA9A9A9,0xAEAEAE,0x8B8B8B,0x474747,0x3D3D3D,0x373737,
+    0x373737,0x333333,0x7E7E7E,0xADADAD,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xAFAFAF,0x6C6C6C,0x3D3D3D,0x646464,
+    0x595959,0x4C4C4C,0x4D4D4D,0x4F4F4F,0x545454,0x646464,0x707070,0x5A5A5A,
+    0x414141,0x141414,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x323232,0x393939,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x363636,0x707070,0xABABAB,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA7A7A7,0x8F8F8F,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,0x3F3F3F,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x353535,0x3A3A3A,0x838383,0xA6A6A6,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA5A5A5,0x848484,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x797979,0xD1D1D1,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD0D0D0,0x858585,0x212121,
+    0x333333,0x636363,0x5E5E5E,0x5A5A5A,0x555555,0x525252,0x525252,0x4D4D4D,
+    0x5A5A5A,0xC7C7C7,0xC9C9C9,0xCBCBCB,0xBCBCBC,0x2B2B2B,0x262626,0x282828,
+    0x282828,0x282828,0x282828,0x292929,0x232323,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x545454,0x5C5C5C,0x686868,
+    0x767676,0x757575,0x555555,0x3D3D3D,0x393939,0x2E2E2E,0x232323,0x323232,
+    0x565656,0x969696,0xC1C1C1,0xCDCDCD,0xC9C9C9,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCBCBCB,0xAAAAAA,0x252525,
+    0x292929,0x151515,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xBBBBBB,0xC8C8C8,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC9C9C9,0xC2C2C2,0x626262,
+    0x4B4B4B,0x4A4A4A,0x414141,0x5B5B5B,0x464646,0x242424,0x2C2C2C,0x00FF00,
+    0x00FF00,0x252525,0x767676,0xB3B3B3,0xC6C6C6,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC5C5C5,0xBBBBBB,0x2D2D2D,0x242424,
+    0x4C4C4C,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x686868,0x727272,0xBBBBBB,0xC2C2C2,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC6C6C6,0x969696,0x212121,0x525252,0x6F6F6F,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x6E6E6E,0x515151,0x464646,
+    0x585858,0x8C8C8C,0xC4C4C4,0xBEBEBE,0xBDBDBD,0xBEBEBE,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC6C6C6,0x717171,0x222222,0x2D2D2D,0x343434,
+    0x3B3B3B,0x545454,0x676767,0x505050,0x4C4C4C,0x4F4F4F,0x535353,0x616161,
+    0x6B6B6B,0x535353,0x3D3D3D,0x363636,0x202020,0x00FF00,0x161616,0x494949,
+    0x4C4C4C,0x545454,0x7B7B7B,0x979797,0x9A9A9A,0x8F8F8F,0x535353,0x3A3A3A,
+    0x2E2E2E,0x4B4B4B,0x686868,0x696969,0x686868,0x636363,0x9B9B9B,0xBCBCBC,
+    0xBEBEBE,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x484848,0xC2C2C2,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB6B6B6,0xB2B2B2,0x3A3A3A,0x303030,0x404040,0x626262,0x626262,
+    0x505050,0x434343,0x383838,0x3C3C3C,0x454545,0x4E4E4E,0x525252,0x5B5B5B,
+    0x6C6C6C,0x686868,0x505050,0x404040,0x323232,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x202020,0x3A3A3A,0x3D3D3D,0xA9A9A9,0xB3B3B3,0xB2B2B2,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,0xB3B3B3,0xA2A2A2,0x00FF00,
+    0x00FF00,0x00FF00,0x747474,0xBBBBBB,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xB3B3B3,
+    0xA8A8A8,0x505050,0x363636,0x393939,0x393939,0x3A3A3A,0x3C3C3C,0x414141,
+    0x494949,0x5A5A5A,0x525252,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x404040,0xBBBBBB,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xAEAEAE,0xA1A1A1,0x888888,0x979797,0x898989,0x808080,0x7A7A7A,
+    0x777777,0x727272,0x707070,0x6A6A6A,0x898989,0xAEAEAE,0xAAAAAA,0xAAAAAA,
+    0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xACACAC,0xA0A0A0,0x4B4B4B,0x3D3D3D,
+    0x373737,0x373737,0x303030,0x666666,0xB0B0B0,0xA8A8A8,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA8A8A8,0xAAAAAA,0x949494,0x414141,
+    0x656565,0x595959,0x4C4C4C,0x4E4E4E,0x4F4F4F,0x555555,0x646464,0x707070,
+    0x585858,0x434343,0x141414,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x232323,0x3B3B3B,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x333333,0x505050,0xA6A6A6,0xA5A5A5,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xA3A3A3,0xA5A5A5,0xA4A4A4,
+    0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2D2D2D,0x3C3C3C,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x323232,0x494949,0xA4A4A4,
+    0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA3A3A3,0xA5A5A5,0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x202020,0xCCCCCC,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xCCCCCC,0x4E4E4E,
+    0x1F1F1F,0x303030,0x616161,0x5E5E5E,0x5A5A5A,0x555555,0x535353,0x525252,
+    0x505050,0x4C4C4C,0xADADAD,0xCCCCCC,0xD1D1D1,0x848484,0x212121,0x282828,
+    0x282828,0x282828,0x282828,0x282828,0x2E2E2E,0x171717,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3F3F3F,0x535353,0x535353,
+    0x5B5B5B,0x676767,0x666666,0x535353,0x414141,0x323232,0x323232,0x4C4C4C,
+    0x9F9F9F,0xC7C7C7,0xCECECE,0xD1D1D1,0xC3C3C3,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD1D1D1,0x797979,
+    0x202020,0x2A2A2A,0x1B1B1B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA1A1A1,
+    0xCCCCCC,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,
+    0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC9C9C9,
+    0xADADAD,0x545454,0x474747,0x434343,0x5C5C5C,0x4D4D4D,0x252525,0x2E2E2E,
+    0x151515,0x00FF00,0x232323,0x7B7B7B,0xC0C0C0,0xC5C5C5,0xC3C3C3,0xC3C3C3,
+    0xC2C2C2,0xC2C2C2,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC7C7C7,0xA7A7A7,0x262626,
+    0x232323,0x464646,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x686868,0x787878,0xBCBCBC,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC8C8C8,0x7C7C7C,0x1F1F1F,0x434343,
+    0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x6F6F6F,0x515151,
+    0x3F3F3F,0x585858,0x989898,0xC3C3C3,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,0xC8C8C8,0x707070,0x222222,0x2D2D2D,
+    0x343434,0x3B3B3B,0x555555,0x666666,0x4F4F4F,0x4C4C4C,0x4F4F4F,0x535353,
+    0x606060,0x6B6B6B,0x535353,0x3E3E3E,0x343434,0x2A2A2A,0x00FF00,0x171717,
+    0x4A4A4A,0x4F4F4F,0x525252,0x545454,0x626262,0x686868,0x5C5C5C,0x474747,
+    0x3D3D3D,0x2E2E2E,0x494949,0x717171,0x8D8D8D,0xA0A0A0,0xB5B5B5,0xBCBCBC,
+    0xBCBCBC,0xB7B7B7,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB7B7B7,0xB8B8B8,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xA0A0A0,0xBABABA,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB8B8B8,0x686868,0x2F2F2F,0x3F3F3F,0x606060,
+    0x626262,0x4F4F4F,0x424242,0x383838,0x3C3C3C,0x464646,0x4E4E4E,0x525252,
+    0x5D5D5D,0x6E6E6E,0x696969,0x4F4F4F,0x414141,0x242424,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x1C1C1C,0x3A3A3A,0x3A3A3A,0xA9A9A9,0xB3B3B3,0xB1B1B1,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xB4B4B4,0xA1A1A1,
+    0x00FF00,0x00FF00,0x676767,0xBABABA,0xAFAFAF,0xAFAFAF,0xAEAEAE,0xAFAFAF,
+    0xAEAEAE,0xB3B3B3,0xA9A9A9,0x3F3F3F,0x363636,0x3A3A3A,0x3A3A3A,0x3C3C3C,
+    0x414141,0x494949,0x5A5A5A,0x535353,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x2B2B2B,0xB3B3B3,0xADADAD,0xACACAC,0xADADAD,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xADADAD,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAFAFAF,
+    0xB0B0B0,0xB0B0B0,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xAEAEAE,0xA9A9A9,0xAAAAAA,
+    0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xAAAAAA,0x676767,
+    0x3A3A3A,0x373737,0x373737,0x333333,0x515151,0xA9A9A9,0xA8A8A8,0xA8A8A8,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xACACAC,0x848484,
+    0x444444,0x666666,0x555555,0x4C4C4C,0x4E4E4E,0x4F4F4F,0x565656,0x666666,
+    0x707070,0x555555,0x424242,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x151515,0x3C3C3C,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x363636,0x3B3B3B,0x9C9C9C,0xA6A6A6,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA3A3A3,0xA2A2A2,
+    0xB2B2B2,0x464646,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x383838,
+    0x8F8F8F,0xA5A5A5,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xACACAC,0x676767,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x858585,0xD2D2D2,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xBBBBBB,
+    0x2A2A2A,0x252525,0x303030,0x606060,0x5E5E5E,0x5A5A5A,0x555555,0x535353,
+    0x525252,0x4F4F4F,0x505050,0xBCBCBC,0xCCCCCC,0xC9C9C9,0x4A4A4A,0x222222,
+    0x282828,0x282828,0x282828,0x282828,0x282828,0x2B2B2B,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,0x555555,
+    0x555555,0x5C5C5C,0x686868,0x676767,0x4F4F4F,0x444444,0x5C5C5C,0xAEAEAE,
+    0xCCCCCC,0xCFCFCF,0xCECECE,0xC2C2C2,0x7A7A7A,0x828282,0xCACACA,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCDCDCD,
+    0x545454,0x212121,0x2A2A2A,0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x606060,0xCCCCCC,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xCBCBCB,0xA7A7A7,0x4E4E4E,0x414141,0x575757,0x4F4F4F,0x252525,
+    0x2B2B2B,0x00FF00,0x00FF00,0x2B2B2B,0x808080,0xC1C1C1,0xC5C5C5,0xC3C3C3,
+    0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xCBCBCB,0x7D7D7D,
+    0x222222,0x252525,0x565656,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x666666,0x8D8D8D,0xC2C2C2,0xC1C1C1,0xC0C0C0,0xC1C1C1,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC9C9C9,0x6C6C6C,0x1D1D1D,
+    0x3A3A3A,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x707070,
+    0x454545,0x1D1D1D,0x5D5D5D,0xADADAD,0xC0C0C0,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBFBFBF,0xBCBCBC,0x424242,0x262626,
+    0x2D2D2D,0x353535,0x3B3B3B,0x545454,0x676767,0x505050,0x4C4C4C,0x4F4F4F,
+    0x545454,0x616161,0x6B6B6B,0x525252,0x3E3E3E,0x343434,0x262626,0x00FF00,
+    0x191919,0x4A4A4A,0x4F4F4F,0x525252,0x595959,0x676767,0x6D6D6D,0x606060,
+    0x484848,0x3B3B3B,0x292929,0x565656,0xA7A7A7,0xBCBCBC,0xBCBCBC,0xBBBBBB,
+    0xC2C2C2,0x898989,0x777777,0xBFBFBF,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB7B7B7,0xB7B7B7,0xB7B7B7,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xA9A9A9,0xB9B9B9,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xBABABA,0x979797,0x303030,0x3E3E3E,
+    0x5D5D5D,0x616161,0x4F4F4F,0x444444,0x383838,0x3C3C3C,0x474747,0x4E4E4E,
+    0x525252,0x5D5D5D,0x6D6D6D,0x696969,0x4F4F4F,0x414141,0x262626,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x181818,0x3A3A3A,0x373737,0xA0A0A0,0xB4B4B4,
+    0xB2B2B2,0xB2B2B2,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,
+    0x9C9C9C,0x00FF00,0x919191,0xB8B8B8,0xAFAFAF,0xAFAFAF,0xAFAFAF,0xAFAFAF,
+    0xAFAFAF,0xAFAFAF,0xAEAEAE,0xB5B5B5,0x7B7B7B,0x353535,0x393939,0x3A3A3A,
+    0x3C3C3C,0x424242,0x4B4B4B,0x5A5A5A,0x5E5E5E,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x252525,0xADADAD,0xAEAEAE,0xACACAC,0xADADAD,0xADADAD,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xADADAD,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,0xADADAD,
+    0xADADAD,0xADADAD,0xACACAC,0xADADAD,0xACACAC,0xACACAC,0xACACAC,0xAFAFAF,
+    0x9D9D9D,0x3B3B3B,0x363636,0x373737,0x353535,0x404040,0xA3A3A3,0xA9A9A9,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xACACAC,
+    0x7F7F7F,0x464646,0x686868,0x555555,0x4C4C4C,0x4D4D4D,0x4F4F4F,0x565656,
+    0x686868,0x6F6F6F,0x535353,0x3F3F3F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x3B3B3B,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x353535,0x787878,0xA9A9A9,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA3A3A3,
+    0xA2A2A2,0xA6A6A6,0x929292,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x343434,0x393939,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x313131,0x676767,0xA8A8A8,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA3A3A3,0x9B9B9B,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x484848,0xD3D3D3,0xC6C6C6,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD2D2D2,
+    0x787878,0x202020,0x262626,0x303030,0x626262,0x606060,0x5A5A5A,0x555555,
+    0x535353,0x525252,0x4F4F4F,0x535353,0xC2C2C2,0xD2D2D2,0x686868,0x1F1F1F,
+    0x282828,0x282828,0x282828,0x282828,0x282828,0x292929,0x252525,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x333333,
+    0x555555,0x545454,0x5B5B5B,0x626262,0x727272,0x909090,0xACACAC,0xCBCBCB,
+    0xCDCDCD,0xCDCDCD,0xCBCBCB,0xA5A5A5,0x4F4F4F,0x343434,0x959595,0xCECECE,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,
+    0xC2C2C2,0x323232,0x252525,0x2A2A2A,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x404040,0xC1C1C1,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCDCDCD,0x8E8E8E,0x3B3B3B,0x5B5B5B,0x454545,
+    0x252525,0x292929,0x00FF00,0x00FF00,0x181818,0xAEAEAE,0xC7C7C7,0xC3C3C3,
+    0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xCDCDCD,
+    0x6B6B6B,0x202020,0x252525,0x464646,0x6E6E6E,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x646464,0x999999,0xC6C6C6,0xC1C1C1,0xC1C1C1,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC9C9C9,0x626262,
+    0x1D1D1D,0x444444,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x707070,0x3B3B3B,0x212121,0x686868,0xB8B8B8,0xC0C0C0,0xBEBEBE,0xBEBEBE,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC0C0C0,0xAEAEAE,0x272727,
+    0x292929,0x2E2E2E,0x353535,0x3B3B3B,0x4D4D4D,0x686868,0x505050,0x4C4C4C,
+    0x4F4F4F,0x545454,0x616161,0x6B6B6B,0x515151,0x3E3E3E,0x353535,0x252525,
+    0x00FF00,0x1C1C1C,0x4B4B4B,0x4F4F4F,0x525252,0x595959,0x676767,0x6D6D6D,
+    0x5E5E5E,0x424242,0x404040,0x727272,0xB3B3B3,0xBCBCBC,0xB9B9B9,0xBDBDBD,
+    0xB6B6B6,0x6F6F6F,0x393939,0x6F6F6F,0xC0C0C0,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA6A6A6,0xBABABA,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB9B9B9,0x9A9A9A,0x323232,
+    0x3D3D3D,0x5C5C5C,0x616161,0x4F4F4F,0x434343,0x383838,0x3D3D3D,0x484848,
+    0x4F4F4F,0x525252,0x5D5D5D,0x6D6D6D,0x686868,0x4F4F4F,0x404040,0x292929,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x151515,0x3C3C3C,0x343434,0x8C8C8C,
+    0xB6B6B6,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB3B3B3,0x939393,0x4A4A4A,0xB9B9B9,0xAFAFAF,0xAFAFAF,0xAFAFAF,0xAFAFAF,
+    0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAFAFAF,0xB1B1B1,0x7C7C7C,0x353535,
+    0x3A3A3A,0x3C3C3C,0x414141,0x4B4B4B,0x606060,0x4B4B4B,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0xACACAC,0xAEAEAE,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xADADAD,0x9B9B9B,0x8D8D8D,
+    0x919191,0x919191,0x909090,0x909090,0x909090,0x909090,0x909090,0x909090,
+    0x909090,0x909090,0x909090,0x909090,0x909090,0x909090,0x909090,0x909090,
+    0x919191,0x838383,0x3A3A3A,0x363636,0x373737,0x373737,0x383838,0x9A9A9A,
+    0xACACAC,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA8A8A8,0xA7A7A7,
+    0xA9A9A9,0x9F9F9F,0x515151,0x686868,0x545454,0x4C4C4C,0x4E4E4E,0x505050,
+    0x585858,0x696969,0x6E6E6E,0x515151,0x3C3C3C,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3A3A3A,0x373737,0x373737,0x373737,0x373737,0x373737,0x323232,0x5A5A5A,
+    0xACACAC,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA9A9A9,0x5E5E5E,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x242424,0x3D3D3D,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x343434,0x464646,0xA5A5A5,0xA3A3A3,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0x898989,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xAEAEAE,0xCBCBCB,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,
+    0xC5C5C5,0x3D3D3D,0x222222,0x272727,0x2C2C2C,0x5B5B5B,0x616161,0x5A5A5A,
+    0x555555,0x535353,0x525252,0x4F4F4F,0x565656,0xAFAFAF,0xB2B2B2,0x353535,
+    0x242424,0x282828,0x282828,0x282828,0x282828,0x282828,0x2E2E2E,0x191919,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x323232,0x545454,0x4F4F4F,0x656565,0x9D9D9D,0xB6B6B6,0xCFCFCF,0xCCCCCC,
+    0xC9C9C9,0xCECECE,0xB0B0B0,0x585858,0x3B3B3B,0x3A3A3A,0x4F4F4F,0xC0C0C0,
+    0xC9C9C9,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xCCCCCC,0xAAAAAA,0x252525,0x272727,0x2A2A2A,0x181818,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x363636,0x737373,0xC9C9C9,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC7C7C7,0xB5B5B5,0x4F4F4F,0x555555,
+    0x535353,0x262626,0x232323,0x00FF00,0x00FF00,0x262626,0xC8C8C8,0xC5C5C5,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC3C3C3,0xC2C2C2,0xC2C2C2,
+    0xCDCDCD,0x515151,0x202020,0x242424,0x414141,0x6F6F6F,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x646464,0x969696,0xC6C6C6,0xC1C1C1,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC1C1C1,0xC3C3C3,
+    0x4A4A4A,0x1E1E1E,0x4E4E4E,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x6F6F6F,0x3A3A3A,0x232323,0x505050,0xB4B4B4,0xC0C0C0,0xBFBFBF,
+    0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC3C3C3,0x949494,
+    0x262626,0x292929,0x2E2E2E,0x353535,0x3B3B3B,0x4F4F4F,0x676767,0x505050,
+    0x4C4C4C,0x505050,0x545454,0x626262,0x6A6A6A,0x515151,0x3E3E3E,0x353535,
+    0x232323,0x00FF00,0x1A1A1A,0x4D4D4D,0x4F4F4F,0x515151,0x5A5A5A,0x686868,
+    0x6A6A6A,0x636363,0x707070,0xA1A1A1,0xC2C2C2,0xBBBBBB,0xB9B9B9,0xBFBFBF,
+    0xAEAEAE,0x515151,0x353535,0x393939,0x737373,0xC0C0C0,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xC5C5C5,0x404040,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA8A8A8,0xB9B9B9,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB7B7B7,0xACACAC,
+    0x3C3C3C,0x3E3E3E,0x606060,0x656565,0x545454,0x424242,0x373737,0x3D3D3D,
+    0x484848,0x4F4F4F,0x525252,0x5E5E5E,0x6E6E6E,0x676767,0x4D4D4D,0x3F3F3F,
+    0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,0x343434,
+    0x7F7F7F,0xB8B8B8,0xB1B1B1,0xB0B0B0,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xAFAFAF,0xB0B0B0,0xAEAEAE,0xACACAC,0xB1B1B1,0xAFAFAF,0xAFAFAF,0xAFAFAF,
+    0xAFAFAF,0xAFAFAF,0xAFAFAF,0xAEAEAE,0xAFAFAF,0xAEAEAE,0xAFAFAF,0xB3B3B3,
+    0x5B5B5B,0x393939,0x3D3D3D,0x434343,0x4F4F4F,0x676767,0x434343,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x141414,0x9E9E9E,0xAFAFAF,0xADADAD,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xADADAD,0x9C9C9C,
+    0x747474,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6E6E6E,0x595959,0x393939,0x363636,0x373737,0x373737,0x343434,
+    0x555555,0xA8A8A8,0xA9A9A9,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,
+    0xA7A7A7,0xA8A8A8,0xA7A7A7,0x707070,0x707070,0x515151,0x4C4C4C,0x4E4E4E,
+    0x505050,0x595959,0x6A6A6A,0x6B6B6B,0x4F4F4F,0x363636,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x323232,0x393939,0x373737,0x373737,0x373737,0x373737,0x363636,
+    0x3A3A3A,0x7F7F7F,0xA8A8A8,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA6A6A6,0x9F9F9F,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3D3D3D,0x383838,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x656565,0xA2A2A2,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xAEAEAE,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,0xC7C7C7,0xC8C8C8,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xCDCDCD,0x525252,0x202020,0x282828,0x272727,0x292929,0x585858,0x626262,
+    0x5A5A5A,0x565656,0x535353,0x525252,0x4B4B4B,0x7B7B7B,0xBFBFBF,0x8F8F8F,
+    0x252525,0x272727,0x282828,0x282828,0x282828,0x282828,0x282828,0x2B2B2B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x252525,0x595959,0x7F7F7F,0xB4B4B4,0xCECECE,0xC9C9C9,0xC8C8C8,
+    0xC9C9C9,0xCFCFCF,0x979797,0x3C3C3C,0x373737,0x3F3F3F,0x404040,0xA0A0A0,
+    0xCCCCCC,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xCECECE,0x707070,0x212121,0x282828,0x292929,0x1E1E1E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,0x494949,0x7F7F7F,0xCCCCCC,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC6C6C6,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCCCCCC,0x848484,
+    0x525252,0x4C4C4C,0x262626,0x1C1C1C,0x00FF00,0x00FF00,0x393939,0xCCCCCC,
+    0xC4C4C4,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC2C2C2,0xC2C2C2,
+    0xC8C8C8,0x989898,0x2B2B2B,0x252525,0x242424,0x505050,0x6F6F6F,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x767676,0xAEAEAE,0xC3C3C3,
+    0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC1C1C1,
+    0xBDBDBD,0x3A3A3A,0x212121,0x4F4F4F,0x6F6F6F,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x6F6F6F,0x474747,0x00FF00,0x252525,0xC0C0C0,0xC0C0C0,
+    0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC5C5C5,
+    0x7F7F7F,0x232323,0x292929,0x2E2E2E,0x353535,0x3C3C3C,0x515151,0x676767,
+    0x4F4F4F,0x4C4C4C,0x505050,0x545454,0x636363,0x6A6A6A,0x515151,0x3E3E3E,
+    0x363636,0x212121,0x00FF00,0x00FF00,0x464646,0x4F4F4F,0x525252,0x595959,
+    0x6B6B6B,0x898989,0xA2A2A2,0xBBBBBB,0xBFBFBF,0xB9B9B9,0xB9B9B9,0xBFBFBF,
+    0xA3A3A3,0x434343,0x373737,0x404040,0x3A3A3A,0x727272,0xC0C0C0,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB8B8B8,0xC6C6C6,
+    0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA8A8A8,0xBABABA,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB5B5B5,
+    0xBCBCBC,0x6C6C6C,0x202020,0x202020,0x222222,0x2A2A2A,0x434343,0x393939,
+    0x3D3D3D,0x484848,0x4F4F4F,0x525252,0x606060,0x6E6E6E,0x666666,0x4C4C4C,
+    0x3D3D3D,0x2E2E2E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x393939,
+    0x333333,0x737373,0xB9B9B9,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB2B2B2,0xB0B0B0,0xB6B6B6,0xB0B0B0,
+    0xAFAFAF,0xAFAFAF,0xAFAFAF,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xB0B0B0,0xAEAEAE,0x4F4F4F,0x3C3C3C,0x3E3E3E,0x262626,0x232323,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,0x838383,0xB2B2B2,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0x848484,0x6C6C6C,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x717171,0x5D5D5D,0x393939,0x363636,0x373737,0x373737,
+    0x373737,0x353535,0x959595,0xACACAC,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA8A8A8,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA9A9A9,0xA6A6A6,0x737373,0x505050,0x4C4C4C,
+    0x4E4E4E,0x505050,0x5A5A5A,0x6B6B6B,0x6B6B6B,0x4E4E4E,0x383838,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x242424,0x3B3B3B,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x333333,0x484848,0xA5A5A5,0xA5A5A5,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xAEAEAE,0x333333,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0x3C3C3C,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x363636,0x353535,0x939393,0xA5A5A5,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA9A9A9,0x636363,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,0x959595,0xD0D0D0,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,
+    0xC9C9C9,0xBDBDBD,0x2B2B2B,0x252525,0x282828,0x272727,0x292929,0x585858,
+    0x616161,0x5A5A5A,0x565656,0x535353,0x525252,0x4A4A4A,0x7E7E7E,0xC5C5C5,
+    0x5E5E5E,0x202020,0x282828,0x282828,0x282828,0x282828,0x282828,0x2D2D2D,
+    0x141414,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x707070,0xB0B0B0,0xCCCCCC,0xCBCBCB,0xC8C8C8,0xC8C8C8,
+    0xCBCBCB,0xC6C6C6,0x656565,0x343434,0x393939,0x3D3D3D,0x3D3D3D,0x484848,
+    0xC0C0C0,0xC9C9C9,0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xCDCDCD,0x9C9C9C,0x252525,0x272727,0x282828,0x2A2A2A,0x1A1A1A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x343434,0x4E4E4E,0x4B4B4B,0xA0A0A0,
+    0xCDCDCD,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC8C8C8,
+    0xA5A5A5,0x575757,0x4B4B4B,0x2B2B2B,0x151515,0x00FF00,0x00FF00,0x414141,
+    0xD3D3D3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xCDCDCD,0x626262,0x1F1F1F,0x282828,0x252525,0x565656,0x737373,
+    0x707070,0x707070,0x707070,0x707070,0x707070,0x696969,0x979797,0xC7C7C7,
+    0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC2C2C2,0xB9B9B9,0x303030,0x222222,0x3A3A3A,0x747474,0x707070,0x707070,
+    0x707070,0x707070,0x707070,0x787878,0x494949,0x00FF00,0x464646,0xCCCCCC,
+    0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBCBCBC,
+    0xC6C6C6,0x727272,0x232323,0x2A2A2A,0x2E2E2E,0x353535,0x3C3C3C,0x535353,
+    0x666666,0x4F4F4F,0x4D4D4D,0x4F4F4F,0x555555,0x636363,0x6A6A6A,0x515151,
+    0x3E3E3E,0x363636,0x1F1F1F,0x00FF00,0x00FF00,0x464646,0x4F4F4F,0x505050,
+    0x606060,0x8B8B8B,0xBBBBBB,0xBFBFBF,0xBABABA,0xBABABA,0xB9B9B9,0xBFBFBF,
+    0xA7A7A7,0x3D3D3D,0x363636,0x3C3C3C,0x3F3F3F,0x3A3A3A,0x737373,0xC0C0C0,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xA5A5A5,
+    0xB9B9B9,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB4B4B4,0xC1C1C1,0x575757,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x292929,
+    0x3D3D3D,0x3E3E3E,0x484848,0x4F4F4F,0x535353,0x616161,0x6E6E6E,0x656565,
+    0x4B4B4B,0x3F3F3F,0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x373737,0x323232,0x6B6B6B,0xB9B9B9,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB1B1B1,0xAEAEAE,0x747474,
+    0xA9A9A9,0xB1B1B1,0xAFAFAF,0xAFAFAF,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xB2B2B2,0xA1A1A1,0x333333,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x181818,0x6F6F6F,
+    0xB4B4B4,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xAEAEAE,0x8E8E8E,0x696969,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x727272,0x4F4F4F,0x363636,0x373737,0x373737,
+    0x373737,0x373737,0x323232,0x777777,0xAFAFAF,0xA8A8A8,0xA8A8A8,0xA7A7A7,
+    0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xAAAAAA,0x828282,0x4E4E4E,
+    0x4C4C4C,0x4E4E4E,0x515151,0x5B5B5B,0x6C6C6C,0x696969,0x4D4D4D,0x343434,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x151515,0x3C3C3C,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x3A3A3A,0x949494,0xA6A6A6,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xACACAC,
+    0x656565,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x383838,0x383838,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x323232,0x6A6A6A,
+    0xA8A8A8,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA3A3A3,0x9B9B9B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x535353,0xDADADA,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xD1D1D1,0x808080,0x212121,0x282828,0x282828,0x272727,0x292929,
+    0x585858,0x626262,0x5A5A5A,0x565656,0x535353,0x525252,0x4B4B4B,0x858585,
+    0xBABABA,0x353535,0x242424,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x292929,0xBBBBBB,0xCECECE,0xCCCCCC,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xCBCBCB,0xCDCDCD,0x5C5C5C,0x2E2E2E,0x393939,0x3B3B3B,0x3D3D3D,0x393939,
+    0x6A6A6A,0xCBCBCB,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xD2D2D2,0x717171,0x202020,0x282828,0x282828,0x292929,
+    0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x353535,0x4E4E4E,0x4B4B4B,
+    0x4F4F4F,0xA8A8A8,0xCCCCCC,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC8C8C8,0xA9A9A9,0x585858,0x545454,0x292929,0x00FF00,0x00FF00,0x00FF00,
+    0x797979,0xCDCDCD,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC3C3C3,0xC7C7C7,0x4A4A4A,0x222222,0x282828,0x2B2B2B,0x262626,
+    0x252525,0x252525,0x252525,0x252525,0x252525,0x252525,0x232323,0x696969,
+    0xCBCBCB,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC2C2C2,0xB7B7B7,0x2A2A2A,0x292929,0x272727,0x262626,0x252525,
+    0x252525,0x252525,0x252525,0x252525,0x282828,0x181818,0x00FF00,0x434343,
+    0xCCCCCC,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBCBCBC,0xC7C7C7,0x686868,0x222222,0x292929,0x2F2F2F,0x353535,0x3C3C3C,
+    0x555555,0x666666,0x4F4F4F,0x4D4D4D,0x4F4F4F,0x555555,0x636363,0x6A6A6A,
+    0x505050,0x3E3E3E,0x353535,0x1D1D1D,0x00FF00,0x00FF00,0x484848,0x4D4D4D,
+    0x595959,0xA3A3A3,0xBDBDBD,0xBBBBBB,0xBABABA,0xB9B9B9,0xB9B9B9,0xBBBBBB,
+    0xB8B8B8,0x585858,0x343434,0x3C3C3C,0x3C3C3C,0x3F3F3F,0x3A3A3A,0x767676,
+    0xC0C0C0,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xADADAD,0xB9B9B9,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB8B8B8,0x373737,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3A3A3A,0x3F3F3F,0x484848,0x4F4F4F,0x535353,0x626262,0x6E6E6E,
+    0x646464,0x4A4A4A,0x404040,0x1B1B1B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x363636,0x313131,0x696969,0xBABABA,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xB7B7B7,0x828282,
+    0x343434,0x717171,0xB8B8B8,0xAFAFAF,0xAFAFAF,0xAEAEAE,0xAFAFAF,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xB9B9B9,0x696969,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x242424,
+    0x3A3A3A,0x9C9C9C,0xAFAFAF,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xADADAD,0xA1A1A1,0x7A7A7A,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x777777,0x363636,0x222222,0x3A3A3A,
+    0x373737,0x373737,0x373737,0x303030,0x656565,0xB0B0B0,0xA8A8A8,0xA8A8A8,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xACACAC,0x858585,
+    0x4C4C4C,0x4C4C4C,0x4E4E4E,0x515151,0x5C5C5C,0x6E6E6E,0x676767,0x4A4A4A,
+    0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x383838,0x383838,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x313131,0x707070,0xAAAAAA,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA4A4A4,0xA8A8A8,0x212121,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2A2A2A,
+    0x3A3A3A,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x343434,
+    0x494949,0xA5A5A5,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0x898989,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xADADAD,0xCBCBCB,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC8C8C8,0xCFCFCF,0x4B4B4B,0x212121,0x282828,0x282828,0x272727,
+    0x282828,0x575757,0x626262,0x5A5A5A,0x565656,0x535353,0x515151,0x525252,
+    0xACACAC,0x5B5B5B,0x242424,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x2A2A2A,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x787878,0xCECECE,0xCECECE,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xCBCBCB,0xC9C9C9,0x535353,0x303030,0x373737,0x3A3A3A,0x3A3A3A,0x3D3D3D,
+    0x383838,0x8B8B8B,0xD0D0D0,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC9C9C9,0x484848,0x222222,0x282828,0x282828,
+    0x2A2A2A,0x1B1B1B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x303030,0x4F4F4F,
+    0x4D4D4D,0x4B4B4B,0x535353,0xB5B5B5,0xCECECE,0xC6C6C6,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC7C7C7,0xBBBBBB,0x656565,0x484848,0x262626,0x00FF00,0x00FF00,
+    0x00FF00,0xBABABA,0xC6C6C6,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,
+    0xC2C2C2,0xC3C3C3,0xC5C5C5,0xBFBFBF,0x373737,0x252525,0x282828,0x2F2F2F,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xA5A5A5,0xC6C6C6,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC6C6C6,0x8F8F8F,0x242424,0x2E2E2E,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x424242,0xCCCCCC,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xBEBEBE,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xC8C8C8,0x636363,0x222222,0x292929,0x2F2F2F,0x353535,
+    0x3B3B3B,0x575757,0x686868,0x4F4F4F,0x4D4D4D,0x4F4F4F,0x545454,0x636363,
+    0x6A6A6A,0x4F4F4F,0x3D3D3D,0x363636,0x1C1C1C,0x00FF00,0x00FF00,0x474747,
+    0x5C5C5C,0xA8A8A8,0xC0C0C0,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xC3C3C3,0x727272,0x2E2E2E,0x3A3A3A,0x3B3B3B,0x3D3D3D,0x3F3F3F,0x3A3A3A,
+    0x777777,0xC0C0C0,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,
+    0xB8B8B8,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x6D6D6D,0xBBBBBB,0xB6B6B6,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xC0C0C0,0x717171,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x343434,0x404040,0x484848,0x4F4F4F,0x545454,0x626262,
+    0x6F6F6F,0x646464,0x4B4B4B,0x404040,0x1F1F1F,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x333333,0x323232,0x5E5E5E,0xB8B8B8,0xB2B2B2,0xB1B1B1,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,0x8B8B8B,
+    0x363636,0x3B3B3B,0x464646,0x797979,0xB4B4B4,0xAFAFAF,0xAEAEAE,0xAEAEAE,
+    0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xB3B3B3,0xA5A5A5,
+    0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x2B2B2B,0x343434,0x7F7F7F,0xB2B2B2,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xABABAB,0xAEAEAE,0x8A8A8A,0x6B6B6B,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x767676,0x282828,0x171717,
+    0x3C3C3C,0x373737,0x373737,0x373737,0x343434,0x4D4D4D,0xA8A8A8,0xA9A9A9,
+    0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xAAAAAA,
+    0x909090,0x525252,0x4C4C4C,0x4E4E4E,0x525252,0x5D5D5D,0x6E6E6E,0x666666,
+    0x494949,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,0x3C3C3C,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x323232,0x545454,0xA8A8A8,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA3A3A3,
+    0xA3A3A3,0xA2A2A2,0xA8A8A8,0x939393,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x181818,0x3D3D3D,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x848484,0xA5A5A5,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xAEAEAE,0x323232,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x202020,0xC7C7C7,
+    0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC8C8C8,0xCCCCCC,0xA1A1A1,0x272727,0x272727,0x282828,0x282828,
+    0x272727,0x282828,0x575757,0x636363,0x5A5A5A,0x565656,0x545454,0x4F4F4F,
+    0x6C6C6C,0x9B9B9B,0x272727,0x262626,0x282828,0x282828,0x282828,0x282828,
+    0x282828,0x2E2E2E,0x151515,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x1B1B1B,0x8A8A8A,0xD2D2D2,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xC9C9C9,0xCECECE,0x606060,0x2C2C2C,0x343434,0x373737,0x3A3A3A,0x3B3B3B,
+    0x3C3C3C,0x404040,0xB0B0B0,0xCBCBCB,0xC7C7C7,0xC8C8C8,0xC8C8C8,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xBFBFBF,0x2E2E2E,0x252525,0x282828,
+    0x282828,0x292929,0x222222,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,
+    0x4F4F4F,0x4D4D4D,0x4E4E4E,0x4A4A4A,0x5A5A5A,0xA8A8A8,0xCBCBCB,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC0C0C0,0x6E6E6E,0x525252,0x232323,0x00FF00,
+    0x00FF00,0x00FF00,0xB0B0B0,0xC7C7C7,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC5C5C5,0xB9B9B9,0x2C2C2C,0x262626,0x292929,
+    0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xB1B1B1,0xC5C5C5,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC2C2C2,0xBCBCBC,0x373737,0x252525,0x2C2C2C,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x484848,0xCBCBCB,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC8C8C8,0x5D5D5D,0x222222,0x2A2A2A,0x2E2E2E,
+    0x353535,0x404040,0x585858,0x575757,0x545454,0x4E4E4E,0x4F4F4F,0x545454,
+    0x636363,0x6A6A6A,0x4F4F4F,0x3C3C3C,0x383838,0x171717,0x00FF00,0x00FF00,
+    0x525252,0xB0B0B0,0xC0C0C0,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xC0C0C0,0x8D8D8D,0x323232,0x353535,0x3A3A3A,0x3B3B3B,0x3D3D3D,0x3F3F3F,
+    0x3A3A3A,0x777777,0xC0C0C0,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x3B3B3B,0xBCBCBC,0xB6B6B6,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB8B8B8,0xABABAB,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,0x434343,0x494949,0x4F4F4F,0x545454,
+    0x636363,0x6E6E6E,0x636363,0x4A4A4A,0x3F3F3F,0x212121,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x2F2F2F,0x343434,0x4F4F4F,0xB2B2B2,0xB2B2B2,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,0xB8B8B8,
+    0x747474,0x323232,0x414141,0x444444,0x494949,0x9A9A9A,0xB4B4B4,0xAEAEAE,
+    0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xBCBCBC,0x707070,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x202020,0x353535,0x707070,0xB5B5B5,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xABABAB,0xADADAD,0xA0A0A0,0x777777,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x777777,0x2F2F2F,
+    0x00FF00,0x2E2E2E,0x393939,0x373737,0x373737,0x363636,0x3C3C3C,0xA1A1A1,
+    0xA9A9A9,0xA7A7A7,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA8A8A8,0xA1A1A1,0x565656,0x4D4D4D,0x4F4F4F,0x525252,0x5F5F5F,0x6E6E6E,
+    0x646464,0x484848,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x333333,0x383838,0x373737,0x373737,0x373737,0x373737,0x363636,0x3B3B3B,
+    0x939393,0xA6A6A6,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA4A4A4,0xA4A4A4,0x1D1D1D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x333333,0x3B3B3B,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x353535,0x3A3A3A,0x979797,0xA3A3A3,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xAAAAAA,
+    0x616161,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x7F7F7F,
+    0xD1D1D1,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC9C9C9,0xBFBFBF,0x2E2E2E,0x252525,0x282828,0x282828,
+    0x282828,0x282828,0x252525,0x4C4C4C,0x646464,0x5A5A5A,0x565656,0x535353,
+    0x515151,0x585858,0x5F5F5F,0x2C2C2C,0x262626,0x282828,0x282828,0x282828,
+    0x282828,0x282828,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x8B8B8B,0xDADADA,0xC8C8C8,0xC8C8C8,0xC9C9C9,0xC8C8C8,0xC8C8C8,
+    0xC9C9C9,0xCACACA,0x797979,0x282828,0x323232,0x343434,0x373737,0x3A3A3A,
+    0x3B3B3B,0x3A3A3A,0x4D4D4D,0xC5C5C5,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCDCDCD,0x9B9B9B,0x232323,0x282828,
+    0x282828,0x282828,0x292929,0x191919,0x3F3F3F,0x424242,0x00FF00,0x00FF00,
+    0x2E2E2E,0x4F4F4F,0x4D4D4D,0x4F4F4F,0x4F4F4F,0x4B4B4B,0x4E4E4E,0xA3A3A3,
+    0xCCCCCC,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC6C6C6,0xBEBEBE,0x686868,0x525252,0x1A1A1A,
+    0x00FF00,0x00FF00,0x232323,0xC3C3C3,0xC6C6C6,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC8C8C8,0x9B9B9B,0x242424,0x272727,
+    0x2E2E2E,0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xADADAD,0xC5C5C5,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,
+    0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC2C2C2,0xB8B8B8,0x2E2E2E,0x272727,0x2B2B2B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xA6A6A6,0xC3C3C3,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBEBEBE,0xC1C1C1,0x4A4A4A,0x222222,0x2A2A2A,
+    0x2E2E2E,0x3C3C3C,0x303030,0x191919,0x00FF00,0x242424,0x4D4D4D,0x525252,
+    0x555555,0x636363,0x6A6A6A,0x4F4F4F,0x3D3D3D,0x2F2F2F,0x00FF00,0x00FF00,
+    0x151515,0x9E9E9E,0xC1C1C1,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xC2C2C2,0x5C5C5C,0x2C2C2C,0x373737,0x3A3A3A,0x3B3B3B,0x3D3D3D,
+    0x3F3F3F,0x3A3A3A,0x797979,0xBFBFBF,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x434343,0xBDBDBD,0xB6B6B6,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB5B5B5,0xB3B3B3,
+    0x202020,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x444444,0x494949,0x4F4F4F,
+    0x545454,0x646464,0x6E6E6E,0x626262,0x494949,0x3D3D3D,0x252525,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2B2B2B,0x363636,0x484848,0xAEAEAE,
+    0xB2B2B2,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,
+    0xB5B5B5,0x898989,0x343434,0x424242,0x474747,0x414141,0x5B5B5B,0xADADAD,
+    0xB2B2B2,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xADADAD,0x3D3D3D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x292929,0x373737,0x4B4B4B,0xA3A3A3,0xAEAEAE,0xACACAC,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xABABAB,0xACACAC,0xABABAB,
+    0x848484,0x7A7A7A,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6F6F6F,0x727272,
+    0x232323,0x00FF00,0x212121,0x3D3D3D,0x373737,0x373737,0x373737,0x363636,
+    0x8B8B8B,0xADADAD,0xA8A8A8,0xA7A7A7,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xA8A8A8,0xA6A6A6,0x595959,0x4C4C4C,0x4F4F4F,0x525252,0x616161,
+    0x6F6F6F,0x616161,0x474747,0x262626,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x242424,0x3B3B3B,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x343434,0x454545,0xA1A1A1,0xA5A5A5,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xB2B2B2,0x464646,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,0x383838,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x343434,0x6F6F6F,0xA7A7A7,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA2A2A2,0xA7A7A7,0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,
+    0xCBCBCB,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD1D1D1,0x848484,0x202020,0x282828,0x282828,
+    0x282828,0x282828,0x282828,0x252525,0x4F4F4F,0x646464,0x5A5A5A,0x565656,
+    0x535353,0x515151,0x555555,0x5D5D5D,0x2D2D2D,0x262626,0x282828,0x282828,
+    0x282828,0x282828,0x2B2B2B,0x171717,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x797979,0xD2D2D2,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xCBCBCB,0xC6C6C6,0x2D2D2D,0x2B2B2B,0x333333,0x343434,0x373737,
+    0x393939,0x3B3B3B,0x3A3A3A,0x777777,0xCCCCCC,0xC8C8C8,0xC8C8C8,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xD2D2D2,0x717171,0x202020,
+    0x282828,0x282828,0x282828,0x222222,0x373737,0xC0C0C0,0xB1B1B1,0x00FF00,
+    0x00FF00,0x2E2E2E,0x4F4F4F,0x4D4D4D,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4D4D4D,
+    0x525252,0xACACAC,0xC9C9C9,0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,
+    0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC7C7C7,0xB6B6B6,0x606060,0x515151,
+    0x151515,0x00FF00,0x00FF00,0x4C4C4C,0xD3D3D3,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xCBCBCB,0x7A7A7A,0x222222,
+    0x282828,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x232323,0xC0C0C0,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC2C2C2,0xB3B3B3,0x292929,0x272727,
+    0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xB0B0B0,0xC2C2C2,0xBEBEBE,0xBEBEBE,0xBDBDBD,
+    0xBDBDBD,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBFBFBF,0xBDBDBD,0x3D3D3D,0x252525,
+    0x2B2B2B,0x333333,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x181818,
+    0x515151,0x595959,0x656565,0x6B6B6B,0x505050,0x434343,0x161616,0x00FF00,
+    0x00FF00,0x434343,0xC8C8C8,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBCBCBC,0xAFAFAF,0x303030,0x323232,0x373737,0x3A3A3A,0x3B3B3B,
+    0x3D3D3D,0x3F3F3F,0x3A3A3A,0x797979,0xC0C0C0,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xC5C5C5,0x3F3F3F,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,0xA0A0A0,0xBABABA,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,
+    0xC3C3C3,0x4D4D4D,0x00FF00,0x00FF00,0x00FF00,0x151515,0x434343,0x4B4B4B,
+    0x505050,0x555555,0x646464,0x6E6E6E,0x606060,0x484848,0x3E3E3E,0x1A1A1A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x262626,0x393939,0x414141,
+    0xACACAC,0xB3B3B3,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB3B3B3,0x9F9F9F,0x363636,0x404040,0x474747,0x464646,0x414141,
+    0x686868,0xB3B3B3,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xADADAD,0xB0B0B0,0xBABABA,0x1C1C1C,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x2F2F2F,0x3A3A3A,0x303030,0x828282,0xB3B3B3,
+    0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xABABAB,
+    0xACACAC,0xA7A7A7,0x7B7B7B,0x6C6C6C,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6F6F6F,
+    0x747474,0x242424,0x00FF00,0x00FF00,0x3C3C3C,0x373737,0x373737,0x373737,
+    0x323232,0x696969,0xAEAEAE,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA8A8A8,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xB2B2B2,0x484848,0x2E2E2E,0x545454,0x565656,
+    0x626262,0x6F6F6F,0x606060,0x484848,0x202020,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x151515,0x3C3C3C,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x393939,0x8F8F8F,0xA7A7A7,0xA3A3A3,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA7A7A7,0x8E8E8E,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2F2F2F,0x3A3A3A,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x333333,0x4D4D4D,0xA3A3A3,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xAEAEAE,0x454545,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xB9B9B9,0xCCCCCC,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xCDCDCD,0x4E4E4E,0x212121,0x282828,
+    0x282828,0x282828,0x282828,0x282828,0x252525,0x4B4B4B,0x656565,0x5B5B5B,
+    0x565656,0x535353,0x515151,0x545454,0x5D5D5D,0x2D2D2D,0x262626,0x282828,
+    0x282828,0x282828,0x292929,0x272727,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x767676,0xD4D4D4,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xC9C9C9,0xC9C9C9,0xC8C8C8,0x626262,0x262626,0x2E2E2E,0x333333,0x343434,
+    0x373737,0x3A3A3A,0x373737,0x545454,0xC6C6C6,0xC9C9C9,0xC7C7C7,0xC8C8C8,
+    0xC8C8C8,0xC7C7C7,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC8C8C8,0xCECECE,0x484848,
+    0x222222,0x282828,0x282828,0x272727,0x222222,0x9A9A9A,0xD1D1D1,0xB4B4B4,
+    0x00FF00,0x00FF00,0x292929,0x4F4F4F,0x4D4D4D,0x4E4E4E,0x4F4F4F,0x4F4F4F,
+    0x4F4F4F,0x4B4B4B,0x5A5A5A,0xC2C2C2,0xC8C8C8,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCDCDCD,0x888888,0x464646,
+    0x5F5F5F,0x00FF00,0x00FF00,0x00FF00,0x4D4D4D,0xD1D1D1,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xCCCCCC,0x696969,
+    0x202020,0x282828,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x4D4D4D,0xD1D1D1,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC6C6C6,0x939393,0x242424,
+    0x2B2B2B,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xADADAD,0xC2C2C2,0xBEBEBE,0xBEBEBE,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC0C0C0,0xB9B9B9,0x363636,
+    0x252525,0x2F2F2F,0x292929,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x181818,0x4F4F4F,0x666666,0x6D6D6D,0x494949,0x1E1E1E,0x00FF00,
+    0x00FF00,0x252525,0xB4B4B4,0xBDBDBD,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBCBCBC,0xADADAD,0x2D2D2D,0x333333,0x373737,0x3A3A3A,
+    0x3B3B3B,0x3D3D3D,0x3F3F3F,0x3A3A3A,0x7A7A7A,0xBFBFBF,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xC5C5C5,0x404040,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x343434,0x898989,0xBCBCBC,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,
+    0xB4B4B4,0xB8B8B8,0xA1A1A1,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x333333,
+    0x4D4D4D,0x4F4F4F,0x555555,0x656565,0x6E6E6E,0x5E5E5E,0x464646,0x3D3D3D,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0x3A3A3A,
+    0x3D3D3D,0xA9A9A9,0xB3B3B3,0xB0B0B0,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB1B1B1,0xB1B1B1,0x525252,0x3C3C3C,0x474747,0x464646,
+    0x464646,0x454545,0x848484,0xB6B6B6,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,0xB8B8B8,0x707070,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,0x3A3A3A,0x343434,0x525252,
+    0xADADAD,0xADADAD,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xAEAEAE,0x949494,0x777777,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6F6F6F,0x6F6F6F,0x191919,0x171717,0x2C2C2C,0x393939,0x373737,0x373737,
+    0x373737,0x363636,0x393939,0x8E8E8E,0xACACAC,0xA7A7A7,0xA8A8A8,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA8A8A8,0xACACAC,0x353535,0x1E1E1E,
+    0x515151,0x6C6C6C,0x7A7A7A,0x676767,0x3F3F3F,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x373737,0x383838,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x313131,0x696969,0xAAAAAA,0xA3A3A3,0xA3A3A3,
+    0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA4A4A4,
+    0xA4A4A4,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,0x3D3D3D,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x939393,0xA6A6A6,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA6A6A6,0x3A3A3A,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3C3C3C,0xD2D2D2,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCBCBCB,0xB1B1B1,0x282828,0x262626,
+    0x282828,0x282828,0x282828,0x282828,0x282828,0x252525,0x525252,0x6F6F6F,
+    0x606060,0x585858,0x555555,0x515151,0x545454,0x616161,0x303030,0x262626,
+    0x282828,0x282828,0x282828,0x2E2E2E,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x4B4B4B,0xCACACA,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC8C8C8,0xC8C8C8,0xCACACA,0xBFBFBF,0x2B2B2B,0x272727,0x2E2E2E,0x333333,
+    0x343434,0x373737,0x393939,0x343434,0x7E7E7E,0xD1D1D1,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCDCDCD,0x969696,
+    0x282828,0x272727,0x282828,0x282828,0x252525,0x2C2C2C,0xC1C1C1,0xCBCBCB,
+    0xBABABA,0x00FF00,0x00FF00,0x282828,0x4F4F4F,0x4D4D4D,0x4E4E4E,0x4F4F4F,
+    0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4D4D4D,0x6A6A6A,0xC2C2C2,0xC7C7C7,0xC5C5C5,
+    0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC6C6C6,0xC5C5C5,0x3C3C3C,
+    0x393939,0x545454,0x00FF00,0x00FF00,0x00FF00,0xADADAD,0xC8C8C8,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC4C4C4,0xC9C9C9,
+    0x525252,0x212121,0x282828,0x282828,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,0xCFCFCF,0xC1C1C1,0xC1C1C1,
+    0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC9C9C9,0x7A7A7A,
+    0x222222,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xAEAEAE,0xC2C2C2,0xBEBEBE,
+    0xBEBEBE,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC0C0C0,0xB6B6B6,
+    0x303030,0x262626,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x181818,0x1E1E1E,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xACACAC,0xC3C3C3,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xBEBEBE,0x9A9A9A,0x2B2B2B,0x333333,0x373737,
+    0x3A3A3A,0x3B3B3B,0x3D3D3D,0x3F3F3F,0x3A3A3A,0x7B7B7B,0xBFBFBF,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xC5C5C5,
+    0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,0x666666,
+    0xB8B8B8,0xB6B6B6,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,
+    0xB4B4B4,0xB5B5B5,0xB4B4B4,0xBFBFBF,0x444444,0x00FF00,0x00FF00,0x00FF00,
+    0x2E2E2E,0x505050,0x505050,0x555555,0x656565,0x6E6E6E,0x5E5E5E,0x454545,
+    0x3F3F3F,0x171717,0x00FF00,0x202020,0x1D1D1D,0x00FF00,0x00FF00,0x1D1D1D,
+    0x3C3C3C,0x3A3A3A,0xA9A9A9,0xB3B3B3,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,0xB8B8B8,0x797979,0x3E3E3E,0x464646,
+    0x464646,0x464646,0x454545,0x494949,0x919191,0xB5B5B5,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xACACAC,0xB3B3B3,
+    0x949494,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,0x383838,0x373737,
+    0x353535,0xA1A1A1,0xAFAFAF,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xACACAC,
+    0xABABAB,0xABABAB,0xABABAB,0xACACAC,0xACACAC,0x8D8D8D,0x777777,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6F6F6F,0x6F6F6F,0x00FF00,0x404040,0xA0A0A0,0x535353,0x343434,
+    0x373737,0x373737,0x373737,0x313131,0x707070,0xAFAFAF,0xA8A8A8,0xA8A8A8,
+    0xA7A7A7,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xB5B5B5,0x434343,
+    0x00FF00,0x00FF00,0x272727,0x2F2F2F,0x282828,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2D2D2D,0x3D3D3D,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x343434,0x4C4C4C,0xA5A5A5,0xA5A5A5,
+    0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA7A7A7,0xA4A4A4,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3A3A3A,0x383838,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x343434,0x505050,0xA0A0A0,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA7A7A7,0x8E8E8E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x787878,0xD1D1D1,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCFCFCF,0x6F6F6F,0x212121,
+    0x282828,0x282828,0x282828,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x2C2C2C,0x444444,0x535353,0x515151,0x5A5A5A,0x575757,0x5E5E5E,0x303030,
+    0x262626,0x282828,0x282828,0x282828,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xC7C7C7,0xCDCDCD,0xC8C8C8,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC9C9C9,0xC4C4C4,0x383838,0x262626,0x2D2D2D,
+    0x323232,0x343434,0x373737,0x373737,0x303030,0x9F9F9F,0xCDCDCD,0xC8C8C8,
+    0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC8C8C8,
+    0x3D3D3D,0x222222,0x282828,0x282828,0x282828,0x222222,0x434343,0xC8C8C8,
+    0xC9C9C9,0xC5C5C5,0x222222,0x00FF00,0x252525,0x4F4F4F,0x4D4D4D,0x4E4E4E,
+    0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x494949,0x8B8B8B,0xCBCBCB,
+    0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCBCBCB,0x959595,
+    0x1A1A1A,0x393939,0x515151,0x00FF00,0x00FF00,0x00FF00,0xB2B2B2,0xC8C8C8,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC5C5C5,
+    0xBFBFBF,0x353535,0x242424,0x292929,0x252525,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4C4C4C,0xCECECE,0xC1C1C1,
+    0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC9C9C9,
+    0x6A6A6A,0x222222,0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB1B1B1,0xC2C2C2,
+    0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC0C0C0,
+    0xB4B4B4,0x2C2C2C,0x292929,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xAEAEAE,0xBFBFBF,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBFBFBF,0x979797,0x2B2B2B,0x323232,
+    0x373737,0x3A3A3A,0x3C3C3C,0x3D3D3D,0x3F3F3F,0x393939,0x797979,0xBFBFBF,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,
+    0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x373737,
+    0x464646,0xAEAEAE,0xB8B8B8,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB5B5B5,0xBBBBBB,0x424242,0x00FF00,
+    0x00FF00,0x00FF00,0x4C4C4C,0x535353,0x565656,0x666666,0x6D6D6D,0x5E5E5E,
+    0x454545,0x3C3C3C,0x00FF00,0x00FF00,0x535353,0x8B8B8B,0x00FF00,0x00FF00,
+    0x00FF00,0x323232,0x393939,0xA5A5A5,0xB4B4B4,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,0xB5B5B5,0x818181,0x3E3E3E,
+    0x464646,0x464646,0x464646,0x464646,0x414141,0x585858,0xA7A7A7,0xB1B1B1,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,0xAEAEAE,0xADADAD,
+    0xAEAEAE,0xBABABA,0x3C3C3C,0x00FF00,0x00FF00,0x00FF00,0x333333,0x393939,
+    0x383838,0x363636,0x676767,0xB0B0B0,0xADADAD,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xABABAB,0xACACAC,0xABABAB,0xAAAAAA,0xACACAC,0xA7A7A7,0x7A7A7A,
+    0x797979,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x707070,0x656565,0x00FF00,0x5E5E5E,0xB8B8B8,0x6F6F6F,
+    0x333333,0x373737,0x373737,0x373737,0x313131,0x5D5D5D,0xAEAEAE,0xA8A8A8,
+    0xA7A7A7,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xACACAC,
+    0x929292,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,
+    0x383838,0x373737,0x373737,0x373737,0x373737,0x373737,0x3A3A3A,0x979797,
+    0xA7A7A7,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xB3B3B3,0x474747,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x2C2C2C,0x3C3C3C,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x313131,0x717171,0xA7A7A7,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA2A2A2,
+    0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x202020,0xCCCCCC,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCFCFCF,0x8C8C8C,0x242424,
+    0x272727,0x282828,0x282828,0x282828,0x282828,0x282828,0x292929,0x242424,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x252525,0x434343,0x656565,
+    0x303030,0x252525,0x282828,0x282828,0x282828,0x282828,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0xABABAB,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xCACACA,0xC5C5C5,0x373737,0x252525,
+    0x2E2E2E,0x323232,0x333333,0x2D2D2D,0x404040,0x7F7F7F,0xC5C5C5,0xC9C9C9,
+    0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC9C9C9,
+    0xBCBCBC,0x2C2C2C,0x262626,0x282828,0x282828,0x282828,0x1E1E1E,0x6C6C6C,
+    0xD1D1D1,0xC7C7C7,0xD0D0D0,0x444444,0x00FF00,0x232323,0x4F4F4F,0x4D4D4D,
+    0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x484848,0x686868,
+    0xC7C7C7,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xCFCFCF,
+    0x6F6F6F,0x242424,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0xC2C2C2,
+    0xC6C6C6,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,
+    0xC5C5C5,0xBBBBBB,0x2D2D2D,0x262626,0x2A2A2A,0x1E1E1E,0x00FF00,0x00FF00,
+    0x1C1C1C,0x444444,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xAAAAAA,0xC6C6C6,
+    0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC1C1C1,0xC0C0C0,
+    0xCACACA,0x626262,0x212121,0x292929,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x393939,0xC9C9C9,
+    0xBFBFBF,0xBEBEBE,0xBFBFBF,0xBEBEBE,0xBDBDBD,0xBEBEBE,0xBDBDBD,0xBDBDBD,
+    0xC0C0C0,0xB4B4B4,0x2A2A2A,0x2E2E2E,0x181818,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3E3E3E,0xC5C5C5,0xBABABA,0xBBBBBB,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBBBBBB,0xBBBBBB,0x4D4D4D,
+    0x2A2A2A,0x383838,0x3A3A3A,0x3C3C3C,0x3D3D3D,0x383838,0x414141,0x9A9A9A,
+    0xBCBCBC,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,
+    0xB7B7B7,0xC5C5C5,0x404040,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x393939,0x3D3D3D,0x7B7B7B,0xBCBCBC,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB9B9B9,0xAEAEAE,
+    0x232323,0x00FF00,0x00FF00,0x1A1A1A,0x525252,0x5E5E5E,0x686868,0x6F6F6F,
+    0x5E5E5E,0x4C4C4C,0x282828,0x00FF00,0x222222,0xACACAC,0xBFBFBF,0x282828,
+    0x00FF00,0x00FF00,0x2F2F2F,0x353535,0x6A6A6A,0xB3B3B3,0xB2B2B2,0xB1B1B1,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB4B4B4,0x929292,
+    0x3E3E3E,0x474747,0x464646,0x464646,0x464646,0x464646,0x414141,0x585858,
+    0xACACAC,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xADADAD,0xADADAD,0xB0B0B0,0xA8A8A8,0x212121,0x00FF00,0x00FF00,0x2D2D2D,
+    0x3A3A3A,0x383838,0x3A3A3A,0x3B3B3B,0x8B8B8B,0xB1B1B1,0xACACAC,0xACACAC,
+    0xACACAC,0xABABAB,0xABABAB,0xABABAB,0xACACAC,0xABABAB,0xAAAAAA,0xACACAC,
+    0xA2A2A2,0x848484,0x777777,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x707070,0x646464,0x3C3C3C,0x949494,0xB5B5B5,
+    0x4B4B4B,0x2D2D2D,0x373737,0x373737,0x373737,0x343434,0x464646,0xA6A6A6,
+    0xA9A9A9,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xAAAAAA,0x9E9E9E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x232323,0x3B3B3B,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x585858,0xA2A2A2,0xA4A4A4,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA3A3A3,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA6A6A6,0x8F8F8F,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x333333,0x393939,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x333333,0x4F4F4F,0xA5A5A5,0xA2A2A2,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xAEAEAE,0x454545,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x858585,0xD2D2D2,0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCDCDCD,0x4E4E4E,
+    0x202020,0x282828,0x282828,0x282828,0x282828,0x282828,0x282828,0x2E2E2E,
+    0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x5B5B5B,0x353535,0x252525,0x282828,0x282828,0x2E2E2E,0x1E1E1E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xBEBEBE,0xCCCCCC,0xC9C9C9,0xC9C9C9,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC9C9C9,0xCDCDCD,0x5D5D5D,
+    0x202020,0x232323,0x2C2C2C,0x3D3D3D,0x6F6F6F,0xB4B4B4,0xD2D2D2,0xC9C9C9,
+    0xC7C7C7,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC8C8C8,
+    0xCECECE,0x8E8E8E,0x222222,0x282828,0x272727,0x272727,0x282828,0x232323,
+    0x939393,0xCCCCCC,0xC6C6C6,0xCBCBCB,0xB0B0B0,0x00FF00,0x1F1F1F,0x4D4D4D,
+    0x4D4D4D,0x4E4E4E,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x464646,
+    0x828282,0xCBCBCB,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC9C9C9,
+    0xA7A7A7,0x2C2C2C,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4E4E4E,
+    0xD3D3D3,0xC4C4C4,0xC3C3C3,0xC4C4C4,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,
+    0xC3C3C3,0xC8C8C8,0xA6A6A6,0x252525,0x272727,0x2E2E2E,0x181818,0x00FF00,
+    0x00FF00,0x797979,0xBFBFBF,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB4B4B4,
+    0xC5C5C5,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC1C1C1,0xC2C2C2,0x414141,0x232323,0x272727,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x999999,0x666666,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x767676,
+    0xC8C8C8,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBDBDBD,
+    0xBDBDBD,0xC1C1C1,0xA6A6A6,0x282828,0x282828,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,0xC8C8C8,0xBBBBBB,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBCBCBC,
+    0xA8A8A8,0x424242,0x2D2D2D,0x333333,0x343434,0x383838,0x5E5E5E,0xA0A0A0,
+    0xBDBDBD,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xC5C5C5,0x3E3E3E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x393939,0x3B3B3B,0x4A4A4A,0xAEAEAE,0xB8B8B8,0xB5B5B5,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB4B4B4,
+    0xBABABA,0xB4B4B4,0x232323,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,0x656565,
+    0x696969,0x515151,0x202020,0x00FF00,0x232323,0xB2B2B2,0xBFBFBF,0x929292,
+    0x00FF00,0x00FF00,0x00FF00,0x2B2B2B,0x373737,0x414141,0xADADAD,0xB3B3B3,
+    0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB2B2B2,
+    0xA7A7A7,0x464646,0x454545,0x464646,0x464646,0x464646,0x464646,0x464646,
+    0x434343,0x797979,0xB8B8B8,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,0xB3B3B3,0xADADAD,0x202020,0x00FF00,
+    0x363636,0x383838,0x383838,0x3A3A3A,0x383838,0x5A5A5A,0xB2B2B2,0xADADAD,
+    0xACACAC,0xACACAC,0xABABAB,0xABABAB,0xABABAB,0xABABAB,0xABABAB,0xAAAAAA,
+    0xAAAAAA,0xADADAD,0xA9A9A9,0x838383,0x777777,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x737373,0x979797,0xB1B1B1,
+    0xA7A7A7,0x242424,0x272727,0x3A3A3A,0x373737,0x373737,0x363636,0x3A3A3A,
+    0xA0A0A0,0xA9A9A9,0xA8A8A8,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xB2B2B2,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x151515,0x3C3C3C,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x333333,0x838383,0xA8A8A8,0xA3A3A3,0xA2A2A2,0xA3A3A3,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA6A6A6,0x999999,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0x3D3D3D,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x393939,0x919191,0xA5A5A5,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA2A2A2,0xA6A6A6,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x474747,0xD3D3D3,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xBCBCBC,
+    0x2B2B2B,0x262626,0x282828,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x5A5A5A,0x383838,0x252525,0x282828,0x282828,0x282828,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3E3E3E,0xD3D3D3,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC9C9C9,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC9C9C9,0xC9C9C9,0xC8C8C8,0xC9C9C9,
+    0xCCCCCC,0x949494,0x626262,0x808080,0xC0C0C0,0xD2D2D2,0xD2D2D2,0xC6C6C6,
+    0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC8C8C8,0xC7C7C7,
+    0xC7C7C7,0xD2D2D2,0x6A6A6A,0x1F1F1F,0x252525,0x252525,0x252525,0x252525,
+    0x313131,0xC3C3C3,0xC8C8C8,0xC7C7C7,0xC9C9C9,0xBABABA,0x00FF00,0x191919,
+    0x4F4F4F,0x4D4D4D,0x4E4E4E,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,
+    0x4A4A4A,0x5E5E5E,0xC3C3C3,0xC6C6C6,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC7C7C7,
+    0xC5C5C5,0x3B3B3B,0x262626,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x414141,0xD2D2D2,0xC3C3C3,0xC4C4C4,0xC4C4C4,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xCCCCCC,0x747474,0x202020,0x282828,0x2E2E2E,0x00FF00,
+    0x00FF00,0x474747,0xC3C3C3,0x7B7B7B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xAEAEAE,0xC5C5C5,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,
+    0xC0C0C0,0xC2C2C2,0xC4C4C4,0x4D4D4D,0x232323,0x232323,0x00FF00,0x00FF00,
+    0x00FF00,0x676767,0xBEBEBE,0x5B5B5B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0xB6B6B6,0xC1C1C1,0xBFBFBF,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,
+    0xBDBDBD,0xBDBDBD,0xC3C3C3,0x898989,0x252525,0x262626,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x424242,0xC8C8C8,0xBBBBBB,
+    0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xB9B9B9,0xBEBEBE,0xB3B3B3,0x6A6A6A,0x636363,0x6B6B6B,0x7F7F7F,0xBCBCBC,
+    0xBFBFBF,0xBABABA,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB7B7B7,0xB8B8B8,0xC4C4C4,0x454545,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x393939,0x3E3E3E,0x3E3E3E,0x7A7A7A,0xBCBCBC,0xB5B5B5,
+    0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB5B5B5,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xBABABA,0xB3B3B3,0x252525,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,0xAEAEAE,0xB9B9B9,0xB9B9B9,
+    0x4E4E4E,0x00FF00,0x00FF00,0x00FF00,0x252525,0x3A3A3A,0x3B3B3B,0xA9A9A9,
+    0xB3B3B3,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,
+    0xB2B2B2,0xA9A9A9,0x4E4E4E,0x454545,0x464646,0x464646,0x464646,0x464646,
+    0x464646,0x444444,0x494949,0x909090,0xB3B3B3,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xB4B4B4,0x9E9E9E,
+    0x00FF00,0x343434,0x393939,0x383838,0x3A3A3A,0x3D3D3D,0x424242,0x6F6F6F,
+    0xAFAFAF,0xACACAC,0xACACAC,0xACACAC,0xACACAC,0xABABAB,0xABABAB,0xABABAB,
+    0xABABAB,0xAAAAAA,0xAAAAAA,0xACACAC,0xAAAAAA,0x949494,0x797979,0x6B6B6B,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6D6D6D,0x6C6C6C,0x737373,0x8C8C8C,0xADADAD,
+    0xADADAD,0x8F8F8F,0x00FF00,0x1F1F1F,0x3B3B3B,0x373737,0x373737,0x373737,
+    0x353535,0x808080,0xADADAD,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xB5B5B5,0x383838,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x363636,0x383838,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x313131,0x626262,0xA9A9A9,0xA2A2A2,0xA2A2A2,0xA3A3A3,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA8A8A8,
+    0x626262,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3B3B3B,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x313131,0x696969,
+    0xA8A8A8,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA7A7A7,0x8E8E8E,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0xB3B3B3,0xCACACA,0xC7C7C7,0xC7C7C7,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCECECE,
+    0x717171,0x212121,0x282828,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x2D2D2D,0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x585858,0x3A3A3A,0x252525,0x282828,0x2E2E2E,0x161616,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x7F7F7F,0xD1D1D1,0xC9C9C9,0xC9C9C9,
+    0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC9C9C9,0xCECECE,0xD2D2D2,0xD0D0D0,0xCDCDCD,0xC9C9C9,0x8F8F8F,
+    0xB5B5B5,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xCECECE,0x898989,0x212121,0x292929,0x878787,0x898989,
+    0x252525,0x171717,0xB7B7B7,0xC9C9C9,0xC7C7C7,0xC7C7C7,0xCBCBCB,0x717171,
+    0x1D1D1D,0x4A4A4A,0x4D4D4D,0x4E4E4E,0x4F4F4F,0x4F4F4F,0x4F4F4F,0x4F4F4F,
+    0x4F4F4F,0x4C4C4C,0xA8A8A8,0xC8C8C8,0xC5C5C5,0xC6C6C6,0xC5C5C5,0xC5C5C5,
+    0xCDCDCD,0x969696,0x262626,0x2A2A2A,0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x767676,0xCDCDCD,0xC4C4C4,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC2C2C2,0xCACACA,0x818181,0x1F1F1F,0x242424,0x232323,
+    0x00FF00,0x666666,0xB1B1B1,0xAEAEAE,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x707070,0xCBCBCB,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC7C7C7,0x999999,0x242424,0x191919,0x00FF00,
+    0x00FF00,0xA5A5A5,0xCBCBCB,0xB6B6B6,0x333333,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xADADAD,0xC2C2C2,0xBFBFBF,0xBEBEBE,0xBEBEBE,0xBFBFBF,0xBEBEBE,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC5C5C5,0x7B7B7B,0x272727,0x1A1A1A,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x424242,0xC8C8C8,
+    0xBABABA,0xBBBBBB,0xBBBBBB,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xB9B9B9,0xBBBBBB,0xC2C2C2,0xC1C1C1,0xC2C2C2,0xC0C0C0,
+    0xBBBBBB,0xB5B5B5,0xA6A6A6,0xBABABA,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xBBBBBB,0xA2A2A2,0x00FF00,0x00FF00,
+    0x424242,0xA0A0A0,0x2C2C2C,0x323232,0x3F3F3F,0x404040,0x4C4C4C,0xB2B2B2,
+    0xB9B9B9,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB8B8B8,0xB3B3B3,0x9F9F9F,0x474747,
+    0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3F3F3F,0x707070,0xC3C3C3,0xB5B5B5,0xB6B6B6,
+    0x959595,0x323232,0x00FF00,0x00FF00,0x00FF00,0x222222,0x383838,0x4A4A4A,
+    0xAFAFAF,0xB3B3B3,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,
+    0xAFAFAF,0xB2B2B2,0xACACAC,0x535353,0x444444,0x464646,0x464646,0x464646,
+    0x464646,0x464646,0x464646,0x424242,0x4F4F4F,0xA1A1A1,0xB2B2B2,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,0xADADAD,0xADADAD,
+    0xAEAEAE,0x9A9A9A,0x3D3D3D,0x353535,0x383838,0x3A3A3A,0x3E3E3E,0x404040,
+    0x3F3F3F,0x909090,0xB2B2B2,0xACACAC,0xACACAC,0xABABAB,0xACACAC,0xACACAC,
+    0xABABAB,0xABABAB,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xABABAB,0xAEAEAE,0x9C9C9C,
+    0x838383,0x787878,0x787878,0x787878,0x777777,0x787878,0x8D8D8D,0xA8A8A8,
+    0xA9A9A9,0xB0B0B0,0x6B6B6B,0x00FF00,0x151515,0x3C3C3C,0x373737,0x373737,
+    0x373737,0x313131,0x686868,0xAFAFAF,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xADADAD,0x737373,0x1A1A1A,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2B2B2B,0x3A3A3A,0x373737,0x373737,
+    0x373737,0x373737,0x373737,0x343434,0x464646,0xA1A1A1,0xA4A4A4,0xA3A3A3,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xB5B5B5,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,
+    0x393939,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x343434,
+    0x484848,0xA2A2A2,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA2A2A2,0xA1A1A1,0x202020,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x767676,0xCDCDCD,0xC6C6C6,0xC7C7C7,0xC7C7C7,
+    0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xCDCDCD,0x565656,0x202020,0x282828,0x282828,0x282828,0x282828,0x282828,
+    0x282828,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x585858,0x3C3C3C,0x252525,0x282828,0x2B2B2B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xC4C4C4,0xCBCBCB,0xC9C9C9,
+    0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xCDCDCD,0xC7C7C7,0x626262,
+    0x414141,0xC3C3C3,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC8C8C8,
+    0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC8C8C8,0xC4C4C4,0xB6B6B6,0xB8B8B8,0xCECECE,
+    0x5D5D5D,0x1D1D1D,0x242424,0xC6C6C6,0xC9C9C9,0xC7C7C7,0xC6C6C6,0xC6C6C6,
+    0xD1D1D1,0x8E8E8E,0x444444,0x4D4D4D,0x4E4E4E,0x4F4F4F,0x4F4F4F,0x4F4F4F,
+    0x4F4F4F,0x4D4D4D,0x747474,0xC7C7C7,0xC7C7C7,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xCBCBCB,0xAAAAAA,0x343434,0x282828,0x2B2B2B,0x282828,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x3C3C3C,0xC6C6C6,0xC5C5C5,0xC3C3C3,0xC4C4C4,0xC3C3C3,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC7C7C7,0x6F6F6F,0x333333,
+    0x424242,0x848484,0xCDCDCD,0xAFAFAF,0x5A5A5A,0x2F2F2F,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x686868,0xC8C8C8,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC1C1C1,0xBFBFBF,0x535353,0x1D1D1D,
+    0x434343,0xABABAB,0xC3C3C3,0xC5C5C5,0x626262,0x2A2A2A,0x00FF00,0x00FF00,
+    0x00FF00,0x1E1E1E,0xBFBFBF,0xC0C0C0,0xBEBEBE,0xBFBFBF,0xBEBEBE,0xBFBFBF,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC7C7C7,0x6B6B6B,0x242424,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x191919,
+    0xB1B1B1,0xBEBEBE,0xBBBBBB,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,
+    0xBBBBBB,0xBBBBBB,0x575757,0x797979,0xBFBFBF,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xB7B7B7,0xB7B7B7,0x999999,
+    0x737373,0xB7B7B7,0xA9A9A9,0x353535,0x2F2F2F,0x3F3F3F,0x414141,0x444444,
+    0x686868,0xB6B6B6,0xB8B8B8,0xB5B5B5,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB3B3B3,0xB4B4B4,0xB8B8B8,
+    0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC1C1C1,0xBBBBBB,0xB2B2B2,0xB4B4B4,
+    0xB2B2B2,0x434343,0x303030,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,0x343434,
+    0x6B6B6B,0xBABABA,0xB0B0B0,0xB1B1B1,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,
+    0xB0B0B0,0xAFAFAF,0xB1B1B1,0xAFAFAF,0x595959,0x414141,0x464646,0x464646,
+    0x464646,0x464646,0x464646,0x464646,0x464646,0x414141,0x636363,0xB4B4B4,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,0xADADAD,
+    0xADADAD,0xAEAEAE,0xB2B2B2,0x616161,0x323232,0x383838,0x3A3A3A,0x3E3E3E,
+    0x414141,0x414141,0x505050,0xA5A5A5,0xAFAFAF,0xACACAC,0xABABAB,0xACACAC,
+    0xABABAB,0xAAAAAA,0xABABAB,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xA9A9A9,0xA9A9A9,
+    0xADADAD,0xAAAAAA,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xACACAC,
+    0xAAAAAA,0xA9A9A9,0xACACAC,0x464646,0x00FF00,0x00FF00,0x393939,0x383838,
+    0x373737,0x373737,0x323232,0x525252,0xAAAAAA,0xA8A8A8,0xA8A8A8,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA6A6A6,0xBBBBBB,0x474747,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x3D3D3D,0x373737,
+    0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,0x898989,0xA7A7A7,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xACACAC,0x696969,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x202020,0x3E3E3E,0x373737,0x373737,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x8A8A8A,0xA5A5A5,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA5A5A5,0xA2A2A2,
+    0x191919,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x232323,0x858585,0xCFCFCF,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xD1D1D1,0x777777,0x1D1D1D,0x282828,0x282828,0x282828,0x282828,
+    0x282828,0x2E2E2E,0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x575757,0x3D3D3D,0x252525,0x292929,
+    0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x212121,0xCBCBCB,0xC9C9C9,
+    0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC9C9C9,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xCBCBCB,0xD1D1D1,0xACACAC,0x4E4E4E,
+    0x303030,0x727272,0xCECECE,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC7C7C7,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xCECECE,0xCFCFCF,
+    0x696969,0x2F2F2F,0x00FF00,0x464646,0xD7D7D7,0xC7C7C7,0xC7C7C7,0xC6C6C6,
+    0xC6C6C6,0xC7C7C7,0xC9C9C9,0x5A5A5A,0x444444,0x4D4D4D,0x4F4F4F,0x4F4F4F,
+    0x4E4E4E,0x4D4D4D,0x5C5C5C,0xC2C2C2,0xC7C7C7,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xCDCDCD,0xB4B4B4,0x383838,0x2B2B2B,0x2B2B2B,0x2A2A2A,0x2B2B2B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x161616,0xC1C1C1,0xC6C6C6,0xC3C3C3,0xC4C4C4,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC9C9C9,
+    0xB4B4B4,0xC3C3C3,0xCBCBCB,0xCDCDCD,0x7A7A7A,0x282828,0x333333,0x161616,
+    0x00FF00,0x00FF00,0x00FF00,0x313131,0xC2C2C2,0xC3C3C3,0xC1C1C1,0xC1C1C1,
+    0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC1C1C1,0xC0C0C0,
+    0xAAAAAA,0xCDCDCD,0xC5C5C5,0xCBCBCB,0x7B7B7B,0x2B2B2B,0x303030,0x00FF00,
+    0x00FF00,0x00FF00,0x797979,0xC8C8C8,0xBEBEBE,0xBEBEBE,0xBEBEBE,0xBEBEBE,
+    0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xC6C6C6,0x797979,0x242424,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0xA0A0A0,0xC0C0C0,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,0xB9B9B9,
+    0xBCBCBC,0xBBBBBB,0x5C5C5C,0x303030,0x545454,0xB8B8B8,0xB9B9B9,0xB8B8B8,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xB7B7B7,0xB6B6B6,
+    0xBBBBBB,0xC0C0C0,0xC2C2C2,0x5E5E5E,0x00FF00,0x343434,0x3E3E3E,0x414141,
+    0x444444,0x444444,0x6A6A6A,0xBABABA,0xB5B5B5,0xB5B5B5,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB3B3B3,
+    0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB2B2B2,0xB3B3B3,
+    0xB9B9B9,0x717171,0x343434,0x323232,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,
+    0x363636,0x5B5B5B,0xB7B7B7,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,0xB2B2B2,0x969696,0x454545,0x464646,
+    0x464646,0x464646,0x464646,0x464646,0x464646,0x464646,0x454545,0x424242,
+    0x8F8F8F,0xB2B2B2,0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,0xADADAD,0xADADAD,
+    0xADADAD,0xADADAD,0xADADAD,0xAEAEAE,0xB2B2B2,0x5A5A5A,0x303030,0x3A3A3A,
+    0x3E3E3E,0x414141,0x434343,0x464646,0x525252,0x9B9B9B,0xAFAFAF,0xABABAB,
+    0xABABAB,0xABABAB,0xABABAB,0xABABAB,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xAAAAAA,
+    0xA9A9A9,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xABABAB,0xABABAB,0xAAAAAA,0xAAAAAA,
+    0xA9A9A9,0xA9A9A9,0xAEAEAE,0x8A8A8A,0x353535,0x00FF00,0x00FF00,0x353535,
+    0x393939,0x373737,0x373737,0x363636,0x3D3D3D,0xA1A1A1,0xA9A9A9,0xA8A8A8,
+    0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xAAAAAA,
+    0x949494,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,
+    0x3A3A3A,0x373737,0x373737,0x373737,0x373737,0x373737,0x313131,0x737373,
+    0xA9A9A9,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xB2B2B2,0x3F3F3F,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x2B2B2B,0x3C3C3C,0x373737,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x313131,0x5E5E5E,0xA7A7A7,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xAAAAAA,0x747474,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x474747,0xBFBFBF,0xD1D1D1,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC9C9C9,0xC3C3C3,0x383838,0x1E1E1E,0x242424,0x242424,
+    0x242424,0x282828,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x545454,0x3E3E3E,0x242424,
+    0x2E2E2E,0x191919,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x8B8B8B,
+    0xD2D2D2,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC9C9C9,0xD2D2D2,0xB4B4B4,0x787878,0x414141,
+    0x393939,0x373737,0x6A6A6A,0xCBCBCB,0xC9C9C9,0xC8C8C8,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCCCCCC,0xC5C5C5,
+    0x616161,0x303030,0x353535,0x00FF00,0x767676,0xCECECE,0xC7C7C7,0xC6C6C6,
+    0xC7C7C7,0xC7C7C7,0xC6C6C6,0xC8C8C8,0xB8B8B8,0x7F7F7F,0x525252,0x484848,
+    0x494949,0x545454,0x7B7B7B,0xC1C1C1,0xC7C7C7,0xC5C5C5,0xC5C5C5,0xC5C5C5,
+    0xCBCBCB,0xB6B6B6,0x515151,0x2C2C2C,0x2E2E2E,0x2A2A2A,0x2A2A2A,0x292929,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,0x969696,0xC9C9C9,0xC4C4C4,
+    0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC3C3C3,0xC3C3C3,0xC2C2C2,
+    0xC2C2C2,0xC5C5C5,0xC7C7C7,0xC7C7C7,0x838383,0x353535,0x313131,0x323232,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x303030,0x9D9D9D,0xC9C9C9,0xC1C1C1,
+    0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,
+    0xC1C1C1,0xC3C3C3,0xC0C0C0,0xC9C9C9,0x9C9C9C,0x393939,0x303030,0x2B2B2B,
+    0x00FF00,0x00FF00,0x282828,0xC4C4C4,0xC0C0C0,0xBFBFBF,0xBEBEBE,0xBEBEBE,
+    0xBFBFBF,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBFBFBF,0xBABABA,
+    0x333333,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x666666,0xC1C1C1,0xBBBBBB,0xBABABA,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xB9B9B9,0xBABABA,0xBABABA,0xB9B9B9,0xB9B9B9,
+    0xBEBEBE,0xB3B3B3,0x5C5C5C,0x343434,0x3A3A3A,0x414141,0xB0B0B0,0xBBBBBB,
+    0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB7B7B7,0xB7B7B7,
+    0xB6B6B6,0xB6B6B6,0xBFBFBF,0x959595,0x373737,0x161616,0x343434,0x3E3E3E,
+    0x414141,0x454545,0x464646,0x4C4C4C,0x939393,0xBDBDBD,0xB5B5B5,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB2B2B2,
+    0xBABABA,0x777777,0x343434,0x343434,0x343434,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x333333,0x616161,0xB5B5B5,0xB2B2B2,0xB2B2B2,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB1B1B1,0xAEAEAE,0x535353,
+    0x414141,0x434343,0x464646,0x464646,0x464646,0x464646,0x464646,0x464646,
+    0x414141,0x454545,0xAAAAAA,0xAFAFAF,0xAEAEAE,0xADADAD,0xADADAD,0xADADAD,
+    0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xAFAFAF,0xA7A7A7,0x545454,
+    0x353535,0x3A3A3A,0x404040,0x444444,0x464646,0x414141,0x585858,0xACACAC,
+    0xAFAFAF,0xABABAB,0xABABAB,0xABABAB,0xABABAB,0xAAAAAA,0xAAAAAA,0xAAAAAA,
+    0xAAAAAA,0xAAAAAA,0xAAAAAA,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xA9A9A9,0xA9A9A9,0xAAAAAA,0xB0B0B0,0x505050,0x2D2D2D,0x00FF00,0x00FF00,
+    0x2B2B2B,0x3A3A3A,0x373737,0x373737,0x333333,0x3A3A3A,0xA2A2A2,0xA9A9A9,
+    0xA7A7A7,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xAEAEAE,0x616161,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x141414,0x3C3C3C,0x373737,0x373737,0x373737,0x373737,0x333333,0x373737,
+    0x919191,0xA6A6A6,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA3A3A3,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA3A3A3,0xA4A4A4,0x616161,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,0x373737,0x373737,0x373737,
+    0x373737,0x373737,0x353535,0x2E2E2E,0x636363,0xA8A8A8,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA0A0A0,0xAAAAAA,0x9E9E9E,0x3C3C3C,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x404040,0x474747,0x454545,
+    0x4C4C4C,0xAEAEAE,0xB9B9B9,0xCECECE,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC6C6C6,
+    0xC6C6C6,0xC6C6C6,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,
+    0xC7C7C7,0xC7C7C7,0xC7C7C7,0xC7C7C7,0xCCCCCC,0xA8A8A8,0x6E6E6E,0x3A3A3A,
+    0x373737,0x393939,0x2C2C2C,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x585858,0x404040,
+    0x252525,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x3F3F3F,0xD1D1D1,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xC8C8C8,0xC9C9C9,
+    0xC8C8C8,0xC8C8C8,0xCACACA,0xD0D0D0,0xC2C2C2,0x818181,0x474747,0x373737,
+    0x3D3D3D,0x3E3E3E,0x3A3A3A,0x484848,0xC7C7C7,0xC9C9C9,0xC8C8C8,0xC8C8C8,
+    0xC8C8C8,0xC8C8C8,0xC8C8C8,0xC7C7C7,0xC7C7C7,0xC8C8C8,0xCFCFCF,0xADADAD,
+    0x494949,0x313131,0x353535,0x323232,0x00FF00,0xB9B9B9,0xC9C9C9,0xC8C8C8,
+    0xCCCCCC,0xCACACA,0xC7C7C7,0xC6C6C6,0xC6C6C6,0xC9C9C9,0xCBCBCB,0xAFAFAF,
+    0x9A9A9A,0x9B9B9B,0xAFAFAF,0xCBCBCB,0xC8C8C8,0xC5C5C5,0xC6C6C6,0xC7C7C7,
+    0xCDCDCD,0xA3A3A3,0x404040,0x2F2F2F,0x323232,0x2F2F2F,0x2B2B2B,0x2A2A2A,
+    0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x151515,0x535353,0xC2C2C2,
+    0xC9C9C9,0xC3C3C3,0xC3C3C3,0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC3C3C3,0xC2C2C2,
+    0xC2C2C2,0xC3C3C3,0xC7C7C7,0xC4C4C4,0x676767,0x313131,0x343434,0x323232,
+    0x313131,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x242424,0x565656,0xAFAFAF,
+    0xC6C6C6,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC0C0C0,0xC0C0C0,0xC0C0C0,0xC0C0C0,
+    0xC0C0C0,0xC0C0C0,0xC2C2C2,0xC8C8C8,0x919191,0x373737,0x323232,0x303030,
+    0x323232,0x414141,0x737373,0xC4C4C4,0xC1C1C1,0xBFBFBF,0xBFBFBF,0xBFBFBF,
+    0xBFBFBF,0xBFBFBF,0xBEBEBE,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,0xBDBDBD,
+    0xC1C1C1,0xA1A1A1,0x9F9F9F,0x494949,0x414141,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,0xA9A9A9,0xC0C0C0,0xBABABA,0xBABABA,
+    0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xB9B9B9,0xBABABA,0xBABABA,0xBDBDBD,
+    0xC3C3C3,0x8E8E8E,0x3F3F3F,0x3A3A3A,0x3C3C3C,0x3B3B3B,0x383838,0x7A7A7A,
+    0xC2C2C2,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB8B8B8,0xB7B7B7,0xB8B8B8,
+    0xB8B8B8,0xB7B7B7,0xBFBFBF,0x949494,0x383838,0x323232,0x151515,0x323232,
+    0x3F3F3F,0x414141,0x454545,0x474747,0x474747,0x4D4D4D,0x8B8B8B,0xBABABA,
+    0xB9B9B9,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB4B4B4,
+    0xBBBBBB,0x898989,0x383838,0x353535,0x363636,0x2C2C2C,0x00FF00,0x00FF00,
+    0x00FF00,0x3C3C3C,0x7B7B7B,0xAFAFAF,0xB3B3B3,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xB0B0B0,0xAFAFAF,0xAFAFAF,0xB2B2B2,
+    0xA6A6A6,0x676767,0x535353,0x454545,0x454545,0x464646,0x464646,0x464646,
+    0x464646,0x414141,0x6A6A6A,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xADADAD,0xAEAEAE,
+    0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xACACAC,0xB0B0B0,
+    0xAEAEAE,0x5F5F5F,0x4D4D4D,0x424242,0x414141,0x464646,0x474747,0x4B4B4B,
+    0x5F5F5F,0xA3A3A3,0xB2B2B2,0xACACAC,0xABABAB,0xAAAAAA,0xAAAAAA,0xAAAAAA,
+    0xAAAAAA,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xA9A9A9,0xA9A9A9,0xAAAAAA,0xB2B2B2,0x797979,0x343434,0x333333,0x00FF00,
+    0x00FF00,0x212121,0x3E3E3E,0x373737,0x353535,0x3E3E3E,0x7E7E7E,0xADADAD,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA8A8A8,0xA7A7A7,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xAEAEAE,0x949494,0x3D3D3D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x363636,0x353535,0x333333,0x323232,0x373737,0x464646,
+    0x666666,0xA6A6A6,0xA4A4A4,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA3A3A3,
+    0xA9A9A9,0x909090,0x464646,0x1E1E1E,0x00FF00,0x323232,0x343434,0x343434,
+    0x333333,0x333333,0x323232,0x383838,0x5A5A5A,0x919191,0xA3A3A3,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA3A3A3,0xAEAEAE,0x646464,0x363636,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0xB7B7B7,0xC8C8C8,
+    0xC5C5C5,0xD6D6D6,0xCFCFCF,0xCECECE,0xCBCBCB,0xCBCBCB,0xCBCBCB,0xCBCBCB,
+    0xCBCBCB,0xCBCBCB,0xCBCBCB,0xCCCCCC,0xCCCCCC,0xCCCCCC,0xCCCCCC,0xCCCCCC,
+    0xCCCCCC,0xCCCCCC,0xCCCCCC,0xCCCCCC,0xCCCCCC,0xCBCBCB,0xD2D2D2,0xBFBFBF,
+    0xB3B3B3,0xB6B6B6,0xA7A7A7,0x323232,0x171717,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4A4A4A,
+    0x424242,0x292929,0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x232323,0x999999,0xD2D2D2,0xCACACA,0xC9C9C9,0xC9C9C9,0xC9C9C9,
+    0xC9C9C9,0xCECECE,0xCECECE,0xC0C0C0,0x8E8E8E,0x585858,0x3F3F3F,0x414141,
+    0x414141,0x3F3F3F,0x3E3E3E,0x3B3B3B,0x3E3E3E,0xA3A3A3,0xCDCDCD,0xCCCCCC,
+    0xC8C8C8,0xC9C9C9,0xC9C9C9,0xC9C9C9,0xCACACA,0xCDCDCD,0xC7C7C7,0x9F9F9F,
+    0x404040,0x353535,0x373737,0x363636,0x2A2A2A,0x282828,0xC5C5C5,0xCECECE,
+    0xC1C1C1,0x919191,0xA8A8A8,0xC9C9C9,0xCDCDCD,0xC8C8C8,0xC7C7C7,0xC7C7C7,
+    0xC9C9C9,0xCBCBCB,0xCBCBCB,0xC9C9C9,0xC6C6C6,0xC6C6C6,0xC8C8C8,0xCCCCCC,
+    0xC5C5C5,0x979797,0x3C3C3C,0x343434,0x343434,0x323232,0x2F2F2F,0x2B2B2B,
+    0x2A2A2A,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x151515,0x4D4D4D,
+    0x6A6A6A,0xAEAEAE,0xCBCBCB,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC5C5C5,0xC4C4C4,
+    0xC3C3C3,0xC7C7C7,0xC6C6C6,0xBABABA,0x5C5C5C,0x343434,0x393939,0x353535,
+    0x323232,0x333333,0x171717,0x00FF00,0x00FF00,0x00FF00,0x232323,0x494949,
+    0x5B5B5B,0xB9B9B9,0xC8C8C8,0xC2C2C2,0xC1C1C1,0xC1C1C1,0xC1C1C1,0xC1C1C1,
+    0xC1C1C1,0xC4C4C4,0xC7C7C7,0xBCBCBC,0x767676,0x373737,0x373737,0x353535,
+    0x2B2B2B,0x484848,0xBEBEBE,0xCBCBCB,0xC5C5C5,0xC3C3C3,0xC3C3C3,0xC3C3C3,
+    0xC3C3C3,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,0xC2C2C2,
+    0xC2C2C2,0xC2C2C2,0xC6C6C6,0xC6C6C6,0xD2D2D2,0x858585,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x393939,0x585858,0xA9A9A9,0xBEBEBE,
+    0xBCBCBC,0xBBBBBB,0xBABABA,0xBABABA,0xBABABA,0xBABABA,0xBEBEBE,0xBDBDBD,
+    0xA2A2A2,0x707070,0x3F3F3F,0x3D3D3D,0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3B3B3B,
+    0x454545,0x949494,0xC1C1C1,0xBABABA,0xB9B9B9,0xB8B8B8,0xB8B8B8,0xB8B8B8,
+    0xB8B8B8,0xB9B9B9,0xC1C1C1,0x919191,0x3A3A3A,0x343434,0x353535,0x151515,
+    0x313131,0x404040,0x414141,0x454545,0x464646,0x494949,0x4B4B4B,0x4F4F4F,
+    0x717171,0xA2A2A2,0xBBBBBB,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB4B4B4,
+    0xB4B4B4,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB3B3B3,0xB4B4B4,0xB9B9B9,
+    0xB6B6B6,0x8A8A8A,0x3C3C3C,0x393939,0x373737,0x363636,0x2A2A2A,0x00FF00,
+    0x00FF00,0x404040,0xC1C1C1,0xB8B8B8,0xB3B3B3,0xB2B2B2,0xB2B2B2,0xB2B2B2,
+    0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB2B2B2,0xB1B1B1,0xB1B1B1,0xB1B1B1,0xB0B0B0,
+    0xAFAFAF,0xB3B3B3,0xB3B3B3,0xACACAC,0x828282,0x4F4F4F,0x454545,0x464646,
+    0x454545,0x444444,0x808080,0xAFAFAF,0xB0B0B0,0xAEAEAE,0xAFAFAF,0xAEAEAE,
+    0xAEAEAE,0xADADAD,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,
+    0xADADAD,0xAFAFAF,0xAFAFAF,0xACACAC,0x909090,0x5A5A5A,0x414141,0x474747,
+    0x4A4A4A,0x4A4A4A,0x575757,0x7E7E7E,0xA9A9A9,0xAFAFAF,0xACACAC,0xABABAB,
+    0xAAAAAA,0xAAAAAA,0xAAAAAA,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xAAAAAA,0xA9A9A9,
+    0xA9A9A9,0xA9A9A9,0xACACAC,0xAEAEAE,0x888888,0x393939,0x363636,0x2F2F2F,
+    0x00FF00,0x00FF00,0x00FF00,0x323232,0x353535,0x5D5D5D,0x9F9F9F,0xACACAC,
+    0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA8A8A8,0xA7A7A7,0xA7A7A7,
+    0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xA7A7A7,0xABABAB,0xB1B1B1,0x9B9B9B,
+    0xA7A7A7,0x343434,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x282828,0x595959,0x7C7C7C,0x787878,0x797979,
+    0xA0A0A0,0xA5A5A5,0xA5A5A5,0xA3A3A3,0xA3A3A3,0xA3A3A3,0xA2A2A2,0xA3A3A3,
+    0xA3A3A3,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA2A2A2,
+    0xA2A2A2,0xA2A2A2,0xA7A7A7,0xB2B2B2,0xA3A3A3,0x919191,0x767676,0x797979,
+    0x5D5D5D,0x6E6E6E,0x777777,0x717171,0x808080,0xA5A5A5,0xA5A5A5,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xAAAAAA,
+    0xACACAC,0x959595,0x949494,0x949494,0xA0A0A0,0x3B3B3B,0x282828,0x878787,
+    0x878787,0x858585,0x969696,0x969696,0x969696,0x969696,0x969696,0x979797,
+    0x969696,0x969696,0x969696,0x979797,0x969696,0x969696,0x969696,0x979797,
+    0x979797,0x979797,0x979797,0x979797,0x989898,0x979797,0x989898,0x979797,
+    0x878787,0x898989,0x8F8F8F,0x5E5E5E,0x282828,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x414141,0x474747,0x262626,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x282828,0x545454,0x909090,0xC1C1C1,0xC5C5C5,0xC5C5C5,
+    0xC5C5C5,0xC2C2C2,0x9C9C9C,0x909090,0x5C5C5C,0x4C4C4C,0x454545,0x454545,
+    0x424242,0x414141,0x3F3F3F,0x3E3E3E,0x3B3B3B,0x3D3D3D,0x4E4E4E,0x797979,
+    0xB4B4B4,0xC5C5C5,0xC3C3C3,0xC4C4C4,0xC6C6C6,0xAEAEAE,0x909090,0x5D5D5D,
+    0x434343,0x3C3C3C,0x3A3A3A,0x373737,0x353535,0x272727,0x717171,0xC5C5C5,
+    0x969696,0x505050,0x5E5E5E,0x555555,0x767676,0x989898,0xBDBDBD,0xC7C7C7,
+    0xCCCCCC,0xCBCBCB,0xC7C7C7,0xC7C7C7,0xC9C9C9,0xC9C9C9,0xCACACA,0xBFBFBF,
+    0x8A8A8A,0x545454,0x404040,0x3A3A3A,0x393939,0x343434,0x323232,0x2E2E2E,
+    0x2B2B2B,0x2A2A2A,0x292929,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x212121,
+    0x4F4F4F,0x474747,0x525252,0x959595,0xBFBFBF,0xBFBFBF,0xBFBFBF,0xC0C0C0,
+    0xBFBFBF,0xC1C1C1,0xACACAC,0x727272,0x484848,0x3C3C3C,0x3B3B3B,0x383838,
+    0x353535,0x323232,0x333333,0x141414,0x00FF00,0x00FF00,0x00FF00,0x2C2C2C,
+    0x4E4E4E,0x4F4F4F,0x565656,0x898989,0xBABABA,0xBCBCBC,0xBCBCBC,0xBCBCBC,
+    0xBCBCBC,0xBFBFBF,0xA5A5A5,0x818181,0x4F4F4F,0x3C3C3C,0x3A3A3A,0x393939,
+    0x353535,0x2C2C2C,0x474747,0x8D8D8D,0x9A9A9A,0x9A9A9A,0x9A9A9A,0x9A9A9A,
+    0x9A9A9A,0x9A9A9A,0x999999,0x9A9A9A,0x999999,0x999999,0x999999,0x999999,
+    0x999999,0x999999,0x999999,0x999999,0x999999,0xA2A2A2,0x535353,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x404040,0x494949,0x4F4F4F,
+    0x7F7F7F,0xB8B8B8,0xB6B6B6,0xBDBDBD,0xBFBFBF,0xBABABA,0xB8B8B8,0xA1A1A1,
+    0x696969,0x474747,0x3C3C3C,0x404040,0x3F3F3F,0x3D3D3D,0x3B3B3B,0x3B3B3B,
+    0x3C3C3C,0x444444,0x4F4F4F,0x828282,0xB0B0B0,0xB5B5B5,0xBBBBBB,0xBBBBBB,
+    0xBBBBBB,0xB4B4B4,0xAFAFAF,0x797979,0x414141,0x393939,0x373737,0x363636,
+    0x151515,0x313131,0x404040,0x414141,0x444444,0x464646,0x494949,0x4C4C4C,
+    0x4E4E4E,0x4A4A4A,0x5A5A5A,0x898989,0xAEAEAE,0xB9B9B9,0xB9B9B9,0xB6B6B6,
+    0xB4B4B4,0xB5B5B5,0xB4B4B4,0xB4B4B4,0xB4B4B4,0xB6B6B6,0xB9B9B9,0xB2B2B2,
+    0x8E8E8E,0x5B5B5B,0x404040,0x3C3C3C,0x3A3A3A,0x373737,0x343434,0x2E2E2E,
+    0x00FF00,0x00FF00,0x4C4C4C,0xBABABA,0xAFAFAF,0xAEAEAE,0xAEAEAE,0xAEAEAE,
+    0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xAEAEAE,0xADADAD,0xADADAD,
+    0xADADAD,0xADADAD,0xADADAD,0xADADAD,0xAFAFAF,0xAFAFAF,0x575757,0x434343,
+    0x464646,0x464646,0x404040,0xA7A7A7,0xAFAFAF,0xACACAC,0xACACAC,0xACACAC,
+    0xACACAC,0xACACAC,0xABABAB,0xABABAB,0xABABAB,0xABABAB,0xAAAAAA,0xAAAAAA,
+    0xAAAAAA,0xAAAAAA,0xAAAAAA,0xABABAB,0xABABAB,0xB4B4B4,0x767676,0x404040,
+    0x484848,0x4A4A4A,0x4C4C4C,0x4C4C4C,0x4D4D4D,0x656565,0x8D8D8D,0xA8A8A8,
+    0xAEAEAE,0xADADAD,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xAAAAAA,0xAAAAAA,
+    0xA9A9A9,0xACACAC,0xAFAFAF,0xA8A8A8,0x646464,0x3B3B3B,0x393939,0x373737,
+    0x313131,0x00FF00,0x00FF00,0x00FF00,0x222222,0x353535,0x6B6B6B,0xB0B0B0,
+    0xA7A7A7,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xA6A6A6,0xA5A5A5,
+    0xA5A5A5,0xA5A5A5,0xA5A5A5,0xA5A5A5,0xA5A5A5,0xA5A5A5,0xA5A5A5,0xA5A5A5,
+    0xA8A8A8,0xB0B0B0,0x626262,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x161616,0x626262,0xAEAEAE,0xA8A8A8,
+    0xA7A7A7,0xA3A3A3,0xA2A2A2,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,0xA1A1A1,
+    0xA1A1A1,0xA0A0A0,0xA1A1A1,0xA0A0A0,0xA0A0A0,0xA2A2A2,0xA4A4A4,0xA6A6A6,
+    0xA7A7A7,0x9A9A9A,0x979797,0xA6A6A6,0xA5A5A5,0xA3A3A3,0xA0A0A0,0xA0A0A0,
+    0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,
+    0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,0xA0A0A0,
+    0xA0A0A0,0xA0A0A0,0xA2A2A2,0xA2A2A2,0xA2A2A2,0xA7A7A7,0x8D8D8D,0x00FF00,
+    0x4E4E4E,0x5C5C5C,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,
+    0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,0x5A5A5A,
+    0x5A5A5A,0x5B5B5B,0x5B5B5B,0x5B5B5B,0x5B5B5B,0x5B5B5B,0x5B5B5B,0x5B5B5B,
+    0x5B5B5B,0x5B5B5B,0x5B5B5B,0x616161,0x434343,0x181818,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x414141,0x4F4F4F,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x232323,0x525252,0x525252,0x606060,0x696969,
+    0x727272,0x7A7A7A,0x777777,0x636363,0x545454,0x515151,0x4F4F4F,0x484848,
+    0x454545,0x434343,0x404040,0x3F3F3F,0x3E3E3E,0x3C3C3C,0x3D3D3D,0x4C4C4C,
+    0x4E4E4E,0x5D5D5D,0x6B6B6B,0x767676,0x7D7D7D,0x7F7F7F,0x6C6C6C,0x505050,
+    0x484848,0x434343,0x3E3E3E,0x3A3A3A,0x363636,0x353535,0x2D2D2D,0x626262,
+    0x747474,0x2C2C2C,0x3F3F3F,0x606060,0x545454,0x4F4F4F,0x535353,0x5C5C5C,
+    0x7B7B7B,0x9A9A9A,0x9A9A9A,0xC1C1C1,0xC1C1C1,0xA2A2A2,0xA1A1A1,0x979797,
+    0x616161,0x4A4A4A,0x444444,0x414141,0x3C3C3C,0x393939,0x353535,0x323232,
+    0x2F2F2F,0x2B2B2B,0x2A2A2A,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x1A1A1A,0x4B4B4B,0x4F4F4F,0x4F4F4F,0x535353,0x626262,0x696969,0x727272,
+    0x7A7A7A,0x7A7A7A,0x767676,0x626262,0x4A4A4A,0x444444,0x3F3F3F,0x3B3B3B,
+    0x393939,0x353535,0x333333,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x323232,0x4C4C4C,0x4E4E4E,0x4F4F4F,0x525252,0x616161,0x686868,0x747474,
+    0x7B7B7B,0x7B7B7B,0x787878,0x626262,0x494949,0x424242,0x3F3F3F,0x3B3B3B,
+    0x393939,0x353535,0x2E2E2E,0x444444,0x696969,0x656565,0x656565,0x656565,
+    0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,
+    0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,0x6A6A6A,0x4A4A4A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x414141,0x4B4B4B,
+    0x4E4E4E,0x535353,0x606060,0x6E6E6E,0x9A9A9A,0xA2A2A2,0x838383,0x666666,
+    0x565656,0x454545,0x464646,0x434343,0x414141,0x3F3F3F,0x3D3D3D,0x3B3B3B,
+    0x3B3B3B,0x3D3D3D,0x464646,0x4D4D4D,0x505050,0x5D5D5D,0x707070,0x9A9A9A,
+    0x9F9F9F,0x999999,0x6B6B6B,0x585858,0x424242,0x3F3F3F,0x3B3B3B,0x373737,
+    0x343434,0x131313,0x313131,0x3F3F3F,0x414141,0x444444,0x464646,0x494949,
+    0x4C4C4C,0x4E4E4E,0x4F4F4F,0x4F4F4F,0x555555,0x616161,0x8A8A8A,0x919191,
+    0xA9A9A9,0xB4B4B4,0xB3B3B3,0xB2B2B2,0xB2B2B2,0xB4B4B4,0xA3A3A3,0x8A8A8A,
+    0x616161,0x484848,0x404040,0x404040,0x3D3D3D,0x3A3A3A,0x373737,0x343434,
+    0x313131,0x00FF00,0x00FF00,0x343434,0x888888,0x7F7F7F,0x7F7F7F,0x7F7F7F,
+    0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,
+    0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x828282,0x717171,0x4C4C4C,
+    0x454545,0x464646,0x464646,0x414141,0x6F6F6F,0x838383,0x7F7F7F,0x7F7F7F,
+    0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,
+    0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x535353,
+    0x444444,0x474747,0x494949,0x4C4C4C,0x4F4F4F,0x505050,0x4E4E4E,0x565656,
+    0x656565,0x888888,0x9B9B9B,0xACACAC,0xA9A9A9,0xA9A9A9,0xA9A9A9,0xA9A9A9,
+    0xA8A8A8,0xAAAAAA,0x9A9A9A,0x7C7C7C,0x535353,0x414141,0x3E3E3E,0x3A3A3A,
+    0x373737,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,0x181818,0x3A3A3A,0x545454,
+    0x858585,0x808080,0x808080,0x808080,0x808080,0x808080,0x808080,0x808080,
+    0x808080,0x808080,0x808080,0x808080,0x808080,0x808080,0x808080,0x808080,
+    0x808080,0x808080,0x898989,0x505050,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,0x797979,
+    0x848484,0x838383,0x838383,0x838383,0x838383,0x838383,0x838383,0x838383,
+    0x838383,0x818181,0x818181,0x818181,0x818181,0x818181,0x838383,0x838383,
+    0x818181,0x818181,0x818181,0x818181,0x7F7F7F,0x7F7F7F,0x7F7F7F,0x808080,
+    0x7F7F7F,0x7F7F7F,0x808080,0x686868,0x7D7D7D,0x7E7E7E,0x7E7E7E,0x7D7D7D,
+    0x7E7E7E,0x7E7E7E,0x7E7E7E,0x7E7E7E,0x7E7E7E,0x7E7E7E,0x7E7E7E,0x7E7E7E,
+    0x7E7E7E,0x7E7E7E,0x7D7D7D,0x7D7D7D,0x7D7D7D,0x7D7D7D,0x7D7D7D,0x7D7D7D,
+    0x7D7D7D,0x7D7D7D,0x7D7D7D,0x7D7D7D,0x7D7D7D,0x7D7D7D,0x808080,0x686868,
+    0x00FF00,0x505050,0x636363,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x656565,0x515151,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x3F3F3F,0x515151,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x222222,0x525252,0x525252,0x525252,
+    0x585858,0x626262,0x676767,0x666666,0x626262,0x5A5A5A,0x525252,0x4F4F4F,
+    0x484848,0x454545,0x424242,0x414141,0x3F3F3F,0x3E3E3E,0x3C3C3C,0x3C3C3C,
+    0x4B4B4B,0x525252,0x525252,0x565656,0x5E5E5E,0x666666,0x686868,0x616161,
+    0x575757,0x4B4B4B,0x434343,0x3E3E3E,0x3A3A3A,0x363636,0x353535,0x2C2C2C,
+    0x484848,0x515151,0x2E2E2E,0x454545,0x616161,0x555555,0x535353,0x535353,
+    0x525252,0x515151,0x515151,0x5C5C5C,0x767676,0x7B7B7B,0x707070,0x616161,
+    0x595959,0x535353,0x4C4C4C,0x464646,0x414141,0x3C3C3C,0x393939,0x353535,
+    0x323232,0x2F2F2F,0x2B2B2B,0x2A2A2A,0x2B2B2B,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x141414,0x4A4A4A,0x4F4F4F,0x515151,0x525252,0x535353,0x595959,
+    0x626262,0x686868,0x686868,0x646464,0x5A5A5A,0x4F4F4F,0x444444,0x3F3F3F,
+    0x3A3A3A,0x393939,0x353535,0x323232,0x323232,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x1E1E1E,0x4D4D4D,0x4E4E4E,0x505050,0x525252,0x545454,0x595959,
+    0x646464,0x696969,0x696969,0x646464,0x5B5B5B,0x4F4F4F,0x434343,0x3F3F3F,
+    0x3A3A3A,0x393939,0x353535,0x2D2D2D,0x4E4E4E,0x6E6E6E,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x6E6E6E,
+    0x535353,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x424242,
+    0x4C4C4C,0x4F4F4F,0x515151,0x545454,0x5D5D5D,0x656565,0x686868,0x646464,
+    0x5A5A5A,0x515151,0x4A4A4A,0x464646,0x434343,0x414141,0x3F3F3F,0x3D3D3D,
+    0x3B3B3B,0x3B3B3B,0x3D3D3D,0x464646,0x4E4E4E,0x515151,0x545454,0x5B5B5B,
+    0x636363,0x686868,0x666666,0x5C5C5C,0x4E4E4E,0x454545,0x404040,0x3B3B3B,
+    0x373737,0x363636,0x161616,0x323232,0x3F3F3F,0x424242,0x454545,0x464646,
+    0x494949,0x4C4C4C,0x4D4D4D,0x4F4F4F,0x515151,0x535353,0x535353,0x535353,
+    0x575757,0x707070,0x7E7E7E,0x848484,0x848484,0x838383,0x7B7B7B,0x696969,
+    0x4E4E4E,0x484848,0x464646,0x434343,0x404040,0x3D3D3D,0x3A3A3A,0x373737,
+    0x343434,0x323232,0x00FF00,0x00FF00,0x333333,0x727272,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6E6E6E,0x626262,
+    0x444444,0x464646,0x464646,0x444444,0x4B4B4B,0x696969,0x6C6C6C,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6E6E6E,
+    0x4D4D4D,0x434343,0x484848,0x4A4A4A,0x4D4D4D,0x4F4F4F,0x4F4F4F,0x515151,
+    0x535353,0x555555,0x565656,0x696969,0x7B7B7B,0x808080,0x838383,0x848484,
+    0x828282,0x797979,0x6F6F6F,0x5C5C5C,0x454545,0x434343,0x414141,0x3E3E3E,
+    0x3A3A3A,0x373737,0x292929,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,
+    0x535353,0x707070,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x747474,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x303030,
+    0x676767,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x6A6A6A,0x676767,0x575757,0x6A6A6A,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x686868,0x686868,0x686868,0x686868,0x686868,
+    0x686868,0x686868,0x686868,0x686868,0x686868,0x686868,0x686868,0x6E6E6E,
+    0x4F4F4F,0x00FF00,0x545454,0x626262,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x656565,0x505050,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x383838,0x4F4F4F,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x202020,0x525252,0x525252,
+    0x545454,0x5A5A5A,0x626262,0x686868,0x676767,0x626262,0x595959,0x525252,
+    0x4F4F4F,0x494949,0x444444,0x424242,0x404040,0x3F3F3F,0x3E3E3E,0x3C3C3C,
+    0x3C3C3C,0x4B4B4B,0x525252,0x535353,0x585858,0x626262,0x676767,0x696969,
+    0x626262,0x565656,0x4B4B4B,0x434343,0x3E3E3E,0x3A3A3A,0x373737,0x343434,
+    0x2E2E2E,0x404040,0x5A5A5A,0x2F2F2F,0x404040,0x5D5D5D,0x555555,0x535353,
+    0x535353,0x535353,0x555555,0x565656,0x5A5A5A,0x616161,0x666666,0x6A6A6A,
+    0x666666,0x5E5E5E,0x555555,0x4C4C4C,0x464646,0x414141,0x3C3C3C,0x3A3A3A,
+    0x353535,0x323232,0x2F2F2F,0x2B2B2B,0x2A2A2A,0x2B2B2B,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x1F1F1F,0x4F4F4F,0x4E4E4E,0x505050,0x525252,0x555555,
+    0x5A5A5A,0x636363,0x696969,0x696969,0x656565,0x5C5C5C,0x4F4F4F,0x444444,
+    0x3F3F3F,0x3A3A3A,0x393939,0x353535,0x313131,0x343434,0x181818,0x00FF00,
+    0x00FF00,0x00FF00,0x242424,0x4F4F4F,0x4E4E4E,0x505050,0x525252,0x555555,
+    0x5A5A5A,0x666666,0x696969,0x696969,0x656565,0x5B5B5B,0x4F4F4F,0x444444,
+    0x3E3E3E,0x3A3A3A,0x393939,0x343434,0x2D2D2D,0x4F4F4F,0x6C6C6C,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x6E6E6E,0x535353,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x434343,0x4C4C4C,0x4F4F4F,0x515151,0x555555,0x5E5E5E,0x686868,0x6B6B6B,
+    0x666666,0x5B5B5B,0x515151,0x494949,0x474747,0x424242,0x404040,0x3F3F3F,
+    0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3D3D3D,0x464646,0x4E4E4E,0x515151,0x555555,
+    0x5D5D5D,0x666666,0x6B6B6B,0x696969,0x5D5D5D,0x4F4F4F,0x454545,0x404040,
+    0x3A3A3A,0x383838,0x323232,0x00FF00,0x333333,0x414141,0x424242,0x454545,
+    0x474747,0x4A4A4A,0x4C4C4C,0x4D4D4D,0x4F4F4F,0x515151,0x535353,0x545454,
+    0x585858,0x5D5D5D,0x5E5E5E,0x646464,0x6A6A6A,0x6A6A6A,0x686868,0x626262,
+    0x5A5A5A,0x525252,0x4A4A4A,0x474747,0x434343,0x404040,0x3D3D3D,0x393939,
+    0x363636,0x353535,0x2A2A2A,0x00FF00,0x00FF00,0x343434,0x767676,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6E6E6E,
+    0x676767,0x464646,0x464646,0x464646,0x444444,0x444444,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6E6E6E,
+    0x6C6C6C,0x4D4D4D,0x444444,0x484848,0x4B4B4B,0x4C4C4C,0x4E4E4E,0x505050,
+    0x515151,0x535353,0x565656,0x5B5B5B,0x5F5F5F,0x646464,0x676767,0x6B6B6B,
+    0x6C6C6C,0x696969,0x636363,0x575757,0x4F4F4F,0x4A4A4A,0x444444,0x414141,
+    0x3D3D3D,0x393939,0x373737,0x292929,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x323232,0x545454,0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x747474,0x3A3A3A,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x2F2F2F,0x6E6E6E,0x6C6C6C,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x676767,0x545454,0x6B6B6B,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x6F6F6F,0x464646,0x00FF00,0x4E4E4E,0x636363,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x656565,0x515151,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1C1C1C,0x515151,
+    0x525252,0x545454,0x5A5A5A,0x636363,0x696969,0x676767,0x626262,0x5A5A5A,
+    0x525252,0x4F4F4F,0x494949,0x444444,0x434343,0x414141,0x3E3E3E,0x3E3E3E,
+    0x3C3C3C,0x3C3C3C,0x4B4B4B,0x525252,0x535353,0x585858,0x616161,0x676767,
+    0x696969,0x636363,0x575757,0x4C4C4C,0x434343,0x3E3E3E,0x3A3A3A,0x373737,
+    0x353535,0x2B2B2B,0x424242,0x575757,0x2F2F2F,0x444444,0x626262,0x545454,
+    0x535353,0x535353,0x535353,0x555555,0x565656,0x5A5A5A,0x636363,0x686868,
+    0x696969,0x656565,0x606060,0x545454,0x4B4B4B,0x464646,0x414141,0x3C3C3C,
+    0x393939,0x343434,0x323232,0x2F2F2F,0x2B2B2B,0x2A2A2A,0x2E2E2E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4A4A4A,0x4E4E4E,0x505050,0x525252,
+    0x565656,0x5A5A5A,0x636363,0x696969,0x696969,0x646464,0x5B5B5B,0x4F4F4F,
+    0x444444,0x3F3F3F,0x3B3B3B,0x393939,0x353535,0x323232,0x333333,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x2D2D2D,0x4D4D4D,0x4E4E4E,0x515151,0x525252,
+    0x555555,0x5A5A5A,0x646464,0x696969,0x696969,0x656565,0x595959,0x505050,
+    0x454545,0x3E3E3E,0x3A3A3A,0x383838,0x343434,0x2E2E2E,0x4C4C4C,0x6C6C6C,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x6E6E6E,0x515151,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x444444,0x4C4C4C,0x4F4F4F,0x515151,0x555555,0x5E5E5E,0x686868,
+    0x6B6B6B,0x656565,0x5A5A5A,0x515151,0x494949,0x474747,0x424242,0x404040,
+    0x3F3F3F,0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3E3E3E,0x464646,0x4E4E4E,0x515151,
+    0x565656,0x5D5D5D,0x666666,0x6C6C6C,0x696969,0x5D5D5D,0x4E4E4E,0x454545,
+    0x404040,0x3A3A3A,0x383838,0x2D2D2D,0x00FF00,0x2B2B2B,0x414141,0x424242,
+    0x454545,0x474747,0x4A4A4A,0x4C4C4C,0x4D4D4D,0x4F4F4F,0x515151,0x525252,
+    0x545454,0x585858,0x5C5C5C,0x606060,0x666666,0x6B6B6B,0x6C6C6C,0x6A6A6A,
+    0x646464,0x5B5B5B,0x515151,0x4A4A4A,0x464646,0x424242,0x404040,0x3D3D3D,
+    0x3A3A3A,0x363636,0x373737,0x202020,0x00FF00,0x00FF00,0x373737,0x767676,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6E6E6E,0x606060,0x464646,0x464646,0x464646,0x464646,0x414141,0x676767,
+    0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6E6E6E,0x696969,0x464646,0x454545,0x484848,0x4A4A4A,0x4D4D4D,0x4F4F4F,
+    0x505050,0x515151,0x535353,0x565656,0x5B5B5B,0x616161,0x666666,0x696969,
+    0x6E6E6E,0x6E6E6E,0x6B6B6B,0x646464,0x585858,0x505050,0x4A4A4A,0x454545,
+    0x414141,0x3D3D3D,0x393939,0x383838,0x232323,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x282828,0x5C5C5C,0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x747474,0x2B2B2B,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x3D3D3D,0x707070,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x636363,0x565656,0x6C6C6C,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x707070,0x3C3C3C,0x00FF00,0x444444,0x646464,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x656565,
+    0x515151,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1D1D1D,
+    0x515151,0x525252,0x545454,0x5A5A5A,0x646464,0x696969,0x676767,0x616161,
+    0x5A5A5A,0x525252,0x4F4F4F,0x494949,0x444444,0x434343,0x414141,0x3E3E3E,
+    0x3E3E3E,0x3C3C3C,0x3C3C3C,0x4B4B4B,0x525252,0x545454,0x585858,0x616161,
+    0x676767,0x696969,0x636363,0x575757,0x4B4B4B,0x434343,0x3E3E3E,0x3A3A3A,
+    0x373737,0x353535,0x303030,0x434343,0x5C5C5C,0x303030,0x3D3D3D,0x5C5C5C,
+    0x555555,0x535353,0x535353,0x535353,0x555555,0x575757,0x5B5B5B,0x646464,
+    0x686868,0x696969,0x656565,0x5D5D5D,0x545454,0x4C4C4C,0x464646,0x414141,
+    0x3C3C3C,0x393939,0x343434,0x323232,0x2F2F2F,0x2B2B2B,0x2A2A2A,0x2B2B2B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x141414,0x4C4C4C,0x4F4F4F,0x515151,
+    0x525252,0x555555,0x5B5B5B,0x646464,0x696969,0x696969,0x656565,0x595959,
+    0x4F4F4F,0x444444,0x3F3F3F,0x3B3B3B,0x393939,0x343434,0x333333,0x323232,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2D2D2D,0x4C4C4C,0x4E4E4E,0x505050,
+    0x525252,0x555555,0x5A5A5A,0x646464,0x6A6A6A,0x696969,0x656565,0x595959,
+    0x4F4F4F,0x444444,0x3F3F3F,0x3A3A3A,0x393939,0x343434,0x2D2D2D,0x414141,
+    0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x707070,0x4A4A4A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x454545,0x4C4C4C,0x4F4F4F,0x515151,0x565656,0x606060,
+    0x686868,0x6B6B6B,0x656565,0x5A5A5A,0x515151,0x4A4A4A,0x464646,0x424242,
+    0x404040,0x3F3F3F,0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3E3E3E,0x474747,0x4E4E4E,
+    0x515151,0x565656,0x5D5D5D,0x666666,0x6C6C6C,0x686868,0x5C5C5C,0x4E4E4E,
+    0x444444,0x404040,0x3A3A3A,0x383838,0x2F2F2F,0x00FF00,0x161616,0x444444,
+    0x424242,0x454545,0x474747,0x4A4A4A,0x4C4C4C,0x4E4E4E,0x4F4F4F,0x515151,
+    0x535353,0x545454,0x585858,0x5C5C5C,0x616161,0x666666,0x6B6B6B,0x6B6B6B,
+    0x6A6A6A,0x646464,0x5A5A5A,0x515151,0x4B4B4B,0x474747,0x424242,0x404040,
+    0x3C3C3C,0x3A3A3A,0x363636,0x353535,0x252525,0x00FF00,0x00FF00,0x474747,
+    0x727272,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x707070,0x595959,0x434343,0x464646,0x464646,0x454545,0x4C4C4C,
+    0x6A6A6A,0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x4A4A4A,0x444444,0x484848,0x4B4B4B,0x4D4D4D,
+    0x4F4F4F,0x505050,0x515151,0x535353,0x575757,0x5B5B5B,0x616161,0x676767,
+    0x6A6A6A,0x6E6E6E,0x6E6E6E,0x6A6A6A,0x646464,0x585858,0x505050,0x494949,
+    0x444444,0x414141,0x3D3D3D,0x393939,0x363636,0x262626,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x202020,0x616161,0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6E6E6E,0x727272,0x282828,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x434343,0x6F6F6F,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x616161,0x595959,
+    0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x717171,0x313131,0x00FF00,0x3C3C3C,0x656565,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x646464,0x575757,0x191919,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x181818,0x505050,0x525252,0x545454,0x5A5A5A,0x636363,0x696969,0x676767,
+    0x626262,0x5A5A5A,0x525252,0x4F4F4F,0x494949,0x454545,0x434343,0x414141,
+    0x3F3F3F,0x3E3E3E,0x3C3C3C,0x3B3B3B,0x4A4A4A,0x525252,0x545454,0x575757,
+    0x606060,0x676767,0x696969,0x636363,0x575757,0x4B4B4B,0x434343,0x3E3E3E,
+    0x3A3A3A,0x373737,0x353535,0x2C2C2C,0x3B3B3B,0x585858,0x2F2F2F,0x424242,
+    0x626262,0x555555,0x535353,0x535353,0x535353,0x555555,0x565656,0x5A5A5A,
+    0x636363,0x686868,0x696969,0x656565,0x5D5D5D,0x555555,0x4B4B4B,0x464646,
+    0x414141,0x3C3C3C,0x393939,0x353535,0x323232,0x2F2F2F,0x2B2B2B,0x2A2A2A,
+    0x282828,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x4E4E4E,0x4E4E4E,
+    0x505050,0x525252,0x555555,0x5B5B5B,0x646464,0x696969,0x696969,0x656565,
+    0x5A5A5A,0x4E4E4E,0x434343,0x3F3F3F,0x3B3B3B,0x393939,0x353535,0x323232,
+    0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1C1C1C,0x4D4D4D,0x4E4E4E,
+    0x505050,0x525252,0x555555,0x5A5A5A,0x656565,0x6A6A6A,0x696969,0x646464,
+    0x5A5A5A,0x4E4E4E,0x434343,0x3F3F3F,0x3B3B3B,0x393939,0x343434,0x2D2D2D,
+    0x424242,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x707070,0x434343,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x464646,0x4C4C4C,0x4F4F4F,0x525252,0x565656,
+    0x616161,0x686868,0x6A6A6A,0x656565,0x5A5A5A,0x515151,0x494949,0x464646,
+    0x424242,0x404040,0x3F3F3F,0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3E3E3E,0x484848,
+    0x4E4E4E,0x525252,0x565656,0x5D5D5D,0x666666,0x6C6C6C,0x686868,0x5B5B5B,
+    0x4E4E4E,0x444444,0x404040,0x3A3A3A,0x383838,0x2F2F2F,0x00FF00,0x00FF00,
+    0x424242,0x434343,0x454545,0x474747,0x4A4A4A,0x4C4C4C,0x4E4E4E,0x505050,
+    0x515151,0x535353,0x545454,0x585858,0x5D5D5D,0x616161,0x666666,0x6C6C6C,
+    0x6B6B6B,0x6A6A6A,0x646464,0x595959,0x505050,0x4A4A4A,0x474747,0x424242,
+    0x3F3F3F,0x3C3C3C,0x3A3A3A,0x363636,0x343434,0x282828,0x00FF00,0x00FF00,
+    0x414141,0x737373,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x707070,0x626262,0x464646,0x464646,0x464646,0x434343,
+    0x4B4B4B,0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6E6E6E,0x656565,0x464646,0x454545,0x484848,0x4B4B4B,
+    0x4C4C4C,0x4F4F4F,0x505050,0x515151,0x545454,0x575757,0x5B5B5B,0x606060,
+    0x676767,0x6A6A6A,0x6E6E6E,0x6E6E6E,0x6A6A6A,0x636363,0x585858,0x4F4F4F,
+    0x484848,0x444444,0x414141,0x3C3C3C,0x383838,0x383838,0x1C1C1C,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x666666,0x707070,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6E6E6E,0x707070,
+    0x1E1E1E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x454545,0x707070,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6C6C6C,0x5E5E5E,
+    0x5B5B5B,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x6F6F6F,0x262626,0x00FF00,0x363636,0x656565,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x646464,0x575757,0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x161616,0x4F4F4F,0x525252,0x545454,0x595959,0x636363,0x686868,
+    0x676767,0x626262,0x5A5A5A,0x535353,0x4F4F4F,0x494949,0x454545,0x434343,
+    0x414141,0x3F3F3F,0x3E3E3E,0x3D3D3D,0x3B3B3B,0x494949,0x525252,0x545454,
+    0x575757,0x616161,0x676767,0x696969,0x636363,0x575757,0x4C4C4C,0x444444,
+    0x3F3F3F,0x3A3A3A,0x373737,0x353535,0x303030,0x323232,0x5B5B5B,0x313131,
+    0x3C3C3C,0x5B5B5B,0x555555,0x535353,0x535353,0x535353,0x555555,0x575757,
+    0x5A5A5A,0x636363,0x686868,0x696969,0x656565,0x5E5E5E,0x555555,0x4C4C4C,
+    0x464646,0x414141,0x3C3C3C,0x393939,0x353535,0x323232,0x2F2F2F,0x2B2B2B,
+    0x2F2F2F,0x242424,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x484848,
+    0x4F4F4F,0x505050,0x525252,0x555555,0x5B5B5B,0x636363,0x696969,0x696969,
+    0x646464,0x5A5A5A,0x4F4F4F,0x434343,0x3E3E3E,0x3A3A3A,0x393939,0x353535,
+    0x313131,0x343434,0x181818,0x00FF00,0x00FF00,0x00FF00,0x242424,0x4E4E4E,
+    0x4E4E4E,0x505050,0x525252,0x555555,0x5A5A5A,0x656565,0x696969,0x696969,
+    0x646464,0x5A5A5A,0x4E4E4E,0x434343,0x3E3E3E,0x3A3A3A,0x393939,0x353535,
+    0x2D2D2D,0x4C4C4C,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x727272,0x3A3A3A,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x141414,0x474747,0x4B4B4B,0x4F4F4F,0x525252,
+    0x565656,0x616161,0x686868,0x6A6A6A,0x656565,0x595959,0x505050,0x494949,
+    0x464646,0x424242,0x404040,0x3F3F3F,0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3E3E3E,
+    0x484848,0x4F4F4F,0x525252,0x565656,0x5D5D5D,0x666666,0x6C6C6C,0x686868,
+    0x5B5B5B,0x4E4E4E,0x444444,0x3F3F3F,0x3A3A3A,0x373737,0x303030,0x00FF00,
+    0x00FF00,0x323232,0x464646,0x454545,0x474747,0x4A4A4A,0x4C4C4C,0x4E4E4E,
+    0x505050,0x515151,0x525252,0x555555,0x585858,0x5E5E5E,0x616161,0x666666,
+    0x6C6C6C,0x6B6B6B,0x6A6A6A,0x636363,0x595959,0x4F4F4F,0x4A4A4A,0x464646,
+    0x424242,0x404040,0x3D3D3D,0x3A3A3A,0x363636,0x343434,0x2C2C2C,0x00FF00,
+    0x00FF00,0x454545,0x737373,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x727272,0x4F4F4F,0x343434,0x4A4A4A,0x464646,
+    0x434343,0x414141,0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6F6F6F,0x646464,0x434343,0x464646,0x494949,
+    0x4B4B4B,0x4D4D4D,0x4F4F4F,0x505050,0x515151,0x545454,0x575757,0x5C5C5C,
+    0x626262,0x676767,0x6A6A6A,0x6E6E6E,0x6E6E6E,0x696969,0x626262,0x565656,
+    0x4E4E4E,0x484848,0x444444,0x414141,0x3C3C3C,0x393939,0x363636,0x222222,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x626262,0x707070,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6F6F6F,
+    0x6B6B6B,0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4B4B4B,0x6F6F6F,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6C6C6C,
+    0x5D5D5D,0x5C5C5C,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x707070,0x282828,0x00FF00,0x3E3E3E,
+    0x646464,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x646464,0x565656,0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x151515,0x515151,0x525252,0x535353,0x595959,0x636363,
+    0x686868,0x676767,0x626262,0x5B5B5B,0x535353,0x4F4F4F,0x494949,0x444444,
+    0x434343,0x414141,0x3F3F3F,0x3E3E3E,0x3D3D3D,0x3B3B3B,0x484848,0x515151,
+    0x545454,0x575757,0x606060,0x676767,0x696969,0x636363,0x575757,0x4B4B4B,
+    0x434343,0x3F3F3F,0x3A3A3A,0x373737,0x353535,0x2F2F2F,0x3F3F3F,0x5A5A5A,
+    0x2E2E2E,0x404040,0x626262,0x565656,0x535353,0x535353,0x535353,0x555555,
+    0x575757,0x5A5A5A,0x636363,0x686868,0x696969,0x656565,0x5D5D5D,0x555555,
+    0x4C4C4C,0x464646,0x414141,0x3D3D3D,0x3A3A3A,0x353535,0x323232,0x2F2F2F,
+    0x2B2B2B,0x2E2E2E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x151515,
+    0x4C4C4C,0x4E4E4E,0x515151,0x525252,0x555555,0x5B5B5B,0x636363,0x696969,
+    0x696969,0x646464,0x5A5A5A,0x4F4F4F,0x454545,0x3F3F3F,0x3B3B3B,0x383838,
+    0x353535,0x323232,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2E2E2E,
+    0x4D4D4D,0x4E4E4E,0x505050,0x525252,0x565656,0x5A5A5A,0x656565,0x696969,
+    0x696969,0x646464,0x595959,0x4F4F4F,0x444444,0x3E3E3E,0x3A3A3A,0x393939,
+    0x343434,0x2D2D2D,0x4F4F4F,0x6E6E6E,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x727272,0x3E3E3E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x161616,0x464646,0x4C4C4C,0x4F4F4F,
+    0x525252,0x565656,0x606060,0x696969,0x6A6A6A,0x646464,0x595959,0x505050,
+    0x494949,0x464646,0x424242,0x404040,0x3F3F3F,0x3D3D3D,0x3B3B3B,0x3B3B3B,
+    0x3E3E3E,0x484848,0x4F4F4F,0x515151,0x565656,0x5D5D5D,0x676767,0x6C6C6C,
+    0x686868,0x5A5A5A,0x4D4D4D,0x444444,0x3F3F3F,0x3A3A3A,0x373737,0x313131,
+    0x00FF00,0x00FF00,0x1E1E1E,0x474747,0x464646,0x474747,0x4A4A4A,0x4C4C4C,
+    0x4E4E4E,0x505050,0x525252,0x535353,0x545454,0x585858,0x5E5E5E,0x616161,
+    0x666666,0x6B6B6B,0x6B6B6B,0x696969,0x626262,0x595959,0x4F4F4F,0x4A4A4A,
+    0x464646,0x424242,0x404040,0x3C3C3C,0x393939,0x363636,0x343434,0x202020,
+    0x00FF00,0x00FF00,0x454545,0x737373,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x737373,0x3C3C3C,0x141414,0x464646,
+    0x484848,0x444444,0x464646,0x6B6B6B,0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x696969,0x474747,0x464646,
+    0x494949,0x4A4A4A,0x4D4D4D,0x4F4F4F,0x505050,0x525252,0x545454,0x585858,
+    0x5C5C5C,0x626262,0x676767,0x6A6A6A,0x6E6E6E,0x6E6E6E,0x686868,0x616161,
+    0x565656,0x4E4E4E,0x484848,0x434343,0x414141,0x3D3D3D,0x383838,0x363636,
+    0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,0x6C6C6C,0x6F6F6F,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6F6F6F,0x6C6C6C,0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4F4F4F,0x707070,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6C6C6C,0x5A5A5A,0x626262,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x6A6A6A,0x6F6F6F,0x202020,0x00FF00,
+    0x313131,0x656565,0x5F5F5F,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x646464,0x585858,0x272727,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4E4E4E,0x525252,0x535353,0x595959,
+    0x626262,0x686868,0x686868,0x626262,0x5B5B5B,0x535353,0x4F4F4F,0x4A4A4A,
+    0x444444,0x434343,0x414141,0x3F3F3F,0x3E3E3E,0x3C3C3C,0x3C3C3C,0x494949,
+    0x515151,0x535353,0x575757,0x606060,0x666666,0x696969,0x636363,0x575757,
+    0x4C4C4C,0x444444,0x3F3F3F,0x3A3A3A,0x373737,0x343434,0x303030,0x343434,
+    0x5B5B5B,0x323232,0x3C3C3C,0x5C5C5C,0x575757,0x535353,0x535353,0x535353,
+    0x555555,0x565656,0x595959,0x626262,0x686868,0x696969,0x656565,0x5E5E5E,
+    0x555555,0x4C4C4C,0x464646,0x414141,0x3C3C3C,0x3A3A3A,0x353535,0x323232,
+    0x2F2F2F,0x2D2D2D,0x262626,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x494949,0x4E4E4E,0x505050,0x525252,0x555555,0x5A5A5A,0x636363,
+    0x696969,0x696969,0x656565,0x5A5A5A,0x4F4F4F,0x444444,0x3F3F3F,0x3B3B3B,
+    0x393939,0x353535,0x333333,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x282828,0x4C4C4C,0x4E4E4E,0x505050,0x525252,0x555555,0x5A5A5A,0x646464,
+    0x6A6A6A,0x696969,0x646464,0x595959,0x4E4E4E,0x444444,0x3F3F3F,0x3A3A3A,
+    0x383838,0x353535,0x2E2E2E,0x4D4D4D,0x6C6C6C,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x707070,0x474747,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x181818,0x474747,0x4C4C4C,
+    0x4F4F4F,0x525252,0x565656,0x606060,0x696969,0x6A6A6A,0x646464,0x595959,
+    0x505050,0x484848,0x454545,0x424242,0x404040,0x3F3F3F,0x3D3D3D,0x3B3B3B,
+    0x3B3B3B,0x3E3E3E,0x484848,0x4F4F4F,0x515151,0x575757,0x5E5E5E,0x676767,
+    0x6B6B6B,0x676767,0x5A5A5A,0x4D4D4D,0x444444,0x3F3F3F,0x3A3A3A,0x373737,
+    0x323232,0x00FF00,0x00FF00,0x00FF00,0x434343,0x474747,0x474747,0x4A4A4A,
+    0x4C4C4C,0x4E4E4E,0x505050,0x525252,0x535353,0x545454,0x585858,0x5D5D5D,
+    0x616161,0x696969,0x6B6B6B,0x6B6B6B,0x696969,0x616161,0x585858,0x4F4F4F,
+    0x4A4A4A,0x454545,0x424242,0x3F3F3F,0x3C3C3C,0x393939,0x363636,0x373737,
+    0x171717,0x00FF00,0x00FF00,0x4B4B4B,0x747474,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x747474,0x2B2B2B,0x00FF00,
+    0x1A1A1A,0x4C4C4C,0x434343,0x525252,0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6F6F6F,0x5E5E5E,0x434343,
+    0x464646,0x494949,0x4B4B4B,0x4E4E4E,0x4F4F4F,0x505050,0x525252,0x555555,
+    0x585858,0x5D5D5D,0x626262,0x676767,0x6A6A6A,0x6E6E6E,0x6D6D6D,0x686868,
+    0x606060,0x555555,0x4D4D4D,0x474747,0x434343,0x404040,0x3B3B3B,0x383838,
+    0x373737,0x141414,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1C1C1C,0x656565,
+    0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6F6F6F,0x696969,0x151515,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x515151,0x707070,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6E6E6E,0x585858,0x636363,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x6B6B6B,0x6B6B6B,0x191919,
+    0x00FF00,0x2A2A2A,0x656565,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x636363,0x606060,0x222222,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4E4E4E,0x525252,0x535353,
+    0x585858,0x626262,0x686868,0x686868,0x626262,0x5B5B5B,0x545454,0x4F4F4F,
+    0x4A4A4A,0x454545,0x434343,0x414141,0x3F3F3F,0x3E3E3E,0x3C3C3C,0x3B3B3B,
+    0x474747,0x515151,0x535353,0x565656,0x606060,0x666666,0x696969,0x636363,
+    0x585858,0x4C4C4C,0x434343,0x3F3F3F,0x3A3A3A,0x373737,0x353535,0x2F2F2F,
+    0x323232,0x5B5B5B,0x303030,0x3C3C3C,0x606060,0x565656,0x535353,0x535353,
+    0x535353,0x555555,0x575757,0x595959,0x626262,0x686868,0x696969,0x656565,
+    0x5D5D5D,0x555555,0x4D4D4D,0x464646,0x414141,0x3C3C3C,0x3A3A3A,0x353535,
+    0x323232,0x2F2F2F,0x303030,0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x464646,0x4F4F4F,0x505050,0x525252,0x555555,0x5A5A5A,
+    0x636363,0x696969,0x696969,0x646464,0x595959,0x4E4E4E,0x444444,0x3E3E3E,
+    0x3A3A3A,0x393939,0x363636,0x323232,0x343434,0x1C1C1C,0x00FF00,0x00FF00,
+    0x00FF00,0x1A1A1A,0x4D4D4D,0x4E4E4E,0x515151,0x535353,0x555555,0x5A5A5A,
+    0x646464,0x6A6A6A,0x696969,0x646464,0x595959,0x4E4E4E,0x434343,0x3F3F3F,
+    0x3A3A3A,0x383838,0x353535,0x2D2D2D,0x404040,0x6E6E6E,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x6F6F6F,
+    0x484848,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x484848,
+    0x4C4C4C,0x4F4F4F,0x525252,0x565656,0x616161,0x696969,0x6A6A6A,0x646464,
+    0x595959,0x505050,0x484848,0x454545,0x424242,0x3F3F3F,0x3E3E3E,0x3D3D3D,
+    0x3B3B3B,0x3B3B3B,0x3E3E3E,0x484848,0x4F4F4F,0x525252,0x575757,0x5E5E5E,
+    0x676767,0x6B6B6B,0x676767,0x595959,0x4D4D4D,0x444444,0x3F3F3F,0x3A3A3A,
+    0x373737,0x323232,0x00FF00,0x00FF00,0x00FF00,0x2F2F2F,0x4C4C4C,0x474747,
+    0x4B4B4B,0x4D4D4D,0x4E4E4E,0x505050,0x515151,0x525252,0x555555,0x595959,
+    0x5E5E5E,0x616161,0x696969,0x6C6C6C,0x6B6B6B,0x696969,0x616161,0x585858,
+    0x4F4F4F,0x4A4A4A,0x454545,0x414141,0x3F3F3F,0x3C3C3C,0x3A3A3A,0x353535,
+    0x383838,0x161616,0x00FF00,0x00FF00,0x575757,0x727272,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x777777,0x323232,
+    0x00FF00,0x00FF00,0x323232,0x4A4A4A,0x4B4B4B,0x717171,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x707070,0x626262,
+    0x424242,0x474747,0x494949,0x4C4C4C,0x4D4D4D,0x4F4F4F,0x515151,0x525252,
+    0x555555,0x595959,0x5D5D5D,0x626262,0x686868,0x6A6A6A,0x6E6E6E,0x6E6E6E,
+    0x686868,0x606060,0x545454,0x4D4D4D,0x474747,0x434343,0x404040,0x3B3B3B,
+    0x383838,0x353535,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2A2A2A,
+    0x707070,0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6F6F6F,0x676767,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x585858,
+    0x707070,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6C6C6C,0x595959,0x646464,0x6B6B6B,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x6B6B6B,0x656565,
+    0x00FF00,0x00FF00,0x2A2A2A,0x656565,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x636363,0x5C5C5C,0x242424,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4D4D4D,0x525252,
+    0x535353,0x595959,0x626262,0x686868,0x676767,0x626262,0x5A5A5A,0x535353,
+    0x4F4F4F,0x494949,0x454545,0x434343,0x414141,0x3F3F3F,0x3E3E3E,0x3D3D3D,
+    0x3B3B3B,0x474747,0x525252,0x535353,0x575757,0x616161,0x666666,0x696969,
+    0x636363,0x585858,0x4D4D4D,0x444444,0x3F3F3F,0x3A3A3A,0x373737,0x353535,
+    0x303030,0x3D3D3D,0x5D5D5D,0x343434,0x3C3C3C,0x5B5B5B,0x565656,0x535353,
+    0x535353,0x535353,0x555555,0x575757,0x5A5A5A,0x626262,0x696969,0x696969,
+    0x656565,0x5D5D5D,0x545454,0x4C4C4C,0x464646,0x414141,0x3C3C3C,0x393939,
+    0x353535,0x323232,0x303030,0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x4B4B4B,0x4F4F4F,0x515151,0x525252,0x555555,
+    0x5B5B5B,0x646464,0x696969,0x696969,0x636363,0x585858,0x4F4F4F,0x454545,
+    0x3E3E3E,0x3A3A3A,0x383838,0x363636,0x323232,0x323232,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x252525,0x4F4F4F,0x4E4E4E,0x505050,0x535353,0x565656,
+    0x5B5B5B,0x656565,0x6A6A6A,0x696969,0x636363,0x595959,0x4E4E4E,0x424242,
+    0x3E3E3E,0x3A3A3A,0x383838,0x343434,0x2C2C2C,0x414141,0x6E6E6E,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x6F6F6F,0x464646,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1E1E1E,
+    0x494949,0x4B4B4B,0x4F4F4F,0x525252,0x565656,0x626262,0x696969,0x6A6A6A,
+    0x646464,0x585858,0x4F4F4F,0x484848,0x454545,0x424242,0x3F3F3F,0x3E3E3E,
+    0x3D3D3D,0x3B3B3B,0x3B3B3B,0x3E3E3E,0x484848,0x4F4F4F,0x525252,0x575757,
+    0x5E5E5E,0x676767,0x6B6B6B,0x676767,0x595959,0x4C4C4C,0x434343,0x3F3F3F,
+    0x3A3A3A,0x373737,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x494949,
+    0x484848,0x4B4B4B,0x4D4D4D,0x4E4E4E,0x505050,0x515151,0x525252,0x555555,
+    0x585858,0x5D5D5D,0x616161,0x696969,0x6C6C6C,0x6B6B6B,0x686868,0x616161,
+    0x575757,0x4F4F4F,0x4A4A4A,0x454545,0x414141,0x3F3F3F,0x3C3C3C,0x3A3A3A,
+    0x373737,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x535353,0x727272,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x747474,
+    0x3C3C3C,0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,0x4D4D4D,0x6F6F6F,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6F6F6F,
+    0x666666,0x474747,0x464646,0x494949,0x4B4B4B,0x4D4D4D,0x4F4F4F,0x505050,
+    0x525252,0x555555,0x595959,0x5D5D5D,0x626262,0x686868,0x6B6B6B,0x6E6E6E,
+    0x6C6C6C,0x686868,0x5E5E5E,0x545454,0x4D4D4D,0x474747,0x434343,0x404040,
+    0x3B3B3B,0x393939,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x202020,0x6B6B6B,0x6F6F6F,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x717171,0x5B5B5B,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x161616,
+    0x5F5F5F,0x6F6F6F,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x535353,0x676767,0x6B6B6B,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x6C6C6C,
+    0x5F5F5F,0x00FF00,0x00FF00,0x2F2F2F,0x656565,0x5F5F5F,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x636363,0x5D5D5D,
+    0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4A4A4A,
+    0x525252,0x535353,0x585858,0x616161,0x686868,0x676767,0x626262,0x5B5B5B,
+    0x535353,0x4E4E4E,0x494949,0x454545,0x434343,0x414141,0x3F3F3F,0x3E3E3E,
+    0x3D3D3D,0x3E3E3E,0x474747,0x515151,0x535353,0x565656,0x5E5E5E,0x666666,
+    0x696969,0x636363,0x585858,0x4C4C4C,0x444444,0x3F3F3F,0x3A3A3A,0x373737,
+    0x353535,0x303030,0x292929,0x5B5B5B,0x303030,0x3A3A3A,0x5C5C5C,0x565656,
+    0x535353,0x535353,0x535353,0x545454,0x575757,0x5A5A5A,0x636363,0x686868,
+    0x696969,0x656565,0x5E5E5E,0x545454,0x4C4C4C,0x464646,0x414141,0x3C3C3C,
+    0x393939,0x353535,0x333333,0x343434,0x151515,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x181818,0x4C4C4C,0x4E4E4E,0x515151,0x525252,
+    0x555555,0x5B5B5B,0x646464,0x696969,0x696969,0x636363,0x595959,0x4F4F4F,
+    0x444444,0x3F3F3F,0x3A3A3A,0x383838,0x353535,0x363636,0x222222,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x292929,0x4D4D4D,0x4E4E4E,0x505050,0x525252,
+    0x565656,0x5B5B5B,0x656565,0x696969,0x696969,0x636363,0x595959,0x4E4E4E,
+    0x434343,0x3E3E3E,0x3A3A3A,0x383838,0x343434,0x2C2C2C,0x464646,0x6F6F6F,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x6F6F6F,0x494949,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x1E1E1E,0x4A4A4A,0x4B4B4B,0x505050,0x525252,0x565656,0x626262,0x696969,
+    0x6A6A6A,0x626262,0x585858,0x4F4F4F,0x484848,0x454545,0x424242,0x3F3F3F,
+    0x3E3E3E,0x3D3D3D,0x3B3B3B,0x3E3E3E,0x414141,0x484848,0x4F4F4F,0x525252,
+    0x585858,0x606060,0x676767,0x6B6B6B,0x676767,0x585858,0x4C4C4C,0x434343,
+    0x3E3E3E,0x3A3A3A,0x373737,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x2D2D2D,0x4F4F4F,0x4A4A4A,0x4D4D4D,0x4F4F4F,0x505050,0x515151,0x525252,
+    0x555555,0x595959,0x5E5E5E,0x616161,0x686868,0x6C6C6C,0x6B6B6B,0x696969,
+    0x606060,0x575757,0x4F4F4F,0x494949,0x454545,0x414141,0x3F3F3F,0x3C3C3C,
+    0x393939,0x3C3C3C,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x585858,0x717171,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x727272,0x323232,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x535353,0x707070,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x737373,0x3E3E3E,0x3A3A3A,0x494949,0x494949,0x4B4B4B,0x4E4E4E,0x4F4F4F,
+    0x505050,0x525252,0x555555,0x595959,0x5E5E5E,0x626262,0x686868,0x6B6B6B,
+    0x6E6E6E,0x6C6C6C,0x676767,0x5E5E5E,0x545454,0x4D4D4D,0x474747,0x434343,
+    0x404040,0x3B3B3B,0x3A3A3A,0x262626,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x333333,0x707070,0x6E6E6E,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x717171,0x5A5A5A,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x232323,0x646464,0x6F6F6F,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x565656,0x686868,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x6E6E6E,0x575757,0x00FF00,0x00FF00,0x212121,0x636363,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x626262,
+    0x5E5E5E,0x313131,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x494949,0x525252,0x535353,0x585858,0x616161,0x686868,0x686868,0x626262,
+    0x5B5B5B,0x545454,0x4E4E4E,0x4A4A4A,0x454545,0x434343,0x414141,0x3F3F3F,
+    0x3F3F3F,0x424242,0x2D2D2D,0x424242,0x525252,0x535353,0x565656,0x5E5E5E,
+    0x666666,0x696969,0x636363,0x585858,0x4C4C4C,0x434343,0x3F3F3F,0x3A3A3A,
+    0x373737,0x353535,0x323232,0x454545,0x616161,0x333333,0x3C3C3C,0x5E5E5E,
+    0x575757,0x525252,0x535353,0x535353,0x555555,0x575757,0x595959,0x616161,
+    0x686868,0x696969,0x656565,0x5D5D5D,0x555555,0x4D4D4D,0x464646,0x414141,
+    0x3C3C3C,0x393939,0x353535,0x373737,0x222222,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x474747,0x4E4E4E,0x505050,
+    0x525252,0x555555,0x5A5A5A,0x636363,0x696969,0x696969,0x646464,0x595959,
+    0x4E4E4E,0x434343,0x3F3F3F,0x3B3B3B,0x383838,0x363636,0x323232,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x161616,0x4D4D4D,0x4F4F4F,0x505050,
+    0x525252,0x555555,0x5A5A5A,0x646464,0x6A6A6A,0x696969,0x626262,0x575757,
+    0x4E4E4E,0x434343,0x3E3E3E,0x3A3A3A,0x383838,0x393939,0x222222,0x343434,
+    0x727272,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x6F6F6F,0x4A4A4A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x434343,0x4D4D4D,0x505050,0x525252,0x575757,0x626262,
+    0x6A6A6A,0x696969,0x626262,0x585858,0x4F4F4F,0x484848,0x454545,0x414141,
+    0x3F3F3F,0x3E3E3E,0x3D3D3D,0x414141,0x303030,0x363636,0x4A4A4A,0x4F4F4F,
+    0x525252,0x585858,0x606060,0x676767,0x6B6B6B,0x666666,0x585858,0x4B4B4B,
+    0x434343,0x3E3E3E,0x3A3A3A,0x373737,0x323232,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x434343,0x4D4D4D,0x4D4D4D,0x4F4F4F,0x515151,0x515151,
+    0x535353,0x565656,0x595959,0x5E5E5E,0x616161,0x686868,0x6C6C6C,0x6B6B6B,
+    0x686868,0x606060,0x565656,0x4E4E4E,0x494949,0x454545,0x414141,0x3F3F3F,
+    0x3B3B3B,0x3A3A3A,0x373737,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x595959,
+    0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6E6E6E,0x707070,0x1C1C1C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x484848,
+    0x747474,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x767676,0x363636,0x1B1B1B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4E4E4E,
+    0x4F4F4F,0x505050,0x525252,0x555555,0x595959,0x5E5E5E,0x646464,0x696969,
+    0x6B6B6B,0x6E6E6E,0x6B6B6B,0x676767,0x5C5C5C,0x525252,0x4C4C4C,0x464646,
+    0x424242,0x3F3F3F,0x3B3B3B,0x3A3A3A,0x151515,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x2B2B2B,0x727272,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x727272,0x4A4A4A,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x252525,0x666666,0x6E6E6E,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x565656,0x696969,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x6F6F6F,0x4F4F4F,0x00FF00,0x00FF00,0x191919,0x616161,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x626262,0x616161,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x434343,0x535353,0x535353,0x585858,0x616161,0x676767,0x686868,
+    0x636363,0x5C5C5C,0x545454,0x4F4F4F,0x4A4A4A,0x454545,0x434343,0x414141,
+    0x414141,0x424242,0x202020,0x00FF00,0x2F2F2F,0x555555,0x535353,0x565656,
+    0x5E5E5E,0x666666,0x696969,0x636363,0x575757,0x4D4D4D,0x444444,0x404040,
+    0x3A3A3A,0x383838,0x3A3A3A,0x1A1A1A,0x181818,0x5D5D5D,0x333333,0x373737,
+    0x595959,0x575757,0x535353,0x535353,0x535353,0x545454,0x565656,0x595959,
+    0x616161,0x686868,0x696969,0x666666,0x5E5E5E,0x555555,0x4C4C4C,0x464646,
+    0x414141,0x3D3D3D,0x393939,0x3A3A3A,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x434343,0x4F4F4F,
+    0x505050,0x525252,0x555555,0x5A5A5A,0x646464,0x696969,0x696969,0x646464,
+    0x595959,0x4F4F4F,0x444444,0x3E3E3E,0x3A3A3A,0x393939,0x3B3B3B,0x161616,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x494949,0x4E4E4E,
+    0x505050,0x525252,0x555555,0x5A5A5A,0x646464,0x6A6A6A,0x696969,0x626262,
+    0x575757,0x4E4E4E,0x434343,0x3E3E3E,0x3A3A3A,0x3A3A3A,0x373737,0x00FF00,
+    0x373737,0x707070,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x717171,0x434343,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x444444,0x4C4C4C,0x4F4F4F,0x535353,0x575757,
+    0x626262,0x6A6A6A,0x696969,0x616161,0x575757,0x4E4E4E,0x484848,0x454545,
+    0x414141,0x3F3F3F,0x3E3E3E,0x434343,0x313131,0x00FF00,0x2F2F2F,0x4C4C4C,
+    0x4F4F4F,0x525252,0x585858,0x606060,0x676767,0x6C6C6C,0x656565,0x565656,
+    0x4A4A4A,0x424242,0x3E3E3E,0x393939,0x3C3C3C,0x1E1E1E,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x161616,0x505050,0x4E4E4E,0x4F4F4F,0x515151,
+    0x525252,0x535353,0x565656,0x5A5A5A,0x606060,0x626262,0x676767,0x6C6C6C,
+    0x6B6B6B,0x676767,0x606060,0x565656,0x4E4E4E,0x494949,0x454545,0x414141,
+    0x3F3F3F,0x3B3B3B,0x3C3C3C,0x191919,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x545454,0x717171,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x737373,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x4F4F4F,0x727272,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x737373,0x474747,0x00FF00,0x252525,0x525252,0x4C4C4C,
+    0x4E4E4E,0x505050,0x515151,0x535353,0x565656,0x5A5A5A,0x5E5E5E,0x646464,
+    0x696969,0x6B6B6B,0x6E6E6E,0x6B6B6B,0x656565,0x5C5C5C,0x515151,0x4B4B4B,
+    0x464646,0x414141,0x3F3F3F,0x3D3D3D,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3C3C3C,0x717171,0x6E6E6E,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6B6B6B,0x707070,0x565656,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x2B2B2B,0x676767,0x6E6E6E,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x676767,0x535353,
+    0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x707070,0x444444,0x00FF00,0x00FF00,0x00FF00,0x5C5C5C,
+    0x616161,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x626262,0x636363,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x474747,0x535353,0x535353,0x585858,0x616161,0x676767,
+    0x686868,0x616161,0x5B5B5B,0x545454,0x4F4F4F,0x494949,0x454545,0x444444,
+    0x474747,0x3E3E3E,0x171717,0x00FF00,0x00FF00,0x303030,0x545454,0x535353,
+    0x575757,0x606060,0x676767,0x696969,0x636363,0x585858,0x4D4D4D,0x444444,
+    0x3F3F3F,0x3A3A3A,0x3E3E3E,0x282828,0x00FF00,0x202020,0x636363,0x343434,
+    0x3B3B3B,0x5E5E5E,0x575757,0x525252,0x535353,0x535353,0x555555,0x565656,
+    0x5A5A5A,0x626262,0x686868,0x696969,0x656565,0x5D5D5D,0x565656,0x4D4D4D,
+    0x464646,0x414141,0x3D3D3D,0x3A3A3A,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,
+    0x525252,0x505050,0x525252,0x555555,0x5B5B5B,0x646464,0x696969,0x696969,
+    0x636363,0x595959,0x4F4F4F,0x444444,0x3F3F3F,0x3A3A3A,0x3C3C3C,0x202020,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,
+    0x4F4F4F,0x505050,0x535353,0x565656,0x5A5A5A,0x656565,0x6A6A6A,0x696969,
+    0x636363,0x575757,0x4C4C4C,0x434343,0x3E3E3E,0x3A3A3A,0x3B3B3B,0x1A1A1A,
+    0x00FF00,0x363636,0x6F6F6F,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x717171,0x3C3C3C,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3F3F3F,0x4E4E4E,0x4F4F4F,0x535353,
+    0x585858,0x626262,0x6A6A6A,0x696969,0x616161,0x565656,0x4E4E4E,0x484848,
+    0x454545,0x414141,0x404040,0x444444,0x323232,0x00FF00,0x00FF00,0x2B2B2B,
+    0x4E4E4E,0x4F4F4F,0x525252,0x585858,0x606060,0x676767,0x6C6C6C,0x656565,
+    0x565656,0x4A4A4A,0x424242,0x3E3E3E,0x3C3C3C,0x2E2E2E,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2E2E2E,0x535353,0x4F4F4F,
+    0x505050,0x525252,0x535353,0x565656,0x5A5A5A,0x5E5E5E,0x626262,0x676767,
+    0x6B6B6B,0x6B6B6B,0x676767,0x606060,0x565656,0x4E4E4E,0x494949,0x444444,
+    0x414141,0x3F3F3F,0x434343,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x5C5C5C,0x717171,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x747474,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x4B4B4B,0x727272,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x737373,0x2B2B2B,0x00FF00,0x00FF00,0x323232,
+    0x525252,0x4F4F4F,0x505050,0x515151,0x535353,0x565656,0x5A5A5A,0x5E5E5E,
+    0x646464,0x696969,0x6B6B6B,0x6E6E6E,0x6B6B6B,0x666666,0x5C5C5C,0x525252,
+    0x4B4B4B,0x454545,0x414141,0x404040,0x3C3C3C,0x161616,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x353535,0x747474,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6B6B6B,0x737373,
+    0x464646,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x2C2C2C,0x6B6B6B,0x6C6C6C,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,0x646464,
+    0x585858,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x707070,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,
+    0x5D5D5D,0x616161,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x616161,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x626262,0x636363,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x3B3B3B,0x545454,0x535353,0x585858,0x616161,
+    0x686868,0x676767,0x616161,0x5B5B5B,0x545454,0x4E4E4E,0x4A4A4A,0x4B4B4B,
+    0x464646,0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x292929,0x565656,
+    0x535353,0x565656,0x5D5D5D,0x666666,0x696969,0x636363,0x585858,0x4D4D4D,
+    0x444444,0x414141,0x404040,0x232323,0x00FF00,0x00FF00,0x181818,0x636363,
+    0x373737,0x373737,0x575757,0x585858,0x535353,0x535353,0x535353,0x545454,
+    0x575757,0x595959,0x626262,0x686868,0x696969,0x656565,0x5D5D5D,0x555555,
+    0x4D4D4D,0x464646,0x414141,0x424242,0x3A3A3A,0x151515,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x4C4C4C,0x515151,0x525252,0x555555,0x5B5B5B,0x646464,0x696969,
+    0x696969,0x636363,0x585858,0x4D4D4D,0x434343,0x414141,0x434343,0x1F1F1F,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x242424,0x565656,0x505050,0x525252,0x565656,0x5B5B5B,0x656565,0x6A6A6A,
+    0x696969,0x626262,0x575757,0x4C4C4C,0x424242,0x404040,0x424242,0x1B1B1B,
+    0x00FF00,0x00FF00,0x202020,0x6E6E6E,0x6A6A6A,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x727272,0x333333,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x262626,0x545454,0x4F4F4F,
+    0x525252,0x585858,0x626262,0x6A6A6A,0x696969,0x606060,0x555555,0x4F4F4F,
+    0x484848,0x444444,0x454545,0x414141,0x1E1E1E,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x4A4A4A,0x505050,0x525252,0x595959,0x606060,0x676767,0x6B6B6B,
+    0x656565,0x565656,0x494949,0x424242,0x404040,0x3F3F3F,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2D2D2D,
+    0x565656,0x515151,0x515151,0x535353,0x565656,0x5A5A5A,0x606060,0x626262,
+    0x696969,0x6B6B6B,0x6B6B6B,0x686868,0x5F5F5F,0x565656,0x4E4E4E,0x494949,
+    0x454545,0x414141,0x434343,0x3A3A3A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x616161,0x707070,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6E6E6E,0x707070,0x242424,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x4D4D4D,0x737373,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x767676,0x323232,0x00FF00,0x00FF00,
+    0x00FF00,0x2C2C2C,0x545454,0x515151,0x505050,0x535353,0x565656,0x5A5A5A,
+    0x5E5E5E,0x646464,0x696969,0x6C6C6C,0x6E6E6E,0x6B6B6B,0x656565,0x5B5B5B,
+    0x515151,0x4B4B4B,0x454545,0x414141,0x414141,0x363636,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x454545,0x727272,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6B6B6B,0x6B6B6B,
+    0x727272,0x434343,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x333333,0x6C6C6C,0x6C6C6C,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6B6B6B,
+    0x646464,0x5A5A5A,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x717171,0x303030,0x00FF00,0x00FF00,
+    0x161616,0x5F5F5F,0x606060,0x5F5F5F,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,0x606060,
+    0x606060,0x606060,0x606060,0x606060,0x616161,0x616161,0x616161,0x616161,
+    0x616161,0x616161,0x616161,0x616161,0x646464,0x363636,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2F2F2F,0x5C5C5C,0x535353,0x575757,
+    0x616161,0x686868,0x686868,0x626262,0x5B5B5B,0x565656,0x545454,0x4F4F4F,
+    0x3D3D3D,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,
+    0x565656,0x535353,0x565656,0x606060,0x666666,0x686868,0x646464,0x595959,
+    0x4E4E4E,0x4C4C4C,0x414141,0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,
+    0x5E5E5E,0x333333,0x3A3A3A,0x656565,0x5E5E5E,0x575757,0x545454,0x535353,
+    0x545454,0x565656,0x595959,0x616161,0x686868,0x696969,0x656565,0x5E5E5E,
+    0x555555,0x4D4D4D,0x464646,0x484848,0x363636,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x353535,0x5B5B5B,0x535353,0x555555,0x5B5B5B,0x646464,
+    0x696969,0x696969,0x636363,0x585858,0x4E4E4E,0x494949,0x3D3D3D,0x1E1E1E,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x3A3A3A,0x585858,0x525252,0x565656,0x5B5B5B,0x656565,
+    0x6A6A6A,0x686868,0x616161,0x575757,0x4D4D4D,0x494949,0x3C3C3C,0x1D1D1D,
+    0x00FF00,0x00FF00,0x00FF00,0x272727,0x717171,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x717171,0x3A3A3A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,
+    0x575757,0x525252,0x585858,0x626262,0x6A6A6A,0x696969,0x606060,0x555555,
+    0x4F4F4F,0x494949,0x494949,0x414141,0x161616,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x313131,0x585858,0x525252,0x595959,0x606060,0x676767,
+    0x6B6B6B,0x646464,0x555555,0x494949,0x434343,0x434343,0x1E1E1E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x2B2B2B,0x555555,0x535353,0x535353,0x565656,0x5A5A5A,0x606060,
+    0x626262,0x6A6A6A,0x6B6B6B,0x6B6B6B,0x686868,0x5D5D5D,0x545454,0x4D4D4D,
+    0x494949,0x464646,0x454545,0x3B3B3B,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x656565,0x6F6F6F,0x6B6B6B,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6F6F6F,0x6B6B6B,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x5C5C5C,0x717171,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x737373,0x363636,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x232323,0x535353,0x555555,0x535353,0x565656,
+    0x5B5B5B,0x606060,0x646464,0x696969,0x6C6C6C,0x6E6E6E,0x6A6A6A,0x656565,
+    0x5A5A5A,0x505050,0x4A4A4A,0x454545,0x434343,0x424242,0x161616,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x474747,0x727272,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x757575,0x363636,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x363636,0x6E6E6E,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6C6C6C,0x616161,0x5B5B5B,0x6C6C6C,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,0x696969,
+    0x696969,0x696969,0x696969,0x696969,0x696969,0x6F6F6F,0x282828,0x00FF00,
+    0x00FF00,0x00FF00,0x5B5B5B,0x676767,0x646464,0x656565,0x656565,0x656565,
+    0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,0x656565,
+    0x656565,0x656565,0x656565,0x656565,0x656565,0x666666,0x666666,0x666666,
+    0x666666,0x666666,0x666666,0x666666,0x666666,0x6C6C6C,0x2E2E2E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3A3A3A,0x585858,
+    0x5B5B5B,0x616161,0x686868,0x6B6B6B,0x686868,0x626262,0x565656,0x383838,
+    0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x363636,0x5B5B5B,0x595959,0x5D5D5D,0x666666,0x696969,0x666666,
+    0x5E5E5E,0x515151,0x2E2E2E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x191919,0x666666,0x3C3C3C,0x343434,0x323232,0x323232,0x393939,0x565656,
+    0x575757,0x555555,0x575757,0x595959,0x606060,0x676767,0x696969,0x656565,
+    0x5E5E5E,0x575757,0x515151,0x4B4B4B,0x323232,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,0x545454,0x5B5B5B,0x5C5C5C,
+    0x646464,0x6A6A6A,0x6A6A6A,0x656565,0x5D5D5D,0x525252,0x3D3D3D,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x424242,0x585858,0x5B5B5B,0x5B5B5B,
+    0x646464,0x6B6B6B,0x696969,0x636363,0x5C5C5C,0x515151,0x3C3C3C,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x353535,0x797979,0x6F6F6F,0x6F6F6F,
+    0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,
+    0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x777777,
+    0x444444,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x393939,0x5A5A5A,0x5A5A5A,0x636363,0x6B6B6B,0x6A6A6A,0x606060,
+    0x595959,0x515151,0x4B4B4B,0x2A2A2A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x424242,0x5B5B5B,0x5A5A5A,0x626262,
+    0x6B6B6B,0x6C6C6C,0x646464,0x565656,0x505050,0x454545,0x202020,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x282828,0x555555,0x585858,0x585858,0x5B5B5B,
+    0x616161,0x626262,0x696969,0x6B6B6B,0x6B6B6B,0x676767,0x5D5D5D,0x545454,
+    0x4E4E4E,0x4C4C4C,0x494949,0x282828,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x6C6C6C,0x757575,0x727272,0x727272,
+    0x727272,0x727272,0x737373,0x737373,0x737373,0x737373,0x737373,0x737373,
+    0x737373,0x737373,0x737373,0x737373,0x737373,0x747474,0x747474,0x1B1B1B,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x5A5A5A,0x797979,0x737373,0x737373,
+    0x737373,0x737373,0x737373,0x737373,0x737373,0x737373,0x737373,0x737373,
+    0x737373,0x737373,0x737373,0x737373,0x737373,0x747474,0x767676,0x1D1D1D,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1A1A1A,0x4E4E4E,0x5A5A5A,
+    0x5B5B5B,0x5B5B5B,0x606060,0x656565,0x696969,0x6B6B6B,0x6E6E6E,0x696969,
+    0x636363,0x5A5A5A,0x505050,0x4A4A4A,0x484848,0x454545,0x1E1E1E,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x4F4F4F,
+    0x797979,0x737373,0x707070,0x6C6C6C,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6D6D6D,0x6D6D6D,0x6D6D6D,0x6D6D6D,0x6D6D6D,0x6D6D6D,
+    0x6D6D6D,0x6D6D6D,0x727272,0x2F2F2F,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3D3D3D,0x717171,
+    0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6C6C6C,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6E6E6E,0x5D5D5D,0x5C5C5C,0x6E6E6E,0x6B6B6B,0x6B6B6B,0x6B6B6B,
+    0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6B6B6B,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,
+    0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x6A6A6A,0x717171,0x282828,
+    0x00FF00,0x00FF00,0x00FF00,0x404040,0x434343,0x424242,0x434343,0x434343,
+    0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,
+    0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,
+    0x434343,0x434343,0x434343,0x434343,0x434343,0x434343,0x484848,0x1A1A1A,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x353535,0x494949,0x666666,0x707070,0x5A5A5A,0x434343,0x3A3A3A,0x141414,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x393939,0x4B4B4B,0x656565,0x696969,0x707070,
+    0x585858,0x404040,0x1E1E1E,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x626262,0x383838,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x1E1E1E,0x444444,0x5A5A5A,0x5A5A5A,0x5C5C5C,0x656565,0x6B6B6B,0x6E6E6E,
+    0x696969,0x636363,0x565656,0x363636,0x161616,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x272727,0x404040,
+    0x5A5A5A,0x686868,0x6E6E6E,0x707070,0x5A5A5A,0x404040,0x232323,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x282828,0x3F3F3F,
+    0x595959,0x696969,0x6F6F6F,0x707070,0x5B5B5B,0x3F3F3F,0x242424,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x2B2B2B,0x4F4F4F,0x494949,
+    0x494949,0x494949,0x494949,0x494949,0x494949,0x494949,0x494949,0x494949,
+    0x494949,0x494949,0x494949,0x494949,0x494949,0x494949,0x494949,0x494949,
+    0x4D4D4D,0x2C2C2C,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x343434,0x565656,0x686868,0x6F6F6F,0x6E6E6E,
+    0x666666,0x4A4A4A,0x252525,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x393939,0x595959,
+    0x676767,0x6F6F6F,0x6F6F6F,0x686868,0x545454,0x323232,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x141414,0x363636,0x555555,
+    0x616161,0x636363,0x656565,0x6E6E6E,0x6C6C6C,0x6B6B6B,0x6A6A6A,0x616161,
+    0x575757,0x515151,0x373737,0x171717,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x474747,0x4C4C4C,0x4A4A4A,
+    0x4A4A4A,0x4A4A4A,0x4A4A4A,0x4A4A4A,0x4A4A4A,0x4B4B4B,0x4B4B4B,0x4B4B4B,
+    0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4E4E4E,
+    0x181818,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x3E3E3E,0x4E4E4E,0x4B4B4B,
+    0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,
+    0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x4B4B4B,0x505050,
+    0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x292929,0x4B4B4B,0x636363,0x646464,0x696969,0x6C6C6C,0x6C6C6C,0x6E6E6E,
+    0x696969,0x646464,0x5C5C5C,0x525252,0x4E4E4E,0x343434,0x151515,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x272727,0x515151,0x494949,0x616161,0x737373,0x717171,0x717171,0x717171,
+    0x717171,0x717171,0x707070,0x707070,0x707070,0x707070,0x707070,0x707070,
+    0x707070,0x707070,0x707070,0x797979,0x2D2D2D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x323232,
+    0x787878,0x707070,0x707070,0x707070,0x707070,0x707070,0x707070,0x6F6F6F,
+    0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,
+    0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,
+    0x6F6F6F,0x6F6F6F,0x727272,0x585858,0x606060,0x717171,0x6F6F6F,0x6F6F6F,
+    0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6F6F6F,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,
+    0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6E6E6E,0x6F6F6F,0x727272,
+    0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x202020,0x222222,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x1F1F1F,0x1C1C1C,
+    0x232323,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x1C1C1C,0x595959,0x1D1D1D,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x1C1C1C,0x202020,0x4A4A4A,0x4F4F4F,0x555555,
+    0x575757,0x4F4F4F,0x202020,0x161616,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x1A1A1A,0x1D1D1D,0x1D1D1D,0x1F1F1F,0x141414,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x181818,0x1D1D1D,0x1D1D1D,0x1F1F1F,0x151515,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x161616,0x1D1D1D,0x1D1D1D,
+    0x1D1D1D,0x202020,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x181818,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x171717,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x151515,0x3A3A3A,0x525252,0x505050,0x555555,0x6B6B6B,0x696969,0x535353,
+    0x4E4E4E,0x414141,0x1A1A1A,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x252525,0x4E4E4E,0x525252,0x5B5B5B,0x777777,
+    0x797979,0x767676,0x676767,0x4A4A4A,0x404040,0x1D1D1D,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x232323,0x1E1E1E,0x1E1E1E,
+    0x1E1E1E,0x1E1E1E,0x1E1E1E,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x1D1D1D,
+    0x1D1D1D,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x202020,0x151515,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,0x00FF00,
+    0x00FF00,0x232323,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x1D1D1D,0x1D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KTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGR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PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_FORGRND,P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DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL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P,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTO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,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKT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L_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_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OP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL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GRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL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RND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORG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P2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCK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TOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP1,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKT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KTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1
+};
--- /dev/null
+++ b/src/gfxdata/ft2_gfx_midi.c
@@ -1,0 +1,715 @@
+#include <stdint.h>
+#include "../ft2_palette.h"
+
+const uint8_t midiLogo[5665] =
+{
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGR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,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2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AL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR
+};
+
+const uint8_t mouseCursorBusyGlass[13156] =
+{
+	PAL_TRANSPR,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL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PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR
+};
--- /dev/null
+++ b/src/gfxdata/ft2_gfx_nibbles.c
@@ -1,0 +1,5651 @@
+#include <stdint.h>
+#include "../ft2_palette.h"
+
+const uint8_t nibblesLogo[5369] =
+{
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,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ESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+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,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,P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L_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,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PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	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P,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSK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ESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
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AL_FORGRND,PAL_FORGRND,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,
+	PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,PAL_FORGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_FORGRND,PAL_FORGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTO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,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP
+};
+
+const uint8_t nibblesStages[53000] =
+{
+	PAL_BCKGRND,PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BLCKMRK,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,
+	PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BLCKMRK,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BLCKTXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_PATTEXT,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_B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RND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_PATTEXT,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,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GRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_PATTEXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BLCKTXT,PAL_BLCKTXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKMRK,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_PATTEXT,PAL_BLCKTXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_PATTEXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_PATTEXT,PAL_PATTEXT,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_BLCKTXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKG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KGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,P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AL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,P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CKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_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_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BLCKTXT,PAL_BLCKTXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_BLCKTXT,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_BLCKTXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_PATTEXT,PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_PATTEXT,PAL_PATTEXT,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,PAL_BLCKTXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BLCKTXT,
+	PAL_PATTEXT,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BLCKMRK,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_PATTEXT,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,P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,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FOR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UTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BC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AL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,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RND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,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RND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,P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TOP2,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,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ND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGR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BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_BCKGRND,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_BCKGRND,PAL_BCKGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_BCKGRND,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,PAL_DSKTOP2,PAL_DSKTOP2,PAL_BCKGRND,PAL_BCKGRND,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DSKTOP2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	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CKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_PATTEXT,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND
+};
--- /dev/null
+++ b/src/gfxdata/ft2_gfx_sampler.c
@@ -1,0 +1,1250 @@
+#include <stdint.h>
+#include "../ft2_palette.h"
+
+const uint8_t leftLoopPinUnclicked[2464] =
+{
+	PAL_DSKTOP2,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,
+	PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DSKTOP1,PAL_DESKTOP,
+	PAL_TRANSPR,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_DSKTOP2,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_T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TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_LOOPPIN,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_LOOPPIN,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR
+};
+
+const uint8_t rightLoopPinUnclicked[2464] =
+{
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_LOOPPIN,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_LOOPPIN,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_LOOPPIN,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,P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PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DSKTOP2,
+	PAL_DSKTOP2,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,
+	PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP,PAL_DESKTOP
+};
--- /dev/null
+++ b/src/gfxdata/ft2_gfx_scopes.c
@@ -1,0 +1,1605 @@
+#include <stdint.h>
+#include "../ft2_palette.h"
+
+const uint8_t scopeRecBMP[52] =
+{
+	PAL_MOUSEPT,PAL_MOUSEPT,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_MOUSEPT,PAL_MOUSEPT,PAL_MOUSEPT,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_MOUSEPT,PAL_MOUSEPT,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_MOUSEPT,PAL_MOUSEPT,PAL_MOUSEPT,
+	PAL_TRANSPR,PAL_MOUSEPT,PAL_MOUSEPT,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_MOUSEPT,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_MOUSEPT,PAL_TRANSPR,
+	PAL_MOUSEPT,PAL_TRANSPR,PAL_MOUSEPT,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_MOUSEPT,PAL_TRANSPR,
+	PAL_TRANSPR,PAL_TRANSPR,PAL_TRANSPR,PAL_MOUSEPT,
+	PAL_TRANSPR,PAL_MOUSEPT,PAL_TRANSPR,PAL_MOUSEPT,
+	PAL_MOUSEPT,PAL_MOUSEPT,PAL_TRANSPR,PAL_TRANSPR,
+	PAL_MOUSEPT,PAL_MOUSEPT,PAL_TRANSPR,PAL_MOUSEPT
+};
+
+const uint8_t scopeMuteBMP1[4374] =
+{
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_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L_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCK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_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
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UTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORG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KGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_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
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BC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ND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,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_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL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_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUT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,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKG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PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BC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ND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BC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RND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGR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RND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t scopeMuteBMP2[2997] =
+{
+	PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PA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KGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	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L_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKG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S,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_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RND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_B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PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t scopeMuteBMP3[1976] =
+{
+	PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_B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PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND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PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKG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_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,P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[1400] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PA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KGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BUTTON2,P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GRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_B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ND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BC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CKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t scopeMuteBMP5[1050] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND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GRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t scopeMuteBMP6[875] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGR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BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t scopeMuteBMP7[672] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCK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L_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,P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GRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS
+};
+
+const uint8_t scopeMuteBMP8[576] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BC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AL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS
+};
+
+const uint8_t scopeMuteBMP9[504] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BUTTON2,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTON1,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_FORGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PA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ND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS
+};
+
+const uint8_t scopeMuteBMP10[408] =
+{
+	PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS
+};
+
+const uint8_t scopeMuteBMP11[288] =
+{
+	PAL_BUTTON2,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BUTTON1,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,
+	PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND
+};
+
+const uint8_t scopeMuteBMP12[216] =
+{
+	PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_FORGRND,
+	PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BUTTON1,PAL_FORGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON1,PAL_BUTTON1,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON2,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_FORGRND,PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BUTTONS,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTON1,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS,PAL_BUTTONS,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BUTTONS,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BUTTON2,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_FORGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,
+	PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BCKGRND,PAL_BUTTONS
+};
binary files /dev/null b/src/gfxdata/icon/ft2-clone.ico differ
--- /dev/null
+++ b/src/helpdata/FT2.HLP
@@ -1,0 +1,937 @@
+;***************************************************************************
+;***************************************************************************
+@LFeatures
+
+@X040@C001Brief list of features:
+>@X060@C002
+>- 32 channels.
+>- Full MIDI support (input only in this clone!)
+>- 12-Point Volume- & Panning Envelope.
+>- Multisamples, up to 16 samples/instrument.
+>- 128 instruments.
+>- "Unlimited" sample length. (1GB in this clone)
+>- 8 octaves.
+>- Variable pattern length.
+>- Built in sampler/sample editor.
+>- Up to 256 patterns.
+>- Song length up to 256.
+>- New volume/panning/vibrato column.
+>- Song editor.
+>- Full screen edit mode.
+>- Improved editing facilities.
+
+@X040@C001FT2 supports the following file formats:
+
+@X040@C001Modules:
+>@X060@C002
+>- Standard modules (15- > 31-instruments). (MOD,NST)
+>- Fasttracker v1.0 2,4,6,8..32-channel formats. (MOD)
+>- ScreamTracker modules. (STM,S3M)
+>
+@X040@C001Samples:
+>@X060@C002
+>- Gravis Ultrasound Patches, PAT.
+>- SMP/SAM/RAW/SND data files, signed and unsigned.
+>- Windows WAV-files.
+>- Amiga IFF-files. (Interchange File Format)
+>- Apple AIFF-files.
+
+@X040@C001FT2 introduces several new file formats:
+>@X060@C002
+>- XM  @T110Extended module.
+>- XI  @T110Extended instrument.
+>- XP  @T110Extended pattern.
+>- XT  @T110Extended track.
+
+END
+;***************************************************************************
+;***************************************************************************
+@LEffects
+
+@X040@C001Short summary:
+>@X060@C002
+>0 Arpeggio
+>1 Portamento up
+>2 Portamento down
+>3 Tone portamento
+>4 Vibrato
+>5 Portamento + Volume slide
+>6 Vibrato + Volume slide
+>7 Tremolo
+>8 Set panning position
+>9 Sample offset
+>A Volume slide
+>B Position jump
+>C Set volume
+>D Pattern break
+>E +
+>@X0800 Filter on/off (Amiga only!)
+>1 Fine portamento up
+>2 Fine portamento down
+>3 Set glissando control
+>4 Set vibrato control
+>5 Set fine-tune
+>6 Jump loop
+>7 Set tremolo control
+>8 Unused
+>9 Retrig note
+>A Fine volume slide up
+>B Fine volume slide down
+>C Note cut
+>D Note delay
+>E Pattern delay
+>F Funk it! (Not implemented)
+>@X060
+F Set speed
+>G Set global volume
+>H Global volume slide
+>K Key off
+>L Set envelope position
+>P Panning slide
+>R Multi retrig note
+>T Tremor
+>X +
+>@X0801 Extra fine portamento up
+>2 Extra fine portamento down
+
+@X040@C001Volume column:
+>@X060@C002
+00..40 @T160Set volume.
+>
+>- @T160Volume slide down.
+>+ @T160Volume slide up.
+>D @T160Fine volume slide down. (Indicated by symbol)
+>U @T160Fine volume slide up. (Indicated by symbol)
+>S @T160Set vibrato speed.
+>V @T160Vibrato.
+>P @T160Set panning position.
+>R @T160Panning slide right. (Indicated by symbol)
+>L @T160Panning slide left. (Indicated by symbol)
+>M @T160Tone portamento.
+
+
+@L@X000Detailed information
+
+@X040@C001Arpeggio
+>@X060@C002
+Syntax: 0 + 1st halftone + 2nd halftone
+
+Ex.: C-1  037
+
+>10 Plays C-1 tick #1.
+>20 Plays C-1 + 3 Notes = D#1 tick #2.
+>30 Plays C-1 + 7 Notes = G-1 tick #3.
+>40 Goto 10
+
+@X040@C001Portamento up/down
+>@X060@C002
+Syntax: (1 or 2) + Speed
+
+Portamento is used to slide the sample pitch up or down. This is
+done using the period value. If Amiga frequency table is used, the
+sliding will be non-linear (the speed depends on the frequency).
+
+@X040@C001Tone portamento
+>@X060@C002
+Syntax: 3 + Speed
+
+This command is used together with a note, and will slide to its
+frequency. If glissando (E3) is used, the frequency will be rounded
+to the nearest halftone.
+
+@X040@C001Vibrato
+>@X060@C002
+Syntax: 4 + Rate + Depth
+
+Adds vibrato to the channel with a rate and speed. Set vibrato
+control (E4) can be used to change the vibrato wave form (see
+below).
+
+@X040@C001Tone portamento + volume slide
+>@X060@C002
+Syntax: 5 + Speed
+
+This command will execute both tone portamento and volume slide.
+The speed is used for the volume slide.
+
+@X040@C001Vibrato + volume slide
+>@X060@C002
+Syntax: 6 + Speed
+
+This command will execute both vibrato and volume slide. The
+speed is used for the volume slide.
+
+@X040@C001Tremolo
+>@X060@C002
+Syntax: 7 + Rate + Depth
+
+Tremolo adds vibrato to the current volume. The syntax is exactly
+as for the vibrato command.
+
+@X040@C001Set panning position
+>@X060@C002
+Syntax: 8 + Position
+
+Sets the panning position for the channel. $00 is the leftmost
+position and $FF the rightmost. Note that some sound cards (ex.
+GUS) can't use as many as 256 panning positions.
+
+@X040@C001Sample offset
+>@X060@C002
+Syntax: 9 + Offset
+
+This command should be used together with a note. The sample will
+be played from (Offset*$100) instead of zero.
+
+@X040@C001Volume slide
+>@X060@C002
+Syntax: A + Up speed + Down speed
+
+Slides the current volume up or down. Either up speed or down
+speed should be zero.
+
+@X040@C001Position jump
+>@X060@C002
+Syntax: B + Position
+
+This command will jump to the selected song position and play the
+pattern from the beginning.
+
+@X040@C001Set volume
+>@X060@C002
+Syntax: C + Volume
+
+Sets the current volume. The volume should not be greater than
+$40.
+
+@X040@C001Pattern break
+>@X060@C002
+Syntax: D + Pattern-position
+
+This command will jump to the next pattern and play from the
+specified position.
+
+@X040@C001Set filter (Amiga only!)
+>@X060@C002
+Syntax: E0 + Status
+
+Use E00 and your tune will sound really bad on an Amiga!
+
+@X040@C001Fine portamento up/down
+>@X060@C002
+Syntax: E(1 or 2) + Speed
+
+This command works as portamento up/down, but it only slides up
+once.
+
+@X040@C001Set glissando control
+>@X060@C002
+Syntax: E3 + Status
+
+If Status is =1, the frequency when using tone portamento will be
+rounded to the nearest halftone.
+
+@X040@C001Set vibrato control
+>@X060@C002
+Syntax: E4 + Type
+
+This command controls the vibrato wave form.
+
+Type: 0 = Sine       1 = Ramp down       2 = Square
+
+If you add 4 to the type, the wave form will not be retrigged when a
+new instrument is played.
+
+@X040@C001Set fine-tune
+>@X060@C002
+Syntax: E5 + Tune
+
+This command should be used together with a note. It will cause
+another fine-tune value to be used. It seems quite unusable to me...
+
+@X040@C001Pattern loop
+>@X060@C002
+Syntax: E6 + Count
+
+If count is zero, the beginning of the loop will be specified. When a
+non-zero value is used, the pattern will be looped from the loop
+start.
+
+@X040@C001Set tremolo control
+>@X060@C002
+Syntax: E7 + Type
+
+This command works exactly as set vibrato control, but the
+tremolo wave form will be changed instead.
+
+@X040@C001Retrig note
+>@X060@C002
+Syntax: E9 + Interval
+
+Retrigs the note with the specified interval.
+
+@X040@C001Fine volume slide up/down
+>@X060@C002
+Syntax: E(A or B) + Speed
+
+This command works as the usual volume slide, but it will only slide
+once.
+
+@X040@C001Note cut
+>@X060@C002
+Syntax: EC + Tick
+
+Cuts the note at the specified tick. Note that it will only set the
+volume to zero, and the sample will still be played.
+
+@X040@C001Note delay
+>@X060@C002
+Syntax: ED + Ticks
+
+This command will delay the note the selected number of ticks.
+
+@X040@C001Pattern delay
+>@X060@C002
+Syntax: EE + Notes
+
+This command will delay the pattern the selected number of notes.
+
+@X040@C001Set speed
+>@X060@C002
+Syntax: F + Value
+
+This command will set the speed or BPM value of the song. If value
+is less than $20, the speed will be changed. Otherwise, the BPM
+value will be changed.
+
+@X040@C001Set global volume
+>@X060@C002
+Syntax: G + volume
+
+Sets the global volume. The volume should not be greater than $40.
+
+@X040@C001Global volume slide
+>@X060@C002
+Syntax: H + Up speed + Down speed
+
+This command works exactly as volume slide, but it slides the
+global volume instead.
+
+@X040@C001Key off
+>@X060@C002
+Syntax: K + Tick
+
+This command will trigger a "Key off" at the specified tick.
+
+@X040@C001Set envelope position
+>@X060@C002
+Syntax: L + Position
+
+Changes the envelope position. Magnus told me that it would be
+very usable.
+
+@X040@C001Panning slide
+>@X060@C002
+Syntax: P + Right speed + Left speed
+
+This command slides the panning position. It works like the volume
+slide. Note that some sound cards may not handle 256 panning
+positions.
+
+@X040@C001Multi retrig
+>@X060@C002
+Syntax: R + Volume change + Interval
+
+This is an extended version of the retrig command.
+
+Volume change:
+>@X1000 = None  @T3008 = Unused
+>1 = -1    @T3009 = +1
+>2 = -2    @T300A = +2
+>3 = -4    @T300B = +4
+>4 = -8    @T300C = +8
+>5 = -16   @T300D = +16
+>6 = *2/3  @T300E = *3/2
+>7 = *1/2  @T300F = *2
+
+@X040@C001Tremor
+>@X060@C002
+Syntax: T + On time + Off time
+
+This weird command will set the volume to zero during off time
+number of ticks. It is included for STM compatibility.
+
+@X040@C001Extra fine portamento up/down
+>@X060@C002
+Syntax: X(1 or 2) + Speed
+
+This command works as fine portamento up/down, but the speed
+will be divided by four.
+
+END
+;***************************************************************************
+;***************************************************************************
+@LKeyboard
+
+>@X020@C002
+>If you have an ambition to create music efficiently we strongly recommend
+that you learn ALL the keyboard functions. Many of them are the same
+from Fasttracker 1 and Protracker to ensure that you feel comfortable
+using this program from the very first minute.
+>
+>@X020@C001
+>You should be aware of the fact that:
+>
+>@C002This help text is written using a Swedish keyboard. Therefore some
+references to non-ordinary keys might be wrong.
+Sh = shift key.
+>
+@X040@C001Video:
+>@X060@C002
+Alt+Enter @T160Toggle fullscreen mode
+
+@X040@C001Cursor moves:
+>@X060@C002
+F9..F12 @T160Jump in pattern.
+>Ctrl+F9..F12 @T160Pattern-play from F9..F12 line.
+>Sh+F9..F12 @T160Store current line in F9..F12.
+>PageUp  @T160Jump 16-lines upwards.
+>PageDown @T160Jump 16-lines downwards.
+>Home  @T160Jump to line 0.
+>End  @T160Jump to last line.
+>Tab  @T160Jump to next track.
+>Alt+Q..I @T160Jump to track (0..7) MOD N-Channels.
+>Alt+A..K @T160Jump to track (8..15) MOD N-Channels.
+
+@X040@C001Cut/Copy/Paste:
+>@X060@C002
+Delete  @T160Delete note or volume column at cursor.
+>Sh+Delete @T160Delete note, volume and effect at cursor.
+>Ctrl+Delete @T160Delete volume and effect at cursor.
+>Alt+Delete @T160Delete effect at cursor.
+>Insert  @T160Insert note at cursor.
+>Sh+Insert  @T160Insert line at cursor.
+>Backspace @T160Delete previous note.
+>Sh+Backspace @T160Delete previous line.
+>Alt+Cursor @T160Mark block.
+>Sh+F3 @T160Cut track.
+>Sh+F4 @T160Copy track.
+>Sh+F5 @T160Paste track.
+>Ctrl+F3 @T160Cut pattern.
+>Ctrl+F4 @T160Copy pattern.
+>Ctrl+F5 @T160Paste pattern.
+>Alt+F3 @T160Cut block.
+>Alt+F4 @T160Copy block.
+>Alt+F5 @T160Paste block.
+>Alt+C  @T160Mark current track.
+
+@X040@C001Miscellaneous:
+>@X060@C002
+Right ctrl.  @T160Play song.
+>Alt Gr    @T160Play pattern.
+>Right shift  @T160Record pattern.
+>Space    @T160Stop/Edit.
+>F1..F7 @T160Select octave.
+>Key below Esc @T160Increase cursoradd.
+>Sh+(1/2) @T160Decrease cursoradd.
+>CapsLock @T160Enter Keyoff-"note".
+>Sh+Left @T160Increase song position.
+>Sh+Right @T160Decrease song position.
+>Ctrl+Left @T160Increase pattern number.
+>Ctrl+Right @T160Decrease pattern number.
+
+@X040@C001Window switching:
+>@X060@C002
+Ctrl+
+>A @T160Advanced edit.
+>B @T160About.
+>C @T160Configuration.
+>D @T160Disk operations.
+>E @T160Sample editor extension.
+>H @T160Help.
+>I @T160Instrument editor.
+>M @T160Instrument editor extension. (MIDI)
+>N @T160Nibbles.
+>P @T160Pattern.
+>R @T160Trim.
+>S @T160Sample editor.
+>T @T160Transpose.
+>X @T160Main screen. (almost alt+X)
+>Z @T160Full screen edit. (Z for siZe?)
+>1 @T160Configuration #1.
+>2 @T160Configuration #2.
+>3 @T160Configuration #3.
+>4 @T160Configuration #4.
+
+@X040@C001Instrument select (Numeric keypad):
+>@X060@C002
+Top 4 keys @T160Select instrument block.
+>'+' +Top 4 keys @T160Select instrument block + 4.
+>Enter @T160Select instrument bank.
+>0 @T160Select no instrument.
+>1..8 @T160Select instrument in block.
+>, @T160Clear instrument.
+>Sh+, @T160Clear sample.
+>Sh+Up @T160Select previous instrument.
+>Sh+Down @T160Select next instrument.
+
+@X040@C001Command/Volume macro:
+>@X060@C002
+Alt+1..0 @T160Write command/volume at cursor.
+>Sh+Alt+1..0 @T160Read command/volume at cursor.
+
+@X040@C001Scale-fade volume:
+>@X060@C002
+Sh+V @T160Scale-fade volume in track.
+>Ctrl+V @T160Scale-fade volume in pattern.
+>Alt+V @T160Scale-fade volume in block.
+
+@X040@C001Transpose:
+>@X060@C002
+Sh+F7 @T160Transpose current instrument in track down.
+>Sh+F8 @T160Transpose current instrument in track up.
+>Ctrl+F7 @T160Transpose current instrument in pattern down.
+>Ctrl+F8 @T160Transpose current instrument in pattern up.
+>Alt+F7 @T160Transpose current instrument in block down.
+>Alt+F8 @T160Transpose current instrument in block up.
+>Sh+F1 @T160Transpose all instruments in track down.
+>Sh+F2 @T160Transpose all instruments in track up.
+>Ctrl+F1 @T160Transpose all instruments in pattern down.
+>Ctrl+F2 @T160Transpose all instruments in pattern up.
+>Alt+F1 @T160Transpose all instruments in block down.
+>Alt+F2 @T160Transpose all instruments in block up.
+>
+@X040@C001Sample editor:
+>@X060@C002
+Alt/Ctrl+A @T160Range all.
+>Alt+S @T160Show range.
+>Alt+Z @T160Zoom out.
+>Alt+X or Delete @T160Cut.
+>Alt/Ctrl+C @T160Copy.
+>Alt/Ctrl+V @T160Paste.
+>Alt+R @T160Crop.
+>Mouse wheel @T160Zoom sample data in/out.
+
+END
+;***************************************************************************
+;***************************************************************************
+@LHow to use Fasttracker 2.0
+>@X040@C002
+>All "not-too-trivial" functions are presented below (ordered in
+windows) with a short description.
+
+>@X020@C001Main screen:
+>
+>@X040@C001BPM (Beats per minute):
+>@X060@C002
+The BPM setting defines how fast (ticks/second) the music player
+will run. 125 BPM <-> 50 Hz.
+>Number of player ticks/second = BPM*2/5
+
+>@X040@C001Spd, Speed:
+>@X060@C002
+Speed = number of player ticks/pattern line.
+
+>@X040@C001Add:
+>@X060@C002
+"Add" is the number of pattern lines the cursor jumps when you
+edit a note.
+
+>@X040@C001Ptn:
+>@X060@C002
+The current pattern number.
+
+>@X040@C001Ln:
+>@X060@C002
+The number of lines for the current pattern. Up to $100 lines. Note
+that FT2 won't warn you if you decrease this value. The notes at
+the bottom line will be thrown out to the binary space.
+
+>@X040@C001Expd:
+>@X060@C002
+Expand pattern. Inserts a blank line after each pattern line. Useful
+if you want to convert a pattern that runs in speed 2*x to a
+pattern that runs in speed x.
+
+>@X040@C001Shnk:
+>@X060@C002
+Shrink pattern. Deletes all odd pattern lines.
+
+>@X040@C001The instrument/sample selector:
+>@X060@C002
+The instrument that has a mark on it's name string, is the
+destination instrument.
+>The instrument that has a mark on it's number, is the source
+instrument.
+>The same goes for the samples.
+>You change the name on an instrument/sample by clicking the right
+button.
+
+>@X020@C001Scopes:
+>@X060@C002
+>Left button: Turn channel on/off.
+>Right button: Turn channel multi-record/edit on/off.
+>Left+right button: Turn all channels off except the selected one.
+
+@X020@C001Instrument Editor:
+>
+>@X040@C001What is an instrument?:
+>@X060@C002
+A Fasttracker 2 instrument is:
+>   1 Volume envelope
+>   1 Panning envelope
+>   1 Auto-vibrato definition
+>   1..16 Sample(s)
+>   1 Keyboard split definition
+>   1 MIDI definition
+
+>A Fasttracker 2 sample is:
+>   1 Volume/Panning/Fine-tune definition
+>   1 Relative tone.
+>   1 Wave form.
+
+>@X040@C001The volume envelope:
+>@X060@C002
+>An instrument's volume is defined by its envelope curve. If the
+instrument has a sustain point, the envelope will stop at that
+point until a key-off note has been played. When a key-off note is
+played, the "fadeout" begins.
+>One pixel in the envelope window corresponds to one player-tick. If
+the BPM is 125, you'll consume 50 pixel/second. The window's
+"size" is about 6 seconds.
+>If you press the right mouse button at the predefine buttons,
+you'll store the current envelope into that predefine cell. The
+predefines are stored in the configuration file.
+>Predefine number 1 is the default envelope. This means that if you
+load a sample, it will get all envelope information from predefine
+number 1, including the vibrato.
+>Note that if you turn the volume-envelope off, you don't turn the
+vibrato off.
+
+>@X040@C001The panning envelope:
+>@X060@C002
+>Same as above, except from that the vibrato is not connected to
+the panning envelope.
+
+>@X040@C001Tune:
+>@X060@C002
+>The fine-tune resolution has been changed from a signed nibble
+(-8..+7) to a signed byte (-128..+127).
+
+>@X040@C001Fadeout:
+>@X060@C002
+>This is the fadeout speed.
+
+>@X040@C001Vibrato sweep:
+>@X060@C002
+>This is the time (in player ticks) that will bypass until the
+auto-vibrato will reach it's final amplitude.
+
+>@X040@C001The piano keyboard:
+>@X060@C002
+>The piano keyboard defines the key split for an instrument. To
+change the key split, choose a sample within the instrument and
+then "draw" on the keyboard.
+>The notes played with the current instrument are indicated on the
+keyboard.
+
+>@X040@C001Important note:
+>@X060@C002
+>The volume, panning, tune and relative tone is defined for EACH
+SAMPLE in an instrument. All other information is defined for the
+entire instrument.
+
+@X020@C001Instrument Editor Extension: (I.E.Ext.)
+>
+>@X040@C001MIDI:
+>@X060@C002
+>'p.' stands for "program" (instrument).
+>Several instruments can have the same transmit channel but with
+different programs. FT2 changes the programs on the
+MIDI-channels instantly during play if different programs are used.
+Different programs cannot be played at the same channel at the
+same time though.
+>If you change this value, the program number will be transmitted to
+the synthesizer immediately.
+>Some synthesizers transmit program change information. If the
+current instrument in FT2 is a MIDI-instr. with the same channel as
+the received program change, it's MIDI-program will be changed.
+>If your synthesizer doesn't transmit program change, there's no
+point in changing it on the synthesizer, do it in FT2 instead.
+
+>@X040@C001Bender range:
+>@X060@C002
+>This value defines how many notes the instrument on the
+synthesizer can be pitchbended. FT2 uses this value for
+transmitting the portamento up/down and tone-portamento
+commands correctly.
+>The MIDI-pitchbend works correctly only with linear frequency table.
+
+@X020@C001Sample Editor:
+>
+>@X040@C001Play (Wave form, range, display):
+>@X060@C002
+>Plays the current sample with tone display above the "stop"
+button. Note that respect is taken to the particular sample's
+relative tone.
+
+>@X040@C001Save range:
+>@X060@C002
+>Stores the range specified in the current sample directory.
+
+>@X040@C001Paste:
+>@X060@C002
+>The sample data in the copy buffer is stored INTO the specified
+range.
+
+>@X040@C001Crop:
+>@X060@C002
+>Cuts everything but the range. Nothing is changed in the copy
+buffer by this operation.
+
+>@X040@C001Volume:
+>@X060@C002
+>Operates on the range.
+
+>@X040@C001X-Fade:
+>@X060@C002
+>This is a tool for making smooth loops. Specify a range that covers
+the first loop point. Make sure that there is as much space after
+the second loop point as the range bypasses the first loop point.
+Press the X-fade button. Enjoy!
+
+>@X040@C0018-Bit/16-bit:
+>@X060@C002
+>If you load a 16-bit sample without header, FT2 assumes that it's
+an 8-bit sample. When pressing the 16-bit button, do not press
+"convert" when the request is made.
+
+>@X040@C001Minimize:
+>@X060@C002
+>This function cuts the part of the sample that is beyond the second
+loop point.
+
+@X020@C001Sample Editor Extension: (S.E.Ext.)
+>
+>@X040@C001Copy/Xchg Sample/Instrument:
+>@X060@C002
+>The source is specified in the line numbering column of the
+instr./sample lists in the upper-right corner of the screen. The
+destination is the current instr./sample.
+
+>@X040@C001Backwards:
+>@X060@C002
+>Operates on the range (or the whole sample if no range is set).
+
+>@X040@C001Convert:
+>@X060@C002
+>Converts the entire sample from/to signed/unsigned.
+
+>@X040@C001Convert W:
+>@X060@C002
+Swaps the byte order to/from Intel from/to Motorola standard on
+the entire sample.
+You'll need this function if you import 16-bit samples with Motorola
+byte-ordering (f.ex. Kurzweil K2000 samples.)
+
+>@X040@C001Echo:
+>@X060@C002
+Operates on the entire sample.
+
+>@X040@C001Fix DC:
+>@X060@C002
+Attempts to center a sample that has unwanted DC offset/bias.
+Please note that it is using a crude algorithm, so it can sometimes
+fail depending on the sample data.
+
+>@X040@C001Resample:
+>@X060@C002
+Operates on the entire sample. The sample's relative tone is
+changed with respect to the resampling rate.
+
+>@X040@C001Mix sample:
+>@X060@C002
+>Mixes the source with the destination to the source.
+
+>@X040@C001Draw mode:
+>@X060@C002
+By pressing the right mouse button in the sample window, you can
+draw your wave forms manually.
+
+@X020@C001Configuration:
+>
+>@X040@C001Auto save:
+>@X060@C002
+If the auto save is on, FT2 will update the configuration file when
+you exit the program.
+
+@X020@C001Configuration, I/O devices:
+>
+>@X040@C001Interpolation:
+>@X060@C002
+The mixing routine interpolates the sample value between the
+sample points to remove unwanted noise in the sound. Real FT2 uses
+2-tap linear interpolation, while this clone uses 3-tap quadratic interpolation for
+improved high frequencies. Turning it off will make the audio sharper,
+but it will also be noisier.
+
+>@X040@C001Volume ramping:
+>@X060@C002
+Enables the anti-click system in the audio mixer (FT2.08+).
+Please note that original FT2 can't load this config entry,
+clone only.
+
+>@[email protected] dither:
+>@X060@C002
+Works for 16-bit audio mode only.
+Applies random scaled values to the mixed samples before truncating to 16-bit.
+This should in theory lower the quantization noise. 16-bit already has
+a pretty low noise floor, so don't expect any audible difference here.
+Also applies for WAV rendering.
+
+>@X040@C001Amplification:
+>@X060@C002
+Amplifies the volume when mixing. If you set this one too high, you'll
+get distortion. 32X equals full amplitude for one channel.
+
+>@X040@C001Frequency table:
+>@X060@C002
+The linear frequency table makes all pitch bends run in constant
+speed, independent of the current frequency. If you switch this
+one, on a finished song, it might sound strange if the sound uses
+portamentoes.
+
+@X020@C001Configuration, Layout:
+>
+>@X040@C001Pattern layout, hex numbering:
+>@X060@C002
+If you use patterns that are longer than 99 lines, you should use
+hex counting since there are only 2 digits in the line number column.
+
+>@X040@C001Scope style:
+>@X060@C002
+"Original" will show the points in the scopes as pixels (like FT2).
+"Lined" will draw lines between the points, like an oscilloscope.
+
+@X020@C001Configuration, Miscellaneous:
+>
+>@X040@C001VSync off:
+>@X060@C002
+Tells the program to not use VSync for video. If your monitor's
+refresh rate is not 60Hz (or 59Hz), then VSync is always off for
+this program. Not having VSync will result in less input/video delay,
+but also potential stuttering.
+ 
+>@X040@C001Pixel filter:
+>@X060@C002
+Applies a subpixel filter that is used when the window is upscaled.
+This also makes fullscreen mode completely stretch out if it didn't
+already. Please keep in mind that this will make pixels look blurry.
+
+@X020@C001Advanced edit functions: 
+>
+>@X040@C001Copy/Paste masking:
+>@X060@C002
+The masking is used for copying/pasting only parts of a
+"note-cell". The different parts of a "note-cell" is Note, Instr. nr.,
+Volume, Effect nr & Effect data.
+>As you can see in the window there are 3 columns of
+"enable/disable buttons" which has the letters C,P & T above.
+>C means copy, it controls which parts that goes into the copybuffer.
+>P means paste and controls which parts that goes out from the
+copybuffer.
+>T means transparency. If it's enabled, the pasting doesn't overwrite
+data with nil-information, only with a note or a number <> 0.
+>
+>The cut functions works like pasting with zero-data. This means
+that the cutting is controlled with P-column (or T-column).
+>When you copy data with masking, the disabled parts are not
+cleared in the copybuffer. (Making it possible to collect data from
+several locations into the copybuffer.)
+
+END
+;***************************************************************************
+;***************************************************************************
+@LProblems/FAQ
+>@X020
+>@C001Q: Can I make fullscreen mode stretch out the whole screen?
+>@C002A: Enable "Pixel filter" in Config -> Miscellaneous.
+>@X035It won't look pretty, but to some people it's much better than nothing.
+>@X020
+>@C001Q: I can't use ALT+F4 and ALT+F5!
+>@C002A: Windows: If you have GeForce Experience installed, you need to change
+>@X035the keybindings in its settings page.
+macOS/OS X: Change ALT+F4/ALT+F5 keys in the OS to something else. Also for GNU/Linux.
+>@X020
+>@C001Q: The mouse cursor is delayed/laggy!
+>@C002A: Enable "VSync off" in Config -> Miscellaneous. This however, will
+>@X035introduce stuttering because the rendering rate is not exact to your
+>monitor's rate. Alternatively, enable "Hardware mouse" in Config -> Layout.
+>@X020
+>@C001Q: Will you implement MIDI out functionality?
+>@C002A: No, sorry. This is very difficult to implement correctly when having
+>@X035higher audio buffer sizes (buffered replayer ticks)...
+>@X020
+>@C001Q: Where is the configuration file stored?
+>@C002A: Windows: \Users\USER\AppData\Roaming\FT2 clone\FT2.CFG
+>@X035OS X: /Users/USER/Library/Application Support/FT2 clone/FT2.CFG
+GNU/Linux: /home/USER/.config/FT2 clone/FT2.CFG
+>
+It will be stored in the program directory if the path couldn't be used.
+If you put the configuration file in the program directory, it will read that
+one and not attempt to create config dirs for the OS user. (portable mode)
+>@X020
+>@C001Q: Can the clone read FT2.CFG from real FT2, and vice versa?
+>@C002A: Yes, it should work just fine. Put it in the directory shown above.
+>@X020
+>@C001Q: Smp. Ed.: While zooming in, I sometimes can't mark the last sample point!
+>@C002A: This is normal. This is a limitation in the nature of scaling.
+>@X020
+>@C001Q: I found a bug!
+>@C002A: Please send a mail to [email protected] and try to explain it.
+
+END
+;***************************************************************************
+;***************************************************************************
+@LKnown bugs
+>@X010
+>@C001Sample editor:
+>@C002
+>@X010- When a looped sample is zoomed out in the sample editor, you could see
+>@X021unwanted sample data at the loop-end point. This is because of a kludge
+for the resampling interpolation to work faster in the audio mixer, and the
+original FT2 has the same problem. I have made it so that if you zoom in to
+see the individual sample points, it will look like normal.
+>@X010
+>@C001Mouse / keyboard:
+>
+>@C002- When you hold down a key (f.ex. playing a sample), the mouse movement
+>@X021can be choppy. This is related to the input queue being spammed with
+"key down" events, delaying the mouse position events.
+I only poll input once per frame (60Hz), so the frequency is a tad low. It has
+to be like this for several reasons, though...
+>@X010
+>- macOS / OS X: Holding down a mouse button won't trap the mouse cursor
+>@X021inside the window. This is related to a kludge that simply doesn't work
+very well in macOS. The mouse movement would freeze for some time after a mouse
+button was held down.
+>@X010
+>@C002- The "clear sample" shortcut (shift + num-pad Del/',') only works if
+>@X021num lock is off. There's no way I can fix this...
+>@X010
+>@C001Video:
+>@C002
+>@X010- The scopes can mildly flicker depending on the waveform and pitch.
+>@X021This is because their frequency is not clocked to exactly the same rate
+>at which the scopes are rendered. It's close, which causes a flicker effect.
+>
+>@X010- Not a bug, but if your monitor's refresh rate is not set to 60Hz (or 59Hz)
+>@X021you may experience visual stuttering because VSync will not be used then.
+I highly recommend running your monitor at 60Hz if you're a hardcore user
+of this program.
+>
+>@X010- macOS / OS X: If "Hardware mouse" is enabled, the mouse cursor won't
+>@X021change when the program is busy. The macOS "wait" cursor is missing in
+SDL2...
+
+END
--- /dev/null
+++ b/src/helpdata/code/ft2hlp_to_h.c
@@ -1,0 +1,180 @@
+#include <stdio.h>
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+
+#define TMP_FILENAME "TMP.HLP"
+#define DATA_LINE_SIZE 12
+
+static void delTmpPackFile(void)
+{
+	char command[256];
+
+#ifdef _WIN32
+	sprintf(command, "del %s 2>NUL", TMP_FILENAME);
+#else
+	sprintf(command, "rm %s &> /dev/null", TMP_FILENAME);
+#endif
+
+	system(command);
+}
+
+int main(int argc, char *argv[])
+{
+	char *helpData, *textPtr2, *textPtr;
+	uint8_t textLenByte;
+	uint32_t textLen, fileSize, currLine, totalCharLen;
+	FILE *fIn, *fOut;
+
+	printf("ft2hlp_to_h - by 8bitbubsy\n");
+
+#ifndef _DEBUG
+	if (argc != 2)
+	{
+		printf("Usage: ft2hlp_to_h <helpfile.hlp>\n");
+		return -1;
+	}
+
+	fIn = fopen(argv[1], "rb");
+#else
+	fIn = fopen("FT2.HLP", "rb");
+#endif
+
+	if (fIn == NULL)
+	{
+		printf("Error: Could not open input file for reading!\n");
+		return 1;
+	}
+
+	fOut = fopen(TMP_FILENAME, "wb");
+	if (fOut == NULL)
+	{
+		printf("Error: Could not open temp file for writing!\n");
+		fclose(fIn);
+
+		return 1;
+	}
+
+	fseek(fIn, 0, SEEK_END);
+	fileSize = ftell(fIn);
+	rewind(fIn);
+
+	helpData = (char *)malloc(fileSize);
+	if (helpData == NULL)
+	{
+		printf("ERROR: Out of memory!\n");
+		fclose(fIn);
+		fclose(fOut);
+		return -1;
+	}
+
+	fread(helpData, 1, fileSize, fIn);
+	fclose(fIn);
+
+	printf("Parsing...\n");
+
+	totalCharLen = 0;
+	currLine = 0;
+
+	textPtr = helpData;
+	while (totalCharLen < fileSize)
+	{
+		if (!strncmp(textPtr, "END", 3) && totalCharLen >= fileSize-(3+2))
+		{
+			/* we reached the final END */
+			fputc(3, fOut);
+			fprintf(fOut, "END");
+			break;
+		}
+
+		textPtr2 = textPtr;
+
+		textLen = 0;
+		while (*textPtr2 != '\r')
+		{
+			textLen++;
+			textPtr2++;
+		}
+
+		if (textLen > 255)
+		{
+			printf("ERROR: Line %d has more than 255 characters!\n", currLine);
+			fclose(fOut);
+			return 1;
+		}
+
+		textLenByte = textLen & 0xFF;
+		fwrite(&textLenByte, 1, 1, fOut);
+		fwrite(textPtr, 1, textLen, fOut);
+
+		totalCharLen += textLen + 2;
+		textPtr += textLen + 2;
+
+		currLine++;
+	}
+
+	printf("Successfully parsed %d lines.\n", currLine - 1);
+	fclose(fOut);
+
+	fIn = fopen(TMP_FILENAME, "rb");
+	if (fIn == NULL)
+	{
+		printf("Error: Could not open temp file for reading!\n");
+		delTmpPackFile();
+		return 1;
+	}
+
+	fOut = fopen("ft2_help_data.h", "w");
+	if (fOut == NULL)
+	{
+		printf("Error: Could not open ft2_help_data.h for writing!\n");
+		fclose(fIn);
+		delTmpPackFile();
+		return 1;
+	}
+
+	// fetch file size
+	fseek(fIn, 0, SEEK_END);
+	fileSize = ftell(fIn);
+	rewind(fIn);
+
+	printf("Converting data to header bytes..\n");
+
+	// put header
+	fprintf(fOut, "#ifndef __FT2_HELP_DATA_H\n");
+	fprintf(fOut, "#define __FT2_HELP_DATA_H\n");
+	fprintf(fOut, "\n");
+	fprintf(fOut, "#include <stdint.h>\n");
+	fprintf(fOut, "\n");
+	fprintf(fOut, "#define HELP_DATA_LEN %d\n", fileSize);
+	fprintf(fOut, "\n");
+	fprintf(fOut, "const uint8_t helpData[%d] =\n", fileSize);
+	fprintf(fOut, "{\n");
+
+	// put data
+	for (uint32_t i = 0; i < fileSize; i++)
+	{
+		if ((i % DATA_LINE_SIZE) == 0) fprintf(fOut, "\t"); // tab
+
+		if (i == fileSize-1)
+			fprintf(fOut, "0x%02X", fgetc(fIn));
+		else
+			fprintf(fOut, "0x%02X,", fgetc(fIn));
+
+		if ((i % DATA_LINE_SIZE) == DATA_LINE_SIZE-1 || i == fileSize-1)
+			fputc(0x0A, fOut); // linefeed
+	}
+
+	// put footer
+	fprintf(fOut, "};\n");
+	fprintf(fOut, "\n");
+	fprintf(fOut, "#endif\n");
+
+	fclose(fOut);
+	fclose(fIn);
+
+	printf("Done! %d bytes sucessfully written to ft2_help_data.h.\n", fileSize);
+	delTmpPackFile();
+	
+	return 0;
+}
--- /dev/null
+++ b/src/helpdata/ft2_help_data.h
@@ -1,0 +1,2344 @@
+#ifndef __FT2_HELP_DATA_H
+#define __FT2_HELP_DATA_H
+
+#include <stdint.h>
+
+#define HELP_DATA_LEN 27975
+
+const uint8_t helpData[27975] =
+{
+	0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0A,0x40,
+	0x4C,0x46,0x65,0x61,0x74,0x75,0x72,0x65,0x73,0x00,0x21,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x42,0x72,0x69,
+	0x65,0x66,0x20,0x6C,0x69,0x73,0x74,0x20,0x6F,0x66,0x20,0x66,
+	0x65,0x61,0x74,0x75,0x72,0x65,0x73,0x3A,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x0F,0x3E,0x2D,0x20,
+	0x33,0x32,0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x73,0x2E,
+	0x30,0x3E,0x2D,0x20,0x46,0x75,0x6C,0x6C,0x20,0x4D,0x49,0x44,
+	0x49,0x20,0x73,0x75,0x70,0x70,0x6F,0x72,0x74,0x20,0x28,0x69,
+	0x6E,0x70,0x75,0x74,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x69,0x6E,
+	0x20,0x74,0x68,0x69,0x73,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x21,
+	0x29,0x27,0x3E,0x2D,0x20,0x31,0x32,0x2D,0x50,0x6F,0x69,0x6E,
+	0x74,0x20,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x2D,0x20,0x26,0x20,
+	0x50,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x45,0x6E,0x76,0x65,
+	0x6C,0x6F,0x70,0x65,0x2E,0x2D,0x3E,0x2D,0x20,0x4D,0x75,0x6C,
+	0x74,0x69,0x73,0x61,0x6D,0x70,0x6C,0x65,0x73,0x2C,0x20,0x75,
+	0x70,0x20,0x74,0x6F,0x20,0x31,0x36,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x73,0x2F,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,
+	0x6E,0x74,0x2E,0x13,0x3E,0x2D,0x20,0x31,0x32,0x38,0x20,0x69,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x73,0x2E,0x31,
+	0x3E,0x2D,0x20,0x22,0x55,0x6E,0x6C,0x69,0x6D,0x69,0x74,0x65,
+	0x64,0x22,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x6C,0x65,
+	0x6E,0x67,0x74,0x68,0x2E,0x20,0x28,0x31,0x47,0x42,0x20,0x69,
+	0x6E,0x20,0x74,0x68,0x69,0x73,0x20,0x63,0x6C,0x6F,0x6E,0x65,
+	0x29,0x0D,0x3E,0x2D,0x20,0x38,0x20,0x6F,0x63,0x74,0x61,0x76,
+	0x65,0x73,0x2E,0x1B,0x3E,0x2D,0x20,0x56,0x61,0x72,0x69,0x61,
+	0x62,0x6C,0x65,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,
+	0x6C,0x65,0x6E,0x67,0x74,0x68,0x2E,0x22,0x3E,0x2D,0x20,0x42,
+	0x75,0x69,0x6C,0x74,0x20,0x69,0x6E,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x72,0x2F,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x65,
+	0x64,0x69,0x74,0x6F,0x72,0x2E,0x16,0x3E,0x2D,0x20,0x55,0x70,
+	0x20,0x74,0x6F,0x20,0x32,0x35,0x36,0x20,0x70,0x61,0x74,0x74,
+	0x65,0x72,0x6E,0x73,0x2E,0x19,0x3E,0x2D,0x20,0x53,0x6F,0x6E,
+	0x67,0x20,0x6C,0x65,0x6E,0x67,0x74,0x68,0x20,0x75,0x70,0x20,
+	0x74,0x6F,0x20,0x32,0x35,0x36,0x2E,0x25,0x3E,0x2D,0x20,0x4E,
+	0x65,0x77,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x2F,0x70,0x61,
+	0x6E,0x6E,0x69,0x6E,0x67,0x2F,0x76,0x69,0x62,0x72,0x61,0x74,
+	0x6F,0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x2E,0x0F,0x3E,0x2D,
+	0x20,0x53,0x6F,0x6E,0x67,0x20,0x65,0x64,0x69,0x74,0x6F,0x72,
+	0x2E,0x19,0x3E,0x2D,0x20,0x46,0x75,0x6C,0x6C,0x20,0x73,0x63,
+	0x72,0x65,0x65,0x6E,0x20,0x65,0x64,0x69,0x74,0x20,0x6D,0x6F,
+	0x64,0x65,0x2E,0x1F,0x3E,0x2D,0x20,0x49,0x6D,0x70,0x72,0x6F,
+	0x76,0x65,0x64,0x20,0x65,0x64,0x69,0x74,0x69,0x6E,0x67,0x20,
+	0x66,0x61,0x63,0x69,0x6C,0x69,0x74,0x69,0x65,0x73,0x2E,0x00,
+	0x32,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x46,
+	0x54,0x32,0x20,0x73,0x75,0x70,0x70,0x6F,0x72,0x74,0x73,0x20,
+	0x74,0x68,0x65,0x20,0x66,0x6F,0x6C,0x6C,0x6F,0x77,0x69,0x6E,
+	0x67,0x20,0x66,0x69,0x6C,0x65,0x20,0x66,0x6F,0x72,0x6D,0x61,
+	0x74,0x73,0x3A,0x00,0x12,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x4D,0x6F,0x64,0x75,0x6C,0x65,0x73,0x3A,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x35,
+	0x3E,0x2D,0x20,0x53,0x74,0x61,0x6E,0x64,0x61,0x72,0x64,0x20,
+	0x6D,0x6F,0x64,0x75,0x6C,0x65,0x73,0x20,0x28,0x31,0x35,0x2D,
+	0x20,0x3E,0x20,0x33,0x31,0x2D,0x69,0x6E,0x73,0x74,0x72,0x75,
+	0x6D,0x65,0x6E,0x74,0x73,0x29,0x2E,0x20,0x28,0x4D,0x4F,0x44,
+	0x2C,0x4E,0x53,0x54,0x29,0x36,0x3E,0x2D,0x20,0x46,0x61,0x73,
+	0x74,0x74,0x72,0x61,0x63,0x6B,0x65,0x72,0x20,0x76,0x31,0x2E,
+	0x30,0x20,0x32,0x2C,0x34,0x2C,0x36,0x2C,0x38,0x2E,0x2E,0x33,
+	0x32,0x2D,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x20,0x66,0x6F,
+	0x72,0x6D,0x61,0x74,0x73,0x2E,0x20,0x28,0x4D,0x4F,0x44,0x29,
+	0x23,0x3E,0x2D,0x20,0x53,0x63,0x72,0x65,0x61,0x6D,0x54,0x72,
+	0x61,0x63,0x6B,0x65,0x72,0x20,0x6D,0x6F,0x64,0x75,0x6C,0x65,
+	0x73,0x2E,0x20,0x28,0x53,0x54,0x4D,0x2C,0x53,0x33,0x4D,0x29,
+	0x01,0x3E,0x12,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x53,0x61,0x6D,0x70,0x6C,0x65,0x73,0x3A,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x22,0x3E,0x2D,
+	0x20,0x47,0x72,0x61,0x76,0x69,0x73,0x20,0x55,0x6C,0x74,0x72,
+	0x61,0x73,0x6F,0x75,0x6E,0x64,0x20,0x50,0x61,0x74,0x63,0x68,
+	0x65,0x73,0x2C,0x20,0x50,0x41,0x54,0x2E,0x33,0x3E,0x2D,0x20,
+	0x53,0x4D,0x50,0x2F,0x53,0x41,0x4D,0x2F,0x52,0x41,0x57,0x2F,
+	0x53,0x4E,0x44,0x20,0x64,0x61,0x74,0x61,0x20,0x66,0x69,0x6C,
+	0x65,0x73,0x2C,0x20,0x73,0x69,0x67,0x6E,0x65,0x64,0x20,0x61,
+	0x6E,0x64,0x20,0x75,0x6E,0x73,0x69,0x67,0x6E,0x65,0x64,0x2E,
+	0x15,0x3E,0x2D,0x20,0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,0x20,
+	0x57,0x41,0x56,0x2D,0x66,0x69,0x6C,0x65,0x73,0x2E,0x2D,0x3E,
+	0x2D,0x20,0x41,0x6D,0x69,0x67,0x61,0x20,0x49,0x46,0x46,0x2D,
+	0x66,0x69,0x6C,0x65,0x73,0x2E,0x20,0x28,0x49,0x6E,0x74,0x65,
+	0x72,0x63,0x68,0x61,0x6E,0x67,0x65,0x20,0x46,0x69,0x6C,0x65,
+	0x20,0x46,0x6F,0x72,0x6D,0x61,0x74,0x29,0x14,0x3E,0x2D,0x20,
+	0x41,0x70,0x70,0x6C,0x65,0x20,0x41,0x49,0x46,0x46,0x2D,0x66,
+	0x69,0x6C,0x65,0x73,0x2E,0x00,0x32,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x46,0x54,0x32,0x20,0x69,0x6E,0x74,
+	0x72,0x6F,0x64,0x75,0x63,0x65,0x73,0x20,0x73,0x65,0x76,0x65,
+	0x72,0x61,0x6C,0x20,0x6E,0x65,0x77,0x20,0x66,0x69,0x6C,0x65,
+	0x20,0x66,0x6F,0x72,0x6D,0x61,0x74,0x73,0x3A,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x1C,0x3E,0x2D,
+	0x20,0x58,0x4D,0x20,0x20,0x40,0x54,0x31,0x31,0x30,0x45,0x78,
+	0x74,0x65,0x6E,0x64,0x65,0x64,0x20,0x6D,0x6F,0x64,0x75,0x6C,
+	0x65,0x2E,0x20,0x3E,0x2D,0x20,0x58,0x49,0x20,0x20,0x40,0x54,
+	0x31,0x31,0x30,0x45,0x78,0x74,0x65,0x6E,0x64,0x65,0x64,0x20,
+	0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2E,0x1D,
+	0x3E,0x2D,0x20,0x58,0x50,0x20,0x20,0x40,0x54,0x31,0x31,0x30,
+	0x45,0x78,0x74,0x65,0x6E,0x64,0x65,0x64,0x20,0x70,0x61,0x74,
+	0x74,0x65,0x72,0x6E,0x2E,0x1B,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0x40,0x43,0x30,0x30,0x31,0x53,0x68,
+	0x6F,0x72,0x74,0x20,0x73,0x75,0x6D,0x6D,0x61,0x72,0x79,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x0B,0x3E,0x30,0x20,0x41,0x72,0x70,0x65,0x67,0x67,0x69,0x6F,
+	0x10,0x3E,0x31,0x20,0x50,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,
+	0x74,0x6F,0x20,0x75,0x70,0x12,0x3E,0x32,0x20,0x50,0x6F,0x72,
+	0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x64,0x6F,0x77,0x6E,
+	0x12,0x3E,0x33,0x20,0x54,0x6F,0x6E,0x65,0x20,0x70,0x6F,0x72,
+	0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x0A,0x3E,0x34,0x20,0x56,
+	0x69,0x62,0x72,0x61,0x74,0x6F,0x1C,0x3E,0x35,0x20,0x50,0x6F,
+	0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x2B,0x20,0x56,
+	0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x19,
+	0x3E,0x36,0x20,0x56,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x2B,
+	0x20,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,
+	0x65,0x0A,0x3E,0x37,0x20,0x54,0x72,0x65,0x6D,0x6F,0x6C,0x6F,
+	0x17,0x3E,0x38,0x20,0x53,0x65,0x74,0x20,0x70,0x61,0x6E,0x6E,
+	0x69,0x6E,0x67,0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,
+	0x10,0x3E,0x39,0x20,0x53,0x61,0x6D,0x70,0x6C,0x65,0x20,0x6F,
+	0x66,0x66,0x73,0x65,0x74,0x0F,0x3E,0x41,0x20,0x56,0x6F,0x6C,
+	0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x10,0x3E,0x42,
+	0x20,0x50,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x20,0x6A,0x75,
+	0x6D,0x70,0x0D,0x3E,0x43,0x20,0x53,0x65,0x74,0x20,0x76,0x6F,
+	0x6C,0x75,0x6D,0x65,0x10,0x3E,0x44,0x20,0x50,0x61,0x74,0x74,
+	0x65,0x72,0x6E,0x20,0x62,0x72,0x65,0x61,0x6B,0x04,0x3E,0x45,
+	0x20,0x2B,0x23,0x3E,0x40,0x58,0x30,0x38,0x30,0x30,0x20,0x46,
+	0x69,0x6C,0x74,0x65,0x72,0x20,0x6F,0x6E,0x2F,0x6F,0x66,0x66,
+	0x20,0x28,0x41,0x6D,0x69,0x67,0x61,0x20,0x6F,0x6E,0x6C,0x79,
+	0x21,0x29,0x15,0x3E,0x31,0x20,0x46,0x69,0x6E,0x65,0x20,0x70,
+	0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x75,0x70,
+	0x17,0x3E,0x32,0x20,0x46,0x69,0x6E,0x65,0x20,0x70,0x6F,0x72,
+	0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x64,0x6F,0x77,0x6E,
+	0x18,0x3E,0x33,0x20,0x53,0x65,0x74,0x20,0x67,0x6C,0x69,0x73,
+	0x73,0x61,0x6E,0x64,0x6F,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,
+	0x6C,0x16,0x3E,0x34,0x20,0x53,0x65,0x74,0x20,0x76,0x69,0x62,
+	0x72,0x61,0x74,0x6F,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,
+	0x10,0x3E,0x35,0x20,0x53,0x65,0x74,0x20,0x66,0x69,0x6E,0x65,
+	0x2D,0x74,0x75,0x6E,0x65,0x0C,0x3E,0x36,0x20,0x4A,0x75,0x6D,
+	0x70,0x20,0x6C,0x6F,0x6F,0x70,0x16,0x3E,0x37,0x20,0x53,0x65,
+	0x74,0x20,0x74,0x72,0x65,0x6D,0x6F,0x6C,0x6F,0x20,0x63,0x6F,
+	0x6E,0x74,0x72,0x6F,0x6C,0x09,0x3E,0x38,0x20,0x55,0x6E,0x75,
+	0x73,0x65,0x64,0x0E,0x3E,0x39,0x20,0x52,0x65,0x74,0x72,0x69,
+	0x67,0x20,0x6E,0x6F,0x74,0x65,0x17,0x3E,0x41,0x20,0x46,0x69,
+	0x6E,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,
+	0x69,0x64,0x65,0x20,0x75,0x70,0x19,0x3E,0x42,0x20,0x46,0x69,
+	0x6E,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,
+	0x69,0x64,0x65,0x20,0x64,0x6F,0x77,0x6E,0x0B,0x3E,0x43,0x20,
+	0x4E,0x6F,0x74,0x65,0x20,0x63,0x75,0x74,0x0D,0x3E,0x44,0x20,
+	0x4E,0x6F,0x74,0x65,0x20,0x64,0x65,0x6C,0x61,0x79,0x10,0x3E,
+	0x45,0x20,0x50,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x64,0x65,
+	0x6C,0x61,0x79,0x1D,0x3E,0x46,0x20,0x46,0x75,0x6E,0x6B,0x20,
+	0x69,0x74,0x21,0x20,0x28,0x4E,0x6F,0x74,0x20,0x69,0x6D,0x70,
+	0x6C,0x65,0x6D,0x65,0x6E,0x74,0x65,0x64,0x29,0x06,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x0B,0x46,0x20,0x53,0x65,0x74,0x20,0x73,
+	0x70,0x65,0x65,0x64,0x14,0x3E,0x47,0x20,0x53,0x65,0x74,0x20,
+	0x67,0x6C,0x6F,0x62,0x61,0x6C,0x20,0x76,0x6F,0x6C,0x75,0x6D,
+	0x65,0x16,0x3E,0x48,0x20,0x47,0x6C,0x6F,0x62,0x61,0x6C,0x20,
+	0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,
+	0x0A,0x3E,0x4B,0x20,0x4B,0x65,0x79,0x20,0x6F,0x66,0x66,0x18,
+	0x3E,0x4C,0x20,0x53,0x65,0x74,0x20,0x65,0x6E,0x76,0x65,0x6C,
+	0x6F,0x70,0x65,0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,
+	0x10,0x3E,0x50,0x20,0x50,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,
+	0x73,0x6C,0x69,0x64,0x65,0x14,0x3E,0x52,0x20,0x4D,0x75,0x6C,
+	0x74,0x69,0x20,0x72,0x65,0x74,0x72,0x69,0x67,0x20,0x6E,0x6F,
+	0x74,0x65,0x09,0x3E,0x54,0x20,0x54,0x72,0x65,0x6D,0x6F,0x72,
+	0x04,0x3E,0x58,0x20,0x2B,0x20,0x3E,0x40,0x58,0x30,0x38,0x30,
+	0x31,0x20,0x45,0x78,0x74,0x72,0x61,0x20,0x66,0x69,0x6E,0x65,
+	0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,
+	0x75,0x70,0x1D,0x3E,0x32,0x20,0x45,0x78,0x74,0x72,0x61,0x20,
+	0x66,0x69,0x6E,0x65,0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,
+	0x6E,0x74,0x6F,0x20,0x64,0x6F,0x77,0x6E,0x00,0x18,0x40,0x58,
+	0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x6F,0x6C,0x75,
+	0x6D,0x65,0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x3A,0x0B,0x3E,
+	0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x17,0x30,
+	0x30,0x2E,0x2E,0x34,0x30,0x20,0x40,0x54,0x31,0x36,0x30,0x53,
+	0x65,0x74,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x2E,0x01,0x3E,
+	0x1A,0x3E,0x2D,0x20,0x40,0x54,0x31,0x36,0x30,0x56,0x6F,0x6C,
+	0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x20,0x64,0x6F,
+	0x77,0x6E,0x2E,0x18,0x3E,0x2B,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,
+	0x20,0x75,0x70,0x2E,0x35,0x3E,0x44,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x46,0x69,0x6E,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x20,0x73,0x6C,0x69,0x64,0x65,0x20,0x64,0x6F,0x77,0x6E,0x2E,
+	0x20,0x28,0x49,0x6E,0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x20,
+	0x62,0x79,0x20,0x73,0x79,0x6D,0x62,0x6F,0x6C,0x29,0x33,0x3E,
+	0x55,0x20,0x40,0x54,0x31,0x36,0x30,0x46,0x69,0x6E,0x65,0x20,
+	0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,
+	0x20,0x75,0x70,0x2E,0x20,0x28,0x49,0x6E,0x64,0x69,0x63,0x61,
+	0x74,0x65,0x64,0x20,0x62,0x79,0x20,0x73,0x79,0x6D,0x62,0x6F,
+	0x6C,0x29,0x1A,0x3E,0x53,0x20,0x40,0x54,0x31,0x36,0x30,0x53,
+	0x65,0x74,0x20,0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x73,
+	0x70,0x65,0x65,0x64,0x2E,0x10,0x3E,0x56,0x20,0x40,0x54,0x31,
+	0x36,0x30,0x56,0x69,0x62,0x72,0x61,0x74,0x6F,0x2E,0x1D,0x3E,
+	0x50,0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x65,0x74,0x20,0x70,
+	0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x70,0x6F,0x73,0x69,0x74,
+	0x69,0x6F,0x6E,0x2E,0x32,0x3E,0x52,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x50,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x73,0x6C,0x69,
+	0x64,0x65,0x20,0x72,0x69,0x67,0x68,0x74,0x2E,0x20,0x28,0x49,
+	0x6E,0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x20,0x62,0x79,0x20,
+	0x73,0x79,0x6D,0x62,0x6F,0x6C,0x29,0x31,0x3E,0x4C,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x50,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,
+	0x73,0x6C,0x69,0x64,0x65,0x20,0x6C,0x65,0x66,0x74,0x2E,0x20,
+	0x28,0x49,0x6E,0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x20,0x62,
+	0x79,0x20,0x73,0x79,0x6D,0x62,0x6F,0x6C,0x29,0x18,0x3E,0x4D,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x6F,0x6E,0x65,0x20,0x70,
+	0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x2E,0x00,0x00,
+	0x1B,0x40,0x4C,0x40,0x58,0x30,0x30,0x30,0x44,0x65,0x74,0x61,
+	0x69,0x6C,0x65,0x64,0x20,0x69,0x6E,0x66,0x6F,0x72,0x6D,0x61,
+	0x74,0x69,0x6F,0x6E,0x00,0x12,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x41,0x72,0x70,0x65,0x67,0x67,0x69,0x6F,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x27,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x30,0x20,0x2B,
+	0x20,0x31,0x73,0x74,0x20,0x68,0x61,0x6C,0x66,0x74,0x6F,0x6E,
+	0x65,0x20,0x2B,0x20,0x32,0x6E,0x64,0x20,0x68,0x61,0x6C,0x66,
+	0x74,0x6F,0x6E,0x65,0x00,0x0D,0x45,0x78,0x2E,0x3A,0x20,0x43,
+	0x2D,0x31,0x20,0x20,0x30,0x33,0x37,0x00,0x16,0x3E,0x31,0x30,
+	0x20,0x50,0x6C,0x61,0x79,0x73,0x20,0x43,0x2D,0x31,0x20,0x74,
+	0x69,0x63,0x6B,0x20,0x23,0x31,0x2E,0x26,0x3E,0x32,0x30,0x20,
+	0x50,0x6C,0x61,0x79,0x73,0x20,0x43,0x2D,0x31,0x20,0x2B,0x20,
+	0x33,0x20,0x4E,0x6F,0x74,0x65,0x73,0x20,0x3D,0x20,0x44,0x23,
+	0x31,0x20,0x74,0x69,0x63,0x6B,0x20,0x23,0x32,0x2E,0x26,0x3E,
+	0x33,0x30,0x20,0x50,0x6C,0x61,0x79,0x73,0x20,0x43,0x2D,0x31,
+	0x20,0x2B,0x20,0x37,0x20,0x4E,0x6F,0x74,0x65,0x73,0x20,0x3D,
+	0x20,0x47,0x2D,0x31,0x20,0x74,0x69,0x63,0x6B,0x20,0x23,0x33,
+	0x2E,0x0B,0x3E,0x34,0x30,0x20,0x47,0x6F,0x74,0x6F,0x20,0x31,
+	0x30,0x00,0x1C,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x50,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,
+	0x75,0x70,0x2F,0x64,0x6F,0x77,0x6E,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x18,0x53,0x79,0x6E,0x74,
+	0x61,0x78,0x3A,0x20,0x28,0x31,0x20,0x6F,0x72,0x20,0x32,0x29,
+	0x20,0x2B,0x20,0x53,0x70,0x65,0x65,0x64,0x00,0x40,0x50,0x6F,
+	0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x69,0x73,0x20,
+	0x75,0x73,0x65,0x64,0x20,0x74,0x6F,0x20,0x73,0x6C,0x69,0x64,
+	0x65,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,
+	0x20,0x70,0x69,0x74,0x63,0x68,0x20,0x75,0x70,0x20,0x6F,0x72,
+	0x20,0x64,0x6F,0x77,0x6E,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,
+	0x69,0x73,0x42,0x64,0x6F,0x6E,0x65,0x20,0x75,0x73,0x69,0x6E,
+	0x67,0x20,0x74,0x68,0x65,0x20,0x70,0x65,0x72,0x69,0x6F,0x64,
+	0x20,0x76,0x61,0x6C,0x75,0x65,0x2E,0x20,0x49,0x66,0x20,0x41,
+	0x6D,0x69,0x67,0x61,0x20,0x66,0x72,0x65,0x71,0x75,0x65,0x6E,
+	0x63,0x79,0x20,0x74,0x61,0x62,0x6C,0x65,0x20,0x69,0x73,0x20,
+	0x75,0x73,0x65,0x64,0x2C,0x20,0x74,0x68,0x65,0x40,0x73,0x6C,
+	0x69,0x64,0x69,0x6E,0x67,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,
+	0x65,0x20,0x6E,0x6F,0x6E,0x2D,0x6C,0x69,0x6E,0x65,0x61,0x72,
+	0x20,0x28,0x74,0x68,0x65,0x20,0x73,0x70,0x65,0x65,0x64,0x20,
+	0x64,0x65,0x70,0x65,0x6E,0x64,0x73,0x20,0x6F,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x66,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,
+	0x29,0x2E,0x00,0x19,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x54,0x6F,0x6E,0x65,0x20,0x70,0x6F,0x72,0x74,0x61,
+	0x6D,0x65,0x6E,0x74,0x6F,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x11,0x53,0x79,0x6E,0x74,0x61,0x78,
+	0x3A,0x20,0x33,0x20,0x2B,0x20,0x53,0x70,0x65,0x65,0x64,0x00,
+	0x40,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,
+	0x64,0x20,0x69,0x73,0x20,0x75,0x73,0x65,0x64,0x20,0x74,0x6F,
+	0x67,0x65,0x74,0x68,0x65,0x72,0x20,0x77,0x69,0x74,0x68,0x20,
+	0x61,0x20,0x6E,0x6F,0x74,0x65,0x2C,0x20,0x61,0x6E,0x64,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x73,0x6C,0x69,0x64,0x65,0x20,0x74,
+	0x6F,0x20,0x69,0x74,0x73,0x43,0x66,0x72,0x65,0x71,0x75,0x65,
+	0x6E,0x63,0x79,0x2E,0x20,0x49,0x66,0x20,0x67,0x6C,0x69,0x73,
+	0x73,0x61,0x6E,0x64,0x6F,0x20,0x28,0x45,0x33,0x29,0x20,0x69,
+	0x73,0x20,0x75,0x73,0x65,0x64,0x2C,0x20,0x74,0x68,0x65,0x20,
+	0x66,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x20,0x77,0x69,
+	0x6C,0x6C,0x20,0x62,0x65,0x20,0x72,0x6F,0x75,0x6E,0x64,0x65,
+	0x64,0x18,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x6E,0x65,0x61,
+	0x72,0x65,0x73,0x74,0x20,0x68,0x61,0x6C,0x66,0x74,0x6F,0x6E,
+	0x65,0x2E,0x00,0x11,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x56,0x69,0x62,0x72,0x61,0x74,0x6F,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x18,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x34,0x20,0x2B,0x20,0x52,0x61,
+	0x74,0x65,0x20,0x2B,0x20,0x44,0x65,0x70,0x74,0x68,0x00,0x3E,
+	0x41,0x64,0x64,0x73,0x20,0x76,0x69,0x62,0x72,0x61,0x74,0x6F,
+	0x20,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x63,0x68,0x61,0x6E,
+	0x6E,0x65,0x6C,0x20,0x77,0x69,0x74,0x68,0x20,0x61,0x20,0x72,
+	0x61,0x74,0x65,0x20,0x61,0x6E,0x64,0x20,0x73,0x70,0x65,0x65,
+	0x64,0x2E,0x20,0x53,0x65,0x74,0x20,0x76,0x69,0x62,0x72,0x61,
+	0x74,0x6F,0x3D,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x20,0x28,
+	0x45,0x34,0x29,0x20,0x63,0x61,0x6E,0x20,0x62,0x65,0x20,0x75,
+	0x73,0x65,0x64,0x20,0x74,0x6F,0x20,0x63,0x68,0x61,0x6E,0x67,
+	0x65,0x20,0x74,0x68,0x65,0x20,0x76,0x69,0x62,0x72,0x61,0x74,
+	0x6F,0x20,0x77,0x61,0x76,0x65,0x20,0x66,0x6F,0x72,0x6D,0x20,
+	0x28,0x73,0x65,0x65,0x07,0x62,0x65,0x6C,0x6F,0x77,0x29,0x2E,
+	0x00,0x28,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x54,0x6F,0x6E,0x65,0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,
+	0x6E,0x74,0x6F,0x20,0x2B,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x20,0x73,0x6C,0x69,0x64,0x65,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x11,0x53,0x79,0x6E,0x74,0x61,
+	0x78,0x3A,0x20,0x35,0x20,0x2B,0x20,0x53,0x70,0x65,0x65,0x64,
+	0x00,0x40,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,
+	0x6E,0x64,0x20,0x77,0x69,0x6C,0x6C,0x20,0x65,0x78,0x65,0x63,
+	0x75,0x74,0x65,0x20,0x62,0x6F,0x74,0x68,0x20,0x74,0x6F,0x6E,
+	0x65,0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,
+	0x20,0x61,0x6E,0x64,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,
+	0x73,0x6C,0x69,0x64,0x65,0x2E,0x27,0x54,0x68,0x65,0x20,0x73,
+	0x70,0x65,0x65,0x64,0x20,0x69,0x73,0x20,0x75,0x73,0x65,0x64,
+	0x20,0x66,0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x76,0x6F,0x6C,
+	0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x2E,0x00,0x20,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x69,
+	0x62,0x72,0x61,0x74,0x6F,0x20,0x2B,0x20,0x76,0x6F,0x6C,0x75,
+	0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x11,0x53,0x79,0x6E,
+	0x74,0x61,0x78,0x3A,0x20,0x36,0x20,0x2B,0x20,0x53,0x70,0x65,
+	0x65,0x64,0x00,0x3C,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,
+	0x6D,0x61,0x6E,0x64,0x20,0x77,0x69,0x6C,0x6C,0x20,0x65,0x78,
+	0x65,0x63,0x75,0x74,0x65,0x20,0x62,0x6F,0x74,0x68,0x20,0x76,
+	0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x61,0x6E,0x64,0x20,0x76,
+	0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x2E,
+	0x20,0x54,0x68,0x65,0x23,0x73,0x70,0x65,0x65,0x64,0x20,0x69,
+	0x73,0x20,0x75,0x73,0x65,0x64,0x20,0x66,0x6F,0x72,0x20,0x74,
+	0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,
+	0x69,0x64,0x65,0x2E,0x00,0x11,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x54,0x72,0x65,0x6D,0x6F,0x6C,0x6F,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x18,
+	0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x37,0x20,0x2B,0x20,
+	0x52,0x61,0x74,0x65,0x20,0x2B,0x20,0x44,0x65,0x70,0x74,0x68,
+	0x00,0x41,0x54,0x72,0x65,0x6D,0x6F,0x6C,0x6F,0x20,0x61,0x64,
+	0x64,0x73,0x20,0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x74,
+	0x6F,0x20,0x74,0x68,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,
+	0x74,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x2E,0x20,0x54,0x68,
+	0x65,0x20,0x73,0x79,0x6E,0x74,0x61,0x78,0x20,0x69,0x73,0x20,
+	0x65,0x78,0x61,0x63,0x74,0x6C,0x79,0x1B,0x61,0x73,0x20,0x66,
+	0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x76,0x69,0x62,0x72,0x61,
+	0x74,0x6F,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x2E,0x00,
+	0x1E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,
+	0x65,0x74,0x20,0x70,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x70,
+	0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x14,0x53,0x79,0x6E,0x74,
+	0x61,0x78,0x3A,0x20,0x38,0x20,0x2B,0x20,0x50,0x6F,0x73,0x69,
+	0x74,0x69,0x6F,0x6E,0x00,0x3E,0x53,0x65,0x74,0x73,0x20,0x74,
+	0x68,0x65,0x20,0x70,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x70,
+	0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x20,0x66,0x6F,0x72,0x20,
+	0x74,0x68,0x65,0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x2E,
+	0x20,0x24,0x30,0x30,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x6C,0x65,0x66,0x74,0x6D,0x6F,0x73,0x74,0x3F,0x70,0x6F,0x73,
+	0x69,0x74,0x69,0x6F,0x6E,0x20,0x61,0x6E,0x64,0x20,0x24,0x46,
+	0x46,0x20,0x74,0x68,0x65,0x20,0x72,0x69,0x67,0x68,0x74,0x6D,
+	0x6F,0x73,0x74,0x2E,0x20,0x4E,0x6F,0x74,0x65,0x20,0x74,0x68,
+	0x61,0x74,0x20,0x73,0x6F,0x6D,0x65,0x20,0x73,0x6F,0x75,0x6E,
+	0x64,0x20,0x63,0x61,0x72,0x64,0x73,0x20,0x28,0x65,0x78,0x2E,
+	0x30,0x47,0x55,0x53,0x29,0x20,0x63,0x61,0x6E,0x27,0x74,0x20,
+	0x75,0x73,0x65,0x20,0x61,0x73,0x20,0x6D,0x61,0x6E,0x79,0x20,
+	0x61,0x73,0x20,0x32,0x35,0x36,0x20,0x70,0x61,0x6E,0x6E,0x69,
+	0x6E,0x67,0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x73,
+	0x2E,0x00,0x17,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x53,0x61,0x6D,0x70,0x6C,0x65,0x20,0x6F,0x66,0x66,0x73,
+	0x65,0x74,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x12,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x39,
+	0x20,0x2B,0x20,0x4F,0x66,0x66,0x73,0x65,0x74,0x00,0x41,0x54,
+	0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,
+	0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x62,0x65,0x20,0x75,0x73,
+	0x65,0x64,0x20,0x74,0x6F,0x67,0x65,0x74,0x68,0x65,0x72,0x20,
+	0x77,0x69,0x74,0x68,0x20,0x61,0x20,0x6E,0x6F,0x74,0x65,0x2E,
+	0x20,0x54,0x68,0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,
+	0x77,0x69,0x6C,0x6C,0x2D,0x62,0x65,0x20,0x70,0x6C,0x61,0x79,
+	0x65,0x64,0x20,0x66,0x72,0x6F,0x6D,0x20,0x28,0x4F,0x66,0x66,
+	0x73,0x65,0x74,0x2A,0x24,0x31,0x30,0x30,0x29,0x20,0x69,0x6E,
+	0x73,0x74,0x65,0x61,0x64,0x20,0x6F,0x66,0x20,0x7A,0x65,0x72,
+	0x6F,0x2E,0x00,0x16,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,
+	0x64,0x65,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x21,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x41,
+	0x20,0x2B,0x20,0x55,0x70,0x20,0x73,0x70,0x65,0x65,0x64,0x20,
+	0x2B,0x20,0x44,0x6F,0x77,0x6E,0x20,0x73,0x70,0x65,0x65,0x64,
+	0x00,0x3D,0x53,0x6C,0x69,0x64,0x65,0x73,0x20,0x74,0x68,0x65,
+	0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x76,0x6F,0x6C,
+	0x75,0x6D,0x65,0x20,0x75,0x70,0x20,0x6F,0x72,0x20,0x64,0x6F,
+	0x77,0x6E,0x2E,0x20,0x45,0x69,0x74,0x68,0x65,0x72,0x20,0x75,
+	0x70,0x20,0x73,0x70,0x65,0x65,0x64,0x20,0x6F,0x72,0x20,0x64,
+	0x6F,0x77,0x6E,0x15,0x73,0x70,0x65,0x65,0x64,0x20,0x73,0x68,
+	0x6F,0x75,0x6C,0x64,0x20,0x62,0x65,0x20,0x7A,0x65,0x72,0x6F,
+	0x2E,0x00,0x17,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x50,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x20,0x6A,0x75,
+	0x6D,0x70,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x14,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x42,
+	0x20,0x2B,0x20,0x50,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x00,
+	0x41,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,
+	0x64,0x20,0x77,0x69,0x6C,0x6C,0x20,0x6A,0x75,0x6D,0x70,0x20,
+	0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x73,0x65,0x6C,0x65,0x63,
+	0x74,0x65,0x64,0x20,0x73,0x6F,0x6E,0x67,0x20,0x70,0x6F,0x73,
+	0x69,0x74,0x69,0x6F,0x6E,0x20,0x61,0x6E,0x64,0x20,0x70,0x6C,
+	0x61,0x79,0x20,0x74,0x68,0x65,0x1B,0x70,0x61,0x74,0x74,0x65,
+	0x72,0x6E,0x20,0x66,0x72,0x6F,0x6D,0x20,0x74,0x68,0x65,0x20,
+	0x62,0x65,0x67,0x69,0x6E,0x6E,0x69,0x6E,0x67,0x2E,0x00,0x14,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x65,
+	0x74,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x12,0x53,0x79,0x6E,
+	0x74,0x61,0x78,0x3A,0x20,0x43,0x20,0x2B,0x20,0x56,0x6F,0x6C,
+	0x75,0x6D,0x65,0x00,0x3E,0x53,0x65,0x74,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x76,0x6F,
+	0x6C,0x75,0x6D,0x65,0x2E,0x20,0x54,0x68,0x65,0x20,0x76,0x6F,
+	0x6C,0x75,0x6D,0x65,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,
+	0x6E,0x6F,0x74,0x20,0x62,0x65,0x20,0x67,0x72,0x65,0x61,0x74,
+	0x65,0x72,0x20,0x74,0x68,0x61,0x6E,0x04,0x24,0x34,0x30,0x2E,
+	0x00,0x17,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x50,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x62,0x72,0x65,0x61,
+	0x6B,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
+	0x32,0x1C,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x44,0x20,
+	0x2B,0x20,0x50,0x61,0x74,0x74,0x65,0x72,0x6E,0x2D,0x70,0x6F,
+	0x73,0x69,0x74,0x69,0x6F,0x6E,0x00,0x3C,0x54,0x68,0x69,0x73,
+	0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x77,0x69,0x6C,
+	0x6C,0x20,0x6A,0x75,0x6D,0x70,0x20,0x74,0x6F,0x20,0x74,0x68,
+	0x65,0x20,0x6E,0x65,0x78,0x74,0x20,0x70,0x61,0x74,0x74,0x65,
+	0x72,0x6E,0x20,0x61,0x6E,0x64,0x20,0x70,0x6C,0x61,0x79,0x20,
+	0x66,0x72,0x6F,0x6D,0x20,0x74,0x68,0x65,0x13,0x73,0x70,0x65,
+	0x63,0x69,0x66,0x69,0x65,0x64,0x20,0x70,0x6F,0x73,0x69,0x74,
+	0x69,0x6F,0x6E,0x2E,0x00,0x22,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x53,0x65,0x74,0x20,0x66,0x69,0x6C,0x74,
+	0x65,0x72,0x20,0x28,0x41,0x6D,0x69,0x67,0x61,0x20,0x6F,0x6E,
+	0x6C,0x79,0x21,0x29,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
+	0x43,0x30,0x30,0x32,0x13,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,
+	0x20,0x45,0x30,0x20,0x2B,0x20,0x53,0x74,0x61,0x74,0x75,0x73,
+	0x00,0x38,0x55,0x73,0x65,0x20,0x45,0x30,0x30,0x20,0x61,0x6E,
+	0x64,0x20,0x79,0x6F,0x75,0x72,0x20,0x74,0x75,0x6E,0x65,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x73,0x6F,0x75,0x6E,0x64,0x20,0x72,
+	0x65,0x61,0x6C,0x6C,0x79,0x20,0x62,0x61,0x64,0x20,0x6F,0x6E,
+	0x20,0x61,0x6E,0x20,0x41,0x6D,0x69,0x67,0x61,0x21,0x00,0x21,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x46,0x69,
+	0x6E,0x65,0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,
+	0x6F,0x20,0x75,0x70,0x2F,0x64,0x6F,0x77,0x6E,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x19,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x45,0x28,0x31,0x20,0x6F,0x72,
+	0x20,0x32,0x29,0x20,0x2B,0x20,0x53,0x70,0x65,0x65,0x64,0x00,
+	0x3F,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,
+	0x64,0x20,0x77,0x6F,0x72,0x6B,0x73,0x20,0x61,0x73,0x20,0x70,
+	0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x75,0x70,
+	0x2F,0x64,0x6F,0x77,0x6E,0x2C,0x20,0x62,0x75,0x74,0x20,0x69,
+	0x74,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x73,0x6C,0x69,0x64,0x65,
+	0x73,0x20,0x75,0x70,0x05,0x6F,0x6E,0x63,0x65,0x2E,0x00,0x1F,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x65,
+	0x74,0x20,0x67,0x6C,0x69,0x73,0x73,0x61,0x6E,0x64,0x6F,0x20,
+	0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x13,0x53,0x79,0x6E,0x74,
+	0x61,0x78,0x3A,0x20,0x45,0x33,0x20,0x2B,0x20,0x53,0x74,0x61,
+	0x74,0x75,0x73,0x00,0x41,0x49,0x66,0x20,0x53,0x74,0x61,0x74,
+	0x75,0x73,0x20,0x69,0x73,0x20,0x3D,0x31,0x2C,0x20,0x74,0x68,
+	0x65,0x20,0x66,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x20,
+	0x77,0x68,0x65,0x6E,0x20,0x75,0x73,0x69,0x6E,0x67,0x20,0x74,
+	0x6F,0x6E,0x65,0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,
+	0x74,0x6F,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x72,
+	0x6F,0x75,0x6E,0x64,0x65,0x64,0x20,0x74,0x6F,0x20,0x74,0x68,
+	0x65,0x20,0x6E,0x65,0x61,0x72,0x65,0x73,0x74,0x20,0x68,0x61,
+	0x6C,0x66,0x74,0x6F,0x6E,0x65,0x2E,0x00,0x1D,0x40,0x58,0x30,
+	0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x65,0x74,0x20,0x76,
+	0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x63,0x6F,0x6E,0x74,0x72,
+	0x6F,0x6C,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x11,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x45,
+	0x34,0x20,0x2B,0x20,0x54,0x79,0x70,0x65,0x00,0x2C,0x54,0x68,
+	0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x63,
+	0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x77,0x61,0x76,0x65,
+	0x20,0x66,0x6F,0x72,0x6D,0x2E,0x00,0x33,0x54,0x79,0x70,0x65,
+	0x3A,0x20,0x30,0x20,0x3D,0x20,0x53,0x69,0x6E,0x65,0x20,0x20,
+	0x20,0x20,0x20,0x20,0x20,0x31,0x20,0x3D,0x20,0x52,0x61,0x6D,
+	0x70,0x20,0x64,0x6F,0x77,0x6E,0x20,0x20,0x20,0x20,0x20,0x20,
+	0x20,0x32,0x20,0x3D,0x20,0x53,0x71,0x75,0x61,0x72,0x65,0x00,
+	0x44,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x61,0x64,0x64,0x20,
+	0x34,0x20,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x74,0x79,0x70,
+	0x65,0x2C,0x20,0x74,0x68,0x65,0x20,0x77,0x61,0x76,0x65,0x20,
+	0x66,0x6F,0x72,0x6D,0x20,0x77,0x69,0x6C,0x6C,0x20,0x6E,0x6F,
+	0x74,0x20,0x62,0x65,0x20,0x72,0x65,0x74,0x72,0x69,0x67,0x67,
+	0x65,0x64,0x20,0x77,0x68,0x65,0x6E,0x20,0x61,0x19,0x6E,0x65,
+	0x77,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,
+	0x20,0x69,0x73,0x20,0x70,0x6C,0x61,0x79,0x65,0x64,0x2E,0x00,
+	0x17,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,
+	0x65,0x74,0x20,0x66,0x69,0x6E,0x65,0x2D,0x74,0x75,0x6E,0x65,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x11,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x45,0x35,0x20,
+	0x2B,0x20,0x54,0x75,0x6E,0x65,0x00,0x3F,0x54,0x68,0x69,0x73,
+	0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x73,0x68,0x6F,
+	0x75,0x6C,0x64,0x20,0x62,0x65,0x20,0x75,0x73,0x65,0x64,0x20,
+	0x74,0x6F,0x67,0x65,0x74,0x68,0x65,0x72,0x20,0x77,0x69,0x74,
+	0x68,0x20,0x61,0x20,0x6E,0x6F,0x74,0x65,0x2E,0x20,0x49,0x74,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x63,0x61,0x75,0x73,0x65,0x44,
+	0x61,0x6E,0x6F,0x74,0x68,0x65,0x72,0x20,0x66,0x69,0x6E,0x65,
+	0x2D,0x74,0x75,0x6E,0x65,0x20,0x76,0x61,0x6C,0x75,0x65,0x20,
+	0x74,0x6F,0x20,0x62,0x65,0x20,0x75,0x73,0x65,0x64,0x2E,0x20,
+	0x49,0x74,0x20,0x73,0x65,0x65,0x6D,0x73,0x20,0x71,0x75,0x69,
+	0x74,0x65,0x20,0x75,0x6E,0x75,0x73,0x61,0x62,0x6C,0x65,0x20,
+	0x74,0x6F,0x20,0x6D,0x65,0x2E,0x2E,0x2E,0x00,0x16,0x40,0x58,
+	0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x50,0x61,0x74,0x74,
+	0x65,0x72,0x6E,0x20,0x6C,0x6F,0x6F,0x70,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x12,0x53,0x79,0x6E,
+	0x74,0x61,0x78,0x3A,0x20,0x45,0x36,0x20,0x2B,0x20,0x43,0x6F,
+	0x75,0x6E,0x74,0x00,0x45,0x49,0x66,0x20,0x63,0x6F,0x75,0x6E,
+	0x74,0x20,0x69,0x73,0x20,0x7A,0x65,0x72,0x6F,0x2C,0x20,0x74,
+	0x68,0x65,0x20,0x62,0x65,0x67,0x69,0x6E,0x6E,0x69,0x6E,0x67,
+	0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x20,0x6C,0x6F,0x6F,0x70,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x73,0x70,0x65,
+	0x63,0x69,0x66,0x69,0x65,0x64,0x2E,0x20,0x57,0x68,0x65,0x6E,
+	0x20,0x61,0x40,0x6E,0x6F,0x6E,0x2D,0x7A,0x65,0x72,0x6F,0x20,
+	0x76,0x61,0x6C,0x75,0x65,0x20,0x69,0x73,0x20,0x75,0x73,0x65,
+	0x64,0x2C,0x20,0x74,0x68,0x65,0x20,0x70,0x61,0x74,0x74,0x65,
+	0x72,0x6E,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x6C,
+	0x6F,0x6F,0x70,0x65,0x64,0x20,0x66,0x72,0x6F,0x6D,0x20,0x74,
+	0x68,0x65,0x20,0x6C,0x6F,0x6F,0x70,0x06,0x73,0x74,0x61,0x72,
+	0x74,0x2E,0x00,0x1D,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x53,0x65,0x74,0x20,0x74,0x72,0x65,0x6D,0x6F,0x6C,
+	0x6F,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x11,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x45,0x37,0x20,0x2B,0x20,0x54,
+	0x79,0x70,0x65,0x00,0x3A,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,
+	0x6D,0x6D,0x61,0x6E,0x64,0x20,0x77,0x6F,0x72,0x6B,0x73,0x20,
+	0x65,0x78,0x61,0x63,0x74,0x6C,0x79,0x20,0x61,0x73,0x20,0x73,
+	0x65,0x74,0x20,0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x63,
+	0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x2C,0x20,0x62,0x75,0x74,0x20,
+	0x74,0x68,0x65,0x2A,0x74,0x72,0x65,0x6D,0x6F,0x6C,0x6F,0x20,
+	0x77,0x61,0x76,0x65,0x20,0x66,0x6F,0x72,0x6D,0x20,0x77,0x69,
+	0x6C,0x6C,0x20,0x62,0x65,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,
+	0x64,0x20,0x69,0x6E,0x73,0x74,0x65,0x61,0x64,0x2E,0x00,0x15,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x52,0x65,
+	0x74,0x72,0x69,0x67,0x20,0x6E,0x6F,0x74,0x65,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x15,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x45,0x39,0x20,0x2B,0x20,0x49,
+	0x6E,0x74,0x65,0x72,0x76,0x61,0x6C,0x00,0x2D,0x52,0x65,0x74,
+	0x72,0x69,0x67,0x73,0x20,0x74,0x68,0x65,0x20,0x6E,0x6F,0x74,
+	0x65,0x20,0x77,0x69,0x74,0x68,0x20,0x74,0x68,0x65,0x20,0x73,
+	0x70,0x65,0x63,0x69,0x66,0x69,0x65,0x64,0x20,0x69,0x6E,0x74,
+	0x65,0x72,0x76,0x61,0x6C,0x2E,0x00,0x23,0x40,0x58,0x30,0x34,
+	0x30,0x40,0x43,0x30,0x30,0x31,0x46,0x69,0x6E,0x65,0x20,0x76,
+	0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x20,
+	0x75,0x70,0x2F,0x64,0x6F,0x77,0x6E,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x19,0x53,0x79,0x6E,0x74,
+	0x61,0x78,0x3A,0x20,0x45,0x28,0x41,0x20,0x6F,0x72,0x20,0x42,
+	0x29,0x20,0x2B,0x20,0x53,0x70,0x65,0x65,0x64,0x00,0x44,0x54,
+	0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,
+	0x77,0x6F,0x72,0x6B,0x73,0x20,0x61,0x73,0x20,0x74,0x68,0x65,
+	0x20,0x75,0x73,0x75,0x61,0x6C,0x20,0x76,0x6F,0x6C,0x75,0x6D,
+	0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x2C,0x20,0x62,0x75,0x74,
+	0x20,0x69,0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,0x6F,0x6E,0x6C,
+	0x79,0x20,0x73,0x6C,0x69,0x64,0x65,0x05,0x6F,0x6E,0x63,0x65,
+	0x2E,0x00,0x12,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x4E,0x6F,0x74,0x65,0x20,0x63,0x75,0x74,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x11,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x45,0x43,0x20,0x2B,0x20,0x54,
+	0x69,0x63,0x6B,0x00,0x43,0x43,0x75,0x74,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x6E,0x6F,0x74,0x65,0x20,0x61,0x74,0x20,0x74,0x68,
+	0x65,0x20,0x73,0x70,0x65,0x63,0x69,0x66,0x69,0x65,0x64,0x20,
+	0x74,0x69,0x63,0x6B,0x2E,0x20,0x4E,0x6F,0x74,0x65,0x20,0x74,
+	0x68,0x61,0x74,0x20,0x69,0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,
+	0x6F,0x6E,0x6C,0x79,0x20,0x73,0x65,0x74,0x20,0x74,0x68,0x65,
+	0x34,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x74,0x6F,0x20,0x7A,
+	0x65,0x72,0x6F,0x2C,0x20,0x61,0x6E,0x64,0x20,0x74,0x68,0x65,
+	0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x77,0x69,0x6C,0x6C,
+	0x20,0x73,0x74,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x70,0x6C,
+	0x61,0x79,0x65,0x64,0x2E,0x00,0x14,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x4E,0x6F,0x74,0x65,0x20,0x64,0x65,
+	0x6C,0x61,0x79,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x12,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,
+	0x45,0x44,0x20,0x2B,0x20,0x54,0x69,0x63,0x6B,0x73,0x00,0x3E,
+	0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x64,0x65,0x6C,0x61,0x79,0x20,
+	0x74,0x68,0x65,0x20,0x6E,0x6F,0x74,0x65,0x20,0x74,0x68,0x65,
+	0x20,0x73,0x65,0x6C,0x65,0x63,0x74,0x65,0x64,0x20,0x6E,0x75,
+	0x6D,0x62,0x65,0x72,0x20,0x6F,0x66,0x20,0x74,0x69,0x63,0x6B,
+	0x73,0x2E,0x00,0x17,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x50,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x64,0x65,
+	0x6C,0x61,0x79,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x12,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,
+	0x45,0x45,0x20,0x2B,0x20,0x4E,0x6F,0x74,0x65,0x73,0x00,0x41,
+	0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x64,0x65,0x6C,0x61,0x79,0x20,
+	0x74,0x68,0x65,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,
+	0x74,0x68,0x65,0x20,0x73,0x65,0x6C,0x65,0x63,0x74,0x65,0x64,
+	0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x20,0x6F,0x66,0x20,0x6E,
+	0x6F,0x74,0x65,0x73,0x2E,0x00,0x13,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x53,0x65,0x74,0x20,0x73,0x70,0x65,
+	0x65,0x64,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x11,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x46,
+	0x20,0x2B,0x20,0x56,0x61,0x6C,0x75,0x65,0x00,0x42,0x54,0x68,
+	0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x77,
+	0x69,0x6C,0x6C,0x20,0x73,0x65,0x74,0x20,0x74,0x68,0x65,0x20,
+	0x73,0x70,0x65,0x65,0x64,0x20,0x6F,0x72,0x20,0x42,0x50,0x4D,
+	0x20,0x76,0x61,0x6C,0x75,0x65,0x20,0x6F,0x66,0x20,0x74,0x68,
+	0x65,0x20,0x73,0x6F,0x6E,0x67,0x2E,0x20,0x49,0x66,0x20,0x76,
+	0x61,0x6C,0x75,0x65,0x3F,0x69,0x73,0x20,0x6C,0x65,0x73,0x73,
+	0x20,0x74,0x68,0x61,0x6E,0x20,0x24,0x32,0x30,0x2C,0x20,0x74,
+	0x68,0x65,0x20,0x73,0x70,0x65,0x65,0x64,0x20,0x77,0x69,0x6C,
+	0x6C,0x20,0x62,0x65,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x64,
+	0x2E,0x20,0x4F,0x74,0x68,0x65,0x72,0x77,0x69,0x73,0x65,0x2C,
+	0x20,0x74,0x68,0x65,0x20,0x42,0x50,0x4D,0x16,0x76,0x61,0x6C,
+	0x75,0x65,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x63,
+	0x68,0x61,0x6E,0x67,0x65,0x64,0x2E,0x00,0x1B,0x40,0x58,0x30,
+	0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x65,0x74,0x20,0x67,
+	0x6C,0x6F,0x62,0x61,0x6C,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x12,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x47,0x20,0x2B,
+	0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x00,0x42,0x53,0x65,0x74,
+	0x73,0x20,0x74,0x68,0x65,0x20,0x67,0x6C,0x6F,0x62,0x61,0x6C,
+	0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x2E,0x20,0x54,0x68,0x65,
+	0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,0x68,0x6F,0x75,
+	0x6C,0x64,0x20,0x6E,0x6F,0x74,0x20,0x62,0x65,0x20,0x67,0x72,
+	0x65,0x61,0x74,0x65,0x72,0x20,0x74,0x68,0x61,0x6E,0x20,0x24,
+	0x34,0x30,0x2E,0x00,0x1D,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x47,0x6C,0x6F,0x62,0x61,0x6C,0x20,0x76,0x6F,
+	0x6C,0x75,0x6D,0x65,0x20,0x73,0x6C,0x69,0x64,0x65,0x0B,0x3E,
+	0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x21,0x53,
+	0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x48,0x20,0x2B,0x20,0x55,
+	0x70,0x20,0x73,0x70,0x65,0x65,0x64,0x20,0x2B,0x20,0x44,0x6F,
+	0x77,0x6E,0x20,0x73,0x70,0x65,0x65,0x64,0x00,0x3D,0x54,0x68,
+	0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x77,
+	0x6F,0x72,0x6B,0x73,0x20,0x65,0x78,0x61,0x63,0x74,0x6C,0x79,
+	0x20,0x61,0x73,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x73,
+	0x6C,0x69,0x64,0x65,0x2C,0x20,0x62,0x75,0x74,0x20,0x69,0x74,
+	0x20,0x73,0x6C,0x69,0x64,0x65,0x73,0x20,0x74,0x68,0x65,0x16,
+	0x67,0x6C,0x6F,0x62,0x61,0x6C,0x20,0x76,0x6F,0x6C,0x75,0x6D,
+	0x65,0x20,0x69,0x6E,0x73,0x74,0x65,0x61,0x64,0x2E,0x00,0x11,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x4B,0x65,
+	0x79,0x20,0x6F,0x66,0x66,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x10,0x53,0x79,0x6E,0x74,0x61,0x78,
+	0x3A,0x20,0x4B,0x20,0x2B,0x20,0x54,0x69,0x63,0x6B,0x00,0x3C,
+	0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x74,0x72,0x69,0x67,0x67,0x65,
+	0x72,0x20,0x61,0x20,0x22,0x4B,0x65,0x79,0x20,0x6F,0x66,0x66,
+	0x22,0x20,0x61,0x74,0x20,0x74,0x68,0x65,0x20,0x73,0x70,0x65,
+	0x63,0x69,0x66,0x69,0x65,0x64,0x20,0x74,0x69,0x63,0x6B,0x2E,
+	0x00,0x1F,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x53,0x65,0x74,0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,
+	0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x14,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x4C,0x20,0x2B,0x20,0x50,0x6F,
+	0x73,0x69,0x74,0x69,0x6F,0x6E,0x00,0x3E,0x43,0x68,0x61,0x6E,
+	0x67,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x65,0x6E,0x76,0x65,
+	0x6C,0x6F,0x70,0x65,0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,
+	0x6E,0x2E,0x20,0x4D,0x61,0x67,0x6E,0x75,0x73,0x20,0x74,0x6F,
+	0x6C,0x64,0x20,0x6D,0x65,0x20,0x74,0x68,0x61,0x74,0x20,0x69,
+	0x74,0x20,0x77,0x6F,0x75,0x6C,0x64,0x20,0x62,0x65,0x0C,0x76,
+	0x65,0x72,0x79,0x20,0x75,0x73,0x61,0x62,0x6C,0x65,0x2E,0x00,
+	0x17,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x50,
+	0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x73,0x6C,0x69,0x64,0x65,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x24,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,0x50,0x20,0x2B,
+	0x20,0x52,0x69,0x67,0x68,0x74,0x20,0x73,0x70,0x65,0x65,0x64,
+	0x20,0x2B,0x20,0x4C,0x65,0x66,0x74,0x20,0x73,0x70,0x65,0x65,
+	0x64,0x00,0x42,0x54,0x68,0x69,0x73,0x20,0x63,0x6F,0x6D,0x6D,
+	0x61,0x6E,0x64,0x20,0x73,0x6C,0x69,0x64,0x65,0x73,0x20,0x74,
+	0x68,0x65,0x20,0x70,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x70,
+	0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x2E,0x20,0x49,0x74,0x20,
+	0x77,0x6F,0x72,0x6B,0x73,0x20,0x6C,0x69,0x6B,0x65,0x20,0x74,
+	0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x3C,0x73,0x6C,
+	0x69,0x64,0x65,0x2E,0x20,0x4E,0x6F,0x74,0x65,0x20,0x74,0x68,
+	0x61,0x74,0x20,0x73,0x6F,0x6D,0x65,0x20,0x73,0x6F,0x75,0x6E,
+	0x64,0x20,0x63,0x61,0x72,0x64,0x73,0x20,0x6D,0x61,0x79,0x20,
+	0x6E,0x6F,0x74,0x20,0x68,0x61,0x6E,0x64,0x6C,0x65,0x20,0x32,
+	0x35,0x36,0x20,0x70,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x0A,0x70,
+	0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x73,0x2E,0x00,0x16,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x4D,0x75,0x6C,
+	0x74,0x69,0x20,0x72,0x65,0x74,0x72,0x69,0x67,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x24,0x53,0x79,
+	0x6E,0x74,0x61,0x78,0x3A,0x20,0x52,0x20,0x2B,0x20,0x56,0x6F,
+	0x6C,0x75,0x6D,0x65,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x20,
+	0x2B,0x20,0x49,0x6E,0x74,0x65,0x72,0x76,0x61,0x6C,0x00,0x32,
+	0x54,0x68,0x69,0x73,0x20,0x69,0x73,0x20,0x61,0x6E,0x20,0x65,
+	0x78,0x74,0x65,0x6E,0x64,0x65,0x64,0x20,0x76,0x65,0x72,0x73,
+	0x69,0x6F,0x6E,0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x20,0x72,
+	0x65,0x74,0x72,0x69,0x67,0x20,0x63,0x6F,0x6D,0x6D,0x61,0x6E,
+	0x64,0x2E,0x00,0x0E,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x63,
+	0x68,0x61,0x6E,0x67,0x65,0x3A,0x1F,0x3E,0x40,0x58,0x31,0x30,
+	0x30,0x30,0x20,0x3D,0x20,0x4E,0x6F,0x6E,0x65,0x20,0x20,0x40,
+	0x54,0x33,0x30,0x30,0x38,0x20,0x3D,0x20,0x55,0x6E,0x75,0x73,
+	0x65,0x64,0x16,0x3E,0x31,0x20,0x3D,0x20,0x2D,0x31,0x20,0x20,
+	0x20,0x20,0x40,0x54,0x33,0x30,0x30,0x39,0x20,0x3D,0x20,0x2B,
+	0x31,0x16,0x3E,0x32,0x20,0x3D,0x20,0x2D,0x32,0x20,0x20,0x20,
+	0x20,0x40,0x54,0x33,0x30,0x30,0x41,0x20,0x3D,0x20,0x2B,0x32,
+	0x16,0x3E,0x33,0x20,0x3D,0x20,0x2D,0x34,0x20,0x20,0x20,0x20,
+	0x40,0x54,0x33,0x30,0x30,0x42,0x20,0x3D,0x20,0x2B,0x34,0x16,
+	0x3E,0x34,0x20,0x3D,0x20,0x2D,0x38,0x20,0x20,0x20,0x20,0x40,
+	0x54,0x33,0x30,0x30,0x43,0x20,0x3D,0x20,0x2B,0x38,0x17,0x3E,
+	0x35,0x20,0x3D,0x20,0x2D,0x31,0x36,0x20,0x20,0x20,0x40,0x54,
+	0x33,0x30,0x30,0x44,0x20,0x3D,0x20,0x2B,0x31,0x36,0x18,0x3E,
+	0x36,0x20,0x3D,0x20,0x2A,0x32,0x2F,0x33,0x20,0x20,0x40,0x54,
+	0x33,0x30,0x30,0x45,0x20,0x3D,0x20,0x2A,0x33,0x2F,0x32,0x16,
+	0x3E,0x37,0x20,0x3D,0x20,0x2A,0x31,0x2F,0x32,0x20,0x20,0x40,
+	0x54,0x33,0x30,0x30,0x46,0x20,0x3D,0x20,0x2A,0x32,0x00,0x10,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x54,0x72,
+	0x65,0x6D,0x6F,0x72,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
+	0x43,0x30,0x30,0x32,0x1E,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,
+	0x20,0x54,0x20,0x2B,0x20,0x4F,0x6E,0x20,0x74,0x69,0x6D,0x65,
+	0x20,0x2B,0x20,0x4F,0x66,0x66,0x20,0x74,0x69,0x6D,0x65,0x00,
+	0x3E,0x54,0x68,0x69,0x73,0x20,0x77,0x65,0x69,0x72,0x64,0x20,
+	0x63,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x20,0x77,0x69,0x6C,0x6C,
+	0x20,0x73,0x65,0x74,0x20,0x74,0x68,0x65,0x20,0x76,0x6F,0x6C,
+	0x75,0x6D,0x65,0x20,0x74,0x6F,0x20,0x7A,0x65,0x72,0x6F,0x20,
+	0x64,0x75,0x72,0x69,0x6E,0x67,0x20,0x6F,0x66,0x66,0x20,0x74,
+	0x69,0x6D,0x65,0x36,0x6E,0x75,0x6D,0x62,0x65,0x72,0x20,0x6F,
+	0x66,0x20,0x74,0x69,0x63,0x6B,0x73,0x2E,0x20,0x49,0x74,0x20,
+	0x69,0x73,0x20,0x69,0x6E,0x63,0x6C,0x75,0x64,0x65,0x64,0x20,
+	0x66,0x6F,0x72,0x20,0x53,0x54,0x4D,0x20,0x63,0x6F,0x6D,0x70,
+	0x61,0x74,0x69,0x62,0x69,0x6C,0x69,0x74,0x79,0x2E,0x00,0x27,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x45,0x78,
+	0x74,0x72,0x61,0x20,0x66,0x69,0x6E,0x65,0x20,0x70,0x6F,0x72,
+	0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x20,0x75,0x70,0x2F,0x64,
+	0x6F,0x77,0x6E,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x19,0x53,0x79,0x6E,0x74,0x61,0x78,0x3A,0x20,
+	0x58,0x28,0x31,0x20,0x6F,0x72,0x20,0x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2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0A,
+	0x40,0x4C,0x4B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,0x00,0x0B,
+	0x3E,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x32,0x4A,
+	0x3E,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x68,0x61,0x76,0x65,
+	0x20,0x61,0x6E,0x20,0x61,0x6D,0x62,0x69,0x74,0x69,0x6F,0x6E,
+	0x20,0x74,0x6F,0x20,0x63,0x72,0x65,0x61,0x74,0x65,0x20,0x6D,
+	0x75,0x73,0x69,0x63,0x20,0x65,0x66,0x66,0x69,0x63,0x69,0x65,
+	0x6E,0x74,0x6C,0x79,0x20,0x77,0x65,0x20,0x73,0x74,0x72,0x6F,
+	0x6E,0x67,0x6C,0x79,0x20,0x72,0x65,0x63,0x6F,0x6D,0x6D,0x65,
+	0x6E,0x64,0x44,0x74,0x68,0x61,0x74,0x20,0x79,0x6F,0x75,0x20,
+	0x6C,0x65,0x61,0x72,0x6E,0x20,0x41,0x4C,0x4C,0x20,0x74,0x68,
+	0x65,0x20,0x6B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,0x20,0x66,
+	0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,0x2E,0x20,0x4D,0x61,
+	0x6E,0x79,0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x6D,0x20,0x61,
+	0x72,0x65,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,0x65,0x45,
+	0x66,0x72,0x6F,0x6D,0x20,0x46,0x61,0x73,0x74,0x74,0x72,0x61,
+	0x63,0x6B,0x65,0x72,0x20,0x31,0x20,0x61,0x6E,0x64,0x20,0x50,
+	0x72,0x6F,0x74,0x72,0x61,0x63,0x6B,0x65,0x72,0x20,0x74,0x6F,
+	0x20,0x65,0x6E,0x73,0x75,0x72,0x65,0x20,0x74,0x68,0x61,0x74,
+	0x20,0x79,0x6F,0x75,0x20,0x66,0x65,0x65,0x6C,0x20,0x63,0x6F,
+	0x6D,0x66,0x6F,0x72,0x74,0x61,0x62,0x6C,0x65,0x2E,0x75,0x73,
+	0x69,0x6E,0x67,0x20,0x74,0x68,0x69,0x73,0x20,0x70,0x72,0x6F,
+	0x67,0x72,0x61,0x6D,0x20,0x66,0x72,0x6F,0x6D,0x20,0x74,0x68,
+	0x65,0x20,0x76,0x65,0x72,0x79,0x20,0x66,0x69,0x72,0x73,0x74,
+	0x20,0x6D,0x69,0x6E,0x75,0x74,0x65,0x2E,0x01,0x3E,0x0B,0x3E,
+	0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x26,0x3E,
+	0x59,0x6F,0x75,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x62,
+	0x65,0x20,0x61,0x77,0x61,0x72,0x65,0x20,0x6F,0x66,0x20,0x74,
+	0x68,0x65,0x20,0x66,0x61,0x63,0x74,0x20,0x74,0x68,0x61,0x74,
+	0x3A,0x01,0x3E,0x48,0x3E,0x40,0x43,0x30,0x30,0x32,0x54,0x68,
+	0x69,0x73,0x20,0x68,0x65,0x6C,0x70,0x20,0x74,0x65,0x78,0x74,
+	0x20,0x69,0x73,0x20,0x77,0x72,0x69,0x74,0x74,0x65,0x6E,0x20,
+	0x75,0x73,0x69,0x6E,0x67,0x20,0x61,0x20,0x53,0x77,0x65,0x64,
+	0x69,0x73,0x68,0x20,0x6B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,
+	0x2E,0x20,0x54,0x68,0x65,0x72,0x65,0x66,0x6F,0x72,0x65,0x20,
+	0x73,0x6F,0x6D,0x65,0x2F,0x72,0x65,0x66,0x65,0x72,0x65,0x6E,
+	0x63,0x65,0x73,0x20,0x74,0x6F,0x20,0x6E,0x6F,0x6E,0x2D,0x6F,
+	0x72,0x64,0x69,0x6E,0x61,0x72,0x79,0x20,0x6B,0x65,0x79,0x73,
+	0x20,0x6D,0x69,0x67,0x68,0x74,0x20,0x62,0x65,0x20,0x77,0x72,
+	0x6F,0x6E,0x67,0x2E,0x0F,0x53,0x68,0x20,0x3D,0x20,0x73,0x68,
+	0x69,0x66,0x74,0x20,0x6B,0x65,0x79,0x2E,0x01,0x3E,0x10,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x69,0x64,
+	0x65,0x6F,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x25,0x41,0x6C,0x74,0x2B,0x45,0x6E,0x74,0x65,
+	0x72,0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x6F,0x67,0x67,0x6C,
+	0x65,0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,
+	0x20,0x6D,0x6F,0x64,0x65,0x00,0x17,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x43,0x75,0x72,0x73,0x6F,0x72,0x20,
+	0x6D,0x6F,0x76,0x65,0x73,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x1D,0x46,0x39,0x2E,0x2E,0x46,
+	0x31,0x32,0x20,0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,0x70,
+	0x20,0x69,0x6E,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,
+	0x32,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x46,0x39,0x2E,0x2E,0x46,
+	0x31,0x32,0x20,0x40,0x54,0x31,0x36,0x30,0x50,0x61,0x74,0x74,
+	0x65,0x72,0x6E,0x2D,0x70,0x6C,0x61,0x79,0x20,0x66,0x72,0x6F,
+	0x6D,0x20,0x46,0x39,0x2E,0x2E,0x46,0x31,0x32,0x20,0x6C,0x69,
+	0x6E,0x65,0x2E,0x2F,0x3E,0x53,0x68,0x2B,0x46,0x39,0x2E,0x2E,
+	0x46,0x31,0x32,0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x74,0x6F,
+	0x72,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x6C,
+	0x69,0x6E,0x65,0x20,0x69,0x6E,0x20,0x46,0x39,0x2E,0x2E,0x46,
+	0x31,0x32,0x2E,0x24,0x3E,0x50,0x61,0x67,0x65,0x55,0x70,0x20,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,0x70,0x20,0x31,
+	0x36,0x2D,0x6C,0x69,0x6E,0x65,0x73,0x20,0x75,0x70,0x77,0x61,
+	0x72,0x64,0x73,0x2E,0x27,0x3E,0x50,0x61,0x67,0x65,0x44,0x6F,
+	0x77,0x6E,0x20,0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,0x70,
+	0x20,0x31,0x36,0x2D,0x6C,0x69,0x6E,0x65,0x73,0x20,0x64,0x6F,
+	0x77,0x6E,0x77,0x61,0x72,0x64,0x73,0x2E,0x1B,0x3E,0x48,0x6F,
+	0x6D,0x65,0x20,0x20,0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,
+	0x70,0x20,0x74,0x6F,0x20,0x6C,0x69,0x6E,0x65,0x20,0x30,0x2E,
+	0x1D,0x3E,0x45,0x6E,0x64,0x20,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x4A,0x75,0x6D,0x70,0x20,0x74,0x6F,0x20,0x6C,0x61,0x73,0x74,
+	0x20,0x6C,0x69,0x6E,0x65,0x2E,0x1E,0x3E,0x54,0x61,0x62,0x20,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,0x70,0x20,0x74,
+	0x6F,0x20,0x6E,0x65,0x78,0x74,0x20,0x74,0x72,0x61,0x63,0x6B,
+	0x2E,0x33,0x3E,0x41,0x6C,0x74,0x2B,0x51,0x2E,0x2E,0x49,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,0x70,0x20,0x74,0x6F,
+	0x20,0x74,0x72,0x61,0x63,0x6B,0x20,0x28,0x30,0x2E,0x2E,0x37,
+	0x29,0x20,0x4D,0x4F,0x44,0x20,0x4E,0x2D,0x43,0x68,0x61,0x6E,
+	0x6E,0x65,0x6C,0x73,0x2E,0x34,0x3E,0x41,0x6C,0x74,0x2B,0x41,
+	0x2E,0x2E,0x4B,0x20,0x40,0x54,0x31,0x36,0x30,0x4A,0x75,0x6D,
+	0x70,0x20,0x74,0x6F,0x20,0x74,0x72,0x61,0x63,0x6B,0x20,0x28,
+	0x38,0x2E,0x2E,0x31,0x35,0x29,0x20,0x4D,0x4F,0x44,0x20,0x4E,
+	0x2D,0x43,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x73,0x2E,0x00,0x19,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x43,0x75,
+	0x74,0x2F,0x43,0x6F,0x70,0x79,0x2F,0x50,0x61,0x73,0x74,0x65,
+	0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
+	0x32,0x34,0x44,0x65,0x6C,0x65,0x74,0x65,0x20,0x20,0x40,0x54,
+	0x31,0x36,0x30,0x44,0x65,0x6C,0x65,0x74,0x65,0x20,0x6E,0x6F,
+	0x74,0x65,0x20,0x6F,0x72,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x20,0x61,0x74,0x20,0x63,
+	0x75,0x72,0x73,0x6F,0x72,0x2E,0x39,0x3E,0x53,0x68,0x2B,0x44,
+	0x65,0x6C,0x65,0x74,0x65,0x20,0x40,0x54,0x31,0x36,0x30,0x44,
+	0x65,0x6C,0x65,0x74,0x65,0x20,0x6E,0x6F,0x74,0x65,0x2C,0x20,
+	0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x61,0x6E,0x64,0x20,0x65,
+	0x66,0x66,0x65,0x63,0x74,0x20,0x61,0x74,0x20,0x63,0x75,0x72,
+	0x73,0x6F,0x72,0x2E,0x35,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x44,
+	0x65,0x6C,0x65,0x74,0x65,0x20,0x40,0x54,0x31,0x36,0x30,0x44,
+	0x65,0x6C,0x65,0x74,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x20,0x61,0x6E,0x64,0x20,0x65,0x66,0x66,0x65,0x63,0x74,0x20,
+	0x61,0x74,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x2E,0x29,0x3E,
+	0x41,0x6C,0x74,0x2B,0x44,0x65,0x6C,0x65,0x74,0x65,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x44,0x65,0x6C,0x65,0x74,0x65,0x20,0x65,
+	0x66,0x66,0x65,0x63,0x74,0x20,0x61,0x74,0x20,0x63,0x75,0x72,
+	0x73,0x6F,0x72,0x2E,0x24,0x3E,0x49,0x6E,0x73,0x65,0x72,0x74,
+	0x20,0x20,0x40,0x54,0x31,0x36,0x30,0x49,0x6E,0x73,0x65,0x72,
+	0x74,0x20,0x6E,0x6F,0x74,0x65,0x20,0x61,0x74,0x20,0x63,0x75,
+	0x72,0x73,0x6F,0x72,0x2E,0x27,0x3E,0x53,0x68,0x2B,0x49,0x6E,
+	0x73,0x65,0x72,0x74,0x20,0x20,0x40,0x54,0x31,0x36,0x30,0x49,
+	0x6E,0x73,0x65,0x72,0x74,0x20,0x6C,0x69,0x6E,0x65,0x20,0x61,
+	0x74,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x2E,0x25,0x3E,0x42,
+	0x61,0x63,0x6B,0x73,0x70,0x61,0x63,0x65,0x20,0x40,0x54,0x31,
+	0x36,0x30,0x44,0x65,0x6C,0x65,0x74,0x65,0x20,0x70,0x72,0x65,
+	0x76,0x69,0x6F,0x75,0x73,0x20,0x6E,0x6F,0x74,0x65,0x2E,0x28,
+	0x3E,0x53,0x68,0x2B,0x42,0x61,0x63,0x6B,0x73,0x70,0x61,0x63,
+	0x65,0x20,0x40,0x54,0x31,0x36,0x30,0x44,0x65,0x6C,0x65,0x74,
+	0x65,0x20,0x70,0x72,0x65,0x76,0x69,0x6F,0x75,0x73,0x20,0x6C,
+	0x69,0x6E,0x65,0x2E,0x1C,0x3E,0x41,0x6C,0x74,0x2B,0x43,0x75,
+	0x72,0x73,0x6F,0x72,0x20,0x40,0x54,0x31,0x36,0x30,0x4D,0x61,
+	0x72,0x6B,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,0x16,0x3E,0x53,
+	0x68,0x2B,0x46,0x33,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x75,
+	0x74,0x20,0x74,0x72,0x61,0x63,0x6B,0x2E,0x17,0x3E,0x53,0x68,
+	0x2B,0x46,0x34,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6F,0x70,
+	0x79,0x20,0x74,0x72,0x61,0x63,0x6B,0x2E,0x18,0x3E,0x53,0x68,
+	0x2B,0x46,0x35,0x20,0x40,0x54,0x31,0x36,0x30,0x50,0x61,0x73,
+	0x74,0x65,0x20,0x74,0x72,0x61,0x63,0x6B,0x2E,0x1A,0x3E,0x43,
+	0x74,0x72,0x6C,0x2B,0x46,0x33,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x43,0x75,0x74,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,
+	0x1B,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x46,0x34,0x20,0x40,0x54,
+	0x31,0x36,0x30,0x43,0x6F,0x70,0x79,0x20,0x70,0x61,0x74,0x74,
+	0x65,0x72,0x6E,0x2E,0x1C,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x46,
+	0x35,0x20,0x40,0x54,0x31,0x36,0x30,0x50,0x61,0x73,0x74,0x65,
+	0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,0x17,0x3E,0x41,
+	0x6C,0x74,0x2B,0x46,0x33,0x20,0x40,0x54,0x31,0x36,0x30,0x43,
+	0x75,0x74,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,0x18,0x3E,0x41,
+	0x6C,0x74,0x2B,0x46,0x34,0x20,0x40,0x54,0x31,0x36,0x30,0x43,
+	0x6F,0x70,0x79,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,0x19,0x3E,
+	0x41,0x6C,0x74,0x2B,0x46,0x35,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x50,0x61,0x73,0x74,0x65,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,
+	0x20,0x3E,0x41,0x6C,0x74,0x2B,0x43,0x20,0x20,0x40,0x54,0x31,
+	0x36,0x30,0x4D,0x61,0x72,0x6B,0x20,0x63,0x75,0x72,0x72,0x65,
+	0x6E,0x74,0x20,0x74,0x72,0x61,0x63,0x6B,0x2E,0x00,0x18,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x4D,0x69,0x73,
+	0x63,0x65,0x6C,0x6C,0x61,0x6E,0x65,0x6F,0x75,0x73,0x3A,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x1C,
+	0x52,0x69,0x67,0x68,0x74,0x20,0x63,0x74,0x72,0x6C,0x2E,0x20,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x50,0x6C,0x61,0x79,0x20,0x73,
+	0x6F,0x6E,0x67,0x2E,0x1D,0x3E,0x41,0x6C,0x74,0x20,0x47,0x72,
+	0x20,0x20,0x20,0x20,0x40,0x54,0x31,0x36,0x30,0x50,0x6C,0x61,
+	0x79,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,0x22,0x3E,
+	0x52,0x69,0x67,0x68,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x20,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x52,0x65,0x63,0x6F,0x72,0x64,
+	0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,0x19,0x3E,0x53,
+	0x70,0x61,0x63,0x65,0x20,0x20,0x20,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x53,0x74,0x6F,0x70,0x2F,0x45,0x64,0x69,0x74,0x2E,0x1B,
+	0x3E,0x46,0x31,0x2E,0x2E,0x46,0x37,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x53,0x65,0x6C,0x65,0x63,0x74,0x20,0x6F,0x63,0x74,0x61,
+	0x76,0x65,0x2E,0x27,0x3E,0x4B,0x65,0x79,0x20,0x62,0x65,0x6C,
+	0x6F,0x77,0x20,0x45,0x73,0x63,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x49,0x6E,0x63,0x72,0x65,0x61,0x73,0x65,0x20,0x63,0x75,0x72,
+	0x73,0x6F,0x72,0x61,0x64,0x64,0x2E,0x22,0x3E,0x53,0x68,0x2B,
+	0x28,0x31,0x2F,0x32,0x29,0x20,0x40,0x54,0x31,0x36,0x30,0x44,
+	0x65,0x63,0x72,0x65,0x61,0x73,0x65,0x20,0x63,0x75,0x72,0x73,
+	0x6F,0x72,0x61,0x64,0x64,0x2E,0x23,0x3E,0x43,0x61,0x70,0x73,
+	0x4C,0x6F,0x63,0x6B,0x20,0x40,0x54,0x31,0x36,0x30,0x45,0x6E,
+	0x74,0x65,0x72,0x20,0x4B,0x65,0x79,0x6F,0x66,0x66,0x2D,0x22,
+	0x6E,0x6F,0x74,0x65,0x22,0x2E,0x25,0x3E,0x53,0x68,0x2B,0x4C,
+	0x65,0x66,0x74,0x20,0x40,0x54,0x31,0x36,0x30,0x49,0x6E,0x63,
+	0x72,0x65,0x61,0x73,0x65,0x20,0x73,0x6F,0x6E,0x67,0x20,0x70,
+	0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x2E,0x26,0x3E,0x53,0x68,
+	0x2B,0x52,0x69,0x67,0x68,0x74,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x44,0x65,0x63,0x72,0x65,0x61,0x73,0x65,0x20,0x73,0x6F,0x6E,
+	0x67,0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x2E,0x28,
+	0x3E,0x43,0x74,0x72,0x6C,0x2B,0x4C,0x65,0x66,0x74,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x49,0x6E,0x63,0x72,0x65,0x61,0x73,0x65,
+	0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x6E,0x75,0x6D,
+	0x62,0x65,0x72,0x2E,0x29,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x52,
+	0x69,0x67,0x68,0x74,0x20,0x40,0x54,0x31,0x36,0x30,0x44,0x65,
+	0x63,0x72,0x65,0x61,0x73,0x65,0x20,0x70,0x61,0x74,0x74,0x65,
+	0x72,0x6E,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x2E,0x00,0x1B,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x57,0x69,
+	0x6E,0x64,0x6F,0x77,0x20,0x73,0x77,0x69,0x74,0x63,0x68,0x69,
+	0x6E,0x67,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x05,0x43,0x74,0x72,0x6C,0x2B,0x16,0x3E,0x41,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x41,0x64,0x76,0x61,0x6E,0x63,
+	0x65,0x64,0x20,0x65,0x64,0x69,0x74,0x2E,0x0E,0x3E,0x42,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x41,0x62,0x6F,0x75,0x74,0x2E,0x16,
+	0x3E,0x43,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6F,0x6E,0x66,
+	0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x2E,0x18,0x3E,
+	0x44,0x20,0x40,0x54,0x31,0x36,0x30,0x44,0x69,0x73,0x6B,0x20,
+	0x6F,0x70,0x65,0x72,0x61,0x74,0x69,0x6F,0x6E,0x73,0x2E,0x20,
+	0x3E,0x45,0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x61,0x6D,0x70,
+	0x6C,0x65,0x20,0x65,0x64,0x69,0x74,0x6F,0x72,0x20,0x65,0x78,
+	0x74,0x65,0x6E,0x73,0x69,0x6F,0x6E,0x2E,0x0D,0x3E,0x48,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x48,0x65,0x6C,0x70,0x2E,0x1A,0x3E,
+	0x49,0x20,0x40,0x54,0x31,0x36,0x30,0x49,0x6E,0x73,0x74,0x72,
+	0x75,0x6D,0x65,0x6E,0x74,0x20,0x65,0x64,0x69,0x74,0x6F,0x72,
+	0x2E,0x2B,0x3E,0x4D,0x20,0x40,0x54,0x31,0x36,0x30,0x49,0x6E,
+	0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x65,0x64,0x69,
+	0x74,0x6F,0x72,0x20,0x65,0x78,0x74,0x65,0x6E,0x73,0x69,0x6F,
+	0x6E,0x2E,0x20,0x28,0x4D,0x49,0x44,0x49,0x29,0x10,0x3E,0x4E,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x4E,0x69,0x62,0x62,0x6C,0x65,
+	0x73,0x2E,0x10,0x3E,0x50,0x20,0x40,0x54,0x31,0x36,0x30,0x50,
+	0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,0x0D,0x3E,0x52,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x54,0x72,0x69,0x6D,0x2E,0x16,0x3E,0x53,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x61,0x6D,0x70,0x6C,0x65,
+	0x20,0x65,0x64,0x69,0x74,0x6F,0x72,0x2E,0x12,0x3E,0x54,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,
+	0x73,0x65,0x2E,0x23,0x3E,0x58,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x4D,0x61,0x69,0x6E,0x20,0x73,0x63,0x72,0x65,0x65,0x6E,0x2E,
+	0x20,0x28,0x61,0x6C,0x6D,0x6F,0x73,0x74,0x20,0x61,0x6C,0x74,
+	0x2B,0x58,0x29,0x27,0x3E,0x5A,0x20,0x40,0x54,0x31,0x36,0x30,
+	0x46,0x75,0x6C,0x6C,0x20,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,
+	0x65,0x64,0x69,0x74,0x2E,0x20,0x28,0x5A,0x20,0x66,0x6F,0x72,
+	0x20,0x73,0x69,0x5A,0x65,0x3F,0x29,0x19,0x3E,0x31,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,
+	0x61,0x74,0x69,0x6F,0x6E,0x20,0x23,0x31,0x2E,0x19,0x3E,0x32,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6F,0x6E,0x66,0x69,0x67,
+	0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,0x23,0x32,0x2E,0x19,
+	0x3E,0x33,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6F,0x6E,0x66,
+	0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,0x23,0x33,
+	0x2E,0x19,0x3E,0x34,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6F,
+	0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,
+	0x23,0x34,0x2E,0x00,0x2D,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x49,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,
+	0x74,0x20,0x73,0x65,0x6C,0x65,0x63,0x74,0x20,0x28,0x4E,0x75,
+	0x6D,0x65,0x72,0x69,0x63,0x20,0x6B,0x65,0x79,0x70,0x61,0x64,
+	0x29,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x28,0x54,0x6F,0x70,0x20,0x34,0x20,0x6B,0x65,0x79,
+	0x73,0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x65,0x6C,0x65,0x63,
+	0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,
+	0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,0x32,0x3E,0x27,0x2B,0x27,
+	0x20,0x2B,0x54,0x6F,0x70,0x20,0x34,0x20,0x6B,0x65,0x79,0x73,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x65,0x6C,0x65,0x63,0x74,
+	0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,
+	0x62,0x6C,0x6F,0x63,0x6B,0x20,0x2B,0x20,0x34,0x2E,0x23,0x3E,
+	0x45,0x6E,0x74,0x65,0x72,0x20,0x40,0x54,0x31,0x36,0x30,0x53,
+	0x65,0x6C,0x65,0x63,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,
+	0x6D,0x65,0x6E,0x74,0x20,0x62,0x61,0x6E,0x6B,0x2E,0x1D,0x3E,
+	0x30,0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x65,0x6C,0x65,0x63,
+	0x74,0x20,0x6E,0x6F,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,
+	0x65,0x6E,0x74,0x2E,0x26,0x3E,0x31,0x2E,0x2E,0x38,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x53,0x65,0x6C,0x65,0x63,0x74,0x20,0x69,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x69,0x6E,
+	0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,0x19,0x3E,0x2C,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x43,0x6C,0x65,0x61,0x72,0x20,0x69,0x6E,
+	0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2E,0x18,0x3E,0x53,
+	0x68,0x2B,0x2C,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6C,0x65,
+	0x61,0x72,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x2E,0x27,0x3E,
+	0x53,0x68,0x2B,0x55,0x70,0x20,0x40,0x54,0x31,0x36,0x30,0x53,
+	0x65,0x6C,0x65,0x63,0x74,0x20,0x70,0x72,0x65,0x76,0x69,0x6F,
+	0x75,0x73,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,
+	0x74,0x2E,0x25,0x3E,0x53,0x68,0x2B,0x44,0x6F,0x77,0x6E,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x53,0x65,0x6C,0x65,0x63,0x74,0x20,
+	0x6E,0x65,0x78,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,
+	0x65,0x6E,0x74,0x2E,0x00,0x1F,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x43,0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x2F,
+	0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x6D,0x61,0x63,0x72,0x6F,
+	0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
+	0x32,0x2D,0x41,0x6C,0x74,0x2B,0x31,0x2E,0x2E,0x30,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x57,0x72,0x69,0x74,0x65,0x20,0x63,0x6F,
+	0x6D,0x6D,0x61,0x6E,0x64,0x2F,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x20,0x61,0x74,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x2E,0x30,
+	0x3E,0x53,0x68,0x2B,0x41,0x6C,0x74,0x2B,0x31,0x2E,0x2E,0x30,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x52,0x65,0x61,0x64,0x20,0x63,
+	0x6F,0x6D,0x6D,0x61,0x6E,0x64,0x2F,0x76,0x6F,0x6C,0x75,0x6D,
+	0x65,0x20,0x61,0x74,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x2E,
+	0x00,0x1C,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x53,0x63,0x61,0x6C,0x65,0x2D,0x66,0x61,0x64,0x65,0x20,0x76,
+	0x6F,0x6C,0x75,0x6D,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x25,0x53,0x68,0x2B,0x56,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x53,0x63,0x61,0x6C,0x65,0x2D,0x66,
+	0x61,0x64,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x69,
+	0x6E,0x20,0x74,0x72,0x61,0x63,0x6B,0x2E,0x2A,0x3E,0x43,0x74,
+	0x72,0x6C,0x2B,0x56,0x20,0x40,0x54,0x31,0x36,0x30,0x53,0x63,
+	0x61,0x6C,0x65,0x2D,0x66,0x61,0x64,0x65,0x20,0x76,0x6F,0x6C,
+	0x75,0x6D,0x65,0x20,0x69,0x6E,0x20,0x70,0x61,0x74,0x74,0x65,
+	0x72,0x6E,0x2E,0x27,0x3E,0x41,0x6C,0x74,0x2B,0x56,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x53,0x63,0x61,0x6C,0x65,0x2D,0x66,0x61,
+	0x64,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x69,0x6E,
+	0x20,0x62,0x6C,0x6F,0x63,0x6B,0x2E,0x00,0x14,0x40,0x58,0x30,
+	0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x54,0x72,0x61,0x6E,0x73,
+	0x70,0x6F,0x73,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x36,0x53,0x68,0x2B,0x46,0x37,0x20,
+	0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,
+	0x73,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x69,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x69,0x6E,
+	0x20,0x74,0x72,0x61,0x63,0x6B,0x20,0x64,0x6F,0x77,0x6E,0x2E,
+	0x35,0x3E,0x53,0x68,0x2B,0x46,0x38,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,0x73,0x65,0x20,0x63,
+	0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,
+	0x75,0x6D,0x65,0x6E,0x74,0x20,0x69,0x6E,0x20,0x74,0x72,0x61,
+	0x63,0x6B,0x20,0x75,0x70,0x2E,0x3B,0x3E,0x43,0x74,0x72,0x6C,
+	0x2B,0x46,0x37,0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,
+	0x6E,0x73,0x70,0x6F,0x73,0x65,0x20,0x63,0x75,0x72,0x72,0x65,
+	0x6E,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,
+	0x74,0x20,0x69,0x6E,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,
+	0x20,0x64,0x6F,0x77,0x6E,0x2E,0x39,0x3E,0x43,0x74,0x72,0x6C,
+	0x2B,0x46,0x38,0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,
+	0x6E,0x73,0x70,0x6F,0x73,0x65,0x20,0x63,0x75,0x72,0x72,0x65,
+	0x6E,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,
+	0x74,0x20,0x69,0x6E,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,
+	0x20,0x75,0x70,0x2E,0x38,0x3E,0x41,0x6C,0x74,0x2B,0x46,0x37,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,
+	0x6F,0x73,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,
+	0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x69,
+	0x6E,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x20,0x64,0x6F,0x77,0x6E,
+	0x2E,0x36,0x3E,0x41,0x6C,0x74,0x2B,0x46,0x38,0x20,0x40,0x54,
+	0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,0x73,0x65,
+	0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x69,0x6E,0x73,
+	0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x69,0x6E,0x20,0x62,
+	0x6C,0x6F,0x63,0x6B,0x20,0x75,0x70,0x2E,0x34,0x3E,0x53,0x68,
+	0x2B,0x46,0x31,0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,
+	0x6E,0x73,0x70,0x6F,0x73,0x65,0x20,0x61,0x6C,0x6C,0x20,0x69,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x73,0x20,0x69,
+	0x6E,0x20,0x74,0x72,0x61,0x63,0x6B,0x20,0x64,0x6F,0x77,0x6E,
+	0x2E,0x32,0x3E,0x53,0x68,0x2B,0x46,0x32,0x20,0x40,0x54,0x31,
+	0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,0x73,0x65,0x20,
+	0x61,0x6C,0x6C,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,
+	0x6E,0x74,0x73,0x20,0x69,0x6E,0x20,0x74,0x72,0x61,0x63,0x6B,
+	0x20,0x75,0x70,0x2E,0x38,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x46,
+	0x31,0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,
+	0x70,0x6F,0x73,0x65,0x20,0x61,0x6C,0x6C,0x20,0x69,0x6E,0x73,
+	0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x73,0x20,0x69,0x6E,0x20,
+	0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x64,0x6F,0x77,0x6E,
+	0x2E,0x36,0x3E,0x43,0x74,0x72,0x6C,0x2B,0x46,0x32,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,0x73,
+	0x65,0x20,0x61,0x6C,0x6C,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,
+	0x6D,0x65,0x6E,0x74,0x73,0x20,0x69,0x6E,0x20,0x70,0x61,0x74,
+	0x74,0x65,0x72,0x6E,0x20,0x75,0x70,0x2E,0x35,0x3E,0x41,0x6C,
+	0x74,0x2B,0x46,0x31,0x20,0x40,0x54,0x31,0x36,0x30,0x54,0x72,
+	0x61,0x6E,0x73,0x70,0x6F,0x73,0x65,0x20,0x61,0x6C,0x6C,0x20,
+	0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x73,0x20,
+	0x69,0x6E,0x20,0x62,0x6C,0x6F,0x63,0x6B,0x20,0x64,0x6F,0x77,
+	0x6E,0x2E,0x33,0x3E,0x41,0x6C,0x74,0x2B,0x46,0x32,0x20,0x40,
+	0x54,0x31,0x36,0x30,0x54,0x72,0x61,0x6E,0x73,0x70,0x6F,0x73,
+	0x65,0x20,0x61,0x6C,0x6C,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,
+	0x6D,0x65,0x6E,0x74,0x73,0x20,0x69,0x6E,0x20,0x62,0x6C,0x6F,
+	0x63,0x6B,0x20,0x75,0x70,0x2E,0x01,0x3E,0x18,0x40,0x58,0x30,
+	0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x61,0x6D,0x70,0x6C,
+	0x65,0x20,0x65,0x64,0x69,0x74,0x6F,0x72,0x3A,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x1A,0x41,0x6C,
+	0x74,0x2F,0x43,0x74,0x72,0x6C,0x2B,0x41,0x20,0x40,0x54,0x31,
+	0x36,0x30,0x52,0x61,0x6E,0x67,0x65,0x20,0x61,0x6C,0x6C,0x2E,
+	0x17,0x3E,0x41,0x6C,0x74,0x2B,0x53,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x53,0x68,0x6F,0x77,0x20,0x72,0x61,0x6E,0x67,0x65,0x2E,
+	0x15,0x3E,0x41,0x6C,0x74,0x2B,0x5A,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x5A,0x6F,0x6F,0x6D,0x20,0x6F,0x75,0x74,0x2E,0x1A,0x3E,
+	0x41,0x6C,0x74,0x2B,0x58,0x20,0x6F,0x72,0x20,0x44,0x65,0x6C,
+	0x65,0x74,0x65,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x75,0x74,
+	0x2E,0x16,0x3E,0x41,0x6C,0x74,0x2F,0x43,0x74,0x72,0x6C,0x2B,
+	0x43,0x20,0x40,0x54,0x31,0x36,0x30,0x43,0x6F,0x70,0x79,0x2E,
+	0x17,0x3E,0x41,0x6C,0x74,0x2F,0x43,0x74,0x72,0x6C,0x2B,0x56,
+	0x20,0x40,0x54,0x31,0x36,0x30,0x50,0x61,0x73,0x74,0x65,0x2E,
+	0x11,0x3E,0x41,0x6C,0x74,0x2B,0x52,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x43,0x72,0x6F,0x70,0x2E,0x2A,0x3E,0x4D,0x6F,0x75,0x73,
+	0x65,0x20,0x77,0x68,0x65,0x65,0x6C,0x20,0x40,0x54,0x31,0x36,
+	0x30,0x5A,0x6F,0x6F,0x6D,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,
+	0x20,0x64,0x61,0x74,0x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0x34,0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x3E,0x41,
+	0x6C,0x6C,0x20,0x22,0x6E,0x6F,0x74,0x2D,0x74,0x6F,0x6F,0x2D,
+	0x74,0x72,0x69,0x76,0x69,0x61,0x6C,0x22,0x20,0x66,0x75,0x6E,
+	0x63,0x74,0x69,0x6F,0x6E,0x73,0x20,0x61,0x72,0x65,0x20,0x70,
+	0x72,0x65,0x73,0x65,0x6E,0x74,0x65,0x64,0x20,0x62,0x65,0x6C,
+	0x6F,0x77,0x20,0x28,0x6F,0x72,0x64,0x65,0x72,0x65,0x64,0x20,
+	0x69,0x6E,0x22,0x77,0x69,0x6E,0x64,0x6F,0x77,0x73,0x29,0x20,
+	0x77,0x69,0x74,0x68,0x20,0x61,0x20,0x73,0x68,0x6F,0x72,0x74,
+	0x20,0x64,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6F,0x6E,
+	0x2E,0x00,0x17,0x3E,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x4D,0x61,0x69,0x6E,0x20,0x73,0x63,0x72,0x65,0x65,
+	0x6E,0x3A,0x01,0x3E,0x22,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x42,0x50,0x4D,0x20,0x28,0x42,0x65,0x61,
+	0x74,0x73,0x20,0x70,0x65,0x72,0x20,0x6D,0x69,0x6E,0x75,0x74,
+	0x65,0x29,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x40,0x54,0x68,0x65,0x20,0x42,0x50,0x4D,0x20,
+	0x73,0x65,0x74,0x74,0x69,0x6E,0x67,0x20,0x64,0x65,0x66,0x69,
+	0x6E,0x65,0x73,0x20,0x68,0x6F,0x77,0x20,0x66,0x61,0x73,0x74,
+	0x20,0x28,0x74,0x69,0x63,0x6B,0x73,0x2F,0x73,0x65,0x63,0x6F,
+	0x6E,0x64,0x29,0x20,0x74,0x68,0x65,0x20,0x6D,0x75,0x73,0x69,
+	0x63,0x20,0x70,0x6C,0x61,0x79,0x65,0x72,0x1C,0x77,0x69,0x6C,
+	0x6C,0x20,0x72,0x75,0x6E,0x2E,0x20,0x31,0x32,0x35,0x20,0x42,
+	0x50,0x4D,0x20,0x3C,0x2D,0x3E,0x20,0x35,0x30,0x20,0x48,0x7A,
+	0x2E,0x28,0x3E,0x4E,0x75,0x6D,0x62,0x65,0x72,0x20,0x6F,0x66,
+	0x20,0x70,0x6C,0x61,0x79,0x65,0x72,0x20,0x74,0x69,0x63,0x6B,
+	0x73,0x2F,0x73,0x65,0x63,0x6F,0x6E,0x64,0x20,0x3D,0x20,0x42,
+	0x50,0x4D,0x2A,0x32,0x2F,0x35,0x00,0x16,0x3E,0x40,0x58,0x30,
+	0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x70,0x64,0x2C,0x20,
+	0x53,0x70,0x65,0x65,0x64,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x2C,0x53,0x70,0x65,0x65,0x64,
+	0x20,0x3D,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x20,0x6F,0x66,
+	0x20,0x70,0x6C,0x61,0x79,0x65,0x72,0x20,0x74,0x69,0x63,0x6B,
+	0x73,0x2F,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x6C,0x69,
+	0x6E,0x65,0x2E,0x00,0x0F,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x41,0x64,0x64,0x3A,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3E,0x22,0x41,0x64,
+	0x64,0x22,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,0x6E,0x75,
+	0x6D,0x62,0x65,0x72,0x20,0x6F,0x66,0x20,0x70,0x61,0x74,0x74,
+	0x65,0x72,0x6E,0x20,0x6C,0x69,0x6E,0x65,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x20,0x6A,0x75,0x6D,
+	0x70,0x73,0x20,0x77,0x68,0x65,0x6E,0x20,0x79,0x6F,0x75,0x0C,
+	0x65,0x64,0x69,0x74,0x20,0x61,0x20,0x6E,0x6F,0x74,0x65,0x2E,
+	0x00,0x0F,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x50,0x74,0x6E,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x1B,0x54,0x68,0x65,0x20,0x63,0x75,
+	0x72,0x72,0x65,0x6E,0x74,0x20,0x70,0x61,0x74,0x74,0x65,0x72,
+	0x6E,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x2E,0x00,0x0E,0x3E,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x4C,0x6E,
+	0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
+	0x32,0x43,0x54,0x68,0x65,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,
+	0x20,0x6F,0x66,0x20,0x6C,0x69,0x6E,0x65,0x73,0x20,0x66,0x6F,
+	0x72,0x20,0x74,0x68,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,
+	0x74,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,0x20,0x55,
+	0x70,0x20,0x74,0x6F,0x20,0x24,0x31,0x30,0x30,0x20,0x6C,0x69,
+	0x6E,0x65,0x73,0x2E,0x20,0x4E,0x6F,0x74,0x65,0x40,0x74,0x68,
+	0x61,0x74,0x20,0x46,0x54,0x32,0x20,0x77,0x6F,0x6E,0x27,0x74,
+	0x20,0x77,0x61,0x72,0x6E,0x20,0x79,0x6F,0x75,0x20,0x69,0x66,
+	0x20,0x79,0x6F,0x75,0x20,0x64,0x65,0x63,0x72,0x65,0x61,0x73,
+	0x65,0x20,0x74,0x68,0x69,0x73,0x20,0x76,0x61,0x6C,0x75,0x65,
+	0x2E,0x20,0x54,0x68,0x65,0x20,0x6E,0x6F,0x74,0x65,0x73,0x20,
+	0x61,0x74,0x37,0x74,0x68,0x65,0x20,0x62,0x6F,0x74,0x74,0x6F,
+	0x6D,0x20,0x6C,0x69,0x6E,0x65,0x20,0x77,0x69,0x6C,0x6C,0x20,
+	0x62,0x65,0x20,0x74,0x68,0x72,0x6F,0x77,0x6E,0x20,0x6F,0x75,
+	0x74,0x20,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x62,0x69,0x6E,
+	0x61,0x72,0x79,0x20,0x73,0x70,0x61,0x63,0x65,0x2E,0x00,0x10,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x45,
+	0x78,0x70,0x64,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
+	0x43,0x30,0x30,0x32,0x44,0x45,0x78,0x70,0x61,0x6E,0x64,0x20,
+	0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x2E,0x20,0x49,0x6E,0x73,
+	0x65,0x72,0x74,0x73,0x20,0x61,0x20,0x62,0x6C,0x61,0x6E,0x6B,
+	0x20,0x6C,0x69,0x6E,0x65,0x20,0x61,0x66,0x74,0x65,0x72,0x20,
+	0x65,0x61,0x63,0x68,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,
+	0x20,0x6C,0x69,0x6E,0x65,0x2E,0x20,0x55,0x73,0x65,0x66,0x75,
+	0x6C,0x3C,0x69,0x66,0x20,0x79,0x6F,0x75,0x20,0x77,0x61,0x6E,
+	0x74,0x20,0x74,0x6F,0x20,0x63,0x6F,0x6E,0x76,0x65,0x72,0x74,
+	0x20,0x61,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x74,
+	0x68,0x61,0x74,0x20,0x72,0x75,0x6E,0x73,0x20,0x69,0x6E,0x20,
+	0x73,0x70,0x65,0x65,0x64,0x20,0x32,0x2A,0x78,0x20,0x74,0x6F,
+	0x20,0x61,0x1D,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x74,
+	0x68,0x61,0x74,0x20,0x72,0x75,0x6E,0x73,0x20,0x69,0x6E,0x20,
+	0x73,0x70,0x65,0x65,0x64,0x20,0x78,0x2E,0x00,0x10,0x3E,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x68,0x6E,
+	0x6B,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x2E,0x53,0x68,0x72,0x69,0x6E,0x6B,0x20,0x70,0x61,
+	0x74,0x74,0x65,0x72,0x6E,0x2E,0x20,0x44,0x65,0x6C,0x65,0x74,
+	0x65,0x73,0x20,0x61,0x6C,0x6C,0x20,0x6F,0x64,0x64,0x20,0x70,
+	0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x6C,0x69,0x6E,0x65,0x73,
+	0x2E,0x00,0x2A,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x54,0x68,0x65,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,
+	0x6D,0x65,0x6E,0x74,0x2F,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,
+	0x73,0x65,0x6C,0x65,0x63,0x74,0x6F,0x72,0x3A,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3A,0x54,0x68,
+	0x65,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,
+	0x20,0x74,0x68,0x61,0x74,0x20,0x68,0x61,0x73,0x20,0x61,0x20,
+	0x6D,0x61,0x72,0x6B,0x20,0x6F,0x6E,0x20,0x69,0x74,0x27,0x73,
+	0x20,0x6E,0x61,0x6D,0x65,0x20,0x73,0x74,0x72,0x69,0x6E,0x67,
+	0x2C,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x17,0x64,0x65,0x73,
+	0x74,0x69,0x6E,0x61,0x74,0x69,0x6F,0x6E,0x20,0x69,0x6E,0x73,
+	0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2E,0x3D,0x3E,0x54,0x68,
+	0x65,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,
+	0x20,0x74,0x68,0x61,0x74,0x20,0x68,0x61,0x73,0x20,0x61,0x20,
+	0x6D,0x61,0x72,0x6B,0x20,0x6F,0x6E,0x20,0x69,0x74,0x27,0x73,
+	0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x2C,0x20,0x69,0x73,0x20,
+	0x74,0x68,0x65,0x20,0x73,0x6F,0x75,0x72,0x63,0x65,0x0B,0x69,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2E,0x1F,0x3E,
+	0x54,0x68,0x65,0x20,0x73,0x61,0x6D,0x65,0x20,0x67,0x6F,0x65,
+	0x73,0x20,0x66,0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x73,0x61,
+	0x6D,0x70,0x6C,0x65,0x73,0x2E,0x42,0x3E,0x59,0x6F,0x75,0x20,
+	0x63,0x68,0x61,0x6E,0x67,0x65,0x20,0x74,0x68,0x65,0x20,0x6E,
+	0x61,0x6D,0x65,0x20,0x6F,0x6E,0x20,0x61,0x6E,0x20,0x69,0x6E,
+	0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2F,0x73,0x61,0x6D,
+	0x70,0x6C,0x65,0x20,0x62,0x79,0x20,0x63,0x6C,0x69,0x63,0x6B,
+	0x69,0x6E,0x67,0x20,0x74,0x68,0x65,0x20,0x72,0x69,0x67,0x68,
+	0x74,0x07,0x62,0x75,0x74,0x74,0x6F,0x6E,0x2E,0x00,0x12,0x3E,
+	0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x63,
+	0x6F,0x70,0x65,0x73,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x22,0x3E,0x4C,0x65,0x66,0x74,0x20,
+	0x62,0x75,0x74,0x74,0x6F,0x6E,0x3A,0x20,0x54,0x75,0x72,0x6E,
+	0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x20,0x6F,0x6E,0x2F,
+	0x6F,0x66,0x66,0x2E,0x35,0x3E,0x52,0x69,0x67,0x68,0x74,0x20,
+	0x62,0x75,0x74,0x74,0x6F,0x6E,0x3A,0x20,0x54,0x75,0x72,0x6E,
+	0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x20,0x6D,0x75,0x6C,
+	0x74,0x69,0x2D,0x72,0x65,0x63,0x6F,0x72,0x64,0x2F,0x65,0x64,
+	0x69,0x74,0x20,0x6F,0x6E,0x2F,0x6F,0x66,0x66,0x2E,0x42,0x3E,
+	0x4C,0x65,0x66,0x74,0x2B,0x72,0x69,0x67,0x68,0x74,0x20,0x62,
+	0x75,0x74,0x74,0x6F,0x6E,0x3A,0x20,0x54,0x75,0x72,0x6E,0x20,
+	0x61,0x6C,0x6C,0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x73,
+	0x20,0x6F,0x66,0x66,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,
+	0x74,0x68,0x65,0x20,0x73,0x65,0x6C,0x65,0x63,0x74,0x65,0x64,
+	0x20,0x6F,0x6E,0x65,0x2E,0x00,0x1C,0x40,0x58,0x30,0x32,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x49,0x6E,0x73,0x74,0x72,0x75,0x6D,
+	0x65,0x6E,0x74,0x20,0x45,0x64,0x69,0x74,0x6F,0x72,0x3A,0x01,
+	0x3E,0x22,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x57,0x68,0x61,0x74,0x20,0x69,0x73,0x20,0x61,0x6E,0x20,
+	0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x3F,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x1E,0x41,0x20,0x46,0x61,0x73,0x74,0x74,0x72,0x61,0x63,0x6B,
+	0x65,0x72,0x20,0x32,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,
+	0x65,0x6E,0x74,0x20,0x69,0x73,0x3A,0x15,0x3E,0x20,0x20,0x20,
+	0x31,0x20,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x65,0x6E,0x76,
+	0x65,0x6C,0x6F,0x70,0x65,0x16,0x3E,0x20,0x20,0x20,0x31,0x20,
+	0x50,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x65,0x6E,0x76,0x65,
+	0x6C,0x6F,0x70,0x65,0x1D,0x3E,0x20,0x20,0x20,0x31,0x20,0x41,
+	0x75,0x74,0x6F,0x2D,0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,
+	0x64,0x65,0x66,0x69,0x6E,0x69,0x74,0x69,0x6F,0x6E,0x13,0x3E,
+	0x20,0x20,0x20,0x31,0x2E,0x2E,0x31,0x36,0x20,0x53,0x61,0x6D,
+	0x70,0x6C,0x65,0x28,0x73,0x29,0x1F,0x3E,0x20,0x20,0x20,0x31,
+	0x20,0x4B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,0x20,0x73,0x70,
+	0x6C,0x69,0x74,0x20,0x64,0x65,0x66,0x69,0x6E,0x69,0x74,0x69,
+	0x6F,0x6E,0x15,0x3E,0x20,0x20,0x20,0x31,0x20,0x4D,0x49,0x44,
+	0x49,0x20,0x64,0x65,0x66,0x69,0x6E,0x69,0x74,0x69,0x6F,0x6E,
+	0x00,0x1B,0x3E,0x41,0x20,0x46,0x61,0x73,0x74,0x74,0x72,0x61,
+	0x63,0x6B,0x65,0x72,0x20,0x32,0x20,0x73,0x61,0x6D,0x70,0x6C,
+	0x65,0x20,0x69,0x73,0x3A,0x29,0x3E,0x20,0x20,0x20,0x31,0x20,
+	0x56,0x6F,0x6C,0x75,0x6D,0x65,0x2F,0x50,0x61,0x6E,0x6E,0x69,
+	0x6E,0x67,0x2F,0x46,0x69,0x6E,0x65,0x2D,0x74,0x75,0x6E,0x65,
+	0x20,0x64,0x65,0x66,0x69,0x6E,0x69,0x74,0x69,0x6F,0x6E,0x14,
+	0x3E,0x20,0x20,0x20,0x31,0x20,0x52,0x65,0x6C,0x61,0x74,0x69,
+	0x76,0x65,0x20,0x74,0x6F,0x6E,0x65,0x2E,0x10,0x3E,0x20,0x20,
+	0x20,0x31,0x20,0x57,0x61,0x76,0x65,0x20,0x66,0x6F,0x72,0x6D,
+	0x2E,0x00,0x1F,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x54,0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,
+	0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,0x3A,0x0B,0x3E,
+	0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x3E,
+	0x41,0x6E,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,
+	0x74,0x27,0x73,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x69,
+	0x73,0x20,0x64,0x65,0x66,0x69,0x6E,0x65,0x64,0x20,0x62,0x79,
+	0x20,0x69,0x74,0x73,0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,
+	0x65,0x20,0x63,0x75,0x72,0x76,0x65,0x2E,0x20,0x49,0x66,0x20,
+	0x74,0x68,0x65,0x3E,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,
+	0x6E,0x74,0x20,0x68,0x61,0x73,0x20,0x61,0x20,0x73,0x75,0x73,
+	0x74,0x61,0x69,0x6E,0x20,0x70,0x6F,0x69,0x6E,0x74,0x2C,0x20,
+	0x74,0x68,0x65,0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x73,0x74,0x6F,0x70,0x20,0x61,
+	0x74,0x20,0x74,0x68,0x61,0x74,0x42,0x70,0x6F,0x69,0x6E,0x74,
+	0x20,0x75,0x6E,0x74,0x69,0x6C,0x20,0x61,0x20,0x6B,0x65,0x79,
+	0x2D,0x6F,0x66,0x66,0x20,0x6E,0x6F,0x74,0x65,0x20,0x68,0x61,
+	0x73,0x20,0x62,0x65,0x65,0x6E,0x20,0x70,0x6C,0x61,0x79,0x65,
+	0x64,0x2E,0x20,0x57,0x68,0x65,0x6E,0x20,0x61,0x20,0x6B,0x65,
+	0x79,0x2D,0x6F,0x66,0x66,0x20,0x6E,0x6F,0x74,0x65,0x20,0x69,
+	0x73,0x1D,0x70,0x6C,0x61,0x79,0x65,0x64,0x2C,0x20,0x74,0x68,
+	0x65,0x20,0x22,0x66,0x61,0x64,0x65,0x6F,0x75,0x74,0x22,0x20,
+	0x62,0x65,0x67,0x69,0x6E,0x73,0x2E,0x44,0x3E,0x4F,0x6E,0x65,
+	0x20,0x70,0x69,0x78,0x65,0x6C,0x20,0x69,0x6E,0x20,0x74,0x68,
+	0x65,0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,0x20,0x77,
+	0x69,0x6E,0x64,0x6F,0x77,0x20,0x63,0x6F,0x72,0x72,0x65,0x73,
+	0x70,0x6F,0x6E,0x64,0x73,0x20,0x74,0x6F,0x20,0x6F,0x6E,0x65,
+	0x20,0x70,0x6C,0x61,0x79,0x65,0x72,0x2D,0x74,0x69,0x63,0x6B,
+	0x2E,0x20,0x49,0x66,0x3C,0x74,0x68,0x65,0x20,0x42,0x50,0x4D,
+	0x20,0x69,0x73,0x20,0x31,0x32,0x35,0x2C,0x20,0x79,0x6F,0x75,
+	0x27,0x6C,0x6C,0x20,0x63,0x6F,0x6E,0x73,0x75,0x6D,0x65,0x20,
+	0x35,0x30,0x20,0x70,0x69,0x78,0x65,0x6C,0x2F,0x73,0x65,0x63,
+	0x6F,0x6E,0x64,0x2E,0x20,0x54,0x68,0x65,0x20,0x77,0x69,0x6E,
+	0x64,0x6F,0x77,0x27,0x73,0x1A,0x22,0x73,0x69,0x7A,0x65,0x22,
+	0x20,0x69,0x73,0x20,0x61,0x62,0x6F,0x75,0x74,0x20,0x36,0x20,
+	0x73,0x65,0x63,0x6F,0x6E,0x64,0x73,0x2E,0x3E,0x3E,0x49,0x66,
+	0x20,0x79,0x6F,0x75,0x20,0x70,0x72,0x65,0x73,0x73,0x20,0x74,
+	0x68,0x65,0x20,0x72,0x69,0x67,0x68,0x74,0x20,0x6D,0x6F,0x75,
+	0x73,0x65,0x20,0x62,0x75,0x74,0x74,0x6F,0x6E,0x20,0x61,0x74,
+	0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x65,0x64,0x65,0x66,0x69,
+	0x6E,0x65,0x20,0x62,0x75,0x74,0x74,0x6F,0x6E,0x73,0x2C,0x3F,
+	0x79,0x6F,0x75,0x27,0x6C,0x6C,0x20,0x73,0x74,0x6F,0x72,0x65,
+	0x20,0x74,0x68,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,
+	0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,0x20,0x69,0x6E,
+	0x74,0x6F,0x20,0x74,0x68,0x61,0x74,0x20,0x70,0x72,0x65,0x64,
+	0x65,0x66,0x69,0x6E,0x65,0x20,0x63,0x65,0x6C,0x6C,0x2E,0x20,
+	0x54,0x68,0x65,0x30,0x70,0x72,0x65,0x64,0x65,0x66,0x69,0x6E,
+	0x65,0x73,0x20,0x61,0x72,0x65,0x20,0x73,0x74,0x6F,0x72,0x65,
+	0x64,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x6E,
+	0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,0x66,
+	0x69,0x6C,0x65,0x2E,0x43,0x3E,0x50,0x72,0x65,0x64,0x65,0x66,
+	0x69,0x6E,0x65,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x20,0x31,
+	0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,0x64,0x65,0x66,0x61,
+	0x75,0x6C,0x74,0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,
+	0x2E,0x20,0x54,0x68,0x69,0x73,0x20,0x6D,0x65,0x61,0x6E,0x73,
+	0x20,0x74,0x68,0x61,0x74,0x20,0x69,0x66,0x20,0x79,0x6F,0x75,
+	0x42,0x6C,0x6F,0x61,0x64,0x20,0x61,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x2C,0x20,0x69,0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,
+	0x67,0x65,0x74,0x20,0x61,0x6C,0x6C,0x20,0x65,0x6E,0x76,0x65,
+	0x6C,0x6F,0x70,0x65,0x20,0x69,0x6E,0x66,0x6F,0x72,0x6D,0x61,
+	0x74,0x69,0x6F,0x6E,0x20,0x66,0x72,0x6F,0x6D,0x20,0x70,0x72,
+	0x65,0x64,0x65,0x66,0x69,0x6E,0x65,0x20,0x6E,0x75,0x6D,0x62,
+	0x65,0x72,0x20,0x31,0x2C,0x20,0x69,0x6E,0x63,0x6C,0x75,0x64,
+	0x69,0x6E,0x67,0x20,0x74,0x68,0x65,0x20,0x76,0x69,0x62,0x72,
+	0x61,0x74,0x6F,0x2E,0x42,0x3E,0x4E,0x6F,0x74,0x65,0x20,0x74,
+	0x68,0x61,0x74,0x20,0x69,0x66,0x20,0x79,0x6F,0x75,0x20,0x74,
+	0x75,0x72,0x6E,0x20,0x74,0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,
+	0x6D,0x65,0x2D,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,0x20,
+	0x6F,0x66,0x66,0x2C,0x20,0x79,0x6F,0x75,0x20,0x64,0x6F,0x6E,
+	0x27,0x74,0x20,0x74,0x75,0x72,0x6E,0x20,0x74,0x68,0x65,0x0C,
+	0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x6F,0x66,0x66,0x2E,
+	0x00,0x20,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x54,0x68,0x65,0x20,0x70,0x61,0x6E,0x6E,0x69,0x6E,0x67,
+	0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,0x3A,0x0B,0x3E,
+	0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x3E,
+	0x53,0x61,0x6D,0x65,0x20,0x61,0x73,0x20,0x61,0x62,0x6F,0x76,
+	0x65,0x2C,0x20,0x65,0x78,0x63,0x65,0x70,0x74,0x20,0x66,0x72,
+	0x6F,0x6D,0x20,0x74,0x68,0x61,0x74,0x20,0x74,0x68,0x65,0x20,
+	0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,0x69,0x73,0x20,0x6E,
+	0x6F,0x74,0x20,0x63,0x6F,0x6E,0x6E,0x65,0x63,0x74,0x65,0x64,
+	0x20,0x74,0x6F,0x15,0x74,0x68,0x65,0x20,0x70,0x61,0x6E,0x6E,
+	0x69,0x6E,0x67,0x20,0x65,0x6E,0x76,0x65,0x6C,0x6F,0x70,0x65,
+	0x2E,0x00,0x10,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x54,0x75,0x6E,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3F,0x3E,0x54,0x68,0x65,
+	0x20,0x66,0x69,0x6E,0x65,0x2D,0x74,0x75,0x6E,0x65,0x20,0x72,
+	0x65,0x73,0x6F,0x6C,0x75,0x74,0x69,0x6F,0x6E,0x20,0x68,0x61,
+	0x73,0x20,0x62,0x65,0x65,0x6E,0x20,0x63,0x68,0x61,0x6E,0x67,
+	0x65,0x64,0x20,0x66,0x72,0x6F,0x6D,0x20,0x61,0x20,0x73,0x69,
+	0x67,0x6E,0x65,0x64,0x20,0x6E,0x69,0x62,0x62,0x6C,0x65,0x27,
+	0x28,0x2D,0x38,0x2E,0x2E,0x2B,0x37,0x29,0x20,0x74,0x6F,0x20,
+	0x61,0x20,0x73,0x69,0x67,0x6E,0x65,0x64,0x20,0x62,0x79,0x74,
+	0x65,0x20,0x28,0x2D,0x31,0x32,0x38,0x2E,0x2E,0x2B,0x31,0x32,
+	0x37,0x29,0x2E,0x00,0x13,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x46,0x61,0x64,0x65,0x6F,0x75,0x74,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x1B,0x3E,0x54,0x68,0x69,0x73,0x20,0x69,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x66,0x61,0x64,0x65,0x6F,0x75,0x74,0x20,0x73,0x70,
+	0x65,0x65,0x64,0x2E,0x00,0x19,0x3E,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x56,0x69,0x62,0x72,0x61,0x74,0x6F,
+	0x20,0x73,0x77,0x65,0x65,0x70,0x3A,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3E,0x3E,0x54,0x68,0x69,
+	0x73,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,0x74,0x69,0x6D,
+	0x65,0x20,0x28,0x69,0x6E,0x20,0x70,0x6C,0x61,0x79,0x65,0x72,
+	0x20,0x74,0x69,0x63,0x6B,0x73,0x29,0x20,0x74,0x68,0x61,0x74,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x79,0x70,0x61,0x73,0x73,
+	0x20,0x75,0x6E,0x74,0x69,0x6C,0x20,0x74,0x68,0x65,0x2D,0x61,
+	0x75,0x74,0x6F,0x2D,0x76,0x69,0x62,0x72,0x61,0x74,0x6F,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x61,0x63,0x68,0x20,0x69,
+	0x74,0x27,0x73,0x20,0x66,0x69,0x6E,0x61,0x6C,0x20,0x61,0x6D,
+	0x70,0x6C,0x69,0x74,0x75,0x64,0x65,0x2E,0x00,0x1E,0x3E,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x54,0x68,0x65,
+	0x20,0x70,0x69,0x61,0x6E,0x6F,0x20,0x6B,0x65,0x79,0x62,0x6F,
+	0x61,0x72,0x64,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
+	0x43,0x30,0x30,0x32,0x3F,0x3E,0x54,0x68,0x65,0x20,0x70,0x69,
+	0x61,0x6E,0x6F,0x20,0x6B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,
+	0x20,0x64,0x65,0x66,0x69,0x6E,0x65,0x73,0x20,0x74,0x68,0x65,
+	0x20,0x6B,0x65,0x79,0x20,0x73,0x70,0x6C,0x69,0x74,0x20,0x66,
+	0x6F,0x72,0x20,0x61,0x6E,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,
+	0x6D,0x65,0x6E,0x74,0x2E,0x20,0x54,0x6F,0x3F,0x63,0x68,0x61,
+	0x6E,0x67,0x65,0x20,0x74,0x68,0x65,0x20,0x6B,0x65,0x79,0x20,
+	0x73,0x70,0x6C,0x69,0x74,0x2C,0x20,0x63,0x68,0x6F,0x6F,0x73,
+	0x65,0x20,0x61,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x77,
+	0x69,0x74,0x68,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x69,0x6E,
+	0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x61,0x6E,0x64,
+	0x1C,0x74,0x68,0x65,0x6E,0x20,0x22,0x64,0x72,0x61,0x77,0x22,
+	0x20,0x6F,0x6E,0x20,0x74,0x68,0x65,0x20,0x6B,0x65,0x79,0x62,
+	0x6F,0x61,0x72,0x64,0x2E,0x42,0x3E,0x54,0x68,0x65,0x20,0x6E,
+	0x6F,0x74,0x65,0x73,0x20,0x70,0x6C,0x61,0x79,0x65,0x64,0x20,
+	0x77,0x69,0x74,0x68,0x20,0x74,0x68,0x65,0x20,0x63,0x75,0x72,
+	0x72,0x65,0x6E,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,
+	0x65,0x6E,0x74,0x20,0x61,0x72,0x65,0x20,0x69,0x6E,0x64,0x69,
+	0x63,0x61,0x74,0x65,0x64,0x20,0x6F,0x6E,0x20,0x74,0x68,0x65,
+	0x09,0x6B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,0x2E,0x00,0x1A,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x49,
+	0x6D,0x70,0x6F,0x72,0x74,0x61,0x6E,0x74,0x20,0x6E,0x6F,0x74,
+	0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x40,0x3E,0x54,0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,
+	0x6D,0x65,0x2C,0x20,0x70,0x61,0x6E,0x6E,0x69,0x6E,0x67,0x2C,
+	0x20,0x74,0x75,0x6E,0x65,0x20,0x61,0x6E,0x64,0x20,0x72,0x65,
+	0x6C,0x61,0x74,0x69,0x76,0x65,0x20,0x74,0x6F,0x6E,0x65,0x20,
+	0x69,0x73,0x20,0x64,0x65,0x66,0x69,0x6E,0x65,0x64,0x20,0x66,
+	0x6F,0x72,0x20,0x45,0x41,0x43,0x48,0x41,0x53,0x41,0x4D,0x50,
+	0x4C,0x45,0x20,0x69,0x6E,0x20,0x61,0x6E,0x20,0x69,0x6E,0x73,
+	0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2E,0x20,0x41,0x6C,0x6C,
+	0x20,0x6F,0x74,0x68,0x65,0x72,0x20,0x69,0x6E,0x66,0x6F,0x72,
+	0x6D,0x61,0x74,0x69,0x6F,0x6E,0x20,0x69,0x73,0x20,0x64,0x65,
+	0x66,0x69,0x6E,0x65,0x64,0x20,0x66,0x6F,0x72,0x20,0x74,0x68,
+	0x65,0x12,0x65,0x6E,0x74,0x69,0x72,0x65,0x20,0x69,0x6E,0x73,
+	0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x2E,0x00,0x31,0x40,0x58,
+	0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x49,0x6E,0x73,0x74,
+	0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x45,0x64,0x69,0x74,0x6F,
+	0x72,0x20,0x45,0x78,0x74,0x65,0x6E,0x73,0x69,0x6F,0x6E,0x3A,
+	0x20,0x28,0x49,0x2E,0x45,0x2E,0x45,0x78,0x74,0x2E,0x29,0x01,
+	0x3E,0x10,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x4D,0x49,0x44,0x49,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x28,0x3E,0x27,0x70,0x2E,0x27,
+	0x20,0x73,0x74,0x61,0x6E,0x64,0x73,0x20,0x66,0x6F,0x72,0x20,
+	0x22,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x22,0x20,0x28,0x69,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x29,0x2E,0x40,
+	0x3E,0x53,0x65,0x76,0x65,0x72,0x61,0x6C,0x20,0x69,0x6E,0x73,
+	0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x73,0x20,0x63,0x61,0x6E,
+	0x20,0x68,0x61,0x76,0x65,0x20,0x74,0x68,0x65,0x20,0x73,0x61,
+	0x6D,0x65,0x20,0x74,0x72,0x61,0x6E,0x73,0x6D,0x69,0x74,0x20,
+	0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x20,0x62,0x75,0x74,0x20,
+	0x77,0x69,0x74,0x68,0x33,0x64,0x69,0x66,0x66,0x65,0x72,0x65,
+	0x6E,0x74,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x73,0x2E,
+	0x20,0x46,0x54,0x32,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x73,
+	0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,
+	0x73,0x20,0x6F,0x6E,0x20,0x74,0x68,0x65,0x43,0x4D,0x49,0x44,
+	0x49,0x2D,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x73,0x20,0x69,
+	0x6E,0x73,0x74,0x61,0x6E,0x74,0x6C,0x79,0x20,0x64,0x75,0x72,
+	0x69,0x6E,0x67,0x20,0x70,0x6C,0x61,0x79,0x20,0x69,0x66,0x20,
+	0x64,0x69,0x66,0x66,0x65,0x72,0x65,0x6E,0x74,0x20,0x70,0x72,
+	0x6F,0x67,0x72,0x61,0x6D,0x73,0x20,0x61,0x72,0x65,0x20,0x75,
+	0x73,0x65,0x64,0x2E,0x3E,0x44,0x69,0x66,0x66,0x65,0x72,0x65,
+	0x6E,0x74,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x73,0x20,
+	0x63,0x61,0x6E,0x6E,0x6F,0x74,0x20,0x62,0x65,0x20,0x70,0x6C,
+	0x61,0x79,0x65,0x64,0x20,0x61,0x74,0x20,0x74,0x68,0x65,0x20,
+	0x73,0x61,0x6D,0x65,0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,
+	0x20,0x61,0x74,0x20,0x74,0x68,0x65,0x11,0x73,0x61,0x6D,0x65,
+	0x20,0x74,0x69,0x6D,0x65,0x20,0x74,0x68,0x6F,0x75,0x67,0x68,
+	0x2E,0x44,0x3E,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x63,0x68,
+	0x61,0x6E,0x67,0x65,0x20,0x74,0x68,0x69,0x73,0x20,0x76,0x61,
+	0x6C,0x75,0x65,0x2C,0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,
+	0x67,0x72,0x61,0x6D,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x74,0x72,0x61,0x6E,
+	0x73,0x6D,0x69,0x74,0x74,0x65,0x64,0x20,0x74,0x6F,0x1C,0x74,
+	0x68,0x65,0x20,0x73,0x79,0x6E,0x74,0x68,0x65,0x73,0x69,0x7A,
+	0x65,0x72,0x20,0x69,0x6D,0x6D,0x65,0x64,0x69,0x61,0x74,0x65,
+	0x6C,0x79,0x2E,0x3E,0x3E,0x53,0x6F,0x6D,0x65,0x20,0x73,0x79,
+	0x6E,0x74,0x68,0x65,0x73,0x69,0x7A,0x65,0x72,0x73,0x20,0x74,
+	0x72,0x61,0x6E,0x73,0x6D,0x69,0x74,0x20,0x70,0x72,0x6F,0x67,
+	0x72,0x61,0x6D,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x20,0x69,
+	0x6E,0x66,0x6F,0x72,0x6D,0x61,0x74,0x69,0x6F,0x6E,0x2E,0x20,
+	0x49,0x66,0x20,0x74,0x68,0x65,0x43,0x63,0x75,0x72,0x72,0x65,
+	0x6E,0x74,0x20,0x69,0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,
+	0x74,0x20,0x69,0x6E,0x20,0x46,0x54,0x32,0x20,0x69,0x73,0x20,
+	0x61,0x20,0x4D,0x49,0x44,0x49,0x2D,0x69,0x6E,0x73,0x74,0x72,
+	0x2E,0x20,0x77,0x69,0x74,0x68,0x20,0x74,0x68,0x65,0x20,0x73,
+	0x61,0x6D,0x65,0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,0x20,
+	0x61,0x73,0x3F,0x74,0x68,0x65,0x20,0x72,0x65,0x63,0x65,0x69,
+	0x76,0x65,0x64,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x20,
+	0x63,0x68,0x61,0x6E,0x67,0x65,0x2C,0x20,0x69,0x74,0x27,0x73,
+	0x20,0x4D,0x49,0x44,0x49,0x2D,0x70,0x72,0x6F,0x67,0x72,0x61,
+	0x6D,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x63,0x68,
+	0x61,0x6E,0x67,0x65,0x64,0x2E,0x40,0x3E,0x49,0x66,0x20,0x79,
+	0x6F,0x75,0x72,0x20,0x73,0x79,0x6E,0x74,0x68,0x65,0x73,0x69,
+	0x7A,0x65,0x72,0x20,0x64,0x6F,0x65,0x73,0x6E,0x27,0x74,0x20,
+	0x74,0x72,0x61,0x6E,0x73,0x6D,0x69,0x74,0x20,0x70,0x72,0x6F,
+	0x67,0x72,0x61,0x6D,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x2C,
+	0x20,0x74,0x68,0x65,0x72,0x65,0x27,0x73,0x20,0x6E,0x6F,0x3E,
+	0x70,0x6F,0x69,0x6E,0x74,0x20,0x69,0x6E,0x20,0x63,0x68,0x61,
+	0x6E,0x67,0x69,0x6E,0x67,0x20,0x69,0x74,0x20,0x6F,0x6E,0x20,
+	0x74,0x68,0x65,0x20,0x73,0x79,0x6E,0x74,0x68,0x65,0x73,0x69,
+	0x7A,0x65,0x72,0x2C,0x20,0x64,0x6F,0x20,0x69,0x74,0x20,0x69,
+	0x6E,0x20,0x46,0x54,0x32,0x20,0x69,0x6E,0x73,0x74,0x65,0x61,
+	0x64,0x2E,0x00,0x18,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x42,0x65,0x6E,0x64,0x65,0x72,0x20,0x72,0x61,
+	0x6E,0x67,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
+	0x43,0x30,0x30,0x32,0x38,0x3E,0x54,0x68,0x69,0x73,0x20,0x76,
+	0x61,0x6C,0x75,0x65,0x20,0x64,0x65,0x66,0x69,0x6E,0x65,0x73,
+	0x20,0x68,0x6F,0x77,0x20,0x6D,0x61,0x6E,0x79,0x20,0x6E,0x6F,
+	0x74,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x69,0x6E,0x73,0x74,
+	0x72,0x75,0x6D,0x65,0x6E,0x74,0x20,0x6F,0x6E,0x20,0x74,0x68,
+	0x65,0x37,0x73,0x79,0x6E,0x74,0x68,0x65,0x73,0x69,0x7A,0x65,
+	0x72,0x20,0x63,0x61,0x6E,0x20,0x62,0x65,0x20,0x70,0x69,0x74,
+	0x63,0x68,0x62,0x65,0x6E,0x64,0x65,0x64,0x2E,0x20,0x46,0x54,
+	0x32,0x20,0x75,0x73,0x65,0x73,0x20,0x74,0x68,0x69,0x73,0x20,
+	0x76,0x61,0x6C,0x75,0x65,0x20,0x66,0x6F,0x72,0x37,0x74,0x72,
+	0x61,0x6E,0x73,0x6D,0x69,0x74,0x74,0x69,0x6E,0x67,0x20,0x74,
+	0x68,0x65,0x20,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,
+	0x6F,0x20,0x75,0x70,0x2F,0x64,0x6F,0x77,0x6E,0x20,0x61,0x6E,
+	0x64,0x20,0x74,0x6F,0x6E,0x65,0x2D,0x70,0x6F,0x72,0x74,0x61,
+	0x6D,0x65,0x6E,0x74,0x6F,0x13,0x63,0x6F,0x6D,0x6D,0x61,0x6E,
+	0x64,0x73,0x20,0x63,0x6F,0x72,0x72,0x65,0x63,0x74,0x6C,0x79,
+	0x2E,0x45,0x3E,0x54,0x68,0x65,0x20,0x4D,0x49,0x44,0x49,0x2D,
+	0x70,0x69,0x74,0x63,0x68,0x62,0x65,0x6E,0x64,0x20,0x77,0x6F,
+	0x72,0x6B,0x73,0x20,0x63,0x6F,0x72,0x72,0x65,0x63,0x74,0x6C,
+	0x79,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x77,0x69,0x74,0x68,0x20,
+	0x6C,0x69,0x6E,0x65,0x61,0x72,0x20,0x66,0x72,0x65,0x71,0x75,
+	0x65,0x6E,0x63,0x79,0x20,0x74,0x61,0x62,0x6C,0x65,0x2E,0x00,
+	0x18,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x53,
+	0x61,0x6D,0x70,0x6C,0x65,0x20,0x45,0x64,0x69,0x74,0x6F,0x72,
+	0x3A,0x01,0x3E,0x2C,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x50,0x6C,0x61,0x79,0x20,0x28,0x57,0x61,0x76,
+	0x65,0x20,0x66,0x6F,0x72,0x6D,0x2C,0x20,0x72,0x61,0x6E,0x67,
+	0x65,0x2C,0x20,0x64,0x69,0x73,0x70,0x6C,0x61,0x79,0x29,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x3C,0x3E,0x50,0x6C,0x61,0x79,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x20,0x77,0x69,0x74,0x68,0x20,0x74,0x6F,0x6E,0x65,
+	0x20,0x64,0x69,0x73,0x70,0x6C,0x61,0x79,0x20,0x61,0x62,0x6F,
+	0x76,0x65,0x20,0x74,0x68,0x65,0x20,0x22,0x73,0x74,0x6F,0x70,
+	0x22,0x3D,0x62,0x75,0x74,0x74,0x6F,0x6E,0x2E,0x20,0x4E,0x6F,
+	0x74,0x65,0x20,0x74,0x68,0x61,0x74,0x20,0x72,0x65,0x73,0x70,
+	0x65,0x63,0x74,0x20,0x69,0x73,0x20,0x74,0x61,0x6B,0x65,0x6E,
+	0x20,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x70,0x61,0x72,0x74,
+	0x69,0x63,0x75,0x6C,0x61,0x72,0x20,0x73,0x61,0x6D,0x70,0x6C,
+	0x65,0x27,0x73,0x0E,0x72,0x65,0x6C,0x61,0x74,0x69,0x76,0x65,
+	0x20,0x74,0x6F,0x6E,0x65,0x2E,0x00,0x16,0x3E,0x40,0x58,0x30,
+	0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x61,0x76,0x65,0x20,
+	0x72,0x61,0x6E,0x67,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x3C,0x3E,0x53,0x74,0x6F,0x72,
+	0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x72,0x61,0x6E,0x67,0x65,
+	0x20,0x73,0x70,0x65,0x63,0x69,0x66,0x69,0x65,0x64,0x20,0x69,
+	0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,
+	0x74,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x64,0x69,0x72,
+	0x65,0x63,0x74,0x6F,0x72,0x79,0x2E,0x00,0x11,0x3E,0x40,0x58,
+	0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x50,0x61,0x73,0x74,
+	0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,
+	0x30,0x32,0x40,0x3E,0x54,0x68,0x65,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x20,0x64,0x61,0x74,0x61,0x20,0x69,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x63,0x6F,0x70,0x79,0x20,0x62,0x75,0x66,0x66,
+	0x65,0x72,0x20,0x69,0x73,0x20,0x73,0x74,0x6F,0x72,0x65,0x64,
+	0x20,0x49,0x4E,0x54,0x4F,0x20,0x74,0x68,0x65,0x20,0x73,0x70,
+	0x65,0x63,0x69,0x66,0x69,0x65,0x64,0x06,0x72,0x61,0x6E,0x67,
+	0x65,0x2E,0x00,0x10,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x43,0x72,0x6F,0x70,0x3A,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3E,0x3E,0x43,0x75,
+	0x74,0x73,0x20,0x65,0x76,0x65,0x72,0x79,0x74,0x68,0x69,0x6E,
+	0x67,0x20,0x62,0x75,0x74,0x20,0x74,0x68,0x65,0x20,0x72,0x61,
+	0x6E,0x67,0x65,0x2E,0x20,0x4E,0x6F,0x74,0x68,0x69,0x6E,0x67,
+	0x20,0x69,0x73,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x64,0x20,
+	0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x70,0x79,0x19,
+	0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x62,0x79,0x20,0x74,0x68,
+	0x69,0x73,0x20,0x6F,0x70,0x65,0x72,0x61,0x74,0x69,0x6F,0x6E,
+	0x2E,0x00,0x12,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x3A,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x17,0x3E,0x4F,
+	0x70,0x65,0x72,0x61,0x74,0x65,0x73,0x20,0x6F,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x72,0x61,0x6E,0x67,0x65,0x2E,0x00,0x12,0x3E,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x58,0x2D,
+	0x46,0x61,0x64,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x44,0x3E,0x54,0x68,0x69,0x73,0x20,
+	0x69,0x73,0x20,0x61,0x20,0x74,0x6F,0x6F,0x6C,0x20,0x66,0x6F,
+	0x72,0x20,0x6D,0x61,0x6B,0x69,0x6E,0x67,0x20,0x73,0x6D,0x6F,
+	0x6F,0x74,0x68,0x20,0x6C,0x6F,0x6F,0x70,0x73,0x2E,0x20,0x53,
+	0x70,0x65,0x63,0x69,0x66,0x79,0x20,0x61,0x20,0x72,0x61,0x6E,
+	0x67,0x65,0x20,0x74,0x68,0x61,0x74,0x20,0x63,0x6F,0x76,0x65,
+	0x72,0x73,0x41,0x74,0x68,0x65,0x20,0x66,0x69,0x72,0x73,0x74,
+	0x20,0x6C,0x6F,0x6F,0x70,0x20,0x70,0x6F,0x69,0x6E,0x74,0x2E,
+	0x20,0x4D,0x61,0x6B,0x65,0x20,0x73,0x75,0x72,0x65,0x20,0x74,
+	0x68,0x61,0x74,0x20,0x74,0x68,0x65,0x72,0x65,0x20,0x69,0x73,
+	0x20,0x61,0x73,0x20,0x6D,0x75,0x63,0x68,0x20,0x73,0x70,0x61,
+	0x63,0x65,0x20,0x61,0x66,0x74,0x65,0x72,0x41,0x74,0x68,0x65,
+	0x20,0x73,0x65,0x63,0x6F,0x6E,0x64,0x20,0x6C,0x6F,0x6F,0x70,
+	0x20,0x70,0x6F,0x69,0x6E,0x74,0x20,0x61,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x72,0x61,0x6E,0x67,0x65,0x20,0x62,0x79,0x70,0x61,
+	0x73,0x73,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x66,0x69,0x72,
+	0x73,0x74,0x20,0x6C,0x6F,0x6F,0x70,0x20,0x70,0x6F,0x69,0x6E,
+	0x74,0x2E,0x1F,0x50,0x72,0x65,0x73,0x73,0x20,0x74,0x68,0x65,
+	0x20,0x58,0x2D,0x66,0x61,0x64,0x65,0x20,0x62,0x75,0x74,0x74,
+	0x6F,0x6E,0x2E,0x20,0x45,0x6E,0x6A,0x6F,0x79,0x21,0x00,0x18,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x38,
+	0x2D,0x42,0x69,0x74,0x2F,0x31,0x36,0x2D,0x62,0x69,0x74,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x42,0x3E,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x6C,0x6F,0x61,
+	0x64,0x20,0x61,0x20,0x31,0x36,0x2D,0x62,0x69,0x74,0x20,0x73,
+	0x61,0x6D,0x70,0x6C,0x65,0x20,0x77,0x69,0x74,0x68,0x6F,0x75,
+	0x74,0x20,0x68,0x65,0x61,0x64,0x65,0x72,0x2C,0x20,0x46,0x54,
+	0x32,0x20,0x61,0x73,0x73,0x75,0x6D,0x65,0x73,0x20,0x74,0x68,
+	0x61,0x74,0x20,0x69,0x74,0x27,0x73,0x3E,0x61,0x6E,0x20,0x38,
+	0x2D,0x62,0x69,0x74,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x2E,
+	0x20,0x57,0x68,0x65,0x6E,0x20,0x70,0x72,0x65,0x73,0x73,0x69,
+	0x6E,0x67,0x20,0x74,0x68,0x65,0x20,0x31,0x36,0x2D,0x62,0x69,
+	0x74,0x20,0x62,0x75,0x74,0x74,0x6F,0x6E,0x2C,0x20,0x64,0x6F,
+	0x20,0x6E,0x6F,0x74,0x20,0x70,0x72,0x65,0x73,0x73,0x23,0x22,
+	0x63,0x6F,0x6E,0x76,0x65,0x72,0x74,0x22,0x20,0x77,0x68,0x65,
+	0x6E,0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x71,0x75,0x65,0x73,
+	0x74,0x20,0x69,0x73,0x20,0x6D,0x61,0x64,0x65,0x2E,0x00,0x14,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x4D,
+	0x69,0x6E,0x69,0x6D,0x69,0x7A,0x65,0x3A,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x44,0x3E,0x54,0x68,
+	0x69,0x73,0x20,0x66,0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x20,
+	0x63,0x75,0x74,0x73,0x20,0x74,0x68,0x65,0x20,0x70,0x61,0x72,
+	0x74,0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,
+	0x70,0x6C,0x65,0x20,0x74,0x68,0x61,0x74,0x20,0x69,0x73,0x20,
+	0x62,0x65,0x79,0x6F,0x6E,0x64,0x20,0x74,0x68,0x65,0x20,0x73,
+	0x65,0x63,0x6F,0x6E,0x64,0x0B,0x6C,0x6F,0x6F,0x70,0x20,0x70,
+	0x6F,0x69,0x6E,0x74,0x2E,0x00,0x2D,0x40,0x58,0x30,0x32,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x53,0x61,0x6D,0x70,0x6C,0x65,0x20,
+	0x45,0x64,0x69,0x74,0x6F,0x72,0x20,0x45,0x78,0x74,0x65,0x6E,
+	0x73,0x69,0x6F,0x6E,0x3A,0x20,0x28,0x53,0x2E,0x45,0x2E,0x45,
+	0x78,0x74,0x2E,0x29,0x01,0x3E,0x27,0x3E,0x40,0x58,0x30,0x34,
+	0x30,0x40,0x43,0x30,0x30,0x31,0x43,0x6F,0x70,0x79,0x2F,0x58,
+	0x63,0x68,0x67,0x20,0x53,0x61,0x6D,0x70,0x6C,0x65,0x2F,0x49,
+	0x6E,0x73,0x74,0x72,0x75,0x6D,0x65,0x6E,0x74,0x3A,0x0B,0x3E,
+	0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3C,0x3E,
+	0x54,0x68,0x65,0x20,0x73,0x6F,0x75,0x72,0x63,0x65,0x20,0x69,
+	0x73,0x20,0x73,0x70,0x65,0x63,0x69,0x66,0x69,0x65,0x64,0x20,
+	0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x6C,0x69,0x6E,0x65,0x20,
+	0x6E,0x75,0x6D,0x62,0x65,0x72,0x69,0x6E,0x67,0x20,0x63,0x6F,
+	0x6C,0x75,0x6D,0x6E,0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x40,
+	0x69,0x6E,0x73,0x74,0x72,0x2E,0x2F,0x73,0x61,0x6D,0x70,0x6C,
+	0x65,0x20,0x6C,0x69,0x73,0x74,0x73,0x20,0x69,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x75,0x70,0x70,0x65,0x72,0x2D,0x72,0x69,0x67,
+	0x68,0x74,0x20,0x63,0x6F,0x72,0x6E,0x65,0x72,0x20,0x6F,0x66,
+	0x20,0x74,0x68,0x65,0x20,0x73,0x63,0x72,0x65,0x65,0x6E,0x2E,
+	0x20,0x54,0x68,0x65,0x29,0x64,0x65,0x73,0x74,0x69,0x6E,0x61,
+	0x74,0x69,0x6F,0x6E,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x69,0x6E,0x73,0x74,
+	0x72,0x2E,0x2F,0x73,0x61,0x6D,0x70,0x6C,0x65,0x2E,0x00,0x15,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x42,
+	0x61,0x63,0x6B,0x77,0x61,0x72,0x64,0x73,0x3A,0x0B,0x3E,0x40,
+	0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x3E,0x4F,
+	0x70,0x65,0x72,0x61,0x74,0x65,0x73,0x20,0x6F,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x72,0x61,0x6E,0x67,0x65,0x20,0x28,0x6F,0x72,
+	0x20,0x74,0x68,0x65,0x20,0x77,0x68,0x6F,0x6C,0x65,0x20,0x73,
+	0x61,0x6D,0x70,0x6C,0x65,0x20,0x69,0x66,0x20,0x6E,0x6F,0x20,
+	0x72,0x61,0x6E,0x67,0x65,0x20,0x69,0x73,0x20,0x73,0x65,0x74,
+	0x29,0x2E,0x00,0x13,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x43,0x6F,0x6E,0x76,0x65,0x72,0x74,0x3A,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x34,
+	0x3E,0x43,0x6F,0x6E,0x76,0x65,0x72,0x74,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x65,0x6E,0x74,0x69,0x72,0x65,0x20,0x73,0x61,0x6D,
+	0x70,0x6C,0x65,0x20,0x66,0x72,0x6F,0x6D,0x2F,0x74,0x6F,0x20,
+	0x73,0x69,0x67,0x6E,0x65,0x64,0x2F,0x75,0x6E,0x73,0x69,0x67,
+	0x6E,0x65,0x64,0x2E,0x00,0x15,0x3E,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x43,0x6F,0x6E,0x76,0x65,0x72,0x74,
+	0x20,0x57,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x3F,0x53,0x77,0x61,0x70,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x62,0x79,0x74,0x65,0x20,0x6F,0x72,0x64,0x65,0x72,
+	0x20,0x74,0x6F,0x2F,0x66,0x72,0x6F,0x6D,0x20,0x49,0x6E,0x74,
+	0x65,0x6C,0x20,0x66,0x72,0x6F,0x6D,0x2F,0x74,0x6F,0x20,0x4D,
+	0x6F,0x74,0x6F,0x72,0x6F,0x6C,0x61,0x20,0x73,0x74,0x61,0x6E,
+	0x64,0x61,0x72,0x64,0x20,0x6F,0x6E,0x12,0x74,0x68,0x65,0x20,
+	0x65,0x6E,0x74,0x69,0x72,0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,
+	0x65,0x2E,0x44,0x59,0x6F,0x75,0x27,0x6C,0x6C,0x20,0x6E,0x65,
+	0x65,0x64,0x20,0x74,0x68,0x69,0x73,0x20,0x66,0x75,0x6E,0x63,
+	0x74,0x69,0x6F,0x6E,0x20,0x69,0x66,0x20,0x79,0x6F,0x75,0x20,
+	0x69,0x6D,0x70,0x6F,0x72,0x74,0x20,0x31,0x36,0x2D,0x62,0x69,
+	0x74,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x73,0x20,0x77,0x69,
+	0x74,0x68,0x20,0x4D,0x6F,0x74,0x6F,0x72,0x6F,0x6C,0x61,0x2D,
+	0x62,0x79,0x74,0x65,0x2D,0x6F,0x72,0x64,0x65,0x72,0x69,0x6E,
+	0x67,0x20,0x28,0x66,0x2E,0x65,0x78,0x2E,0x20,0x4B,0x75,0x72,
+	0x7A,0x77,0x65,0x69,0x6C,0x20,0x4B,0x32,0x30,0x30,0x30,0x20,
+	0x73,0x61,0x6D,0x70,0x6C,0x65,0x73,0x2E,0x29,0x00,0x10,0x3E,
+	0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x45,0x63,
+	0x68,0x6F,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x1E,0x4F,0x70,0x65,0x72,0x61,0x74,0x65,0x73,
+	0x20,0x6F,0x6E,0x20,0x74,0x68,0x65,0x20,0x65,0x6E,0x74,0x69,
+	0x72,0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x2E,0x00,0x12,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x46,
+	0x69,0x78,0x20,0x44,0x43,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x3D,0x41,0x74,0x74,0x65,0x6D,
+	0x70,0x74,0x73,0x20,0x74,0x6F,0x20,0x63,0x65,0x6E,0x74,0x65,
+	0x72,0x20,0x61,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x74,
+	0x68,0x61,0x74,0x20,0x68,0x61,0x73,0x20,0x75,0x6E,0x77,0x61,
+	0x6E,0x74,0x65,0x64,0x20,0x44,0x43,0x20,0x6F,0x66,0x66,0x73,
+	0x65,0x74,0x2F,0x62,0x69,0x61,0x73,0x2E,0x43,0x50,0x6C,0x65,
+	0x61,0x73,0x65,0x20,0x6E,0x6F,0x74,0x65,0x20,0x74,0x68,0x61,
+	0x74,0x20,0x69,0x74,0x20,0x69,0x73,0x20,0x75,0x73,0x69,0x6E,
+	0x67,0x20,0x61,0x20,0x63,0x72,0x75,0x64,0x65,0x20,0x61,0x6C,
+	0x67,0x6F,0x72,0x69,0x74,0x68,0x6D,0x2C,0x20,0x73,0x6F,0x20,
+	0x69,0x74,0x20,0x63,0x61,0x6E,0x20,0x73,0x6F,0x6D,0x65,0x74,
+	0x69,0x6D,0x65,0x73,0x22,0x66,0x61,0x69,0x6C,0x20,0x64,0x65,
+	0x70,0x65,0x6E,0x64,0x69,0x6E,0x67,0x20,0x6F,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x64,0x61,
+	0x74,0x61,0x2E,0x00,0x14,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x52,0x65,0x73,0x61,0x6D,0x70,0x6C,0x65,
+	0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
+	0x32,0x3C,0x4F,0x70,0x65,0x72,0x61,0x74,0x65,0x73,0x20,0x6F,
+	0x6E,0x20,0x74,0x68,0x65,0x20,0x65,0x6E,0x74,0x69,0x72,0x65,
+	0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x2E,0x20,0x54,0x68,0x65,
+	0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x27,0x73,0x20,0x72,0x65,
+	0x6C,0x61,0x74,0x69,0x76,0x65,0x20,0x74,0x6F,0x6E,0x65,0x20,
+	0x69,0x73,0x2C,0x63,0x68,0x61,0x6E,0x67,0x65,0x64,0x20,0x77,
+	0x69,0x74,0x68,0x20,0x72,0x65,0x73,0x70,0x65,0x63,0x74,0x20,
+	0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x73,0x61,0x6D,
+	0x70,0x6C,0x69,0x6E,0x67,0x20,0x72,0x61,0x74,0x65,0x2E,0x00,
+	0x16,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x4D,0x69,0x78,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x3A,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x35,
+	0x3E,0x4D,0x69,0x78,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x73,
+	0x6F,0x75,0x72,0x63,0x65,0x20,0x77,0x69,0x74,0x68,0x20,0x74,
+	0x68,0x65,0x20,0x64,0x65,0x73,0x74,0x69,0x6E,0x61,0x74,0x69,
+	0x6F,0x6E,0x20,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x73,0x6F,
+	0x75,0x72,0x63,0x65,0x2E,0x00,0x15,0x3E,0x40,0x58,0x30,0x34,
+	0x30,0x40,0x43,0x30,0x30,0x31,0x44,0x72,0x61,0x77,0x20,0x6D,
+	0x6F,0x64,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
+	0x43,0x30,0x30,0x32,0x40,0x42,0x79,0x20,0x70,0x72,0x65,0x73,
+	0x73,0x69,0x6E,0x67,0x20,0x74,0x68,0x65,0x20,0x72,0x69,0x67,
+	0x68,0x74,0x20,0x6D,0x6F,0x75,0x73,0x65,0x20,0x62,0x75,0x74,
+	0x74,0x6F,0x6E,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x73,
+	0x61,0x6D,0x70,0x6C,0x65,0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,
+	0x2C,0x20,0x79,0x6F,0x75,0x20,0x63,0x61,0x6E,0x1E,0x64,0x72,
+	0x61,0x77,0x20,0x79,0x6F,0x75,0x72,0x20,0x77,0x61,0x76,0x65,
+	0x20,0x66,0x6F,0x72,0x6D,0x73,0x20,0x6D,0x61,0x6E,0x75,0x61,
+	0x6C,0x6C,0x79,0x2E,0x00,0x18,0x40,0x58,0x30,0x32,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,
+	0x61,0x74,0x69,0x6F,0x6E,0x3A,0x01,0x3E,0x15,0x3E,0x40,0x58,
+	0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x41,0x75,0x74,0x6F,
+	0x20,0x73,0x61,0x76,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
+	0x30,0x40,0x43,0x30,0x30,0x32,0x43,0x49,0x66,0x20,0x74,0x68,
+	0x65,0x20,0x61,0x75,0x74,0x6F,0x20,0x73,0x61,0x76,0x65,0x20,
+	0x69,0x73,0x20,0x6F,0x6E,0x2C,0x20,0x46,0x54,0x32,0x20,0x77,
+	0x69,0x6C,0x6C,0x20,0x75,0x70,0x64,0x61,0x74,0x65,0x20,0x74,
+	0x68,0x65,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,
+	0x74,0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x77,0x68,
+	0x65,0x6E,0x15,0x79,0x6F,0x75,0x20,0x65,0x78,0x69,0x74,0x20,
+	0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x2E,
+	0x00,0x25,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,
+	0x6E,0x2C,0x20,0x49,0x2F,0x4F,0x20,0x64,0x65,0x76,0x69,0x63,
+	0x65,0x73,0x3A,0x01,0x3E,0x19,0x3E,0x40,0x58,0x30,0x34,0x30,
+	0x40,0x43,0x30,0x30,0x31,0x49,0x6E,0x74,0x65,0x72,0x70,0x6F,
+	0x6C,0x61,0x74,0x69,0x6F,0x6E,0x3A,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3C,0x54,0x68,0x65,0x20,
+	0x6D,0x69,0x78,0x69,0x6E,0x67,0x20,0x72,0x6F,0x75,0x74,0x69,
+	0x6E,0x65,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,
+	0x74,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x20,0x76,0x61,0x6C,0x75,0x65,0x20,0x62,0x65,0x74,
+	0x77,0x65,0x65,0x6E,0x20,0x74,0x68,0x65,0x42,0x73,0x61,0x6D,
+	0x70,0x6C,0x65,0x20,0x70,0x6F,0x69,0x6E,0x74,0x73,0x20,0x74,
+	0x6F,0x20,0x72,0x65,0x6D,0x6F,0x76,0x65,0x20,0x75,0x6E,0x77,
+	0x61,0x6E,0x74,0x65,0x64,0x20,0x6E,0x6F,0x69,0x73,0x65,0x20,
+	0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x73,0x6F,0x75,0x6E,0x64,
+	0x2E,0x20,0x52,0x65,0x61,0x6C,0x20,0x46,0x54,0x32,0x20,0x75,
+	0x73,0x65,0x73,0x53,0x32,0x2D,0x74,0x61,0x70,0x20,0x6C,0x69,
+	0x6E,0x65,0x61,0x72,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,
+	0x6C,0x61,0x74,0x69,0x6F,0x6E,0x2C,0x20,0x77,0x68,0x69,0x6C,
+	0x65,0x20,0x74,0x68,0x69,0x73,0x20,0x63,0x6C,0x6F,0x6E,0x65,
+	0x20,0x75,0x73,0x65,0x73,0x20,0x33,0x2D,0x74,0x61,0x70,0x20,
+	0x71,0x75,0x61,0x64,0x72,0x61,0x74,0x69,0x63,0x20,0x69,0x6E,
+	0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x20,
+	0x66,0x6F,0x72,0x46,0x69,0x6D,0x70,0x72,0x6F,0x76,0x65,0x64,
+	0x20,0x68,0x69,0x67,0x68,0x20,0x66,0x72,0x65,0x71,0x75,0x65,
+	0x6E,0x63,0x69,0x65,0x73,0x2E,0x20,0x54,0x75,0x72,0x6E,0x69,
+	0x6E,0x67,0x20,0x69,0x74,0x20,0x6F,0x66,0x66,0x20,0x77,0x69,
+	0x6C,0x6C,0x20,0x6D,0x61,0x6B,0x65,0x20,0x74,0x68,0x65,0x20,
+	0x61,0x75,0x64,0x69,0x6F,0x20,0x73,0x68,0x61,0x72,0x70,0x65,
+	0x72,0x2C,0x1C,0x62,0x75,0x74,0x20,0x69,0x74,0x20,0x77,0x69,
+	0x6C,0x6C,0x20,0x61,0x6C,0x73,0x6F,0x20,0x62,0x65,0x20,0x6E,
+	0x6F,0x69,0x73,0x69,0x65,0x72,0x2E,0x00,0x1A,0x3E,0x40,0x58,
+	0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x6F,0x6C,0x75,
+	0x6D,0x65,0x20,0x72,0x61,0x6D,0x70,0x69,0x6E,0x67,0x3A,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3B,
+	0x45,0x6E,0x61,0x62,0x6C,0x65,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x61,0x6E,0x74,0x69,0x2D,0x63,0x6C,0x69,0x63,0x6B,0x20,0x73,
+	0x79,0x73,0x74,0x65,0x6D,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,
+	0x20,0x61,0x75,0x64,0x69,0x6F,0x20,0x6D,0x69,0x78,0x65,0x72,
+	0x20,0x28,0x46,0x54,0x32,0x2E,0x30,0x38,0x2B,0x29,0x2E,0x3B,
+	0x50,0x6C,0x65,0x61,0x73,0x65,0x20,0x6E,0x6F,0x74,0x65,0x20,
+	0x74,0x68,0x61,0x74,0x20,0x6F,0x72,0x69,0x67,0x69,0x6E,0x61,
+	0x6C,0x20,0x46,0x54,0x32,0x20,0x63,0x61,0x6E,0x27,0x74,0x20,
+	0x6C,0x6F,0x61,0x64,0x20,0x74,0x68,0x69,0x73,0x20,0x63,0x6F,
+	0x6E,0x66,0x69,0x67,0x20,0x65,0x6E,0x74,0x72,0x79,0x2C,0x0B,
+	0x63,0x6C,0x6F,0x6E,0x65,0x20,0x6F,0x6E,0x6C,0x79,0x2E,0x00,
+	0x1A,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x31,0x2E,0x35,0x2D,0x62,0x69,0x74,0x20,0x64,0x69,0x74,0x68,
+	0x65,0x72,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,
+	0x30,0x30,0x32,0x21,0x57,0x6F,0x72,0x6B,0x73,0x20,0x66,0x6F,
+	0x72,0x20,0x31,0x36,0x2D,0x62,0x69,0x74,0x20,0x61,0x75,0x64,
+	0x69,0x6F,0x20,0x6D,0x6F,0x64,0x65,0x20,0x6F,0x6E,0x6C,0x79,
+	0x2E,0x4E,0x41,0x70,0x70,0x6C,0x69,0x65,0x73,0x20,0x72,0x61,
+	0x6E,0x64,0x6F,0x6D,0x20,0x73,0x63,0x61,0x6C,0x65,0x64,0x20,
+	0x76,0x61,0x6C,0x75,0x65,0x73,0x20,0x74,0x6F,0x20,0x74,0x68,
+	0x65,0x20,0x6D,0x69,0x78,0x65,0x64,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x73,0x20,0x62,0x65,0x66,0x6F,0x72,0x65,0x20,0x74,
+	0x72,0x75,0x6E,0x63,0x61,0x74,0x69,0x6E,0x67,0x20,0x74,0x6F,
+	0x20,0x31,0x36,0x2D,0x62,0x69,0x74,0x2E,0x46,0x54,0x68,0x69,
+	0x73,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x69,0x6E,0x20,
+	0x74,0x68,0x65,0x6F,0x72,0x79,0x20,0x6C,0x6F,0x77,0x65,0x72,
+	0x20,0x74,0x68,0x65,0x20,0x71,0x75,0x61,0x6E,0x74,0x69,0x7A,
+	0x61,0x74,0x69,0x6F,0x6E,0x20,0x6E,0x6F,0x69,0x73,0x65,0x2E,
+	0x20,0x31,0x36,0x2D,0x62,0x69,0x74,0x20,0x61,0x6C,0x72,0x65,
+	0x61,0x64,0x79,0x20,0x68,0x61,0x73,0x46,0x61,0x20,0x70,0x72,
+	0x65,0x74,0x74,0x79,0x20,0x6C,0x6F,0x77,0x20,0x6E,0x6F,0x69,
+	0x73,0x65,0x20,0x66,0x6C,0x6F,0x6F,0x72,0x2C,0x20,0x73,0x6F,
+	0x20,0x64,0x6F,0x6E,0x27,0x74,0x20,0x65,0x78,0x70,0x65,0x63,
+	0x74,0x20,0x61,0x6E,0x79,0x20,0x61,0x75,0x64,0x69,0x62,0x6C,
+	0x65,0x20,0x64,0x69,0x66,0x66,0x65,0x72,0x65,0x6E,0x63,0x65,
+	0x20,0x68,0x65,0x72,0x65,0x2E,0x1F,0x41,0x6C,0x73,0x6F,0x20,
+	0x61,0x70,0x70,0x6C,0x69,0x65,0x73,0x20,0x66,0x6F,0x72,0x20,
+	0x57,0x41,0x56,0x20,0x72,0x65,0x6E,0x64,0x65,0x72,0x69,0x6E,
+	0x67,0x2E,0x00,0x19,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
+	0x30,0x30,0x31,0x41,0x6D,0x70,0x6C,0x69,0x66,0x69,0x63,0x61,
+	0x74,0x69,0x6F,0x6E,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
+	0x40,0x43,0x30,0x30,0x32,0x46,0x41,0x6D,0x70,0x6C,0x69,0x66,
+	0x69,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,
+	0x6D,0x65,0x20,0x77,0x68,0x65,0x6E,0x20,0x6D,0x69,0x78,0x69,
+	0x6E,0x67,0x2E,0x20,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x73,
+	0x65,0x74,0x20,0x74,0x68,0x69,0x73,0x20,0x6F,0x6E,0x65,0x20,
+	0x74,0x6F,0x6F,0x20,0x68,0x69,0x67,0x68,0x2C,0x20,0x79,0x6F,
+	0x75,0x27,0x6C,0x6C,0x3A,0x67,0x65,0x74,0x20,0x64,0x69,0x73,
+	0x74,0x6F,0x72,0x74,0x69,0x6F,0x6E,0x2E,0x20,0x33,0x32,0x58,
+	0x20,0x65,0x71,0x75,0x61,0x6C,0x73,0x20,0x66,0x75,0x6C,0x6C,
+	0x20,0x61,0x6D,0x70,0x6C,0x69,0x74,0x75,0x64,0x65,0x20,0x66,
+	0x6F,0x72,0x20,0x6F,0x6E,0x65,0x20,0x63,0x68,0x61,0x6E,0x6E,
+	0x65,0x6C,0x2E,0x00,0x1B,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x46,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,
+	0x79,0x20,0x74,0x61,0x62,0x6C,0x65,0x3A,0x0B,0x3E,0x40,0x58,
+	0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x54,0x68,0x65,
+	0x20,0x6C,0x69,0x6E,0x65,0x61,0x72,0x20,0x66,0x72,0x65,0x71,
+	0x75,0x65,0x6E,0x63,0x79,0x20,0x74,0x61,0x62,0x6C,0x65,0x20,
+	0x6D,0x61,0x6B,0x65,0x73,0x20,0x61,0x6C,0x6C,0x20,0x70,0x69,
+	0x74,0x63,0x68,0x20,0x62,0x65,0x6E,0x64,0x73,0x20,0x72,0x75,
+	0x6E,0x20,0x69,0x6E,0x20,0x63,0x6F,0x6E,0x73,0x74,0x61,0x6E,
+	0x74,0x3F,0x73,0x70,0x65,0x65,0x64,0x2C,0x20,0x69,0x6E,0x64,
+	0x65,0x70,0x65,0x6E,0x64,0x65,0x6E,0x74,0x20,0x6F,0x66,0x20,
+	0x74,0x68,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,
+	0x66,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x2E,0x20,0x49,
+	0x66,0x20,0x79,0x6F,0x75,0x20,0x73,0x77,0x69,0x74,0x63,0x68,
+	0x20,0x74,0x68,0x69,0x73,0x41,0x6F,0x6E,0x65,0x2C,0x20,0x6F,
+	0x6E,0x20,0x61,0x20,0x66,0x69,0x6E,0x69,0x73,0x68,0x65,0x64,
+	0x20,0x73,0x6F,0x6E,0x67,0x2C,0x20,0x69,0x74,0x20,0x6D,0x69,
+	0x67,0x68,0x74,0x20,0x73,0x6F,0x75,0x6E,0x64,0x20,0x73,0x74,
+	0x72,0x61,0x6E,0x67,0x65,0x20,0x69,0x66,0x20,0x74,0x68,0x65,
+	0x20,0x73,0x6F,0x75,0x6E,0x64,0x20,0x75,0x73,0x65,0x73,0x0D,
+	0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x65,0x73,
+	0x2E,0x00,0x20,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,
+	0x6F,0x6E,0x2C,0x20,0x4C,0x61,0x79,0x6F,0x75,0x74,0x3A,0x01,
+	0x3E,0x29,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x50,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x6C,0x61,0x79,
+	0x6F,0x75,0x74,0x2C,0x20,0x68,0x65,0x78,0x20,0x6E,0x75,0x6D,
+	0x62,0x65,0x72,0x69,0x6E,0x67,0x3A,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x41,0x49,0x66,0x20,0x79,
+	0x6F,0x75,0x20,0x75,0x73,0x65,0x20,0x70,0x61,0x74,0x74,0x65,
+	0x72,0x6E,0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x61,0x72,0x65,
+	0x20,0x6C,0x6F,0x6E,0x67,0x65,0x72,0x20,0x74,0x68,0x61,0x6E,
+	0x20,0x39,0x39,0x20,0x6C,0x69,0x6E,0x65,0x73,0x2C,0x20,0x79,
+	0x6F,0x75,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x75,0x73,
+	0x65,0x45,0x68,0x65,0x78,0x20,0x63,0x6F,0x75,0x6E,0x74,0x69,
+	0x6E,0x67,0x20,0x73,0x69,0x6E,0x63,0x65,0x20,0x74,0x68,0x65,
+	0x72,0x65,0x20,0x61,0x72,0x65,0x20,0x6F,0x6E,0x6C,0x79,0x20,
+	0x32,0x20,0x64,0x69,0x67,0x69,0x74,0x73,0x20,0x69,0x6E,0x20,
+	0x74,0x68,0x65,0x20,0x6C,0x69,0x6E,0x65,0x20,0x6E,0x75,0x6D,
+	0x62,0x65,0x72,0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x2E,0x00,
+	0x17,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
+	0x53,0x63,0x6F,0x70,0x65,0x20,0x73,0x74,0x79,0x6C,0x65,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x43,0x22,0x4F,0x72,0x69,0x67,0x69,0x6E,0x61,0x6C,0x22,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x73,0x68,0x6F,0x77,0x20,0x74,0x68,
+	0x65,0x20,0x70,0x6F,0x69,0x6E,0x74,0x73,0x20,0x69,0x6E,0x20,
+	0x74,0x68,0x65,0x20,0x73,0x63,0x6F,0x70,0x65,0x73,0x20,0x61,
+	0x73,0x20,0x70,0x69,0x78,0x65,0x6C,0x73,0x20,0x28,0x6C,0x69,
+	0x6B,0x65,0x20,0x46,0x54,0x32,0x29,0x2E,0x41,0x22,0x4C,0x69,
+	0x6E,0x65,0x64,0x22,0x20,0x77,0x69,0x6C,0x6C,0x20,0x64,0x72,
+	0x61,0x77,0x20,0x6C,0x69,0x6E,0x65,0x73,0x20,0x62,0x65,0x74,
+	0x77,0x65,0x65,0x6E,0x20,0x74,0x68,0x65,0x20,0x70,0x6F,0x69,
+	0x6E,0x74,0x73,0x2C,0x20,0x6C,0x69,0x6B,0x65,0x20,0x61,0x6E,
+	0x20,0x6F,0x73,0x63,0x69,0x6C,0x6C,0x6F,0x73,0x63,0x6F,0x70,
+	0x65,0x2E,0x00,0x27,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,
+	0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,
+	0x69,0x6F,0x6E,0x2C,0x20,0x4D,0x69,0x73,0x63,0x65,0x6C,0x6C,
+	0x61,0x6E,0x65,0x6F,0x75,0x73,0x3A,0x01,0x3E,0x15,0x3E,0x40,
+	0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x53,0x79,
+	0x6E,0x63,0x20,0x6F,0x66,0x66,0x3A,0x0B,0x3E,0x40,0x58,0x30,
+	0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3F,0x54,0x65,0x6C,0x6C,
+	0x73,0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,
+	0x6D,0x20,0x74,0x6F,0x20,0x6E,0x6F,0x74,0x20,0x75,0x73,0x65,
+	0x20,0x56,0x53,0x79,0x6E,0x63,0x20,0x66,0x6F,0x72,0x20,0x76,
+	0x69,0x64,0x65,0x6F,0x2E,0x20,0x49,0x66,0x20,0x79,0x6F,0x75,
+	0x72,0x20,0x6D,0x6F,0x6E,0x69,0x74,0x6F,0x72,0x27,0x73,0x40,
+	0x72,0x65,0x66,0x72,0x65,0x73,0x68,0x20,0x72,0x61,0x74,0x65,
+	0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,0x20,0x36,0x30,0x48,0x7A,
+	0x20,0x28,0x6F,0x72,0x20,0x35,0x39,0x48,0x7A,0x29,0x2C,0x20,
+	0x74,0x68,0x65,0x6E,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,0x69,
+	0x73,0x20,0x61,0x6C,0x77,0x61,0x79,0x73,0x20,0x6F,0x66,0x66,
+	0x20,0x66,0x6F,0x72,0x45,0x74,0x68,0x69,0x73,0x20,0x70,0x72,
+	0x6F,0x67,0x72,0x61,0x6D,0x2E,0x20,0x4E,0x6F,0x74,0x20,0x68,
+	0x61,0x76,0x69,0x6E,0x67,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x73,0x75,0x6C,0x74,0x20,
+	0x69,0x6E,0x20,0x6C,0x65,0x73,0x73,0x20,0x69,0x6E,0x70,0x75,
+	0x74,0x2F,0x76,0x69,0x64,0x65,0x6F,0x20,0x64,0x65,0x6C,0x61,
+	0x79,0x2C,0x1E,0x62,0x75,0x74,0x20,0x61,0x6C,0x73,0x6F,0x20,
+	0x70,0x6F,0x74,0x65,0x6E,0x74,0x69,0x61,0x6C,0x20,0x73,0x74,
+	0x75,0x74,0x74,0x65,0x72,0x69,0x6E,0x67,0x2E,0x01,0x20,0x18,
+	0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x50,
+	0x69,0x78,0x65,0x6C,0x20,0x66,0x69,0x6C,0x74,0x65,0x72,0x3A,
+	0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
+	0x43,0x41,0x70,0x70,0x6C,0x69,0x65,0x73,0x20,0x61,0x20,0x73,
+	0x75,0x62,0x70,0x69,0x78,0x65,0x6C,0x20,0x66,0x69,0x6C,0x74,
+	0x65,0x72,0x20,0x74,0x68,0x61,0x74,0x20,0x69,0x73,0x20,0x75,
+	0x73,0x65,0x64,0x20,0x77,0x68,0x65,0x6E,0x20,0x74,0x68,0x65,
+	0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x20,0x69,0x73,0x20,0x75,
+	0x70,0x73,0x63,0x61,0x6C,0x65,0x64,0x2E,0x43,0x54,0x68,0x69,
+	0x73,0x20,0x61,0x6C,0x73,0x6F,0x20,0x6D,0x61,0x6B,0x65,0x73,
+	0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,
+	0x6D,0x6F,0x64,0x65,0x20,0x63,0x6F,0x6D,0x70,0x6C,0x65,0x74,
+	0x65,0x6C,0x79,0x20,0x73,0x74,0x72,0x65,0x74,0x63,0x68,0x20,
+	0x6F,0x75,0x74,0x20,0x69,0x66,0x20,0x69,0x74,0x20,0x64,0x69,
+	0x64,0x6E,0x27,0x74,0x44,0x61,0x6C,0x72,0x65,0x61,0x64,0x79,
+	0x2E,0x20,0x50,0x6C,0x65,0x61,0x73,0x65,0x20,0x6B,0x65,0x65,
+	0x70,0x20,0x69,0x6E,0x20,0x6D,0x69,0x6E,0x64,0x20,0x74,0x68,
+	0x61,0x74,0x20,0x74,0x68,0x69,0x73,0x20,0x77,0x69,0x6C,0x6C,
+	0x20,0x6D,0x61,0x6B,0x65,0x20,0x70,0x69,0x78,0x65,0x6C,0x73,
+	0x20,0x6C,0x6F,0x6F,0x6B,0x20,0x62,0x6C,0x75,0x72,0x72,0x79,
+	0x2E,0x00,0x23,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,
+	0x31,0x41,0x64,0x76,0x61,0x6E,0x63,0x65,0x64,0x20,0x65,0x64,
+	0x69,0x74,0x20,0x66,0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,
+	0x3A,0x20,0x01,0x3E,0x1E,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
+	0x43,0x30,0x30,0x31,0x43,0x6F,0x70,0x79,0x2F,0x50,0x61,0x73,
+	0x74,0x65,0x20,0x6D,0x61,0x73,0x6B,0x69,0x6E,0x67,0x3A,0x0B,
+	0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x37,
+	0x54,0x68,0x65,0x20,0x6D,0x61,0x73,0x6B,0x69,0x6E,0x67,0x20,
+	0x69,0x73,0x20,0x75,0x73,0x65,0x64,0x20,0x66,0x6F,0x72,0x20,
+	0x63,0x6F,0x70,0x79,0x69,0x6E,0x67,0x2F,0x70,0x61,0x73,0x74,
+	0x69,0x6E,0x67,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x70,0x61,0x72,
+	0x74,0x73,0x20,0x6F,0x66,0x20,0x61,0x46,0x22,0x6E,0x6F,0x74,
+	0x65,0x2D,0x63,0x65,0x6C,0x6C,0x22,0x2E,0x20,0x54,0x68,0x65,
+	0x20,0x64,0x69,0x66,0x66,0x65,0x72,0x65,0x6E,0x74,0x20,0x70,
+	0x61,0x72,0x74,0x73,0x20,0x6F,0x66,0x20,0x61,0x20,0x22,0x6E,
+	0x6F,0x74,0x65,0x2D,0x63,0x65,0x6C,0x6C,0x22,0x20,0x69,0x73,
+	0x20,0x4E,0x6F,0x74,0x65,0x2C,0x20,0x49,0x6E,0x73,0x74,0x72,
+	0x2E,0x20,0x6E,0x72,0x2E,0x2C,0x20,0x56,0x6F,0x6C,0x75,0x6D,
+	0x65,0x2C,0x20,0x45,0x66,0x66,0x65,0x63,0x74,0x20,0x6E,0x72,
+	0x20,0x26,0x20,0x45,0x66,0x66,0x65,0x63,0x74,0x20,0x64,0x61,
+	0x74,0x61,0x2E,0x34,0x3E,0x41,0x73,0x20,0x79,0x6F,0x75,0x20,
+	0x63,0x61,0x6E,0x20,0x73,0x65,0x65,0x20,0x69,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x20,0x74,0x68,
+	0x65,0x72,0x65,0x20,0x61,0x72,0x65,0x20,0x33,0x20,0x63,0x6F,
+	0x6C,0x75,0x6D,0x6E,0x73,0x20,0x6F,0x66,0x3D,0x22,0x65,0x6E,
+	0x61,0x62,0x6C,0x65,0x2F,0x64,0x69,0x73,0x61,0x62,0x6C,0x65,
+	0x20,0x62,0x75,0x74,0x74,0x6F,0x6E,0x73,0x22,0x20,0x77,0x68,
+	0x69,0x63,0x68,0x20,0x68,0x61,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x6C,0x65,0x74,0x74,0x65,0x72,0x73,0x20,0x43,0x2C,0x50,0x20,
+	0x26,0x20,0x54,0x20,0x61,0x62,0x6F,0x76,0x65,0x2E,0x45,0x3E,
+	0x43,0x20,0x6D,0x65,0x61,0x6E,0x73,0x20,0x63,0x6F,0x70,0x79,
+	0x2C,0x20,0x69,0x74,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,
+	0x73,0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x70,0x61,0x72,0x74,
+	0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x67,0x6F,0x65,0x73,0x20,
+	0x69,0x6E,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x70,
+	0x79,0x62,0x75,0x66,0x66,0x65,0x72,0x2E,0x3E,0x3E,0x50,0x20,
+	0x6D,0x65,0x61,0x6E,0x73,0x20,0x70,0x61,0x73,0x74,0x65,0x20,
+	0x61,0x6E,0x64,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x73,
+	0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x70,0x61,0x72,0x74,0x73,
+	0x20,0x74,0x68,0x61,0x74,0x20,0x67,0x6F,0x65,0x73,0x20,0x6F,
+	0x75,0x74,0x20,0x66,0x72,0x6F,0x6D,0x20,0x74,0x68,0x65,0x0B,
+	0x63,0x6F,0x70,0x79,0x62,0x75,0x66,0x66,0x65,0x72,0x2E,0x45,
+	0x3E,0x54,0x20,0x6D,0x65,0x61,0x6E,0x73,0x20,0x74,0x72,0x61,
+	0x6E,0x73,0x70,0x61,0x72,0x65,0x6E,0x63,0x79,0x2E,0x20,0x49,
+	0x66,0x20,0x69,0x74,0x27,0x73,0x20,0x65,0x6E,0x61,0x62,0x6C,
+	0x65,0x64,0x2C,0x20,0x74,0x68,0x65,0x20,0x70,0x61,0x73,0x74,
+	0x69,0x6E,0x67,0x20,0x64,0x6F,0x65,0x73,0x6E,0x27,0x74,0x20,
+	0x6F,0x76,0x65,0x72,0x77,0x72,0x69,0x74,0x65,0x3D,0x64,0x61,
+	0x74,0x61,0x20,0x77,0x69,0x74,0x68,0x20,0x6E,0x69,0x6C,0x2D,
+	0x69,0x6E,0x66,0x6F,0x72,0x6D,0x61,0x74,0x69,0x6F,0x6E,0x2C,
+	0x20,0x6F,0x6E,0x6C,0x79,0x20,0x77,0x69,0x74,0x68,0x20,0x61,
+	0x20,0x6E,0x6F,0x74,0x65,0x20,0x6F,0x72,0x20,0x61,0x20,0x6E,
+	0x75,0x6D,0x62,0x65,0x72,0x20,0x3C,0x3E,0x20,0x30,0x2E,0x01,
+	0x3E,0x40,0x3E,0x54,0x68,0x65,0x20,0x63,0x75,0x74,0x20,0x66,
+	0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,0x20,0x77,0x6F,0x72,
+	0x6B,0x73,0x20,0x6C,0x69,0x6B,0x65,0x20,0x70,0x61,0x73,0x74,
+	0x69,0x6E,0x67,0x20,0x77,0x69,0x74,0x68,0x20,0x7A,0x65,0x72,
+	0x6F,0x2D,0x64,0x61,0x74,0x61,0x2E,0x20,0x54,0x68,0x69,0x73,
+	0x20,0x6D,0x65,0x61,0x6E,0x73,0x3B,0x74,0x68,0x61,0x74,0x20,
+	0x74,0x68,0x65,0x20,0x63,0x75,0x74,0x74,0x69,0x6E,0x67,0x20,
+	0x69,0x73,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x6C,0x65,
+	0x64,0x20,0x77,0x69,0x74,0x68,0x20,0x50,0x2D,0x63,0x6F,0x6C,
+	0x75,0x6D,0x6E,0x20,0x28,0x6F,0x72,0x20,0x54,0x2D,0x63,0x6F,
+	0x6C,0x75,0x6D,0x6E,0x29,0x2E,0x3C,0x3E,0x57,0x68,0x65,0x6E,
+	0x20,0x79,0x6F,0x75,0x20,0x63,0x6F,0x70,0x79,0x20,0x64,0x61,
+	0x74,0x61,0x20,0x77,0x69,0x74,0x68,0x20,0x6D,0x61,0x73,0x6B,
+	0x69,0x6E,0x67,0x2C,0x20,0x74,0x68,0x65,0x20,0x64,0x69,0x73,
+	0x61,0x62,0x6C,0x65,0x64,0x20,0x70,0x61,0x72,0x74,0x73,0x20,
+	0x61,0x72,0x65,0x20,0x6E,0x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x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0E,0x40,
+	0x4C,0x50,0x72,0x6F,0x62,0x6C,0x65,0x6D,0x73,0x2F,0x46,0x41,
+	0x51,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x41,0x3E,0x40,0x43,
+	0x30,0x30,0x31,0x51,0x3A,0x20,0x43,0x61,0x6E,0x20,0x49,0x20,
+	0x6D,0x61,0x6B,0x65,0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,0x72,
+	0x65,0x65,0x6E,0x20,0x6D,0x6F,0x64,0x65,0x20,0x73,0x74,0x72,
+	0x65,0x74,0x63,0x68,0x20,0x6F,0x75,0x74,0x20,0x74,0x68,0x65,
+	0x20,0x77,0x68,0x6F,0x6C,0x65,0x20,0x73,0x63,0x72,0x65,0x65,
+	0x6E,0x3F,0x3A,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,
+	0x45,0x6E,0x61,0x62,0x6C,0x65,0x20,0x22,0x50,0x69,0x78,0x65,
+	0x6C,0x20,0x66,0x69,0x6C,0x74,0x65,0x72,0x22,0x20,0x69,0x6E,
+	0x20,0x43,0x6F,0x6E,0x66,0x69,0x67,0x20,0x2D,0x3E,0x20,0x4D,
+	0x69,0x73,0x63,0x65,0x6C,0x6C,0x61,0x6E,0x65,0x6F,0x75,0x73,
+	0x2E,0x4D,0x3E,0x40,0x58,0x30,0x33,0x35,0x49,0x74,0x20,0x77,
+	0x6F,0x6E,0x27,0x74,0x20,0x6C,0x6F,0x6F,0x6B,0x20,0x70,0x72,
+	0x65,0x74,0x74,0x79,0x2C,0x20,0x62,0x75,0x74,0x20,0x74,0x6F,
+	0x20,0x73,0x6F,0x6D,0x65,0x20,0x70,0x65,0x6F,0x70,0x6C,0x65,
+	0x20,0x69,0x74,0x27,0x73,0x20,0x6D,0x75,0x63,0x68,0x20,0x62,
+	0x65,0x74,0x74,0x65,0x72,0x20,0x74,0x68,0x61,0x6E,0x20,0x6E,
+	0x6F,0x74,0x68,0x69,0x6E,0x67,0x2E,0x06,0x3E,0x40,0x58,0x30,
+	0x32,0x30,0x27,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,
+	0x49,0x20,0x63,0x61,0x6E,0x27,0x74,0x20,0x75,0x73,0x65,0x20,
+	0x41,0x4C,0x54,0x2B,0x46,0x34,0x20,0x61,0x6E,0x64,0x20,0x41,
+	0x4C,0x54,0x2B,0x46,0x35,0x21,0x4E,0x3E,0x40,0x43,0x30,0x30,
+	0x32,0x41,0x3A,0x20,0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,0x3A,
+	0x20,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x68,0x61,0x76,0x65,
+	0x20,0x47,0x65,0x46,0x6F,0x72,0x63,0x65,0x20,0x45,0x78,0x70,
+	0x65,0x72,0x69,0x65,0x6E,0x63,0x65,0x20,0x69,0x6E,0x73,0x74,
+	0x61,0x6C,0x6C,0x65,0x64,0x2C,0x20,0x79,0x6F,0x75,0x20,0x6E,
+	0x65,0x65,0x64,0x20,0x74,0x6F,0x20,0x63,0x68,0x61,0x6E,0x67,
+	0x65,0x2B,0x3E,0x40,0x58,0x30,0x33,0x35,0x74,0x68,0x65,0x20,
+	0x6B,0x65,0x79,0x62,0x69,0x6E,0x64,0x69,0x6E,0x67,0x73,0x20,
+	0x69,0x6E,0x20,0x69,0x74,0x73,0x20,0x73,0x65,0x74,0x74,0x69,
+	0x6E,0x67,0x73,0x20,0x70,0x61,0x67,0x65,0x2E,0x56,0x6D,0x61,
+	0x63,0x4F,0x53,0x2F,0x4F,0x53,0x20,0x58,0x3A,0x20,0x43,0x68,
+	0x61,0x6E,0x67,0x65,0x20,0x41,0x4C,0x54,0x2B,0x46,0x34,0x2F,
+	0x41,0x4C,0x54,0x2B,0x46,0x35,0x20,0x6B,0x65,0x79,0x73,0x20,
+	0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x4F,0x53,0x20,0x74,0x6F,
+	0x20,0x73,0x6F,0x6D,0x65,0x74,0x68,0x69,0x6E,0x67,0x20,0x65,
+	0x6C,0x73,0x65,0x2E,0x20,0x41,0x6C,0x73,0x6F,0x20,0x66,0x6F,
+	0x72,0x20,0x47,0x4E,0x55,0x2F,0x4C,0x69,0x6E,0x75,0x78,0x2E,
+	0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x2B,0x3E,0x40,0x43,0x30,
+	0x30,0x31,0x51,0x3A,0x20,0x54,0x68,0x65,0x20,0x6D,0x6F,0x75,
+	0x73,0x65,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x20,0x69,0x73,
+	0x20,0x64,0x65,0x6C,0x61,0x79,0x65,0x64,0x2F,0x6C,0x61,0x67,
+	0x67,0x79,0x21,0x4A,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,
+	0x20,0x45,0x6E,0x61,0x62,0x6C,0x65,0x20,0x22,0x56,0x53,0x79,
+	0x6E,0x63,0x20,0x6F,0x66,0x66,0x22,0x20,0x69,0x6E,0x20,0x43,
+	0x6F,0x6E,0x66,0x69,0x67,0x20,0x2D,0x3E,0x20,0x4D,0x69,0x73,
+	0x63,0x65,0x6C,0x6C,0x61,0x6E,0x65,0x6F,0x75,0x73,0x2E,0x20,
+	0x54,0x68,0x69,0x73,0x20,0x68,0x6F,0x77,0x65,0x76,0x65,0x72,
+	0x2C,0x20,0x77,0x69,0x6C,0x6C,0x4A,0x3E,0x40,0x58,0x30,0x33,
+	0x35,0x69,0x6E,0x74,0x72,0x6F,0x64,0x75,0x63,0x65,0x20,0x73,
+	0x74,0x75,0x74,0x74,0x65,0x72,0x69,0x6E,0x67,0x20,0x62,0x65,
+	0x63,0x61,0x75,0x73,0x65,0x20,0x74,0x68,0x65,0x20,0x72,0x65,
+	0x6E,0x64,0x65,0x72,0x69,0x6E,0x67,0x20,0x72,0x61,0x74,0x65,
+	0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,0x20,0x65,0x78,0x61,0x63,
+	0x74,0x20,0x74,0x6F,0x20,0x79,0x6F,0x75,0x72,0x4C,0x3E,0x6D,
+	0x6F,0x6E,0x69,0x74,0x6F,0x72,0x27,0x73,0x20,0x72,0x61,0x74,
+	0x65,0x2E,0x20,0x41,0x6C,0x74,0x65,0x72,0x6E,0x61,0x74,0x69,
+	0x76,0x65,0x6C,0x79,0x2C,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,
+	0x20,0x22,0x48,0x61,0x72,0x64,0x77,0x61,0x72,0x65,0x20,0x6D,
+	0x6F,0x75,0x73,0x65,0x22,0x20,0x69,0x6E,0x20,0x43,0x6F,0x6E,
+	0x66,0x69,0x67,0x20,0x2D,0x3E,0x20,0x4C,0x61,0x79,0x6F,0x75,
+	0x74,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x33,0x3E,0x40,
+	0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x57,0x69,0x6C,0x6C,0x20,
+	0x79,0x6F,0x75,0x20,0x69,0x6D,0x70,0x6C,0x65,0x6D,0x65,0x6E,
+	0x74,0x20,0x4D,0x49,0x44,0x49,0x20,0x6F,0x75,0x74,0x20,0x66,
+	0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x61,0x6C,0x69,0x74,0x79,
+	0x3F,0x4D,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x4E,
+	0x6F,0x2C,0x20,0x73,0x6F,0x72,0x72,0x79,0x2E,0x20,0x54,0x68,
+	0x69,0x73,0x20,0x69,0x73,0x20,0x76,0x65,0x72,0x79,0x20,0x64,
+	0x69,0x66,0x66,0x69,0x63,0x75,0x6C,0x74,0x20,0x74,0x6F,0x20,
+	0x69,0x6D,0x70,0x6C,0x65,0x6D,0x65,0x6E,0x74,0x20,0x63,0x6F,
+	0x72,0x72,0x65,0x63,0x74,0x6C,0x79,0x20,0x77,0x68,0x65,0x6E,
+	0x20,0x68,0x61,0x76,0x69,0x6E,0x67,0x3C,0x3E,0x40,0x58,0x30,
+	0x33,0x35,0x68,0x69,0x67,0x68,0x65,0x72,0x20,0x61,0x75,0x64,
+	0x69,0x6F,0x20,0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x73,0x69,
+	0x7A,0x65,0x73,0x20,0x28,0x62,0x75,0x66,0x66,0x65,0x72,0x65,
+	0x64,0x20,0x72,0x65,0x70,0x6C,0x61,0x79,0x65,0x72,0x20,0x74,
+	0x69,0x63,0x6B,0x73,0x29,0x2E,0x2E,0x2E,0x06,0x3E,0x40,0x58,
+	0x30,0x32,0x30,0x30,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,
+	0x20,0x57,0x68,0x65,0x72,0x65,0x20,0x69,0x73,0x20,0x74,0x68,
+	0x65,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,
+	0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x73,0x74,0x6F,
+	0x72,0x65,0x64,0x3F,0x3F,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,
+	0x3A,0x20,0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,0x3A,0x20,0x5C,
+	0x55,0x73,0x65,0x72,0x73,0x5C,0x55,0x53,0x45,0x52,0x5C,0x41,
+	0x70,0x70,0x44,0x61,0x74,0x61,0x5C,0x52,0x6F,0x61,0x6D,0x69,
+	0x6E,0x67,0x5C,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,
+	0x5C,0x46,0x54,0x32,0x2E,0x43,0x46,0x47,0x45,0x3E,0x40,0x58,
+	0x30,0x33,0x35,0x4F,0x53,0x20,0x58,0x3A,0x20,0x2F,0x55,0x73,
+	0x65,0x72,0x73,0x2F,0x55,0x53,0x45,0x52,0x2F,0x4C,0x69,0x62,
+	0x72,0x61,0x72,0x79,0x2F,0x41,0x70,0x70,0x6C,0x69,0x63,0x61,
+	0x74,0x69,0x6F,0x6E,0x20,0x53,0x75,0x70,0x70,0x6F,0x72,0x74,
+	0x2F,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x2F,0x46,
+	0x54,0x32,0x2E,0x43,0x46,0x47,0x2F,0x47,0x4E,0x55,0x2F,0x4C,
+	0x69,0x6E,0x75,0x78,0x3A,0x20,0x2F,0x68,0x6F,0x6D,0x65,0x2F,
+	0x55,0x53,0x45,0x52,0x2F,0x2E,0x63,0x6F,0x6E,0x66,0x69,0x67,
+	0x2F,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x2F,0x46,
+	0x54,0x32,0x2E,0x43,0x46,0x47,0x01,0x3E,0x48,0x49,0x74,0x20,
+	0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x73,0x74,0x6F,0x72,
+	0x65,0x64,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x70,0x72,
+	0x6F,0x67,0x72,0x61,0x6D,0x20,0x64,0x69,0x72,0x65,0x63,0x74,
+	0x6F,0x72,0x79,0x20,0x69,0x66,0x20,0x74,0x68,0x65,0x20,0x70,
+	0x61,0x74,0x68,0x20,0x63,0x6F,0x75,0x6C,0x64,0x6E,0x27,0x74,
+	0x20,0x62,0x65,0x20,0x75,0x73,0x65,0x64,0x2E,0x4D,0x49,0x66,
+	0x20,0x79,0x6F,0x75,0x20,0x70,0x75,0x74,0x20,0x74,0x68,0x65,
+	0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,
+	0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x69,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x20,0x64,
+	0x69,0x72,0x65,0x63,0x74,0x6F,0x72,0x79,0x2C,0x20,0x69,0x74,
+	0x20,0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x61,0x64,0x20,0x74,
+	0x68,0x61,0x74,0x4A,0x6F,0x6E,0x65,0x20,0x61,0x6E,0x64,0x20,
+	0x6E,0x6F,0x74,0x20,0x61,0x74,0x74,0x65,0x6D,0x70,0x74,0x20,
+	0x74,0x6F,0x20,0x63,0x72,0x65,0x61,0x74,0x65,0x20,0x63,0x6F,
+	0x6E,0x66,0x69,0x67,0x20,0x64,0x69,0x72,0x73,0x20,0x66,0x6F,
+	0x72,0x20,0x74,0x68,0x65,0x20,0x4F,0x53,0x20,0x75,0x73,0x65,
+	0x72,0x2E,0x20,0x28,0x70,0x6F,0x72,0x74,0x61,0x62,0x6C,0x65,
+	0x20,0x6D,0x6F,0x64,0x65,0x29,0x06,0x3E,0x40,0x58,0x30,0x32,
+	0x30,0x42,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x43,
+	0x61,0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x6C,0x6F,0x6E,0x65,
+	0x20,0x72,0x65,0x61,0x64,0x20,0x46,0x54,0x32,0x2E,0x43,0x46,
+	0x47,0x20,0x66,0x72,0x6F,0x6D,0x20,0x72,0x65,0x61,0x6C,0x20,
+	0x46,0x54,0x32,0x2C,0x20,0x61,0x6E,0x64,0x20,0x76,0x69,0x63,
+	0x65,0x20,0x76,0x65,0x72,0x73,0x61,0x3F,0x4C,0x3E,0x40,0x43,
+	0x30,0x30,0x32,0x41,0x3A,0x20,0x59,0x65,0x73,0x2C,0x20,0x69,
+	0x74,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x77,0x6F,0x72,
+	0x6B,0x20,0x6A,0x75,0x73,0x74,0x20,0x66,0x69,0x6E,0x65,0x2E,
+	0x20,0x50,0x75,0x74,0x20,0x69,0x74,0x20,0x69,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x64,0x69,0x72,0x65,0x63,0x74,0x6F,0x72,0x79,
+	0x20,0x73,0x68,0x6F,0x77,0x6E,0x20,0x61,0x62,0x6F,0x76,0x65,
+	0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x52,0x3E,0x40,0x43,
+	0x30,0x30,0x31,0x51,0x3A,0x20,0x53,0x6D,0x70,0x2E,0x20,0x45,
+	0x64,0x2E,0x3A,0x20,0x57,0x68,0x69,0x6C,0x65,0x20,0x7A,0x6F,
+	0x6F,0x6D,0x69,0x6E,0x67,0x20,0x69,0x6E,0x2C,0x20,0x49,0x20,
+	0x73,0x6F,0x6D,0x65,0x74,0x69,0x6D,0x65,0x73,0x20,0x63,0x61,
+	0x6E,0x27,0x74,0x20,0x6D,0x61,0x72,0x6B,0x20,0x74,0x68,0x65,
+	0x20,0x6C,0x61,0x73,0x74,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,
+	0x20,0x70,0x6F,0x69,0x6E,0x74,0x21,0x47,0x3E,0x40,0x43,0x30,
+	0x30,0x32,0x41,0x3A,0x20,0x54,0x68,0x69,0x73,0x20,0x69,0x73,
+	0x20,0x6E,0x6F,0x72,0x6D,0x61,0x6C,0x2E,0x20,0x54,0x68,0x69,
+	0x73,0x20,0x69,0x73,0x20,0x61,0x20,0x6C,0x69,0x6D,0x69,0x74,
+	0x61,0x74,0x69,0x6F,0x6E,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,
+	0x20,0x6E,0x61,0x74,0x75,0x72,0x65,0x20,0x6F,0x66,0x20,0x73,
+	0x63,0x61,0x6C,0x69,0x6E,0x67,0x2E,0x06,0x3E,0x40,0x58,0x30,
+	0x32,0x30,0x17,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,
+	0x49,0x20,0x66,0x6F,0x75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2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
+	0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0C,0x40,0x4C,
+	0x4B,0x6E,0x6F,0x77,0x6E,0x20,0x62,0x75,0x67,0x73,0x06,0x3E,
+	0x40,0x58,0x30,0x31,0x30,0x14,0x3E,0x40,0x43,0x30,0x30,0x31,
+	0x53,0x61,0x6D,0x70,0x6C,0x65,0x20,0x65,0x64,0x69,0x74,0x6F,
+	0x72,0x3A,0x06,0x3E,0x40,0x43,0x30,0x30,0x32,0x4E,0x3E,0x40,
+	0x58,0x30,0x31,0x30,0x2D,0x20,0x57,0x68,0x65,0x6E,0x20,0x61,
+	0x20,0x6C,0x6F,0x6F,0x70,0x65,0x64,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x20,0x69,0x73,0x20,0x7A,0x6F,0x6F,0x6D,0x65,0x64,
+	0x20,0x6F,0x75,0x74,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,
+	0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x65,0x64,0x69,0x74,0x6F,
+	0x72,0x2C,0x20,0x79,0x6F,0x75,0x20,0x63,0x6F,0x75,0x6C,0x64,
+	0x20,0x73,0x65,0x65,0x4D,0x3E,0x40,0x58,0x30,0x32,0x31,0x75,
+	0x6E,0x77,0x61,0x6E,0x74,0x65,0x64,0x20,0x73,0x61,0x6D,0x70,
+	0x6C,0x65,0x20,0x64,0x61,0x74,0x61,0x20,0x61,0x74,0x20,0x74,
+	0x68,0x65,0x20,0x6C,0x6F,0x6F,0x70,0x2D,0x65,0x6E,0x64,0x20,
+	0x70,0x6F,0x69,0x6E,0x74,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,
+	0x69,0x73,0x20,0x62,0x65,0x63,0x61,0x75,0x73,0x65,0x20,0x6F,
+	0x66,0x20,0x61,0x20,0x6B,0x6C,0x75,0x64,0x67,0x65,0x4B,0x66,
+	0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x73,0x61,0x6D,
+	0x70,0x6C,0x69,0x6E,0x67,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,
+	0x6F,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x20,0x74,0x6F,0x20,0x77,
+	0x6F,0x72,0x6B,0x20,0x66,0x61,0x73,0x74,0x65,0x72,0x20,0x69,
+	0x6E,0x20,0x74,0x68,0x65,0x20,0x61,0x75,0x64,0x69,0x6F,0x20,
+	0x6D,0x69,0x78,0x65,0x72,0x2C,0x20,0x61,0x6E,0x64,0x20,0x74,
+	0x68,0x65,0x4B,0x6F,0x72,0x69,0x67,0x69,0x6E,0x61,0x6C,0x20,
+	0x46,0x54,0x32,0x20,0x68,0x61,0x73,0x20,0x74,0x68,0x65,0x20,
+	0x73,0x61,0x6D,0x65,0x20,0x70,0x72,0x6F,0x62,0x6C,0x65,0x6D,
+	0x2E,0x20,0x49,0x20,0x68,0x61,0x76,0x65,0x20,0x6D,0x61,0x64,
+	0x65,0x20,0x69,0x74,0x20,0x73,0x6F,0x20,0x74,0x68,0x61,0x74,
+	0x20,0x69,0x66,0x20,0x79,0x6F,0x75,0x20,0x7A,0x6F,0x6F,0x6D,
+	0x20,0x69,0x6E,0x20,0x74,0x6F,0x3B,0x73,0x65,0x65,0x20,0x74,
+	0x68,0x65,0x20,0x69,0x6E,0x64,0x69,0x76,0x69,0x64,0x75,0x61,
+	0x6C,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x70,0x6F,0x69,
+	0x6E,0x74,0x73,0x2C,0x20,0x69,0x74,0x20,0x77,0x69,0x6C,0x6C,
+	0x20,0x6C,0x6F,0x6F,0x6B,0x20,0x6C,0x69,0x6B,0x65,0x20,0x6E,
+	0x6F,0x72,0x6D,0x61,0x6C,0x2E,0x06,0x3E,0x40,0x58,0x30,0x31,
+	0x30,0x17,0x3E,0x40,0x43,0x30,0x30,0x31,0x4D,0x6F,0x75,0x73,
+	0x65,0x20,0x2F,0x20,0x6B,0x65,0x79,0x62,0x6F,0x61,0x72,0x64,
+	0x3A,0x01,0x3E,0x4D,0x3E,0x40,0x43,0x30,0x30,0x32,0x2D,0x20,
+	0x57,0x68,0x65,0x6E,0x20,0x79,0x6F,0x75,0x20,0x68,0x6F,0x6C,
+	0x64,0x20,0x64,0x6F,0x77,0x6E,0x20,0x61,0x20,0x6B,0x65,0x79,
+	0x20,0x28,0x66,0x2E,0x65,0x78,0x2E,0x20,0x70,0x6C,0x61,0x79,
+	0x69,0x6E,0x67,0x20,0x61,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,
+	0x29,0x2C,0x20,0x74,0x68,0x65,0x20,0x6D,0x6F,0x75,0x73,0x65,
+	0x20,0x6D,0x6F,0x76,0x65,0x6D,0x65,0x6E,0x74,0x4A,0x3E,0x40,
+	0x58,0x30,0x32,0x31,0x63,0x61,0x6E,0x20,0x62,0x65,0x20,0x63,
+	0x68,0x6F,0x70,0x70,0x79,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,
+	0x69,0x73,0x20,0x72,0x65,0x6C,0x61,0x74,0x65,0x64,0x20,0x74,
+	0x6F,0x20,0x74,0x68,0x65,0x20,0x69,0x6E,0x70,0x75,0x74,0x20,
+	0x71,0x75,0x65,0x75,0x65,0x20,0x62,0x65,0x69,0x6E,0x67,0x20,
+	0x73,0x70,0x61,0x6D,0x6D,0x65,0x64,0x20,0x77,0x69,0x74,0x68,
+	0x36,0x22,0x6B,0x65,0x79,0x20,0x64,0x6F,0x77,0x6E,0x22,0x20,
+	0x65,0x76,0x65,0x6E,0x74,0x73,0x2C,0x20,0x64,0x65,0x6C,0x61,
+	0x79,0x69,0x6E,0x67,0x20,0x74,0x68,0x65,0x20,0x6D,0x6F,0x75,
+	0x73,0x65,0x20,0x70,0x6F,0x73,0x69,0x74,0x69,0x6F,0x6E,0x20,
+	0x65,0x76,0x65,0x6E,0x74,0x73,0x2E,0x4E,0x49,0x20,0x6F,0x6E,
+	0x6C,0x79,0x20,0x70,0x6F,0x6C,0x6C,0x20,0x69,0x6E,0x70,0x75,
+	0x74,0x20,0x6F,0x6E,0x63,0x65,0x20,0x70,0x65,0x72,0x20,0x66,
+	0x72,0x61,0x6D,0x65,0x20,0x28,0x36,0x30,0x48,0x7A,0x29,0x2C,
+	0x20,0x73,0x6F,0x20,0x74,0x68,0x65,0x20,0x66,0x72,0x65,0x71,
+	0x75,0x65,0x6E,0x63,0x79,0x20,0x69,0x73,0x20,0x61,0x20,0x74,
+	0x61,0x64,0x20,0x6C,0x6F,0x77,0x2E,0x20,0x49,0x74,0x20,0x68,
+	0x61,0x73,0x2E,0x74,0x6F,0x20,0x62,0x65,0x20,0x6C,0x69,0x6B,
+	0x65,0x20,0x74,0x68,0x69,0x73,0x20,0x66,0x6F,0x72,0x20,0x73,
+	0x65,0x76,0x65,0x72,0x61,0x6C,0x20,0x72,0x65,0x61,0x73,0x6F,
+	0x6E,0x73,0x2C,0x20,0x74,0x68,0x6F,0x75,0x67,0x68,0x2E,0x2E,
+	0x2E,0x06,0x3E,0x40,0x58,0x30,0x31,0x30,0x48,0x3E,0x2D,0x20,
+	0x6D,0x61,0x63,0x4F,0x53,0x20,0x2F,0x20,0x4F,0x53,0x20,0x58,
+	0x3A,0x20,0x48,0x6F,0x6C,0x64,0x69,0x6E,0x67,0x20,0x64,0x6F,
+	0x77,0x6E,0x20,0x61,0x20,0x6D,0x6F,0x75,0x73,0x65,0x20,0x62,
+	0x75,0x74,0x74,0x6F,0x6E,0x20,0x77,0x6F,0x6E,0x27,0x74,0x20,
+	0x74,0x72,0x61,0x70,0x20,0x74,0x68,0x65,0x20,0x6D,0x6F,0x75,
+	0x73,0x65,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x4D,0x3E,0x40,
+	0x58,0x30,0x32,0x31,0x69,0x6E,0x73,0x69,0x64,0x65,0x20,0x74,
+	0x68,0x65,0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x2E,0x20,0x54,
+	0x68,0x69,0x73,0x20,0x69,0x73,0x20,0x72,0x65,0x6C,0x61,0x74,
+	0x65,0x64,0x20,0x74,0x6F,0x20,0x61,0x20,0x6B,0x6C,0x75,0x64,
+	0x67,0x65,0x20,0x74,0x68,0x61,0x74,0x20,0x73,0x69,0x6D,0x70,
+	0x6C,0x79,0x20,0x64,0x6F,0x65,0x73,0x6E,0x27,0x74,0x20,0x77,
+	0x6F,0x72,0x6B,0x4F,0x76,0x65,0x72,0x79,0x20,0x77,0x65,0x6C,
+	0x6C,0x20,0x69,0x6E,0x20,0x6D,0x61,0x63,0x4F,0x53,0x2E,0x20,
+	0x54,0x68,0x65,0x20,0x6D,0x6F,0x75,0x73,0x65,0x20,0x6D,0x6F,
+	0x76,0x65,0x6D,0x65,0x6E,0x74,0x20,0x77,0x6F,0x75,0x6C,0x64,
+	0x20,0x66,0x72,0x65,0x65,0x7A,0x65,0x20,0x66,0x6F,0x72,0x20,
+	0x73,0x6F,0x6D,0x65,0x20,0x74,0x69,0x6D,0x65,0x20,0x61,0x66,
+	0x74,0x65,0x72,0x20,0x61,0x20,0x6D,0x6F,0x75,0x73,0x65,0x15,
+	0x62,0x75,0x74,0x74,0x6F,0x6E,0x20,0x77,0x61,0x73,0x20,0x68,
+	0x65,0x6C,0x64,0x20,0x64,0x6F,0x77,0x6E,0x2E,0x06,0x3E,0x40,
+	0x58,0x30,0x31,0x30,0x4B,0x3E,0x40,0x43,0x30,0x30,0x32,0x2D,
+	0x20,0x54,0x68,0x65,0x20,0x22,0x63,0x6C,0x65,0x61,0x72,0x20,
+	0x73,0x61,0x6D,0x70,0x6C,0x65,0x22,0x20,0x73,0x68,0x6F,0x72,
+	0x74,0x63,0x75,0x74,0x20,0x28,0x73,0x68,0x69,0x66,0x74,0x20,
+	0x2B,0x20,0x6E,0x75,0x6D,0x2D,0x70,0x61,0x64,0x20,0x44,0x65,
+	0x6C,0x2F,0x27,0x2C,0x27,0x29,0x20,0x6F,0x6E,0x6C,0x79,0x20,
+	0x77,0x6F,0x72,0x6B,0x73,0x20,0x69,0x66,0x37,0x3E,0x40,0x58,
+	0x30,0x32,0x31,0x6E,0x75,0x6D,0x20,0x6C,0x6F,0x63,0x6B,0x20,
+	0x69,0x73,0x20,0x6F,0x66,0x66,0x2E,0x20,0x54,0x68,0x65,0x72,
+	0x65,0x27,0x73,0x20,0x6E,0x6F,0x20,0x77,0x61,0x79,0x20,0x49,
+	0x20,0x63,0x61,0x6E,0x20,0x66,0x69,0x78,0x20,0x74,0x68,0x69,
+	0x73,0x2E,0x2E,0x2E,0x06,0x3E,0x40,0x58,0x30,0x31,0x30,0x0C,
+	0x3E,0x40,0x43,0x30,0x30,0x31,0x56,0x69,0x64,0x65,0x6F,0x3A,
+	0x06,0x3E,0x40,0x43,0x30,0x30,0x32,0x4A,0x3E,0x40,0x58,0x30,
+	0x31,0x30,0x2D,0x20,0x54,0x68,0x65,0x20,0x73,0x63,0x6F,0x70,
+	0x65,0x73,0x20,0x63,0x61,0x6E,0x20,0x6D,0x69,0x6C,0x64,0x6C,
+	0x79,0x20,0x66,0x6C,0x69,0x63,0x6B,0x65,0x72,0x20,0x64,0x65,
+	0x70,0x65,0x6E,0x64,0x69,0x6E,0x67,0x20,0x6F,0x6E,0x20,0x74,
+	0x68,0x65,0x20,0x77,0x61,0x76,0x65,0x66,0x6F,0x72,0x6D,0x20,
+	0x61,0x6E,0x64,0x20,0x70,0x69,0x74,0x63,0x68,0x2E,0x4D,0x3E,
+	0x40,0x58,0x30,0x32,0x31,0x54,0x68,0x69,0x73,0x20,0x69,0x73,
+	0x20,0x62,0x65,0x63,0x61,0x75,0x73,0x65,0x20,0x74,0x68,0x65,
+	0x69,0x72,0x20,0x66,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,
+	0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,0x20,0x63,0x6C,0x6F,0x63,
+	0x6B,0x65,0x64,0x20,0x74,0x6F,0x20,0x65,0x78,0x61,0x63,0x74,
+	0x6C,0x79,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,0x65,0x20,
+	0x72,0x61,0x74,0x65,0x4D,0x3E,0x61,0x74,0x20,0x77,0x68,0x69,
+	0x63,0x68,0x20,0x74,0x68,0x65,0x20,0x73,0x63,0x6F,0x70,0x65,
+	0x73,0x20,0x61,0x72,0x65,0x20,0x72,0x65,0x6E,0x64,0x65,0x72,
+	0x65,0x64,0x2E,0x20,0x49,0x74,0x27,0x73,0x20,0x63,0x6C,0x6F,
+	0x73,0x65,0x2C,0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x63,0x61,
+	0x75,0x73,0x65,0x73,0x20,0x61,0x20,0x66,0x6C,0x69,0x63,0x6B,
+	0x65,0x72,0x20,0x65,0x66,0x66,0x65,0x63,0x74,0x2E,0x01,0x3E,
+	0x52,0x3E,0x40,0x58,0x30,0x31,0x30,0x2D,0x20,0x4E,0x6F,0x74,
+	0x20,0x61,0x20,0x62,0x75,0x67,0x2C,0x20,0x62,0x75,0x74,0x20,
+	0x69,0x66,0x20,0x79,0x6F,0x75,0x72,0x20,0x6D,0x6F,0x6E,0x69,
+	0x74,0x6F,0x72,0x27,0x73,0x20,0x72,0x65,0x66,0x72,0x65,0x73,
+	0x68,0x20,0x72,0x61,0x74,0x65,0x20,0x69,0x73,0x20,0x6E,0x6F,
+	0x74,0x20,0x73,0x65,0x74,0x20,0x74,0x6F,0x20,0x36,0x30,0x48,
+	0x7A,0x20,0x28,0x6F,0x72,0x20,0x35,0x39,0x48,0x7A,0x29,0x4F,
+	0x3E,0x40,0x58,0x30,0x32,0x31,0x79,0x6F,0x75,0x20,0x6D,0x61,
+	0x79,0x20,0x65,0x78,0x70,0x65,0x72,0x69,0x65,0x6E,0x63,0x65,
+	0x20,0x76,0x69,0x73,0x75,0x61,0x6C,0x20,0x73,0x74,0x75,0x74,
+	0x74,0x65,0x72,0x69,0x6E,0x67,0x20,0x62,0x65,0x63,0x61,0x75,
+	0x73,0x65,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,0x77,0x69,0x6C,
+	0x6C,0x20,0x6E,0x6F,0x74,0x20,0x62,0x65,0x20,0x75,0x73,0x65,
+	0x64,0x20,0x74,0x68,0x65,0x6E,0x2E,0x49,0x49,0x20,0x68,0x69,
+	0x67,0x68,0x6C,0x79,0x20,0x72,0x65,0x63,0x6F,0x6D,0x6D,0x65,
+	0x6E,0x64,0x20,0x72,0x75,0x6E,0x6E,0x69,0x6E,0x67,0x20,0x79,
+	0x6F,0x75,0x72,0x20,0x6D,0x6F,0x6E,0x69,0x74,0x6F,0x72,0x20,
+	0x61,0x74,0x20,0x36,0x30,0x48,0x7A,0x20,0x69,0x66,0x20,0x79,
+	0x6F,0x75,0x27,0x72,0x65,0x20,0x61,0x20,0x68,0x61,0x72,0x64,
+	0x63,0x6F,0x72,0x65,0x20,0x75,0x73,0x65,0x72,0x10,0x6F,0x66,
+	0x20,0x74,0x68,0x69,0x73,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,
+	0x6D,0x2E,0x01,0x3E,0x4C,0x3E,0x40,0x58,0x30,0x31,0x30,0x2D,
+	0x20,0x6D,0x61,0x63,0x4F,0x53,0x20,0x2F,0x20,0x4F,0x53,0x20,
+	0x58,0x3A,0x20,0x49,0x66,0x20,0x22,0x48,0x61,0x72,0x64,0x77,
+	0x61,0x72,0x65,0x20,0x6D,0x6F,0x75,0x73,0x65,0x22,0x20,0x69,
+	0x73,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,0x64,0x2C,0x20,0x74,
+	0x68,0x65,0x20,0x6D,0x6F,0x75,0x73,0x65,0x20,0x63,0x75,0x72,
+	0x73,0x6F,0x72,0x20,0x77,0x6F,0x6E,0x27,0x74,0x4C,0x3E,0x40,
+	0x58,0x30,0x32,0x31,0x63,0x68,0x61,0x6E,0x67,0x65,0x20,0x77,
+	0x68,0x65,0x6E,0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,
+	0x72,0x61,0x6D,0x20,0x69,0x73,0x20,0x62,0x75,0x73,0x79,0x2E,
+	0x20,0x54,0x68,0x65,0x20,0x6D,0x61,0x63,0x4F,0x53,0x20,0x22,
+	0x77,0x61,0x69,0x74,0x22,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,
+	0x20,0x69,0x73,0x20,0x6D,0x69,0x73,0x73,0x69,0x6E,0x67,0x20,
+	0x69,0x6E,0x07,0x53,0x44,0x4C,0x32,0x2E,0x2E,0x2E,0x00,0x03,
+	0x45,0x4E,0x44
+};
+
+#endif
binary files /dev/null b/src/helpdata/ft2hlp_to_h.exe differ
--- /dev/null
+++ b/src/helpdata/make_help_data.bat
@@ -1,0 +1,2 @@
+@ECHO OFF 
+ft2hlp_to_h FT2.HLP
\ No newline at end of file
--- /dev/null
+++ b/src/rtmidi/LICENSE.txt
@@ -1,0 +1,26 @@
+RtMidi: realtime MIDI i/o C++ classes
+Copyright (c) 2003-2017 Gary P. Scavone
+
+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.
+
+Any person wishing to distribute modifications to the Software is asked to send
+the modifications to the original developer so that they can be incorporated
+into the canonical version.  This is, however, not a binding provision of this
+license.
+
+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.
--- /dev/null
+++ b/src/rtmidi/RtMidi.cpp
@@ -1,0 +1,3445 @@
+/**********************************************************************/
+/*! \class RtMidi
+    \brief An abstract base class for realtime MIDI input/output.
+
+    This class implements some common functionality for the realtime
+    MIDI input/output subclasses RtMidiIn and RtMidiOut.
+
+    RtMidi GitHub site: https://github.com/thestk/rtmidi
+    RtMidi WWW site: http://www.music.mcgill.ca/~gary/rtmidi/
+
+    RtMidi: realtime MIDI i/o C++ classes
+    Copyright (c) 2003-2019 Gary P. Scavone
+
+    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.
+
+    Any person wishing to distribute modifications to the Software is
+    asked to send the modifications to the original developer so that
+    they can be incorporated into the canonical version.  This is,
+    however, not a binding provision of this license.
+
+    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.
+*/
+/**********************************************************************/
+
+#include "RtMidi.h"
+#include <sstream>
+
+#if defined(__MACOSX_CORE__)
+  #if TARGET_OS_IPHONE
+    #define AudioGetCurrentHostTime CAHostTimeBase::GetCurrentTime
+    #define AudioConvertHostTimeToNanos CAHostTimeBase::ConvertToNanos
+  #endif
+#endif
+
+// Default for Windows is to add an identifier to the port names; this
+// flag can be defined (e.g. in your project file) to disable this behaviour.
+//#define RTMIDI_DO_NOT_ENSURE_UNIQUE_PORTNAMES
+
+// **************************************************************** //
+//
+// MidiInApi and MidiOutApi subclass prototypes.
+//
+// **************************************************************** //
+
+#if !defined(__LINUX_ALSA__) && !defined(__UNIX_JACK__) && !defined(__MACOSX_CORE__) && !defined(__WINDOWS_MM__)
+  #define __RTMIDI_DUMMY__
+#endif
+
+#if defined(__MACOSX_CORE__)
+
+class MidiInCore: public MidiInApi
+{
+ public:
+  MidiInCore( const std::string &clientName, unsigned int queueSizeLimit );
+  ~MidiInCore( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::MACOSX_CORE; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName );
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+
+ protected:
+  void initialize( const std::string& clientName );
+};
+
+class MidiOutCore: public MidiOutApi
+{
+ public:
+  MidiOutCore( const std::string &clientName );
+  ~MidiOutCore( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::MACOSX_CORE; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName );
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+  void sendMessage( const unsigned char *message, size_t size );
+
+ protected:
+  void initialize( const std::string& clientName );
+};
+
+#endif
+
+#if defined(__UNIX_JACK__)
+
+class MidiInJack: public MidiInApi
+{
+ public:
+  MidiInJack( const std::string &clientName, unsigned int queueSizeLimit );
+  ~MidiInJack( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::UNIX_JACK; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName);
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+
+ protected:
+  std::string clientName;
+
+  void connect( void );
+  void initialize( const std::string& clientName );
+};
+
+class MidiOutJack: public MidiOutApi
+{
+ public:
+  MidiOutJack( const std::string &clientName );
+  ~MidiOutJack( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::UNIX_JACK; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName);
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+  void sendMessage( const unsigned char *message, size_t size );
+
+ protected:
+  std::string clientName;
+
+  void connect( void );
+  void initialize( const std::string& clientName );
+};
+
+#endif
+
+#if defined(__LINUX_ALSA__)
+
+class MidiInAlsa: public MidiInApi
+{
+ public:
+  MidiInAlsa( const std::string &clientName, unsigned int queueSizeLimit );
+  ~MidiInAlsa( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::LINUX_ALSA; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName);
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+
+ protected:
+  void initialize( const std::string& clientName );
+};
+
+class MidiOutAlsa: public MidiOutApi
+{
+ public:
+  MidiOutAlsa( const std::string &clientName );
+  ~MidiOutAlsa( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::LINUX_ALSA; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName );
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+  void sendMessage( const unsigned char *message, size_t size );
+
+ protected:
+  void initialize( const std::string& clientName );
+};
+
+#endif
+
+#if defined(__WINDOWS_MM__)
+
+class MidiInWinMM: public MidiInApi
+{
+ public:
+  MidiInWinMM( const std::string &clientName, unsigned int queueSizeLimit );
+  ~MidiInWinMM( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::WINDOWS_MM; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName );
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+
+ protected:
+  void initialize( const std::string& clientName );
+};
+
+class MidiOutWinMM: public MidiOutApi
+{
+ public:
+  MidiOutWinMM( const std::string &clientName );
+  ~MidiOutWinMM( void );
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::WINDOWS_MM; };
+  void openPort( unsigned int portNumber, const std::string &portName );
+  void openVirtualPort( const std::string &portName );
+  void closePort( void );
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName );
+  unsigned int getPortCount( void );
+  std::string getPortName( unsigned int portNumber );
+  void sendMessage( const unsigned char *message, size_t size );
+
+ protected:
+  void initialize( const std::string& clientName );
+};
+
+#endif
+
+#if defined(__RTMIDI_DUMMY__)
+
+class MidiInDummy: public MidiInApi
+{
+ public:
+ MidiInDummy( const std::string &/*clientName*/, unsigned int queueSizeLimit ) : MidiInApi( queueSizeLimit ) { errorString_ = "MidiInDummy: This class provides no functionality."; error( RtMidiError::WARNING, errorString_ ); }
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::RTMIDI_DUMMY; }
+  void openPort( unsigned int /*portNumber*/, const std::string &/*portName*/ ) {}
+  void openVirtualPort( const std::string &/*portName*/ ) {}
+  void closePort( void ) {}
+  void setClientName( const std::string &/*clientName*/ ) {};
+  void setPortName( const std::string &/*portName*/ ) {};
+  unsigned int getPortCount( void ) { return 0; }
+  std::string getPortName( unsigned int /*portNumber*/ ) { return ""; }
+
+ protected:
+  void initialize( const std::string& /*clientName*/ ) {}
+};
+
+class MidiOutDummy: public MidiOutApi
+{
+ public:
+  MidiOutDummy( const std::string &/*clientName*/ ) { errorString_ = "MidiOutDummy: This class provides no functionality."; error( RtMidiError::WARNING, errorString_ ); }
+  RtMidi::Api getCurrentApi( void ) { return RtMidi::RTMIDI_DUMMY; }
+  void openPort( unsigned int /*portNumber*/, const std::string &/*portName*/ ) {}
+  void openVirtualPort( const std::string &/*portName*/ ) {}
+  void closePort( void ) {}
+  void setClientName( const std::string &/*clientName*/ ) {};
+  void setPortName( const std::string &/*portName*/ ) {};
+  unsigned int getPortCount( void ) { return 0; }
+  std::string getPortName( unsigned int /*portNumber*/ ) { return ""; }
+  void sendMessage( const unsigned char * /*message*/, size_t /*size*/ ) {}
+
+ protected:
+  void initialize( const std::string& /*clientName*/ ) {}
+};
+
+#endif
+
+//*********************************************************************//
+//  RtMidi Definitions
+//*********************************************************************//
+
+RtMidi :: RtMidi()
+  : rtapi_(0)
+{
+}
+
+RtMidi :: ~RtMidi()
+{
+  delete rtapi_;
+  rtapi_ = 0;
+}
+
+std::string RtMidi :: getVersion( void ) throw()
+{
+  return std::string( RTMIDI_VERSION );
+}
+
+// Define API names and display names.
+// Must be in same order as API enum.
+extern "C" {
+const char* rtmidi_api_names[][2] = {
+  { "unspecified" , "Unknown" },
+  { "core"        , "CoreMidi" },
+  { "alsa"        , "ALSA" },
+  { "jack"        , "Jack" },
+  { "winmm"       , "Windows MultiMedia" },
+  { "dummy"       , "Dummy" },
+};
+const unsigned int rtmidi_num_api_names =
+  sizeof(rtmidi_api_names)/sizeof(rtmidi_api_names[0]);
+
+// The order here will control the order of RtMidi's API search in
+// the constructor.
+extern "C" const RtMidi::Api rtmidi_compiled_apis[] = {
+#if defined(__MACOSX_CORE__)
+  RtMidi::MACOSX_CORE,
+#endif
+#if defined(__LINUX_ALSA__)
+  RtMidi::LINUX_ALSA,
+#endif
+#if defined(__UNIX_JACK__)
+  RtMidi::UNIX_JACK,
+#endif
+#if defined(__WINDOWS_MM__)
+  RtMidi::WINDOWS_MM,
+#endif
+#if defined(__RTMIDI_DUMMY__)
+  RtMidi::RTMIDI_DUMMY,
+#endif
+  RtMidi::UNSPECIFIED,
+};
+extern "C" const unsigned int rtmidi_num_compiled_apis =
+  sizeof(rtmidi_compiled_apis)/sizeof(rtmidi_compiled_apis[0])-1;
+}
+
+// This is a compile-time check that rtmidi_num_api_names == RtMidi::NUM_APIS.
+// If the build breaks here, check that they match.
+template<bool b> class StaticAssert { private: StaticAssert() {} };
+template<> class StaticAssert<true>{ public: StaticAssert() {} };
+class StaticAssertions { StaticAssertions() {
+  StaticAssert<rtmidi_num_api_names == RtMidi::NUM_APIS>();
+}};
+
+void RtMidi :: getCompiledApi( std::vector<RtMidi::Api> &apis ) throw()
+{
+  apis = std::vector<RtMidi::Api>(rtmidi_compiled_apis,
+                                  rtmidi_compiled_apis + rtmidi_num_compiled_apis);
+}
+
+std::string RtMidi :: getApiName( RtMidi::Api api )
+{
+  if (api < 0 || api >= RtMidi::NUM_APIS)
+    return "";
+  return rtmidi_api_names[api][0];
+}
+
+std::string RtMidi :: getApiDisplayName( RtMidi::Api api )
+{
+  if (api < 0 || api >= RtMidi::NUM_APIS)
+    return "Unknown";
+  return rtmidi_api_names[api][1];
+}
+
+RtMidi::Api RtMidi :: getCompiledApiByName( const std::string &name )
+{
+  unsigned int i=0;
+  for (i = 0; i < rtmidi_num_compiled_apis; ++i)
+    if (name == rtmidi_api_names[rtmidi_compiled_apis[i]][0])
+      return rtmidi_compiled_apis[i];
+  return RtMidi::UNSPECIFIED;
+}
+
+void RtMidi :: setClientName( const std::string &clientName )
+{
+  rtapi_->setClientName( clientName );
+}
+
+void RtMidi :: setPortName( const std::string &portName )
+{
+  rtapi_->setPortName( portName );
+}
+
+
+//*********************************************************************//
+//  RtMidiIn Definitions
+//*********************************************************************//
+
+void RtMidiIn :: openMidiApi( RtMidi::Api api, const std::string &clientName, unsigned int queueSizeLimit )
+{
+  delete rtapi_;
+  rtapi_ = 0;
+
+#if defined(__UNIX_JACK__)
+  if ( api == UNIX_JACK )
+    rtapi_ = new MidiInJack( clientName, queueSizeLimit );
+#endif
+#if defined(__LINUX_ALSA__)
+  if ( api == LINUX_ALSA )
+    rtapi_ = new MidiInAlsa( clientName, queueSizeLimit );
+#endif
+#if defined(__WINDOWS_MM__)
+  if ( api == WINDOWS_MM )
+    rtapi_ = new MidiInWinMM( clientName, queueSizeLimit );
+#endif
+#if defined(__MACOSX_CORE__)
+  if ( api == MACOSX_CORE )
+    rtapi_ = new MidiInCore( clientName, queueSizeLimit );
+#endif
+#if defined(__RTMIDI_DUMMY__)
+  if ( api == RTMIDI_DUMMY )
+    rtapi_ = new MidiInDummy( clientName, queueSizeLimit );
+#endif
+}
+
+RTMIDI_DLL_PUBLIC RtMidiIn :: RtMidiIn( RtMidi::Api api, const std::string &clientName, unsigned int queueSizeLimit )
+  : RtMidi()
+{
+  if ( api != UNSPECIFIED ) {
+    // Attempt to open the specified API.
+    openMidiApi( api, clientName, queueSizeLimit );
+    if ( rtapi_ ) return;
+
+    // No compiled support for specified API value.  Issue a warning
+    // and continue as if no API was specified.
+    std::cerr << "\nRtMidiIn: no compiled support for specified API argument!\n\n" << std::endl;
+  }
+
+  // Iterate through the compiled APIs and return as soon as we find
+  // one with at least one port or we reach the end of the list.
+  std::vector< RtMidi::Api > apis;
+  getCompiledApi( apis );
+  for ( unsigned int i=0; i<apis.size(); i++ ) {
+    openMidiApi( apis[i], clientName, queueSizeLimit );
+    if ( rtapi_ && rtapi_->getPortCount() ) break;
+  }
+
+  if ( rtapi_ ) return;
+
+  // It should not be possible to get here because the preprocessor
+  // definition __RTMIDI_DUMMY__ is automatically defined if no
+  // API-specific definitions are passed to the compiler. But just in
+  // case something weird happens, we'll throw an error.
+  std::string errorText = "RtMidiIn: no compiled API support found ... critical error!!";
+  throw( RtMidiError( errorText, RtMidiError::UNSPECIFIED ) );
+}
+
+RtMidiIn :: ~RtMidiIn() throw()
+{
+}
+
+
+//*********************************************************************//
+//  RtMidiOut Definitions
+//*********************************************************************//
+
+void RtMidiOut :: openMidiApi( RtMidi::Api api, const std::string &clientName )
+{
+  delete rtapi_;
+  rtapi_ = 0;
+
+#if defined(__UNIX_JACK__)
+  if ( api == UNIX_JACK )
+    rtapi_ = new MidiOutJack( clientName );
+#endif
+#if defined(__LINUX_ALSA__)
+  if ( api == LINUX_ALSA )
+    rtapi_ = new MidiOutAlsa( clientName );
+#endif
+#if defined(__WINDOWS_MM__)
+  if ( api == WINDOWS_MM )
+    rtapi_ = new MidiOutWinMM( clientName );
+#endif
+#if defined(__MACOSX_CORE__)
+  if ( api == MACOSX_CORE )
+    rtapi_ = new MidiOutCore( clientName );
+#endif
+#if defined(__RTMIDI_DUMMY__)
+  if ( api == RTMIDI_DUMMY )
+    rtapi_ = new MidiOutDummy( clientName );
+#endif
+}
+
+RTMIDI_DLL_PUBLIC RtMidiOut :: RtMidiOut( RtMidi::Api api, const std::string &clientName)
+{
+  if ( api != UNSPECIFIED ) {
+    // Attempt to open the specified API.
+    openMidiApi( api, clientName );
+    if ( rtapi_ ) return;
+
+    // No compiled support for specified API value.  Issue a warning
+    // and continue as if no API was specified.
+    std::cerr << "\nRtMidiOut: no compiled support for specified API argument!\n\n" << std::endl;
+  }
+
+  // Iterate through the compiled APIs and return as soon as we find
+  // one with at least one port or we reach the end of the list.
+  std::vector< RtMidi::Api > apis;
+  getCompiledApi( apis );
+  for ( unsigned int i=0; i<apis.size(); i++ ) {
+    openMidiApi( apis[i], clientName );
+    if ( rtapi_ && rtapi_->getPortCount() ) break;
+  }
+
+  if ( rtapi_ ) return;
+
+  // It should not be possible to get here because the preprocessor
+  // definition __RTMIDI_DUMMY__ is automatically defined if no
+  // API-specific definitions are passed to the compiler. But just in
+  // case something weird happens, we'll thrown an error.
+  std::string errorText = "RtMidiOut: no compiled API support found ... critical error!!";
+  throw( RtMidiError( errorText, RtMidiError::UNSPECIFIED ) );
+}
+
+RtMidiOut :: ~RtMidiOut() throw()
+{
+}
+
+//*********************************************************************//
+//  Common MidiApi Definitions
+//*********************************************************************//
+
+MidiApi :: MidiApi( void )
+  : apiData_( 0 ), connected_( false ), errorCallback_(0), firstErrorOccurred_(false), errorCallbackUserData_(0)
+{
+}
+
+MidiApi :: ~MidiApi( void )
+{
+}
+
+void MidiApi :: setErrorCallback( RtMidiErrorCallback errorCallback, void *userData = 0 )
+{
+    errorCallback_ = errorCallback;
+    errorCallbackUserData_ = userData;
+}
+
+void MidiApi :: error( RtMidiError::Type type, std::string errorString )
+{
+  if ( errorCallback_ ) {
+
+    if ( firstErrorOccurred_ )
+      return;
+
+    firstErrorOccurred_ = true;
+    const std::string errorMessage = errorString;
+
+    errorCallback_( type, errorMessage, errorCallbackUserData_ );
+    firstErrorOccurred_ = false;
+    return;
+  }
+
+  if ( type == RtMidiError::WARNING ) {
+    std::cerr << '\n' << errorString << "\n\n";
+  }
+  else if ( type == RtMidiError::DEBUG_WARNING ) {
+#if defined(__RTMIDI_DEBUG__)
+    std::cerr << '\n' << errorString << "\n\n";
+#endif
+  }
+  else {
+    std::cerr << '\n' << errorString << "\n\n";
+    throw RtMidiError( errorString, type );
+  }
+}
+
+//*********************************************************************//
+//  Common MidiInApi Definitions
+//*********************************************************************//
+
+MidiInApi :: MidiInApi( unsigned int queueSizeLimit )
+  : MidiApi()
+{
+  // Allocate the MIDI queue.
+  inputData_.queue.ringSize = queueSizeLimit;
+  if ( inputData_.queue.ringSize > 0 )
+    inputData_.queue.ring = new MidiMessage[ inputData_.queue.ringSize ];
+}
+
+MidiInApi :: ~MidiInApi( void )
+{
+  // Delete the MIDI queue.
+  if ( inputData_.queue.ringSize > 0 ) delete [] inputData_.queue.ring;
+}
+
+void MidiInApi :: setCallback( RtMidiIn::RtMidiCallback callback, void *userData )
+{
+  if ( inputData_.usingCallback ) {
+    errorString_ = "MidiInApi::setCallback: a callback function is already set!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  if ( !callback ) {
+    errorString_ = "RtMidiIn::setCallback: callback function value is invalid!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  inputData_.userCallback = callback;
+  inputData_.userData = userData;
+  inputData_.usingCallback = true;
+}
+
+void MidiInApi :: cancelCallback()
+{
+  if ( !inputData_.usingCallback ) {
+    errorString_ = "RtMidiIn::cancelCallback: no callback function was set!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  inputData_.userCallback = 0;
+  inputData_.userData = 0;
+  inputData_.usingCallback = false;
+}
+
+void MidiInApi :: ignoreTypes( bool midiSysex, bool midiTime, bool midiSense )
+{
+  inputData_.ignoreFlags = 0;
+  if ( midiSysex ) inputData_.ignoreFlags = 0x01;
+  if ( midiTime ) inputData_.ignoreFlags |= 0x02;
+  if ( midiSense ) inputData_.ignoreFlags |= 0x04;
+}
+
+double MidiInApi :: getMessage( std::vector<unsigned char> *message )
+{
+  message->clear();
+
+  if ( inputData_.usingCallback ) {
+    errorString_ = "RtMidiIn::getNextMessage: a user callback is currently set for this port.";
+    error( RtMidiError::WARNING, errorString_ );
+    return 0.0;
+  }
+
+  double timeStamp;
+  if ( !inputData_.queue.pop( message, &timeStamp ) )
+    return 0.0;
+
+  return timeStamp;
+}
+
+unsigned int MidiInApi::MidiQueue::size( unsigned int *__back,
+                                         unsigned int *__front )
+{
+  // Access back/front members exactly once and make stack copies for
+  // size calculation
+  unsigned int _back = back, _front = front, _size;
+  if ( _back >= _front )
+    _size = _back - _front;
+  else
+    _size = ringSize - _front + _back;
+
+  // Return copies of back/front so no new and unsynchronized accesses
+  // to member variables are needed.
+  if ( __back ) *__back = _back;
+  if ( __front ) *__front = _front;
+  return _size;
+}
+
+// As long as we haven't reached our queue size limit, push the message.
+bool MidiInApi::MidiQueue::push( const MidiInApi::MidiMessage& msg )
+{
+  // Local stack copies of front/back
+  unsigned int _back, _front, _size;
+
+  // Get back/front indexes exactly once and calculate current size
+  _size = size( &_back, &_front );
+
+  if ( _size < ringSize-1 )
+  {
+    ring[_back] = msg;
+    back = (back+1)%ringSize;
+    return true;
+  }
+
+  return false;
+}
+
+bool MidiInApi::MidiQueue::pop( std::vector<unsigned char> *msg, double* timeStamp )
+{
+  // Local stack copies of front/back
+  unsigned int _back, _front, _size;
+
+  // Get back/front indexes exactly once and calculate current size
+  _size = size( &_back, &_front );
+
+  if ( _size == 0 )
+    return false;
+
+  // Copy queued message to the vector pointer argument and then "pop" it.
+  msg->assign( ring[_front].bytes.begin(), ring[_front].bytes.end() );
+  *timeStamp = ring[_front].timeStamp;
+
+  // Update front
+  front = (front+1)%ringSize;
+  return true;
+}
+
+//*********************************************************************//
+//  Common MidiOutApi Definitions
+//*********************************************************************//
+
+MidiOutApi :: MidiOutApi( void )
+  : MidiApi()
+{
+}
+
+MidiOutApi :: ~MidiOutApi( void )
+{
+}
+
+// *************************************************** //
+//
+// OS/API-specific methods.
+//
+// *************************************************** //
+
+#if defined(__MACOSX_CORE__)
+
+// The CoreMIDI API is based on the use of a callback function for
+// MIDI input.  We convert the system specific time stamps to delta
+// time values.
+
+// OS-X CoreMIDI header files.
+#include <CoreMIDI/CoreMIDI.h>
+#include <CoreAudio/HostTime.h>
+#include <CoreServices/CoreServices.h>
+
+// A structure to hold variables related to the CoreMIDI API
+// implementation.
+struct CoreMidiData {
+  MIDIClientRef client;
+  MIDIPortRef port;
+  MIDIEndpointRef endpoint;
+  MIDIEndpointRef destinationId;
+  unsigned long long lastTime;
+  MIDISysexSendRequest sysexreq;
+};
+
+//*********************************************************************//
+//  API: OS-X
+//  Class Definitions: MidiInCore
+//*********************************************************************//
+
+static void midiInputCallback( const MIDIPacketList *list, void *procRef, void */*srcRef*/ )
+{
+  MidiInApi::RtMidiInData *data = static_cast<MidiInApi::RtMidiInData *> (procRef);
+  CoreMidiData *apiData = static_cast<CoreMidiData *> (data->apiData);
+
+  unsigned char status;
+  unsigned short nBytes, iByte, size;
+  unsigned long long time;
+
+  bool& continueSysex = data->continueSysex;
+  MidiInApi::MidiMessage& message = data->message;
+
+  const MIDIPacket *packet = &list->packet[0];
+  for ( unsigned int i=0; i<list->numPackets; ++i ) {
+
+    // My interpretation of the CoreMIDI documentation: all message
+    // types, except sysex, are complete within a packet and there may
+    // be several of them in a single packet.  Sysex messages can be
+    // broken across multiple packets and PacketLists but are bundled
+    // alone within each packet (these packets do not contain other
+    // message types).  If sysex messages are split across multiple
+    // MIDIPacketLists, they must be handled by multiple calls to this
+    // function.
+
+    nBytes = packet->length;
+    if ( nBytes == 0 ) {
+      packet = MIDIPacketNext( packet );
+      continue;
+    }
+
+    // Calculate time stamp.
+    if ( data->firstMessage ) {
+      message.timeStamp = 0.0;
+      data->firstMessage = false;
+    }
+    else {
+      time = packet->timeStamp;
+      if ( time == 0 ) { // this happens when receiving asynchronous sysex messages
+        time = AudioGetCurrentHostTime();
+      }
+      time -= apiData->lastTime;
+      time = AudioConvertHostTimeToNanos( time );
+      if ( !continueSysex )
+        message.timeStamp = time * 0.000000001;
+    }
+
+    // Track whether any non-filtered messages were found in this
+    // packet for timestamp calculation
+    bool foundNonFiltered = false;
+
+    iByte = 0;
+    if ( continueSysex ) {
+      // We have a continuing, segmented sysex message.
+      if ( !( data->ignoreFlags & 0x01 ) ) {
+        // If we're not ignoring sysex messages, copy the entire packet.
+        for ( unsigned int j=0; j<nBytes; ++j )
+          message.bytes.push_back( packet->data[j] );
+      }
+      continueSysex = packet->data[nBytes-1] != 0xF7;
+
+      if ( !( data->ignoreFlags & 0x01 ) && !continueSysex ) {
+        // If not a continuing sysex message, invoke the user callback function or queue the message.
+        if ( data->usingCallback ) {
+          RtMidiIn::RtMidiCallback callback = (RtMidiIn::RtMidiCallback) data->userCallback;
+          callback( message.timeStamp, &message.bytes, data->userData );
+        }
+        else {
+          // As long as we haven't reached our queue size limit, push the message.
+          if ( !data->queue.push( message ) )
+            std::cerr << "\nMidiInCore: message queue limit reached!!\n\n";
+        }
+        message.bytes.clear();
+      }
+    }
+    else {
+      while ( iByte < nBytes ) {
+        size = 0;
+        // We are expecting that the next byte in the packet is a status byte.
+        status = packet->data[iByte];
+        if ( !(status & 0x80) ) break;
+        // Determine the number of bytes in the MIDI message.
+        if ( status < 0xC0 ) size = 3;
+        else if ( status < 0xE0 ) size = 2;
+        else if ( status < 0xF0 ) size = 3;
+        else if ( status == 0xF0 ) {
+          // A MIDI sysex
+          if ( data->ignoreFlags & 0x01 ) {
+            size = 0;
+            iByte = nBytes;
+          }
+          else size = nBytes - iByte;
+          continueSysex = packet->data[nBytes-1] != 0xF7;
+        }
+        else if ( status == 0xF1 ) {
+          // A MIDI time code message
+          if ( data->ignoreFlags & 0x02 ) {
+            size = 0;
+            iByte += 2;
+          }
+          else size = 2;
+        }
+        else if ( status == 0xF2 ) size = 3;
+        else if ( status == 0xF3 ) size = 2;
+        else if ( status == 0xF8 && ( data->ignoreFlags & 0x02 ) ) {
+          // A MIDI timing tick message and we're ignoring it.
+          size = 0;
+          iByte += 1;
+        }
+        else if ( status == 0xFE && ( data->ignoreFlags & 0x04 ) ) {
+          // A MIDI active sensing message and we're ignoring it.
+          size = 0;
+          iByte += 1;
+        }
+        else size = 1;
+
+        // Copy the MIDI data to our vector.
+        if ( size ) {
+          foundNonFiltered = true;
+          message.bytes.assign( &packet->data[iByte], &packet->data[iByte+size] );
+          if ( !continueSysex ) {
+            // If not a continuing sysex message, invoke the user callback function or queue the message.
+            if ( data->usingCallback ) {
+              RtMidiIn::RtMidiCallback callback = (RtMidiIn::RtMidiCallback) data->userCallback;
+              callback( message.timeStamp, &message.bytes, data->userData );
+            }
+            else {
+              // As long as we haven't reached our queue size limit, push the message.
+              if ( !data->queue.push( message ) )
+                std::cerr << "\nMidiInCore: message queue limit reached!!\n\n";
+            }
+            message.bytes.clear();
+          }
+          iByte += size;
+        }
+      }
+    }
+
+    // Save the time of the last non-filtered message
+    if ( foundNonFiltered ) {
+      apiData->lastTime = packet->timeStamp;
+      if ( apiData->lastTime == 0 ) { // this happens when receiving asynchronous sysex messages
+        apiData->lastTime = AudioGetCurrentHostTime();
+      }
+    }
+
+    packet = MIDIPacketNext(packet);
+  }
+}
+
+MidiInCore :: MidiInCore( const std::string &clientName, unsigned int queueSizeLimit )
+  : MidiInApi( queueSizeLimit )
+{
+  MidiInCore::initialize( clientName );
+}
+
+MidiInCore :: ~MidiInCore( void )
+{
+  // Close a connection if it exists.
+  MidiInCore::closePort();
+
+  // Cleanup.
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+  MIDIClientDispose( data->client );
+  if ( data->endpoint ) MIDIEndpointDispose( data->endpoint );
+  delete data;
+}
+
+void MidiInCore :: initialize( const std::string& clientName )
+{
+  // Set up our client.
+  MIDIClientRef client;
+  CFStringRef name = CFStringCreateWithCString( NULL, clientName.c_str(), kCFStringEncodingASCII );
+  OSStatus result = MIDIClientCreate(name, NULL, NULL, &client );
+  if ( result != noErr ) {
+    std::ostringstream ost;
+    ost << "MidiInCore::initialize: error creating OS-X MIDI client object (" << result << ").";
+    errorString_ = ost.str();
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Save our api-specific connection information.
+  CoreMidiData *data = (CoreMidiData *) new CoreMidiData;
+  data->client = client;
+  data->endpoint = 0;
+  apiData_ = (void *) data;
+  inputData_.apiData = (void *) data;
+  CFRelease( name );
+}
+
+void MidiInCore :: openPort( unsigned int portNumber, const std::string &portName )
+{
+  if ( connected_ ) {
+    errorString_ = "MidiInCore::openPort: a valid connection already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  CFRunLoopRunInMode( kCFRunLoopDefaultMode, 0, false );
+  unsigned int nSrc = MIDIGetNumberOfSources();
+  if ( nSrc < 1 ) {
+    errorString_ = "MidiInCore::openPort: no MIDI input sources found!";
+    error( RtMidiError::NO_DEVICES_FOUND, errorString_ );
+    return;
+  }
+
+  if ( portNumber >= nSrc ) {
+    std::ostringstream ost;
+    ost << "MidiInCore::openPort: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::INVALID_PARAMETER, errorString_ );
+    return;
+  }
+
+  MIDIPortRef port;
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+  CFStringRef portNameRef = CFStringCreateWithCString( NULL, portName.c_str(), kCFStringEncodingASCII );
+  OSStatus result = MIDIInputPortCreate( data->client,
+                                         portNameRef,
+                                         midiInputCallback, (void *)&inputData_, &port );
+  CFRelease( portNameRef );
+
+  if ( result != noErr ) {
+    MIDIClientDispose( data->client );
+    errorString_ = "MidiInCore::openPort: error creating OS-X MIDI input port.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Get the desired input source identifier.
+  MIDIEndpointRef endpoint = MIDIGetSource( portNumber );
+  if ( endpoint == 0 ) {
+    MIDIPortDispose( port );
+    MIDIClientDispose( data->client );
+    errorString_ = "MidiInCore::openPort: error getting MIDI input source reference.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Make the connection.
+  result = MIDIPortConnectSource( port, endpoint, NULL );
+  if ( result != noErr ) {
+    MIDIPortDispose( port );
+    MIDIClientDispose( data->client );
+    errorString_ = "MidiInCore::openPort: error connecting OS-X MIDI input port.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Save our api-specific port information.
+  data->port = port;
+
+  connected_ = true;
+}
+
+void MidiInCore :: openVirtualPort( const std::string &portName )
+{
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+
+  // Create a virtual MIDI input destination.
+  MIDIEndpointRef endpoint;
+  CFStringRef portNameRef = CFStringCreateWithCString( NULL, portName.c_str(), kCFStringEncodingASCII );
+  OSStatus result = MIDIDestinationCreate( data->client,
+                                           portNameRef,
+                                           midiInputCallback, (void *)&inputData_, &endpoint );
+  CFRelease( portNameRef );
+
+  if ( result != noErr ) {
+    errorString_ = "MidiInCore::openVirtualPort: error creating virtual OS-X MIDI destination.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Save our api-specific connection information.
+  data->endpoint = endpoint;
+}
+
+void MidiInCore :: closePort( void )
+{
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+
+  if ( data->endpoint ) {
+    MIDIEndpointDispose( data->endpoint );
+    data->endpoint = 0;
+  }
+
+  if ( data->port ) {
+    MIDIPortDispose( data->port );
+    data->port = 0;
+  }
+
+  connected_ = false;
+}
+
+void MidiInCore :: setClientName ( const std::string& )
+{
+
+  errorString_ = "MidiInCore::setClientName: this function is not implemented for the MACOSX_CORE API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiInCore :: setPortName ( const std::string& )
+{
+
+  errorString_ = "MidiInCore::setPortName: this function is not implemented for the MACOSX_CORE API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+unsigned int MidiInCore :: getPortCount()
+{
+  CFRunLoopRunInMode( kCFRunLoopDefaultMode, 0, false );
+  return MIDIGetNumberOfSources();
+}
+
+// This function was submitted by Douglas Casey Tucker and apparently
+// derived largely from PortMidi.
+CFStringRef EndpointName( MIDIEndpointRef endpoint, bool isExternal )
+{
+  CFMutableStringRef result = CFStringCreateMutable( NULL, 0 );
+  CFStringRef str;
+
+  // Begin with the endpoint's name.
+  str = NULL;
+  MIDIObjectGetStringProperty( endpoint, kMIDIPropertyName, &str );
+  if ( str != NULL ) {
+    CFStringAppend( result, str );
+    CFRelease( str );
+  }
+
+  MIDIEntityRef entity = 0;
+  MIDIEndpointGetEntity( endpoint, &entity );
+  if ( entity == 0 )
+    // probably virtual
+    return result;
+
+  if ( CFStringGetLength( result ) == 0 ) {
+    // endpoint name has zero length -- try the entity
+    str = NULL;
+    MIDIObjectGetStringProperty( entity, kMIDIPropertyName, &str );
+    if ( str != NULL ) {
+      CFStringAppend( result, str );
+      CFRelease( str );
+    }
+  }
+  // now consider the device's name
+  MIDIDeviceRef device = 0;
+  MIDIEntityGetDevice( entity, &device );
+  if ( device == 0 )
+    return result;
+
+  str = NULL;
+  MIDIObjectGetStringProperty( device, kMIDIPropertyName, &str );
+  if ( CFStringGetLength( result ) == 0 ) {
+      CFRelease( result );
+      return str;
+  }
+  if ( str != NULL ) {
+    // if an external device has only one entity, throw away
+    // the endpoint name and just use the device name
+    if ( isExternal && MIDIDeviceGetNumberOfEntities( device ) < 2 ) {
+      CFRelease( result );
+      return str;
+    } else {
+      if ( CFStringGetLength( str ) == 0 ) {
+        CFRelease( str );
+        return result;
+      }
+      // does the entity name already start with the device name?
+      // (some drivers do this though they shouldn't)
+      // if so, do not prepend
+      if ( CFStringCompareWithOptions( result, /* endpoint name */
+                                       str /* device name */,
+                                       CFRangeMake(0, CFStringGetLength( str ) ), 0 ) != kCFCompareEqualTo ) {
+        // prepend the device name to the entity name
+        if ( CFStringGetLength( result ) > 0 )
+          CFStringInsert( result, 0, CFSTR(" ") );
+
+        CFStringInsert( result, 0, str );
+      }
+      CFRelease( str );
+    }
+  }
+  return result;
+}
+
+// This function was submitted by Douglas Casey Tucker and apparently
+// derived largely from PortMidi.
+static CFStringRef ConnectedEndpointName( MIDIEndpointRef endpoint )
+{
+  CFMutableStringRef result = CFStringCreateMutable( NULL, 0 );
+  CFStringRef str;
+  OSStatus err;
+  int i;
+
+  // Does the endpoint have connections?
+  CFDataRef connections = NULL;
+  int nConnected = 0;
+  bool anyStrings = false;
+  err = MIDIObjectGetDataProperty( endpoint, kMIDIPropertyConnectionUniqueID, &connections );
+  if ( connections != NULL ) {
+    // It has connections, follow them
+    // Concatenate the names of all connected devices
+    nConnected = CFDataGetLength( connections ) / sizeof(MIDIUniqueID);
+    if ( nConnected ) {
+      const SInt32 *pid = (const SInt32 *)(CFDataGetBytePtr(connections));
+      for ( i=0; i<nConnected; ++i, ++pid ) {
+        MIDIUniqueID id = EndianS32_BtoN( *pid );
+        MIDIObjectRef connObject;
+        MIDIObjectType connObjectType;
+        err = MIDIObjectFindByUniqueID( id, &connObject, &connObjectType );
+        if ( err == noErr ) {
+          if ( connObjectType == kMIDIObjectType_ExternalSource  ||
+               connObjectType == kMIDIObjectType_ExternalDestination ) {
+            // Connected to an external device's endpoint (10.3 and later).
+            str = EndpointName( (MIDIEndpointRef)(connObject), true );
+          } else {
+            // Connected to an external device (10.2) (or something else, catch-
+            str = NULL;
+            MIDIObjectGetStringProperty( connObject, kMIDIPropertyName, &str );
+          }
+          if ( str != NULL ) {
+            if ( anyStrings )
+              CFStringAppend( result, CFSTR(", ") );
+            else
+              anyStrings = true;
+            CFStringAppend( result, str );
+            CFRelease( str );
+          }
+        }
+      }
+    }
+    CFRelease( connections );
+  }
+  if ( anyStrings )
+    return result;
+
+  CFRelease( result );
+
+  // Here, either the endpoint had no connections, or we failed to obtain names
+  return EndpointName( endpoint, false );
+}
+
+std::string MidiInCore :: getPortName( unsigned int portNumber )
+{
+  CFStringRef nameRef;
+  MIDIEndpointRef portRef;
+  char name[128];
+
+  std::string stringName;
+  CFRunLoopRunInMode( kCFRunLoopDefaultMode, 0, false );
+  if ( portNumber >= MIDIGetNumberOfSources() ) {
+    std::ostringstream ost;
+    ost << "MidiInCore::getPortName: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::WARNING, errorString_ );
+    return stringName;
+  }
+
+  portRef = MIDIGetSource( portNumber );
+  nameRef = ConnectedEndpointName( portRef );
+  CFStringGetCString( nameRef, name, sizeof(name), kCFStringEncodingUTF8 );
+  CFRelease( nameRef );
+
+  return stringName = name;
+}
+
+//*********************************************************************//
+//  API: OS-X
+//  Class Definitions: MidiOutCore
+//*********************************************************************//
+
+MidiOutCore :: MidiOutCore( const std::string &clientName )
+  : MidiOutApi()
+{
+  MidiOutCore::initialize( clientName );
+}
+
+MidiOutCore :: ~MidiOutCore( void )
+{
+  // Close a connection if it exists.
+  MidiOutCore::closePort();
+
+  // Cleanup.
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+  MIDIClientDispose( data->client );
+  if ( data->endpoint ) MIDIEndpointDispose( data->endpoint );
+  delete data;
+}
+
+void MidiOutCore :: initialize( const std::string& clientName )
+{
+  // Set up our client.
+  MIDIClientRef client;
+  CFStringRef name = CFStringCreateWithCString( NULL, clientName.c_str(), kCFStringEncodingASCII );
+  OSStatus result = MIDIClientCreate(name, NULL, NULL, &client );
+  if ( result != noErr ) {
+    std::ostringstream ost;
+    ost << "MidiInCore::initialize: error creating OS-X MIDI client object (" << result << ").";
+    errorString_ = ost.str();
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Save our api-specific connection information.
+  CoreMidiData *data = (CoreMidiData *) new CoreMidiData;
+  data->client = client;
+  data->endpoint = 0;
+  apiData_ = (void *) data;
+  CFRelease( name );
+}
+
+unsigned int MidiOutCore :: getPortCount()
+{
+  CFRunLoopRunInMode( kCFRunLoopDefaultMode, 0, false );
+  return MIDIGetNumberOfDestinations();
+}
+
+std::string MidiOutCore :: getPortName( unsigned int portNumber )
+{
+  CFStringRef nameRef;
+  MIDIEndpointRef portRef;
+  char name[128];
+
+  std::string stringName;
+  CFRunLoopRunInMode( kCFRunLoopDefaultMode, 0, false );
+  if ( portNumber >= MIDIGetNumberOfDestinations() ) {
+    std::ostringstream ost;
+    ost << "MidiOutCore::getPortName: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::WARNING, errorString_ );
+    return stringName;
+  }
+
+  portRef = MIDIGetDestination( portNumber );
+  nameRef = ConnectedEndpointName(portRef);
+  CFStringGetCString( nameRef, name, sizeof(name), kCFStringEncodingUTF8 );
+  CFRelease( nameRef );
+
+  return stringName = name;
+}
+
+void MidiOutCore :: openPort( unsigned int portNumber, const std::string &portName )
+{
+  if ( connected_ ) {
+    errorString_ = "MidiOutCore::openPort: a valid connection already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  CFRunLoopRunInMode( kCFRunLoopDefaultMode, 0, false );
+  unsigned int nDest = MIDIGetNumberOfDestinations();
+  if (nDest < 1) {
+    errorString_ = "MidiOutCore::openPort: no MIDI output destinations found!";
+    error( RtMidiError::NO_DEVICES_FOUND, errorString_ );
+    return;
+  }
+
+  if ( portNumber >= nDest ) {
+    std::ostringstream ost;
+    ost << "MidiOutCore::openPort: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::INVALID_PARAMETER, errorString_ );
+    return;
+  }
+
+  MIDIPortRef port;
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+  CFStringRef portNameRef = CFStringCreateWithCString( NULL, portName.c_str(), kCFStringEncodingASCII );
+  OSStatus result = MIDIOutputPortCreate( data->client, portNameRef, &port );
+  CFRelease( portNameRef );
+  if ( result != noErr ) {
+    MIDIClientDispose( data->client );
+    errorString_ = "MidiOutCore::openPort: error creating OS-X MIDI output port.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Get the desired output port identifier.
+  MIDIEndpointRef destination = MIDIGetDestination( portNumber );
+  if ( destination == 0 ) {
+    MIDIPortDispose( port );
+    MIDIClientDispose( data->client );
+    errorString_ = "MidiOutCore::openPort: error getting MIDI output destination reference.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Save our api-specific connection information.
+  data->port = port;
+  data->destinationId = destination;
+  connected_ = true;
+}
+
+void MidiOutCore :: closePort( void )
+{
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+
+  if ( data->endpoint ) {
+    MIDIEndpointDispose( data->endpoint );
+    data->endpoint = 0;
+  }
+
+  if ( data->port ) {
+    MIDIPortDispose( data->port );
+    data->port = 0;
+  }
+
+  connected_ = false;
+}
+
+void MidiOutCore :: setClientName ( const std::string& )
+{
+
+  errorString_ = "MidiOutCore::setClientName: this function is not implemented for the MACOSX_CORE API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiOutCore :: setPortName ( const std::string& )
+{
+
+  errorString_ = "MidiOutCore::setPortName: this function is not implemented for the MACOSX_CORE API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiOutCore :: openVirtualPort( const std::string &portName )
+{
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+
+  if ( data->endpoint ) {
+    errorString_ = "MidiOutCore::openVirtualPort: a virtual output port already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  // Create a virtual MIDI output source.
+  MIDIEndpointRef endpoint;
+  CFStringRef portNameRef = CFStringCreateWithCString( NULL, portName.c_str(), kCFStringEncodingASCII );
+  OSStatus result = MIDISourceCreate( data->client, portNameRef, &endpoint );
+  CFRelease( portNameRef );
+
+  if ( result != noErr ) {
+    errorString_ = "MidiOutCore::initialize: error creating OS-X virtual MIDI source.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Save our api-specific connection information.
+  data->endpoint = endpoint;
+}
+
+void MidiOutCore :: sendMessage( const unsigned char *message, size_t size )
+{
+  // We use the MIDISendSysex() function to asynchronously send sysex
+  // messages.  Otherwise, we use a single CoreMidi MIDIPacket.
+  unsigned int nBytes = static_cast<unsigned int> (size);
+  if ( nBytes == 0 ) {
+    errorString_ = "MidiOutCore::sendMessage: no data in message argument!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  MIDITimeStamp timeStamp = AudioGetCurrentHostTime();
+  CoreMidiData *data = static_cast<CoreMidiData *> (apiData_);
+  OSStatus result;
+
+  if ( message[0] != 0xF0 && nBytes > 3 ) {
+    errorString_ = "MidiOutCore::sendMessage: message format problem ... not sysex but > 3 bytes?";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  Byte buffer[nBytes+(sizeof( MIDIPacketList ))];
+  ByteCount listSize = sizeof( buffer );
+  MIDIPacketList *packetList = (MIDIPacketList*)buffer;
+  MIDIPacket *packet = MIDIPacketListInit( packetList );
+
+  ByteCount remainingBytes = nBytes;
+  while ( remainingBytes && packet ) {
+    ByteCount bytesForPacket = remainingBytes > 65535 ? 65535 : remainingBytes; // 65535 = maximum size of a MIDIPacket
+    const Byte* dataStartPtr = (const Byte *) &message[nBytes - remainingBytes];
+    packet = MIDIPacketListAdd( packetList, listSize, packet, timeStamp, bytesForPacket, dataStartPtr );
+    remainingBytes -= bytesForPacket;
+  }
+
+  if ( !packet ) {
+    errorString_ = "MidiOutCore::sendMessage: could not allocate packet list";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Send to any destinations that may have connected to us.
+  if ( data->endpoint ) {
+    result = MIDIReceived( data->endpoint, packetList );
+    if ( result != noErr ) {
+      errorString_ = "MidiOutCore::sendMessage: error sending MIDI to virtual destinations.";
+      error( RtMidiError::WARNING, errorString_ );
+    }
+  }
+
+  // And send to an explicit destination port if we're connected.
+  if ( connected_ ) {
+    result = MIDISend( data->port, data->destinationId, packetList );
+    if ( result != noErr ) {
+      errorString_ = "MidiOutCore::sendMessage: error sending MIDI message to port.";
+      error( RtMidiError::WARNING, errorString_ );
+    }
+  }
+}
+
+#endif  // __MACOSX_CORE__
+
+
+//*********************************************************************//
+//  API: LINUX ALSA SEQUENCER
+//*********************************************************************//
+
+// API information found at:
+//   - http://www.alsa-project.org/documentation.php#Library
+
+#if defined(__LINUX_ALSA__)
+
+// The ALSA Sequencer API is based on the use of a callback function for
+// MIDI input.
+//
+// Thanks to Pedro Lopez-Cabanillas for help with the ALSA sequencer
+// time stamps and other assorted fixes!!!
+
+// If you don't need timestamping for incoming MIDI events, define the
+// preprocessor definition AVOID_TIMESTAMPING to save resources
+// associated with the ALSA sequencer queues.
+
+#include <pthread.h>
+#include <sys/time.h>
+
+// ALSA header file.
+#include <alsa/asoundlib.h>
+
+// A structure to hold variables related to the ALSA API
+// implementation.
+struct AlsaMidiData {
+  snd_seq_t *seq;
+  unsigned int portNum;
+  int vport;
+  snd_seq_port_subscribe_t *subscription;
+  snd_midi_event_t *coder;
+  unsigned int bufferSize;
+  unsigned char *buffer;
+  pthread_t thread;
+  pthread_t dummy_thread_id;
+  snd_seq_real_time_t lastTime;
+  int queue_id; // an input queue is needed to get timestamped events
+  int trigger_fds[2];
+};
+
+#define PORT_TYPE( pinfo, bits ) ((snd_seq_port_info_get_capability(pinfo) & (bits)) == (bits))
+
+//*********************************************************************//
+//  API: LINUX ALSA
+//  Class Definitions: MidiInAlsa
+//*********************************************************************//
+
+static void *alsaMidiHandler( void *ptr )
+{
+  MidiInApi::RtMidiInData *data = static_cast<MidiInApi::RtMidiInData *> (ptr);
+  AlsaMidiData *apiData = static_cast<AlsaMidiData *> (data->apiData);
+
+  long nBytes;
+  double time;
+  bool continueSysex = false;
+  bool doDecode = false;
+  MidiInApi::MidiMessage message;
+  int poll_fd_count;
+  struct pollfd *poll_fds;
+
+  snd_seq_event_t *ev;
+  int result;
+  apiData->bufferSize = 32;
+  result = snd_midi_event_new( 0, &apiData->coder );
+  if ( result < 0 ) {
+    data->doInput = false;
+    std::cerr << "\nMidiInAlsa::alsaMidiHandler: error initializing MIDI event parser!\n\n";
+    return 0;
+  }
+  unsigned char *buffer = (unsigned char *) malloc( apiData->bufferSize );
+  if ( buffer == NULL ) {
+    data->doInput = false;
+    snd_midi_event_free( apiData->coder );
+    apiData->coder = 0;
+    std::cerr << "\nMidiInAlsa::alsaMidiHandler: error initializing buffer memory!\n\n";
+    return 0;
+  }
+  snd_midi_event_init( apiData->coder );
+  snd_midi_event_no_status( apiData->coder, 1 ); // suppress running status messages
+
+  poll_fd_count = snd_seq_poll_descriptors_count( apiData->seq, POLLIN ) + 1;
+  poll_fds = (struct pollfd*)alloca( poll_fd_count * sizeof( struct pollfd ));
+  snd_seq_poll_descriptors( apiData->seq, poll_fds + 1, poll_fd_count - 1, POLLIN );
+  poll_fds[0].fd = apiData->trigger_fds[0];
+  poll_fds[0].events = POLLIN;
+
+  while ( data->doInput ) {
+
+    if ( snd_seq_event_input_pending( apiData->seq, 1 ) == 0 ) {
+      // No data pending
+      if ( poll( poll_fds, poll_fd_count, -1) >= 0 ) {
+        if ( poll_fds[0].revents & POLLIN ) {
+          bool dummy;
+          int res = read( poll_fds[0].fd, &dummy, sizeof(dummy) );
+          (void) res;
+        }
+      }
+      continue;
+    }
+
+    // If here, there should be data.
+    result = snd_seq_event_input( apiData->seq, &ev );
+    if ( result == -ENOSPC ) {
+      std::cerr << "\nMidiInAlsa::alsaMidiHandler: MIDI input buffer overrun!\n\n";
+      continue;
+    }
+    else if ( result <= 0 ) {
+      std::cerr << "\nMidiInAlsa::alsaMidiHandler: unknown MIDI input error!\n";
+      perror("System reports");
+      continue;
+    }
+
+    // This is a bit weird, but we now have to decode an ALSA MIDI
+    // event (back) into MIDI bytes.  We'll ignore non-MIDI types.
+    if ( !continueSysex ) message.bytes.clear();
+
+    doDecode = false;
+    switch ( ev->type ) {
+
+    case SND_SEQ_EVENT_PORT_SUBSCRIBED:
+#if defined(__RTMIDI_DEBUG__)
+      std::cout << "MidiInAlsa::alsaMidiHandler: port connection made!\n";
+#endif
+      break;
+
+    case SND_SEQ_EVENT_PORT_UNSUBSCRIBED:
+#if defined(__RTMIDI_DEBUG__)
+      std::cerr << "MidiInAlsa::alsaMidiHandler: port connection has closed!\n";
+      std::cout << "sender = " << (int) ev->data.connect.sender.client << ":"
+                << (int) ev->data.connect.sender.port
+                << ", dest = " << (int) ev->data.connect.dest.client << ":"
+                << (int) ev->data.connect.dest.port
+                << std::endl;
+#endif
+      break;
+
+    case SND_SEQ_EVENT_QFRAME: // MIDI time code
+      if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
+      break;
+
+    case SND_SEQ_EVENT_TICK: // 0xF9 ... MIDI timing tick
+      if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
+      break;
+
+    case SND_SEQ_EVENT_CLOCK: // 0xF8 ... MIDI timing (clock) tick
+      if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
+      break;
+
+    case SND_SEQ_EVENT_SENSING: // Active sensing
+      if ( !( data->ignoreFlags & 0x04 ) ) doDecode = true;
+      break;
+
+    case SND_SEQ_EVENT_SYSEX:
+      if ( (data->ignoreFlags & 0x01) ) break;
+      if ( ev->data.ext.len > apiData->bufferSize ) {
+        apiData->bufferSize = ev->data.ext.len;
+        free( buffer );
+        buffer = (unsigned char *) malloc( apiData->bufferSize );
+        if ( buffer == NULL ) {
+          data->doInput = false;
+          std::cerr << "\nMidiInAlsa::alsaMidiHandler: error resizing buffer memory!\n\n";
+          break;
+        }
+      }
+      doDecode = true;
+      break;
+
+    default:
+      doDecode = true;
+    }
+
+    if ( doDecode ) {
+
+      nBytes = snd_midi_event_decode( apiData->coder, buffer, apiData->bufferSize, ev );
+      if ( nBytes > 0 ) {
+        // The ALSA sequencer has a maximum buffer size for MIDI sysex
+        // events of 256 bytes.  If a device sends sysex messages larger
+        // than this, they are segmented into 256 byte chunks.  So,
+        // we'll watch for this and concatenate sysex chunks into a
+        // single sysex message if necessary.
+        if ( !continueSysex )
+          message.bytes.assign( buffer, &buffer[nBytes] );
+        else
+          message.bytes.insert( message.bytes.end(), buffer, &buffer[nBytes] );
+
+        continueSysex = ( ( ev->type == SND_SEQ_EVENT_SYSEX ) && ( message.bytes.back() != 0xF7 ) );
+        if ( !continueSysex ) {
+
+          // Calculate the time stamp:
+          message.timeStamp = 0.0;
+
+          // Method 1: Use the system time.
+          //(void)gettimeofday(&tv, (struct timezone *)NULL);
+          //time = (tv.tv_sec * 1000000) + tv.tv_usec;
+
+          // Method 2: Use the ALSA sequencer event time data.
+          // (thanks to Pedro Lopez-Cabanillas!).
+
+          // Using method from:
+          // https://www.gnu.org/software/libc/manual/html_node/Elapsed-Time.html
+
+          // Perform the carry for the later subtraction by updating y.
+          // Temp var y is timespec because computation requires signed types,
+          // while snd_seq_real_time_t has unsigned types.
+          snd_seq_real_time_t &x( ev->time.time );
+          struct timespec y;
+          y.tv_nsec = apiData->lastTime.tv_nsec;
+          y.tv_sec = apiData->lastTime.tv_sec;
+          if ( x.tv_nsec < y.tv_nsec ) {
+              int nsec = (y.tv_nsec - (int)x.tv_nsec) / 1000000000 + 1;
+              y.tv_nsec -= 1000000000 * nsec;
+              y.tv_sec += nsec;
+          }
+          if ( x.tv_nsec - y.tv_nsec > 1000000000 ) {
+              int nsec = ((int)x.tv_nsec - y.tv_nsec) / 1000000000;
+              y.tv_nsec += 1000000000 * nsec;
+              y.tv_sec -= nsec;
+          }
+
+          // Compute the time difference.
+          time = (int)x.tv_sec - y.tv_sec + ((int)x.tv_nsec - y.tv_nsec)*1e-9;
+
+          apiData->lastTime = ev->time.time;
+
+          if ( data->firstMessage == true )
+            data->firstMessage = false;
+          else
+            message.timeStamp = time;
+        }
+        else {
+#if defined(__RTMIDI_DEBUG__)
+          std::cerr << "\nMidiInAlsa::alsaMidiHandler: event parsing error or not a MIDI event!\n\n";
+#endif
+        }
+      }
+    }
+
+    snd_seq_free_event( ev );
+    if ( message.bytes.size() == 0 || continueSysex ) continue;
+
+    if ( data->usingCallback ) {
+      RtMidiIn::RtMidiCallback callback = (RtMidiIn::RtMidiCallback) data->userCallback;
+      callback( message.timeStamp, &message.bytes, data->userData );
+    }
+    else {
+      // As long as we haven't reached our queue size limit, push the message.
+      if ( !data->queue.push( message ) )
+        std::cerr << "\nMidiInAlsa: message queue limit reached!!\n\n";
+    }
+  }
+
+  if ( buffer ) free( buffer );
+  snd_midi_event_free( apiData->coder );
+  apiData->coder = 0;
+  apiData->thread = apiData->dummy_thread_id;
+  return 0;
+}
+
+MidiInAlsa :: MidiInAlsa( const std::string &clientName, unsigned int queueSizeLimit )
+  : MidiInApi( queueSizeLimit )
+{
+  MidiInAlsa::initialize( clientName );
+}
+
+MidiInAlsa :: ~MidiInAlsa()
+{
+  // Close a connection if it exists.
+  MidiInAlsa::closePort();
+
+  // Shutdown the input thread.
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( inputData_.doInput ) {
+    inputData_.doInput = false;
+    int res = write( data->trigger_fds[1], &inputData_.doInput, sizeof( inputData_.doInput ) );
+    (void) res;
+    if ( !pthread_equal(data->thread, data->dummy_thread_id) )
+      pthread_join( data->thread, NULL );
+  }
+
+  // Cleanup.
+  close ( data->trigger_fds[0] );
+  close ( data->trigger_fds[1] );
+  if ( data->vport >= 0 ) snd_seq_delete_port( data->seq, data->vport );
+#ifndef AVOID_TIMESTAMPING
+  snd_seq_free_queue( data->seq, data->queue_id );
+#endif
+  snd_seq_close( data->seq );
+  delete data;
+}
+
+void MidiInAlsa :: initialize( const std::string& clientName )
+{
+  // Set up the ALSA sequencer client.
+  snd_seq_t *seq;
+  int result = snd_seq_open( &seq, "default", SND_SEQ_OPEN_DUPLEX, SND_SEQ_NONBLOCK );
+  if ( result < 0 ) {
+    errorString_ = "MidiInAlsa::initialize: error creating ALSA sequencer client object.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Set client name.
+  snd_seq_set_client_name( seq, clientName.c_str() );
+
+  // Save our api-specific connection information.
+  AlsaMidiData *data = (AlsaMidiData *) new AlsaMidiData;
+  data->seq = seq;
+  data->portNum = -1;
+  data->vport = -1;
+  data->subscription = 0;
+  data->dummy_thread_id = pthread_self();
+  data->thread = data->dummy_thread_id;
+  data->trigger_fds[0] = -1;
+  data->trigger_fds[1] = -1;
+  apiData_ = (void *) data;
+  inputData_.apiData = (void *) data;
+
+  if ( pipe(data->trigger_fds) == -1 ) {
+    errorString_ = "MidiInAlsa::initialize: error creating pipe objects.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Create the input queue
+#ifndef AVOID_TIMESTAMPING
+  data->queue_id = snd_seq_alloc_named_queue( seq, "RtMidi Queue" );
+  // Set arbitrary tempo (mm=100) and resolution (240)
+  snd_seq_queue_tempo_t *qtempo;
+  snd_seq_queue_tempo_alloca( &qtempo );
+  snd_seq_queue_tempo_set_tempo( qtempo, 600000 );
+  snd_seq_queue_tempo_set_ppq( qtempo, 240 );
+  snd_seq_set_queue_tempo( data->seq, data->queue_id, qtempo );
+  snd_seq_drain_output( data->seq );
+#endif
+}
+
+// This function is used to count or get the pinfo structure for a given port number.
+unsigned int portInfo( snd_seq_t *seq, snd_seq_port_info_t *pinfo, unsigned int type, int portNumber )
+{
+  snd_seq_client_info_t *cinfo;
+  int client;
+  int count = 0;
+  snd_seq_client_info_alloca( &cinfo );
+
+  snd_seq_client_info_set_client( cinfo, -1 );
+  while ( snd_seq_query_next_client( seq, cinfo ) >= 0 ) {
+    client = snd_seq_client_info_get_client( cinfo );
+    if ( client == 0 ) continue;
+    // Reset query info
+    snd_seq_port_info_set_client( pinfo, client );
+    snd_seq_port_info_set_port( pinfo, -1 );
+    while ( snd_seq_query_next_port( seq, pinfo ) >= 0 ) {
+      unsigned int atyp = snd_seq_port_info_get_type( pinfo );
+      if ( ( ( atyp & SND_SEQ_PORT_TYPE_MIDI_GENERIC ) == 0 ) &&
+           ( ( atyp & SND_SEQ_PORT_TYPE_SYNTH ) == 0 ) &&
+           ( ( atyp & SND_SEQ_PORT_TYPE_APPLICATION ) == 0 ) ) continue;
+
+      unsigned int caps = snd_seq_port_info_get_capability( pinfo );
+      if ( ( caps & type ) != type ) continue;
+      if ( count == portNumber ) return 1;
+      ++count;
+    }
+  }
+
+  // If a negative portNumber was used, return the port count.
+  if ( portNumber < 0 ) return count;
+  return 0;
+}
+
+unsigned int MidiInAlsa :: getPortCount()
+{
+  snd_seq_port_info_t *pinfo;
+  snd_seq_port_info_alloca( &pinfo );
+
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  return portInfo( data->seq, pinfo, SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ, -1 );
+}
+
+std::string MidiInAlsa :: getPortName( unsigned int portNumber )
+{
+  snd_seq_client_info_t *cinfo;
+  snd_seq_port_info_t *pinfo;
+  snd_seq_client_info_alloca( &cinfo );
+  snd_seq_port_info_alloca( &pinfo );
+
+  std::string stringName;
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( portInfo( data->seq, pinfo, SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ, (int) portNumber ) ) {
+    int cnum = snd_seq_port_info_get_client( pinfo );
+    snd_seq_get_any_client_info( data->seq, cnum, cinfo );
+    std::ostringstream os;
+    os << snd_seq_client_info_get_name( cinfo );
+    os << ":";
+    os << snd_seq_port_info_get_name( pinfo );
+    os << " ";                                    // These lines added to make sure devices are listed
+    os << snd_seq_port_info_get_client( pinfo );  // with full portnames added to ensure individual device names
+    os << ":";
+    os << snd_seq_port_info_get_port( pinfo );
+    stringName = os.str();
+    return stringName;
+  }
+
+  // If we get here, we didn't find a match.
+  errorString_ = "MidiInAlsa::getPortName: error looking for port name!";
+  error( RtMidiError::WARNING, errorString_ );
+  return stringName;
+}
+
+void MidiInAlsa :: openPort( unsigned int portNumber, const std::string &portName )
+{
+  if ( connected_ ) {
+    errorString_ = "MidiInAlsa::openPort: a valid connection already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  unsigned int nSrc = this->getPortCount();
+  if ( nSrc < 1 ) {
+    errorString_ = "MidiInAlsa::openPort: no MIDI input sources found!";
+    error( RtMidiError::NO_DEVICES_FOUND, errorString_ );
+    return;
+  }
+
+  snd_seq_port_info_t *src_pinfo;
+  snd_seq_port_info_alloca( &src_pinfo );
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( portInfo( data->seq, src_pinfo, SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ, (int) portNumber ) == 0 ) {
+    std::ostringstream ost;
+    ost << "MidiInAlsa::openPort: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::INVALID_PARAMETER, errorString_ );
+    return;
+  }
+
+  snd_seq_addr_t sender, receiver;
+  sender.client = snd_seq_port_info_get_client( src_pinfo );
+  sender.port = snd_seq_port_info_get_port( src_pinfo );
+  receiver.client = snd_seq_client_id( data->seq );
+
+  snd_seq_port_info_t *pinfo;
+  snd_seq_port_info_alloca( &pinfo );
+  if ( data->vport < 0 ) {
+    snd_seq_port_info_set_client( pinfo, 0 );
+    snd_seq_port_info_set_port( pinfo, 0 );
+    snd_seq_port_info_set_capability( pinfo,
+                                      SND_SEQ_PORT_CAP_WRITE |
+                                      SND_SEQ_PORT_CAP_SUBS_WRITE );
+    snd_seq_port_info_set_type( pinfo,
+                                SND_SEQ_PORT_TYPE_MIDI_GENERIC |
+                                SND_SEQ_PORT_TYPE_APPLICATION );
+    snd_seq_port_info_set_midi_channels(pinfo, 16);
+#ifndef AVOID_TIMESTAMPING
+    snd_seq_port_info_set_timestamping( pinfo, 1 );
+    snd_seq_port_info_set_timestamp_real( pinfo, 1 );
+    snd_seq_port_info_set_timestamp_queue( pinfo, data->queue_id );
+#endif
+    snd_seq_port_info_set_name( pinfo,  portName.c_str() );
+    data->vport = snd_seq_create_port( data->seq, pinfo );
+
+    if ( data->vport < 0 ) {
+      errorString_ = "MidiInAlsa::openPort: ALSA error creating input port.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+    data->vport = snd_seq_port_info_get_port( pinfo );
+  }
+
+  receiver.port = data->vport;
+
+  if ( !data->subscription ) {
+    // Make subscription
+    if ( snd_seq_port_subscribe_malloc( &data->subscription ) < 0 ) {
+      errorString_ = "MidiInAlsa::openPort: ALSA error allocation port subscription.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+    snd_seq_port_subscribe_set_sender( data->subscription, &sender );
+    snd_seq_port_subscribe_set_dest( data->subscription, &receiver );
+    if ( snd_seq_subscribe_port( data->seq, data->subscription ) ) {
+      snd_seq_port_subscribe_free( data->subscription );
+      data->subscription = 0;
+      errorString_ = "MidiInAlsa::openPort: ALSA error making port connection.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+  }
+
+  if ( inputData_.doInput == false ) {
+    // Start the input queue
+#ifndef AVOID_TIMESTAMPING
+    snd_seq_start_queue( data->seq, data->queue_id, NULL );
+    snd_seq_drain_output( data->seq );
+#endif
+    // Start our MIDI input thread.
+    pthread_attr_t attr;
+    pthread_attr_init( &attr );
+    pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_JOINABLE );
+    pthread_attr_setschedpolicy( &attr, SCHED_OTHER );
+
+    inputData_.doInput = true;
+    int err = pthread_create( &data->thread, &attr, alsaMidiHandler, &inputData_ );
+    pthread_attr_destroy( &attr );
+    if ( err ) {
+      snd_seq_unsubscribe_port( data->seq, data->subscription );
+      snd_seq_port_subscribe_free( data->subscription );
+      data->subscription = 0;
+      inputData_.doInput = false;
+      errorString_ = "MidiInAlsa::openPort: error starting MIDI input thread!";
+      error( RtMidiError::THREAD_ERROR, errorString_ );
+      return;
+    }
+  }
+
+  connected_ = true;
+}
+
+void MidiInAlsa :: openVirtualPort( const std::string &portName )
+{
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( data->vport < 0 ) {
+    snd_seq_port_info_t *pinfo;
+    snd_seq_port_info_alloca( &pinfo );
+    snd_seq_port_info_set_capability( pinfo,
+                                      SND_SEQ_PORT_CAP_WRITE |
+                                      SND_SEQ_PORT_CAP_SUBS_WRITE );
+    snd_seq_port_info_set_type( pinfo,
+                                SND_SEQ_PORT_TYPE_MIDI_GENERIC |
+                                SND_SEQ_PORT_TYPE_APPLICATION );
+    snd_seq_port_info_set_midi_channels( pinfo, 16 );
+#ifndef AVOID_TIMESTAMPING
+    snd_seq_port_info_set_timestamping( pinfo, 1 );
+    snd_seq_port_info_set_timestamp_real( pinfo, 1 );
+    snd_seq_port_info_set_timestamp_queue( pinfo, data->queue_id );
+#endif
+    snd_seq_port_info_set_name( pinfo, portName.c_str() );
+    data->vport = snd_seq_create_port( data->seq, pinfo );
+
+    if ( data->vport < 0 ) {
+      errorString_ = "MidiInAlsa::openVirtualPort: ALSA error creating virtual port.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+    data->vport = snd_seq_port_info_get_port( pinfo );
+  }
+
+  if ( inputData_.doInput == false ) {
+    // Wait for old thread to stop, if still running
+    if ( !pthread_equal( data->thread, data->dummy_thread_id ) )
+      pthread_join( data->thread, NULL );
+
+    // Start the input queue
+#ifndef AVOID_TIMESTAMPING
+    snd_seq_start_queue( data->seq, data->queue_id, NULL );
+    snd_seq_drain_output( data->seq );
+#endif
+    // Start our MIDI input thread.
+    pthread_attr_t attr;
+    pthread_attr_init( &attr );
+    pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_JOINABLE );
+    pthread_attr_setschedpolicy( &attr, SCHED_OTHER );
+
+    inputData_.doInput = true;
+    int err = pthread_create( &data->thread, &attr, alsaMidiHandler, &inputData_ );
+    pthread_attr_destroy( &attr );
+    if ( err ) {
+      if ( data->subscription ) {
+        snd_seq_unsubscribe_port( data->seq, data->subscription );
+        snd_seq_port_subscribe_free( data->subscription );
+        data->subscription = 0;
+      }
+      inputData_.doInput = false;
+      errorString_ = "MidiInAlsa::openPort: error starting MIDI input thread!";
+      error( RtMidiError::THREAD_ERROR, errorString_ );
+      return;
+    }
+  }
+}
+
+void MidiInAlsa :: closePort( void )
+{
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+
+  if ( connected_ ) {
+    if ( data->subscription ) {
+      snd_seq_unsubscribe_port( data->seq, data->subscription );
+      snd_seq_port_subscribe_free( data->subscription );
+      data->subscription = 0;
+    }
+    // Stop the input queue
+#ifndef AVOID_TIMESTAMPING
+    snd_seq_stop_queue( data->seq, data->queue_id, NULL );
+    snd_seq_drain_output( data->seq );
+#endif
+    connected_ = false;
+  }
+
+  // Stop thread to avoid triggering the callback, while the port is intended to be closed
+  if ( inputData_.doInput ) {
+    inputData_.doInput = false;
+    int res = write( data->trigger_fds[1], &inputData_.doInput, sizeof( inputData_.doInput ) );
+    (void) res;
+    if ( !pthread_equal( data->thread, data->dummy_thread_id ) )
+      pthread_join( data->thread, NULL );
+  }
+}
+
+void MidiInAlsa :: setClientName( const std::string &clientName )
+{
+
+  AlsaMidiData *data = static_cast<AlsaMidiData *> ( apiData_ );
+  snd_seq_set_client_name( data->seq, clientName.c_str() );
+
+}
+
+void MidiInAlsa :: setPortName( const std::string &portName )
+{
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  snd_seq_port_info_t *pinfo;
+  snd_seq_port_info_alloca( &pinfo );
+  snd_seq_get_port_info( data->seq, data->vport, pinfo );
+  snd_seq_port_info_set_name( pinfo, portName.c_str() );
+  snd_seq_set_port_info( data->seq, data->vport, pinfo );
+}
+
+//*********************************************************************//
+//  API: LINUX ALSA
+//  Class Definitions: MidiOutAlsa
+//*********************************************************************//
+
+MidiOutAlsa :: MidiOutAlsa( const std::string &clientName ) : MidiOutApi()
+{
+  MidiOutAlsa::initialize( clientName );
+}
+
+MidiOutAlsa :: ~MidiOutAlsa()
+{
+  // Close a connection if it exists.
+  MidiOutAlsa::closePort();
+
+  // Cleanup.
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( data->vport >= 0 ) snd_seq_delete_port( data->seq, data->vport );
+  if ( data->coder ) snd_midi_event_free( data->coder );
+  if ( data->buffer ) free( data->buffer );
+  snd_seq_close( data->seq );
+  delete data;
+}
+
+void MidiOutAlsa :: initialize( const std::string& clientName )
+{
+  // Set up the ALSA sequencer client.
+  snd_seq_t *seq;
+  int result1 = snd_seq_open( &seq, "default", SND_SEQ_OPEN_OUTPUT, SND_SEQ_NONBLOCK );
+  if ( result1 < 0 ) {
+    errorString_ = "MidiOutAlsa::initialize: error creating ALSA sequencer client object.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Set client name.
+  snd_seq_set_client_name( seq, clientName.c_str() );
+
+  // Save our api-specific connection information.
+  AlsaMidiData *data = (AlsaMidiData *) new AlsaMidiData;
+  data->seq = seq;
+  data->portNum = -1;
+  data->vport = -1;
+  data->bufferSize = 32;
+  data->coder = 0;
+  data->buffer = 0;
+  int result = snd_midi_event_new( data->bufferSize, &data->coder );
+  if ( result < 0 ) {
+    delete data;
+    errorString_ = "MidiOutAlsa::initialize: error initializing MIDI event parser!\n\n";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+  data->buffer = (unsigned char *) malloc( data->bufferSize );
+  if ( data->buffer == NULL ) {
+    delete data;
+    errorString_ = "MidiOutAlsa::initialize: error allocating buffer memory!\n\n";
+    error( RtMidiError::MEMORY_ERROR, errorString_ );
+    return;
+  }
+  snd_midi_event_init( data->coder );
+  apiData_ = (void *) data;
+}
+
+unsigned int MidiOutAlsa :: getPortCount()
+{
+  snd_seq_port_info_t *pinfo;
+  snd_seq_port_info_alloca( &pinfo );
+
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  return portInfo( data->seq, pinfo, SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, -1 );
+}
+
+std::string MidiOutAlsa :: getPortName( unsigned int portNumber )
+{
+  snd_seq_client_info_t *cinfo;
+  snd_seq_port_info_t *pinfo;
+  snd_seq_client_info_alloca( &cinfo );
+  snd_seq_port_info_alloca( &pinfo );
+
+  std::string stringName;
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( portInfo( data->seq, pinfo, SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, (int) portNumber ) ) {
+    int cnum = snd_seq_port_info_get_client( pinfo );
+    snd_seq_get_any_client_info( data->seq, cnum, cinfo );
+    std::ostringstream os;
+    os << snd_seq_client_info_get_name( cinfo );
+    os << ":";
+    os << snd_seq_port_info_get_name( pinfo );
+    os << " ";                                    // These lines added to make sure devices are listed
+    os << snd_seq_port_info_get_client( pinfo );  // with full portnames added to ensure individual device names
+    os << ":";
+    os << snd_seq_port_info_get_port( pinfo );
+    stringName = os.str();
+    return stringName;
+  }
+
+  // If we get here, we didn't find a match.
+  errorString_ = "MidiOutAlsa::getPortName: error looking for port name!";
+  error( RtMidiError::WARNING, errorString_ );
+  return stringName;
+}
+
+void MidiOutAlsa :: openPort( unsigned int portNumber, const std::string &portName )
+{
+  if ( connected_ ) {
+    errorString_ = "MidiOutAlsa::openPort: a valid connection already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  unsigned int nSrc = this->getPortCount();
+  if ( nSrc < 1 ) {
+    errorString_ = "MidiOutAlsa::openPort: no MIDI output sources found!";
+    error( RtMidiError::NO_DEVICES_FOUND, errorString_ );
+    return;
+  }
+
+  snd_seq_port_info_t *pinfo;
+  snd_seq_port_info_alloca( &pinfo );
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( portInfo( data->seq, pinfo, SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, (int) portNumber ) == 0 ) {
+    std::ostringstream ost;
+    ost << "MidiOutAlsa::openPort: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::INVALID_PARAMETER, errorString_ );
+    return;
+  }
+
+  snd_seq_addr_t sender, receiver;
+  receiver.client = snd_seq_port_info_get_client( pinfo );
+  receiver.port = snd_seq_port_info_get_port( pinfo );
+  sender.client = snd_seq_client_id( data->seq );
+
+  if ( data->vport < 0 ) {
+    data->vport = snd_seq_create_simple_port( data->seq, portName.c_str(),
+                                              SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,
+                                              SND_SEQ_PORT_TYPE_MIDI_GENERIC|SND_SEQ_PORT_TYPE_APPLICATION );
+    if ( data->vport < 0 ) {
+      errorString_ = "MidiOutAlsa::openPort: ALSA error creating output port.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+  }
+
+  sender.port = data->vport;
+
+  // Make subscription
+  if ( snd_seq_port_subscribe_malloc( &data->subscription ) < 0 ) {
+    snd_seq_port_subscribe_free( data->subscription );
+    errorString_ = "MidiOutAlsa::openPort: error allocating port subscription.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+  snd_seq_port_subscribe_set_sender( data->subscription, &sender );
+  snd_seq_port_subscribe_set_dest( data->subscription, &receiver );
+  snd_seq_port_subscribe_set_time_update( data->subscription, 1 );
+  snd_seq_port_subscribe_set_time_real( data->subscription, 1 );
+  if ( snd_seq_subscribe_port( data->seq, data->subscription ) ) {
+    snd_seq_port_subscribe_free( data->subscription );
+    errorString_ = "MidiOutAlsa::openPort: ALSA error making port connection.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  connected_ = true;
+}
+
+void MidiOutAlsa :: closePort( void )
+{
+  if ( connected_ ) {
+    AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+    snd_seq_unsubscribe_port( data->seq, data->subscription );
+    snd_seq_port_subscribe_free( data->subscription );
+    data->subscription = 0;
+    connected_ = false;
+  }
+}
+
+void MidiOutAlsa :: setClientName( const std::string &clientName )
+{
+
+    AlsaMidiData *data = static_cast<AlsaMidiData *> ( apiData_ );
+    snd_seq_set_client_name( data->seq, clientName.c_str() );
+
+}
+
+void MidiOutAlsa :: setPortName( const std::string &portName )
+{
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  snd_seq_port_info_t *pinfo;
+  snd_seq_port_info_alloca( &pinfo );
+  snd_seq_get_port_info( data->seq, data->vport, pinfo );
+  snd_seq_port_info_set_name( pinfo, portName.c_str() );
+  snd_seq_set_port_info( data->seq, data->vport, pinfo );
+}
+
+void MidiOutAlsa :: openVirtualPort( const std::string &portName )
+{
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  if ( data->vport < 0 ) {
+    data->vport = snd_seq_create_simple_port( data->seq, portName.c_str(),
+                                              SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,
+                                              SND_SEQ_PORT_TYPE_MIDI_GENERIC|SND_SEQ_PORT_TYPE_APPLICATION );
+
+    if ( data->vport < 0 ) {
+      errorString_ = "MidiOutAlsa::openVirtualPort: ALSA error creating virtual port.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+    }
+  }
+}
+
+void MidiOutAlsa :: sendMessage( const unsigned char *message, size_t size )
+{
+  int result;
+  AlsaMidiData *data = static_cast<AlsaMidiData *> (apiData_);
+  unsigned int nBytes = static_cast<unsigned int> (size);
+  if ( nBytes > data->bufferSize ) {
+    data->bufferSize = nBytes;
+    result = snd_midi_event_resize_buffer( data->coder, nBytes );
+    if ( result != 0 ) {
+      errorString_ = "MidiOutAlsa::sendMessage: ALSA error resizing MIDI event buffer.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+    free (data->buffer);
+    data->buffer = (unsigned char *) malloc( data->bufferSize );
+    if ( data->buffer == NULL ) {
+      errorString_ = "MidiOutAlsa::initialize: error allocating buffer memory!\n\n";
+      error( RtMidiError::MEMORY_ERROR, errorString_ );
+      return;
+    }
+  }
+
+  snd_seq_event_t ev;
+  snd_seq_ev_clear( &ev );
+  snd_seq_ev_set_source( &ev, data->vport );
+  snd_seq_ev_set_subs( &ev );
+  snd_seq_ev_set_direct( &ev );
+  for ( unsigned int i=0; i<nBytes; ++i ) data->buffer[i] = message[i];
+  result = snd_midi_event_encode( data->coder, data->buffer, (long)nBytes, &ev );
+  if ( result < (int)nBytes ) {
+    errorString_ = "MidiOutAlsa::sendMessage: event parsing error!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  // Send the event.
+  result = snd_seq_event_output( data->seq, &ev );
+  if ( result < 0 ) {
+    errorString_ = "MidiOutAlsa::sendMessage: error sending MIDI message to port.";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+  snd_seq_drain_output( data->seq );
+}
+
+#endif // __LINUX_ALSA__
+
+
+//*********************************************************************//
+//  API: Windows Multimedia Library (MM)
+//*********************************************************************//
+
+// API information deciphered from:
+//  - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_midi_reference.asp
+
+// Thanks to Jean-Baptiste Berruchon for the sysex code.
+
+#if defined(__WINDOWS_MM__)
+
+// The Windows MM API is based on the use of a callback function for
+// MIDI input.  We convert the system specific time stamps to delta
+// time values.
+
+// Windows MM MIDI header files.
+#include <windows.h>
+#include <mmsystem.h>
+
+// Convert a null-terminated wide string or ANSI-encoded string to UTF-8.
+static std::string ConvertToUTF8(const TCHAR *str)
+{
+  std::string u8str;
+  const WCHAR *wstr = L"";
+#if defined( UNICODE ) || defined( _UNICODE )
+  wstr = str;
+#else
+  // Convert from ANSI encoding to wide string
+  int wlength = MultiByteToWideChar( CP_ACP, 0, str, -1, NULL, 0 );
+  std::wstring wstrtemp;
+  if ( wlength )
+  {
+    wstrtemp.assign( wlength - 1, 0 );
+    MultiByteToWideChar( CP_ACP, 0, str, -1, &wstrtemp[0], wlength );
+    wstr = &wstrtemp[0];
+  }
+#endif
+  // Convert from wide string to UTF-8
+  int length = WideCharToMultiByte( CP_UTF8, 0, wstr, -1, NULL, 0, NULL, NULL );
+  if ( length )
+  {
+    u8str.assign( length - 1, 0 );
+    length = WideCharToMultiByte( CP_UTF8, 0, wstr, -1, &u8str[0], length, NULL, NULL );
+  }
+  return u8str;
+}
+
+#define  RT_SYSEX_BUFFER_SIZE 1024
+#define  RT_SYSEX_BUFFER_COUNT 4
+
+// A structure to hold variables related to the CoreMIDI API
+// implementation.
+struct WinMidiData {
+  HMIDIIN inHandle;    // Handle to Midi Input Device
+  HMIDIOUT outHandle;  // Handle to Midi Output Device
+  DWORD lastTime;
+  MidiInApi::MidiMessage message;
+  LPMIDIHDR sysexBuffer[RT_SYSEX_BUFFER_COUNT];
+  CRITICAL_SECTION _mutex; // [Patrice] see https://groups.google.com/forum/#!topic/mididev/6OUjHutMpEo
+};
+
+//*********************************************************************//
+//  API: Windows MM
+//  Class Definitions: MidiInWinMM
+//*********************************************************************//
+
+static void CALLBACK midiInputCallback( HMIDIIN /*hmin*/,
+                                        UINT inputStatus,
+                                        DWORD_PTR instancePtr,
+                                        DWORD_PTR midiMessage,
+                                        DWORD timestamp )
+{
+  if ( inputStatus != MIM_DATA && inputStatus != MIM_LONGDATA && inputStatus != MIM_LONGERROR ) return;
+
+  //MidiInApi::RtMidiInData *data = static_cast<MidiInApi::RtMidiInData *> (instancePtr);
+  MidiInApi::RtMidiInData *data = (MidiInApi::RtMidiInData *)instancePtr;
+  WinMidiData *apiData = static_cast<WinMidiData *> (data->apiData);
+
+  // Calculate time stamp.
+  if ( data->firstMessage == true ) {
+    apiData->message.timeStamp = 0.0;
+    data->firstMessage = false;
+  }
+  else apiData->message.timeStamp = (double) ( timestamp - apiData->lastTime ) * 0.001;
+
+  if ( inputStatus == MIM_DATA ) { // Channel or system message
+
+    // Make sure the first byte is a status byte.
+    unsigned char status = (unsigned char) (midiMessage & 0x000000FF);
+    if ( !(status & 0x80) ) return;
+
+    // Determine the number of bytes in the MIDI message.
+    unsigned short nBytes = 1;
+    if ( status < 0xC0 ) nBytes = 3;
+    else if ( status < 0xE0 ) nBytes = 2;
+    else if ( status < 0xF0 ) nBytes = 3;
+    else if ( status == 0xF1 ) {
+      if ( data->ignoreFlags & 0x02 ) return;
+      else nBytes = 2;
+    }
+    else if ( status == 0xF2 ) nBytes = 3;
+    else if ( status == 0xF3 ) nBytes = 2;
+    else if ( status == 0xF8 && ( data->ignoreFlags & 0x02 ) ) {
+      // A MIDI timing tick message and we're ignoring it.
+      return;
+    }
+    else if ( status == 0xFE && ( data->ignoreFlags & 0x04 ) ) {
+      // A MIDI active sensing message and we're ignoring it.
+      return;
+    }
+
+    // Copy bytes to our MIDI message.
+    unsigned char *ptr = (unsigned char *) &midiMessage;
+    for ( int i=0; i<nBytes; ++i ) apiData->message.bytes.push_back( *ptr++ );
+  }
+  else { // Sysex message ( MIM_LONGDATA or MIM_LONGERROR )
+    MIDIHDR *sysex = ( MIDIHDR *) midiMessage;
+    if ( !( data->ignoreFlags & 0x01 ) && inputStatus != MIM_LONGERROR ) {
+      // Sysex message and we're not ignoring it
+      for ( int i=0; i<(int)sysex->dwBytesRecorded; ++i )
+        apiData->message.bytes.push_back( sysex->lpData[i] );
+    }
+
+    // The WinMM API requires that the sysex buffer be requeued after
+    // input of each sysex message.  Even if we are ignoring sysex
+    // messages, we still need to requeue the buffer in case the user
+    // decides to not ignore sysex messages in the future.  However,
+    // it seems that WinMM calls this function with an empty sysex
+    // buffer when an application closes and in this case, we should
+    // avoid requeueing it, else the computer suddenly reboots after
+    // one or two minutes.
+    if ( apiData->sysexBuffer[sysex->dwUser]->dwBytesRecorded > 0 ) {
+      //if ( sysex->dwBytesRecorded > 0 ) {
+      EnterCriticalSection( &(apiData->_mutex) );
+      MMRESULT result = midiInAddBuffer( apiData->inHandle, apiData->sysexBuffer[sysex->dwUser], sizeof(MIDIHDR) );
+      LeaveCriticalSection( &(apiData->_mutex) );
+      if ( result != MMSYSERR_NOERROR )
+        std::cerr << "\nRtMidiIn::midiInputCallback: error sending sysex to Midi device!!\n\n";
+
+      if ( data->ignoreFlags & 0x01 ) return;
+    }
+    else return;
+  }
+
+  // Save the time of the last non-filtered message
+  apiData->lastTime = timestamp;
+
+  if ( data->usingCallback ) {
+    RtMidiIn::RtMidiCallback callback = (RtMidiIn::RtMidiCallback) data->userCallback;
+    callback( apiData->message.timeStamp, &apiData->message.bytes, data->userData );
+  }
+  else {
+    // As long as we haven't reached our queue size limit, push the message.
+    if ( !data->queue.push( apiData->message ) )
+      std::cerr << "\nMidiInWinMM: message queue limit reached!!\n\n";
+  }
+
+  // Clear the vector for the next input message.
+  apiData->message.bytes.clear();
+}
+
+MidiInWinMM :: MidiInWinMM( const std::string &clientName, unsigned int queueSizeLimit )
+  : MidiInApi( queueSizeLimit )
+{
+  MidiInWinMM::initialize( clientName );
+}
+
+MidiInWinMM :: ~MidiInWinMM()
+{
+  // Close a connection if it exists.
+  MidiInWinMM::closePort();
+
+  WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+  DeleteCriticalSection( &(data->_mutex) );
+
+  // Cleanup.
+  delete data;
+}
+
+void MidiInWinMM :: initialize( const std::string& /*clientName*/ )
+{
+  // We'll issue a warning here if no devices are available but not
+  // throw an error since the user can plugin something later.
+  unsigned int nDevices = midiInGetNumDevs();
+  if ( nDevices == 0 ) {
+    errorString_ = "MidiInWinMM::initialize: no MIDI input devices currently available.";
+    error( RtMidiError::WARNING, errorString_ );
+  }
+
+  // Save our api-specific connection information.
+  WinMidiData *data = (WinMidiData *) new WinMidiData;
+  apiData_ = (void *) data;
+  inputData_.apiData = (void *) data;
+  data->message.bytes.clear();  // needs to be empty for first input message
+
+  if ( !InitializeCriticalSectionAndSpinCount( &(data->_mutex), 0x00000400 ) ) {
+    errorString_ = "MidiInWinMM::initialize: InitializeCriticalSectionAndSpinCount failed.";
+    error( RtMidiError::WARNING, errorString_ );
+  }
+}
+
+void MidiInWinMM :: openPort( unsigned int portNumber, const std::string &/*portName*/ )
+{
+  if ( connected_ ) {
+    errorString_ = "MidiInWinMM::openPort: a valid connection already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  unsigned int nDevices = midiInGetNumDevs();
+  if (nDevices == 0) {
+    errorString_ = "MidiInWinMM::openPort: no MIDI input sources found!";
+    error( RtMidiError::NO_DEVICES_FOUND, errorString_ );
+    return;
+  }
+
+  if ( portNumber >= nDevices ) {
+    std::ostringstream ost;
+    ost << "MidiInWinMM::openPort: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::INVALID_PARAMETER, errorString_ );
+    return;
+  }
+
+  WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+  MMRESULT result = midiInOpen( &data->inHandle,
+                                portNumber,
+                                (DWORD_PTR)&midiInputCallback,
+                                (DWORD_PTR)&inputData_,
+                                CALLBACK_FUNCTION );
+  if ( result != MMSYSERR_NOERROR ) {
+    errorString_ = "MidiInWinMM::openPort: error creating Windows MM MIDI input port.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Allocate and init the sysex buffers.
+  for ( int i=0; i<RT_SYSEX_BUFFER_COUNT; ++i ) {
+    data->sysexBuffer[i] = (MIDIHDR*) new char[ sizeof(MIDIHDR) ];
+    data->sysexBuffer[i]->lpData = new char[ RT_SYSEX_BUFFER_SIZE ];
+    data->sysexBuffer[i]->dwBufferLength = RT_SYSEX_BUFFER_SIZE;
+    data->sysexBuffer[i]->dwUser = i; // We use the dwUser parameter as buffer indicator
+    data->sysexBuffer[i]->dwFlags = 0;
+
+    result = midiInPrepareHeader( data->inHandle, data->sysexBuffer[i], sizeof(MIDIHDR) );
+    if ( result != MMSYSERR_NOERROR ) {
+      midiInClose( data->inHandle );
+      data->inHandle = 0;
+      errorString_ = "MidiInWinMM::openPort: error starting Windows MM MIDI input port (PrepareHeader).";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+
+    // Register the buffer.
+    result = midiInAddBuffer( data->inHandle, data->sysexBuffer[i], sizeof(MIDIHDR) );
+    if ( result != MMSYSERR_NOERROR ) {
+      midiInClose( data->inHandle );
+      data->inHandle = 0;
+      errorString_ = "MidiInWinMM::openPort: error starting Windows MM MIDI input port (AddBuffer).";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+  }
+
+  result = midiInStart( data->inHandle );
+  if ( result != MMSYSERR_NOERROR ) {
+    midiInClose( data->inHandle );
+    data->inHandle = 0;
+    errorString_ = "MidiInWinMM::openPort: error starting Windows MM MIDI input port.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  connected_ = true;
+}
+
+void MidiInWinMM :: openVirtualPort( const std::string &/*portName*/ )
+{
+  // This function cannot be implemented for the Windows MM MIDI API.
+  errorString_ = "MidiInWinMM::openVirtualPort: cannot be implemented in Windows MM MIDI API!";
+  error( RtMidiError::WARNING, errorString_ );
+}
+
+void MidiInWinMM :: closePort( void )
+{
+  if ( connected_ ) {
+    WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+    EnterCriticalSection( &(data->_mutex) );
+    midiInReset( data->inHandle );
+    midiInStop( data->inHandle );
+
+    for ( int i=0; i<RT_SYSEX_BUFFER_COUNT; ++i ) {
+      int result = midiInUnprepareHeader(data->inHandle, data->sysexBuffer[i], sizeof(MIDIHDR));
+      delete [] data->sysexBuffer[i]->lpData;
+      delete [] data->sysexBuffer[i];
+      if ( result != MMSYSERR_NOERROR ) {
+        midiInClose( data->inHandle );
+        data->inHandle = 0;
+        errorString_ = "MidiInWinMM::openPort: error closing Windows MM MIDI input port (midiInUnprepareHeader).";
+        error( RtMidiError::DRIVER_ERROR, errorString_ );
+        return;
+      }
+    }
+
+    midiInClose( data->inHandle );
+    data->inHandle = 0;
+    connected_ = false;
+    LeaveCriticalSection( &(data->_mutex) );
+  }
+}
+
+void MidiInWinMM :: setClientName ( const std::string& )
+{
+
+  errorString_ = "MidiInWinMM::setClientName: this function is not implemented for the WINDOWS_MM API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiInWinMM :: setPortName ( const std::string& )
+{
+
+  errorString_ = "MidiInWinMM::setPortName: this function is not implemented for the WINDOWS_MM API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+unsigned int MidiInWinMM :: getPortCount()
+{
+  return midiInGetNumDevs();
+}
+
+std::string MidiInWinMM :: getPortName( unsigned int portNumber )
+{
+  std::string stringName;
+  unsigned int nDevices = midiInGetNumDevs();
+  if ( portNumber >= nDevices ) {
+    std::ostringstream ost;
+    ost << "MidiInWinMM::getPortName: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::WARNING, errorString_ );
+    return stringName;
+  }
+
+  MIDIINCAPS deviceCaps;
+  midiInGetDevCaps( portNumber, &deviceCaps, sizeof(MIDIINCAPS));
+  stringName = ConvertToUTF8( deviceCaps.szPname );
+
+  // Next lines added to add the portNumber to the name so that
+  // the device's names are sure to be listed with individual names
+  // even when they have the same brand name
+#ifndef RTMIDI_DO_NOT_ENSURE_UNIQUE_PORTNAMES
+  std::ostringstream os;
+  os << " ";
+  os << portNumber;
+  stringName += os.str();
+#endif
+
+  return stringName;
+}
+
+//*********************************************************************//
+//  API: Windows MM
+//  Class Definitions: MidiOutWinMM
+//*********************************************************************//
+
+MidiOutWinMM :: MidiOutWinMM( const std::string &clientName ) : MidiOutApi()
+{
+  MidiOutWinMM::initialize( clientName );
+}
+
+MidiOutWinMM :: ~MidiOutWinMM()
+{
+  // Close a connection if it exists.
+  MidiOutWinMM::closePort();
+
+  // Cleanup.
+  WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+  delete data;
+}
+
+void MidiOutWinMM :: initialize( const std::string& /*clientName*/ )
+{
+  // We'll issue a warning here if no devices are available but not
+  // throw an error since the user can plug something in later.
+  unsigned int nDevices = midiOutGetNumDevs();
+  if ( nDevices == 0 ) {
+    errorString_ = "MidiOutWinMM::initialize: no MIDI output devices currently available.";
+    error( RtMidiError::WARNING, errorString_ );
+  }
+
+  // Save our api-specific connection information.
+  WinMidiData *data = (WinMidiData *) new WinMidiData;
+  apiData_ = (void *) data;
+}
+
+unsigned int MidiOutWinMM :: getPortCount()
+{
+  return midiOutGetNumDevs();
+}
+
+std::string MidiOutWinMM :: getPortName( unsigned int portNumber )
+{
+  std::string stringName;
+  unsigned int nDevices = midiOutGetNumDevs();
+  if ( portNumber >= nDevices ) {
+    std::ostringstream ost;
+    ost << "MidiOutWinMM::getPortName: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::WARNING, errorString_ );
+    return stringName;
+  }
+
+  MIDIOUTCAPS deviceCaps;
+  midiOutGetDevCaps( portNumber, &deviceCaps, sizeof( MIDIOUTCAPS ) );
+  stringName = ConvertToUTF8( deviceCaps.szPname );
+
+  // Next lines added to add the portNumber to the name so that
+  // the device's names are sure to be listed with individual names
+  // even when they have the same brand name
+  std::ostringstream os;
+#ifndef RTMIDI_DO_NOT_ENSURE_UNIQUE_PORTNAMES
+  os << " ";
+  os << portNumber;
+  stringName += os.str();
+#endif
+
+  return stringName;
+}
+
+void MidiOutWinMM :: openPort( unsigned int portNumber, const std::string &/*portName*/ )
+{
+  if ( connected_ ) {
+    errorString_ = "MidiOutWinMM::openPort: a valid connection already exists!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  unsigned int nDevices = midiOutGetNumDevs();
+  if ( nDevices < 1 ) {
+    errorString_ = "MidiOutWinMM::openPort: no MIDI output destinations found!";
+    error( RtMidiError::NO_DEVICES_FOUND, errorString_ );
+    return;
+  }
+
+  if ( portNumber >= nDevices ) {
+    std::ostringstream ost;
+    ost << "MidiOutWinMM::openPort: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::INVALID_PARAMETER, errorString_ );
+    return;
+  }
+
+  WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+  MMRESULT result = midiOutOpen( &data->outHandle,
+                                 portNumber,
+                                 (DWORD)NULL,
+                                 (DWORD)NULL,
+                                 CALLBACK_NULL );
+  if ( result != MMSYSERR_NOERROR ) {
+    errorString_ = "MidiOutWinMM::openPort: error creating Windows MM MIDI output port.";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  connected_ = true;
+}
+
+void MidiOutWinMM :: closePort( void )
+{
+  if ( connected_ ) {
+    WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+    midiOutReset( data->outHandle );
+    midiOutClose( data->outHandle );
+    data->outHandle = 0;
+    connected_ = false;
+  }
+}
+
+void MidiOutWinMM :: setClientName ( const std::string& )
+{
+
+  errorString_ = "MidiOutWinMM::setClientName: this function is not implemented for the WINDOWS_MM API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiOutWinMM :: setPortName ( const std::string& )
+{
+
+  errorString_ = "MidiOutWinMM::setPortName: this function is not implemented for the WINDOWS_MM API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiOutWinMM :: openVirtualPort( const std::string &/*portName*/ )
+{
+  // This function cannot be implemented for the Windows MM MIDI API.
+  errorString_ = "MidiOutWinMM::openVirtualPort: cannot be implemented in Windows MM MIDI API!";
+  error( RtMidiError::WARNING, errorString_ );
+}
+
+void MidiOutWinMM :: sendMessage( const unsigned char *message, size_t size )
+{
+  if ( !connected_ ) return;
+
+  unsigned int nBytes = static_cast<unsigned int>(size);
+  if ( nBytes == 0 ) {
+    errorString_ = "MidiOutWinMM::sendMessage: message argument is empty!";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  MMRESULT result;
+  WinMidiData *data = static_cast<WinMidiData *> (apiData_);
+  if ( message[0] == 0xF0 ) { // Sysex message
+
+    // Allocate buffer for sysex data.
+    char *buffer = (char *) malloc( nBytes );
+    if ( buffer == NULL ) {
+      errorString_ = "MidiOutWinMM::sendMessage: error allocating sysex message memory!";
+      error( RtMidiError::MEMORY_ERROR, errorString_ );
+      return;
+    }
+
+    // Copy data to buffer.
+    for ( unsigned int i=0; i<nBytes; ++i ) buffer[i] = message[i];
+
+    // Create and prepare MIDIHDR structure.
+    MIDIHDR sysex;
+    sysex.lpData = (LPSTR) buffer;
+    sysex.dwBufferLength = nBytes;
+    sysex.dwFlags = 0;
+    result = midiOutPrepareHeader( data->outHandle,  &sysex, sizeof( MIDIHDR ) );
+    if ( result != MMSYSERR_NOERROR ) {
+      free( buffer );
+      errorString_ = "MidiOutWinMM::sendMessage: error preparing sysex header.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+
+    // Send the message.
+    result = midiOutLongMsg( data->outHandle, &sysex, sizeof( MIDIHDR ) );
+    if ( result != MMSYSERR_NOERROR ) {
+      free( buffer );
+      errorString_ = "MidiOutWinMM::sendMessage: error sending sysex message.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+      return;
+    }
+
+    // Unprepare the buffer and MIDIHDR.
+    while ( MIDIERR_STILLPLAYING == midiOutUnprepareHeader( data->outHandle, &sysex, sizeof ( MIDIHDR ) ) ) Sleep( 1 );
+    free( buffer );
+  }
+  else { // Channel or system message.
+
+    // Make sure the message size isn't too big.
+    if ( nBytes > 3 ) {
+      errorString_ = "MidiOutWinMM::sendMessage: message size is greater than 3 bytes (and not sysex)!";
+      error( RtMidiError::WARNING, errorString_ );
+      return;
+    }
+
+    // Pack MIDI bytes into double word.
+    DWORD packet;
+    unsigned char *ptr = (unsigned char *) &packet;
+    for ( unsigned int i=0; i<nBytes; ++i ) {
+      *ptr = message[i];
+      ++ptr;
+    }
+
+    // Send the message immediately.
+    result = midiOutShortMsg( data->outHandle, packet );
+    if ( result != MMSYSERR_NOERROR ) {
+      errorString_ = "MidiOutWinMM::sendMessage: error sending MIDI message.";
+      error( RtMidiError::DRIVER_ERROR, errorString_ );
+    }
+  }
+}
+
+#endif  // __WINDOWS_MM__
+
+
+//*********************************************************************//
+//  API: UNIX JACK
+//
+//  Written primarily by Alexander Svetalkin, with updates for delta
+//  time by Gary Scavone, April 2011.
+//
+//  *********************************************************************//
+
+#if defined(__UNIX_JACK__)
+
+// JACK header files
+#include <jack/jack.h>
+#include <jack/midiport.h>
+#include <jack/ringbuffer.h>
+#ifdef HAVE_SEMAPHORE
+  #include <semaphore.h>
+#endif
+
+#define JACK_RINGBUFFER_SIZE 16384 // Default size for ringbuffer
+
+struct JackMidiData {
+  jack_client_t *client;
+  jack_port_t *port;
+  jack_ringbuffer_t *buffSize;
+  jack_ringbuffer_t *buffMessage;
+  jack_time_t lastTime;
+#ifdef HAVE_SEMAPHORE
+  sem_t sem_cleanup;
+  sem_t sem_needpost;
+#endif
+  MidiInApi :: RtMidiInData *rtMidiIn;
+  };
+
+//*********************************************************************//
+//  API: JACK
+//  Class Definitions: MidiInJack
+//*********************************************************************//
+
+static int jackProcessIn( jack_nframes_t nframes, void *arg )
+{
+  JackMidiData *jData = (JackMidiData *) arg;
+  MidiInApi :: RtMidiInData *rtData = jData->rtMidiIn;
+  jack_midi_event_t event;
+  jack_time_t time;
+
+  // Is port created?
+  if ( jData->port == NULL ) return 0;
+
+  void *buff = jack_port_get_buffer( jData->port, nframes );
+  bool& continueSysex = rtData->continueSysex;
+  unsigned char& ignoreFlags = rtData->ignoreFlags;
+
+  // We have midi events in buffer
+  int evCount = jack_midi_get_event_count( buff );
+  for (int j = 0; j < evCount; j++) {
+    MidiInApi::MidiMessage& message = rtData->message;
+    jack_midi_event_get( &event, buff, j );
+
+    // Compute the delta time.
+    time = jack_get_time();
+    if ( rtData->firstMessage == true ) {
+      message.timeStamp = 0.0;
+      rtData->firstMessage = false;
+    } else
+      message.timeStamp = ( time - jData->lastTime ) * 0.000001;
+
+    jData->lastTime = time;
+
+    if ( !continueSysex )
+      message.bytes.clear();
+
+    if ( !( ( continueSysex || event.buffer[0] == 0xF0 ) && ( ignoreFlags & 0x01 ) ) ) {
+      // Unless this is a (possibly continued) SysEx message and we're ignoring SysEx,
+      // copy the event buffer into the MIDI message struct.
+      for ( unsigned int i = 0; i < event.size; i++ )
+        message.bytes.push_back( event.buffer[i] );
+    }
+
+    switch ( event.buffer[0] ) {
+      case 0xF0:
+        // Start of a SysEx message
+        continueSysex = event.buffer[event.size - 1] != 0xF7;
+        if ( ignoreFlags & 0x01 ) continue;
+        break;
+      case 0xF1:
+      case 0xF8:
+        // MIDI Time Code or Timing Clock message
+        if ( ignoreFlags & 0x02 ) continue;
+        break;
+      case 0xFE:
+        // Active Sensing message
+        if ( ignoreFlags & 0x04 ) continue;
+        break;
+      default:
+        if ( continueSysex ) {
+          // Continuation of a SysEx message
+          continueSysex = event.buffer[event.size - 1] != 0xF7;
+          if ( ignoreFlags & 0x01 ) continue;
+        }
+        // All other MIDI messages
+    }
+
+    if ( !continueSysex ) {
+      // If not a continuation of a SysEx message,
+      // invoke the user callback function or queue the message.
+      if ( rtData->usingCallback ) {
+        RtMidiIn::RtMidiCallback callback = (RtMidiIn::RtMidiCallback) rtData->userCallback;
+        callback( message.timeStamp, &message.bytes, rtData->userData );
+      }
+      else {
+        // As long as we haven't reached our queue size limit, push the message.
+        if ( !rtData->queue.push( message ) )
+          std::cerr << "\nMidiInJack: message queue limit reached!!\n\n";
+      }
+    }
+  }
+
+  return 0;
+}
+
+MidiInJack :: MidiInJack( const std::string &clientName, unsigned int queueSizeLimit )
+  : MidiInApi( queueSizeLimit )
+{
+  MidiInJack::initialize( clientName );
+}
+
+void MidiInJack :: initialize( const std::string& clientName )
+{
+  JackMidiData *data = new JackMidiData;
+  apiData_ = (void *) data;
+
+  data->rtMidiIn = &inputData_;
+  data->port = NULL;
+  data->client = NULL;
+  this->clientName = clientName;
+
+  connect();
+}
+
+void MidiInJack :: connect()
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  if ( data->client )
+    return;
+
+  // Initialize JACK client
+  if (( data->client = jack_client_open( clientName.c_str(), JackNoStartServer, NULL )) == 0) {
+    errorString_ = "MidiInJack::initialize: JACK server not running?";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  jack_set_process_callback( data->client, jackProcessIn, data );
+  jack_activate( data->client );
+}
+
+MidiInJack :: ~MidiInJack()
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  MidiInJack::closePort();
+
+  if ( data->client )
+    jack_client_close( data->client );
+  delete data;
+}
+
+void MidiInJack :: openPort( unsigned int portNumber, const std::string &portName )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  connect();
+
+  // Creating new port
+  if ( data->port == NULL )
+    data->port = jack_port_register( data->client, portName.c_str(),
+                                     JACK_DEFAULT_MIDI_TYPE, JackPortIsInput, 0 );
+
+  if ( data->port == NULL ) {
+    errorString_ = "MidiInJack::openPort: JACK error creating port";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Connecting to the output
+  std::string name = getPortName( portNumber );
+  jack_connect( data->client, name.c_str(), jack_port_name( data->port ) );
+
+  connected_ = true;
+}
+
+void MidiInJack :: openVirtualPort( const std::string &portName )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  connect();
+  if ( data->port == NULL )
+    data->port = jack_port_register( data->client, portName.c_str(),
+                                     JACK_DEFAULT_MIDI_TYPE, JackPortIsInput, 0 );
+
+  if ( data->port == NULL ) {
+    errorString_ = "MidiInJack::openVirtualPort: JACK error creating virtual port";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+  }
+}
+
+unsigned int MidiInJack :: getPortCount()
+{
+  int count = 0;
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  connect();
+  if ( !data->client )
+    return 0;
+
+  // List of available ports
+  const char **ports = jack_get_ports( data->client, NULL, JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput );
+
+  if ( ports == NULL ) return 0;
+  while ( ports[count] != NULL )
+    count++;
+
+  free( ports );
+
+  return count;
+}
+
+std::string MidiInJack :: getPortName( unsigned int portNumber )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  std::string retStr( "" );
+
+  connect();
+
+  // List of available ports
+  const char **ports = jack_get_ports( data->client, NULL,
+                                       JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput );
+
+  // Check port validity
+  if ( ports == NULL ) {
+    errorString_ = "MidiInJack::getPortName: no ports available!";
+    error( RtMidiError::WARNING, errorString_ );
+    return retStr;
+  }
+
+  unsigned int i;
+  for ( i=0; i<portNumber && ports[i]; i++ ) {}
+  if ( i < portNumber || !ports[portNumber] ) {
+    std::ostringstream ost;
+    ost << "MidiInJack::getPortName: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::WARNING, errorString_ );
+  }
+  else retStr.assign( ports[portNumber] );
+
+  jack_free( ports );
+  return retStr;
+}
+
+void MidiInJack :: closePort()
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  if ( data->port == NULL ) return;
+  jack_port_unregister( data->client, data->port );
+  data->port = NULL;
+
+  connected_ = false;
+}
+
+void MidiInJack:: setClientName( const std::string& )
+{
+
+  errorString_ = "MidiInJack::setClientName: this function is not implemented for the UNIX_JACK API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiInJack :: setPortName( const std::string &portName )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+#ifdef JACK_HAS_PORT_RENAME
+  jack_port_rename( data->client, data->port, portName.c_str() );
+#else
+  jack_port_set_name( data->port, portName.c_str() );
+#endif
+}
+
+//*********************************************************************//
+//  API: JACK
+//  Class Definitions: MidiOutJack
+//*********************************************************************//
+
+// Jack process callback
+static int jackProcessOut( jack_nframes_t nframes, void *arg )
+{
+  JackMidiData *data = (JackMidiData *) arg;
+  jack_midi_data_t *midiData;
+  int space;
+
+  // Is port created?
+  if ( data->port == NULL ) return 0;
+
+  void *buff = jack_port_get_buffer( data->port, nframes );
+  jack_midi_clear_buffer( buff );
+
+  while ( jack_ringbuffer_read_space( data->buffSize ) > 0 ) {
+    jack_ringbuffer_read( data->buffSize, (char *) &space, (size_t) sizeof( space ) );
+    midiData = jack_midi_event_reserve( buff, 0, space );
+
+    jack_ringbuffer_read( data->buffMessage, (char *) midiData, (size_t) space );
+  }
+
+#ifdef HAVE_SEMAPHORE
+  if ( !sem_trywait( &data->sem_needpost ) )
+    sem_post( &data->sem_cleanup );
+#endif
+
+  return 0;
+}
+
+MidiOutJack :: MidiOutJack( const std::string &clientName ) : MidiOutApi()
+{
+  MidiOutJack::initialize( clientName );
+}
+
+void MidiOutJack :: initialize( const std::string& clientName )
+{
+  JackMidiData *data = new JackMidiData;
+  apiData_ = (void *) data;
+
+  data->port = NULL;
+  data->client = NULL;
+#ifdef HAVE_SEMAPHORE
+  sem_init( &data->sem_cleanup, 0, 0 );
+  sem_init( &data->sem_needpost, 0, 0 );
+#endif
+  this->clientName = clientName;
+
+  connect();
+}
+
+void MidiOutJack :: connect()
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  if ( data->client )
+    return;
+
+  // Initialize output ringbuffers
+  data->buffSize = jack_ringbuffer_create( JACK_RINGBUFFER_SIZE );
+  data->buffMessage = jack_ringbuffer_create( JACK_RINGBUFFER_SIZE );
+
+  // Initialize JACK client
+  if ( ( data->client = jack_client_open( clientName.c_str(), JackNoStartServer, NULL ) ) == 0 ) {
+    errorString_ = "MidiOutJack::initialize: JACK server not running?";
+    error( RtMidiError::WARNING, errorString_ );
+    return;
+  }
+
+  jack_set_process_callback( data->client, jackProcessOut, data );
+  jack_activate( data->client );
+}
+
+MidiOutJack :: ~MidiOutJack()
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  MidiOutJack::closePort();
+
+  // Cleanup
+  jack_ringbuffer_free( data->buffSize );
+  jack_ringbuffer_free( data->buffMessage );
+  if ( data->client ) {
+    jack_client_close( data->client );
+  }
+
+#ifdef HAVE_SEMAPHORE
+  sem_destroy( &data->sem_cleanup );
+  sem_destroy( &data->sem_needpost );
+#endif
+
+  delete data;
+}
+
+void MidiOutJack :: openPort( unsigned int portNumber, const std::string &portName )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  connect();
+
+  // Creating new port
+  if ( data->port == NULL )
+    data->port = jack_port_register( data->client, portName.c_str(),
+                                     JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput, 0 );
+
+  if ( data->port == NULL ) {
+    errorString_ = "MidiOutJack::openPort: JACK error creating port";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+    return;
+  }
+
+  // Connecting to the output
+  std::string name = getPortName( portNumber );
+  jack_connect( data->client, jack_port_name( data->port ), name.c_str() );
+
+  connected_ = true;
+}
+
+void MidiOutJack :: openVirtualPort( const std::string &portName )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  connect();
+  if ( data->port == NULL )
+    data->port = jack_port_register( data->client, portName.c_str(),
+                                     JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput, 0 );
+
+  if ( data->port == NULL ) {
+    errorString_ = "MidiOutJack::openVirtualPort: JACK error creating virtual port";
+    error( RtMidiError::DRIVER_ERROR, errorString_ );
+  }
+}
+
+unsigned int MidiOutJack :: getPortCount()
+{
+  int count = 0;
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  connect();
+  if ( !data->client )
+    return 0;
+
+  // List of available ports
+  const char **ports = jack_get_ports( data->client, NULL,
+                                       JACK_DEFAULT_MIDI_TYPE, JackPortIsInput );
+
+  if ( ports == NULL ) return 0;
+  while ( ports[count] != NULL )
+    count++;
+
+  free( ports );
+
+  return count;
+}
+
+std::string MidiOutJack :: getPortName( unsigned int portNumber )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+  std::string retStr("");
+
+  connect();
+
+  // List of available ports
+  const char **ports = jack_get_ports( data->client, NULL,
+                                       JACK_DEFAULT_MIDI_TYPE, JackPortIsInput );
+
+  // Check port validity
+  if ( ports == NULL ) {
+    errorString_ = "MidiOutJack::getPortName: no ports available!";
+    error( RtMidiError::WARNING, errorString_ );
+    return retStr;
+  }
+
+  if ( ports[portNumber] == NULL ) {
+    std::ostringstream ost;
+    ost << "MidiOutJack::getPortName: the 'portNumber' argument (" << portNumber << ") is invalid.";
+    errorString_ = ost.str();
+    error( RtMidiError::WARNING, errorString_ );
+  }
+  else retStr.assign( ports[portNumber] );
+
+  free( ports );
+  return retStr;
+}
+
+void MidiOutJack :: closePort()
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  if ( data->port == NULL ) return;
+
+#ifdef HAVE_SEMAPHORE
+  struct timespec ts;
+  if ( clock_gettime( CLOCK_REALTIME, &ts ) != -1 ) {
+    ts.tv_sec += 1; // wait max one second
+    sem_post( &data->sem_needpost );
+    sem_timedwait( &data->sem_cleanup, &ts );
+  }
+#endif
+
+  jack_port_unregister( data->client, data->port );
+  data->port = NULL;
+
+  connected_ = false;
+}
+
+void MidiOutJack:: setClientName( const std::string& )
+{
+
+  errorString_ = "MidiOutJack::setClientName: this function is not implemented for the UNIX_JACK API!";
+  error( RtMidiError::WARNING, errorString_ );
+
+}
+
+void MidiOutJack :: setPortName( const std::string &portName )
+{
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+#ifdef JACK_HAS_PORT_RENAME
+  jack_port_rename( data->client, data->port, portName.c_str() );
+#else
+  jack_port_set_name( data->port, portName.c_str() );
+#endif
+}
+
+void MidiOutJack :: sendMessage( const unsigned char *message, size_t size )
+{
+  int nBytes = static_cast<int>(size);
+  JackMidiData *data = static_cast<JackMidiData *> (apiData_);
+
+  // Write full message to buffer
+  jack_ringbuffer_write( data->buffMessage, ( const char * ) message, nBytes );
+  jack_ringbuffer_write( data->buffSize, ( char * ) &nBytes, sizeof( nBytes ) );
+}
+
+#endif  // __UNIX_JACK__
--- /dev/null
+++ b/src/rtmidi/RtMidi.h
@@ -1,0 +1,633 @@
+/**********************************************************************/
+/*! \class RtMidi
+    \brief An abstract base class for realtime MIDI input/output.
+
+    This class implements some common functionality for the realtime
+    MIDI input/output subclasses RtMidiIn and RtMidiOut.
+
+    RtMidi GitHub site: https://github.com/thestk/rtmidi
+    RtMidi WWW site: http://www.music.mcgill.ca/~gary/rtmidi/
+
+    RtMidi: realtime MIDI i/o C++ classes
+    Copyright (c) 2003-2019 Gary P. Scavone
+
+    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.
+
+    Any person wishing to distribute modifications to the Software is
+    asked to send the modifications to the original developer so that
+    they can be incorporated into the canonical version.  This is,
+    however, not a binding provision of this license.
+
+    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.
+*/
+/**********************************************************************/
+
+/*!
+  \file RtMidi.h
+ */
+
+#ifndef RTMIDI_H
+#define RTMIDI_H
+
+#if defined _WIN32 || defined __CYGWIN__
+  #if defined(RTMIDI_EXPORT)
+    #define RTMIDI_DLL_PUBLIC __declspec(dllexport)
+  #else
+    #define RTMIDI_DLL_PUBLIC
+  #endif
+#else
+  #if __GNUC__ >= 4
+    #define RTMIDI_DLL_PUBLIC __attribute__( (visibility( "default" )) )
+  #else
+    #define RTMIDI_DLL_PUBLIC
+  #endif
+#endif
+
+#define RTMIDI_VERSION "4.0.0"
+
+#include <exception>
+#include <iostream>
+#include <string>
+#include <vector>
+
+/************************************************************************/
+/*! \class RtMidiError
+    \brief Exception handling class for RtMidi.
+
+    The RtMidiError class is quite simple but it does allow errors to be
+    "caught" by RtMidiError::Type. See the RtMidi documentation to know
+    which methods can throw an RtMidiError.
+*/
+/************************************************************************/
+
+class RTMIDI_DLL_PUBLIC RtMidiError : public std::exception
+{
+ public:
+  //! Defined RtMidiError types.
+  enum Type {
+    WARNING,           /*!< A non-critical error. */
+    DEBUG_WARNING,     /*!< A non-critical error which might be useful for debugging. */
+    UNSPECIFIED,       /*!< The default, unspecified error type. */
+    NO_DEVICES_FOUND,  /*!< No devices found on system. */
+    INVALID_DEVICE,    /*!< An invalid device ID was specified. */
+    MEMORY_ERROR,      /*!< An error occured during memory allocation. */
+    INVALID_PARAMETER, /*!< An invalid parameter was specified to a function. */
+    INVALID_USE,       /*!< The function was called incorrectly. */
+    DRIVER_ERROR,      /*!< A system driver error occured. */
+    SYSTEM_ERROR,      /*!< A system error occured. */
+    THREAD_ERROR       /*!< A thread error occured. */
+  };
+
+  //! The constructor.
+  RtMidiError( const std::string& message, Type type = RtMidiError::UNSPECIFIED ) throw()
+    : message_(message), type_(type) {}
+
+  //! The destructor.
+  virtual ~RtMidiError( void ) throw() {}
+
+  //! Prints thrown error message to stderr.
+  virtual void printMessage( void ) const throw() { std::cerr << '\n' << message_ << "\n\n"; }
+
+  //! Returns the thrown error message type.
+  virtual const Type& getType( void ) const throw() { return type_; }
+
+  //! Returns the thrown error message string.
+  virtual const std::string& getMessage( void ) const throw() { return message_; }
+
+  //! Returns the thrown error message as a c-style string.
+  virtual const char* what( void ) const throw() { return message_.c_str(); }
+
+ protected:
+  std::string message_;
+  Type type_;
+};
+
+//! RtMidi error callback function prototype.
+/*!
+    \param type Type of error.
+    \param errorText Error description.
+
+    Note that class behaviour is undefined after a critical error (not
+    a warning) is reported.
+ */
+typedef void (*RtMidiErrorCallback)( RtMidiError::Type type, const std::string &errorText, void *userData );
+
+class MidiApi;
+
+class RTMIDI_DLL_PUBLIC RtMidi
+{
+ public:
+  //! MIDI API specifier arguments.
+  enum Api {
+    UNSPECIFIED,    /*!< Search for a working compiled API. */
+    MACOSX_CORE,    /*!< Macintosh OS-X CoreMIDI API. */
+    LINUX_ALSA,     /*!< The Advanced Linux Sound Architecture API. */
+    UNIX_JACK,      /*!< The JACK Low-Latency MIDI Server API. */
+    WINDOWS_MM,     /*!< The Microsoft Multimedia MIDI API. */
+    RTMIDI_DUMMY,   /*!< A compilable but non-functional API. */
+    NUM_APIS        /*!< Number of values in this enum. */
+  };
+
+  //! A static function to determine the current RtMidi version.
+  static std::string getVersion( void ) throw();
+
+  //! A static function to determine the available compiled MIDI APIs.
+  /*!
+    The values returned in the std::vector can be compared against
+    the enumerated list values.  Note that there can be more than one
+    API compiled for certain operating systems.
+  */
+  static void getCompiledApi( std::vector<RtMidi::Api> &apis ) throw();
+
+  //! Return the name of a specified compiled MIDI API.
+  /*!
+    This obtains a short lower-case name used for identification purposes.
+    This value is guaranteed to remain identical across library versions.
+    If the API is unknown, this function will return the empty string.
+  */
+  static std::string getApiName( RtMidi::Api api );
+
+  //! Return the display name of a specified compiled MIDI API.
+  /*!
+    This obtains a long name used for display purposes.
+    If the API is unknown, this function will return the empty string.
+  */
+  static std::string getApiDisplayName( RtMidi::Api api );
+
+  //! Return the compiled MIDI API having the given name.
+  /*!
+    A case insensitive comparison will check the specified name
+    against the list of compiled APIs, and return the one which
+    matches. On failure, the function returns UNSPECIFIED.
+  */
+  static RtMidi::Api getCompiledApiByName( const std::string &name );
+
+  //! Pure virtual openPort() function.
+  virtual void openPort( unsigned int portNumber = 0, const std::string &portName = std::string( "RtMidi" ) ) = 0;
+
+  //! Pure virtual openVirtualPort() function.
+  virtual void openVirtualPort( const std::string &portName = std::string( "RtMidi" ) ) = 0;
+
+  //! Pure virtual getPortCount() function.
+  virtual unsigned int getPortCount() = 0;
+
+  //! Pure virtual getPortName() function.
+  virtual std::string getPortName( unsigned int portNumber = 0 ) = 0;
+
+  //! Pure virtual closePort() function.
+  virtual void closePort( void ) = 0;
+
+  void setClientName( const std::string &clientName );
+  void setPortName( const std::string &portName );
+
+  //! Returns true if a port is open and false if not.
+  /*!
+      Note that this only applies to connections made with the openPort()
+      function, not to virtual ports.
+  */
+  virtual bool isPortOpen( void ) const = 0;
+
+  //! Set an error callback function to be invoked when an error has occured.
+  /*!
+    The callback function will be called whenever an error has occured. It is best
+    to set the error callback function before opening a port.
+  */
+  virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 ) = 0;
+
+ protected:
+  RtMidi();
+  virtual ~RtMidi();
+  MidiApi *rtapi_;
+};
+
+/**********************************************************************/
+/*! \class RtMidiIn
+    \brief A realtime MIDI input class.
+
+    This class provides a common, platform-independent API for
+    realtime MIDI input.  It allows access to a single MIDI input
+    port.  Incoming MIDI messages are either saved to a queue for
+    retrieval using the getMessage() function or immediately passed to
+    a user-specified callback function.  Create multiple instances of
+    this class to connect to more than one MIDI device at the same
+    time.  With the OS-X, Linux ALSA, and JACK MIDI APIs, it is also
+    possible to open a virtual input port to which other MIDI software
+    clients can connect.
+
+    by Gary P. Scavone, 2003-2017.
+*/
+/**********************************************************************/
+
+// **************************************************************** //
+//
+// RtMidiIn and RtMidiOut class declarations.
+//
+// RtMidiIn / RtMidiOut are "controllers" used to select an available
+// MIDI input or output interface.  They present common APIs for the
+// user to call but all functionality is implemented by the classes
+// MidiInApi, MidiOutApi and their subclasses.  RtMidiIn and RtMidiOut
+// each create an instance of a MidiInApi or MidiOutApi subclass based
+// on the user's API choice.  If no choice is made, they attempt to
+// make a "logical" API selection.
+//
+// **************************************************************** //
+
+class RTMIDI_DLL_PUBLIC RtMidiIn : public RtMidi
+{
+ public:
+
+  //! User callback function type definition.
+  typedef void (*RtMidiCallback)( double timeStamp, std::vector<unsigned char> *message, void *userData );
+
+  //! Default constructor that allows an optional api, client name and queue size.
+  /*!
+    An exception will be thrown if a MIDI system initialization
+    error occurs.  The queue size defines the maximum number of
+    messages that can be held in the MIDI queue (when not using a
+    callback function).  If the queue size limit is reached,
+    incoming messages will be ignored.
+
+    If no API argument is specified and multiple API support has been
+    compiled, the default order of use is ALSA, JACK (Linux) and CORE,
+    JACK (OS-X).
+
+    \param api        An optional API id can be specified.
+    \param clientName An optional client name can be specified. This
+                      will be used to group the ports that are created
+                      by the application.
+    \param queueSizeLimit An optional size of the MIDI input queue can be specified.
+  */
+  RtMidiIn( RtMidi::Api api=UNSPECIFIED,
+            const std::string& clientName = "RtMidi Input Client",
+            unsigned int queueSizeLimit = 100 );
+
+  //! If a MIDI connection is still open, it will be closed by the destructor.
+  ~RtMidiIn ( void ) throw();
+
+  //! Returns the MIDI API specifier for the current instance of RtMidiIn.
+  RtMidi::Api getCurrentApi( void ) throw();
+
+  //! Open a MIDI input connection given by enumeration number.
+  /*!
+    \param portNumber An optional port number greater than 0 can be specified.
+                      Otherwise, the default or first port found is opened.
+    \param portName An optional name for the application port that is used to connect to portId can be specified.
+  */
+  void openPort( unsigned int portNumber = 0, const std::string &portName = std::string( "RtMidi Input" ) );
+
+  //! Create a virtual input port, with optional name, to allow software connections (OS X, JACK and ALSA only).
+  /*!
+    This function creates a virtual MIDI input port to which other
+    software applications can connect.  This type of functionality
+    is currently only supported by the Macintosh OS-X, any JACK,
+    and Linux ALSA APIs (the function returns an error for the other APIs).
+
+    \param portName An optional name for the application port that is
+                    used to connect to portId can be specified.
+  */
+  void openVirtualPort( const std::string &portName = std::string( "RtMidi Input" ) );
+
+  //! Set a callback function to be invoked for incoming MIDI messages.
+  /*!
+    The callback function will be called whenever an incoming MIDI
+    message is received.  While not absolutely necessary, it is best
+    to set the callback function before opening a MIDI port to avoid
+    leaving some messages in the queue.
+
+    \param callback A callback function must be given.
+    \param userData Optionally, a pointer to additional data can be
+                    passed to the callback function whenever it is called.
+  */
+  void setCallback( RtMidiCallback callback, void *userData = 0 );
+
+  //! Cancel use of the current callback function (if one exists).
+  /*!
+    Subsequent incoming MIDI messages will be written to the queue
+    and can be retrieved with the \e getMessage function.
+  */
+  void cancelCallback();
+
+  //! Close an open MIDI connection (if one exists).
+  void closePort( void );
+
+  //! Returns true if a port is open and false if not.
+  /*!
+      Note that this only applies to connections made with the openPort()
+      function, not to virtual ports.
+  */
+  virtual bool isPortOpen() const;
+
+  //! Return the number of available MIDI input ports.
+  /*!
+    \return This function returns the number of MIDI ports of the selected API.
+  */
+  unsigned int getPortCount();
+
+  //! Return a string identifier for the specified MIDI input port number.
+  /*!
+    \return The name of the port with the given Id is returned.
+    \retval An empty string is returned if an invalid port specifier
+            is provided. User code should assume a UTF-8 encoding.
+  */
+  std::string getPortName( unsigned int portNumber = 0 );
+
+  //! Specify whether certain MIDI message types should be queued or ignored during input.
+  /*!
+    By default, MIDI timing and active sensing messages are ignored
+    during message input because of their relative high data rates.
+    MIDI sysex messages are ignored by default as well.  Variable
+    values of "true" imply that the respective message type will be
+    ignored.
+  */
+  void ignoreTypes( bool midiSysex = true, bool midiTime = true, bool midiSense = true );
+
+  //! Fill the user-provided vector with the data bytes for the next available MIDI message in the input queue and return the event delta-time in seconds.
+  /*!
+    This function returns immediately whether a new message is
+    available or not.  A valid message is indicated by a non-zero
+    vector size.  An exception is thrown if an error occurs during
+    message retrieval or an input connection was not previously
+    established.
+  */
+  double getMessage( std::vector<unsigned char> *message );
+
+  //! Set an error callback function to be invoked when an error has occured.
+  /*!
+    The callback function will be called whenever an error has occured. It is best
+    to set the error callback function before opening a port.
+  */
+  virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
+
+ protected:
+  void openMidiApi( RtMidi::Api api, const std::string &clientName, unsigned int queueSizeLimit );
+};
+
+/**********************************************************************/
+/*! \class RtMidiOut
+    \brief A realtime MIDI output class.
+
+    This class provides a common, platform-independent API for MIDI
+    output.  It allows one to probe available MIDI output ports, to
+    connect to one such port, and to send MIDI bytes immediately over
+    the connection.  Create multiple instances of this class to
+    connect to more than one MIDI device at the same time.  With the
+    OS-X, Linux ALSA and JACK MIDI APIs, it is also possible to open a
+    virtual port to which other MIDI software clients can connect.
+
+    by Gary P. Scavone, 2003-2017.
+*/
+/**********************************************************************/
+
+class RTMIDI_DLL_PUBLIC RtMidiOut : public RtMidi
+{
+ public:
+  //! Default constructor that allows an optional client name.
+  /*!
+    An exception will be thrown if a MIDI system initialization error occurs.
+
+    If no API argument is specified and multiple API support has been
+    compiled, the default order of use is ALSA, JACK (Linux) and CORE,
+    JACK (OS-X).
+  */
+  RtMidiOut( RtMidi::Api api=UNSPECIFIED,
+             const std::string& clientName = "RtMidi Output Client" );
+
+  //! The destructor closes any open MIDI connections.
+  ~RtMidiOut( void ) throw();
+
+  //! Returns the MIDI API specifier for the current instance of RtMidiOut.
+  RtMidi::Api getCurrentApi( void ) throw();
+
+  //! Open a MIDI output connection.
+  /*!
+      An optional port number greater than 0 can be specified.
+      Otherwise, the default or first port found is opened.  An
+      exception is thrown if an error occurs while attempting to make
+      the port connection.
+  */
+  void openPort( unsigned int portNumber = 0, const std::string &portName = std::string( "RtMidi Output" ) );
+
+  //! Close an open MIDI connection (if one exists).
+  void closePort( void );
+
+  //! Returns true if a port is open and false if not.
+  /*!
+      Note that this only applies to connections made with the openPort()
+      function, not to virtual ports.
+  */
+  virtual bool isPortOpen() const;
+
+  //! Create a virtual output port, with optional name, to allow software connections (OS X, JACK and ALSA only).
+  /*!
+      This function creates a virtual MIDI output port to which other
+      software applications can connect.  This type of functionality
+      is currently only supported by the Macintosh OS-X, Linux ALSA
+      and JACK APIs (the function does nothing with the other APIs).
+      An exception is thrown if an error occurs while attempting to
+      create the virtual port.
+  */
+  void openVirtualPort( const std::string &portName = std::string( "RtMidi Output" ) );
+
+  //! Return the number of available MIDI output ports.
+  unsigned int getPortCount( void );
+
+  //! Return a string identifier for the specified MIDI port type and number.
+  /*!
+    \return The name of the port with the given Id is returned.
+    \retval An empty string is returned if an invalid port specifier
+            is provided. User code should assume a UTF-8 encoding.
+  */
+  std::string getPortName( unsigned int portNumber = 0 );
+
+  //! Immediately send a single message out an open MIDI output port.
+  /*!
+      An exception is thrown if an error occurs during output or an
+      output connection was not previously established.
+  */
+  void sendMessage( const std::vector<unsigned char> *message );
+
+  //! Immediately send a single message out an open MIDI output port.
+  /*!
+      An exception is thrown if an error occurs during output or an
+      output connection was not previously established.
+
+      \param message A pointer to the MIDI message as raw bytes
+      \param size    Length of the MIDI message in bytes
+  */
+  void sendMessage( const unsigned char *message, size_t size );
+
+  //! Set an error callback function to be invoked when an error has occured.
+  /*!
+    The callback function will be called whenever an error has occured. It is best
+    to set the error callback function before opening a port.
+  */
+  virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
+
+ protected:
+  void openMidiApi( RtMidi::Api api, const std::string &clientName );
+};
+
+
+// **************************************************************** //
+//
+// MidiInApi / MidiOutApi class declarations.
+//
+// Subclasses of MidiInApi and MidiOutApi contain all API- and
+// OS-specific code necessary to fully implement the RtMidi API.
+//
+// Note that MidiInApi and MidiOutApi are abstract base classes and
+// cannot be explicitly instantiated.  RtMidiIn and RtMidiOut will
+// create instances of a MidiInApi or MidiOutApi subclass.
+//
+// **************************************************************** //
+
+class RTMIDI_DLL_PUBLIC MidiApi
+{
+ public:
+
+  MidiApi();
+  virtual ~MidiApi();
+  virtual RtMidi::Api getCurrentApi( void ) = 0;
+  virtual void openPort( unsigned int portNumber, const std::string &portName ) = 0;
+  virtual void openVirtualPort( const std::string &portName ) = 0;
+  virtual void closePort( void ) = 0;
+  virtual void setClientName( const std::string &clientName ) = 0;
+  virtual void setPortName( const std::string &portName ) = 0;
+
+  virtual unsigned int getPortCount( void ) = 0;
+  virtual std::string getPortName( unsigned int portNumber ) = 0;
+
+  inline bool isPortOpen() const { return connected_; }
+  void setErrorCallback( RtMidiErrorCallback errorCallback, void *userData );
+
+  //! A basic error reporting function for RtMidi classes.
+  void error( RtMidiError::Type type, std::string errorString );
+
+protected:
+  virtual void initialize( const std::string& clientName ) = 0;
+
+  void *apiData_;
+  bool connected_;
+  std::string errorString_;
+  RtMidiErrorCallback errorCallback_;
+  bool firstErrorOccurred_;
+  void *errorCallbackUserData_;
+};
+
+class RTMIDI_DLL_PUBLIC MidiInApi : public MidiApi
+{
+ public:
+
+  MidiInApi( unsigned int queueSizeLimit );
+  virtual ~MidiInApi( void );
+  void setCallback( RtMidiIn::RtMidiCallback callback, void *userData );
+  void cancelCallback( void );
+  virtual void ignoreTypes( bool midiSysex, bool midiTime, bool midiSense );
+  double getMessage( std::vector<unsigned char> *message );
+
+  // A MIDI structure used internally by the class to store incoming
+  // messages.  Each message represents one and only one MIDI message.
+  struct MidiMessage {
+    std::vector<unsigned char> bytes;
+
+    //! Time in seconds elapsed since the previous message
+    double timeStamp;
+
+    // Default constructor.
+    MidiMessage()
+      : bytes(0), timeStamp(0.0) {}
+  };
+
+  struct MidiQueue {
+    unsigned int front;
+    unsigned int back;
+    unsigned int ringSize;
+    MidiMessage *ring;
+
+    // Default constructor.
+    MidiQueue()
+      : front(0), back(0), ringSize(0), ring(0) {}
+    bool push( const MidiMessage& );
+    bool pop( std::vector<unsigned char>*, double* );
+    unsigned int size( unsigned int *back=0, unsigned int *front=0 );
+  };
+
+  // The RtMidiInData structure is used to pass private class data to
+  // the MIDI input handling function or thread.
+  struct RtMidiInData {
+    MidiQueue queue;
+    MidiMessage message;
+    unsigned char ignoreFlags;
+    bool doInput;
+    bool firstMessage;
+    void *apiData;
+    bool usingCallback;
+    RtMidiIn::RtMidiCallback userCallback;
+    void *userData;
+    bool continueSysex;
+
+    // Default constructor.
+    RtMidiInData()
+      : ignoreFlags(7), doInput(false), firstMessage(true), apiData(0), usingCallback(false),
+        userCallback(0), userData(0), continueSysex(false) {}
+  };
+
+ protected:
+  RtMidiInData inputData_;
+};
+
+class RTMIDI_DLL_PUBLIC MidiOutApi : public MidiApi
+{
+ public:
+
+  MidiOutApi( void );
+  virtual ~MidiOutApi( void );
+  virtual void sendMessage( const unsigned char *message, size_t size ) = 0;
+};
+
+// **************************************************************** //
+//
+// Inline RtMidiIn and RtMidiOut definitions.
+//
+// **************************************************************** //
+
+inline RtMidi::Api RtMidiIn :: getCurrentApi( void ) throw() { return rtapi_->getCurrentApi(); }
+inline void RtMidiIn :: openPort( unsigned int portNumber, const std::string &portName ) { rtapi_->openPort( portNumber, portName ); }
+inline void RtMidiIn :: openVirtualPort( const std::string &portName ) { rtapi_->openVirtualPort( portName ); }
+inline void RtMidiIn :: closePort( void ) { rtapi_->closePort(); }
+inline bool RtMidiIn :: isPortOpen() const { return rtapi_->isPortOpen(); }
+inline void RtMidiIn :: setCallback( RtMidiCallback callback, void *userData ) { static_cast<MidiInApi *>(rtapi_)->setCallback( callback, userData ); }
+inline void RtMidiIn :: cancelCallback( void ) { static_cast<MidiInApi *>(rtapi_)->cancelCallback(); }
+inline unsigned int RtMidiIn :: getPortCount( void ) { return rtapi_->getPortCount(); }
+inline std::string RtMidiIn :: getPortName( unsigned int portNumber ) { return rtapi_->getPortName( portNumber ); }
+inline void RtMidiIn :: ignoreTypes( bool midiSysex, bool midiTime, bool midiSense ) { static_cast<MidiInApi *>(rtapi_)->ignoreTypes( midiSysex, midiTime, midiSense ); }
+inline double RtMidiIn :: getMessage( std::vector<unsigned char> *message ) { return static_cast<MidiInApi *>(rtapi_)->getMessage( message ); }
+inline void RtMidiIn :: setErrorCallback( RtMidiErrorCallback errorCallback, void *userData ) { rtapi_->setErrorCallback(errorCallback, userData); }
+
+inline RtMidi::Api RtMidiOut :: getCurrentApi( void ) throw() { return rtapi_->getCurrentApi(); }
+inline void RtMidiOut :: openPort( unsigned int portNumber, const std::string &portName ) { rtapi_->openPort( portNumber, portName ); }
+inline void RtMidiOut :: openVirtualPort( const std::string &portName ) { rtapi_->openVirtualPort( portName ); }
+inline void RtMidiOut :: closePort( void ) { rtapi_->closePort(); }
+inline bool RtMidiOut :: isPortOpen() const { return rtapi_->isPortOpen(); }
+inline unsigned int RtMidiOut :: getPortCount( void ) { return rtapi_->getPortCount(); }
+inline std::string RtMidiOut :: getPortName( unsigned int portNumber ) { return rtapi_->getPortName( portNumber ); }
+inline void RtMidiOut :: sendMessage( const std::vector<unsigned char> *message ) { static_cast<MidiOutApi *>(rtapi_)->sendMessage( &message->at(0), message->size() ); }
+inline void RtMidiOut :: sendMessage( const unsigned char *message, size_t size ) { static_cast<MidiOutApi *>(rtapi_)->sendMessage( message, size ); }
+inline void RtMidiOut :: setErrorCallback( RtMidiErrorCallback errorCallback, void *userData ) { rtapi_->setErrorCallback(errorCallback, userData); }
+
+#endif
--- /dev/null
+++ b/src/rtmidi/rtmidi_c.cpp
@@ -1,0 +1,362 @@
+#include <string.h>
+#include <stdlib.h>
+#include "rtmidi_c.h"
+#include "RtMidi.h"
+
+/* Compile-time assertions that will break if the enums are changed in
+ * the future without synchronizing them properly.  If you get (g++)
+ * "error: ‘StaticAssert<b>::StaticAssert() [with bool b = false]’ is
+ * private within this context", it means enums are not aligned. */
+template<bool b> class StaticAssert { private: StaticAssert() {} };
+template<> class StaticAssert<true>{ public: StaticAssert() {} };
+#define ENUM_EQUAL(x,y) StaticAssert<(int)x==(int)y>()
+class StaticAssertions { StaticAssertions() {
+    ENUM_EQUAL( RTMIDI_API_UNSPECIFIED,     RtMidi::UNSPECIFIED );
+    ENUM_EQUAL( RTMIDI_API_MACOSX_CORE,     RtMidi::MACOSX_CORE );
+    ENUM_EQUAL( RTMIDI_API_LINUX_ALSA,      RtMidi::LINUX_ALSA );
+    ENUM_EQUAL( RTMIDI_API_UNIX_JACK,       RtMidi::UNIX_JACK );
+    ENUM_EQUAL( RTMIDI_API_WINDOWS_MM,      RtMidi::WINDOWS_MM );
+    ENUM_EQUAL( RTMIDI_API_RTMIDI_DUMMY,    RtMidi::RTMIDI_DUMMY );
+
+    ENUM_EQUAL( RTMIDI_ERROR_WARNING,            RtMidiError::WARNING );
+    ENUM_EQUAL( RTMIDI_ERROR_DEBUG_WARNING,      RtMidiError::DEBUG_WARNING );
+    ENUM_EQUAL( RTMIDI_ERROR_UNSPECIFIED,        RtMidiError::UNSPECIFIED );
+    ENUM_EQUAL( RTMIDI_ERROR_NO_DEVICES_FOUND,   RtMidiError::NO_DEVICES_FOUND );
+    ENUM_EQUAL( RTMIDI_ERROR_INVALID_DEVICE,     RtMidiError::INVALID_DEVICE );
+    ENUM_EQUAL( RTMIDI_ERROR_MEMORY_ERROR,       RtMidiError::MEMORY_ERROR );
+    ENUM_EQUAL( RTMIDI_ERROR_INVALID_PARAMETER,  RtMidiError::INVALID_PARAMETER );
+    ENUM_EQUAL( RTMIDI_ERROR_INVALID_USE,        RtMidiError::INVALID_USE );
+    ENUM_EQUAL( RTMIDI_ERROR_DRIVER_ERROR,       RtMidiError::DRIVER_ERROR );
+    ENUM_EQUAL( RTMIDI_ERROR_SYSTEM_ERROR,       RtMidiError::SYSTEM_ERROR );
+    ENUM_EQUAL( RTMIDI_ERROR_THREAD_ERROR,       RtMidiError::THREAD_ERROR );
+}};
+
+class CallbackProxyUserData
+{
+  public:
+	CallbackProxyUserData (RtMidiCCallback cCallback, void *userData)
+		: c_callback (cCallback), user_data (userData)
+	{
+	}
+	RtMidiCCallback c_callback;
+	void *user_data;
+};
+
+extern "C" const enum RtMidiApi rtmidi_compiled_apis[]; // casting from RtMidi::Api[]
+extern "C" const unsigned int rtmidi_num_compiled_apis;
+
+/* RtMidi API */
+int rtmidi_get_compiled_api (enum RtMidiApi *apis, unsigned int apis_size)
+{
+    unsigned num = rtmidi_num_compiled_apis;
+    if (apis) {
+        num = (num < apis_size) ? num : apis_size;
+        memcpy(apis, rtmidi_compiled_apis, num * sizeof(enum RtMidiApi));
+    }
+    return (int)num;
+}
+
+extern "C" const char* rtmidi_api_names[][2];
+const char *rtmidi_api_name(enum RtMidiApi api) {
+    if (api < 0 || api >= RTMIDI_API_NUM)
+        return NULL;
+    return rtmidi_api_names[api][0];
+}
+
+const char *rtmidi_api_display_name(enum RtMidiApi api)
+{
+    if (api < 0 || api >= RTMIDI_API_NUM)
+        return "Unknown";
+    return rtmidi_api_names[api][1];
+}
+
+enum RtMidiApi rtmidi_compiled_api_by_name(const char *name) {
+    RtMidi::Api api = RtMidi::UNSPECIFIED;
+    if (name) {
+        api = RtMidi::getCompiledApiByName(name);
+    }
+    return (enum RtMidiApi)api;
+}
+
+void rtmidi_error (MidiApi *api, enum RtMidiErrorType type, const char* errorString)
+{
+	std::string msg = errorString;
+	api->error ((RtMidiError::Type) type, msg);
+}
+
+void rtmidi_open_port (RtMidiPtr device, unsigned int portNumber, const char *portName)
+{
+    std::string name = portName;
+    try {
+        ((RtMidi*) device->ptr)->openPort (portNumber, name);
+    
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+    }
+}
+
+void rtmidi_open_virtual_port (RtMidiPtr device, const char *portName)
+{
+    std::string name = portName;
+    try {
+        ((RtMidi*) device->ptr)->openVirtualPort (name);
+    
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+    }
+
+}
+
+void rtmidi_close_port (RtMidiPtr device)
+{
+    try { 
+        ((RtMidi*) device->ptr)->closePort ();
+
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+    }
+}
+
+unsigned int rtmidi_get_port_count (RtMidiPtr device)
+{
+    try {
+        return ((RtMidi*) device->ptr)->getPortCount ();
+
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+        return -1;
+    }
+}
+
+const char* rtmidi_get_port_name (RtMidiPtr device, unsigned int portNumber)
+{
+    try {
+        std::string name = ((RtMidi*) device->ptr)->getPortName (portNumber);
+        return strdup (name.c_str ());
+    
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+        return "";
+    }
+}
+
+/* RtMidiIn API */
+RtMidiInPtr rtmidi_in_create_default ()
+{
+    RtMidiWrapper* wrp = new RtMidiWrapper;
+    
+    try {
+        RtMidiIn* rIn = new RtMidiIn ();
+        
+        wrp->ptr = (void*) rIn;
+        wrp->data = 0;
+        wrp->ok  = true;
+        wrp->msg = "";
+    
+    } catch (const RtMidiError & err) {
+        wrp->ptr = 0;
+        wrp->data = 0;
+        wrp->ok  = false;
+        wrp->msg = err.what ();
+    }
+
+    return wrp;
+}
+
+RtMidiInPtr rtmidi_in_create (enum RtMidiApi api, const char *clientName, unsigned int queueSizeLimit)
+{
+    std::string name = clientName;
+    RtMidiWrapper* wrp = new RtMidiWrapper;
+    
+    try {
+        RtMidiIn* rIn = new RtMidiIn ((RtMidi::Api) api, name, queueSizeLimit);
+        
+        wrp->ptr = (void*) rIn;
+        wrp->data = 0;
+        wrp->ok  = true;
+        wrp->msg = "";
+
+    } catch (const RtMidiError & err) {
+        wrp->ptr = 0;
+        wrp->data = 0;
+        wrp->ok  = false;
+        wrp->msg = err.what ();
+    }
+
+    return wrp;
+}
+
+void rtmidi_in_free (RtMidiInPtr device)
+{
+    if (device->data)
+      delete (CallbackProxyUserData*) device->data;
+    delete (RtMidiIn*) device->ptr;
+    delete device;
+}
+
+enum RtMidiApi rtmidi_in_get_current_api (RtMidiPtr device)
+{
+    try {
+        return (RtMidiApi) ((RtMidiIn*) device->ptr)->getCurrentApi ();
+    
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+
+        return RTMIDI_API_UNSPECIFIED;
+    }
+}
+
+static
+void callback_proxy (double timeStamp, std::vector<unsigned char> *message, void *userData)
+{
+	CallbackProxyUserData* data = reinterpret_cast<CallbackProxyUserData*> (userData);
+	data->c_callback (timeStamp, message->data (), message->size (), data->user_data);
+}
+
+void rtmidi_in_set_callback (RtMidiInPtr device, RtMidiCCallback callback, void *userData)
+{
+    device->data = (void*) new CallbackProxyUserData (callback, userData);
+    try {
+        ((RtMidiIn*) device->ptr)->setCallback (callback_proxy, device->data);
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+        delete (CallbackProxyUserData*) device->data;
+        device->data = 0;
+    }
+}
+
+void rtmidi_in_cancel_callback (RtMidiInPtr device)
+{
+    try {
+        ((RtMidiIn*) device->ptr)->cancelCallback ();
+        delete (CallbackProxyUserData*) device->data;
+        device->data = 0;
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+    }
+}
+
+void rtmidi_in_ignore_types (RtMidiInPtr device, bool midiSysex, bool midiTime, bool midiSense)
+{
+	((RtMidiIn*) device->ptr)->ignoreTypes (midiSysex, midiTime, midiSense);
+}
+
+double rtmidi_in_get_message (RtMidiInPtr device, 
+                              unsigned char *message,
+                              size_t *size)
+{
+    try {
+        // FIXME: use allocator to achieve efficient buffering
+        std::vector<unsigned char> v;
+        double ret = ((RtMidiIn*) device->ptr)->getMessage (&v);
+
+        if (v.size () > 0 && v.size() <= *size) {
+            memcpy (message, v.data (), (int) v.size ());
+        }
+
+        *size = v.size();
+        return ret;
+    } 
+    catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+        return -1;
+    }
+    catch (...) {
+        device->ok  = false;
+        device->msg = "Unknown error";
+        return -1;
+    }
+}
+
+/* RtMidiOut API */
+RtMidiOutPtr rtmidi_out_create_default ()
+{
+    RtMidiWrapper* wrp = new RtMidiWrapper;
+
+    try {
+        RtMidiOut* rOut = new RtMidiOut ();
+        
+        wrp->ptr = (void*) rOut;
+        wrp->data = 0;
+        wrp->ok  = true;
+        wrp->msg = "";
+    
+    } catch (const RtMidiError & err) {
+        wrp->ptr = 0;
+        wrp->data = 0;
+        wrp->ok  = false;
+        wrp->msg = err.what ();
+    }
+
+    return wrp;
+}
+
+RtMidiOutPtr rtmidi_out_create (enum RtMidiApi api, const char *clientName)
+{
+    RtMidiWrapper* wrp = new RtMidiWrapper;
+    std::string name = clientName;
+
+    try {
+        RtMidiOut* rOut = new RtMidiOut ((RtMidi::Api) api, name);
+        
+        wrp->ptr = (void*) rOut;
+        wrp->data = 0;
+        wrp->ok  = true;
+        wrp->msg = "";
+    
+    } catch (const RtMidiError & err) {
+        wrp->ptr = 0;
+        wrp->data = 0;
+        wrp->ok  = false;
+        wrp->msg = err.what ();
+    }
+
+
+    return wrp;
+}
+
+void rtmidi_out_free (RtMidiOutPtr device)
+{
+    delete (RtMidiOut*) device->ptr;
+    delete device;
+}
+
+enum RtMidiApi rtmidi_out_get_current_api (RtMidiPtr device)
+{
+    try {
+        return (RtMidiApi) ((RtMidiOut*) device->ptr)->getCurrentApi ();
+
+    } catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+
+        return RTMIDI_API_UNSPECIFIED;
+    }
+}
+
+int rtmidi_out_send_message (RtMidiOutPtr device, const unsigned char *message, int length)
+{
+    try {
+        ((RtMidiOut*) device->ptr)->sendMessage (message, length);
+        return 0;
+    }
+    catch (const RtMidiError & err) {
+        device->ok  = false;
+        device->msg = err.what ();
+        return -1;
+    }
+    catch (...) {
+        device->ok  = false;
+        device->msg = "Unknown error";
+        return -1;
+    }
+}
--- /dev/null
+++ b/src/rtmidi/rtmidi_c.h
@@ -1,0 +1,246 @@
+/************************************************************************/
+/*! \defgroup C-interface
+    @{
+
+    \brief C interface to realtime MIDI input/output C++ classes.
+
+    RtMidi offers a C-style interface, principally for use in binding
+    RtMidi to other programming languages.  All structs, enums, and
+    functions listed here have direct analogs (and simply call to)
+    items in the C++ RtMidi class and its supporting classes and
+    types
+*/
+/************************************************************************/
+
+/*!
+  \file rtmidi_c.h
+ */
+
+#include <stdbool.h>
+#include <stddef.h>
+#ifndef RTMIDI_C_H
+#define RTMIDI_C_H
+
+#if defined(RTMIDI_EXPORT)
+#if defined _WIN32 || defined __CYGWIN__
+#define RTMIDIAPI __declspec(dllexport)
+#else
+#define RTMIDIAPI __attribute__((visibility("default")))
+#endif
+#else
+#define RTMIDIAPI //__declspec(dllimport)
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+//! \brief Wraps an RtMidi object for C function return statuses.
+struct RtMidiWrapper {
+    //! The wrapped RtMidi object.
+    void* ptr;
+    void* data;
+
+    //! True when the last function call was OK. 
+    bool  ok;
+
+    //! If an error occured (ok != true), set to an error message.
+    const char* msg;
+};
+
+//! \brief Typedef for a generic RtMidi pointer.
+typedef struct RtMidiWrapper* RtMidiPtr;
+
+//! \brief Typedef for a generic RtMidiIn pointer.
+typedef struct RtMidiWrapper* RtMidiInPtr;
+
+//! \brief Typedef for a generic RtMidiOut pointer.
+typedef struct RtMidiWrapper* RtMidiOutPtr;
+
+//! \brief MIDI API specifier arguments.  See \ref RtMidi::Api.
+enum RtMidiApi {
+    RTMIDI_API_UNSPECIFIED,    /*!< Search for a working compiled API. */
+    RTMIDI_API_MACOSX_CORE,    /*!< Macintosh OS-X CoreMIDI API. */
+    RTMIDI_API_LINUX_ALSA,     /*!< The Advanced Linux Sound Architecture API. */
+    RTMIDI_API_UNIX_JACK,      /*!< The Jack Low-Latency MIDI Server API. */
+    RTMIDI_API_WINDOWS_MM,     /*!< The Microsoft Multimedia MIDI API. */
+    RTMIDI_API_RTMIDI_DUMMY,   /*!< A compilable but non-functional API. */
+    RTMIDI_API_NUM             /*!< Number of values in this enum. */
+};
+
+//! \brief Defined RtMidiError types. See \ref RtMidiError::Type.
+enum RtMidiErrorType {
+  RTMIDI_ERROR_WARNING,           /*!< A non-critical error. */
+  RTMIDI_ERROR_DEBUG_WARNING,     /*!< A non-critical error which might be useful for debugging. */
+  RTMIDI_ERROR_UNSPECIFIED,       /*!< The default, unspecified error type. */
+  RTMIDI_ERROR_NO_DEVICES_FOUND,  /*!< No devices found on system. */
+  RTMIDI_ERROR_INVALID_DEVICE,    /*!< An invalid device ID was specified. */
+  RTMIDI_ERROR_MEMORY_ERROR,      /*!< An error occured during memory allocation. */
+  RTMIDI_ERROR_INVALID_PARAMETER, /*!< An invalid parameter was specified to a function. */
+  RTMIDI_ERROR_INVALID_USE,       /*!< The function was called incorrectly. */
+  RTMIDI_ERROR_DRIVER_ERROR,      /*!< A system driver error occured. */
+  RTMIDI_ERROR_SYSTEM_ERROR,      /*!< A system error occured. */
+  RTMIDI_ERROR_THREAD_ERROR       /*!< A thread error occured. */
+};
+
+/*! \brief The type of a RtMidi callback function.
+ *
+ * \param timeStamp   The time at which the message has been received.
+ * \param message     The midi message.
+ * \param userData    Additional user data for the callback.
+ *
+ * See \ref RtMidiIn::RtMidiCallback.
+ */
+typedef void(* RtMidiCCallback) (double timeStamp, const unsigned char* message,
+                                 size_t messageSize, void *userData);
+
+
+/* RtMidi API */
+
+/*! \brief Determine the available compiled MIDI APIs.
+ *
+ * If the given `apis` parameter is null, returns the number of available APIs.
+ * Otherwise, fill the given apis array with the RtMidi::Api values.
+ *
+ * \param apis  An array or a null value.
+ * \param apis_size  Number of elements pointed to by apis
+ * \return number of items needed for apis array if apis==NULL, or
+ *         number of items written to apis array otherwise.  A negative
+ *         return value indicates an error.
+ *
+ * See \ref RtMidi::getCompiledApi().
+*/
+RTMIDIAPI int rtmidi_get_compiled_api (enum RtMidiApi *apis, unsigned int apis_size);
+
+//! \brief Return the name of a specified compiled MIDI API.
+//! See \ref RtMidi::getApiName().
+RTMIDIAPI const char *rtmidi_api_name(enum RtMidiApi api);
+
+//! \brief Return the display name of a specified compiled MIDI API.
+//! See \ref RtMidi::getApiDisplayName().
+RTMIDIAPI const char *rtmidi_api_display_name(enum RtMidiApi api);
+
+//! \brief Return the compiled MIDI API having the given name.
+//! See \ref RtMidi::getCompiledApiByName().
+RTMIDIAPI enum RtMidiApi rtmidi_compiled_api_by_name(const char *name);
+
+//! \internal Report an error.
+RTMIDIAPI void rtmidi_error (enum RtMidiErrorType type, const char* errorString);
+
+/*! \brief Open a MIDI port.
+ *
+ * \param port      Must be greater than 0
+ * \param portName  Name for the application port.
+ *
+ * See RtMidi::openPort().
+ */
+RTMIDIAPI void rtmidi_open_port (RtMidiPtr device, unsigned int portNumber, const char *portName);
+
+/*! \brief Creates a virtual MIDI port to which other software applications can 
+ * connect.  
+ *
+ * \param portName  Name for the application port.
+ *
+ * See RtMidi::openVirtualPort().
+ */
+RTMIDIAPI void rtmidi_open_virtual_port (RtMidiPtr device, const char *portName);
+
+/*! \brief Close a MIDI connection.
+ * See RtMidi::closePort().
+ */
+RTMIDIAPI void rtmidi_close_port (RtMidiPtr device);
+
+/*! \brief Return the number of available MIDI ports.
+ * See RtMidi::getPortCount().
+ */
+RTMIDIAPI unsigned int rtmidi_get_port_count (RtMidiPtr device);
+
+/*! \brief Return a string identifier for the specified MIDI input port number.
+ * See RtMidi::getPortName().
+ */
+RTMIDIAPI const char* rtmidi_get_port_name (RtMidiPtr device, unsigned int portNumber);
+
+/* RtMidiIn API */
+
+//! \brief Create a default RtMidiInPtr value, with no initialization.
+RTMIDIAPI RtMidiInPtr rtmidi_in_create_default (void);
+
+/*! \brief Create a  RtMidiInPtr value, with given api, clientName and queueSizeLimit.
+ *
+ *  \param api            An optional API id can be specified.
+ *  \param clientName     An optional client name can be specified. This
+ *                        will be used to group the ports that are created
+ *                        by the application.
+ *  \param queueSizeLimit An optional size of the MIDI input queue can be
+ *                        specified.
+ *
+ * See RtMidiIn::RtMidiIn().
+ */
+RTMIDIAPI RtMidiInPtr rtmidi_in_create (enum RtMidiApi api, const char *clientName, unsigned int queueSizeLimit);
+
+//! \brief Free the given RtMidiInPtr.
+RTMIDIAPI void rtmidi_in_free (RtMidiInPtr device);
+
+//! \brief Returns the MIDI API specifier for the given instance of RtMidiIn.
+//! See \ref RtMidiIn::getCurrentApi().
+RTMIDIAPI enum RtMidiApi rtmidi_in_get_current_api (RtMidiPtr device);
+
+//! \brief Set a callback function to be invoked for incoming MIDI messages.
+//! See \ref RtMidiIn::setCallback().
+RTMIDIAPI void rtmidi_in_set_callback (RtMidiInPtr device, RtMidiCCallback callback, void *userData);
+
+//! \brief Cancel use of the current callback function (if one exists).
+//! See \ref RtMidiIn::cancelCallback().
+RTMIDIAPI void rtmidi_in_cancel_callback (RtMidiInPtr device);
+
+//! \brief Specify whether certain MIDI message types should be queued or ignored during input.
+//! See \ref RtMidiIn::ignoreTypes().
+RTMIDIAPI void rtmidi_in_ignore_types (RtMidiInPtr device, bool midiSysex, bool midiTime, bool midiSense);
+
+/*! Fill the user-provided array with the data bytes for the next available
+ * MIDI message in the input queue and return the event delta-time in seconds.
+ *
+ * \param message   Must point to a char* that is already allocated.
+ *                  SYSEX messages maximum size being 1024, a statically
+ *                  allocated array could
+ *                  be sufficient. 
+ * \param size      Is used to return the size of the message obtained. 
+ *
+ * See RtMidiIn::getMessage().
+ */
+RTMIDIAPI double rtmidi_in_get_message (RtMidiInPtr device, unsigned char *message, size_t *size);
+
+/* RtMidiOut API */
+
+//! \brief Create a default RtMidiInPtr value, with no initialization.
+RTMIDIAPI RtMidiOutPtr rtmidi_out_create_default (void);
+
+/*! \brief Create a RtMidiOutPtr value, with given and clientName.
+ *
+ *  \param api            An optional API id can be specified.
+ *  \param clientName     An optional client name can be specified. This
+ *                        will be used to group the ports that are created
+ *                        by the application.
+ *
+ * See RtMidiOut::RtMidiOut().
+ */
+RTMIDIAPI RtMidiOutPtr rtmidi_out_create (enum RtMidiApi api, const char *clientName);
+
+//! \brief Free the given RtMidiOutPtr.
+RTMIDIAPI void rtmidi_out_free (RtMidiOutPtr device);
+
+//! \brief Returns the MIDI API specifier for the given instance of RtMidiOut.
+//! See \ref RtMidiOut::getCurrentApi().
+RTMIDIAPI enum RtMidiApi rtmidi_out_get_current_api (RtMidiPtr device);
+
+//! \brief Immediately send a single message out an open MIDI output port.
+//! See \ref RtMidiOut::sendMessage().
+RTMIDIAPI int rtmidi_out_send_message (RtMidiOutPtr device, const unsigned char *message, int length);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+/*! }@ */
--- /dev/null
+++ b/vs2019_project/ft2-clone.sln
@@ -1,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.28803.202
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ft2-clone", "ft2-clone\ft2-clone.vcxproj", "{6C633792-F87D-4F1C-AB02-C25202FFEDE6}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|x64 = Debug|x64
+		Debug|x86 = Debug|x86
+		Release|x64 = Release|x64
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Debug|x64.ActiveCfg = Debug|x64
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Debug|x64.Build.0 = Debug|x64
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Debug|x86.ActiveCfg = Debug|Win32
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Debug|x86.Build.0 = Debug|Win32
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Release|x64.ActiveCfg = Release|x64
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Release|x64.Build.0 = Release|x64
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Release|x86.ActiveCfg = Release|Win32
+		{6C633792-F87D-4F1C-AB02-C25202FFEDE6}.Release|x86.Build.0 = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {EBF64B5E-2814-4B60-8FE9-3B3A0AF21AC8}
+	EndGlobalSection
+EndGlobal
binary files /dev/null b/vs2019_project/ft2-clone/SDL2.dll differ
--- /dev/null
+++ b/vs2019_project/ft2-clone/ft2-clone.vcxproj
@@ -1,0 +1,437 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{6C633792-F87D-4F1C-AB02-C25202FFEDE6}</ProjectGuid>
+    <RootNamespace>ft2-clone</RootNamespace>
+    <ProjectName>ft2-clone</ProjectName>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <PlatformToolset>v142</PlatformToolset>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LibraryPath>sdl\lib;$(VCInstallDir)lib;$(LibraryPath)</LibraryPath>
+    <IncludePath>sdl\include;$(VCInstallDir)include;$(IncludePath)</IncludePath>
+    <OutDir>..\..\release\win32\</OutDir>
+    <LinkIncremental>false</LinkIncremental>
+    <TargetName>ft2-clone-win32</TargetName>
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <LinkIncremental>false</LinkIncremental>
+    <TargetName>ft2-clone-win64</TargetName>
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <LibraryPath>sdl\lib64;$(VCInstallDir)lib;$(LibraryPath)</LibraryPath>
+    <IncludePath>sdl\include;$(VCInstallDir)include;$(IncludePath)</IncludePath>
+    <OutDir>..\..\release\win64\</OutDir>
+    <IntDir>$(Configuration)\</IntDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LibraryPath>sdl\lib;$(VCInstallDir)lib;$(LibraryPath)</LibraryPath>
+    <IncludePath>sdl\include;$(VCInstallDir)include;$(IncludePath)</IncludePath>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <LibraryPath>sdl\lib64;$(VCInstallDir)lib;$(LibraryPath)</LibraryPath>
+    <IncludePath>sdl\include;$(VCInstallDir)include;$(IncludePath)</IncludePath>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level4</WarningLevel>
+      <Optimization>MaxSpeed</Optimization>
+      <AdditionalIncludeDirectories>
+      </AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>__WINDOWS_MM__;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;HAVE_M_PI</PreprocessorDefinitions>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <CompileAsManaged>false</CompileAsManaged>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <StringPooling>true</StringPooling>
+      <MinimalRebuild>false</MinimalRebuild>
+      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <ExceptionHandling>false</ExceptionHandling>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <FloatingPointModel>Fast</FloatingPointModel>
+      <EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
+      <FloatingPointExceptions>false</FloatingPointExceptions>
+      <OmitFramePointers>true</OmitFramePointers>
+      <CompileAsWinRT>false</CompileAsWinRT>
+      <ControlFlowGuard>false</ControlFlowGuard>
+      <CreateHotpatchableImage>false</CreateHotpatchableImage>
+      <RuntimeTypeInfo>false</RuntimeTypeInfo>
+      <OpenMPSupport>false</OpenMPSupport>
+      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
+      <BufferSecurityCheck>false</BufferSecurityCheck>
+      <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
+      <DebugInformationFormat>None</DebugInformationFormat>
+    </ClCompile>
+    <Link>
+      <AdditionalLibraryDirectories>
+      </AdditionalLibraryDirectories>
+      <SubSystem>Windows</SubSystem>
+      <AdditionalDependencies>SDL2main.lib;SDL2.lib;winmm.lib;shlwapi.lib;libcmt.lib;libvcruntime.lib;libucrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <IgnoreSpecificDefaultLibraries>
+      </IgnoreSpecificDefaultLibraries>
+      <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
+      <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
+      <MinimumRequiredVersion>5.1</MinimumRequiredVersion>
+      <FullProgramDatabaseFile>
+      </FullProgramDatabaseFile>
+      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <DataExecutionPrevention>false</DataExecutionPrevention>
+      <ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers>
+      <LargeAddressAware>true</LargeAddressAware>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+    </Link>
+    <PostBuildEvent />
+    <Manifest />
+    <Manifest>
+      <EnableDpiAwareness>true</EnableDpiAwareness>
+    </Manifest>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <ClCompile>
+      <WarningLevel>Level4</WarningLevel>
+      <Optimization>MaxSpeed</Optimization>
+      <AdditionalIncludeDirectories>
+      </AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>__WINDOWS_MM__;NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;HAVE_M_PI</PreprocessorDefinitions>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <CompileAsManaged>false</CompileAsManaged>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <StringPooling>true</StringPooling>
+      <MinimalRebuild>false</MinimalRebuild>
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <ExceptionHandling>false</ExceptionHandling>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <FloatingPointModel>Fast</FloatingPointModel>
+      <EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
+      <FloatingPointExceptions>false</FloatingPointExceptions>
+      <OmitFramePointers>true</OmitFramePointers>
+      <CompileAsWinRT>false</CompileAsWinRT>
+      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
+      <ControlFlowGuard>false</ControlFlowGuard>
+      <CreateHotpatchableImage>false</CreateHotpatchableImage>
+      <RuntimeTypeInfo>false</RuntimeTypeInfo>
+      <OpenMPSupport>false</OpenMPSupport>
+      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
+      <BufferSecurityCheck>false</BufferSecurityCheck>
+      <DebugInformationFormat>None</DebugInformationFormat>
+    </ClCompile>
+    <Link>
+      <AdditionalLibraryDirectories>
+      </AdditionalLibraryDirectories>
+      <SubSystem>Windows</SubSystem>
+      <AdditionalDependencies>SDL2main.lib;SDL2.lib;winmm.lib;shlwapi.lib;libcmt.lib;libvcruntime.lib;libucrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <IgnoreAllDefaultLibraries>
+      </IgnoreAllDefaultLibraries>
+      <IgnoreSpecificDefaultLibraries>
+      </IgnoreSpecificDefaultLibraries>
+      <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
+      <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
+      <MinimumRequiredVersion>
+      </MinimumRequiredVersion>
+      <FullProgramDatabaseFile>
+      </FullProgramDatabaseFile>
+      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <DataExecutionPrevention>false</DataExecutionPrevention>
+      <ImageHasSafeExceptionHandlers>
+      </ImageHasSafeExceptionHandlers>
+      <LargeAddressAware>true</LargeAddressAware>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+    </Link>
+    <PostBuildEvent>
+      <Message>
+      </Message>
+      <Command>
+      </Command>
+    </PostBuildEvent>
+    <Manifest />
+    <ResourceCompile />
+    <ResourceCompile>
+      <PreprocessorDefinitions>_WIN64</PreprocessorDefinitions>
+    </ResourceCompile>
+    <Manifest />
+    <Manifest>
+      <EnableDpiAwareness>true</EnableDpiAwareness>
+    </Manifest>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <WarningLevel>Level4</WarningLevel>
+      <AdditionalIncludeDirectories>
+      </AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>__WINDOWS_MM__;_CRTDBG_MAP_ALLOC;DEBUG;_DEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;HAVE_M_PI</PreprocessorDefinitions>
+      <ExceptionHandling>false</ExceptionHandling>
+      <FloatingPointModel>Fast</FloatingPointModel>
+      <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
+      <ControlFlowGuard>false</ControlFlowGuard>
+      <EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
+      <CreateHotpatchableImage>false</CreateHotpatchableImage>
+      <RuntimeTypeInfo>false</RuntimeTypeInfo>
+      <OpenMPSupport>false</OpenMPSupport>
+    </ClCompile>
+    <Link>
+      <AdditionalLibraryDirectories>
+      </AdditionalLibraryDirectories>
+      <SubSystem>Windows</SubSystem>
+      <AdditionalDependencies>SDL2main.lib;SDL2.lib;shlwapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <IgnoreSpecificDefaultLibraries>
+      </IgnoreSpecificDefaultLibraries>
+      <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
+      <MinimumRequiredVersion>5.1</MinimumRequiredVersion>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <DataExecutionPrevention>false</DataExecutionPrevention>
+      <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
+      <LargeAddressAware>true</LargeAddressAware>
+      <ImageHasSafeExceptionHandlers>
+      </ImageHasSafeExceptionHandlers>
+    </Link>
+    <Manifest />
+    <ProjectReference />
+    <PostBuildEvent>
+      <Command>
+      </Command>
+    </PostBuildEvent>
+    <PreBuildEvent>
+      <Command>
+      </Command>
+    </PreBuildEvent>
+    <Manifest>
+      <EnableDpiAwareness>true</EnableDpiAwareness>
+    </Manifest>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <ClCompile>
+      <WarningLevel>Level4</WarningLevel>
+      <AdditionalIncludeDirectories>
+      </AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>__WINDOWS_MM__;_CRTDBG_MAP_ALLOC;DEBUG;_DEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;HAVE_M_PI</PreprocessorDefinitions>
+      <ExceptionHandling>false</ExceptionHandling>
+      <FloatingPointModel>Fast</FloatingPointModel>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <StringPooling>
+      </StringPooling>
+      <ControlFlowGuard>false</ControlFlowGuard>
+      <EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
+      <CreateHotpatchableImage>false</CreateHotpatchableImage>
+      <RuntimeTypeInfo>false</RuntimeTypeInfo>
+      <OpenMPSupport>false</OpenMPSupport>
+    </ClCompile>
+    <Link>
+      <AdditionalLibraryDirectories>
+      </AdditionalLibraryDirectories>
+      <SubSystem>Windows</SubSystem>
+      <AdditionalDependencies>SDL2main.lib;SDL2.lib;shlwapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <IgnoreAllDefaultLibraries>
+      </IgnoreAllDefaultLibraries>
+      <IgnoreSpecificDefaultLibraries>
+      </IgnoreSpecificDefaultLibraries>
+      <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
+      <MinimumRequiredVersion>
+      </MinimumRequiredVersion>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <DataExecutionPrevention>false</DataExecutionPrevention>
+      <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
+      <LargeAddressAware>true</LargeAddressAware>
+      <ImageHasSafeExceptionHandlers>
+      </ImageHasSafeExceptionHandlers>
+    </Link>
+    <Manifest />
+    <ProjectReference />
+    <PostBuildEvent>
+      <Command>
+      </Command>
+    </PostBuildEvent>
+    <PreBuildEvent>
+      <Command>
+      </Command>
+    </PreBuildEvent>
+    <ResourceCompile>
+      <PreprocessorDefinitions>_WIN64</PreprocessorDefinitions>
+    </ResourceCompile>
+    <Manifest>
+      <EnableDpiAwareness>true</EnableDpiAwareness>
+    </Manifest>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="..\..\src\ft2_about.c" />
+    <ClCompile Include="..\..\src\ft2_audio.c" />
+    <ClCompile Include="..\..\src\ft2_audioselector.c" />
+    <ClCompile Include="..\..\src\ft2_checkboxes.c" />
+    <ClCompile Include="..\..\src\ft2_config.c" />
+    <ClCompile Include="..\..\src\ft2_diskop.c" />
+    <ClCompile Include="..\..\src\ft2_edit.c" />
+    <ClCompile Include="..\..\src\ft2_events.c" />
+    <ClCompile Include="..\..\src\ft2_gui.c" />
+    <ClCompile Include="..\..\src\ft2_help.c" />
+    <ClCompile Include="..\..\src\ft2_inst_ed.c" />
+    <ClCompile Include="..\..\src\ft2_keyboard.c" />
+    <ClCompile Include="..\..\src\ft2_main.c" />
+    <ClCompile Include="..\..\src\ft2_midi.c" />
+    <ClCompile Include="..\..\src\ft2_mix.c" />
+    <ClCompile Include="..\..\src\ft2_module_loader.c" />
+    <ClCompile Include="..\..\src\ft2_module_saver.c" />
+    <ClCompile Include="..\..\src\ft2_mouse.c" />
+    <ClCompile Include="..\..\src\ft2_nibbles.c" />
+    <ClCompile Include="..\..\src\ft2_palette.c" />
+    <ClCompile Include="..\..\src\ft2_pattern_ed.c" />
+    <ClCompile Include="..\..\src\ft2_pattern_draw.c" />
+    <ClCompile Include="..\..\src\ft2_pushbuttons.c" />
+    <ClCompile Include="..\..\src\ft2_radiobuttons.c" />
+    <ClCompile Include="..\..\src\ft2_sample_ed_features.c" />
+    <ClCompile Include="..\..\src\ft2_sampling.c" />
+    <ClCompile Include="..\..\src\ft2_replayer.c" />
+    <ClCompile Include="..\..\src\ft2_sample_ed.c" />
+    <ClCompile Include="..\..\src\ft2_sample_loader.c" />
+    <ClCompile Include="..\..\src\ft2_sample_saver.c" />
+    <ClCompile Include="..\..\src\ft2_scopes.c" />
+    <ClCompile Include="..\..\src\ft2_scrollbars.c" />
+    <ClCompile Include="..\..\src\ft2_sysreqs.c" />
+    <ClCompile Include="..\..\src\ft2_textboxes.c" />
+    <ClCompile Include="..\..\src\ft2_trim.c" />
+    <ClCompile Include="..\..\src\ft2_unicode.c" />
+    <ClCompile Include="..\..\src\ft2_video.c" />
+    <ClCompile Include="..\..\src\ft2_wav_renderer.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_fonts.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_logo.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_midi.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_mouse.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_nibbles.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_instr.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_sampler.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_scopes.c" />
+    <ClCompile Include="..\..\src\rtmidi\RtMidi.cpp">
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Sync</ExceptionHandling>
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Sync</ExceptionHandling>
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Sync</ExceptionHandling>
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Sync</ExceptionHandling>
+    </ClCompile>
+    <ClCompile Include="..\..\src\rtmidi\rtmidi_c.cpp">
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Sync</ExceptionHandling>
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Sync</ExceptionHandling>
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Sync</ExceptionHandling>
+      <ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Sync</ExceptionHandling>
+      <DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4245;4996;4267</DisableSpecificWarnings>
+      <DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|x64'">4245;4996;4267</DisableSpecificWarnings>
+      <DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">4245;4996;4267</DisableSpecificWarnings>
+      <DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4245;4996;4267</DisableSpecificWarnings>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\src\ft2_about.h" />
+    <ClInclude Include="..\..\src\ft2_audio.h" />
+    <ClInclude Include="..\..\src\ft2_audioselector.h" />
+    <ClInclude Include="..\..\src\ft2_checkboxes.h" />
+    <ClInclude Include="..\..\src\ft2_config.h" />
+    <ClInclude Include="..\..\src\ft2_diskop.h" />
+    <ClInclude Include="..\..\src\ft2_edit.h" />
+    <ClInclude Include="..\..\src\ft2_events.h" />
+    <ClInclude Include="..\..\src\ft2_gfxdata.h" />
+    <ClInclude Include="..\..\src\ft2_gui.h" />
+    <ClInclude Include="..\..\src\ft2_header.h" />
+    <ClInclude Include="..\..\src\ft2_help.h" />
+    <ClInclude Include="..\..\src\ft2_inst_ed.h" />
+    <ClInclude Include="..\..\src\ft2_keyboard.h" />
+    <ClInclude Include="..\..\src\ft2_midi.h" />
+    <ClInclude Include="..\..\src\ft2_mix.h" />
+    <ClInclude Include="..\..\src\ft2_mix_macros.h" />
+    <ClInclude Include="..\..\src\ft2_module_loader.h" />
+    <ClInclude Include="..\..\src\ft2_module_saver.h" />
+    <ClInclude Include="..\..\src\ft2_mouse.h" />
+    <ClInclude Include="..\..\src\ft2_nibbles.h" />
+    <ClInclude Include="..\..\src\ft2_palette.h" />
+    <ClInclude Include="..\..\src\ft2_pattern_ed.h" />
+    <ClInclude Include="..\..\src\ft2_pattern_draw.h" />
+    <ClInclude Include="..\..\src\ft2_pushbuttons.h" />
+    <ClInclude Include="..\..\src\ft2_radiobuttons.h" />
+    <ClInclude Include="..\..\src\ft2_sample_ed_features.h" />
+    <ClInclude Include="..\..\src\ft2_sampling.h" />
+    <ClInclude Include="..\..\src\ft2_replayer.h" />
+    <ClInclude Include="..\..\src\ft2_sample_ed.h" />
+    <ClInclude Include="..\..\src\ft2_sample_loader.h" />
+    <ClInclude Include="..\..\src\ft2_sample_saver.h" />
+    <ClInclude Include="..\..\src\ft2_scopes.h" />
+    <ClInclude Include="..\..\src\ft2_scrollbars.h" />
+    <ClInclude Include="..\..\src\ft2_sysreqs.h" />
+    <ClInclude Include="..\..\src\ft2_textboxes.h" />
+    <ClInclude Include="..\..\src\ft2_trim.h" />
+    <ClInclude Include="..\..\src\ft2_unicode.h" />
+    <ClInclude Include="..\..\src\ft2_video.h" />
+    <ClInclude Include="..\..\src\ft2_wav_renderer.h" />
+    <ClInclude Include="..\..\src\rtmidi\RtMidi.h" />
+    <ClInclude Include="..\..\src\rtmidi\rtmidi_c.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\ft2-clone.rc" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+++ b/vs2019_project/ft2-clone/ft2-clone.vcxproj.filters
@@ -1,0 +1,215 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <ClCompile Include="..\..\src\ft2_audio.c" />
+    <ClCompile Include="..\..\src\ft2_config.c" />
+    <ClCompile Include="..\..\src\ft2_edit.c" />
+    <ClCompile Include="..\..\src\ft2_gui.c" />
+    <ClCompile Include="..\..\src\ft2_help.c" />
+    <ClCompile Include="..\..\src\ft2_inst_ed.c" />
+    <ClCompile Include="..\..\src\ft2_keyboard.c" />
+    <ClCompile Include="..\..\src\ft2_main.c" />
+    <ClCompile Include="..\..\src\ft2_mouse.c" />
+    <ClCompile Include="..\..\src\ft2_nibbles.c" />
+    <ClCompile Include="..\..\src\ft2_replayer.c" />
+    <ClCompile Include="..\..\src\ft2_scopes.c" />
+    <ClCompile Include="..\..\src\ft2_video.c" />
+    <ClCompile Include="..\..\src\ft2_sample_ed.c" />
+    <ClCompile Include="..\..\src\ft2_pattern_ed.c" />
+    <ClCompile Include="..\..\src\ft2_sample_loader.c" />
+    <ClCompile Include="..\..\src\ft2_sample_saver.c" />
+    <ClCompile Include="..\..\src\ft2_diskop.c" />
+    <ClCompile Include="..\..\src\ft2_unicode.c" />
+    <ClCompile Include="..\..\src\ft2_midi.c" />
+    <ClCompile Include="..\..\src\ft2_wav_renderer.c" />
+    <ClCompile Include="..\..\src\ft2_about.c" />
+    <ClCompile Include="..\..\src\ft2_trim.c" />
+    <ClCompile Include="..\..\src\ft2_checkboxes.c" />
+    <ClCompile Include="..\..\src\ft2_pushbuttons.c" />
+    <ClCompile Include="..\..\src\ft2_radiobuttons.c" />
+    <ClCompile Include="..\..\src\ft2_scrollbars.c" />
+    <ClCompile Include="..\..\src\ft2_textboxes.c" />
+    <ClCompile Include="..\..\src\ft2_sysreqs.c" />
+    <ClCompile Include="..\..\src\ft2_module_loader.c" />
+    <ClCompile Include="..\..\src\ft2_module_saver.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_fonts.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_logo.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_mouse.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_nibbles.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_sampler.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\ft2_mix.c" />
+    <ClCompile Include="..\..\src\ft2_sampling.c" />
+    <ClCompile Include="..\..\src\ft2_audioselector.c" />
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_scopes.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_instr.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\gfxdata\ft2_gfx_midi.c">
+      <Filter>graphics</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\ft2_events.c" />
+    <ClCompile Include="..\..\src\ft2_pattern_draw.c" />
+    <ClCompile Include="..\..\src\ft2_sample_ed_features.c" />
+    <ClCompile Include="..\..\src\rtmidi\RtMidi.cpp">
+      <Filter>rtmidi</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\rtmidi\rtmidi_c.cpp">
+      <Filter>rtmidi</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\ft2_palette.c" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\src\ft2_audio.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_config.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_edit.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_gui.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_header.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_help.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_inst_ed.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_keyboard.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_mouse.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_nibbles.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_replayer.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_scopes.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_sample_ed.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_pattern_ed.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_sample_loader.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_sample_saver.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_video.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_diskop.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_unicode.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_midi.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_wav_renderer.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_about.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_trim.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_checkboxes.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_pushbuttons.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_radiobuttons.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_scrollbars.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_textboxes.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_sysreqs.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_module_loader.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_module_saver.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_gfxdata.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_mix.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_sampling.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_audioselector.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_mix_macros.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_events.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_pattern_draw.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_palette.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\ft2_sample_ed_features.h">
+      <Filter>headers</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\rtmidi\RtMidi.h">
+      <Filter>rtmidi</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\rtmidi\rtmidi_c.h">
+      <Filter>rtmidi</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <Filter Include="headers">
+      <UniqueIdentifier>{559f399e-331e-4688-8a7d-328ca6739456}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="graphics">
+      <UniqueIdentifier>{c6fad604-509b-4072-b181-d47835f08428}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="rtmidi">
+      <UniqueIdentifier>{95e882a1-e589-4684-a3cb-48e0a1d073aa}</UniqueIdentifier>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="..\..\src\ft2-clone.rc" />
+  </ItemGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+++ b/vs2019_project/ft2-clone/ft2-clone.vcxproj.user
@@ -1,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <LocalDebuggerDebuggerType>Auto</LocalDebuggerDebuggerType>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/COPYING.txt
@@ -1,0 +1,20 @@
+
+Simple DirectMedia Layer
+Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+  
+This software is provided 'as-is', without any express or implied
+warranty.  In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+  
+1. The origin of this software must not be misrepresented; you must not
+   claim that you wrote the original software. If you use this software
+   in a product, an acknowledgment in the product documentation would be
+   appreciated but is not required. 
+2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/README-SDL.txt
@@ -1,0 +1,13 @@
+
+Please distribute this file with the SDL runtime environment:
+
+The Simple DirectMedia Layer (SDL for short) is a cross-platform library
+designed to make it easy to write multi-media software, such as games
+and emulators.
+
+The Simple DirectMedia Layer library source code is available from:
+https://www.libsdl.org/
+
+This library is distributed under the terms of the zlib license:
+http://www.zlib.net/zlib_license.html
+
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/README.txt
@@ -1,0 +1,21 @@
+
+                         Simple DirectMedia Layer
+
+                                  (SDL)
+
+                                Version 2.0
+
+---
+https://www.libsdl.org/
+
+Simple DirectMedia Layer is a cross-platform development library designed
+to provide low level access to audio, keyboard, mouse, joystick, and graphics
+hardware via OpenGL and Direct3D. It is used by video playback software,
+emulators, and popular games including Valve's award winning catalog
+and many Humble Bundle games.
+
+More extensive documentation is available in the docs directory, starting
+with README.md
+
+Enjoy!
+	Sam Lantinga				([email protected])
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL.h
@@ -1,0 +1,135 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL.h
+ *
+ *  Main include header for the SDL library
+ */
+
+
+#ifndef SDL_h_
+#define SDL_h_
+
+#include "SDL_main.h"
+#include "SDL_stdinc.h"
+#include "SDL_assert.h"
+#include "SDL_atomic.h"
+#include "SDL_audio.h"
+#include "SDL_clipboard.h"
+#include "SDL_cpuinfo.h"
+#include "SDL_endian.h"
+#include "SDL_error.h"
+#include "SDL_events.h"
+#include "SDL_filesystem.h"
+#include "SDL_gamecontroller.h"
+#include "SDL_haptic.h"
+#include "SDL_hints.h"
+#include "SDL_joystick.h"
+#include "SDL_loadso.h"
+#include "SDL_log.h"
+#include "SDL_messagebox.h"
+#include "SDL_mutex.h"
+#include "SDL_power.h"
+#include "SDL_render.h"
+#include "SDL_rwops.h"
+#include "SDL_sensor.h"
+#include "SDL_shape.h"
+#include "SDL_system.h"
+#include "SDL_thread.h"
+#include "SDL_timer.h"
+#include "SDL_version.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* As of version 0.5, SDL is loaded dynamically into the application */
+
+/**
+ *  \name SDL_INIT_*
+ *
+ *  These are the flags which may be passed to SDL_Init().  You should
+ *  specify the subsystems which you will be using in your application.
+ */
+/* @{ */
+#define SDL_INIT_TIMER          0x00000001u
+#define SDL_INIT_AUDIO          0x00000010u
+#define SDL_INIT_VIDEO          0x00000020u  /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */
+#define SDL_INIT_JOYSTICK       0x00000200u  /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */
+#define SDL_INIT_HAPTIC         0x00001000u
+#define SDL_INIT_GAMECONTROLLER 0x00002000u  /**< SDL_INIT_GAMECONTROLLER implies SDL_INIT_JOYSTICK */
+#define SDL_INIT_EVENTS         0x00004000u
+#define SDL_INIT_SENSOR         0x00008000u
+#define SDL_INIT_NOPARACHUTE    0x00100000u  /**< compatibility; this flag is ignored. */
+#define SDL_INIT_EVERYTHING ( \
+                SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
+                SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER | SDL_INIT_SENSOR \
+            )
+/* @} */
+
+/**
+ *  This function initializes  the subsystems specified by \c flags
+ */
+extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags);
+
+/**
+ *  This function initializes specific SDL subsystems
+ *
+ *  Subsystem initialization is ref-counted, you must call
+ *  SDL_QuitSubSystem() for each SDL_InitSubSystem() to correctly
+ *  shutdown a subsystem manually (or call SDL_Quit() to force shutdown).
+ *  If a subsystem is already loaded then this call will
+ *  increase the ref-count and return.
+ */
+extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
+
+/**
+ *  This function cleans up specific SDL subsystems
+ */
+extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags);
+
+/**
+ *  This function returns a mask of the specified subsystems which have
+ *  previously been initialized.
+ *
+ *  If \c flags is 0, it returns a mask of all initialized subsystems.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
+
+/**
+ *  This function cleans up all initialized subsystems. You should
+ *  call it upon all exit conditions.
+ */
+extern DECLSPEC void SDLCALL SDL_Quit(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_assert.h
@@ -1,0 +1,291 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_assert_h_
+#define SDL_assert_h_
+
+#include "SDL_config.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef SDL_ASSERT_LEVEL
+#ifdef SDL_DEFAULT_ASSERT_LEVEL
+#define SDL_ASSERT_LEVEL SDL_DEFAULT_ASSERT_LEVEL
+#elif defined(_DEBUG) || defined(DEBUG) || \
+      (defined(__GNUC__) && !defined(__OPTIMIZE__))
+#define SDL_ASSERT_LEVEL 2
+#else
+#define SDL_ASSERT_LEVEL 1
+#endif
+#endif /* SDL_ASSERT_LEVEL */
+
+/*
+These are macros and not first class functions so that the debugger breaks
+on the assertion line and not in some random guts of SDL, and so each
+assert can have unique static variables associated with it.
+*/
+
+#if defined(_MSC_VER)
+/* Don't include intrin.h here because it contains C++ code */
+    extern void __cdecl __debugbreak(void);
+    #define SDL_TriggerBreakpoint() __debugbreak()
+#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
+    #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
+#elif defined(__386__) && defined(__WATCOMC__)
+    #define SDL_TriggerBreakpoint() { _asm { int 0x03 } }
+#elif defined(HAVE_SIGNAL_H) && !defined(__WATCOMC__)
+    #include <signal.h>
+    #define SDL_TriggerBreakpoint() raise(SIGTRAP)
+#else
+    /* How do we trigger breakpoints on this platform? */
+    #define SDL_TriggerBreakpoint()
+#endif
+
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */
+#   define SDL_FUNCTION __func__
+#elif ((__GNUC__ >= 2) || defined(_MSC_VER) || defined (__WATCOMC__))
+#   define SDL_FUNCTION __FUNCTION__
+#else
+#   define SDL_FUNCTION "???"
+#endif
+#define SDL_FILE    __FILE__
+#define SDL_LINE    __LINE__
+
+/*
+sizeof (x) makes the compiler still parse the expression even without
+assertions enabled, so the code is always checked at compile time, but
+doesn't actually generate code for it, so there are no side effects or
+expensive checks at run time, just the constant size of what x WOULD be,
+which presumably gets optimized out as unused.
+This also solves the problem of...
+
+    int somevalue = blah();
+    SDL_assert(somevalue == 1);
+
+...which would cause compiles to complain that somevalue is unused if we
+disable assertions.
+*/
+
+/* "while (0,0)" fools Microsoft's compiler's /W4 warning level into thinking
+    this condition isn't constant. And looks like an owl's face! */
+#ifdef _MSC_VER  /* stupid /W4 warnings. */
+#define SDL_NULL_WHILE_LOOP_CONDITION (0,0)
+#else
+#define SDL_NULL_WHILE_LOOP_CONDITION (0)
+#endif
+
+#define SDL_disabled_assert(condition) \
+    do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
+
+typedef enum
+{
+    SDL_ASSERTION_RETRY,  /**< Retry the assert immediately. */
+    SDL_ASSERTION_BREAK,  /**< Make the debugger trigger a breakpoint. */
+    SDL_ASSERTION_ABORT,  /**< Terminate the program. */
+    SDL_ASSERTION_IGNORE,  /**< Ignore the assert. */
+    SDL_ASSERTION_ALWAYS_IGNORE  /**< Ignore the assert from now on. */
+} SDL_AssertState;
+
+typedef struct SDL_AssertData
+{
+    int always_ignore;
+    unsigned int trigger_count;
+    const char *condition;
+    const char *filename;
+    int linenum;
+    const char *function;
+    const struct SDL_AssertData *next;
+} SDL_AssertData;
+
+#if (SDL_ASSERT_LEVEL > 0)
+
+/* Never call this directly. Use the SDL_assert* macros. */
+extern DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *,
+                                                             const char *,
+                                                             const char *, int)
+#if defined(__clang__)
+#if __has_feature(attribute_analyzer_noreturn)
+/* this tells Clang's static analysis that we're a custom assert function,
+   and that the analyzer should assume the condition was always true past this
+   SDL_assert test. */
+   __attribute__((analyzer_noreturn))
+#endif
+#endif
+;
+
+/* the do {} while(0) avoids dangling else problems:
+    if (x) SDL_assert(y); else blah();
+       ... without the do/while, the "else" could attach to this macro's "if".
+   We try to handle just the minimum we need here in a macro...the loop,
+   the static vars, and break points. The heavy lifting is handled in
+   SDL_ReportAssertion(), in SDL_assert.c.
+*/
+#define SDL_enabled_assert(condition) \
+    do { \
+        while ( !(condition) ) { \
+            static struct SDL_AssertData sdl_assert_data = { \
+                0, 0, #condition, 0, 0, 0, 0 \
+            }; \
+            const SDL_AssertState sdl_assert_state = SDL_ReportAssertion(&sdl_assert_data, SDL_FUNCTION, SDL_FILE, SDL_LINE); \
+            if (sdl_assert_state == SDL_ASSERTION_RETRY) { \
+                continue; /* go again. */ \
+            } else if (sdl_assert_state == SDL_ASSERTION_BREAK) { \
+                SDL_TriggerBreakpoint(); \
+            } \
+            break; /* not retrying. */ \
+        } \
+    } while (SDL_NULL_WHILE_LOOP_CONDITION)
+
+#endif  /* enabled assertions support code */
+
+/* Enable various levels of assertions. */
+#if SDL_ASSERT_LEVEL == 0   /* assertions disabled */
+#   define SDL_assert(condition) SDL_disabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_disabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
+#elif SDL_ASSERT_LEVEL == 1  /* release settings. */
+#   define SDL_assert(condition) SDL_disabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
+#elif SDL_ASSERT_LEVEL == 2  /* normal settings. */
+#   define SDL_assert(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
+#elif SDL_ASSERT_LEVEL == 3  /* paranoid settings. */
+#   define SDL_assert(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_release(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_enabled_assert(condition)
+#else
+#   error Unknown assertion level.
+#endif
+
+/* this assertion is never disabled at any level. */
+#define SDL_assert_always(condition) SDL_enabled_assert(condition)
+
+
+typedef SDL_AssertState (SDLCALL *SDL_AssertionHandler)(
+                                 const SDL_AssertData* data, void* userdata);
+
+/**
+ *  \brief Set an application-defined assertion handler.
+ *
+ *  This allows an app to show its own assertion UI and/or force the
+ *  response to an assertion failure. If the app doesn't provide this, SDL
+ *  will try to do the right thing, popping up a system-specific GUI dialog,
+ *  and probably minimizing any fullscreen windows.
+ *
+ *  This callback may fire from any thread, but it runs wrapped in a mutex, so
+ *  it will only fire from one thread at a time.
+ *
+ *  Setting the callback to NULL restores SDL's original internal handler.
+ *
+ *  This callback is NOT reset to SDL's internal handler upon SDL_Quit()!
+ *
+ *  Return SDL_AssertState value of how to handle the assertion failure.
+ *
+ *  \param handler Callback function, called when an assertion fails.
+ *  \param userdata A pointer passed to the callback as-is.
+ */
+extern DECLSPEC void SDLCALL SDL_SetAssertionHandler(
+                                            SDL_AssertionHandler handler,
+                                            void *userdata);
+
+/**
+ *  \brief Get the default assertion handler.
+ *
+ *  This returns the function pointer that is called by default when an
+ *   assertion is triggered. This is an internal function provided by SDL,
+ *   that is used for assertions when SDL_SetAssertionHandler() hasn't been
+ *   used to provide a different function.
+ *
+ *  \return The default SDL_AssertionHandler that is called when an assert triggers.
+ */
+extern DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetDefaultAssertionHandler(void);
+
+/**
+ *  \brief Get the current assertion handler.
+ *
+ *  This returns the function pointer that is called when an assertion is
+ *   triggered. This is either the value last passed to
+ *   SDL_SetAssertionHandler(), or if no application-specified function is
+ *   set, is equivalent to calling SDL_GetDefaultAssertionHandler().
+ *
+ *   \param puserdata Pointer to a void*, which will store the "userdata"
+ *                    pointer that was passed to SDL_SetAssertionHandler().
+ *                    This value will always be NULL for the default handler.
+ *                    If you don't care about this data, it is safe to pass
+ *                    a NULL pointer to this function to ignore it.
+ *  \return The SDL_AssertionHandler that is called when an assert triggers.
+ */
+extern DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetAssertionHandler(void **puserdata);
+
+/**
+ *  \brief Get a list of all assertion failures.
+ *
+ *  Get all assertions triggered since last call to SDL_ResetAssertionReport(),
+ *  or the start of the program.
+ *
+ *  The proper way to examine this data looks something like this:
+ *
+ *  <code>
+ *  const SDL_AssertData *item = SDL_GetAssertionReport();
+ *  while (item) {
+ *      printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\\n",
+ *             item->condition, item->function, item->filename,
+ *             item->linenum, item->trigger_count,
+ *             item->always_ignore ? "yes" : "no");
+ *      item = item->next;
+ *  }
+ *  </code>
+ *
+ *  \return List of all assertions.
+ *  \sa SDL_ResetAssertionReport
+ */
+extern DECLSPEC const SDL_AssertData * SDLCALL SDL_GetAssertionReport(void);
+
+/**
+ *  \brief Reset the list of all assertion failures.
+ *
+ *  Reset list of all assertions triggered.
+ *
+ *  \sa SDL_GetAssertionReport
+ */
+extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void);
+
+
+/* these had wrong naming conventions until 2.0.4. Please update your app! */
+#define SDL_assert_state SDL_AssertState
+#define SDL_assert_data SDL_AssertData
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_assert_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_atomic.h
@@ -1,0 +1,295 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ * \file SDL_atomic.h
+ *
+ * Atomic operations.
+ *
+ * IMPORTANT:
+ * If you are not an expert in concurrent lockless programming, you should
+ * only be using the atomic lock and reference counting functions in this
+ * file.  In all other cases you should be protecting your data structures
+ * with full mutexes.
+ *
+ * The list of "safe" functions to use are:
+ *  SDL_AtomicLock()
+ *  SDL_AtomicUnlock()
+ *  SDL_AtomicIncRef()
+ *  SDL_AtomicDecRef()
+ *
+ * Seriously, here be dragons!
+ * ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ *
+ * You can find out a little more about lockless programming and the
+ * subtle issues that can arise here:
+ * http://msdn.microsoft.com/en-us/library/ee418650%28v=vs.85%29.aspx
+ *
+ * There's also lots of good information here:
+ * http://www.1024cores.net/home/lock-free-algorithms
+ * http://preshing.com/
+ *
+ * These operations may or may not actually be implemented using
+ * processor specific atomic operations. When possible they are
+ * implemented as true processor specific atomic operations. When that
+ * is not possible the are implemented using locks that *do* use the
+ * available atomic operations.
+ *
+ * All of the atomic operations that modify memory are full memory barriers.
+ */
+
+#ifndef SDL_atomic_h_
+#define SDL_atomic_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_platform.h"
+
+#include "begin_code.h"
+
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \name SDL AtomicLock
+ *
+ * The atomic locks are efficient spinlocks using CPU instructions,
+ * but are vulnerable to starvation and can spin forever if a thread
+ * holding a lock has been terminated.  For this reason you should
+ * minimize the code executed inside an atomic lock and never do
+ * expensive things like API or system calls while holding them.
+ *
+ * The atomic locks are not safe to lock recursively.
+ *
+ * Porting Note:
+ * The spin lock functions and type are required and can not be
+ * emulated because they are used in the atomic emulation code.
+ */
+/* @{ */
+
+typedef int SDL_SpinLock;
+
+/**
+ * \brief Try to lock a spin lock by setting it to a non-zero value.
+ *
+ * \param lock Points to the lock.
+ *
+ * \return SDL_TRUE if the lock succeeded, SDL_FALSE if the lock is already held.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_AtomicTryLock(SDL_SpinLock *lock);
+
+/**
+ * \brief Lock a spin lock by setting it to a non-zero value.
+ *
+ * \param lock Points to the lock.
+ */
+extern DECLSPEC void SDLCALL SDL_AtomicLock(SDL_SpinLock *lock);
+
+/**
+ * \brief Unlock a spin lock by setting it to 0. Always returns immediately
+ *
+ * \param lock Points to the lock.
+ */
+extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock);
+
+/* @} *//* SDL AtomicLock */
+
+
+/**
+ * The compiler barrier prevents the compiler from reordering
+ * reads and writes to globally visible variables across the call.
+ */
+#if defined(_MSC_VER) && (_MSC_VER > 1200) && !defined(__clang__)
+void _ReadWriteBarrier(void);
+#pragma intrinsic(_ReadWriteBarrier)
+#define SDL_CompilerBarrier()   _ReadWriteBarrier()
+#elif (defined(__GNUC__) && !defined(__EMSCRIPTEN__)) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120))
+/* This is correct for all CPUs when using GCC or Solaris Studio 12.1+. */
+#define SDL_CompilerBarrier()   __asm__ __volatile__ ("" : : : "memory")
+#elif defined(__WATCOMC__)
+extern _inline void SDL_CompilerBarrier (void);
+#pragma aux SDL_CompilerBarrier = "" parm [] modify exact [];
+#else
+#define SDL_CompilerBarrier()   \
+{ SDL_SpinLock _tmp = 0; SDL_AtomicLock(&_tmp); SDL_AtomicUnlock(&_tmp); }
+#endif
+
+/**
+ * Memory barriers are designed to prevent reads and writes from being
+ * reordered by the compiler and being seen out of order on multi-core CPUs.
+ *
+ * A typical pattern would be for thread A to write some data and a flag,
+ * and for thread B to read the flag and get the data. In this case you
+ * would insert a release barrier between writing the data and the flag,
+ * guaranteeing that the data write completes no later than the flag is
+ * written, and you would insert an acquire barrier between reading the
+ * flag and reading the data, to ensure that all the reads associated
+ * with the flag have completed.
+ *
+ * In this pattern you should always see a release barrier paired with
+ * an acquire barrier and you should gate the data reads/writes with a
+ * single flag variable.
+ *
+ * For more information on these semantics, take a look at the blog post:
+ * http://preshing.com/20120913/acquire-and-release-semantics
+ */
+extern DECLSPEC void SDLCALL SDL_MemoryBarrierReleaseFunction(void);
+extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void);
+
+#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("lwsync" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("lwsync" : : : "memory")
+#elif defined(__GNUC__) && defined(__aarch64__)
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#elif defined(__GNUC__) && defined(__arm__)
+#if 0 /* defined(__LINUX__) || defined(__ANDROID__) */
+/* Information from:
+   https://chromium.googlesource.com/chromium/chromium/+/trunk/base/atomicops_internals_arm_gcc.h#19
+
+   The Linux kernel provides a helper function which provides the right code for a memory barrier,
+   hard-coded at address 0xffff0fa0
+*/
+typedef void (*SDL_KernelMemoryBarrierFunc)();
+#define SDL_MemoryBarrierRelease()	((SDL_KernelMemoryBarrierFunc)0xffff0fa0)()
+#define SDL_MemoryBarrierAcquire()	((SDL_KernelMemoryBarrierFunc)0xffff0fa0)()
+#elif 0 /* defined(__QNXNTO__) */
+#include <sys/cpuinline.h>
+
+#define SDL_MemoryBarrierRelease()   __cpu_membarrier()
+#define SDL_MemoryBarrierAcquire()   __cpu_membarrier()
+#else
+#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) || defined(__ARM_ARCH_8A__)
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("dmb ish" : : : "memory")
+#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_5TE__)
+#ifdef __thumb__
+/* The mcr instruction isn't available in thumb mode, use real functions */
+#define SDL_MEMORY_BARRIER_USES_FUNCTION
+#define SDL_MemoryBarrierRelease()   SDL_MemoryBarrierReleaseFunction()
+#define SDL_MemoryBarrierAcquire()   SDL_MemoryBarrierAcquireFunction()
+#else
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r"(0) : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r"(0) : "memory")
+#endif /* __thumb__ */
+#else
+#define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("" : : : "memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("" : : : "memory")
+#endif /* __LINUX__ || __ANDROID__ */
+#endif /* __GNUC__ && __arm__ */
+#else
+#if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120))
+/* This is correct for all CPUs on Solaris when using Solaris Studio 12.1+. */
+#include <mbarrier.h>
+#define SDL_MemoryBarrierRelease()  __machine_rel_barrier()
+#define SDL_MemoryBarrierAcquire()  __machine_acq_barrier()
+#else
+/* This is correct for the x86 and x64 CPUs, and we'll expand this over time. */
+#define SDL_MemoryBarrierRelease()  SDL_CompilerBarrier()
+#define SDL_MemoryBarrierAcquire()  SDL_CompilerBarrier()
+#endif
+#endif
+
+/**
+ * \brief A type representing an atomic integer value.  It is a struct
+ *        so people don't accidentally use numeric operations on it.
+ */
+typedef struct { int value; } SDL_atomic_t;
+
+/**
+ * \brief Set an atomic variable to a new value if it is currently an old value.
+ *
+ * \return SDL_TRUE if the atomic variable was set, SDL_FALSE otherwise.
+ *
+ * \note If you don't know what this function is for, you shouldn't use it!
+*/
+extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
+
+/**
+ * \brief Set an atomic variable to a value.
+ *
+ * \return The previous value of the atomic variable.
+ */
+extern DECLSPEC int SDLCALL SDL_AtomicSet(SDL_atomic_t *a, int v);
+
+/**
+ * \brief Get the value of an atomic variable
+ */
+extern DECLSPEC int SDLCALL SDL_AtomicGet(SDL_atomic_t *a);
+
+/**
+ * \brief Add to an atomic variable.
+ *
+ * \return The previous value of the atomic variable.
+ *
+ * \note This same style can be used for any number operation
+ */
+extern DECLSPEC int SDLCALL SDL_AtomicAdd(SDL_atomic_t *a, int v);
+
+/**
+ * \brief Increment an atomic variable used as a reference count.
+ */
+#ifndef SDL_AtomicIncRef
+#define SDL_AtomicIncRef(a)    SDL_AtomicAdd(a, 1)
+#endif
+
+/**
+ * \brief Decrement an atomic variable used as a reference count.
+ *
+ * \return SDL_TRUE if the variable reached zero after decrementing,
+ *         SDL_FALSE otherwise
+ */
+#ifndef SDL_AtomicDecRef
+#define SDL_AtomicDecRef(a)    (SDL_AtomicAdd(a, -1) == 1)
+#endif
+
+/**
+ * \brief Set a pointer to a new value if it is currently an old value.
+ *
+ * \return SDL_TRUE if the pointer was set, SDL_FALSE otherwise.
+ *
+ * \note If you don't know what this function is for, you shouldn't use it!
+*/
+extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval);
+
+/**
+ * \brief Set a pointer to a value atomically.
+ *
+ * \return The previous value of the pointer.
+ */
+extern DECLSPEC void* SDLCALL SDL_AtomicSetPtr(void **a, void* v);
+
+/**
+ * \brief Get the value of a pointer atomically.
+ */
+extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+
+#include "close_code.h"
+
+#endif /* SDL_atomic_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_audio.h
@@ -1,0 +1,859 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_audio.h
+ *
+ *  Access to the raw audio mixing buffer for the SDL library.
+ */
+
+#ifndef SDL_audio_h_
+#define SDL_audio_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_endian.h"
+#include "SDL_mutex.h"
+#include "SDL_thread.h"
+#include "SDL_rwops.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Audio format flags.
+ *
+ *  These are what the 16 bits in SDL_AudioFormat currently mean...
+ *  (Unspecified bits are always zero).
+ *
+ *  \verbatim
+    ++-----------------------sample is signed if set
+    ||
+    ||       ++-----------sample is bigendian if set
+    ||       ||
+    ||       ||          ++---sample is float if set
+    ||       ||          ||
+    ||       ||          || +---sample bit size---+
+    ||       ||          || |                     |
+    15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
+    \endverbatim
+ *
+ *  There are macros in SDL 2.0 and later to query these bits.
+ */
+typedef Uint16 SDL_AudioFormat;
+
+/**
+ *  \name Audio flags
+ */
+/* @{ */
+
+#define SDL_AUDIO_MASK_BITSIZE       (0xFF)
+#define SDL_AUDIO_MASK_DATATYPE      (1<<8)
+#define SDL_AUDIO_MASK_ENDIAN        (1<<12)
+#define SDL_AUDIO_MASK_SIGNED        (1<<15)
+#define SDL_AUDIO_BITSIZE(x)         (x & SDL_AUDIO_MASK_BITSIZE)
+#define SDL_AUDIO_ISFLOAT(x)         (x & SDL_AUDIO_MASK_DATATYPE)
+#define SDL_AUDIO_ISBIGENDIAN(x)     (x & SDL_AUDIO_MASK_ENDIAN)
+#define SDL_AUDIO_ISSIGNED(x)        (x & SDL_AUDIO_MASK_SIGNED)
+#define SDL_AUDIO_ISINT(x)           (!SDL_AUDIO_ISFLOAT(x))
+#define SDL_AUDIO_ISLITTLEENDIAN(x)  (!SDL_AUDIO_ISBIGENDIAN(x))
+#define SDL_AUDIO_ISUNSIGNED(x)      (!SDL_AUDIO_ISSIGNED(x))
+
+/**
+ *  \name Audio format flags
+ *
+ *  Defaults to LSB byte order.
+ */
+/* @{ */
+#define AUDIO_U8        0x0008  /**< Unsigned 8-bit samples */
+#define AUDIO_S8        0x8008  /**< Signed 8-bit samples */
+#define AUDIO_U16LSB    0x0010  /**< Unsigned 16-bit samples */
+#define AUDIO_S16LSB    0x8010  /**< Signed 16-bit samples */
+#define AUDIO_U16MSB    0x1010  /**< As above, but big-endian byte order */
+#define AUDIO_S16MSB    0x9010  /**< As above, but big-endian byte order */
+#define AUDIO_U16       AUDIO_U16LSB
+#define AUDIO_S16       AUDIO_S16LSB
+/* @} */
+
+/**
+ *  \name int32 support
+ */
+/* @{ */
+#define AUDIO_S32LSB    0x8020  /**< 32-bit integer samples */
+#define AUDIO_S32MSB    0x9020  /**< As above, but big-endian byte order */
+#define AUDIO_S32       AUDIO_S32LSB
+/* @} */
+
+/**
+ *  \name float32 support
+ */
+/* @{ */
+#define AUDIO_F32LSB    0x8120  /**< 32-bit floating point samples */
+#define AUDIO_F32MSB    0x9120  /**< As above, but big-endian byte order */
+#define AUDIO_F32       AUDIO_F32LSB
+/* @} */
+
+/**
+ *  \name Native audio byte ordering
+ */
+/* @{ */
+#if SDL_BYTEORDER == SDL_LIL_ENDIAN
+#define AUDIO_U16SYS    AUDIO_U16LSB
+#define AUDIO_S16SYS    AUDIO_S16LSB
+#define AUDIO_S32SYS    AUDIO_S32LSB
+#define AUDIO_F32SYS    AUDIO_F32LSB
+#else
+#define AUDIO_U16SYS    AUDIO_U16MSB
+#define AUDIO_S16SYS    AUDIO_S16MSB
+#define AUDIO_S32SYS    AUDIO_S32MSB
+#define AUDIO_F32SYS    AUDIO_F32MSB
+#endif
+/* @} */
+
+/**
+ *  \name Allow change flags
+ *
+ *  Which audio format changes are allowed when opening a device.
+ */
+/* @{ */
+#define SDL_AUDIO_ALLOW_FREQUENCY_CHANGE    0x00000001
+#define SDL_AUDIO_ALLOW_FORMAT_CHANGE       0x00000002
+#define SDL_AUDIO_ALLOW_CHANNELS_CHANGE     0x00000004
+#define SDL_AUDIO_ALLOW_SAMPLES_CHANGE      0x00000008
+#define SDL_AUDIO_ALLOW_ANY_CHANGE          (SDL_AUDIO_ALLOW_FREQUENCY_CHANGE|SDL_AUDIO_ALLOW_FORMAT_CHANGE|SDL_AUDIO_ALLOW_CHANNELS_CHANGE|SDL_AUDIO_ALLOW_SAMPLES_CHANGE)
+/* @} */
+
+/* @} *//* Audio flags */
+
+/**
+ *  This function is called when the audio device needs more data.
+ *
+ *  \param userdata An application-specific parameter saved in
+ *                  the SDL_AudioSpec structure
+ *  \param stream A pointer to the audio data buffer.
+ *  \param len    The length of that buffer in bytes.
+ *
+ *  Once the callback returns, the buffer will no longer be valid.
+ *  Stereo samples are stored in a LRLRLR ordering.
+ *
+ *  You can choose to avoid callbacks and use SDL_QueueAudio() instead, if
+ *  you like. Just open your audio device with a NULL callback.
+ */
+typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream,
+                                            int len);
+
+/**
+ *  The calculated values in this structure are calculated by SDL_OpenAudio().
+ *
+ *  For multi-channel audio, the default SDL channel mapping is:
+ *  2:  FL FR                       (stereo)
+ *  3:  FL FR LFE                   (2.1 surround)
+ *  4:  FL FR BL BR                 (quad)
+ *  5:  FL FR FC BL BR              (quad + center)
+ *  6:  FL FR FC LFE SL SR          (5.1 surround - last two can also be BL BR)
+ *  7:  FL FR FC LFE BC SL SR       (6.1 surround)
+ *  8:  FL FR FC LFE BL BR SL SR    (7.1 surround)
+ */
+typedef struct SDL_AudioSpec
+{
+    int freq;                   /**< DSP frequency -- samples per second */
+    SDL_AudioFormat format;     /**< Audio data format */
+    Uint8 channels;             /**< Number of channels: 1 mono, 2 stereo */
+    Uint8 silence;              /**< Audio buffer silence value (calculated) */
+    Uint16 samples;             /**< Audio buffer size in sample FRAMES (total samples divided by channel count) */
+    Uint16 padding;             /**< Necessary for some compile environments */
+    Uint32 size;                /**< Audio buffer size in bytes (calculated) */
+    SDL_AudioCallback callback; /**< Callback that feeds the audio device (NULL to use SDL_QueueAudio()). */
+    void *userdata;             /**< Userdata passed to callback (ignored for NULL callbacks). */
+} SDL_AudioSpec;
+
+
+struct SDL_AudioCVT;
+typedef void (SDLCALL * SDL_AudioFilter) (struct SDL_AudioCVT * cvt,
+                                          SDL_AudioFormat format);
+
+/**
+ *  \brief Upper limit of filters in SDL_AudioCVT
+ *
+ *  The maximum number of SDL_AudioFilter functions in SDL_AudioCVT is
+ *  currently limited to 9. The SDL_AudioCVT.filters array has 10 pointers,
+ *  one of which is the terminating NULL pointer.
+ */
+#define SDL_AUDIOCVT_MAX_FILTERS 9
+
+/**
+ *  \struct SDL_AudioCVT
+ *  \brief A structure to hold a set of audio conversion filters and buffers.
+ *
+ *  Note that various parts of the conversion pipeline can take advantage
+ *  of SIMD operations (like SSE2, for example). SDL_AudioCVT doesn't require
+ *  you to pass it aligned data, but can possibly run much faster if you
+ *  set both its (buf) field to a pointer that is aligned to 16 bytes, and its
+ *  (len) field to something that's a multiple of 16, if possible.
+ */
+#ifdef __GNUC__
+/* This structure is 84 bytes on 32-bit architectures, make sure GCC doesn't
+   pad it out to 88 bytes to guarantee ABI compatibility between compilers.
+   vvv
+   The next time we rev the ABI, make sure to size the ints and add padding.
+*/
+#define SDL_AUDIOCVT_PACKED __attribute__((packed))
+#else
+#define SDL_AUDIOCVT_PACKED
+#endif
+/* */
+typedef struct SDL_AudioCVT
+{
+    int needed;                 /**< Set to 1 if conversion possible */
+    SDL_AudioFormat src_format; /**< Source audio format */
+    SDL_AudioFormat dst_format; /**< Target audio format */
+    double rate_incr;           /**< Rate conversion increment */
+    Uint8 *buf;                 /**< Buffer to hold entire audio data */
+    int len;                    /**< Length of original audio buffer */
+    int len_cvt;                /**< Length of converted audio buffer */
+    int len_mult;               /**< buffer must be len*len_mult big */
+    double len_ratio;           /**< Given len, final size is len*len_ratio */
+    SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
+    int filter_index;           /**< Current audio conversion function */
+} SDL_AUDIOCVT_PACKED SDL_AudioCVT;
+
+
+/* Function prototypes */
+
+/**
+ *  \name Driver discovery functions
+ *
+ *  These functions return the list of built in audio drivers, in the
+ *  order that they are normally initialized by default.
+ */
+/* @{ */
+extern DECLSPEC int SDLCALL SDL_GetNumAudioDrivers(void);
+extern DECLSPEC const char *SDLCALL SDL_GetAudioDriver(int index);
+/* @} */
+
+/**
+ *  \name Initialization and cleanup
+ *
+ *  \internal These functions are used internally, and should not be used unless
+ *            you have a specific need to specify the audio driver you want to
+ *            use.  You should normally use SDL_Init() or SDL_InitSubSystem().
+ */
+/* @{ */
+extern DECLSPEC int SDLCALL SDL_AudioInit(const char *driver_name);
+extern DECLSPEC void SDLCALL SDL_AudioQuit(void);
+/* @} */
+
+/**
+ *  This function returns the name of the current audio driver, or NULL
+ *  if no driver has been initialized.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetCurrentAudioDriver(void);
+
+/**
+ *  This function opens the audio device with the desired parameters, and
+ *  returns 0 if successful, placing the actual hardware parameters in the
+ *  structure pointed to by \c obtained.  If \c obtained is NULL, the audio
+ *  data passed to the callback function will be guaranteed to be in the
+ *  requested format, and will be automatically converted to the hardware
+ *  audio format if necessary.  This function returns -1 if it failed
+ *  to open the audio device, or couldn't set up the audio thread.
+ *
+ *  When filling in the desired audio spec structure,
+ *    - \c desired->freq should be the desired audio frequency in samples-per-
+ *      second.
+ *    - \c desired->format should be the desired audio format.
+ *    - \c desired->samples is the desired size of the audio buffer, in
+ *      samples.  This number should be a power of two, and may be adjusted by
+ *      the audio driver to a value more suitable for the hardware.  Good values
+ *      seem to range between 512 and 8096 inclusive, depending on the
+ *      application and CPU speed.  Smaller values yield faster response time,
+ *      but can lead to underflow if the application is doing heavy processing
+ *      and cannot fill the audio buffer in time.  A stereo sample consists of
+ *      both right and left channels in LR ordering.
+ *      Note that the number of samples is directly related to time by the
+ *      following formula:  \code ms = (samples*1000)/freq \endcode
+ *    - \c desired->size is the size in bytes of the audio buffer, and is
+ *      calculated by SDL_OpenAudio().
+ *    - \c desired->silence is the value used to set the buffer to silence,
+ *      and is calculated by SDL_OpenAudio().
+ *    - \c desired->callback should be set to a function that will be called
+ *      when the audio device is ready for more data.  It is passed a pointer
+ *      to the audio buffer, and the length in bytes of the audio buffer.
+ *      This function usually runs in a separate thread, and so you should
+ *      protect data structures that it accesses by calling SDL_LockAudio()
+ *      and SDL_UnlockAudio() in your code. Alternately, you may pass a NULL
+ *      pointer here, and call SDL_QueueAudio() with some frequency, to queue
+ *      more audio samples to be played (or for capture devices, call
+ *      SDL_DequeueAudio() with some frequency, to obtain audio samples).
+ *    - \c desired->userdata is passed as the first parameter to your callback
+ *      function. If you passed a NULL callback, this value is ignored.
+ *
+ *  The audio device starts out playing silence when it's opened, and should
+ *  be enabled for playing by calling \c SDL_PauseAudio(0) when you are ready
+ *  for your audio callback function to be called.  Since the audio driver
+ *  may modify the requested size of the audio buffer, you should allocate
+ *  any local mixing buffers after you open the audio device.
+ */
+extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec * desired,
+                                          SDL_AudioSpec * obtained);
+
+/**
+ *  SDL Audio Device IDs.
+ *
+ *  A successful call to SDL_OpenAudio() is always device id 1, and legacy
+ *  SDL audio APIs assume you want this device ID. SDL_OpenAudioDevice() calls
+ *  always returns devices >= 2 on success. The legacy calls are good both
+ *  for backwards compatibility and when you don't care about multiple,
+ *  specific, or capture devices.
+ */
+typedef Uint32 SDL_AudioDeviceID;
+
+/**
+ *  Get the number of available devices exposed by the current driver.
+ *  Only valid after a successfully initializing the audio subsystem.
+ *  Returns -1 if an explicit list of devices can't be determined; this is
+ *  not an error. For example, if SDL is set up to talk to a remote audio
+ *  server, it can't list every one available on the Internet, but it will
+ *  still allow a specific host to be specified to SDL_OpenAudioDevice().
+ *
+ *  In many common cases, when this function returns a value <= 0, it can still
+ *  successfully open the default device (NULL for first argument of
+ *  SDL_OpenAudioDevice()).
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumAudioDevices(int iscapture);
+
+/**
+ *  Get the human-readable name of a specific audio device.
+ *  Must be a value between 0 and (number of audio devices-1).
+ *  Only valid after a successfully initializing the audio subsystem.
+ *  The values returned by this function reflect the latest call to
+ *  SDL_GetNumAudioDevices(); recall that function to redetect available
+ *  hardware.
+ *
+ *  The string returned by this function is UTF-8 encoded, read-only, and
+ *  managed internally. You are not to free it. If you need to keep the
+ *  string for any length of time, you should make your own copy of it, as it
+ *  will be invalid next time any of several other SDL functions is called.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,
+                                                           int iscapture);
+
+
+/**
+ *  Open a specific audio device. Passing in a device name of NULL requests
+ *  the most reasonable default (and is equivalent to calling SDL_OpenAudio()).
+ *
+ *  The device name is a UTF-8 string reported by SDL_GetAudioDeviceName(), but
+ *  some drivers allow arbitrary and driver-specific strings, such as a
+ *  hostname/IP address for a remote audio server, or a filename in the
+ *  diskaudio driver.
+ *
+ *  \return 0 on error, a valid device ID that is >= 2 on success.
+ *
+ *  SDL_OpenAudio(), unlike this function, always acts on device ID 1.
+ */
+extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(const char
+                                                              *device,
+                                                              int iscapture,
+                                                              const
+                                                              SDL_AudioSpec *
+                                                              desired,
+                                                              SDL_AudioSpec *
+                                                              obtained,
+                                                              int
+                                                              allowed_changes);
+
+
+
+/**
+ *  \name Audio state
+ *
+ *  Get the current audio state.
+ */
+/* @{ */
+typedef enum
+{
+    SDL_AUDIO_STOPPED = 0,
+    SDL_AUDIO_PLAYING,
+    SDL_AUDIO_PAUSED
+} SDL_AudioStatus;
+extern DECLSPEC SDL_AudioStatus SDLCALL SDL_GetAudioStatus(void);
+
+extern DECLSPEC SDL_AudioStatus SDLCALL
+SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
+/* @} *//* Audio State */
+
+/**
+ *  \name Pause audio functions
+ *
+ *  These functions pause and unpause the audio callback processing.
+ *  They should be called with a parameter of 0 after opening the audio
+ *  device to start playing sound.  This is so you can safely initialize
+ *  data for your callback function after opening the audio device.
+ *  Silence will be written to the audio device during the pause.
+ */
+/* @{ */
+extern DECLSPEC void SDLCALL SDL_PauseAudio(int pause_on);
+extern DECLSPEC void SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev,
+                                                  int pause_on);
+/* @} *//* Pause audio functions */
+
+/**
+ *  \brief Load the audio data of a WAVE file into memory
+ *
+ *  Loading a WAVE file requires \c src, \c spec, \c audio_buf and \c audio_len
+ *  to be valid pointers. The entire data portion of the file is then loaded
+ *  into memory and decoded if necessary.
+ *
+ *  If \c freesrc is non-zero, the data source gets automatically closed and
+ *  freed before the function returns.
+ *
+ *  Supported are RIFF WAVE files with the formats PCM (8, 16, 24, and 32 bits),
+ *  IEEE Float (32 bits), Microsoft ADPCM and IMA ADPCM (4 bits), and A-law and
+ *  µ-law (8 bits). Other formats are currently unsupported and cause an error.
+ *
+ *  If this function succeeds, the pointer returned by it is equal to \c spec
+ *  and the pointer to the audio data allocated by the function is written to
+ *  \c audio_buf and its length in bytes to \c audio_len. The \ref SDL_AudioSpec
+ *  members \c freq, \c channels, and \c format are set to the values of the
+ *  audio data in the buffer. The \c samples member is set to a sane default and
+ *  all others are set to zero.
+ *
+ *  It's necessary to use SDL_FreeWAV() to free the audio data returned in
+ *  \c audio_buf when it is no longer used.
+ *
+ *  Because of the underspecification of the Waveform format, there are many
+ *  problematic files in the wild that cause issues with strict decoders. To
+ *  provide compatibility with these files, this decoder is lenient in regards
+ *  to the truncation of the file, the fact chunk, and the size of the RIFF
+ *  chunk. The hints SDL_HINT_WAVE_RIFF_CHUNK_SIZE, SDL_HINT_WAVE_TRUNCATION,
+ *  and SDL_HINT_WAVE_FACT_CHUNK can be used to tune the behavior of the
+ *  loading process.
+ *
+ *  Any file that is invalid (due to truncation, corruption, or wrong values in
+ *  the headers), too big, or unsupported causes an error. Additionally, any
+ *  critical I/O error from the data source will terminate the loading process
+ *  with an error. The function returns NULL on error and in all cases (with the
+ *  exception of \c src being NULL), an appropriate error message will be set.
+ *
+ *  It is required that the data source supports seeking.
+ *
+ *  Example:
+ *  \code
+ *      SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...);
+ *  \endcode
+ *
+ *  \param src The data source with the WAVE data
+ *  \param freesrc A integer value that makes the function close the data source if non-zero
+ *  \param spec A pointer filled with the audio format of the audio data
+ *  \param audio_buf A pointer filled with the audio data allocated by the function
+ *  \param audio_len A pointer filled with the length of the audio data buffer in bytes
+ *  \return NULL on error, or non-NULL on success.
+ */
+extern DECLSPEC SDL_AudioSpec *SDLCALL SDL_LoadWAV_RW(SDL_RWops * src,
+                                                      int freesrc,
+                                                      SDL_AudioSpec * spec,
+                                                      Uint8 ** audio_buf,
+                                                      Uint32 * audio_len);
+
+/**
+ *  Loads a WAV from a file.
+ *  Compatibility convenience function.
+ */
+#define SDL_LoadWAV(file, spec, audio_buf, audio_len) \
+    SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len)
+
+/**
+ *  This function frees data previously allocated with SDL_LoadWAV_RW()
+ */
+extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf);
+
+/**
+ *  This function takes a source format and rate and a destination format
+ *  and rate, and initializes the \c cvt structure with information needed
+ *  by SDL_ConvertAudio() to convert a buffer of audio data from one format
+ *  to the other. An unsupported format causes an error and -1 will be returned.
+ *
+ *  \return 0 if no conversion is needed, 1 if the audio filter is set up,
+ *  or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_BuildAudioCVT(SDL_AudioCVT * cvt,
+                                              SDL_AudioFormat src_format,
+                                              Uint8 src_channels,
+                                              int src_rate,
+                                              SDL_AudioFormat dst_format,
+                                              Uint8 dst_channels,
+                                              int dst_rate);
+
+/**
+ *  Once you have initialized the \c cvt structure using SDL_BuildAudioCVT(),
+ *  created an audio buffer \c cvt->buf, and filled it with \c cvt->len bytes of
+ *  audio data in the source format, this function will convert it in-place
+ *  to the desired format.
+ *
+ *  The data conversion may expand the size of the audio data, so the buffer
+ *  \c cvt->buf should be allocated after the \c cvt structure is initialized by
+ *  SDL_BuildAudioCVT(), and should be \c cvt->len*cvt->len_mult bytes long.
+ *
+ *  \return 0 on success or -1 if \c cvt->buf is NULL.
+ */
+extern DECLSPEC int SDLCALL SDL_ConvertAudio(SDL_AudioCVT * cvt);
+
+/* SDL_AudioStream is a new audio conversion interface.
+   The benefits vs SDL_AudioCVT:
+    - it can handle resampling data in chunks without generating
+      artifacts, when it doesn't have the complete buffer available.
+    - it can handle incoming data in any variable size.
+    - You push data as you have it, and pull it when you need it
+ */
+/* this is opaque to the outside world. */
+struct _SDL_AudioStream;
+typedef struct _SDL_AudioStream SDL_AudioStream;
+
+/**
+ *  Create a new audio stream
+ *
+ *  \param src_format The format of the source audio
+ *  \param src_channels The number of channels of the source audio
+ *  \param src_rate The sampling rate of the source audio
+ *  \param dst_format The format of the desired audio output
+ *  \param dst_channels The number of channels of the desired audio output
+ *  \param dst_rate The sampling rate of the desired audio output
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC SDL_AudioStream * SDLCALL SDL_NewAudioStream(const SDL_AudioFormat src_format,
+                                           const Uint8 src_channels,
+                                           const int src_rate,
+                                           const SDL_AudioFormat dst_format,
+                                           const Uint8 dst_channels,
+                                           const int dst_rate);
+
+/**
+ *  Add data to be converted/resampled to the stream
+ *
+ *  \param stream The stream the audio data is being added to
+ *  \param buf A pointer to the audio data to add
+ *  \param len The number of bytes to write to the stream
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamPut(SDL_AudioStream *stream, const void *buf, int len);
+
+/**
+ *  Get converted/resampled data from the stream
+ *
+ *  \param stream The stream the audio is being requested from
+ *  \param buf A buffer to fill with audio data
+ *  \param len The maximum number of bytes to fill
+ *  \return The number of bytes read from the stream, or -1 on error
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamGet(SDL_AudioStream *stream, void *buf, int len);
+
+/**
+ * Get the number of converted/resampled bytes available. The stream may be
+ *  buffering data behind the scenes until it has enough to resample
+ *  correctly, so this number might be lower than what you expect, or even
+ *  be zero. Add more data or flush the stream if you need the data now.
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamAvailable(SDL_AudioStream *stream);
+
+/**
+ * Tell the stream that you're done sending data, and anything being buffered
+ *  should be converted/resampled and made available immediately.
+ *
+ * It is legal to add more data to a stream after flushing, but there will
+ *  be audio gaps in the output. Generally this is intended to signal the
+ *  end of input, so the complete output becomes available.
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamClear
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC int SDLCALL SDL_AudioStreamFlush(SDL_AudioStream *stream);
+
+/**
+ *  Clear any pending data in the stream without converting it
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_FreeAudioStream
+ */
+extern DECLSPEC void SDLCALL SDL_AudioStreamClear(SDL_AudioStream *stream);
+
+/**
+ * Free an audio stream
+ *
+ *  \sa SDL_NewAudioStream
+ *  \sa SDL_AudioStreamPut
+ *  \sa SDL_AudioStreamGet
+ *  \sa SDL_AudioStreamAvailable
+ *  \sa SDL_AudioStreamFlush
+ *  \sa SDL_AudioStreamClear
+ */
+extern DECLSPEC void SDLCALL SDL_FreeAudioStream(SDL_AudioStream *stream);
+
+#define SDL_MIX_MAXVOLUME 128
+/**
+ *  This takes two audio buffers of the playing audio format and mixes
+ *  them, performing addition, volume adjustment, and overflow clipping.
+ *  The volume ranges from 0 - 128, and should be set to ::SDL_MIX_MAXVOLUME
+ *  for full audio volume.  Note this does not change hardware volume.
+ *  This is provided for convenience -- you can mix your own audio data.
+ */
+extern DECLSPEC void SDLCALL SDL_MixAudio(Uint8 * dst, const Uint8 * src,
+                                          Uint32 len, int volume);
+
+/**
+ *  This works like SDL_MixAudio(), but you specify the audio format instead of
+ *  using the format of audio device 1. Thus it can be used when no audio
+ *  device is open at all.
+ */
+extern DECLSPEC void SDLCALL SDL_MixAudioFormat(Uint8 * dst,
+                                                const Uint8 * src,
+                                                SDL_AudioFormat format,
+                                                Uint32 len, int volume);
+
+/**
+ *  Queue more audio on non-callback devices.
+ *
+ *  (If you are looking to retrieve queued audio from a non-callback capture
+ *  device, you want SDL_DequeueAudio() instead. This will return -1 to
+ *  signify an error if you use it with capture devices.)
+ *
+ *  SDL offers two ways to feed audio to the device: you can either supply a
+ *  callback that SDL triggers with some frequency to obtain more audio
+ *  (pull method), or you can supply no callback, and then SDL will expect
+ *  you to supply data at regular intervals (push method) with this function.
+ *
+ *  There are no limits on the amount of data you can queue, short of
+ *  exhaustion of address space. Queued data will drain to the device as
+ *  necessary without further intervention from you. If the device needs
+ *  audio but there is not enough queued, it will play silence to make up
+ *  the difference. This means you will have skips in your audio playback
+ *  if you aren't routinely queueing sufficient data.
+ *
+ *  This function copies the supplied data, so you are safe to free it when
+ *  the function returns. This function is thread-safe, but queueing to the
+ *  same device from two threads at once does not promise which buffer will
+ *  be queued first.
+ *
+ *  You may not queue audio on a device that is using an application-supplied
+ *  callback; doing so returns an error. You have to use the audio callback
+ *  or queue audio with this function, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before queueing; SDL
+ *  handles locking internally for this function.
+ *
+ *  \param dev The device ID to which we will queue audio.
+ *  \param data The data to queue to the device for later playback.
+ *  \param len The number of bytes (not samples!) to which (data) points.
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_GetQueuedAudioSize
+ *  \sa SDL_ClearQueuedAudio
+ */
+extern DECLSPEC int SDLCALL SDL_QueueAudio(SDL_AudioDeviceID dev, const void *data, Uint32 len);
+
+/**
+ *  Dequeue more audio on non-callback devices.
+ *
+ *  (If you are looking to queue audio for output on a non-callback playback
+ *  device, you want SDL_QueueAudio() instead. This will always return 0
+ *  if you use it with playback devices.)
+ *
+ *  SDL offers two ways to retrieve audio from a capture device: you can
+ *  either supply a callback that SDL triggers with some frequency as the
+ *  device records more audio data, (push method), or you can supply no
+ *  callback, and then SDL will expect you to retrieve data at regular
+ *  intervals (pull method) with this function.
+ *
+ *  There are no limits on the amount of data you can queue, short of
+ *  exhaustion of address space. Data from the device will keep queuing as
+ *  necessary without further intervention from you. This means you will
+ *  eventually run out of memory if you aren't routinely dequeueing data.
+ *
+ *  Capture devices will not queue data when paused; if you are expecting
+ *  to not need captured audio for some length of time, use
+ *  SDL_PauseAudioDevice() to stop the capture device from queueing more
+ *  data. This can be useful during, say, level loading times. When
+ *  unpaused, capture devices will start queueing data from that point,
+ *  having flushed any capturable data available while paused.
+ *
+ *  This function is thread-safe, but dequeueing from the same device from
+ *  two threads at once does not promise which thread will dequeued data
+ *  first.
+ *
+ *  You may not dequeue audio from a device that is using an
+ *  application-supplied callback; doing so returns an error. You have to use
+ *  the audio callback, or dequeue audio with this function, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before queueing; SDL
+ *  handles locking internally for this function.
+ *
+ *  \param dev The device ID from which we will dequeue audio.
+ *  \param data A pointer into where audio data should be copied.
+ *  \param len The number of bytes (not samples!) to which (data) points.
+ *  \return number of bytes dequeued, which could be less than requested.
+ *
+ *  \sa SDL_GetQueuedAudioSize
+ *  \sa SDL_ClearQueuedAudio
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_DequeueAudio(SDL_AudioDeviceID dev, void *data, Uint32 len);
+
+/**
+ *  Get the number of bytes of still-queued audio.
+ *
+ *  For playback device:
+ *
+ *    This is the number of bytes that have been queued for playback with
+ *    SDL_QueueAudio(), but have not yet been sent to the hardware. This
+ *    number may shrink at any time, so this only informs of pending data.
+ *
+ *    Once we've sent it to the hardware, this function can not decide the
+ *    exact byte boundary of what has been played. It's possible that we just
+ *    gave the hardware several kilobytes right before you called this
+ *    function, but it hasn't played any of it yet, or maybe half of it, etc.
+ *
+ *  For capture devices:
+ *
+ *    This is the number of bytes that have been captured by the device and
+ *    are waiting for you to dequeue. This number may grow at any time, so
+ *    this only informs of the lower-bound of available data.
+ *
+ *  You may not queue audio on a device that is using an application-supplied
+ *  callback; calling this function on such a device always returns 0.
+ *  You have to queue audio with SDL_QueueAudio()/SDL_DequeueAudio(), or use
+ *  the audio callback, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before querying; SDL
+ *  handles locking internally for this function.
+ *
+ *  \param dev The device ID of which we will query queued audio size.
+ *  \return Number of bytes (not samples!) of queued audio.
+ *
+ *  \sa SDL_QueueAudio
+ *  \sa SDL_ClearQueuedAudio
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetQueuedAudioSize(SDL_AudioDeviceID dev);
+
+/**
+ *  Drop any queued audio data. For playback devices, this is any queued data
+ *  still waiting to be submitted to the hardware. For capture devices, this
+ *  is any data that was queued by the device that hasn't yet been dequeued by
+ *  the application.
+ *
+ *  Immediately after this call, SDL_GetQueuedAudioSize() will return 0. For
+ *  playback devices, the hardware will start playing silence if more audio
+ *  isn't queued. Unpaused capture devices will start filling the queue again
+ *  as soon as they have more data available (which, depending on the state
+ *  of the hardware and the thread, could be before this function call
+ *  returns!).
+ *
+ *  This will not prevent playback of queued audio that's already been sent
+ *  to the hardware, as we can not undo that, so expect there to be some
+ *  fraction of a second of audio that might still be heard. This can be
+ *  useful if you want to, say, drop any pending music during a level change
+ *  in your game.
+ *
+ *  You may not queue audio on a device that is using an application-supplied
+ *  callback; calling this function on such a device is always a no-op.
+ *  You have to queue audio with SDL_QueueAudio()/SDL_DequeueAudio(), or use
+ *  the audio callback, but not both.
+ *
+ *  You should not call SDL_LockAudio() on the device before clearing the
+ *  queue; SDL handles locking internally for this function.
+ *
+ *  This function always succeeds and thus returns void.
+ *
+ *  \param dev The device ID of which to clear the audio queue.
+ *
+ *  \sa SDL_QueueAudio
+ *  \sa SDL_GetQueuedAudioSize
+ */
+extern DECLSPEC void SDLCALL SDL_ClearQueuedAudio(SDL_AudioDeviceID dev);
+
+
+/**
+ *  \name Audio lock functions
+ *
+ *  The lock manipulated by these functions protects the callback function.
+ *  During a SDL_LockAudio()/SDL_UnlockAudio() pair, you can be guaranteed that
+ *  the callback function is not running.  Do not call these from the callback
+ *  function or you will cause deadlock.
+ */
+/* @{ */
+extern DECLSPEC void SDLCALL SDL_LockAudio(void);
+extern DECLSPEC void SDLCALL SDL_LockAudioDevice(SDL_AudioDeviceID dev);
+extern DECLSPEC void SDLCALL SDL_UnlockAudio(void);
+extern DECLSPEC void SDLCALL SDL_UnlockAudioDevice(SDL_AudioDeviceID dev);
+/* @} *//* Audio lock functions */
+
+/**
+ *  This function shuts down audio processing and closes the audio device.
+ */
+extern DECLSPEC void SDLCALL SDL_CloseAudio(void);
+extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_audio_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_bits.h
@@ -1,0 +1,121 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_bits.h
+ *
+ *  Functions for fiddling with bits and bitmasks.
+ */
+
+#ifndef SDL_bits_h_
+#define SDL_bits_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_bits.h
+ */
+
+/**
+ *  Get the index of the most significant bit. Result is undefined when called
+ *  with 0. This operation can also be stated as "count leading zeroes" and
+ *  "log base 2".
+ *
+ *  \return Index of the most significant bit, or -1 if the value is 0.
+ */
+#if defined(__WATCOMC__) && defined(__386__)
+extern _inline int _SDL_clz_watcom (Uint32);
+#pragma aux _SDL_clz_watcom = \
+    "bsr eax, eax" \
+    "xor eax, 31" \
+    parm [eax] nomemory \
+    value [eax] \
+    modify exact [eax] nomemory;
+#endif
+
+SDL_FORCE_INLINE int
+SDL_MostSignificantBitIndex32(Uint32 x)
+{
+#if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
+    /* Count Leading Zeroes builtin in GCC.
+     * http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
+     */
+    if (x == 0) {
+        return -1;
+    }
+    return 31 - __builtin_clz(x);
+#elif defined(__WATCOMC__) && defined(__386__)
+    if (x == 0) {
+        return -1;
+    }
+    return 31 - _SDL_clz_watcom(x);
+#else
+    /* Based off of Bit Twiddling Hacks by Sean Eron Anderson
+     * <[email protected]>, released in the public domain.
+     * http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog
+     */
+    const Uint32 b[] = {0x2, 0xC, 0xF0, 0xFF00, 0xFFFF0000};
+    const int    S[] = {1, 2, 4, 8, 16};
+
+    int msbIndex = 0;
+    int i;
+
+    if (x == 0) {
+        return -1;
+    }
+
+    for (i = 4; i >= 0; i--)
+    {
+        if (x & b[i])
+        {
+            x >>= S[i];
+            msbIndex |= S[i];
+        }
+    }
+
+    return msbIndex;
+#endif
+}
+
+SDL_FORCE_INLINE SDL_bool
+SDL_HasExactlyOneBitSet32(Uint32 x)
+{
+    if (x && !(x & (x - 1))) {
+        return SDL_TRUE;
+    }
+    return SDL_FALSE;
+}
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_bits_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_blendmode.h
@@ -1,0 +1,120 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_blendmode.h
+ *
+ *  Header file declaring the SDL_BlendMode enumeration
+ */
+
+#ifndef SDL_blendmode_h_
+#define SDL_blendmode_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief The blend mode used in SDL_RenderCopy() and drawing operations.
+ */
+typedef enum
+{
+    SDL_BLENDMODE_NONE = 0x00000000,     /**< no blending
+                                              dstRGBA = srcRGBA */
+    SDL_BLENDMODE_BLEND = 0x00000001,    /**< alpha blending
+                                              dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))
+                                              dstA = srcA + (dstA * (1-srcA)) */
+    SDL_BLENDMODE_ADD = 0x00000002,      /**< additive blending
+                                              dstRGB = (srcRGB * srcA) + dstRGB
+                                              dstA = dstA */
+    SDL_BLENDMODE_MOD = 0x00000004,      /**< color modulate
+                                              dstRGB = srcRGB * dstRGB
+                                              dstA = dstA */
+    SDL_BLENDMODE_INVALID = 0x7FFFFFFF
+
+    /* Additional custom blend modes can be returned by SDL_ComposeCustomBlendMode() */
+
+} SDL_BlendMode;
+
+/**
+ *  \brief The blend operation used when combining source and destination pixel components
+ */
+typedef enum
+{
+    SDL_BLENDOPERATION_ADD              = 0x1,  /**< dst + src: supported by all renderers */
+    SDL_BLENDOPERATION_SUBTRACT         = 0x2,  /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */
+    SDL_BLENDOPERATION_REV_SUBTRACT     = 0x3,  /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */
+    SDL_BLENDOPERATION_MINIMUM          = 0x4,  /**< min(dst, src) : supported by D3D11 */
+    SDL_BLENDOPERATION_MAXIMUM          = 0x5   /**< max(dst, src) : supported by D3D11 */
+
+} SDL_BlendOperation;
+
+/**
+ *  \brief The normalized factor used to multiply pixel components
+ */
+typedef enum
+{
+    SDL_BLENDFACTOR_ZERO                = 0x1,  /**< 0, 0, 0, 0 */
+    SDL_BLENDFACTOR_ONE                 = 0x2,  /**< 1, 1, 1, 1 */
+    SDL_BLENDFACTOR_SRC_COLOR           = 0x3,  /**< srcR, srcG, srcB, srcA */
+    SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR = 0x4,  /**< 1-srcR, 1-srcG, 1-srcB, 1-srcA */
+    SDL_BLENDFACTOR_SRC_ALPHA           = 0x5,  /**< srcA, srcA, srcA, srcA */
+    SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA = 0x6,  /**< 1-srcA, 1-srcA, 1-srcA, 1-srcA */
+    SDL_BLENDFACTOR_DST_COLOR           = 0x7,  /**< dstR, dstG, dstB, dstA */
+    SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8,  /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */
+    SDL_BLENDFACTOR_DST_ALPHA           = 0x9,  /**< dstA, dstA, dstA, dstA */
+    SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA   /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */
+
+} SDL_BlendFactor;
+
+/**
+ *  \brief Create a custom blend mode, which may or may not be supported by a given renderer
+ *
+ *  \param srcColorFactor source color factor
+ *  \param dstColorFactor destination color factor
+ *  \param colorOperation color operation
+ *  \param srcAlphaFactor source alpha factor
+ *  \param dstAlphaFactor destination alpha factor
+ *  \param alphaOperation alpha operation
+ *
+ *  The result of the blend mode operation will be:
+ *      dstRGB = dstRGB * dstColorFactor colorOperation srcRGB * srcColorFactor
+ *  and
+ *      dstA = dstA * dstAlphaFactor alphaOperation srcA * srcAlphaFactor
+ */
+extern DECLSPEC SDL_BlendMode SDLCALL SDL_ComposeCustomBlendMode(SDL_BlendFactor srcColorFactor,
+                                                                 SDL_BlendFactor dstColorFactor,
+                                                                 SDL_BlendOperation colorOperation,
+                                                                 SDL_BlendFactor srcAlphaFactor,
+                                                                 SDL_BlendFactor dstAlphaFactor,
+                                                                 SDL_BlendOperation alphaOperation);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_blendmode_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_clipboard.h
@@ -1,0 +1,71 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ * \file SDL_clipboard.h
+ *
+ * Include file for SDL clipboard handling
+ */
+
+#ifndef SDL_clipboard_h_
+#define SDL_clipboard_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Function prototypes */
+
+/**
+ * \brief Put UTF-8 text into the clipboard
+ *
+ * \sa SDL_GetClipboardText()
+ */
+extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
+
+/**
+ * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()
+ *
+ * \sa SDL_SetClipboardText()
+ */
+extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void);
+
+/**
+ * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
+ *
+ * \sa SDL_GetClipboardText()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_clipboard_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config.h
@@ -1,0 +1,257 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_windows_h_
+#define SDL_config_windows_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/* This is a set of defines to configure the SDL features */
+
+#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
+#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
+#define HAVE_STDINT_H   1
+#elif defined(_MSC_VER)
+typedef signed __int8 int8_t;
+typedef unsigned __int8 uint8_t;
+typedef signed __int16 int16_t;
+typedef unsigned __int16 uint16_t;
+typedef signed __int32 int32_t;
+typedef unsigned __int32 uint32_t;
+typedef signed __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#ifndef _UINTPTR_T_DEFINED
+#ifdef  _WIN64
+typedef unsigned __int64 uintptr_t;
+#else
+typedef unsigned int uintptr_t;
+#endif
+#define _UINTPTR_T_DEFINED
+#endif
+/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
+#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
+#define DWORD_PTR DWORD
+#endif
+#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
+#define LONG_PTR LONG
+#endif
+#else /* !__GNUC__ && !_MSC_VER */
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed long long int64_t;
+typedef unsigned long long uint64_t;
+#ifndef _SIZE_T_DEFINED_
+#define _SIZE_T_DEFINED_
+typedef unsigned int size_t;
+#endif
+typedef unsigned int uintptr_t;
+#endif /* __GNUC__ || _MSC_VER */
+#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
+
+#ifdef _WIN64
+# define SIZEOF_VOIDP 8
+#else
+# define SIZEOF_VOIDP 4
+#endif
+
+#define HAVE_DDRAW_H 1
+#define HAVE_DINPUT_H 1
+#define HAVE_DSOUND_H 1
+#define HAVE_DXGI_H 1
+#define HAVE_XINPUT_H 1
+#define HAVE_MMDEVICEAPI_H 1
+#define HAVE_AUDIOCLIENT_H 1
+#define HAVE_ENDPOINTVOLUME_H 1
+
+/* This is disabled by default to avoid C runtime dependencies and manifest requirements */
+#ifdef HAVE_LIBC
+/* Useful headers */
+#define STDC_HEADERS 1
+#define HAVE_CTYPE_H 1
+#define HAVE_FLOAT_H 1
+#define HAVE_LIMITS_H 1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H 1
+#define HAVE_STDIO_H 1
+#define HAVE_STRING_H 1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC 1
+#define HAVE_FREE 1
+#define HAVE_ALLOCA 1
+#define HAVE_QSORT 1
+#define HAVE_ABS 1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE 1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE__STRREV 1
+/* These functions have security warnings, so we won't use them */
+/* #undef HAVE__STRUPR */
+/* #undef HAVE__STRLWR */
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR 1
+#define HAVE_STRSTR 1
+/* These functions have security warnings, so we won't use them */
+/* #undef HAVE__LTOA */
+/* #undef HAVE__ULTOA */
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP 1
+#define HAVE__STRICMP 1
+#define HAVE__STRNICMP 1
+#define HAVE_ACOS   1
+#define HAVE_ACOSF  1
+#define HAVE_ASIN   1
+#define HAVE_ASINF  1
+#define HAVE_ATAN   1
+#define HAVE_ATANF  1
+#define HAVE_ATAN2  1
+#define HAVE_ATAN2F 1
+#define HAVE_CEILF  1
+#define HAVE__COPYSIGN  1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_EXP    1
+#define HAVE_EXPF   1
+#define HAVE_FABS   1
+#define HAVE_FABSF  1
+#define HAVE_FLOOR  1
+#define HAVE_FLOORF 1
+#define HAVE_FMOD   1
+#define HAVE_FMODF  1
+#define HAVE_LOG    1
+#define HAVE_LOGF   1
+#define HAVE_LOG10  1
+#define HAVE_LOG10F 1
+#define HAVE_POW    1
+#define HAVE_POWF   1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#if defined(_MSC_VER)
+/* These functions were added with the VC++ 2013 C runtime library */
+#if _MSC_VER >= 1800
+#define HAVE_STRTOLL 1
+#define HAVE_VSSCANF 1
+#define HAVE_SCALBN 1
+#define HAVE_SCALBNF    1
+#endif
+/* This function is available with at least the VC++ 2008 C runtime library */
+#if _MSC_VER >= 1400
+#define HAVE__FSEEKI64 1
+#endif
+#endif
+#if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)
+#define HAVE_M_PI 1
+#endif
+#else
+#define HAVE_STDARG_H   1
+#define HAVE_STDDEF_H   1
+#endif
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_WASAPI 1
+#define SDL_AUDIO_DRIVER_DSOUND 1
+#define SDL_AUDIO_DRIVER_WINMM  1
+#define SDL_AUDIO_DRIVER_DISK   1
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable various input drivers */
+#define SDL_JOYSTICK_DINPUT 1
+#define SDL_JOYSTICK_XINPUT 1
+#define SDL_JOYSTICK_HIDAPI 1
+#define SDL_HAPTIC_DINPUT   1
+#define SDL_HAPTIC_XINPUT   1
+
+/* Enable the dummy sensor driver */
+#define SDL_SENSOR_DUMMY  1
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_WINDOWS  1
+
+/* Enable various threading systems */
+#define SDL_THREAD_WINDOWS  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_WINDOWS   1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_DUMMY  1
+#define SDL_VIDEO_DRIVER_WINDOWS    1
+
+#ifndef SDL_VIDEO_RENDER_D3D
+#define SDL_VIDEO_RENDER_D3D    1
+#endif
+#ifndef SDL_VIDEO_RENDER_D3D11
+#define SDL_VIDEO_RENDER_D3D11  0
+#endif
+
+/* Enable OpenGL support */
+#ifndef SDL_VIDEO_OPENGL
+#define SDL_VIDEO_OPENGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_WGL
+#define SDL_VIDEO_OPENGL_WGL    1
+#endif
+#ifndef SDL_VIDEO_RENDER_OGL
+#define SDL_VIDEO_RENDER_OGL    1
+#endif
+#ifndef SDL_VIDEO_RENDER_OGL_ES2
+#define SDL_VIDEO_RENDER_OGL_ES2    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_ES2
+#define SDL_VIDEO_OPENGL_ES2    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_EGL
+#define SDL_VIDEO_OPENGL_EGL    1
+#endif
+
+/* Enable Vulkan support */
+#define SDL_VIDEO_VULKAN 1
+
+/* Enable system power support */
+#define SDL_POWER_WINDOWS 1
+
+/* Enable filesystem support */
+#define SDL_FILESYSTEM_WINDOWS  1
+
+/* Enable assembly routines (Win64 doesn't have inline asm) */
+#ifndef _WIN64
+#define SDL_ASSEMBLY_ROUTINES   1
+#endif
+
+#endif /* SDL_config_windows_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config.h.cmake
@@ -1,0 +1,445 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_h_
+#define SDL_config_h_
+
+/**
+ *  \file SDL_config.h.in
+ *
+ *  This is a set of defines to configure the SDL features
+ */
+
+/* General platform specific identifiers */
+#include "SDL_platform.h"
+
+/* C language features */
+#cmakedefine const @HAVE_CONST@
+#cmakedefine inline @HAVE_INLINE@
+#cmakedefine volatile @HAVE_VOLATILE@
+
+/* C datatypes */
+/* Define SIZEOF_VOIDP for 64/32 architectures */
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
+#define SIZEOF_VOIDP 4
+#endif
+
+#cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
+#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
+
+#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
+#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
+#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
+#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
+#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
+#cmakedefine HAVE_XAUDIO2_H @HAVE_XAUDIO2_H@
+#cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
+#cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
+#cmakedefine HAVE_XINPUT_GAMEPAD_EX @HAVE_XINPUT_GAMEPAD_EX@
+#cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@
+
+/* Comment this if you want to build without any C library requirements */
+#cmakedefine HAVE_LIBC 1
+#if HAVE_LIBC
+
+/* Useful headers */
+#cmakedefine HAVE_ALLOCA_H 1
+#cmakedefine HAVE_SYS_TYPES_H 1
+#cmakedefine HAVE_STDIO_H 1
+#cmakedefine STDC_HEADERS 1
+#cmakedefine HAVE_STDLIB_H 1
+#cmakedefine HAVE_STDARG_H 1
+#cmakedefine HAVE_MALLOC_H 1
+#cmakedefine HAVE_MEMORY_H 1
+#cmakedefine HAVE_STRING_H 1
+#cmakedefine HAVE_STRINGS_H 1
+#cmakedefine HAVE_WCHAR_H 1
+#cmakedefine HAVE_INTTYPES_H 1
+#cmakedefine HAVE_STDINT_H 1
+#cmakedefine HAVE_CTYPE_H 1
+#cmakedefine HAVE_MATH_H 1
+#cmakedefine HAVE_ICONV_H 1
+#cmakedefine HAVE_SIGNAL_H 1
+#cmakedefine HAVE_ALTIVEC_H 1
+#cmakedefine HAVE_PTHREAD_NP_H 1
+#cmakedefine HAVE_LIBUDEV_H 1
+#cmakedefine HAVE_DBUS_DBUS_H 1
+#cmakedefine HAVE_IBUS_IBUS_H 1
+#cmakedefine HAVE_FCITX_FRONTEND_H 1
+#cmakedefine HAVE_LIBSAMPLERATE_H 1
+
+/* C library functions */
+#cmakedefine HAVE_MALLOC 1
+#cmakedefine HAVE_CALLOC 1
+#cmakedefine HAVE_REALLOC 1
+#cmakedefine HAVE_FREE 1
+#cmakedefine HAVE_ALLOCA 1
+#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
+#cmakedefine HAVE_GETENV 1
+#cmakedefine HAVE_SETENV 1
+#cmakedefine HAVE_PUTENV 1
+#cmakedefine HAVE_UNSETENV 1
+#endif
+#cmakedefine HAVE_QSORT 1
+#cmakedefine HAVE_ABS 1
+#cmakedefine HAVE_BCOPY 1
+#cmakedefine HAVE_MEMSET 1
+#cmakedefine HAVE_MEMCPY 1
+#cmakedefine HAVE_MEMMOVE 1
+#cmakedefine HAVE_MEMCMP 1
+#cmakedefine HAVE_WCSLEN 1
+#cmakedefine HAVE_WCSLCPY 1
+#cmakedefine HAVE_WCSLCAT 1
+#cmakedefine HAVE_WCSCMP 1
+#cmakedefine HAVE_STRLEN 1
+#cmakedefine HAVE_STRLCPY 1
+#cmakedefine HAVE_STRLCAT 1
+#cmakedefine HAVE_STRDUP 1
+#cmakedefine HAVE__STRREV 1
+#cmakedefine HAVE__STRUPR 1
+#cmakedefine HAVE__STRLWR 1
+#cmakedefine HAVE_INDEX 1
+#cmakedefine HAVE_RINDEX 1
+#cmakedefine HAVE_STRCHR 1
+#cmakedefine HAVE_STRRCHR 1
+#cmakedefine HAVE_STRSTR 1
+#cmakedefine HAVE_ITOA 1
+#cmakedefine HAVE__LTOA 1
+#cmakedefine HAVE__UITOA 1
+#cmakedefine HAVE__ULTOA 1
+#cmakedefine HAVE_STRTOL 1
+#cmakedefine HAVE_STRTOUL 1
+#cmakedefine HAVE__I64TOA 1
+#cmakedefine HAVE__UI64TOA 1
+#cmakedefine HAVE_STRTOLL 1
+#cmakedefine HAVE_STRTOULL 1
+#cmakedefine HAVE_STRTOD 1
+#cmakedefine HAVE_ATOI 1
+#cmakedefine HAVE_ATOF 1
+#cmakedefine HAVE_STRCMP 1
+#cmakedefine HAVE_STRNCMP 1
+#cmakedefine HAVE__STRICMP 1
+#cmakedefine HAVE_STRCASECMP 1
+#cmakedefine HAVE__STRNICMP 1
+#cmakedefine HAVE_STRNCASECMP 1
+#cmakedefine HAVE_VSSCANF 1
+#cmakedefine HAVE_VSNPRINTF 1
+#cmakedefine HAVE_M_PI 1
+#cmakedefine HAVE_ATAN 1
+#cmakedefine HAVE_ATAN2 1
+#cmakedefine HAVE_ACOS 1
+#cmakedefine HAVE_ASIN 1
+#cmakedefine HAVE_CEIL 1
+#cmakedefine HAVE_COPYSIGN 1
+#cmakedefine HAVE_COS 1
+#cmakedefine HAVE_COSF 1
+#cmakedefine HAVE_FABS 1
+#cmakedefine HAVE_FLOOR 1
+#cmakedefine HAVE_LOG 1
+#cmakedefine HAVE_POW 1
+#cmakedefine HAVE_SCALBN 1
+#cmakedefine HAVE_SIN 1
+#cmakedefine HAVE_SINF 1
+#cmakedefine HAVE_SQRT 1
+#cmakedefine HAVE_SQRTF 1
+#cmakedefine HAVE_TAN 1
+#cmakedefine HAVE_TANF 1
+#cmakedefine HAVE_FOPEN64 1
+#cmakedefine HAVE_FSEEKO 1
+#cmakedefine HAVE_FSEEKO64 1
+#cmakedefine HAVE_SIGACTION 1
+#cmakedefine HAVE_SA_SIGACTION 1
+#cmakedefine HAVE_SETJMP 1
+#cmakedefine HAVE_NANOSLEEP 1
+#cmakedefine HAVE_SYSCONF 1
+#cmakedefine HAVE_SYSCTLBYNAME 1
+#cmakedefine HAVE_CLOCK_GETTIME 1
+#cmakedefine HAVE_GETPAGESIZE 1
+#cmakedefine HAVE_MPROTECT 1
+#cmakedefine HAVE_ICONV 1
+#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
+#cmakedefine HAVE_PTHREAD_SET_NAME_NP 1
+#cmakedefine HAVE_SEM_TIMEDWAIT 1
+#cmakedefine HAVE_GETAUXVAL 1
+#cmakedefine HAVE_POLL 1
+
+#elif __WIN32__
+#cmakedefine HAVE_STDARG_H 1
+#cmakedefine HAVE_STDDEF_H 1
+#else
+/* We may need some replacement for stdarg.h here */
+#include <stdarg.h>
+#endif /* HAVE_LIBC */
+
+/* SDL internal assertion support */
+#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
+
+/* Allow disabling of core subsystems */
+#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
+#cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@
+#cmakedefine SDL_CPUINFO_DISABLED @SDL_CPUINFO_DISABLED@
+#cmakedefine SDL_EVENTS_DISABLED @SDL_EVENTS_DISABLED@
+#cmakedefine SDL_FILE_DISABLED @SDL_FILE_DISABLED@
+#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
+#cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@
+#cmakedefine SDL_LOADSO_DISABLED @SDL_LOADSO_DISABLED@
+#cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@
+#cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@
+#cmakedefine SDL_TIMERS_DISABLED @SDL_TIMERS_DISABLED@
+#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
+#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
+#cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@
+
+/* Enable various audio drivers */
+#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
+#cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_ANDROID @SDL_AUDIO_DRIVER_ANDROID@
+#cmakedefine SDL_AUDIO_DRIVER_ARTS @SDL_AUDIO_DRIVER_ARTS@
+#cmakedefine SDL_AUDIO_DRIVER_ARTS_DYNAMIC @SDL_AUDIO_DRIVER_ARTS_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@
+#cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@
+#cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@
+#cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@
+#cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN @SDL_AUDIO_DRIVER_EMSCRIPTEN@
+#cmakedefine SDL_AUDIO_DRIVER_ESD @SDL_AUDIO_DRIVER_ESD@
+#cmakedefine SDL_AUDIO_DRIVER_ESD_DYNAMIC @SDL_AUDIO_DRIVER_ESD_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND @SDL_AUDIO_DRIVER_FUSIONSOUND@
+#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC @SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_HAIKU @SDL_AUDIO_DRIVER_HAIKU@
+#cmakedefine SDL_AUDIO_DRIVER_JACK @SDL_AUDIO_DRIVER_JACK@
+#cmakedefine SDL_AUDIO_DRIVER_JACK_DYNAMIC @SDL_AUDIO_DRIVER_JACK_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_NAS @SDL_AUDIO_DRIVER_NAS@
+#cmakedefine SDL_AUDIO_DRIVER_NAS_DYNAMIC @SDL_AUDIO_DRIVER_NAS_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_NETBSD @SDL_AUDIO_DRIVER_NETBSD@
+#cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@
+#cmakedefine SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H @SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H@
+#cmakedefine SDL_AUDIO_DRIVER_PAUDIO @SDL_AUDIO_DRIVER_PAUDIO@
+#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@
+#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_QSA @SDL_AUDIO_DRIVER_QSA@
+#cmakedefine SDL_AUDIO_DRIVER_SNDIO @SDL_AUDIO_DRIVER_SNDIO@
+#cmakedefine SDL_AUDIO_DRIVER_SNDIO_DYNAMIC @SDL_AUDIO_DRIVER_SNDIO_DYNAMIC@
+#cmakedefine SDL_AUDIO_DRIVER_SUNAUDIO @SDL_AUDIO_DRIVER_SUNAUDIO@
+#cmakedefine SDL_AUDIO_DRIVER_WASAPI @SDL_AUDIO_DRIVER_WASAPI@
+#cmakedefine SDL_AUDIO_DRIVER_WINMM @SDL_AUDIO_DRIVER_WINMM@
+#cmakedefine SDL_AUDIO_DRIVER_XAUDIO2 @SDL_AUDIO_DRIVER_XAUDIO2@
+
+/* Enable various input drivers */
+#cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@
+#cmakedefine SDL_INPUT_LINUXKD @SDL_INPUT_LINUXKD@
+#cmakedefine SDL_INPUT_TSLIB @SDL_INPUT_TSLIB@
+#cmakedefine SDL_JOYSTICK_ANDROID @SDL_JOYSTICK_ANDROID@
+#cmakedefine SDL_JOYSTICK_HAIKU @SDL_JOYSTICK_HAIKU@
+#cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@
+#cmakedefine SDL_JOYSTICK_XINPUT @SDL_JOYSTICK_XINPUT@
+#cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@
+#cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@
+#cmakedefine SDL_JOYSTICK_MFI @SDL_JOYSTICK_MFI@
+#cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@
+#cmakedefine SDL_JOYSTICK_WINMM @SDL_JOYSTICK_WINMM@
+#cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@
+#cmakedefine SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H @SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H@
+#cmakedefine SDL_JOYSTICK_EMSCRIPTEN @SDL_JOYSTICK_EMSCRIPTEN@
+#cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@
+#cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@
+#cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@
+#cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@
+#cmakedefine SDL_HAPTIC_XINPUT @SDL_HAPTIC_XINPUT@
+#cmakedefine SDL_HAPTIC_ANDROID @SDL_HAPTIC_ANDROID@
+
+/* Enable various shared object loading systems */
+#cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@
+#cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@
+#cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@
+#cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@
+
+/* Enable various threading systems */
+#cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@
+#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@
+#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@
+#cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@
+
+/* Enable various timer systems */
+#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
+#cmakedefine SDL_TIMER_DUMMY @SDL_TIMER_DUMMY@
+#cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@
+#cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@
+#cmakedefine SDL_TIMER_WINCE @SDL_TIMER_WINCE@
+
+/* Enable various video drivers */
+#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
+#cmakedefine SDL_VIDEO_DRIVER_HAIKU @SDL_VIDEO_DRIVER_HAIKU@
+#cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@
+#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB @SDL_VIDEO_DRIVER_DIRECTFB@
+#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC @SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC@
+#cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@
+#cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND @SDL_VIDEO_DRIVER_WAYLAND@
+#cmakedefine SDL_VIDEO_DRIVER_RPI @SDL_VIDEO_DRIVER_RPI@
+#cmakedefine SDL_VIDEO_DRIVER_VIVANTE @SDL_VIDEO_DRIVER_VIVANTE@
+#cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK @SDL_VIDEO_DRIVER_VIVANTE_VDK@
+
+#cmakedefine SDL_VIDEO_DRIVER_KMSDRM @SDL_VIDEO_DRIVER_KMSDRM@
+#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC@
+#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM@
+
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH @SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH@
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC@
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL@
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR@
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON@
+
+#cmakedefine SDL_VIDEO_DRIVER_MIR @SDL_VIDEO_DRIVER_MIR@
+#cmakedefine SDL_VIDEO_DRIVER_MIR_DYNAMIC @SDL_VIDEO_DRIVER_MIR_DYNAMIC@
+#cmakedefine SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON@
+#cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN @SDL_VIDEO_DRIVER_EMSCRIPTEN@
+#cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
+#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE @SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XINERAMA @SDL_VIDEO_DRIVER_X11_XINERAMA@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
+#cmakedefine SDL_VIDEO_DRIVER_X11_XVIDMODE @SDL_VIDEO_DRIVER_X11_XVIDMODE@
+#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
+#cmakedefine SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY @SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY@
+#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
+
+#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
+#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
+#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
+#cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@
+#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
+#cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@
+
+/* Enable OpenGL support */
+#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
+#cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
+#cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@
+#cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@
+#cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
+#cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
+#cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@
+#cmakedefine SDL_VIDEO_OPENGL_EGL @SDL_VIDEO_OPENGL_EGL@
+#cmakedefine SDL_VIDEO_OPENGL_OSMESA @SDL_VIDEO_OPENGL_OSMESA@
+#cmakedefine SDL_VIDEO_OPENGL_OSMESA_DYNAMIC @SDL_VIDEO_OPENGL_OSMESA_DYNAMIC@
+
+/* Enable Vulkan support */
+#cmakedefine SDL_VIDEO_VULKAN @SDL_VIDEO_VULKAN@
+
+/* Enable system power support */
+#cmakedefine SDL_POWER_ANDROID @SDL_POWER_ANDROID@
+#cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@
+#cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@
+#cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@
+#cmakedefine SDL_POWER_HAIKU @SDL_POWER_HAIKU@
+#cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@
+#cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@
+
+/* Enable system filesystem support */
+#cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@
+#cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@
+#cmakedefine SDL_FILESYSTEM_COCOA @SDL_FILESYSTEM_COCOA@
+#cmakedefine SDL_FILESYSTEM_DUMMY @SDL_FILESYSTEM_DUMMY@
+#cmakedefine SDL_FILESYSTEM_UNIX @SDL_FILESYSTEM_UNIX@
+#cmakedefine SDL_FILESYSTEM_WINDOWS @SDL_FILESYSTEM_WINDOWS@
+#cmakedefine SDL_FILESYSTEM_EMSCRIPTEN @SDL_FILESYSTEM_EMSCRIPTEN@
+
+/* Enable assembly routines */
+#cmakedefine SDL_ASSEMBLY_ROUTINES @SDL_ASSEMBLY_ROUTINES@
+#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
+
+/* Enable dynamic libsamplerate support */
+#cmakedefine SDL_LIBSAMPLERATE_DYNAMIC @SDL_LIBSAMPLERATE_DYNAMIC@
+
+/* Platform specific definitions */
+#if !defined(__WIN32__)
+#  if !defined(_STDINT_H_) && !defined(_STDINT_H) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
+typedef unsigned int size_t;
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed long long int64_t;
+typedef unsigned long long uint64_t;
+typedef unsigned long uintptr_t;
+#  endif /* if (stdint.h isn't available) */
+#else /* __WIN32__ */
+#  if !defined(_STDINT_H_) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
+#    if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
+#define HAVE_STDINT_H	1
+#    elif defined(_MSC_VER)
+typedef signed __int8 int8_t;
+typedef unsigned __int8 uint8_t;
+typedef signed __int16 int16_t;
+typedef unsigned __int16 uint16_t;
+typedef signed __int32 int32_t;
+typedef unsigned __int32 uint32_t;
+typedef signed __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#      ifndef _UINTPTR_T_DEFINED
+#        ifdef  _WIN64
+typedef unsigned __int64 uintptr_t;
+#          else
+typedef unsigned int uintptr_t;
+#        endif
+#define _UINTPTR_T_DEFINED
+#      endif
+/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
+#      if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
+#define DWORD_PTR DWORD
+#      endif
+#      if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
+#define LONG_PTR LONG
+#      endif
+#    else /* !__GNUC__ && !_MSC_VER */
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed long long int64_t;
+typedef unsigned long long uint64_t;
+#      ifndef _SIZE_T_DEFINED_
+#define _SIZE_T_DEFINED_
+typedef unsigned int size_t;
+#      endif
+typedef unsigned int uintptr_t;
+#    endif /* __GNUC__ || _MSC_VER */
+#  endif /* !_STDINT_H_ && !HAVE_STDINT_H */
+#endif /* __WIN32__ */
+
+#endif /* SDL_config_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config.h.in
@@ -1,0 +1,389 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_h_
+#define SDL_config_h_
+
+/**
+ *  \file SDL_config.h.in
+ *
+ *  This is a set of defines to configure the SDL features
+ */
+
+/* General platform specific identifiers */
+#include "SDL_platform.h"
+
+/* Make sure that this isn't included by Visual C++ */
+#ifdef _MSC_VER
+#error You should run hg revert SDL_config.h 
+#endif
+
+/* C language features */
+#undef const
+#undef inline
+#undef volatile
+
+/* C datatypes */
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
+#define SIZEOF_VOIDP 4
+#endif
+#undef HAVE_GCC_ATOMICS
+#undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET
+
+#undef HAVE_DDRAW_H
+#undef HAVE_DINPUT_H
+#undef HAVE_DSOUND_H
+#undef HAVE_DXGI_H
+#undef HAVE_XINPUT_H
+#undef HAVE_XINPUT_GAMEPAD_EX
+#undef HAVE_XINPUT_STATE_EX
+
+/* Comment this if you want to build without any C library requirements */
+#undef HAVE_LIBC
+#if HAVE_LIBC
+
+/* Useful headers */
+#undef HAVE_ALLOCA_H
+#undef HAVE_SYS_TYPES_H
+#undef HAVE_STDIO_H
+#undef STDC_HEADERS
+#undef HAVE_STDLIB_H
+#undef HAVE_STDARG_H
+#undef HAVE_MALLOC_H
+#undef HAVE_MEMORY_H
+#undef HAVE_STRING_H
+#undef HAVE_STRINGS_H
+#undef HAVE_WCHAR_H
+#undef HAVE_INTTYPES_H
+#undef HAVE_STDINT_H
+#undef HAVE_CTYPE_H
+#undef HAVE_MATH_H
+#undef HAVE_ICONV_H
+#undef HAVE_SIGNAL_H
+#undef HAVE_ALTIVEC_H
+#undef HAVE_PTHREAD_NP_H
+#undef HAVE_LIBUDEV_H
+#undef HAVE_DBUS_DBUS_H
+#undef HAVE_IBUS_IBUS_H
+#undef HAVE_FCITX_FRONTEND_H
+#undef HAVE_LIBSAMPLERATE_H
+
+/* C library functions */
+#undef HAVE_MALLOC
+#undef HAVE_CALLOC
+#undef HAVE_REALLOC
+#undef HAVE_FREE
+#undef HAVE_ALLOCA
+#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
+#undef HAVE_GETENV
+#undef HAVE_SETENV
+#undef HAVE_PUTENV
+#undef HAVE_UNSETENV
+#endif
+#undef HAVE_QSORT
+#undef HAVE_ABS
+#undef HAVE_BCOPY
+#undef HAVE_MEMSET
+#undef HAVE_MEMCPY
+#undef HAVE_MEMMOVE
+#undef HAVE_MEMCMP
+#undef HAVE_WCSLEN
+#undef HAVE_WCSLCPY
+#undef HAVE_WCSLCAT
+#undef HAVE_WCSCMP
+#undef HAVE_STRLEN
+#undef HAVE_STRLCPY
+#undef HAVE_STRLCAT
+#undef HAVE_STRDUP
+#undef HAVE__STRREV
+#undef HAVE__STRUPR
+#undef HAVE__STRLWR
+#undef HAVE_INDEX
+#undef HAVE_RINDEX
+#undef HAVE_STRCHR
+#undef HAVE_STRRCHR
+#undef HAVE_STRSTR
+#undef HAVE_ITOA
+#undef HAVE__LTOA
+#undef HAVE__UITOA
+#undef HAVE__ULTOA
+#undef HAVE_STRTOL
+#undef HAVE_STRTOUL
+#undef HAVE__I64TOA
+#undef HAVE__UI64TOA
+#undef HAVE_STRTOLL
+#undef HAVE_STRTOULL
+#undef HAVE_STRTOD
+#undef HAVE_ATOI
+#undef HAVE_ATOF
+#undef HAVE_STRCMP
+#undef HAVE_STRNCMP
+#undef HAVE__STRICMP
+#undef HAVE_STRCASECMP
+#undef HAVE__STRNICMP
+#undef HAVE_STRNCASECMP
+#undef HAVE_SSCANF
+#undef HAVE_VSSCANF
+#undef HAVE_SNPRINTF
+#undef HAVE_VSNPRINTF
+#undef HAVE_M_PI
+#undef HAVE_ATAN
+#undef HAVE_ATAN2
+#undef HAVE_ACOS
+#undef HAVE_ASIN
+#undef HAVE_CEIL
+#undef HAVE_COPYSIGN
+#undef HAVE_COS
+#undef HAVE_COSF
+#undef HAVE_FABS
+#undef HAVE_FLOOR
+#undef HAVE_LOG
+#undef HAVE_POW
+#undef HAVE_SCALBN
+#undef HAVE_SIN
+#undef HAVE_SINF
+#undef HAVE_SQRT
+#undef HAVE_SQRTF
+#undef HAVE_TAN
+#undef HAVE_TANF
+#undef HAVE_FOPEN64
+#undef HAVE_FSEEKO
+#undef HAVE_FSEEKO64
+#undef HAVE_SIGACTION
+#undef HAVE_SA_SIGACTION
+#undef HAVE_SETJMP
+#undef HAVE_NANOSLEEP
+#undef HAVE_SYSCONF
+#undef HAVE_SYSCTLBYNAME
+#undef HAVE_CLOCK_GETTIME
+#undef HAVE_GETPAGESIZE
+#undef HAVE_MPROTECT
+#undef HAVE_ICONV
+#undef HAVE_PTHREAD_SETNAME_NP
+#undef HAVE_PTHREAD_SET_NAME_NP
+#undef HAVE_SEM_TIMEDWAIT
+#undef HAVE_GETAUXVAL
+#undef HAVE_POLL
+
+#else
+#define HAVE_STDARG_H   1
+#define HAVE_STDDEF_H   1
+#define HAVE_STDINT_H   1
+#endif /* HAVE_LIBC */
+
+/* SDL internal assertion support */
+#undef SDL_DEFAULT_ASSERT_LEVEL
+
+/* Allow disabling of core subsystems */
+#undef SDL_ATOMIC_DISABLED
+#undef SDL_AUDIO_DISABLED
+#undef SDL_CPUINFO_DISABLED
+#undef SDL_EVENTS_DISABLED
+#undef SDL_FILE_DISABLED
+#undef SDL_JOYSTICK_DISABLED
+#undef SDL_HAPTIC_DISABLED
+#undef SDL_LOADSO_DISABLED
+#undef SDL_RENDER_DISABLED
+#undef SDL_THREADS_DISABLED
+#undef SDL_TIMERS_DISABLED
+#undef SDL_VIDEO_DISABLED
+#undef SDL_POWER_DISABLED
+#undef SDL_FILESYSTEM_DISABLED
+
+/* Enable various audio drivers */
+#undef SDL_AUDIO_DRIVER_ALSA
+#undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
+#undef SDL_AUDIO_DRIVER_ANDROID
+#undef SDL_AUDIO_DRIVER_ARTS
+#undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
+#undef SDL_AUDIO_DRIVER_COREAUDIO
+#undef SDL_AUDIO_DRIVER_DISK
+#undef SDL_AUDIO_DRIVER_DSOUND
+#undef SDL_AUDIO_DRIVER_DUMMY
+#undef SDL_AUDIO_DRIVER_EMSCRIPTEN
+#undef SDL_AUDIO_DRIVER_ESD
+#undef SDL_AUDIO_DRIVER_ESD_DYNAMIC
+#undef SDL_AUDIO_DRIVER_FUSIONSOUND
+#undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
+#undef SDL_AUDIO_DRIVER_HAIKU
+#undef SDL_AUDIO_DRIVER_JACK
+#undef SDL_AUDIO_DRIVER_JACK_DYNAMIC
+#undef SDL_AUDIO_DRIVER_NACL
+#undef SDL_AUDIO_DRIVER_NAS
+#undef SDL_AUDIO_DRIVER_NAS_DYNAMIC
+#undef SDL_AUDIO_DRIVER_NETBSD
+#undef SDL_AUDIO_DRIVER_OSS
+#undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
+#undef SDL_AUDIO_DRIVER_PAUDIO
+#undef SDL_AUDIO_DRIVER_PULSEAUDIO
+#undef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
+#undef SDL_AUDIO_DRIVER_QSA
+#undef SDL_AUDIO_DRIVER_SNDIO
+#undef SDL_AUDIO_DRIVER_SNDIO_DYNAMIC
+#undef SDL_AUDIO_DRIVER_SUNAUDIO
+#undef SDL_AUDIO_DRIVER_WASAPI
+#undef SDL_AUDIO_DRIVER_WINMM
+#undef SDL_AUDIO_DRIVER_XAUDIO2
+
+/* Enable various input drivers */
+#undef SDL_INPUT_LINUXEV
+#undef SDL_INPUT_LINUXKD
+#undef SDL_INPUT_TSLIB
+#undef SDL_JOYSTICK_HAIKU
+#undef SDL_JOYSTICK_DINPUT
+#undef SDL_JOYSTICK_XINPUT
+#undef SDL_JOYSTICK_DUMMY
+#undef SDL_JOYSTICK_IOKIT
+#undef SDL_JOYSTICK_LINUX
+#undef SDL_JOYSTICK_ANDROID
+#undef SDL_JOYSTICK_WINMM
+#undef SDL_JOYSTICK_USBHID
+#undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
+#undef SDL_JOYSTICK_EMSCRIPTEN
+#undef SDL_HAPTIC_DUMMY
+#undef SDL_HAPTIC_LINUX
+#undef SDL_HAPTIC_IOKIT
+#undef SDL_HAPTIC_DINPUT
+#undef SDL_HAPTIC_XINPUT
+
+/* Enable various shared object loading systems */
+#undef SDL_LOADSO_DLOPEN
+#undef SDL_LOADSO_DUMMY
+#undef SDL_LOADSO_LDG
+#undef SDL_LOADSO_WINDOWS
+
+/* Enable various threading systems */
+#undef SDL_THREAD_PTHREAD
+#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
+#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
+#undef SDL_THREAD_WINDOWS
+
+/* Enable various timer systems */
+#undef SDL_TIMER_HAIKU
+#undef SDL_TIMER_DUMMY
+#undef SDL_TIMER_UNIX
+#undef SDL_TIMER_WINDOWS
+
+/* Enable various video drivers */
+#undef SDL_VIDEO_DRIVER_HAIKU
+#undef SDL_VIDEO_DRIVER_COCOA
+#undef SDL_VIDEO_DRIVER_DIRECTFB
+#undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC
+#undef SDL_VIDEO_DRIVER_DUMMY
+#undef SDL_VIDEO_DRIVER_WINDOWS
+#undef SDL_VIDEO_DRIVER_WAYLAND
+#undef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
+#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
+#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL
+#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR
+#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON
+#undef SDL_VIDEO_DRIVER_MIR
+#undef SDL_VIDEO_DRIVER_MIR_DYNAMIC
+#undef SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON
+#undef SDL_VIDEO_DRIVER_X11
+#undef SDL_VIDEO_DRIVER_RPI
+#undef SDL_VIDEO_DRIVER_KMSDRM
+#undef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC
+#undef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM
+#undef SDL_VIDEO_DRIVER_ANDROID
+#undef SDL_VIDEO_DRIVER_EMSCRIPTEN
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
+#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
+#undef SDL_VIDEO_DRIVER_X11_XCURSOR
+#undef SDL_VIDEO_DRIVER_X11_XDBE
+#undef SDL_VIDEO_DRIVER_X11_XINERAMA
+#undef SDL_VIDEO_DRIVER_X11_XINPUT2
+#undef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
+#undef SDL_VIDEO_DRIVER_X11_XRANDR
+#undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
+#undef SDL_VIDEO_DRIVER_X11_XSHAPE
+#undef SDL_VIDEO_DRIVER_X11_XVIDMODE
+#undef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
+#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
+#undef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
+#undef SDL_VIDEO_DRIVER_NACL
+#undef SDL_VIDEO_DRIVER_VIVANTE
+#undef SDL_VIDEO_DRIVER_VIVANTE_VDK
+#undef SDL_VIDEO_DRIVER_QNX
+
+#undef SDL_VIDEO_RENDER_D3D
+#undef SDL_VIDEO_RENDER_D3D11
+#undef SDL_VIDEO_RENDER_OGL
+#undef SDL_VIDEO_RENDER_OGL_ES
+#undef SDL_VIDEO_RENDER_OGL_ES2
+#undef SDL_VIDEO_RENDER_DIRECTFB
+
+/* Enable OpenGL support */
+#undef SDL_VIDEO_OPENGL
+#undef SDL_VIDEO_OPENGL_ES
+#undef SDL_VIDEO_OPENGL_ES2
+#undef SDL_VIDEO_OPENGL_BGL
+#undef SDL_VIDEO_OPENGL_CGL
+#undef SDL_VIDEO_OPENGL_EGL
+#undef SDL_VIDEO_OPENGL_GLX
+#undef SDL_VIDEO_OPENGL_WGL
+#undef SDL_VIDEO_OPENGL_OSMESA
+#undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC
+
+/* Enable Vulkan support */
+#undef SDL_VIDEO_VULKAN
+
+/* Enable system power support */
+#undef SDL_POWER_LINUX
+#undef SDL_POWER_WINDOWS
+#undef SDL_POWER_MACOSX
+#undef SDL_POWER_HAIKU
+#undef SDL_POWER_ANDROID
+#undef SDL_POWER_EMSCRIPTEN
+#undef SDL_POWER_HARDWIRED
+
+/* Enable system filesystem support */
+#undef SDL_FILESYSTEM_HAIKU
+#undef SDL_FILESYSTEM_COCOA
+#undef SDL_FILESYSTEM_DUMMY
+#undef SDL_FILESYSTEM_UNIX
+#undef SDL_FILESYSTEM_WINDOWS
+#undef SDL_FILESYSTEM_NACL
+#undef SDL_FILESYSTEM_ANDROID
+#undef SDL_FILESYSTEM_EMSCRIPTEN
+
+/* Enable assembly routines */
+#undef SDL_ASSEMBLY_ROUTINES
+#undef SDL_ALTIVEC_BLITTERS
+
+/* Enable ime support */
+#undef SDL_USE_IME
+
+/* Enable dynamic udev support */
+#undef SDL_UDEV_DYNAMIC
+
+/* Enable dynamic libsamplerate support */
+#undef SDL_LIBSAMPLERATE_DYNAMIC
+
+#endif /* SDL_config_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_android.h
@@ -1,0 +1,157 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_android_h_
+#define SDL_config_android_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/**
+ *  \file SDL_config_android.h
+ *
+ *  This is a configuration that can be used to build SDL for Android
+ */
+
+#include <stdarg.h>
+
+#define HAVE_GCC_ATOMICS    1
+
+#define HAVE_ALLOCA_H       1
+#define HAVE_SYS_TYPES_H    1
+#define HAVE_STDIO_H    1
+#define STDC_HEADERS    1
+#define HAVE_STRING_H   1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H   1
+#define HAVE_CTYPE_H    1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H 1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC    1
+#define HAVE_FREE   1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_SETENV 1
+#define HAVE_UNSETENV   1
+#define HAVE_QSORT  1
+#define HAVE_ABS    1
+#define HAVE_BCOPY  1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE    1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE_STRLCPY    1
+#define HAVE_STRLCAT    1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR    1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL    1
+#define HAVE_STRTOLL    1
+#define HAVE_STRTOULL   1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI   1
+#define HAVE_ATOF 1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP    1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF  1
+#define HAVE_M_PI   1
+#define HAVE_ATAN   1
+#define HAVE_ATAN2  1
+#define HAVE_ACOS  1
+#define HAVE_ASIN  1
+#define HAVE_CEIL   1
+#define HAVE_COPYSIGN   1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_FABS   1
+#define HAVE_FLOOR  1
+#define HAVE_LOG    1
+#define HAVE_POW    1
+#define HAVE_SCALBN 1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#define HAVE_SIGACTION 1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP  1
+#define HAVE_SYSCONF    1
+#define HAVE_CLOCK_GETTIME	1
+
+#define SIZEOF_VOIDP 4
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_ANDROID    1
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable various input drivers */
+#define SDL_JOYSTICK_ANDROID    1
+#define SDL_HAPTIC_ANDROID    1
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_DLOPEN   1
+
+/* Enable various threading systems */
+#define SDL_THREAD_PTHREAD  1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_UNIX  1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_ANDROID 1
+
+/* Enable OpenGL ES */
+#define SDL_VIDEO_OPENGL_ES 1
+#define SDL_VIDEO_OPENGL_ES2 1
+#define SDL_VIDEO_OPENGL_EGL 1
+#define SDL_VIDEO_RENDER_OGL_ES 1
+#define SDL_VIDEO_RENDER_OGL_ES2    1
+
+/* Enable Vulkan support */
+/* Android does not support Vulkan in native code using the "armeabi" ABI. */
+#if defined(__ARM_ARCH) && __ARM_ARCH < 7
+#define SDL_VIDEO_VULKAN 0
+#else
+#define SDL_VIDEO_VULKAN 1
+#endif
+
+/* Enable system power support */
+#define SDL_POWER_ANDROID 1
+
+/* Enable the filesystem driver */
+#define SDL_FILESYSTEM_ANDROID   1
+
+#endif /* SDL_config_android_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_iphoneos.h
@@ -1,0 +1,166 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_iphoneos_h_
+#define SDL_config_iphoneos_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
+#define SIZEOF_VOIDP 4
+#endif
+
+#define HAVE_GCC_ATOMICS    1
+
+#define HAVE_ALLOCA_H       1
+#define HAVE_SYS_TYPES_H    1
+#define HAVE_STDIO_H    1
+#define STDC_HEADERS    1
+#define HAVE_STRING_H   1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H   1
+#define HAVE_CTYPE_H    1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H   1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC    1
+#define HAVE_FREE   1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_SETENV 1
+#define HAVE_UNSETENV   1
+#define HAVE_QSORT  1
+#define HAVE_ABS    1
+#define HAVE_BCOPY  1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE    1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE_STRLCPY    1
+#define HAVE_STRLCAT    1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR    1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL    1
+#define HAVE_STRTOLL    1
+#define HAVE_STRTOULL   1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI   1
+#define HAVE_ATOF   1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP    1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF  1
+#define HAVE_M_PI   1
+#define HAVE_ATAN   1
+#define HAVE_ATAN2  1
+#define HAVE_ACOS  1
+#define HAVE_ASIN  1
+#define HAVE_CEIL   1
+#define HAVE_COPYSIGN   1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_FABS   1
+#define HAVE_FLOOR  1
+#define HAVE_LOG    1
+#define HAVE_POW    1
+#define HAVE_SCALBN 1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#define HAVE_SIGACTION  1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP  1
+#define HAVE_SYSCONF    1
+#define HAVE_SYSCTLBYNAME 1
+
+/* enable iPhone version of Core Audio driver */
+#define SDL_AUDIO_DRIVER_COREAUDIO 1
+/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
+#define SDL_HAPTIC_DUMMY 1
+
+/* Enable MFi joystick support */
+#define SDL_JOYSTICK_MFI 1
+
+/* Enable Unix style SO loading */
+#define SDL_LOADSO_DLOPEN 1
+
+/* Enable various threading systems */
+#define SDL_THREAD_PTHREAD  1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_UNIX  1
+
+/* Supported video drivers */
+#define SDL_VIDEO_DRIVER_UIKIT  1
+#define SDL_VIDEO_DRIVER_DUMMY  1
+
+/* enable OpenGL ES */
+#define SDL_VIDEO_OPENGL_ES2 1
+#define SDL_VIDEO_OPENGL_ES 1
+#define SDL_VIDEO_RENDER_OGL_ES 1
+#define SDL_VIDEO_RENDER_OGL_ES2    1
+
+/* Enable Vulkan support */
+#if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM // Only 64-bit devices have Metal
+#define SDL_VIDEO_VULKAN 1
+#else
+#define SDL_VIDEO_VULKAN 0
+#endif
+
+/* Enable system power support */
+#define SDL_POWER_UIKIT 1
+
+/* enable iPhone keyboard support */
+#define SDL_IPHONE_KEYBOARD 1
+
+/* enable iOS extended launch screen */
+#define SDL_IPHONE_LAUNCHSCREEN 1
+
+/* Set max recognized G-force from accelerometer
+   See src/joystick/uikit/SDL_sysjoystick.m for notes on why this is needed
+ */
+#define SDL_IPHONE_MAX_GFORCE 5.0
+
+/* enable filesystem support */
+#define SDL_FILESYSTEM_COCOA   1
+
+#endif /* SDL_config_iphoneos_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_macosx.h
@@ -1,0 +1,197 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_macosx_h_
+#define SDL_config_macosx_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
+#include <AvailabilityMacros.h>
+
+/* This is a set of defines to configure the SDL features */
+
+#ifdef __LP64__
+    #define SIZEOF_VOIDP 8
+#else
+    #define SIZEOF_VOIDP 4
+#endif
+
+/* Useful headers */
+#define HAVE_ALLOCA_H       1
+#define HAVE_SYS_TYPES_H    1
+#define HAVE_STDIO_H    1
+#define STDC_HEADERS    1
+#define HAVE_STRING_H   1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H   1
+#define HAVE_CTYPE_H    1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H   1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC    1
+#define HAVE_FREE   1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_UNSETENV   1
+#define HAVE_QSORT  1
+#define HAVE_ABS    1
+#define HAVE_BCOPY  1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE    1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE_STRLCPY    1
+#define HAVE_STRLCAT    1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR    1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL    1
+#define HAVE_STRTOLL    1
+#define HAVE_STRTOULL   1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI   1
+#define HAVE_ATOF   1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP    1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF  1
+#define HAVE_CEIL   1
+#define HAVE_COPYSIGN   1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_FABS   1
+#define HAVE_FLOOR  1
+#define HAVE_LOG    1
+#define HAVE_POW    1
+#define HAVE_SCALBN 1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#define HAVE_SIGACTION  1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP  1
+#define HAVE_SYSCONF    1
+#define HAVE_SYSCTLBYNAME 1
+#define HAVE_ATAN 1
+#define HAVE_ATAN2 1
+#define HAVE_ACOS 1
+#define HAVE_ASIN 1
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_COREAUDIO  1
+#define SDL_AUDIO_DRIVER_DISK   1
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable various input drivers */
+#define SDL_JOYSTICK_IOKIT  1
+#define SDL_HAPTIC_IOKIT    1
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_DLOPEN   1
+
+/* Enable various threading systems */
+#define SDL_THREAD_PTHREAD  1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_UNIX  1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_COCOA  1
+#define SDL_VIDEO_DRIVER_DUMMY  1
+#undef SDL_VIDEO_DRIVER_X11
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/usr/X11R6/lib/libXi.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_XDBE 1
+#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
+#define SDL_VIDEO_DRIVER_X11_XRANDR 1
+#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
+#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
+#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
+#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
+
+#ifdef MAC_OS_X_VERSION_10_8
+/*
+ * No matter the versions targeted, this is the 10.8 or later SDK, so you have
+ *  to use the external Xquartz, which is a more modern Xlib. Previous SDKs
+ *  used an older Xlib.
+ */
+#define SDL_VIDEO_DRIVER_X11_XINPUT2 1
+#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
+#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1
+#endif
+
+#ifndef SDL_VIDEO_RENDER_OGL
+#define SDL_VIDEO_RENDER_OGL    1
+#endif
+
+/* Enable OpenGL support */
+#ifndef SDL_VIDEO_OPENGL
+#define SDL_VIDEO_OPENGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_CGL
+#define SDL_VIDEO_OPENGL_CGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_GLX
+#define SDL_VIDEO_OPENGL_GLX    1
+#endif
+
+/* Enable Vulkan support */
+/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
+#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
+#define SDL_VIDEO_VULKAN 1
+#else
+#define  SDL_VIDEO_VULKAN 0
+#endif
+
+/* Enable system power support */
+#define SDL_POWER_MACOSX 1
+
+/* enable filesystem support */
+#define SDL_FILESYSTEM_COCOA   1
+
+/* Enable assembly routines */
+#define SDL_ASSEMBLY_ROUTINES   1
+#ifdef __ppc__
+#define SDL_ALTIVEC_BLITTERS    1
+#endif
+
+#endif /* SDL_config_macosx_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_macosx.h.orig
@@ -1,0 +1,197 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_macosx_h_
+#define SDL_config_macosx_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
+#include <AvailabilityMacros.h>
+
+/* This is a set of defines to configure the SDL features */
+
+#ifdef __LP64__
+    #define SIZEOF_VOIDP 8
+#else
+    #define SIZEOF_VOIDP 4
+#endif
+
+/* Useful headers */
+#define HAVE_ALLOCA_H       1
+#define HAVE_SYS_TYPES_H    1
+#define HAVE_STDIO_H    1
+#define STDC_HEADERS    1
+#define HAVE_STRING_H   1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H   1
+#define HAVE_CTYPE_H    1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H   1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC    1
+#define HAVE_FREE   1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_UNSETENV   1
+#define HAVE_QSORT  1
+#define HAVE_ABS    1
+#define HAVE_BCOPY  1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE    1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE_STRLCPY    1
+#define HAVE_STRLCAT    1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR    1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL    1
+#define HAVE_STRTOLL    1
+#define HAVE_STRTOULL   1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI   1
+#define HAVE_ATOF   1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP    1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF  1
+#define HAVE_CEIL   1
+#define HAVE_COPYSIGN   1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_FABS   1
+#define HAVE_FLOOR  1
+#define HAVE_LOG    1
+#define HAVE_POW    1
+#define HAVE_SCALBN 1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#define HAVE_SIGACTION  1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP  1
+#define HAVE_SYSCONF    1
+#define HAVE_SYSCTLBYNAME 1
+#define HAVE_ATAN 1
+#define HAVE_ATAN2 1
+#define HAVE_ACOS 1
+#define HAVE_ASIN 1
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_COREAUDIO  1
+#define SDL_AUDIO_DRIVER_DISK   1
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable various input drivers */
+#define SDL_JOYSTICK_IOKIT  1
+#define SDL_HAPTIC_IOKIT    1
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_DLOPEN   1
+
+/* Enable various threading systems */
+#define SDL_THREAD_PTHREAD  1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_UNIX  1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_COCOA  1
+#define SDL_VIDEO_DRIVER_DUMMY  1
+#undef SDL_VIDEO_DRIVER_X11
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/usr/X11R6/lib/libXi.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_XDBE 1
+#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
+#define SDL_VIDEO_DRIVER_X11_XRANDR 1
+#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
+#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
+#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
+#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
+
+#ifdef MAC_OS_X_VERSION_10_8
+/*
+ * No matter the versions targeted, this is the 10.8 or later SDK, so you have
+ *  to use the external Xquartz, which is a more modern Xlib. Previous SDKs
+ *  used an older Xlib.
+ */
+#define SDL_VIDEO_DRIVER_X11_XINPUT2 1
+#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
+#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1
+#endif
+
+#ifndef SDL_VIDEO_RENDER_OGL
+#define SDL_VIDEO_RENDER_OGL    1
+#endif
+
+/* Enable OpenGL support */
+#ifndef SDL_VIDEO_OPENGL
+#define SDL_VIDEO_OPENGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_CGL
+#define SDL_VIDEO_OPENGL_CGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_GLX
+#define SDL_VIDEO_OPENGL_GLX    1
+#endif
+
+/* Enable Vulkan support */
+/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures and 10.11+ */
+#if TARGET_CPU_X86_64
+#define SDL_VIDEO_VULKAN 1
+#else
+#define  SDL_VIDEO_VULKAN 0
+#endif
+
+/* Enable system power support */
+#define SDL_POWER_MACOSX 1
+
+/* enable filesystem support */
+#define SDL_FILESYSTEM_COCOA   1
+
+/* Enable assembly routines */
+#define SDL_ASSEMBLY_ROUTINES   1
+#ifdef __ppc__
+#define SDL_ALTIVEC_BLITTERS    1
+#endif
+
+#endif /* SDL_config_macosx_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_minimal.h
@@ -1,0 +1,82 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_minimal_h_
+#define SDL_config_minimal_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/**
+ *  \file SDL_config_minimal.h
+ *
+ *  This is the minimal configuration that can be used to build SDL.
+ */
+
+#define HAVE_STDARG_H   1
+#define HAVE_STDDEF_H   1
+
+/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
+#if defined(_MSC_VER) && (_MSC_VER < 1600)
+/* Here are some reasonable defaults */
+typedef unsigned int size_t;
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed long long int64_t;
+typedef unsigned long long uint64_t;
+typedef unsigned long uintptr_t;
+#else
+#define HAVE_STDINT_H 1
+#endif /* Visual Studio 2008 */
+
+#ifdef __GNUC__
+#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
+#endif
+
+/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
+#define SDL_JOYSTICK_DISABLED   1
+
+/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
+#define SDL_HAPTIC_DISABLED 1
+
+/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
+#define SDL_LOADSO_DISABLED 1
+
+/* Enable the stub thread support (src/thread/generic/\*.c) */
+#define SDL_THREADS_DISABLED    1
+
+/* Enable the stub timer support (src/timer/dummy/\*.c) */
+#define SDL_TIMERS_DISABLED 1
+
+/* Enable the dummy video driver (src/video/dummy/\*.c) */
+#define SDL_VIDEO_DRIVER_DUMMY  1
+
+/* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
+#define SDL_FILESYSTEM_DUMMY  1
+
+#endif /* SDL_config_minimal_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_pandora.h
@@ -1,0 +1,128 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_pandora_h_
+#define SDL_config_pandora_h_
+#define SDL_config_h_
+
+/* This is a set of defines to configure the SDL features */
+
+/* General platform specific identifiers */
+#include "SDL_platform.h"
+
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
+#define SIZEOF_VOIDP 4
+#endif
+
+#define SDL_BYTEORDER 1234
+
+#define HAVE_ALLOCA_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_STDIO_H 1
+#define STDC_HEADERS 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STDARG_H 1
+#define HAVE_MALLOC_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRING_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_CTYPE_H 1
+#define HAVE_MATH_H 1
+#define HAVE_ICONV_H 1
+#define HAVE_SIGNAL_H 1
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC 1
+#define HAVE_FREE 1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_UNSETENV 1
+#define HAVE_QSORT 1
+#define HAVE_ABS 1
+#define HAVE_BCOPY 1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE 1
+#define HAVE_STRLEN 1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR 1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOLL 1
+#define HAVE_STRTOULL 1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP 1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF 1
+#define HAVE_M_PI 1
+#define HAVE_CEIL 1
+#define HAVE_COPYSIGN 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_LOG 1
+#define HAVE_SCALBN 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#define HAVE_SIGACTION 1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP 1
+
+#define SDL_AUDIO_DRIVER_DUMMY 1
+#define SDL_AUDIO_DRIVER_OSS 1
+
+#define SDL_INPUT_LINUXEV 1
+#define SDL_INPUT_TSLIB 1
+#define SDL_JOYSTICK_LINUX 1
+#define SDL_HAPTIC_LINUX 1
+
+#define SDL_LOADSO_DLOPEN 1
+
+#define SDL_THREAD_PTHREAD 1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP 1
+
+#define SDL_TIMER_UNIX 1
+#define SDL_FILESYSTEM_UNIX 1
+
+#define SDL_VIDEO_DRIVER_DUMMY 1
+#define SDL_VIDEO_DRIVER_X11 1
+#define SDL_VIDEO_DRIVER_PANDORA 1
+#define SDL_VIDEO_RENDER_OGL_ES 1
+#define SDL_VIDEO_OPENGL_ES 1
+
+#endif /* SDL_config_pandora_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_psp.h
@@ -1,0 +1,144 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_psp_h_
+#define SDL_config_psp_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+
+
+#ifdef __GNUC__
+#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
+#endif
+
+#define HAVE_GCC_ATOMICS    1
+
+#define HAVE_ALLOCA_H       1
+#define HAVE_SYS_TYPES_H    1
+#define HAVE_STDIO_H    1
+#define STDC_HEADERS    1
+#define HAVE_STRING_H   1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H   1
+#define HAVE_CTYPE_H    1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H   1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC    1
+#define HAVE_FREE   1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_SETENV 1
+#define HAVE_UNSETENV   1
+#define HAVE_QSORT  1
+#define HAVE_ABS    1
+#define HAVE_BCOPY  1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE    1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE_STRLCPY    1
+#define HAVE_STRLCAT    1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR    1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL    1
+#define HAVE_STRTOLL    1
+#define HAVE_STRTOULL   1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI   1
+#define HAVE_ATOF   1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP    1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF  1
+#define HAVE_M_PI   1
+#define HAVE_ATAN   1
+#define HAVE_ATAN2  1
+#define HAVE_ACOS  1
+#define HAVE_ASIN  1
+#define HAVE_CEIL   1
+#define HAVE_COPYSIGN   1
+#define HAVE_COS    1
+#define HAVE_COSF   1
+#define HAVE_FABS   1
+#define HAVE_FLOOR  1
+#define HAVE_LOG    1
+#define HAVE_POW    1
+#define HAVE_SCALBN 1
+#define HAVE_SIN    1
+#define HAVE_SINF   1
+#define HAVE_SQRT   1
+#define HAVE_SQRTF  1
+#define HAVE_TAN    1
+#define HAVE_TANF   1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP  1
+/* #define HAVE_SYSCONF  1 */
+/* #define HAVE_SIGACTION    1 */
+
+
+/* PSP isn't that sophisticated */
+#define LACKS_SYS_MMAN_H 1
+
+/* Enable the stub thread support (src/thread/psp/\*.c) */
+#define SDL_THREAD_PSP  1
+
+/* Enable the stub timer support (src/timer/psp/\*.c) */
+#define SDL_TIMERS_PSP  1
+
+/* Enable the stub joystick driver (src/joystick/psp/\*.c) */
+#define SDL_JOYSTICK_PSP        1
+
+/* Enable the stub audio driver (src/audio/psp/\*.c) */
+#define SDL_AUDIO_DRIVER_PSP    1
+
+/* PSP video dirver */
+#define SDL_VIDEO_DRIVER_PSP   1
+
+/* PSP render dirver */
+#define SDL_VIDEO_RENDER_PSP   1
+
+#define SDL_POWER_PSP          1
+
+/* !!! FIXME: what does PSP do for filesystem stuff? */
+#define SDL_FILESYSTEM_DUMMY   1
+
+/* PSP doesn't have haptic device (src/haptic/dummy/\*.c) */
+#define SDL_HAPTIC_DISABLED    1
+
+/* PSP can't load shared object (src/loadso/dummy/\*.c) */
+#define SDL_LOADSO_DISABLED    1
+
+
+#endif /* SDL_config_psp_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_windows.h
@@ -1,0 +1,225 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_windows_h_
+#define SDL_config_windows_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/* This is a set of defines to configure the SDL features */
+
+#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
+#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
+#define HAVE_STDINT_H   1
+#elif defined(_MSC_VER)
+typedef signed __int8 int8_t;
+typedef unsigned __int8 uint8_t;
+typedef signed __int16 int16_t;
+typedef unsigned __int16 uint16_t;
+typedef signed __int32 int32_t;
+typedef unsigned __int32 uint32_t;
+typedef signed __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#ifndef _UINTPTR_T_DEFINED
+#ifdef  _WIN64
+typedef unsigned __int64 uintptr_t;
+#else
+typedef unsigned int uintptr_t;
+#endif
+#define _UINTPTR_T_DEFINED
+#endif
+/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
+#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
+#define DWORD_PTR DWORD
+#endif
+#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
+#define LONG_PTR LONG
+#endif
+#else /* !__GNUC__ && !_MSC_VER */
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed long long int64_t;
+typedef unsigned long long uint64_t;
+#ifndef _SIZE_T_DEFINED_
+#define _SIZE_T_DEFINED_
+typedef unsigned int size_t;
+#endif
+typedef unsigned int uintptr_t;
+#endif /* __GNUC__ || _MSC_VER */
+#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
+
+#ifdef _WIN64
+# define SIZEOF_VOIDP 8
+#else
+# define SIZEOF_VOIDP 4
+#endif
+
+#define HAVE_DDRAW_H 1
+#define HAVE_DINPUT_H 1
+#define HAVE_DSOUND_H 1
+#define HAVE_DXGI_H 1
+#define HAVE_XINPUT_H 1
+
+/* This is disabled by default to avoid C runtime dependencies and manifest requirements */
+#ifdef HAVE_LIBC
+/* Useful headers */
+#define HAVE_STDIO_H 1
+#define STDC_HEADERS 1
+#define HAVE_STRING_H 1
+#define HAVE_CTYPE_H 1
+#define HAVE_MATH_H 1
+#define HAVE_SIGNAL_H 1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC 1
+#define HAVE_FREE 1
+#define HAVE_ALLOCA 1
+#define HAVE_QSORT 1
+#define HAVE_ABS 1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE 1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE__STRREV 1
+#define HAVE__STRUPR 1
+#define HAVE__STRLWR 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR 1
+#define HAVE_STRSTR 1
+#define HAVE__LTOA 1
+#define HAVE__ULTOA 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP 1
+#define HAVE__STRICMP 1
+#define HAVE__STRNICMP 1
+#define HAVE_ATAN 1
+#define HAVE_ATAN2 1
+#define HAVE_ACOS  1
+#define HAVE_ASIN  1
+#define HAVE_CEIL 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_LOG 1
+#define HAVE_POW 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#if _MSC_VER >= 1800
+#define HAVE_STRTOLL 1
+#define HAVE_VSSCANF 1
+#define HAVE_COPYSIGN 1
+#define HAVE_SCALBN 1
+#endif
+#if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)
+#define HAVE_M_PI 1
+#endif
+#else
+#define HAVE_STDARG_H   1
+#define HAVE_STDDEF_H   1
+#endif
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_WASAPI 1
+#define SDL_AUDIO_DRIVER_DSOUND 1
+#define SDL_AUDIO_DRIVER_XAUDIO2    0
+#define SDL_AUDIO_DRIVER_WINMM  1
+#define SDL_AUDIO_DRIVER_DISK   1
+#define SDL_AUDIO_DRIVER_DUMMY  1
+
+/* Enable various input drivers */
+#define SDL_JOYSTICK_DINPUT 1
+#define SDL_JOYSTICK_XINPUT 1
+#define SDL_HAPTIC_DINPUT   1
+#define SDL_HAPTIC_XINPUT   1
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_WINDOWS  1
+
+/* Enable various threading systems */
+#define SDL_THREAD_WINDOWS  1
+
+/* Enable various timer systems */
+#define SDL_TIMER_WINDOWS   1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_DUMMY  1
+#define SDL_VIDEO_DRIVER_WINDOWS    1
+
+#ifndef SDL_VIDEO_RENDER_D3D
+#define SDL_VIDEO_RENDER_D3D    1
+#endif
+#ifndef SDL_VIDEO_RENDER_D3D11
+#define SDL_VIDEO_RENDER_D3D11	0
+#endif
+
+/* Enable OpenGL support */
+#ifndef SDL_VIDEO_OPENGL
+#define SDL_VIDEO_OPENGL    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_WGL
+#define SDL_VIDEO_OPENGL_WGL    1
+#endif
+#ifndef SDL_VIDEO_RENDER_OGL
+#define SDL_VIDEO_RENDER_OGL    1
+#endif
+#ifndef SDL_VIDEO_RENDER_OGL_ES2
+#define SDL_VIDEO_RENDER_OGL_ES2    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_ES2
+#define SDL_VIDEO_OPENGL_ES2    1
+#endif
+#ifndef SDL_VIDEO_OPENGL_EGL
+#define SDL_VIDEO_OPENGL_EGL    1
+#endif
+
+/* Enable Vulkan support */
+#define SDL_VIDEO_VULKAN 1
+
+/* Enable system power support */
+#define SDL_POWER_WINDOWS 1
+
+/* Enable filesystem support */
+#define SDL_FILESYSTEM_WINDOWS  1
+
+/* Enable assembly routines (Win64 doesn't have inline asm) */
+#ifndef _WIN64
+#define SDL_ASSEMBLY_ROUTINES   1
+#endif
+
+#endif /* SDL_config_windows_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_winrt.h
@@ -1,0 +1,215 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_winrt_h_
+#define SDL_config_winrt_h_
+#define SDL_config_h_
+
+#include "SDL_platform.h"
+
+/* Make sure the Windows SDK's NTDDI_VERSION macro gets defined.  This is used
+   by SDL to determine which version of the Windows SDK is being used.
+*/
+#include <sdkddkver.h>
+
+/* Define possibly-undefined NTDDI values (used when compiling SDL against
+   older versions of the Windows SDK.
+*/
+#ifndef NTDDI_WINBLUE
+#define NTDDI_WINBLUE 0x06030000
+#endif
+#ifndef NTDDI_WIN10
+#define NTDDI_WIN10 0x0A000000
+#endif
+
+/* This is a set of defines to configure the SDL features */
+
+#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
+#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
+#define HAVE_STDINT_H	1
+#elif defined(_MSC_VER)
+typedef signed __int8 int8_t;
+typedef unsigned __int8 uint8_t;
+typedef signed __int16 int16_t;
+typedef unsigned __int16 uint16_t;
+typedef signed __int32 int32_t;
+typedef unsigned __int32 uint32_t;
+typedef signed __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#ifndef _UINTPTR_T_DEFINED
+#ifdef  _WIN64
+typedef unsigned __int64 uintptr_t;
+#else
+typedef unsigned int uintptr_t;
+#endif
+#define _UINTPTR_T_DEFINED
+#endif
+/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
+#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
+#define DWORD_PTR DWORD
+#endif
+#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
+#define LONG_PTR LONG
+#endif
+#else /* !__GNUC__ && !_MSC_VER */
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef signed long long int64_t;
+typedef unsigned long long uint64_t;
+#ifndef _SIZE_T_DEFINED_
+#define _SIZE_T_DEFINED_
+typedef unsigned int size_t;
+#endif
+typedef unsigned int uintptr_t;
+#endif /* __GNUC__ || _MSC_VER */
+#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
+
+#ifdef _WIN64
+# define SIZEOF_VOIDP 8
+#else
+# define SIZEOF_VOIDP 4
+#endif
+
+/* Useful headers */
+#define HAVE_DXGI_H 1
+#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
+#define HAVE_XINPUT_H 1
+#endif
+#define HAVE_LIBC 1
+#define HAVE_STDIO_H 1
+#define STDC_HEADERS 1
+#define HAVE_STRING_H 1
+#define HAVE_CTYPE_H 1
+#define HAVE_MATH_H 1
+#define HAVE_FLOAT_H 1
+#define HAVE_SIGNAL_H 1
+
+/* C library functions */
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC 1
+#define HAVE_FREE 1
+#define HAVE_ALLOCA 1
+#define HAVE_QSORT 1
+#define HAVE_ABS 1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE 1
+#define HAVE_MEMCMP 1
+#define HAVE_STRLEN 1
+#define HAVE__STRREV 1
+#define HAVE__STRUPR 1
+//#define HAVE__STRLWR 1	// TODO, WinRT: consider using _strlwr_s instead
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR 1
+#define HAVE_STRSTR 1
+//#define HAVE_ITOA 1   // TODO, WinRT: consider using _itoa_s instead
+//#define HAVE__LTOA 1	// TODO, WinRT: consider using _ltoa_s instead
+//#define HAVE__ULTOA 1	// TODO, WinRT: consider using _ultoa_s instead
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+//#define HAVE_STRTOLL 1
+#define HAVE_STRTOD 1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP 1
+#define HAVE__STRICMP 1
+#define HAVE__STRNICMP 1
+#define HAVE_VSNPRINTF 1
+//#define HAVE_SSCANF 1	// TODO, WinRT: consider using sscanf_s instead
+#define HAVE_M_PI 1
+#define HAVE_ATAN 1
+#define HAVE_ATAN2 1
+#define HAVE_CEIL 1
+#define HAVE__COPYSIGN 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_LOG 1
+#define HAVE_POW 1
+//#define HAVE_SCALBN 1
+#define HAVE__SCALB 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#define HAVE__FSEEKI64 1
+
+/* Enable various audio drivers */
+#define SDL_AUDIO_DRIVER_XAUDIO2	1
+#define SDL_AUDIO_DRIVER_DISK	1
+#define SDL_AUDIO_DRIVER_DUMMY	1
+
+/* Enable various input drivers */
+#if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
+#define SDL_JOYSTICK_DISABLED 1
+#define SDL_HAPTIC_DISABLED	1
+#else
+#define SDL_JOYSTICK_XINPUT 1
+#define SDL_HAPTIC_XINPUT   1
+#endif
+
+/* Enable various shared object loading systems */
+#define SDL_LOADSO_WINDOWS	1
+
+/* Enable various threading systems */
+#if (NTDDI_VERSION >= NTDDI_WINBLUE)
+#define SDL_THREAD_WINDOWS  1
+#else
+/* WinRT on Windows 8.0 and Windows Phone 8.0 don't support CreateThread() */
+#define SDL_THREAD_STDCPP   1
+#endif
+
+/* Enable various timer systems */
+#define SDL_TIMER_WINDOWS	1
+
+/* Enable various video drivers */
+#define SDL_VIDEO_DRIVER_WINRT	1
+#define SDL_VIDEO_DRIVER_DUMMY  1
+
+/* Enable OpenGL ES 2.0 (via a modified ANGLE library) */
+#define SDL_VIDEO_OPENGL_ES2 1
+#define SDL_VIDEO_OPENGL_EGL 1
+
+/* Enable appropriate renderer(s) */
+#define SDL_VIDEO_RENDER_D3D11  1
+
+#if SDL_VIDEO_OPENGL_ES2
+#define SDL_VIDEO_RENDER_OGL_ES2 1
+#endif
+
+/* Enable system power support */
+#define SDL_POWER_WINRT 1
+
+/* Enable assembly routines (Win64 doesn't have inline asm) */
+#ifndef _WIN64
+#define SDL_ASSEMBLY_ROUTINES	1
+#endif
+
+#endif /* SDL_config_winrt_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config_wiz.h
@@ -1,0 +1,121 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_config_wiz_h_
+#define SDL_config_wiz_h_
+#define SDL_config_h_
+
+/* This is a set of defines to configure the SDL features */
+
+/* General platform specific identifiers */
+#include "SDL_platform.h"
+
+#define SDL_BYTEORDER 1234
+
+#define HAVE_ALLOCA_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_STDIO_H 1
+#define STDC_HEADERS 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STDARG_H 1
+#define HAVE_MALLOC_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRING_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_CTYPE_H 1
+#define HAVE_MATH_H 1
+#define HAVE_ICONV_H 1
+#define HAVE_SIGNAL_H 1
+#define HAVE_MALLOC 1
+#define HAVE_CALLOC 1
+#define HAVE_REALLOC 1
+#define HAVE_FREE 1
+#define HAVE_ALLOCA 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_PUTENV 1
+#define HAVE_UNSETENV 1
+#define HAVE_QSORT 1
+#define HAVE_ABS 1
+#define HAVE_BCOPY 1
+#define HAVE_MEMSET 1
+#define HAVE_MEMCPY 1
+#define HAVE_MEMMOVE 1
+#define HAVE_STRLEN 1
+#define HAVE_STRDUP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRRCHR 1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+#define HAVE_STRTOLL 1
+#define HAVE_STRTOULL 1
+#define HAVE_ATOI 1
+#define HAVE_ATOF 1
+#define HAVE_STRCMP 1
+#define HAVE_STRNCMP 1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRNCASECMP 1
+#define HAVE_VSSCANF 1
+#define HAVE_VSNPRINTF 1
+#define HAVE_M_PI 1
+#define HAVE_CEIL 1
+#define HAVE_COPYSIGN 1
+#define HAVE_COS 1
+#define HAVE_COSF 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_LOG 1
+#define HAVE_SCALBN 1
+#define HAVE_SIN 1
+#define HAVE_SINF 1
+#define HAVE_SQRT 1
+#define HAVE_SQRTF 1
+#define HAVE_TAN 1
+#define HAVE_TANF 1
+#define HAVE_SIGACTION 1
+#define HAVE_SETJMP 1
+#define HAVE_NANOSLEEP 1
+#define HAVE_POW 1
+
+#define SDL_AUDIO_DRIVER_DUMMY 1
+#define SDL_AUDIO_DRIVER_OSS 1
+
+#define SDL_INPUT_LINUXEV 1
+#define SDL_INPUT_TSLIB 1
+#define SDL_JOYSTICK_LINUX 1
+#define SDL_HAPTIC_LINUX 1
+
+#define SDL_LOADSO_DLOPEN 1
+
+#define SDL_THREAD_PTHREAD 1
+#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP 1
+
+#define SDL_TIMER_UNIX 1
+
+#define SDL_VIDEO_DRIVER_DUMMY 1
+#define SDL_VIDEO_DRIVER_PANDORA 1
+#define SDL_VIDEO_RENDER_OGL_ES 1
+#define SDL_VIDEO_OPENGL_ES 1
+
+#endif /* SDL_config_wiz_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_copying.h
@@ -1,0 +1,20 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2017 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_cpuinfo.h
@@ -1,0 +1,270 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_cpuinfo.h
+ *
+ *  CPU feature detection for SDL.
+ */
+
+#ifndef SDL_cpuinfo_h_
+#define SDL_cpuinfo_h_
+
+#include "SDL_stdinc.h"
+
+/* Need to do this here because intrin.h has C++ code in it */
+/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
+#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || defined(_M_X64))
+#ifdef __clang__
+/* Many of the intrinsics SDL uses are not implemented by clang with Visual Studio */
+#undef __MMX__
+#undef __SSE__
+#undef __SSE2__
+#else
+#include <intrin.h>
+#ifndef _WIN64
+#ifndef __MMX__
+#define __MMX__
+#endif
+#ifndef __3dNOW__
+#define __3dNOW__
+#endif
+#endif
+#ifndef __SSE__
+#define __SSE__
+#endif
+#ifndef __SSE2__
+#define __SSE2__
+#endif
+#endif /* __clang__ */
+#elif defined(__MINGW64_VERSION_MAJOR)
+#include <intrin.h>
+#else
+/* altivec.h redefining bool causes a number of problems, see bugs 3993 and 4392, so you need to explicitly define SDL_ENABLE_ALTIVEC_H to have it included. */
+#if defined(HAVE_ALTIVEC_H) && defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC_H)
+#include <altivec.h>
+#endif
+#if !defined(SDL_DISABLE_ARM_NEON_H)
+#  if defined(__ARM_NEON)
+#    include <arm_neon.h>
+#  elif defined(__WINDOWS__) || defined(__WINRT__)
+/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */
+#    if defined(_M_ARM)
+#      include <armintr.h>
+#      include <arm_neon.h>
+#      define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
+#    endif
+#    if defined (_M_ARM64)
+#      include <armintr.h>
+#      include <arm_neon.h>
+#      define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
+#    endif
+#  endif
+#endif
+#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
+#include <mm3dnow.h>
+#endif
+#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
+#include <immintrin.h>
+#else
+#if defined(__MMX__) && !defined(SDL_DISABLE_MMINTRIN_H)
+#include <mmintrin.h>
+#endif
+#if defined(__SSE__) && !defined(SDL_DISABLE_XMMINTRIN_H)
+#include <xmmintrin.h>
+#endif
+#if defined(__SSE2__) && !defined(SDL_DISABLE_EMMINTRIN_H)
+#include <emmintrin.h>
+#endif
+#if defined(__SSE3__) && !defined(SDL_DISABLE_PMMINTRIN_H)
+#include <pmmintrin.h>
+#endif
+#endif /* HAVE_IMMINTRIN_H */
+#endif /* compiler version */
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* This is a guess for the cacheline size used for padding.
+ * Most x86 processors have a 64 byte cache line.
+ * The 64-bit PowerPC processors have a 128 byte cache line.
+ * We'll use the larger value to be generally safe.
+ */
+#define SDL_CACHELINE_SIZE  128
+
+/**
+ *  This function returns the number of CPU cores available.
+ */
+extern DECLSPEC int SDLCALL SDL_GetCPUCount(void);
+
+/**
+ *  This function returns the L1 cache line size of the CPU
+ *
+ *  This is useful for determining multi-threaded structure padding
+ *  or SIMD prefetch sizes.
+ */
+extern DECLSPEC int SDLCALL SDL_GetCPUCacheLineSize(void);
+
+/**
+ *  This function returns true if the CPU has the RDTSC instruction.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
+
+/**
+ *  This function returns true if the CPU has AltiVec features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
+
+/**
+ *  This function returns true if the CPU has MMX features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void);
+
+/**
+ *  This function returns true if the CPU has 3DNow! features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void);
+
+/**
+ *  This function returns true if the CPU has SSE features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void);
+
+/**
+ *  This function returns true if the CPU has SSE2 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
+
+/**
+ *  This function returns true if the CPU has SSE3 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE3(void);
+
+/**
+ *  This function returns true if the CPU has SSE4.1 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE41(void);
+
+/**
+ *  This function returns true if the CPU has SSE4.2 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void);
+
+/**
+ *  This function returns true if the CPU has AVX features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
+
+/**
+ *  This function returns true if the CPU has AVX2 features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void);
+
+/**
+ *  This function returns true if the CPU has AVX-512F (foundation) features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX512F(void);
+
+/**
+ *  This function returns true if the CPU has NEON (ARM SIMD) features.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
+
+/**
+ *  This function returns the amount of RAM configured in the system, in MB.
+ */
+extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
+
+/**
+ * \brief Report the alignment this system needs for SIMD allocations.
+ *
+ * This will return the minimum number of bytes to which a pointer must be
+ *  aligned to be compatible with SIMD instructions on the current machine.
+ *  For example, if the machine supports SSE only, it will return 16, but if
+ *  it supports AVX-512F, it'll return 64 (etc). This only reports values for
+ *  instruction sets SDL knows about, so if your SDL build doesn't have
+ *  SDL_HasAVX512F(), then it might return 16 for the SSE support it sees and
+ *  not 64 for the AVX-512 instructions that exist but SDL doesn't know about.
+ *  Plan accordingly.
+ */
+extern DECLSPEC size_t SDLCALL SDL_SIMDGetAlignment(void);
+
+/**
+ * \brief Allocate memory in a SIMD-friendly way.
+ *
+ * This will allocate a block of memory that is suitable for use with SIMD
+ *  instructions. Specifically, it will be properly aligned and padded for
+ *  the system's supported vector instructions.
+ *
+ * The memory returned will be padded such that it is safe to read or write
+ *  an incomplete vector at the end of the memory block. This can be useful
+ *  so you don't have to drop back to a scalar fallback at the end of your
+ *  SIMD processing loop to deal with the final elements without overflowing
+ *  the allocated buffer.
+ *
+ * You must free this memory with SDL_FreeSIMD(), not free() or SDL_free()
+ *  or delete[], etc.
+ *
+ * Note that SDL will only deal with SIMD instruction sets it is aware of;
+ *  for example, SDL 2.0.8 knows that SSE wants 16-byte vectors
+ *  (SDL_HasSSE()), and AVX2 wants 32 bytes (SDL_HasAVX2()), but doesn't
+ *  know that AVX-512 wants 64. To be clear: if you can't decide to use an
+ *  instruction set with an SDL_Has*() function, don't use that instruction
+ *  set with memory allocated through here.
+ *
+ * SDL_AllocSIMD(0) will return a non-NULL pointer, assuming the system isn't
+ *  out of memory.
+ *
+ *  \param len The length, in bytes, of the block to allocated. The actual
+ *             allocated block might be larger due to padding, etc.
+ * \return Pointer to newly-allocated block, NULL if out of memory.
+ *
+ * \sa SDL_SIMDAlignment
+ * \sa SDL_SIMDFree
+ */
+extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len);
+
+/**
+ * \brief Deallocate memory obtained from SDL_SIMDAlloc
+ *
+ * It is not valid to use this function on a pointer from anything but
+ *  SDL_SIMDAlloc(). It can't be used on pointers from malloc, realloc,
+ *  SDL_malloc, memalign, new[], etc.
+ *
+ * However, SDL_SIMDFree(NULL) is a legal no-op.
+ *
+ * \sa SDL_SIMDAlloc
+ */
+extern DECLSPEC void SDLCALL SDL_SIMDFree(void *ptr);
+
+/* vi: set ts=4 sw=4 expandtab: */
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_cpuinfo_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_egl.h
@@ -1,0 +1,1673 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_egl.h
+ *
+ *  This is a simple file to encapsulate the EGL API headers.
+ */
+#if !defined(_MSC_VER) && !defined(__ANDROID__)
+
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
+
+#else /* _MSC_VER */
+
+/* EGL headers for Visual Studio */
+
+#ifndef __khrplatform_h_
+#define __khrplatform_h_
+
+/*
+** Copyright (c) 2008-2009 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.
+*/
+
+/* Khronos platform-specific types and definitions.
+*
+* $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $
+*
+* Adopters may modify this file to suit their platform. Adopters are
+* encouraged to submit platform specific modifications to the Khronos
+* group so that they can be included in future versions of this file.
+* Please submit changes by sending them to the public Khronos Bugzilla
+* (http://khronos.org/bugzilla) by filing a bug against product
+* "Khronos (general)" component "Registry".
+*
+* A predefined template which fills in some of the bug fields can be
+* reached using http://tinyurl.com/khrplatform-h-bugreport, but you
+* must create a Bugzilla login first.
+*
+*
+* See the Implementer's Guidelines for information about where this file
+* should be located on your system and for more details of its use:
+*    http://www.khronos.org/registry/implementers_guide.pdf
+*
+* This file should be included as
+*        #include <KHR/khrplatform.h>
+* by Khronos client API header files that use its types and defines.
+*
+* The types in khrplatform.h should only be used to define API-specific types.
+*
+* Types defined in khrplatform.h:
+*    khronos_int8_t              signed   8  bit
+*    khronos_uint8_t             unsigned 8  bit
+*    khronos_int16_t             signed   16 bit
+*    khronos_uint16_t            unsigned 16 bit
+*    khronos_int32_t             signed   32 bit
+*    khronos_uint32_t            unsigned 32 bit
+*    khronos_int64_t             signed   64 bit
+*    khronos_uint64_t            unsigned 64 bit
+*    khronos_intptr_t            signed   same number of bits as a pointer
+*    khronos_uintptr_t           unsigned same number of bits as a pointer
+*    khronos_ssize_t             signed   size
+*    khronos_usize_t             unsigned size
+*    khronos_float_t             signed   32 bit floating point
+*    khronos_time_ns_t           unsigned 64 bit time in nanoseconds
+*    khronos_utime_nanoseconds_t unsigned time interval or absolute time in
+*                                         nanoseconds
+*    khronos_stime_nanoseconds_t signed time interval in nanoseconds
+*    khronos_boolean_enum_t      enumerated boolean type. This should
+*      only be used as a base type when a client API's boolean type is
+*      an enum. Client APIs which use an integer or other type for
+*      booleans cannot use this as the base type for their boolean.
+*
+* Tokens defined in khrplatform.h:
+*
+*    KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
+*
+*    KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
+*    KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
+*
+* Calling convention macros defined in this file:
+*    KHRONOS_APICALL
+*    KHRONOS_APIENTRY
+*    KHRONOS_APIATTRIBUTES
+*
+* These may be used in function prototypes as:
+*
+*      KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
+*                                  int arg1,
+*                                  int arg2) KHRONOS_APIATTRIBUTES;
+*/
+
+/*-------------------------------------------------------------------------
+* Definition of KHRONOS_APICALL
+*-------------------------------------------------------------------------
+* This precedes the return type of the function in the function prototype.
+*/
+#if defined(_WIN32) && !defined(__SCITECH_SNAP__) && !defined(SDL_VIDEO_STATIC_ANGLE)
+#   define KHRONOS_APICALL __declspec(dllimport)
+#elif defined (__SYMBIAN32__)
+#   define KHRONOS_APICALL IMPORT_C
+#else
+#   define KHRONOS_APICALL
+#endif
+
+/*-------------------------------------------------------------------------
+* Definition of KHRONOS_APIENTRY
+*-------------------------------------------------------------------------
+* This follows the return type of the function  and precedes the function
+* name in the function prototype.
+*/
+#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
+/* Win32 but not WinCE */
+#   define KHRONOS_APIENTRY __stdcall
+#else
+#   define KHRONOS_APIENTRY
+#endif
+
+/*-------------------------------------------------------------------------
+* Definition of KHRONOS_APIATTRIBUTES
+*-------------------------------------------------------------------------
+* This follows the closing parenthesis of the function prototype arguments.
+*/
+#if defined (__ARMCC_2__)
+#define KHRONOS_APIATTRIBUTES __softfp
+#else
+#define KHRONOS_APIATTRIBUTES
+#endif
+
+/*-------------------------------------------------------------------------
+* basic type definitions
+*-----------------------------------------------------------------------*/
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
+
+
+/*
+* Using <stdint.h>
+*/
+#include <stdint.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(__VMS ) || defined(__sgi)
+
+/*
+* Using <inttypes.h>
+*/
+#include <inttypes.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
+
+/*
+* Win32
+*/
+typedef __int32                 khronos_int32_t;
+typedef unsigned __int32        khronos_uint32_t;
+typedef __int64                 khronos_int64_t;
+typedef unsigned __int64        khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(__sun__) || defined(__digital__)
+
+/*
+* Sun or Digital
+*/
+typedef int                     khronos_int32_t;
+typedef unsigned int            khronos_uint32_t;
+#if defined(__arch64__) || defined(_LP64)
+typedef long int                khronos_int64_t;
+typedef unsigned long int       khronos_uint64_t;
+#else
+typedef long long int           khronos_int64_t;
+typedef unsigned long long int  khronos_uint64_t;
+#endif /* __arch64__ */
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif 0
+
+/*
+* Hypothetical platform with no float or int64 support
+*/
+typedef int                     khronos_int32_t;
+typedef unsigned int            khronos_uint32_t;
+#define KHRONOS_SUPPORT_INT64   0
+#define KHRONOS_SUPPORT_FLOAT   0
+
+#else
+
+/*
+* Generic fallback
+*/
+#include <stdint.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#endif
+
+
+/*
+* Types that are (so far) the same on all platforms
+*/
+typedef signed   char          khronos_int8_t;
+typedef unsigned char          khronos_uint8_t;
+typedef signed   short int     khronos_int16_t;
+typedef unsigned short int     khronos_uint16_t;
+
+/*
+* Types that differ between LLP64 and LP64 architectures - in LLP64,
+* pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
+* to be the only LLP64 architecture in current use.
+*/
+#ifdef _WIN64
+typedef signed   long long int khronos_intptr_t;
+typedef unsigned long long int khronos_uintptr_t;
+typedef signed   long long int khronos_ssize_t;
+typedef unsigned long long int khronos_usize_t;
+#else
+typedef signed   long  int     khronos_intptr_t;
+typedef unsigned long  int     khronos_uintptr_t;
+typedef signed   long  int     khronos_ssize_t;
+typedef unsigned long  int     khronos_usize_t;
+#endif
+
+#if KHRONOS_SUPPORT_FLOAT
+/*
+* Float type
+*/
+typedef          float         khronos_float_t;
+#endif
+
+#if KHRONOS_SUPPORT_INT64
+/* Time types
+*
+* These types can be used to represent a time interval in nanoseconds or
+* an absolute Unadjusted System Time.  Unadjusted System Time is the number
+* of nanoseconds since some arbitrary system event (e.g. since the last
+* time the system booted).  The Unadjusted System Time is an unsigned
+* 64 bit value that wraps back to 0 every 584 years.  Time intervals
+* may be either signed or unsigned.
+*/
+typedef khronos_uint64_t       khronos_utime_nanoseconds_t;
+typedef khronos_int64_t        khronos_stime_nanoseconds_t;
+#endif
+
+/*
+* Dummy value used to pad enum types to 32 bits.
+*/
+#ifndef KHRONOS_MAX_ENUM
+#define KHRONOS_MAX_ENUM 0x7FFFFFFF
+#endif
+
+/*
+* Enumerated boolean type
+*
+* Values other than zero should be considered to be true.  Therefore
+* comparisons should not be made against KHRONOS_TRUE.
+*/
+typedef enum {
+    KHRONOS_FALSE = 0,
+    KHRONOS_TRUE = 1,
+    KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
+} khronos_boolean_enum_t;
+
+#endif /* __khrplatform_h_ */
+
+
+#ifndef __eglplatform_h_
+#define __eglplatform_h_
+
+/*
+** Copyright (c) 2007-2009 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.
+*/
+
+/* Platform-specific types and definitions for egl.h
+* $Revision: 12306 $ on $Date: 2010-08-25 09:51:28 -0700 (Wed, 25 Aug 2010) $
+*
+* Adopters may modify khrplatform.h and this file to suit their platform.
+* You are encouraged to submit all modifications to the Khronos group so that
+* they can be included in future versions of this file.  Please submit changes
+* by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+* by filing a bug against product "EGL" component "Registry".
+*/
+
+/*#include <KHR/khrplatform.h>*/
+
+/* Macros used in EGL function prototype declarations.
+*
+* EGL functions should be prototyped as:
+*
+* EGLAPI return-type EGLAPIENTRY eglFunction(arguments);
+* typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments);
+*
+* KHRONOS_APICALL and KHRONOS_APIENTRY are defined in KHR/khrplatform.h
+*/
+
+#ifndef EGLAPI
+#define EGLAPI KHRONOS_APICALL
+#endif
+
+#ifndef EGLAPIENTRY
+#define EGLAPIENTRY  KHRONOS_APIENTRY
+#endif
+#define EGLAPIENTRYP EGLAPIENTRY*
+
+/* The types NativeDisplayType, NativeWindowType, and NativePixmapType
+* are aliases of window-system-dependent types, such as X Display * or
+* Windows Device Context. They must be defined in platform-specific
+* code below. The EGL-prefixed versions of Native*Type are the same
+* types, renamed in EGL 1.3 so all types in the API start with "EGL".
+*
+* Khronos STRONGLY RECOMMENDS that you use the default definitions
+* provided below, since these changes affect both binary and source
+* portability of applications using EGL running on different EGL
+* implementations.
+*/
+
+#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN 1
+#endif
+#include <windows.h>
+
+#if __WINRT__
+#include <Unknwn.h>
+typedef IUnknown * EGLNativeWindowType;
+typedef IUnknown * EGLNativePixmapType;
+typedef IUnknown * EGLNativeDisplayType;
+#else
+typedef HDC     EGLNativeDisplayType;
+typedef HBITMAP EGLNativePixmapType;
+typedef HWND    EGLNativeWindowType;
+#endif
+
+#elif defined(__WINSCW__) || defined(__SYMBIAN32__)  /* Symbian */
+
+typedef int   EGLNativeDisplayType;
+typedef void *EGLNativeWindowType;
+typedef void *EGLNativePixmapType;
+
+#elif defined(WL_EGL_PLATFORM)
+
+typedef struct wl_display     *EGLNativeDisplayType;
+typedef struct wl_egl_pixmap  *EGLNativePixmapType;
+typedef struct wl_egl_window  *EGLNativeWindowType;
+
+#elif defined(__GBM__)
+
+typedef struct gbm_device  *EGLNativeDisplayType;
+typedef struct gbm_bo      *EGLNativePixmapType;
+typedef void               *EGLNativeWindowType;
+
+#elif defined(__ANDROID__) /* Android */
+
+struct ANativeWindow;
+struct egl_native_pixmap_t;
+
+typedef struct ANativeWindow        *EGLNativeWindowType;
+typedef struct egl_native_pixmap_t  *EGLNativePixmapType;
+typedef void                        *EGLNativeDisplayType;
+
+#elif defined(MIR_EGL_PLATFORM)
+
+#include <mir_toolkit/mir_client_library.h>
+typedef MirEGLNativeDisplayType EGLNativeDisplayType;
+typedef void                   *EGLNativePixmapType;
+typedef MirEGLNativeWindowType  EGLNativeWindowType;
+
+#elif defined(__unix__)
+
+#ifdef MESA_EGL_NO_X11_HEADERS
+
+typedef void            *EGLNativeDisplayType;
+typedef khronos_uintptr_t EGLNativePixmapType;
+typedef khronos_uintptr_t EGLNativeWindowType;
+
+#else
+
+/* X11 (tentative)  */
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+typedef Display *EGLNativeDisplayType;
+typedef Pixmap   EGLNativePixmapType;
+typedef Window   EGLNativeWindowType;
+
+#endif /* MESA_EGL_NO_X11_HEADERS */
+
+#else
+#error "Platform not recognized"
+#endif
+
+/* EGL 1.2 types, renamed for consistency in EGL 1.3 */
+typedef EGLNativeDisplayType NativeDisplayType;
+typedef EGLNativePixmapType  NativePixmapType;
+typedef EGLNativeWindowType  NativeWindowType;
+
+
+/* Define EGLint. This must be a signed integral type large enough to contain
+* all legal attribute names and values passed into and out of EGL, whether
+* their type is boolean, bitmask, enumerant (symbolic constant), integer,
+* handle, or other.  While in general a 32-bit integer will suffice, if
+* handles are 64 bit types, then EGLint should be defined as a signed 64-bit
+* integer type.
+*/
+typedef khronos_int32_t EGLint;
+
+#endif /* __eglplatform_h */
+
+#ifndef __egl_h_
+#define __egl_h_ 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+** Copyright (c) 2013-2015 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.
+*/
+/*
+** This header is generated from the Khronos OpenGL / OpenGL ES XML
+** API Registry. The current version of the Registry, generator scripts
+** used to make the header, and the header can be found at
+**   http://www.opengl.org/registry/
+**
+** Khronos $Revision: 31566 $ on $Date: 2015-06-23 08:48:48 -0700 (Tue, 23 Jun 2015) $
+*/
+
+/*#include <EGL/eglplatform.h>*/
+
+/* Generated on date 20150623 */
+
+/* Generated C header for:
+ * API: egl
+ * Versions considered: .*
+ * Versions emitted: .*
+ * Default extensions included: None
+ * Additional extensions included: _nomatch_^
+ * Extensions removed: _nomatch_^
+ */
+
+#ifndef EGL_VERSION_1_0
+#define EGL_VERSION_1_0 1
+typedef unsigned int EGLBoolean;
+typedef void *EGLDisplay;
+typedef void *EGLConfig;
+typedef void *EGLSurface;
+typedef void *EGLContext;
+typedef void (*__eglMustCastToProperFunctionPointerType)(void);
+#define EGL_ALPHA_SIZE                    0x3021
+#define EGL_BAD_ACCESS                    0x3002
+#define EGL_BAD_ALLOC                     0x3003
+#define EGL_BAD_ATTRIBUTE                 0x3004
+#define EGL_BAD_CONFIG                    0x3005
+#define EGL_BAD_CONTEXT                   0x3006
+#define EGL_BAD_CURRENT_SURFACE           0x3007
+#define EGL_BAD_DISPLAY                   0x3008
+#define EGL_BAD_MATCH                     0x3009
+#define EGL_BAD_NATIVE_PIXMAP             0x300A
+#define EGL_BAD_NATIVE_WINDOW             0x300B
+#define EGL_BAD_PARAMETER                 0x300C
+#define EGL_BAD_SURFACE                   0x300D
+#define EGL_BLUE_SIZE                     0x3022
+#define EGL_BUFFER_SIZE                   0x3020
+#define EGL_CONFIG_CAVEAT                 0x3027
+#define EGL_CONFIG_ID                     0x3028
+#define EGL_CORE_NATIVE_ENGINE            0x305B
+#define EGL_DEPTH_SIZE                    0x3025
+#define EGL_DONT_CARE                     ((EGLint)-1)
+#define EGL_DRAW                          0x3059
+#define EGL_EXTENSIONS                    0x3055
+#define EGL_FALSE                         0
+#define EGL_GREEN_SIZE                    0x3023
+#define EGL_HEIGHT                        0x3056
+#define EGL_LARGEST_PBUFFER               0x3058
+#define EGL_LEVEL                         0x3029
+#define EGL_MAX_PBUFFER_HEIGHT            0x302A
+#define EGL_MAX_PBUFFER_PIXELS            0x302B
+#define EGL_MAX_PBUFFER_WIDTH             0x302C
+#define EGL_NATIVE_RENDERABLE             0x302D
+#define EGL_NATIVE_VISUAL_ID              0x302E
+#define EGL_NATIVE_VISUAL_TYPE            0x302F
+#define EGL_NONE                          0x3038
+#define EGL_NON_CONFORMANT_CONFIG         0x3051
+#define EGL_NOT_INITIALIZED               0x3001
+#define EGL_NO_CONTEXT                    ((EGLContext)0)
+#define EGL_NO_DISPLAY                    ((EGLDisplay)0)
+#define EGL_NO_SURFACE                    ((EGLSurface)0)
+#define EGL_PBUFFER_BIT                   0x0001
+#define EGL_PIXMAP_BIT                    0x0002
+#define EGL_READ                          0x305A
+#define EGL_RED_SIZE                      0x3024
+#define EGL_SAMPLES                       0x3031
+#define EGL_SAMPLE_BUFFERS                0x3032
+#define EGL_SLOW_CONFIG                   0x3050
+#define EGL_STENCIL_SIZE                  0x3026
+#define EGL_SUCCESS                       0x3000
+#define EGL_SURFACE_TYPE                  0x3033
+#define EGL_TRANSPARENT_BLUE_VALUE        0x3035
+#define EGL_TRANSPARENT_GREEN_VALUE       0x3036
+#define EGL_TRANSPARENT_RED_VALUE         0x3037
+#define EGL_TRANSPARENT_RGB               0x3052
+#define EGL_TRANSPARENT_TYPE              0x3034
+#define EGL_TRUE                          1
+#define EGL_VENDOR                        0x3053
+#define EGL_VERSION                       0x3054
+#define EGL_WIDTH                         0x3057
+#define EGL_WINDOW_BIT                    0x0004
+EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config);
+EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
+EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config);
+EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay (void);
+EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface (EGLint readdraw);
+EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay (EGLNativeDisplayType display_id);
+EGLAPI EGLint EGLAPIENTRY eglGetError (void);
+EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);
+EGLAPI EGLBoolean EGLAPIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);
+EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
+EGLAPI const char *EGLAPIENTRY eglQueryString (EGLDisplay dpy, EGLint name);
+EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface surface);
+EGLAPI EGLBoolean EGLAPIENTRY eglTerminate (EGLDisplay dpy);
+EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL (void);
+EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative (EGLint engine);
+#endif /* EGL_VERSION_1_0 */
+
+#ifndef EGL_VERSION_1_1
+#define EGL_VERSION_1_1 1
+#define EGL_BACK_BUFFER                   0x3084
+#define EGL_BIND_TO_TEXTURE_RGB           0x3039
+#define EGL_BIND_TO_TEXTURE_RGBA          0x303A
+#define EGL_CONTEXT_LOST                  0x300E
+#define EGL_MIN_SWAP_INTERVAL             0x303B
+#define EGL_MAX_SWAP_INTERVAL             0x303C
+#define EGL_MIPMAP_TEXTURE                0x3082
+#define EGL_MIPMAP_LEVEL                  0x3083
+#define EGL_NO_TEXTURE                    0x305C
+#define EGL_TEXTURE_2D                    0x305F
+#define EGL_TEXTURE_FORMAT                0x3080
+#define EGL_TEXTURE_RGB                   0x305D
+#define EGL_TEXTURE_RGBA                  0x305E
+#define EGL_TEXTURE_TARGET                0x3081
+EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
+EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
+EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval);
+#endif /* EGL_VERSION_1_1 */
+
+#ifndef EGL_VERSION_1_2
+#define EGL_VERSION_1_2 1
+typedef unsigned int EGLenum;
+typedef void *EGLClientBuffer;
+#define EGL_ALPHA_FORMAT                  0x3088
+#define EGL_ALPHA_FORMAT_NONPRE           0x308B
+#define EGL_ALPHA_FORMAT_PRE              0x308C
+#define EGL_ALPHA_MASK_SIZE               0x303E
+#define EGL_BUFFER_PRESERVED              0x3094
+#define EGL_BUFFER_DESTROYED              0x3095
+#define EGL_CLIENT_APIS                   0x308D
+#define EGL_COLORSPACE                    0x3087
+#define EGL_COLORSPACE_sRGB               0x3089
+#define EGL_COLORSPACE_LINEAR             0x308A
+#define EGL_COLOR_BUFFER_TYPE             0x303F
+#define EGL_CONTEXT_CLIENT_TYPE           0x3097
+#define EGL_DISPLAY_SCALING               10000
+#define EGL_HORIZONTAL_RESOLUTION         0x3090
+#define EGL_LUMINANCE_BUFFER              0x308F
+#define EGL_LUMINANCE_SIZE                0x303D
+#define EGL_OPENGL_ES_BIT                 0x0001
+#define EGL_OPENVG_BIT                    0x0002
+#define EGL_OPENGL_ES_API                 0x30A0
+#define EGL_OPENVG_API                    0x30A1
+#define EGL_OPENVG_IMAGE                  0x3096
+#define EGL_PIXEL_ASPECT_RATIO            0x3092
+#define EGL_RENDERABLE_TYPE               0x3040
+#define EGL_RENDER_BUFFER                 0x3086
+#define EGL_RGB_BUFFER                    0x308E
+#define EGL_SINGLE_BUFFER                 0x3085
+#define EGL_SWAP_BEHAVIOR                 0x3093
+#define EGL_UNKNOWN                       ((EGLint)-1)
+#define EGL_VERTICAL_RESOLUTION           0x3091
+EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI (EGLenum api);
+EGLAPI EGLenum EGLAPIENTRY eglQueryAPI (void);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread (void);
+EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void);
+#endif /* EGL_VERSION_1_2 */
+
+#ifndef EGL_VERSION_1_3
+#define EGL_VERSION_1_3 1
+#define EGL_CONFORMANT                    0x3042
+#define EGL_CONTEXT_CLIENT_VERSION        0x3098
+#define EGL_MATCH_NATIVE_PIXMAP           0x3041
+#define EGL_OPENGL_ES2_BIT                0x0004
+#define EGL_VG_ALPHA_FORMAT               0x3088
+#define EGL_VG_ALPHA_FORMAT_NONPRE        0x308B
+#define EGL_VG_ALPHA_FORMAT_PRE           0x308C
+#define EGL_VG_ALPHA_FORMAT_PRE_BIT       0x0040
+#define EGL_VG_COLORSPACE                 0x3087
+#define EGL_VG_COLORSPACE_sRGB            0x3089
+#define EGL_VG_COLORSPACE_LINEAR          0x308A
+#define EGL_VG_COLORSPACE_LINEAR_BIT      0x0020
+#endif /* EGL_VERSION_1_3 */
+
+#ifndef EGL_VERSION_1_4
+#define EGL_VERSION_1_4 1
+#define EGL_DEFAULT_DISPLAY               ((EGLNativeDisplayType)0)
+#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT   0x0200
+#define EGL_MULTISAMPLE_RESOLVE           0x3099
+#define EGL_MULTISAMPLE_RESOLVE_DEFAULT   0x309A
+#define EGL_MULTISAMPLE_RESOLVE_BOX       0x309B
+#define EGL_OPENGL_API                    0x30A2
+#define EGL_OPENGL_BIT                    0x0008
+#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT   0x0400
+EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext (void);
+#endif /* EGL_VERSION_1_4 */
+
+#ifndef EGL_VERSION_1_5
+#define EGL_VERSION_1_5 1
+typedef void *EGLSync;
+typedef intptr_t EGLAttrib;
+typedef khronos_utime_nanoseconds_t EGLTime;
+typedef void *EGLImage;
+#define EGL_CONTEXT_MAJOR_VERSION         0x3098
+#define EGL_CONTEXT_MINOR_VERSION         0x30FB
+#define EGL_CONTEXT_OPENGL_PROFILE_MASK   0x30FD
+#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY 0x31BD
+#define EGL_NO_RESET_NOTIFICATION         0x31BE
+#define EGL_LOSE_CONTEXT_ON_RESET         0x31BF
+#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT 0x00000001
+#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT 0x00000002
+#define EGL_CONTEXT_OPENGL_DEBUG          0x31B0
+#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE 0x31B1
+#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS  0x31B2
+#define EGL_OPENGL_ES3_BIT                0x00000040
+#define EGL_CL_EVENT_HANDLE               0x309C
+#define EGL_SYNC_CL_EVENT                 0x30FE
+#define EGL_SYNC_CL_EVENT_COMPLETE        0x30FF
+#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE  0x30F0
+#define EGL_SYNC_TYPE                     0x30F7
+#define EGL_SYNC_STATUS                   0x30F1
+#define EGL_SYNC_CONDITION                0x30F8
+#define EGL_SIGNALED                      0x30F2
+#define EGL_UNSIGNALED                    0x30F3
+#define EGL_SYNC_FLUSH_COMMANDS_BIT       0x0001
+#define EGL_FOREVER                       0xFFFFFFFFFFFFFFFFull
+#define EGL_TIMEOUT_EXPIRED               0x30F5
+#define EGL_CONDITION_SATISFIED           0x30F6
+#define EGL_NO_SYNC                       ((EGLSync)0)
+#define EGL_SYNC_FENCE                    0x30F9
+#define EGL_GL_COLORSPACE                 0x309D
+#define EGL_GL_COLORSPACE_SRGB            0x3089
+#define EGL_GL_COLORSPACE_LINEAR          0x308A
+#define EGL_GL_RENDERBUFFER               0x30B9
+#define EGL_GL_TEXTURE_2D                 0x30B1
+#define EGL_GL_TEXTURE_LEVEL              0x30BC
+#define EGL_GL_TEXTURE_3D                 0x30B2
+#define EGL_GL_TEXTURE_ZOFFSET            0x30BD
+#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x30B3
+#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x30B4
+#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x30B5
+#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x30B6
+#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x30B7
+#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x30B8
+#define EGL_IMAGE_PRESERVED               0x30D2
+#define EGL_NO_IMAGE                      ((EGLImage)0)
+EGLAPI EGLSync EGLAPIENTRY eglCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroySync (EGLDisplay dpy, EGLSync sync);
+EGLAPI EGLint EGLAPIENTRY eglClientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value);
+EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImage (EGLDisplay dpy, EGLImage image);
+EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags);
+#endif /* EGL_VERSION_1_5 */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __egl_h_ */
+
+
+
+#ifndef __eglext_h_
+#define __eglext_h_ 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+** Copyright (c) 2013-2015 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.
+*/
+/*
+** This header is generated from the Khronos OpenGL / OpenGL ES XML
+** API Registry. The current version of the Registry, generator scripts
+** used to make the header, and the header can be found at
+**   http://www.opengl.org/registry/
+**
+** Khronos $Revision: 31566 $ on $Date: 2015-06-23 08:48:48 -0700 (Tue, 23 Jun 2015) $
+*/
+
+/*#include <EGL/eglplatform.h>*/
+
+#define EGL_EGLEXT_VERSION 20150623
+
+/* Generated C header for:
+ * API: egl
+ * Versions considered: .*
+ * Versions emitted: _nomatch_^
+ * Default extensions included: egl
+ * Additional extensions included: _nomatch_^
+ * Extensions removed: _nomatch_^
+ */
+
+#ifndef EGL_KHR_cl_event
+#define EGL_KHR_cl_event 1
+#define EGL_CL_EVENT_HANDLE_KHR           0x309C
+#define EGL_SYNC_CL_EVENT_KHR             0x30FE
+#define EGL_SYNC_CL_EVENT_COMPLETE_KHR    0x30FF
+#endif /* EGL_KHR_cl_event */
+
+#ifndef EGL_KHR_cl_event2
+#define EGL_KHR_cl_event2 1
+typedef void *EGLSyncKHR;
+typedef intptr_t EGLAttribKHR;
+typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
+#endif
+#endif /* EGL_KHR_cl_event2 */
+
+#ifndef EGL_KHR_client_get_all_proc_addresses
+#define EGL_KHR_client_get_all_proc_addresses 1
+#endif /* EGL_KHR_client_get_all_proc_addresses */
+
+#ifndef EGL_KHR_config_attribs
+#define EGL_KHR_config_attribs 1
+#define EGL_CONFORMANT_KHR                0x3042
+#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR  0x0020
+#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR   0x0040
+#endif /* EGL_KHR_config_attribs */
+
+#ifndef EGL_KHR_create_context
+#define EGL_KHR_create_context 1
+#define EGL_CONTEXT_MAJOR_VERSION_KHR     0x3098
+#define EGL_CONTEXT_MINOR_VERSION_KHR     0x30FB
+#define EGL_CONTEXT_FLAGS_KHR             0x30FC
+#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD
+#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD
+#define EGL_NO_RESET_NOTIFICATION_KHR     0x31BE
+#define EGL_LOSE_CONTEXT_ON_RESET_KHR     0x31BF
+#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR  0x00000001
+#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002
+#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004
+#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001
+#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002
+#define EGL_OPENGL_ES3_BIT_KHR            0x00000040
+#endif /* EGL_KHR_create_context */
+
+#ifndef EGL_KHR_create_context_no_error
+#define EGL_KHR_create_context_no_error 1
+#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR   0x31B3
+#endif /* EGL_KHR_create_context_no_error */
+
+#ifndef EGL_KHR_fence_sync
+#define EGL_KHR_fence_sync 1
+typedef khronos_utime_nanoseconds_t EGLTimeKHR;
+#ifdef KHRONOS_SUPPORT_INT64
+#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
+#define EGL_SYNC_CONDITION_KHR            0x30F8
+#define EGL_SYNC_FENCE_KHR                0x30F9
+typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
+typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
+EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
+#endif
+#endif /* KHRONOS_SUPPORT_INT64 */
+#endif /* EGL_KHR_fence_sync */
+
+#ifndef EGL_KHR_get_all_proc_addresses
+#define EGL_KHR_get_all_proc_addresses 1
+#endif /* EGL_KHR_get_all_proc_addresses */
+
+#ifndef EGL_KHR_gl_colorspace
+#define EGL_KHR_gl_colorspace 1
+#define EGL_GL_COLORSPACE_KHR             0x309D
+#define EGL_GL_COLORSPACE_SRGB_KHR        0x3089
+#define EGL_GL_COLORSPACE_LINEAR_KHR      0x308A
+#endif /* EGL_KHR_gl_colorspace */
+
+#ifndef EGL_KHR_gl_renderbuffer_image
+#define EGL_KHR_gl_renderbuffer_image 1
+#define EGL_GL_RENDERBUFFER_KHR           0x30B9
+#endif /* EGL_KHR_gl_renderbuffer_image */
+
+#ifndef EGL_KHR_gl_texture_2D_image
+#define EGL_KHR_gl_texture_2D_image 1
+#define EGL_GL_TEXTURE_2D_KHR             0x30B1
+#define EGL_GL_TEXTURE_LEVEL_KHR          0x30BC
+#endif /* EGL_KHR_gl_texture_2D_image */
+
+#ifndef EGL_KHR_gl_texture_3D_image
+#define EGL_KHR_gl_texture_3D_image 1
+#define EGL_GL_TEXTURE_3D_KHR             0x30B2
+#define EGL_GL_TEXTURE_ZOFFSET_KHR        0x30BD
+#endif /* EGL_KHR_gl_texture_3D_image */
+
+#ifndef EGL_KHR_gl_texture_cubemap_image
+#define EGL_KHR_gl_texture_cubemap_image 1
+#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3
+#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4
+#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5
+#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6
+#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7
+#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8
+#endif /* EGL_KHR_gl_texture_cubemap_image */
+
+#ifndef EGL_KHR_image
+#define EGL_KHR_image 1
+typedef void *EGLImageKHR;
+#define EGL_NATIVE_PIXMAP_KHR             0x30B0
+#define EGL_NO_IMAGE_KHR                  ((EGLImageKHR)0)
+typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
+#endif
+#endif /* EGL_KHR_image */
+
+#ifndef EGL_KHR_image_base
+#define EGL_KHR_image_base 1
+#define EGL_IMAGE_PRESERVED_KHR           0x30D2
+#endif /* EGL_KHR_image_base */
+
+#ifndef EGL_KHR_image_pixmap
+#define EGL_KHR_image_pixmap 1
+#endif /* EGL_KHR_image_pixmap */
+
+#ifndef EGL_KHR_lock_surface
+#define EGL_KHR_lock_surface 1
+#define EGL_READ_SURFACE_BIT_KHR          0x0001
+#define EGL_WRITE_SURFACE_BIT_KHR         0x0002
+#define EGL_LOCK_SURFACE_BIT_KHR          0x0080
+#define EGL_OPTIMAL_FORMAT_BIT_KHR        0x0100
+#define EGL_MATCH_FORMAT_KHR              0x3043
+#define EGL_FORMAT_RGB_565_EXACT_KHR      0x30C0
+#define EGL_FORMAT_RGB_565_KHR            0x30C1
+#define EGL_FORMAT_RGBA_8888_EXACT_KHR    0x30C2
+#define EGL_FORMAT_RGBA_8888_KHR          0x30C3
+#define EGL_MAP_PRESERVE_PIXELS_KHR       0x30C4
+#define EGL_LOCK_USAGE_HINT_KHR           0x30C5
+#define EGL_BITMAP_POINTER_KHR            0x30C6
+#define EGL_BITMAP_PITCH_KHR              0x30C7
+#define EGL_BITMAP_ORIGIN_KHR             0x30C8
+#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR   0x30C9
+#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA
+#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR  0x30CB
+#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC
+#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD
+#define EGL_LOWER_LEFT_KHR                0x30CE
+#define EGL_UPPER_LEFT_KHR                0x30CF
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
+#endif
+#endif /* EGL_KHR_lock_surface */
+
+#ifndef EGL_KHR_lock_surface2
+#define EGL_KHR_lock_surface2 1
+#define EGL_BITMAP_PIXEL_SIZE_KHR         0x3110
+#endif /* EGL_KHR_lock_surface2 */
+
+#ifndef EGL_KHR_lock_surface3
+#define EGL_KHR_lock_surface3 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
+#endif
+#endif /* EGL_KHR_lock_surface3 */
+
+#ifndef EGL_KHR_partial_update
+#define EGL_KHR_partial_update 1
+#define EGL_BUFFER_AGE_KHR                0x313D
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
+#endif
+#endif /* EGL_KHR_partial_update */
+
+#ifndef EGL_KHR_platform_android
+#define EGL_KHR_platform_android 1
+#define EGL_PLATFORM_ANDROID_KHR          0x3141
+#endif /* EGL_KHR_platform_android */
+
+#ifndef EGL_KHR_platform_gbm
+#define EGL_KHR_platform_gbm 1
+#define EGL_PLATFORM_GBM_KHR              0x31D7
+#endif /* EGL_KHR_platform_gbm */
+
+#ifndef EGL_KHR_platform_wayland
+#define EGL_KHR_platform_wayland 1
+#define EGL_PLATFORM_WAYLAND_KHR          0x31D8
+#endif /* EGL_KHR_platform_wayland */
+
+#ifndef EGL_KHR_platform_x11
+#define EGL_KHR_platform_x11 1
+#define EGL_PLATFORM_X11_KHR              0x31D5
+#define EGL_PLATFORM_X11_SCREEN_KHR       0x31D6
+#endif /* EGL_KHR_platform_x11 */
+
+#ifndef EGL_KHR_reusable_sync
+#define EGL_KHR_reusable_sync 1
+#ifdef KHRONOS_SUPPORT_INT64
+#define EGL_SYNC_STATUS_KHR               0x30F1
+#define EGL_SIGNALED_KHR                  0x30F2
+#define EGL_UNSIGNALED_KHR                0x30F3
+#define EGL_TIMEOUT_EXPIRED_KHR           0x30F5
+#define EGL_CONDITION_SATISFIED_KHR       0x30F6
+#define EGL_SYNC_TYPE_KHR                 0x30F7
+#define EGL_SYNC_REUSABLE_KHR             0x30FA
+#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR   0x0001
+#define EGL_FOREVER_KHR                   0xFFFFFFFFFFFFFFFFull
+#define EGL_NO_SYNC_KHR                   ((EGLSyncKHR)0)
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
+#endif
+#endif /* KHRONOS_SUPPORT_INT64 */
+#endif /* EGL_KHR_reusable_sync */
+
+#ifndef EGL_KHR_stream
+#define EGL_KHR_stream 1
+typedef void *EGLStreamKHR;
+typedef khronos_uint64_t EGLuint64KHR;
+#ifdef KHRONOS_SUPPORT_INT64
+#define EGL_NO_STREAM_KHR                 ((EGLStreamKHR)0)
+#define EGL_CONSUMER_LATENCY_USEC_KHR     0x3210
+#define EGL_PRODUCER_FRAME_KHR            0x3212
+#define EGL_CONSUMER_FRAME_KHR            0x3213
+#define EGL_STREAM_STATE_KHR              0x3214
+#define EGL_STREAM_STATE_CREATED_KHR      0x3215
+#define EGL_STREAM_STATE_CONNECTING_KHR   0x3216
+#define EGL_STREAM_STATE_EMPTY_KHR        0x3217
+#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218
+#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219
+#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A
+#define EGL_BAD_STREAM_KHR                0x321B
+#define EGL_BAD_STATE_KHR                 0x321C
+typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream);
+EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
+#endif
+#endif /* KHRONOS_SUPPORT_INT64 */
+#endif /* EGL_KHR_stream */
+
+#ifndef EGL_KHR_stream_consumer_gltexture
+#define EGL_KHR_stream_consumer_gltexture 1
+#ifdef EGL_KHR_stream
+#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream);
+EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream);
+EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream);
+#endif
+#endif /* EGL_KHR_stream */
+#endif /* EGL_KHR_stream_consumer_gltexture */
+
+#ifndef EGL_KHR_stream_cross_process_fd
+#define EGL_KHR_stream_cross_process_fd 1
+typedef int EGLNativeFileDescriptorKHR;
+#ifdef EGL_KHR_stream
+#define EGL_NO_FILE_DESCRIPTOR_KHR        ((EGLNativeFileDescriptorKHR)(-1))
+typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
+typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream);
+EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
+#endif
+#endif /* EGL_KHR_stream */
+#endif /* EGL_KHR_stream_cross_process_fd */
+
+#ifndef EGL_KHR_stream_fifo
+#define EGL_KHR_stream_fifo 1
+#ifdef EGL_KHR_stream
+#define EGL_STREAM_FIFO_LENGTH_KHR        0x31FC
+#define EGL_STREAM_TIME_NOW_KHR           0x31FD
+#define EGL_STREAM_TIME_CONSUMER_KHR      0x31FE
+#define EGL_STREAM_TIME_PRODUCER_KHR      0x31FF
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
+#endif
+#endif /* EGL_KHR_stream */
+#endif /* EGL_KHR_stream_fifo */
+
+#ifndef EGL_KHR_stream_producer_aldatalocator
+#define EGL_KHR_stream_producer_aldatalocator 1
+#ifdef EGL_KHR_stream
+#endif /* EGL_KHR_stream */
+#endif /* EGL_KHR_stream_producer_aldatalocator */
+
+#ifndef EGL_KHR_stream_producer_eglsurface
+#define EGL_KHR_stream_producer_eglsurface 1
+#ifdef EGL_KHR_stream
+#define EGL_STREAM_BIT_KHR                0x0800
+typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
+#endif
+#endif /* EGL_KHR_stream */
+#endif /* EGL_KHR_stream_producer_eglsurface */
+
+#ifndef EGL_KHR_surfaceless_context
+#define EGL_KHR_surfaceless_context 1
+#endif /* EGL_KHR_surfaceless_context */
+
+#ifndef EGL_KHR_swap_buffers_with_damage
+#define EGL_KHR_swap_buffers_with_damage 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
+#endif
+#endif /* EGL_KHR_swap_buffers_with_damage */
+
+#ifndef EGL_KHR_vg_parent_image
+#define EGL_KHR_vg_parent_image 1
+#define EGL_VG_PARENT_IMAGE_KHR           0x30BA
+#endif /* EGL_KHR_vg_parent_image */
+
+#ifndef EGL_KHR_wait_sync
+#define EGL_KHR_wait_sync 1
+typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
+#endif
+#endif /* EGL_KHR_wait_sync */
+
+#ifndef EGL_ANDROID_blob_cache
+#define EGL_ANDROID_blob_cache 1
+typedef khronos_ssize_t EGLsizeiANDROID;
+typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
+typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
+typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
+#endif
+#endif /* EGL_ANDROID_blob_cache */
+
+#ifndef EGL_ANDROID_framebuffer_target
+#define EGL_ANDROID_framebuffer_target 1
+#define EGL_FRAMEBUFFER_TARGET_ANDROID    0x3147
+#endif /* EGL_ANDROID_framebuffer_target */
+
+#ifndef EGL_ANDROID_image_native_buffer
+#define EGL_ANDROID_image_native_buffer 1
+#define EGL_NATIVE_BUFFER_ANDROID         0x3140
+#endif /* EGL_ANDROID_image_native_buffer */
+
+#ifndef EGL_ANDROID_native_fence_sync
+#define EGL_ANDROID_native_fence_sync 1
+#define EGL_SYNC_NATIVE_FENCE_ANDROID     0x3144
+#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID  0x3145
+#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146
+#define EGL_NO_NATIVE_FENCE_FD_ANDROID    -1
+typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync);
+#endif
+#endif /* EGL_ANDROID_native_fence_sync */
+
+#ifndef EGL_ANDROID_recordable
+#define EGL_ANDROID_recordable 1
+#define EGL_RECORDABLE_ANDROID            0x3142
+#endif /* EGL_ANDROID_recordable */
+
+#ifndef EGL_ANGLE_d3d_share_handle_client_buffer
+#define EGL_ANGLE_d3d_share_handle_client_buffer 1
+#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
+#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */
+
+#ifndef EGL_ANGLE_device_d3d
+#define EGL_ANGLE_device_d3d 1
+#define EGL_D3D9_DEVICE_ANGLE             0x33A0
+#define EGL_D3D11_DEVICE_ANGLE            0x33A1
+#endif /* EGL_ANGLE_device_d3d */
+
+#ifndef EGL_ANGLE_query_surface_pointer
+#define EGL_ANGLE_query_surface_pointer 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
+#endif
+#endif /* EGL_ANGLE_query_surface_pointer */
+
+#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
+#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
+#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
+
+#ifndef EGL_ANGLE_window_fixed_size
+#define EGL_ANGLE_window_fixed_size 1
+#define EGL_FIXED_SIZE_ANGLE              0x3201
+#endif /* EGL_ANGLE_window_fixed_size */
+
+#ifndef EGL_ARM_pixmap_multisample_discard
+#define EGL_ARM_pixmap_multisample_discard 1
+#define EGL_DISCARD_SAMPLES_ARM           0x3286
+#endif /* EGL_ARM_pixmap_multisample_discard */
+
+#ifndef EGL_EXT_buffer_age
+#define EGL_EXT_buffer_age 1
+#define EGL_BUFFER_AGE_EXT                0x313D
+#endif /* EGL_EXT_buffer_age */
+
+#ifndef EGL_EXT_client_extensions
+#define EGL_EXT_client_extensions 1
+#endif /* EGL_EXT_client_extensions */
+
+#ifndef EGL_EXT_create_context_robustness
+#define EGL_EXT_create_context_robustness 1
+#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
+#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138
+#define EGL_NO_RESET_NOTIFICATION_EXT     0x31BE
+#define EGL_LOSE_CONTEXT_ON_RESET_EXT     0x31BF
+#endif /* EGL_EXT_create_context_robustness */
+
+#ifndef EGL_EXT_device_base
+#define EGL_EXT_device_base 1
+typedef void *EGLDeviceEXT;
+#define EGL_NO_DEVICE_EXT                 ((EGLDeviceEXT)(0))
+#define EGL_BAD_DEVICE_EXT                0x322B
+#define EGL_DEVICE_EXT                    0x322C
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
+typedef const char *(EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
+EGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
+#endif
+#endif /* EGL_EXT_device_base */
+
+#ifndef EGL_EXT_device_drm
+#define EGL_EXT_device_drm 1
+#define EGL_DRM_DEVICE_FILE_EXT           0x3233
+#endif /* EGL_EXT_device_drm */
+
+#ifndef EGL_EXT_device_enumeration
+#define EGL_EXT_device_enumeration 1
+#endif /* EGL_EXT_device_enumeration */
+
+#ifndef EGL_EXT_device_openwf
+#define EGL_EXT_device_openwf 1
+#define EGL_OPENWF_DEVICE_ID_EXT          0x3237
+#endif /* EGL_EXT_device_openwf */
+
+#ifndef EGL_EXT_device_query
+#define EGL_EXT_device_query 1
+#endif /* EGL_EXT_device_query */
+
+#ifndef EGL_EXT_image_dma_buf_import
+#define EGL_EXT_image_dma_buf_import 1
+#define EGL_LINUX_DMA_BUF_EXT             0x3270
+#define EGL_LINUX_DRM_FOURCC_EXT          0x3271
+#define EGL_DMA_BUF_PLANE0_FD_EXT         0x3272
+#define EGL_DMA_BUF_PLANE0_OFFSET_EXT     0x3273
+#define EGL_DMA_BUF_PLANE0_PITCH_EXT      0x3274
+#define EGL_DMA_BUF_PLANE1_FD_EXT         0x3275
+#define EGL_DMA_BUF_PLANE1_OFFSET_EXT     0x3276
+#define EGL_DMA_BUF_PLANE1_PITCH_EXT      0x3277
+#define EGL_DMA_BUF_PLANE2_FD_EXT         0x3278
+#define EGL_DMA_BUF_PLANE2_OFFSET_EXT     0x3279
+#define EGL_DMA_BUF_PLANE2_PITCH_EXT      0x327A
+#define EGL_YUV_COLOR_SPACE_HINT_EXT      0x327B
+#define EGL_SAMPLE_RANGE_HINT_EXT         0x327C
+#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D
+#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E
+#define EGL_ITU_REC601_EXT                0x327F
+#define EGL_ITU_REC709_EXT                0x3280
+#define EGL_ITU_REC2020_EXT               0x3281
+#define EGL_YUV_FULL_RANGE_EXT            0x3282
+#define EGL_YUV_NARROW_RANGE_EXT          0x3283
+#define EGL_YUV_CHROMA_SITING_0_EXT       0x3284
+#define EGL_YUV_CHROMA_SITING_0_5_EXT     0x3285
+#endif /* EGL_EXT_image_dma_buf_import */
+
+#ifndef EGL_EXT_multiview_window
+#define EGL_EXT_multiview_window 1
+#define EGL_MULTIVIEW_VIEW_COUNT_EXT      0x3134
+#endif /* EGL_EXT_multiview_window */
+
+#ifndef EGL_EXT_output_base
+#define EGL_EXT_output_base 1
+typedef void *EGLOutputLayerEXT;
+typedef void *EGLOutputPortEXT;
+#define EGL_NO_OUTPUT_LAYER_EXT           ((EGLOutputLayerEXT)0)
+#define EGL_NO_OUTPUT_PORT_EXT            ((EGLOutputPortEXT)0)
+#define EGL_BAD_OUTPUT_LAYER_EXT          0x322D
+#define EGL_BAD_OUTPUT_PORT_EXT           0x322E
+#define EGL_SWAP_INTERVAL_EXT             0x322F
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
+typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
+typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
+EGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
+EGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
+EGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
+EGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
+#endif
+#endif /* EGL_EXT_output_base */
+
+#ifndef EGL_EXT_output_drm
+#define EGL_EXT_output_drm 1
+#define EGL_DRM_CRTC_EXT                  0x3234
+#define EGL_DRM_PLANE_EXT                 0x3235
+#define EGL_DRM_CONNECTOR_EXT             0x3236
+#endif /* EGL_EXT_output_drm */
+
+#ifndef EGL_EXT_output_openwf
+#define EGL_EXT_output_openwf 1
+#define EGL_OPENWF_PIPELINE_ID_EXT        0x3238
+#define EGL_OPENWF_PORT_ID_EXT            0x3239
+#endif /* EGL_EXT_output_openwf */
+
+#ifndef EGL_EXT_platform_base
+#define EGL_EXT_platform_base 1
+typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list);
+typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
+typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
+#endif
+#endif /* EGL_EXT_platform_base */
+
+#ifndef EGL_EXT_platform_device
+#define EGL_EXT_platform_device 1
+#define EGL_PLATFORM_DEVICE_EXT           0x313F
+#endif /* EGL_EXT_platform_device */
+
+#ifndef EGL_EXT_platform_wayland
+#define EGL_EXT_platform_wayland 1
+#define EGL_PLATFORM_WAYLAND_EXT          0x31D8
+#endif /* EGL_EXT_platform_wayland */
+
+#ifndef EGL_EXT_platform_x11
+#define EGL_EXT_platform_x11 1
+#define EGL_PLATFORM_X11_EXT              0x31D5
+#define EGL_PLATFORM_X11_SCREEN_EXT       0x31D6
+#endif /* EGL_EXT_platform_x11 */
+
+#ifndef EGL_EXT_protected_surface
+#define EGL_EXT_protected_surface 1
+#define EGL_PROTECTED_CONTENT_EXT         0x32C0
+#endif /* EGL_EXT_protected_surface */
+
+#ifndef EGL_EXT_stream_consumer_egloutput
+#define EGL_EXT_stream_consumer_egloutput 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
+#endif
+#endif /* EGL_EXT_stream_consumer_egloutput */
+
+#ifndef EGL_EXT_swap_buffers_with_damage
+#define EGL_EXT_swap_buffers_with_damage 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
+#endif
+#endif /* EGL_EXT_swap_buffers_with_damage */
+
+#ifndef EGL_EXT_yuv_surface
+#define EGL_EXT_yuv_surface 1
+#define EGL_YUV_ORDER_EXT                 0x3301
+#define EGL_YUV_NUMBER_OF_PLANES_EXT      0x3311
+#define EGL_YUV_SUBSAMPLE_EXT             0x3312
+#define EGL_YUV_DEPTH_RANGE_EXT           0x3317
+#define EGL_YUV_CSC_STANDARD_EXT          0x330A
+#define EGL_YUV_PLANE_BPP_EXT             0x331A
+#define EGL_YUV_BUFFER_EXT                0x3300
+#define EGL_YUV_ORDER_YUV_EXT             0x3302
+#define EGL_YUV_ORDER_YVU_EXT             0x3303
+#define EGL_YUV_ORDER_YUYV_EXT            0x3304
+#define EGL_YUV_ORDER_UYVY_EXT            0x3305
+#define EGL_YUV_ORDER_YVYU_EXT            0x3306
+#define EGL_YUV_ORDER_VYUY_EXT            0x3307
+#define EGL_YUV_ORDER_AYUV_EXT            0x3308
+#define EGL_YUV_SUBSAMPLE_4_2_0_EXT       0x3313
+#define EGL_YUV_SUBSAMPLE_4_2_2_EXT       0x3314
+#define EGL_YUV_SUBSAMPLE_4_4_4_EXT       0x3315
+#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT   0x3318
+#define EGL_YUV_DEPTH_RANGE_FULL_EXT      0x3319
+#define EGL_YUV_CSC_STANDARD_601_EXT      0x330B
+#define EGL_YUV_CSC_STANDARD_709_EXT      0x330C
+#define EGL_YUV_CSC_STANDARD_2020_EXT     0x330D
+#define EGL_YUV_PLANE_BPP_0_EXT           0x331B
+#define EGL_YUV_PLANE_BPP_8_EXT           0x331C
+#define EGL_YUV_PLANE_BPP_10_EXT          0x331D
+#endif /* EGL_EXT_yuv_surface */
+
+#ifndef EGL_HI_clientpixmap
+#define EGL_HI_clientpixmap 1
+struct EGLClientPixmapHI {
+    void  *pData;
+    EGLint iWidth;
+    EGLint iHeight;
+    EGLint iStride;
+};
+#define EGL_CLIENT_PIXMAP_POINTER_HI      0x8F74
+typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
+#endif
+#endif /* EGL_HI_clientpixmap */
+
+#ifndef EGL_HI_colorformats
+#define EGL_HI_colorformats 1
+#define EGL_COLOR_FORMAT_HI               0x8F70
+#define EGL_COLOR_RGB_HI                  0x8F71
+#define EGL_COLOR_RGBA_HI                 0x8F72
+#define EGL_COLOR_ARGB_HI                 0x8F73
+#endif /* EGL_HI_colorformats */
+
+#ifndef EGL_IMG_context_priority
+#define EGL_IMG_context_priority 1
+#define EGL_CONTEXT_PRIORITY_LEVEL_IMG    0x3100
+#define EGL_CONTEXT_PRIORITY_HIGH_IMG     0x3101
+#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG   0x3102
+#define EGL_CONTEXT_PRIORITY_LOW_IMG      0x3103
+#endif /* EGL_IMG_context_priority */
+
+#ifndef EGL_MESA_drm_image
+#define EGL_MESA_drm_image 1
+#define EGL_DRM_BUFFER_FORMAT_MESA        0x31D0
+#define EGL_DRM_BUFFER_USE_MESA           0x31D1
+#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2
+#define EGL_DRM_BUFFER_MESA               0x31D3
+#define EGL_DRM_BUFFER_STRIDE_MESA        0x31D4
+#define EGL_DRM_BUFFER_USE_SCANOUT_MESA   0x00000001
+#define EGL_DRM_BUFFER_USE_SHARE_MESA     0x00000002
+typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
+#endif
+#endif /* EGL_MESA_drm_image */
+
+#ifndef EGL_MESA_image_dma_buf_export
+#define EGL_MESA_image_dma_buf_export 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
+EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
+#endif
+#endif /* EGL_MESA_image_dma_buf_export */
+
+#ifndef EGL_MESA_platform_gbm
+#define EGL_MESA_platform_gbm 1
+#define EGL_PLATFORM_GBM_MESA             0x31D7
+#endif /* EGL_MESA_platform_gbm */
+
+#ifndef EGL_NOK_swap_region
+#define EGL_NOK_swap_region 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
+#endif
+#endif /* EGL_NOK_swap_region */
+
+#ifndef EGL_NOK_swap_region2
+#define EGL_NOK_swap_region2 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
+#endif
+#endif /* EGL_NOK_swap_region2 */
+
+#ifndef EGL_NOK_texture_from_pixmap
+#define EGL_NOK_texture_from_pixmap 1
+#define EGL_Y_INVERTED_NOK                0x307F
+#endif /* EGL_NOK_texture_from_pixmap */
+
+#ifndef EGL_NV_3dvision_surface
+#define EGL_NV_3dvision_surface 1
+#define EGL_AUTO_STEREO_NV                0x3136
+#endif /* EGL_NV_3dvision_surface */
+
+#ifndef EGL_NV_coverage_sample
+#define EGL_NV_coverage_sample 1
+#define EGL_COVERAGE_BUFFERS_NV           0x30E0
+#define EGL_COVERAGE_SAMPLES_NV           0x30E1
+#endif /* EGL_NV_coverage_sample */
+
+#ifndef EGL_NV_coverage_sample_resolve
+#define EGL_NV_coverage_sample_resolve 1
+#define EGL_COVERAGE_SAMPLE_RESOLVE_NV    0x3131
+#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132
+#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133
+#endif /* EGL_NV_coverage_sample_resolve */
+
+#ifndef EGL_NV_cuda_event
+#define EGL_NV_cuda_event 1
+#define EGL_CUDA_EVENT_HANDLE_NV          0x323B
+#define EGL_SYNC_CUDA_EVENT_NV            0x323C
+#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV   0x323D
+#endif /* EGL_NV_cuda_event */
+
+#ifndef EGL_NV_depth_nonlinear
+#define EGL_NV_depth_nonlinear 1
+#define EGL_DEPTH_ENCODING_NV             0x30E2
+#define EGL_DEPTH_ENCODING_NONE_NV        0
+#define EGL_DEPTH_ENCODING_NONLINEAR_NV   0x30E3
+#endif /* EGL_NV_depth_nonlinear */
+
+#ifndef EGL_NV_device_cuda
+#define EGL_NV_device_cuda 1
+#define EGL_CUDA_DEVICE_NV                0x323A
+#endif /* EGL_NV_device_cuda */
+
+#ifndef EGL_NV_native_query
+#define EGL_NV_native_query 1
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
+#endif
+#endif /* EGL_NV_native_query */
+
+#ifndef EGL_NV_post_convert_rounding
+#define EGL_NV_post_convert_rounding 1
+#endif /* EGL_NV_post_convert_rounding */
+
+#ifndef EGL_NV_post_sub_buffer
+#define EGL_NV_post_sub_buffer 1
+#define EGL_POST_SUB_BUFFER_SUPPORTED_NV  0x30BE
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
+#endif
+#endif /* EGL_NV_post_sub_buffer */
+
+#ifndef EGL_NV_stream_sync
+#define EGL_NV_stream_sync 1
+#define EGL_SYNC_NEW_FRAME_NV             0x321F
+typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
+#endif
+#endif /* EGL_NV_stream_sync */
+
+#ifndef EGL_NV_sync
+#define EGL_NV_sync 1
+typedef void *EGLSyncNV;
+typedef khronos_utime_nanoseconds_t EGLTimeNV;
+#ifdef KHRONOS_SUPPORT_INT64
+#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6
+#define EGL_SYNC_STATUS_NV                0x30E7
+#define EGL_SIGNALED_NV                   0x30E8
+#define EGL_UNSIGNALED_NV                 0x30E9
+#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV    0x0001
+#define EGL_FOREVER_NV                    0xFFFFFFFFFFFFFFFFull
+#define EGL_ALREADY_SIGNALED_NV           0x30EA
+#define EGL_TIMEOUT_EXPIRED_NV            0x30EB
+#define EGL_CONDITION_SATISFIED_NV        0x30EC
+#define EGL_SYNC_TYPE_NV                  0x30ED
+#define EGL_SYNC_CONDITION_NV             0x30EE
+#define EGL_SYNC_FENCE_NV                 0x30EF
+#define EGL_NO_SYNC_NV                    ((EGLSyncNV)0)
+typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync);
+typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync);
+EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync);
+EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
+EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
+#endif
+#endif /* KHRONOS_SUPPORT_INT64 */
+#endif /* EGL_NV_sync */
+
+#ifndef EGL_NV_system_time
+#define EGL_NV_system_time 1
+typedef khronos_utime_nanoseconds_t EGLuint64NV;
+#ifdef KHRONOS_SUPPORT_INT64
+typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void);
+typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void);
+EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void);
+#endif
+#endif /* KHRONOS_SUPPORT_INT64 */
+#endif /* EGL_NV_system_time */
+
+#ifndef EGL_TIZEN_image_native_buffer
+#define EGL_TIZEN_image_native_buffer 1
+#define EGL_NATIVE_BUFFER_TIZEN           0x32A0
+#endif /* EGL_TIZEN_image_native_buffer */
+
+#ifndef EGL_TIZEN_image_native_surface
+#define EGL_TIZEN_image_native_surface 1
+#define EGL_NATIVE_SURFACE_TIZEN          0x32A1
+#endif /* EGL_TIZEN_image_native_surface */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __eglext_h_ */
+
+
+#endif /* _MSC_VER */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_endian.h
@@ -1,0 +1,260 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_endian.h
+ *
+ *  Functions for reading and writing endian-specific values
+ */
+
+#ifndef SDL_endian_h_
+#define SDL_endian_h_
+
+#include "SDL_stdinc.h"
+
+/**
+ *  \name The two types of endianness
+ */
+/* @{ */
+#define SDL_LIL_ENDIAN  1234
+#define SDL_BIG_ENDIAN  4321
+/* @} */
+
+#ifndef SDL_BYTEORDER           /* Not defined in SDL_config.h? */
+#ifdef __linux__
+#include <endian.h>
+#define SDL_BYTEORDER  __BYTE_ORDER
+#else /* __linux__ */
+#if defined(__hppa__) || \
+    defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
+    (defined(__MIPS__) && defined(__MISPEB__)) || \
+    defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
+    defined(__sparc__)
+#define SDL_BYTEORDER   SDL_BIG_ENDIAN
+#else
+#define SDL_BYTEORDER   SDL_LIL_ENDIAN
+#endif
+#endif /* __linux__ */
+#endif /* !SDL_BYTEORDER */
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_endian.h
+ */
+#if defined(__GNUC__) && defined(__i386__) && \
+   !(__GNUC__ == 2 && __GNUC_MINOR__ == 95 /* broken gcc version */)
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+  __asm__("xchgb %b0,%h0": "=q"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && defined(__x86_64__)
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+  __asm__("xchgb %b0,%h0": "=Q"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+    int result;
+
+  __asm__("rlwimi %0,%2,8,16,23": "=&r"(result):"0"(x >> 8), "r"(x));
+    return (Uint16)result;
+}
+#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__)
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+  __asm__("rorw #8,%0": "=d"(x): "0"(x):"cc");
+    return x;
+}
+#elif defined(__WATCOMC__) && defined(__386__)
+extern _inline Uint16 SDL_Swap16(Uint16);
+#pragma aux SDL_Swap16 = \
+  "xchg al, ah" \
+  parm   [ax]   \
+  modify [ax];
+#else
+SDL_FORCE_INLINE Uint16
+SDL_Swap16(Uint16 x)
+{
+    return SDL_static_cast(Uint16, ((x << 8) | (x >> 8)));
+}
+#endif
+
+#if defined(__GNUC__) && defined(__i386__)
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+  __asm__("bswap %0": "=r"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && defined(__x86_64__)
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+  __asm__("bswapl %0": "=r"(x):"0"(x));
+    return x;
+}
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+    Uint32 result;
+
+  __asm__("rlwimi %0,%2,24,16,23": "=&r"(result):"0"(x >> 24), "r"(x));
+  __asm__("rlwimi %0,%2,8,8,15": "=&r"(result):"0"(result), "r"(x));
+  __asm__("rlwimi %0,%2,24,0,7": "=&r"(result):"0"(result), "r"(x));
+    return result;
+}
+#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__)
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+  __asm__("rorw #8,%0\n\tswap %0\n\trorw #8,%0": "=d"(x): "0"(x):"cc");
+    return x;
+}
+#elif defined(__WATCOMC__) && defined(__386__)
+extern _inline Uint32 SDL_Swap32(Uint32);
+#ifndef __SW_3 /* 486+ */
+#pragma aux SDL_Swap32 = \
+  "bswap eax"  \
+  parm   [eax] \
+  modify [eax];
+#else  /* 386-only */
+#pragma aux SDL_Swap32 = \
+  "xchg al, ah"  \
+  "ror  eax, 16" \
+  "xchg al, ah"  \
+  parm   [eax]   \
+  modify [eax];
+#endif
+#else
+SDL_FORCE_INLINE Uint32
+SDL_Swap32(Uint32 x)
+{
+    return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
+                                    ((x >> 8) & 0x0000FF00) | (x >> 24)));
+}
+#endif
+
+#if defined(__GNUC__) && defined(__i386__)
+SDL_FORCE_INLINE Uint64
+SDL_Swap64(Uint64 x)
+{
+    union
+    {
+        struct
+        {
+            Uint32 a, b;
+        } s;
+        Uint64 u;
+    } v;
+    v.u = x;
+  __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1": "=r"(v.s.a), "=r"(v.s.b):"0"(v.s.a),
+            "1"(v.s.
+                b));
+    return v.u;
+}
+#elif defined(__GNUC__) && defined(__x86_64__)
+SDL_FORCE_INLINE Uint64
+SDL_Swap64(Uint64 x)
+{
+  __asm__("bswapq %0": "=r"(x):"0"(x));
+    return x;
+}
+#else
+SDL_FORCE_INLINE Uint64
+SDL_Swap64(Uint64 x)
+{
+    Uint32 hi, lo;
+
+    /* Separate into high and low 32-bit values and swap them */
+    lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF);
+    x >>= 32;
+    hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF);
+    x = SDL_Swap32(lo);
+    x <<= 32;
+    x |= SDL_Swap32(hi);
+    return (x);
+}
+#endif
+
+
+SDL_FORCE_INLINE float
+SDL_SwapFloat(float x)
+{
+    union
+    {
+        float f;
+        Uint32 ui32;
+    } swapper;
+    swapper.f = x;
+    swapper.ui32 = SDL_Swap32(swapper.ui32);
+    return swapper.f;
+}
+
+
+/**
+ *  \name Swap to native
+ *  Byteswap item from the specified endianness to the native endianness.
+ */
+/* @{ */
+#if SDL_BYTEORDER == SDL_LIL_ENDIAN
+#define SDL_SwapLE16(X) (X)
+#define SDL_SwapLE32(X) (X)
+#define SDL_SwapLE64(X) (X)
+#define SDL_SwapFloatLE(X)  (X)
+#define SDL_SwapBE16(X) SDL_Swap16(X)
+#define SDL_SwapBE32(X) SDL_Swap32(X)
+#define SDL_SwapBE64(X) SDL_Swap64(X)
+#define SDL_SwapFloatBE(X)  SDL_SwapFloat(X)
+#else
+#define SDL_SwapLE16(X) SDL_Swap16(X)
+#define SDL_SwapLE32(X) SDL_Swap32(X)
+#define SDL_SwapLE64(X) SDL_Swap64(X)
+#define SDL_SwapFloatLE(X)  SDL_SwapFloat(X)
+#define SDL_SwapBE16(X) (X)
+#define SDL_SwapBE32(X) (X)
+#define SDL_SwapBE64(X) (X)
+#define SDL_SwapFloatBE(X)  (X)
+#endif
+/* @} *//* Swap to native */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_endian_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_error.h
@@ -1,0 +1,76 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_error.h
+ *
+ *  Simple error message routines for SDL.
+ */
+
+#ifndef SDL_error_h_
+#define SDL_error_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Public functions */
+/* SDL_SetError() unconditionally returns -1. */
+extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
+extern DECLSPEC const char *SDLCALL SDL_GetError(void);
+extern DECLSPEC void SDLCALL SDL_ClearError(void);
+
+/**
+ *  \name Internal error functions
+ *
+ *  \internal
+ *  Private error reporting function - used internally.
+ */
+/* @{ */
+#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEM)
+#define SDL_Unsupported()   SDL_Error(SDL_UNSUPPORTED)
+#define SDL_InvalidParamError(param)    SDL_SetError("Parameter '%s' is invalid", (param))
+typedef enum
+{
+    SDL_ENOMEM,
+    SDL_EFREAD,
+    SDL_EFWRITE,
+    SDL_EFSEEK,
+    SDL_UNSUPPORTED,
+    SDL_LASTERROR
+} SDL_errorcode;
+/* SDL_Error() unconditionally returns -1. */
+extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code);
+/* @} *//* Internal error functions */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_error_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_events.h
@@ -1,0 +1,791 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_events.h
+ *
+ *  Include file for SDL event handling.
+ */
+
+#ifndef SDL_events_h_
+#define SDL_events_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+#include "SDL_keyboard.h"
+#include "SDL_mouse.h"
+#include "SDL_joystick.h"
+#include "SDL_gamecontroller.h"
+#include "SDL_quit.h"
+#include "SDL_gesture.h"
+#include "SDL_touch.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* General keyboard/mouse state definitions */
+#define SDL_RELEASED    0
+#define SDL_PRESSED 1
+
+/**
+ * \brief The types of events that can be delivered.
+ */
+typedef enum
+{
+    SDL_FIRSTEVENT     = 0,     /**< Unused (do not remove) */
+
+    /* Application events */
+    SDL_QUIT           = 0x100, /**< User-requested quit */
+
+    /* These application events have special meaning on iOS, see README-ios.md for details */
+    SDL_APP_TERMINATING,        /**< The application is being terminated by the OS
+                                     Called on iOS in applicationWillTerminate()
+                                     Called on Android in onDestroy()
+                                */
+    SDL_APP_LOWMEMORY,          /**< The application is low on memory, free memory if possible.
+                                     Called on iOS in applicationDidReceiveMemoryWarning()
+                                     Called on Android in onLowMemory()
+                                */
+    SDL_APP_WILLENTERBACKGROUND, /**< The application is about to enter the background
+                                     Called on iOS in applicationWillResignActive()
+                                     Called on Android in onPause()
+                                */
+    SDL_APP_DIDENTERBACKGROUND, /**< The application did enter the background and may not get CPU for some time
+                                     Called on iOS in applicationDidEnterBackground()
+                                     Called on Android in onPause()
+                                */
+    SDL_APP_WILLENTERFOREGROUND, /**< The application is about to enter the foreground
+                                     Called on iOS in applicationWillEnterForeground()
+                                     Called on Android in onResume()
+                                */
+    SDL_APP_DIDENTERFOREGROUND, /**< The application is now interactive
+                                     Called on iOS in applicationDidBecomeActive()
+                                     Called on Android in onResume()
+                                */
+
+    /* Display events */
+    SDL_DISPLAYEVENT   = 0x150,  /**< Display state change */
+
+    /* Window events */
+    SDL_WINDOWEVENT    = 0x200, /**< Window state change */
+    SDL_SYSWMEVENT,             /**< System specific event */
+
+    /* Keyboard events */
+    SDL_KEYDOWN        = 0x300, /**< Key pressed */
+    SDL_KEYUP,                  /**< Key released */
+    SDL_TEXTEDITING,            /**< Keyboard text editing (composition) */
+    SDL_TEXTINPUT,              /**< Keyboard text input */
+    SDL_KEYMAPCHANGED,          /**< Keymap changed due to a system event such as an
+                                     input language or keyboard layout change.
+                                */
+
+    /* Mouse events */
+    SDL_MOUSEMOTION    = 0x400, /**< Mouse moved */
+    SDL_MOUSEBUTTONDOWN,        /**< Mouse button pressed */
+    SDL_MOUSEBUTTONUP,          /**< Mouse button released */
+    SDL_MOUSEWHEEL,             /**< Mouse wheel motion */
+
+    /* Joystick events */
+    SDL_JOYAXISMOTION  = 0x600, /**< Joystick axis motion */
+    SDL_JOYBALLMOTION,          /**< Joystick trackball motion */
+    SDL_JOYHATMOTION,           /**< Joystick hat position change */
+    SDL_JOYBUTTONDOWN,          /**< Joystick button pressed */
+    SDL_JOYBUTTONUP,            /**< Joystick button released */
+    SDL_JOYDEVICEADDED,         /**< A new joystick has been inserted into the system */
+    SDL_JOYDEVICEREMOVED,       /**< An opened joystick has been removed */
+
+    /* Game controller events */
+    SDL_CONTROLLERAXISMOTION  = 0x650, /**< Game controller axis motion */
+    SDL_CONTROLLERBUTTONDOWN,          /**< Game controller button pressed */
+    SDL_CONTROLLERBUTTONUP,            /**< Game controller button released */
+    SDL_CONTROLLERDEVICEADDED,         /**< A new Game controller has been inserted into the system */
+    SDL_CONTROLLERDEVICEREMOVED,       /**< An opened Game controller has been removed */
+    SDL_CONTROLLERDEVICEREMAPPED,      /**< The controller mapping was updated */
+
+    /* Touch events */
+    SDL_FINGERDOWN      = 0x700,
+    SDL_FINGERUP,
+    SDL_FINGERMOTION,
+
+    /* Gesture events */
+    SDL_DOLLARGESTURE   = 0x800,
+    SDL_DOLLARRECORD,
+    SDL_MULTIGESTURE,
+
+    /* Clipboard events */
+    SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard changed */
+
+    /* Drag and drop events */
+    SDL_DROPFILE        = 0x1000, /**< The system requests a file open */
+    SDL_DROPTEXT,                 /**< text/plain drag-and-drop event */
+    SDL_DROPBEGIN,                /**< A new set of drops is beginning (NULL filename) */
+    SDL_DROPCOMPLETE,             /**< Current set of drops is now complete (NULL filename) */
+
+    /* Audio hotplug events */
+    SDL_AUDIODEVICEADDED = 0x1100, /**< A new audio device is available */
+    SDL_AUDIODEVICEREMOVED,        /**< An audio device has been removed. */
+
+    /* Sensor events */
+    SDL_SENSORUPDATE = 0x1200,     /**< A sensor was updated */
+
+    /* Render events */
+    SDL_RENDER_TARGETS_RESET = 0x2000, /**< The render targets have been reset and their contents need to be updated */
+    SDL_RENDER_DEVICE_RESET, /**< The device has been reset and all textures need to be recreated */
+
+    /** Events ::SDL_USEREVENT through ::SDL_LASTEVENT are for your use,
+     *  and should be allocated with SDL_RegisterEvents()
+     */
+    SDL_USEREVENT    = 0x8000,
+
+    /**
+     *  This last event is only for bounding internal arrays
+     */
+    SDL_LASTEVENT    = 0xFFFF
+} SDL_EventType;
+
+/**
+ *  \brief Fields shared by every event
+ */
+typedef struct SDL_CommonEvent
+{
+    Uint32 type;
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+} SDL_CommonEvent;
+
+/**
+ *  \brief Display state change event data (event.display.*)
+ */
+typedef struct SDL_DisplayEvent
+{
+    Uint32 type;        /**< ::SDL_DISPLAYEVENT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 display;     /**< The associated display index */
+    Uint8 event;        /**< ::SDL_DisplayEventID */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint32 data1;       /**< event dependent data */
+} SDL_DisplayEvent;
+
+/**
+ *  \brief Window state change event data (event.window.*)
+ */
+typedef struct SDL_WindowEvent
+{
+    Uint32 type;        /**< ::SDL_WINDOWEVENT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The associated window */
+    Uint8 event;        /**< ::SDL_WindowEventID */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint32 data1;       /**< event dependent data */
+    Sint32 data2;       /**< event dependent data */
+} SDL_WindowEvent;
+
+/**
+ *  \brief Keyboard button event structure (event.key.*)
+ */
+typedef struct SDL_KeyboardEvent
+{
+    Uint32 type;        /**< ::SDL_KEYDOWN or ::SDL_KEYUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with keyboard focus, if any */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 repeat;       /**< Non-zero if this is a key repeat */
+    Uint8 padding2;
+    Uint8 padding3;
+    SDL_Keysym keysym;  /**< The key that was pressed or released */
+} SDL_KeyboardEvent;
+
+#define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32)
+/**
+ *  \brief Keyboard text editing event structure (event.edit.*)
+ */
+typedef struct SDL_TextEditingEvent
+{
+    Uint32 type;                                /**< ::SDL_TEXTEDITING */
+    Uint32 timestamp;                           /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;                            /**< The window with keyboard focus, if any */
+    char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE];  /**< The editing text */
+    Sint32 start;                               /**< The start cursor of selected editing text */
+    Sint32 length;                              /**< The length of selected editing text */
+} SDL_TextEditingEvent;
+
+
+#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
+/**
+ *  \brief Keyboard text input event structure (event.text.*)
+ */
+typedef struct SDL_TextInputEvent
+{
+    Uint32 type;                              /**< ::SDL_TEXTINPUT */
+    Uint32 timestamp;                         /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;                          /**< The window with keyboard focus, if any */
+    char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];  /**< The input text */
+} SDL_TextInputEvent;
+
+/**
+ *  \brief Mouse motion event structure (event.motion.*)
+ */
+typedef struct SDL_MouseMotionEvent
+{
+    Uint32 type;        /**< ::SDL_MOUSEMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with mouse focus, if any */
+    Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
+    Uint32 state;       /**< The current button state */
+    Sint32 x;           /**< X coordinate, relative to window */
+    Sint32 y;           /**< Y coordinate, relative to window */
+    Sint32 xrel;        /**< The relative motion in the X direction */
+    Sint32 yrel;        /**< The relative motion in the Y direction */
+} SDL_MouseMotionEvent;
+
+/**
+ *  \brief Mouse button event structure (event.button.*)
+ */
+typedef struct SDL_MouseButtonEvent
+{
+    Uint32 type;        /**< ::SDL_MOUSEBUTTONDOWN or ::SDL_MOUSEBUTTONUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with mouse focus, if any */
+    Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
+    Uint8 button;       /**< The mouse button index */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 clicks;       /**< 1 for single-click, 2 for double-click, etc. */
+    Uint8 padding1;
+    Sint32 x;           /**< X coordinate, relative to window */
+    Sint32 y;           /**< Y coordinate, relative to window */
+} SDL_MouseButtonEvent;
+
+/**
+ *  \brief Mouse wheel event structure (event.wheel.*)
+ */
+typedef struct SDL_MouseWheelEvent
+{
+    Uint32 type;        /**< ::SDL_MOUSEWHEEL */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The window with mouse focus, if any */
+    Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
+    Sint32 x;           /**< The amount scrolled horizontally, positive to the right and negative to the left */
+    Sint32 y;           /**< The amount scrolled vertically, positive away from the user and negative toward the user */
+    Uint32 direction;   /**< Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back */
+} SDL_MouseWheelEvent;
+
+/**
+ *  \brief Joystick axis motion event structure (event.jaxis.*)
+ */
+typedef struct SDL_JoyAxisEvent
+{
+    Uint32 type;        /**< ::SDL_JOYAXISMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 axis;         /**< The joystick axis index */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint16 value;       /**< The axis value (range: -32768 to 32767) */
+    Uint16 padding4;
+} SDL_JoyAxisEvent;
+
+/**
+ *  \brief Joystick trackball motion event structure (event.jball.*)
+ */
+typedef struct SDL_JoyBallEvent
+{
+    Uint32 type;        /**< ::SDL_JOYBALLMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 ball;         /**< The joystick trackball index */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint16 xrel;        /**< The relative motion in the X direction */
+    Sint16 yrel;        /**< The relative motion in the Y direction */
+} SDL_JoyBallEvent;
+
+/**
+ *  \brief Joystick hat position change event structure (event.jhat.*)
+ */
+typedef struct SDL_JoyHatEvent
+{
+    Uint32 type;        /**< ::SDL_JOYHATMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 hat;          /**< The joystick hat index */
+    Uint8 value;        /**< The hat position value.
+                         *   \sa ::SDL_HAT_LEFTUP ::SDL_HAT_UP ::SDL_HAT_RIGHTUP
+                         *   \sa ::SDL_HAT_LEFT ::SDL_HAT_CENTERED ::SDL_HAT_RIGHT
+                         *   \sa ::SDL_HAT_LEFTDOWN ::SDL_HAT_DOWN ::SDL_HAT_RIGHTDOWN
+                         *
+                         *   Note that zero means the POV is centered.
+                         */
+    Uint8 padding1;
+    Uint8 padding2;
+} SDL_JoyHatEvent;
+
+/**
+ *  \brief Joystick button event structure (event.jbutton.*)
+ */
+typedef struct SDL_JoyButtonEvent
+{
+    Uint32 type;        /**< ::SDL_JOYBUTTONDOWN or ::SDL_JOYBUTTONUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 button;       /**< The joystick button index */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 padding1;
+    Uint8 padding2;
+} SDL_JoyButtonEvent;
+
+/**
+ *  \brief Joystick device event structure (event.jdevice.*)
+ */
+typedef struct SDL_JoyDeviceEvent
+{
+    Uint32 type;        /**< ::SDL_JOYDEVICEADDED or ::SDL_JOYDEVICEREMOVED */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Sint32 which;       /**< The joystick device index for the ADDED event, instance id for the REMOVED event */
+} SDL_JoyDeviceEvent;
+
+
+/**
+ *  \brief Game controller axis motion event structure (event.caxis.*)
+ */
+typedef struct SDL_ControllerAxisEvent
+{
+    Uint32 type;        /**< ::SDL_CONTROLLERAXISMOTION */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 axis;         /**< The controller axis (SDL_GameControllerAxis) */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+    Sint16 value;       /**< The axis value (range: -32768 to 32767) */
+    Uint16 padding4;
+} SDL_ControllerAxisEvent;
+
+
+/**
+ *  \brief Game controller button event structure (event.cbutton.*)
+ */
+typedef struct SDL_ControllerButtonEvent
+{
+    Uint32 type;        /**< ::SDL_CONTROLLERBUTTONDOWN or ::SDL_CONTROLLERBUTTONUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_JoystickID which; /**< The joystick instance id */
+    Uint8 button;       /**< The controller button (SDL_GameControllerButton) */
+    Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
+    Uint8 padding1;
+    Uint8 padding2;
+} SDL_ControllerButtonEvent;
+
+
+/**
+ *  \brief Controller device event structure (event.cdevice.*)
+ */
+typedef struct SDL_ControllerDeviceEvent
+{
+    Uint32 type;        /**< ::SDL_CONTROLLERDEVICEADDED, ::SDL_CONTROLLERDEVICEREMOVED, or ::SDL_CONTROLLERDEVICEREMAPPED */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Sint32 which;       /**< The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event */
+} SDL_ControllerDeviceEvent;
+
+/**
+ *  \brief Audio device event structure (event.adevice.*)
+ */
+typedef struct SDL_AudioDeviceEvent
+{
+    Uint32 type;        /**< ::SDL_AUDIODEVICEADDED, or ::SDL_AUDIODEVICEREMOVED */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 which;       /**< The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event */
+    Uint8 iscapture;    /**< zero if an output device, non-zero if a capture device. */
+    Uint8 padding1;
+    Uint8 padding2;
+    Uint8 padding3;
+} SDL_AudioDeviceEvent;
+
+
+/**
+ *  \brief Touch finger event structure (event.tfinger.*)
+ */
+typedef struct SDL_TouchFingerEvent
+{
+    Uint32 type;        /**< ::SDL_FINGERMOTION or ::SDL_FINGERDOWN or ::SDL_FINGERUP */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_TouchID touchId; /**< The touch device id */
+    SDL_FingerID fingerId;
+    float x;            /**< Normalized in the range 0...1 */
+    float y;            /**< Normalized in the range 0...1 */
+    float dx;           /**< Normalized in the range -1...1 */
+    float dy;           /**< Normalized in the range -1...1 */
+    float pressure;     /**< Normalized in the range 0...1 */
+} SDL_TouchFingerEvent;
+
+
+/**
+ *  \brief Multiple Finger Gesture Event (event.mgesture.*)
+ */
+typedef struct SDL_MultiGestureEvent
+{
+    Uint32 type;        /**< ::SDL_MULTIGESTURE */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_TouchID touchId; /**< The touch device id */
+    float dTheta;
+    float dDist;
+    float x;
+    float y;
+    Uint16 numFingers;
+    Uint16 padding;
+} SDL_MultiGestureEvent;
+
+
+/**
+ * \brief Dollar Gesture Event (event.dgesture.*)
+ */
+typedef struct SDL_DollarGestureEvent
+{
+    Uint32 type;        /**< ::SDL_DOLLARGESTURE or ::SDL_DOLLARRECORD */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_TouchID touchId; /**< The touch device id */
+    SDL_GestureID gestureId;
+    Uint32 numFingers;
+    float error;
+    float x;            /**< Normalized center of gesture */
+    float y;            /**< Normalized center of gesture */
+} SDL_DollarGestureEvent;
+
+
+/**
+ *  \brief An event used to request a file open by the system (event.drop.*)
+ *         This event is enabled by default, you can disable it with SDL_EventState().
+ *  \note If this event is enabled, you must free the filename in the event.
+ */
+typedef struct SDL_DropEvent
+{
+    Uint32 type;        /**< ::SDL_DROPBEGIN or ::SDL_DROPFILE or ::SDL_DROPTEXT or ::SDL_DROPCOMPLETE */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    char *file;         /**< The file name, which should be freed with SDL_free(), is NULL on begin/complete */
+    Uint32 windowID;    /**< The window that was dropped on, if any */
+} SDL_DropEvent;
+
+
+/**
+ *  \brief Sensor event structure (event.sensor.*)
+ */
+typedef struct SDL_SensorEvent
+{
+    Uint32 type;        /**< ::SDL_SENSORUPDATE */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Sint32 which;       /**< The instance ID of the sensor */
+    float data[6];      /**< Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData() */
+} SDL_SensorEvent;
+
+/**
+ *  \brief The "quit requested" event
+ */
+typedef struct SDL_QuitEvent
+{
+    Uint32 type;        /**< ::SDL_QUIT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+} SDL_QuitEvent;
+
+/**
+ *  \brief OS Specific event
+ */
+typedef struct SDL_OSEvent
+{
+    Uint32 type;        /**< ::SDL_QUIT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+} SDL_OSEvent;
+
+/**
+ *  \brief A user-defined event type (event.user.*)
+ */
+typedef struct SDL_UserEvent
+{
+    Uint32 type;        /**< ::SDL_USEREVENT through ::SDL_LASTEVENT-1 */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    Uint32 windowID;    /**< The associated window if any */
+    Sint32 code;        /**< User defined event code */
+    void *data1;        /**< User defined data pointer */
+    void *data2;        /**< User defined data pointer */
+} SDL_UserEvent;
+
+
+struct SDL_SysWMmsg;
+typedef struct SDL_SysWMmsg SDL_SysWMmsg;
+
+/**
+ *  \brief A video driver dependent system event (event.syswm.*)
+ *         This event is disabled by default, you can enable it with SDL_EventState()
+ *
+ *  \note If you want to use this event, you should include SDL_syswm.h.
+ */
+typedef struct SDL_SysWMEvent
+{
+    Uint32 type;        /**< ::SDL_SYSWMEVENT */
+    Uint32 timestamp;   /**< In milliseconds, populated using SDL_GetTicks() */
+    SDL_SysWMmsg *msg;  /**< driver dependent data, defined in SDL_syswm.h */
+} SDL_SysWMEvent;
+
+/**
+ *  \brief General event structure
+ */
+typedef union SDL_Event
+{
+    Uint32 type;                    /**< Event type, shared with all events */
+    SDL_CommonEvent common;         /**< Common event data */
+    SDL_DisplayEvent display;       /**< Window event data */
+    SDL_WindowEvent window;         /**< Window event data */
+    SDL_KeyboardEvent key;          /**< Keyboard event data */
+    SDL_TextEditingEvent edit;      /**< Text editing event data */
+    SDL_TextInputEvent text;        /**< Text input event data */
+    SDL_MouseMotionEvent motion;    /**< Mouse motion event data */
+    SDL_MouseButtonEvent button;    /**< Mouse button event data */
+    SDL_MouseWheelEvent wheel;      /**< Mouse wheel event data */
+    SDL_JoyAxisEvent jaxis;         /**< Joystick axis event data */
+    SDL_JoyBallEvent jball;         /**< Joystick ball event data */
+    SDL_JoyHatEvent jhat;           /**< Joystick hat event data */
+    SDL_JoyButtonEvent jbutton;     /**< Joystick button event data */
+    SDL_JoyDeviceEvent jdevice;     /**< Joystick device change event data */
+    SDL_ControllerAxisEvent caxis;      /**< Game Controller axis event data */
+    SDL_ControllerButtonEvent cbutton;  /**< Game Controller button event data */
+    SDL_ControllerDeviceEvent cdevice;  /**< Game Controller device event data */
+    SDL_AudioDeviceEvent adevice;   /**< Audio device event data */
+    SDL_SensorEvent sensor;         /**< Sensor event data */
+    SDL_QuitEvent quit;             /**< Quit request event data */
+    SDL_UserEvent user;             /**< Custom event data */
+    SDL_SysWMEvent syswm;           /**< System dependent window event data */
+    SDL_TouchFingerEvent tfinger;   /**< Touch finger event data */
+    SDL_MultiGestureEvent mgesture; /**< Gesture event data */
+    SDL_DollarGestureEvent dgesture; /**< Gesture event data */
+    SDL_DropEvent drop;             /**< Drag and drop event data */
+
+    /* This is necessary for ABI compatibility between Visual C++ and GCC
+       Visual C++ will respect the push pack pragma and use 52 bytes for
+       this structure, and GCC will use the alignment of the largest datatype
+       within the union, which is 8 bytes.
+
+       So... we'll add padding to force the size to be 56 bytes for both.
+    */
+    Uint8 padding[56];
+} SDL_Event;
+
+/* Make sure we haven't broken binary compatibility */
+SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event) == 56);
+
+
+/* Function prototypes */
+
+/**
+ *  Pumps the event loop, gathering events from the input devices.
+ *
+ *  This function updates the event queue and internal input device state.
+ *
+ *  This should only be run in the thread that sets the video mode.
+ */
+extern DECLSPEC void SDLCALL SDL_PumpEvents(void);
+
+/* @{ */
+typedef enum
+{
+    SDL_ADDEVENT,
+    SDL_PEEKEVENT,
+    SDL_GETEVENT
+} SDL_eventaction;
+
+/**
+ *  Checks the event queue for messages and optionally returns them.
+ *
+ *  If \c action is ::SDL_ADDEVENT, up to \c numevents events will be added to
+ *  the back of the event queue.
+ *
+ *  If \c action is ::SDL_PEEKEVENT, up to \c numevents events at the front
+ *  of the event queue, within the specified minimum and maximum type,
+ *  will be returned and will not be removed from the queue.
+ *
+ *  If \c action is ::SDL_GETEVENT, up to \c numevents events at the front
+ *  of the event queue, within the specified minimum and maximum type,
+ *  will be returned and will be removed from the queue.
+ *
+ *  \return The number of events actually stored, or -1 if there was an error.
+ *
+ *  This function is thread-safe.
+ */
+extern DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event * events, int numevents,
+                                           SDL_eventaction action,
+                                           Uint32 minType, Uint32 maxType);
+/* @} */
+
+/**
+ *  Checks to see if certain event types are in the event queue.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasEvent(Uint32 type);
+extern DECLSPEC SDL_bool SDLCALL SDL_HasEvents(Uint32 minType, Uint32 maxType);
+
+/**
+ *  This function clears events from the event queue
+ *  This function only affects currently queued events. If you want to make
+ *  sure that all pending OS events are flushed, you can call SDL_PumpEvents()
+ *  on the main thread immediately before the flush call.
+ */
+extern DECLSPEC void SDLCALL SDL_FlushEvent(Uint32 type);
+extern DECLSPEC void SDLCALL SDL_FlushEvents(Uint32 minType, Uint32 maxType);
+
+/**
+ *  \brief Polls for currently pending events.
+ *
+ *  \return 1 if there are any pending events, or 0 if there are none available.
+ *
+ *  \param event If not NULL, the next event is removed from the queue and
+ *               stored in that area.
+ */
+extern DECLSPEC int SDLCALL SDL_PollEvent(SDL_Event * event);
+
+/**
+ *  \brief Waits indefinitely for the next available event.
+ *
+ *  \return 1, or 0 if there was an error while waiting for events.
+ *
+ *  \param event If not NULL, the next event is removed from the queue and
+ *               stored in that area.
+ */
+extern DECLSPEC int SDLCALL SDL_WaitEvent(SDL_Event * event);
+
+/**
+ *  \brief Waits until the specified timeout (in milliseconds) for the next
+ *         available event.
+ *
+ *  \return 1, or 0 if there was an error while waiting for events.
+ *
+ *  \param event If not NULL, the next event is removed from the queue and
+ *               stored in that area.
+ *  \param timeout The timeout (in milliseconds) to wait for next event.
+ */
+extern DECLSPEC int SDLCALL SDL_WaitEventTimeout(SDL_Event * event,
+                                                 int timeout);
+
+/**
+ *  \brief Add an event to the event queue.
+ *
+ *  \return 1 on success, 0 if the event was filtered, or -1 if the event queue
+ *          was full or there was some other error.
+ */
+extern DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event * event);
+
+typedef int (SDLCALL * SDL_EventFilter) (void *userdata, SDL_Event * event);
+
+/**
+ *  Sets up a filter to process all events before they change internal state and
+ *  are posted to the internal event queue.
+ *
+ *  The filter is prototyped as:
+ *  \code
+ *      int SDL_EventFilter(void *userdata, SDL_Event * event);
+ *  \endcode
+ *
+ *  If the filter returns 1, then the event will be added to the internal queue.
+ *  If it returns 0, then the event will be dropped from the queue, but the
+ *  internal state will still be updated.  This allows selective filtering of
+ *  dynamically arriving events.
+ *
+ *  \warning  Be very careful of what you do in the event filter function, as
+ *            it may run in a different thread!
+ *
+ *  There is one caveat when dealing with the ::SDL_QuitEvent event type.  The
+ *  event filter is only called when the window manager desires to close the
+ *  application window.  If the event filter returns 1, then the window will
+ *  be closed, otherwise the window will remain open if possible.
+ *
+ *  If the quit event is generated by an interrupt signal, it will bypass the
+ *  internal queue and be delivered to the application at the next event poll.
+ */
+extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter,
+                                                void *userdata);
+
+/**
+ *  Return the current event filter - can be used to "chain" filters.
+ *  If there is no event filter set, this function returns SDL_FALSE.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetEventFilter(SDL_EventFilter * filter,
+                                                    void **userdata);
+
+/**
+ *  Add a function which is called when an event is added to the queue.
+ */
+extern DECLSPEC void SDLCALL SDL_AddEventWatch(SDL_EventFilter filter,
+                                               void *userdata);
+
+/**
+ *  Remove an event watch function added with SDL_AddEventWatch()
+ */
+extern DECLSPEC void SDLCALL SDL_DelEventWatch(SDL_EventFilter filter,
+                                               void *userdata);
+
+/**
+ *  Run the filter function on the current event queue, removing any
+ *  events for which the filter returns 0.
+ */
+extern DECLSPEC void SDLCALL SDL_FilterEvents(SDL_EventFilter filter,
+                                              void *userdata);
+
+/* @{ */
+#define SDL_QUERY   -1
+#define SDL_IGNORE   0
+#define SDL_DISABLE  0
+#define SDL_ENABLE   1
+
+/**
+ *  This function allows you to set the state of processing certain events.
+ *   - If \c state is set to ::SDL_IGNORE, that event will be automatically
+ *     dropped from the event queue and will not be filtered.
+ *   - If \c state is set to ::SDL_ENABLE, that event will be processed
+ *     normally.
+ *   - If \c state is set to ::SDL_QUERY, SDL_EventState() will return the
+ *     current processing state of the specified event.
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_EventState(Uint32 type, int state);
+/* @} */
+#define SDL_GetEventState(type) SDL_EventState(type, SDL_QUERY)
+
+/**
+ *  This function allocates a set of user-defined events, and returns
+ *  the beginning event number for that set of events.
+ *
+ *  If there aren't enough user-defined events left, this function
+ *  returns (Uint32)-1
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_events_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_filesystem.h
@@ -1,0 +1,136 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_filesystem.h
+ *
+ *  \brief Include file for filesystem SDL API functions
+ */
+
+#ifndef SDL_filesystem_h_
+#define SDL_filesystem_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Get the path where the application resides.
+ *
+ * Get the "base path". This is the directory where the application was run
+ *  from, which is probably the installation directory, and may or may not
+ *  be the process's current working directory.
+ *
+ * This returns an absolute path in UTF-8 encoding, and is guaranteed to
+ *  end with a path separator ('\\' on Windows, '/' most other places).
+ *
+ * The pointer returned by this function is owned by you. Please call
+ *  SDL_free() on the pointer when you are done with it, or it will be a
+ *  memory leak. This is not necessarily a fast call, though, so you should
+ *  call this once near startup and save the string if you need it.
+ *
+ * Some platforms can't determine the application's path, and on other
+ *  platforms, this might be meaningless. In such cases, this function will
+ *  return NULL.
+ *
+ *  \return String of base dir in UTF-8 encoding, or NULL on error.
+ *
+ * \sa SDL_GetPrefPath
+ */
+extern DECLSPEC char *SDLCALL SDL_GetBasePath(void);
+
+/**
+ * \brief Get the user-and-app-specific path where files can be written.
+ *
+ * Get the "pref dir". This is meant to be where users can write personal
+ *  files (preferences and save games, etc) that are specific to your
+ *  application. This directory is unique per user, per application.
+ *
+ * This function will decide the appropriate location in the native filesystem,
+ *  create the directory if necessary, and return a string of the absolute
+ *  path to the directory in UTF-8 encoding.
+ *
+ * On Windows, the string might look like:
+ *  "C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\"
+ *
+ * On Linux, the string might look like:
+ *  "/home/bob/.local/share/My Program Name/"
+ *
+ * On Mac OS X, the string might look like:
+ *  "/Users/bob/Library/Application Support/My Program Name/"
+ *
+ * (etc.)
+ *
+ * You specify the name of your organization (if it's not a real organization,
+ *  your name or an Internet domain you own might do) and the name of your
+ *  application. These should be untranslated proper names.
+ *
+ * Both the org and app strings may become part of a directory name, so
+ *  please follow these rules:
+ *
+ *    - Try to use the same org string (including case-sensitivity) for
+ *      all your applications that use this function.
+ *    - Always use a unique app string for each one, and make sure it never
+ *      changes for an app once you've decided on it.
+ *    - Unicode characters are legal, as long as it's UTF-8 encoded, but...
+ *    - ...only use letters, numbers, and spaces. Avoid punctuation like
+ *      "Game Name 2: Bad Guy's Revenge!" ... "Game Name 2" is sufficient.
+ *
+ * This returns an absolute path in UTF-8 encoding, and is guaranteed to
+ *  end with a path separator ('\\' on Windows, '/' most other places).
+ *
+ * The pointer returned by this function is owned by you. Please call
+ *  SDL_free() on the pointer when you are done with it, or it will be a
+ *  memory leak. This is not necessarily a fast call, though, so you should
+ *  call this once near startup and save the string if you need it.
+ *
+ * You should assume the path returned by this function is the only safe
+ *  place to write files (and that SDL_GetBasePath(), while it might be
+ *  writable, or even the parent of the returned path, aren't where you
+ *  should be writing things).
+ *
+ * Some platforms can't determine the pref path, and on other
+ *  platforms, this might be meaningless. In such cases, this function will
+ *  return NULL.
+ *
+ *   \param org The name of your organization.
+ *   \param app The name of your application.
+ *  \return UTF-8 string of user dir in platform-dependent notation. NULL
+ *          if there's a problem (creating directory failed, etc).
+ *
+ * \sa SDL_GetBasePath
+ */
+extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_filesystem_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_gamecontroller.h
@@ -1,0 +1,390 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_gamecontroller.h
+ *
+ *  Include file for SDL game controller event handling
+ */
+
+#ifndef SDL_gamecontroller_h_
+#define SDL_gamecontroller_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_rwops.h"
+#include "SDL_joystick.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_gamecontroller.h
+ *
+ *  In order to use these functions, SDL_Init() must have been called
+ *  with the ::SDL_INIT_GAMECONTROLLER flag.  This causes SDL to scan the system
+ *  for game controllers, and load appropriate drivers.
+ *
+ *  If you would like to receive controller updates while the application
+ *  is in the background, you should set the following hint before calling
+ *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
+ */
+
+/**
+ * The gamecontroller structure used to identify an SDL game controller
+ */
+struct _SDL_GameController;
+typedef struct _SDL_GameController SDL_GameController;
+
+
+typedef enum
+{
+    SDL_CONTROLLER_BINDTYPE_NONE = 0,
+    SDL_CONTROLLER_BINDTYPE_BUTTON,
+    SDL_CONTROLLER_BINDTYPE_AXIS,
+    SDL_CONTROLLER_BINDTYPE_HAT
+} SDL_GameControllerBindType;
+
+/**
+ *  Get the SDL joystick layer binding for this controller button/axis mapping
+ */
+typedef struct SDL_GameControllerButtonBind
+{
+    SDL_GameControllerBindType bindType;
+    union
+    {
+        int button;
+        int axis;
+        struct {
+            int hat;
+            int hat_mask;
+        } hat;
+    } value;
+
+} SDL_GameControllerButtonBind;
+
+
+/**
+ *  To count the number of game controllers in the system for the following:
+ *  int nJoysticks = SDL_NumJoysticks();
+ *  int nGameControllers = 0;
+ *  for (int i = 0; i < nJoysticks; i++) {
+ *      if (SDL_IsGameController(i)) {
+ *          nGameControllers++;
+ *      }
+ *  }
+ *
+ *  Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping() you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
+ *  guid,name,mappings
+ *
+ *  Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
+ *  Under Windows there is a reserved GUID of "xinput" that covers any XInput devices.
+ *  The mapping format for joystick is:
+ *      bX - a joystick button, index X
+ *      hX.Y - hat X with value Y
+ *      aX - axis X of the joystick
+ *  Buttons can be used as a controller axis and vice versa.
+ *
+ *  This string shows an example of a valid mapping for a controller
+ *  "03000000341a00003608000000000000,PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
+ *
+ */
+
+/**
+ *  Load a set of mappings from a seekable SDL data stream (memory or file), filtered by the current SDL_GetPlatform()
+ *  A community sourced database of controllers is available at https://raw.github.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
+ *
+ *  If \c freerw is non-zero, the stream will be closed after being read.
+ * 
+ * \return number of mappings added, -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerAddMappingsFromRW(SDL_RWops * rw, int freerw);
+
+/**
+ *  Load a set of mappings from a file, filtered by the current SDL_GetPlatform()
+ *
+ *  Convenience macro.
+ */
+#define SDL_GameControllerAddMappingsFromFile(file)   SDL_GameControllerAddMappingsFromRW(SDL_RWFromFile(file, "rb"), 1)
+
+/**
+ *  Add or update an existing mapping configuration
+ *
+ * \return 1 if mapping is added, 0 if updated, -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerAddMapping(const char* mappingString);
+
+/**
+ *  Get the number of mappings installed
+ *
+ *  \return the number of mappings
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings(void);
+
+/**
+ *  Get the mapping at a particular index.
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if the index is out of range.
+ */
+extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForIndex(int mapping_index);
+
+/**
+ *  Get a mapping string for a GUID
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if no mapping is available
+ */
+extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForGUID(SDL_JoystickGUID guid);
+
+/**
+ *  Get a mapping string for an open GameController
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if no mapping is available
+ */
+extern DECLSPEC char * SDLCALL SDL_GameControllerMapping(SDL_GameController * gamecontroller);
+
+/**
+ *  Is the joystick on this index supported by the game controller interface?
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index);
+
+/**
+ *  Get the implementation dependent name of a game controller.
+ *  This can be called before any controllers are opened.
+ *  If no name can be found, this function returns NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);
+
+/**
+ *  Get the mapping of a game controller.
+ *  This can be called before any controllers are opened.
+ *
+ *  \return the mapping string.  Must be freed with SDL_free().  Returns NULL if no mapping is available
+ */
+extern DECLSPEC char *SDLCALL SDL_GameControllerMappingForDeviceIndex(int joystick_index);
+
+/**
+ *  Open a game controller for use.
+ *  The index passed as an argument refers to the N'th game controller on the system.
+ *  This index is not the value which will identify this controller in future
+ *  controller events.  The joystick's instance id (::SDL_JoystickID) will be
+ *  used there instead.
+ *
+ *  \return A controller identifier, or NULL if an error occurred.
+ */
+extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerOpen(int joystick_index);
+
+/**
+ * Return the SDL_GameController associated with an instance id.
+ */
+extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerFromInstanceID(SDL_JoystickID joyid);
+
+/**
+ *  Return the name for this currently opened controller
+ */
+extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);
+
+/**
+ *  Get the player index of an opened game controller, or -1 if it's not available
+ *
+ *  For XInput controllers this returns the XInput user index.
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerGetPlayerIndex(SDL_GameController *gamecontroller);
+
+/**
+ *  Get the USB vendor ID of an opened controller, if available.
+ *  If the vendor ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetVendor(SDL_GameController * gamecontroller);
+
+/**
+ *  Get the USB product ID of an opened controller, if available.
+ *  If the product ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProduct(SDL_GameController * gamecontroller);
+
+/**
+ *  Get the product version of an opened controller, if available.
+ *  If the product version isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController * gamecontroller);
+
+/**
+ *  Returns SDL_TRUE if the controller has been opened and currently connected,
+ *  or SDL_FALSE if it has not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GameControllerGetAttached(SDL_GameController *gamecontroller);
+
+/**
+ *  Get the underlying joystick object used by a controller
+ */
+extern DECLSPEC SDL_Joystick *SDLCALL SDL_GameControllerGetJoystick(SDL_GameController *gamecontroller);
+
+/**
+ *  Enable/disable controller event polling.
+ *
+ *  If controller events are disabled, you must call SDL_GameControllerUpdate()
+ *  yourself and check the state of the controller when you want controller
+ *  information.
+ *
+ *  The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE.
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerEventState(int state);
+
+/**
+ *  Update the current state of the open game controllers.
+ *
+ *  This is called automatically by the event loop if any game controller
+ *  events are enabled.
+ */
+extern DECLSPEC void SDLCALL SDL_GameControllerUpdate(void);
+
+
+/**
+ *  The list of axes available from a controller
+ *
+ *  Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX,
+ *  and are centered within ~8000 of zero, though advanced UI will allow users to set
+ *  or autodetect the dead zone, which varies between controllers.
+ *
+ *  Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX.
+ */
+typedef enum
+{
+    SDL_CONTROLLER_AXIS_INVALID = -1,
+    SDL_CONTROLLER_AXIS_LEFTX,
+    SDL_CONTROLLER_AXIS_LEFTY,
+    SDL_CONTROLLER_AXIS_RIGHTX,
+    SDL_CONTROLLER_AXIS_RIGHTY,
+    SDL_CONTROLLER_AXIS_TRIGGERLEFT,
+    SDL_CONTROLLER_AXIS_TRIGGERRIGHT,
+    SDL_CONTROLLER_AXIS_MAX
+} SDL_GameControllerAxis;
+
+/**
+ *  turn this string into a axis mapping
+ */
+extern DECLSPEC SDL_GameControllerAxis SDLCALL SDL_GameControllerGetAxisFromString(const char *pchString);
+
+/**
+ *  turn this axis enum into a string mapping
+ */
+extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis);
+
+/**
+ *  Get the SDL joystick layer binding for this controller button mapping
+ */
+extern DECLSPEC SDL_GameControllerButtonBind SDLCALL
+SDL_GameControllerGetBindForAxis(SDL_GameController *gamecontroller,
+                                 SDL_GameControllerAxis axis);
+
+/**
+ *  Get the current state of an axis control on a game controller.
+ *
+ *  The state is a value ranging from -32768 to 32767 (except for the triggers,
+ *  which range from 0 to 32767).
+ *
+ *  The axis indices start at index 0.
+ */
+extern DECLSPEC Sint16 SDLCALL
+SDL_GameControllerGetAxis(SDL_GameController *gamecontroller,
+                          SDL_GameControllerAxis axis);
+
+/**
+ *  The list of buttons available from a controller
+ */
+typedef enum
+{
+    SDL_CONTROLLER_BUTTON_INVALID = -1,
+    SDL_CONTROLLER_BUTTON_A,
+    SDL_CONTROLLER_BUTTON_B,
+    SDL_CONTROLLER_BUTTON_X,
+    SDL_CONTROLLER_BUTTON_Y,
+    SDL_CONTROLLER_BUTTON_BACK,
+    SDL_CONTROLLER_BUTTON_GUIDE,
+    SDL_CONTROLLER_BUTTON_START,
+    SDL_CONTROLLER_BUTTON_LEFTSTICK,
+    SDL_CONTROLLER_BUTTON_RIGHTSTICK,
+    SDL_CONTROLLER_BUTTON_LEFTSHOULDER,
+    SDL_CONTROLLER_BUTTON_RIGHTSHOULDER,
+    SDL_CONTROLLER_BUTTON_DPAD_UP,
+    SDL_CONTROLLER_BUTTON_DPAD_DOWN,
+    SDL_CONTROLLER_BUTTON_DPAD_LEFT,
+    SDL_CONTROLLER_BUTTON_DPAD_RIGHT,
+    SDL_CONTROLLER_BUTTON_MAX
+} SDL_GameControllerButton;
+
+/**
+ *  turn this string into a button mapping
+ */
+extern DECLSPEC SDL_GameControllerButton SDLCALL SDL_GameControllerGetButtonFromString(const char *pchString);
+
+/**
+ *  turn this button enum into a string mapping
+ */
+extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForButton(SDL_GameControllerButton button);
+
+/**
+ *  Get the SDL joystick layer binding for this controller button mapping
+ */
+extern DECLSPEC SDL_GameControllerButtonBind SDLCALL
+SDL_GameControllerGetBindForButton(SDL_GameController *gamecontroller,
+                                   SDL_GameControllerButton button);
+
+
+/**
+ *  Get the current state of a button on a game controller.
+ *
+ *  The button indices start at index 0.
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_GameControllerGetButton(SDL_GameController *gamecontroller,
+                                                          SDL_GameControllerButton button);
+
+/**
+ *  Trigger a rumble effect
+ *  Each call to this function cancels any previous rumble effect, and calling it with 0 intensity stops any rumbling.
+ *
+ *  \param gamecontroller The controller to vibrate
+ *  \param low_frequency_rumble The intensity of the low frequency (left) rumble motor, from 0 to 0xFFFF
+ *  \param high_frequency_rumble The intensity of the high frequency (right) rumble motor, from 0 to 0xFFFF
+ *  \param duration_ms The duration of the rumble effect, in milliseconds
+ *
+ *  \return 0, or -1 if rumble isn't supported on this joystick
+ */
+extern DECLSPEC int SDLCALL SDL_GameControllerRumble(SDL_GameController *gamecontroller, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms);
+
+/**
+ *  Close a controller previously opened with SDL_GameControllerOpen().
+ */
+extern DECLSPEC void SDLCALL SDL_GameControllerClose(SDL_GameController *gamecontroller);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_gamecontroller_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_gesture.h
@@ -1,0 +1,87 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_gesture.h
+ *
+ *  Include file for SDL gesture event handling.
+ */
+
+#ifndef SDL_gesture_h_
+#define SDL_gesture_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+
+#include "SDL_touch.h"
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef Sint64 SDL_GestureID;
+
+/* Function prototypes */
+
+/**
+ *  \brief Begin Recording a gesture on the specified touch, or all touches (-1)
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId);
+
+
+/**
+ *  \brief Save all currently loaded Dollar Gesture templates
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *dst);
+
+/**
+ *  \brief Save a currently loaded Dollar Gesture template
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *dst);
+
+
+/**
+ *  \brief Load Dollar Gesture templates from a file
+ *
+ *
+ */
+extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_gesture_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_haptic.h
@@ -1,0 +1,1238 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_haptic.h
+ *
+ *  \brief The SDL haptic subsystem allows you to control haptic (force feedback)
+ *         devices.
+ *
+ *  The basic usage is as follows:
+ *   - Initialize the subsystem (::SDL_INIT_HAPTIC).
+ *   - Open a haptic device.
+ *    - SDL_HapticOpen() to open from index.
+ *    - SDL_HapticOpenFromJoystick() to open from an existing joystick.
+ *   - Create an effect (::SDL_HapticEffect).
+ *   - Upload the effect with SDL_HapticNewEffect().
+ *   - Run the effect with SDL_HapticRunEffect().
+ *   - (optional) Free the effect with SDL_HapticDestroyEffect().
+ *   - Close the haptic device with SDL_HapticClose().
+ *
+ * \par Simple rumble example:
+ * \code
+ *    SDL_Haptic *haptic;
+ *
+ *    // Open the device
+ *    haptic = SDL_HapticOpen( 0 );
+ *    if (haptic == NULL)
+ *       return -1;
+ *
+ *    // Initialize simple rumble
+ *    if (SDL_HapticRumbleInit( haptic ) != 0)
+ *       return -1;
+ *
+ *    // Play effect at 50% strength for 2 seconds
+ *    if (SDL_HapticRumblePlay( haptic, 0.5, 2000 ) != 0)
+ *       return -1;
+ *    SDL_Delay( 2000 );
+ *
+ *    // Clean up
+ *    SDL_HapticClose( haptic );
+ * \endcode
+ *
+ * \par Complete example:
+ * \code
+ * int test_haptic( SDL_Joystick * joystick ) {
+ *    SDL_Haptic *haptic;
+ *    SDL_HapticEffect effect;
+ *    int effect_id;
+ *
+ *    // Open the device
+ *    haptic = SDL_HapticOpenFromJoystick( joystick );
+ *    if (haptic == NULL) return -1; // Most likely joystick isn't haptic
+ *
+ *    // See if it can do sine waves
+ *    if ((SDL_HapticQuery(haptic) & SDL_HAPTIC_SINE)==0) {
+ *       SDL_HapticClose(haptic); // No sine effect
+ *       return -1;
+ *    }
+ *
+ *    // Create the effect
+ *    memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
+ *    effect.type = SDL_HAPTIC_SINE;
+ *    effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates
+ *    effect.periodic.direction.dir[0] = 18000; // Force comes from south
+ *    effect.periodic.period = 1000; // 1000 ms
+ *    effect.periodic.magnitude = 20000; // 20000/32767 strength
+ *    effect.periodic.length = 5000; // 5 seconds long
+ *    effect.periodic.attack_length = 1000; // Takes 1 second to get max strength
+ *    effect.periodic.fade_length = 1000; // Takes 1 second to fade away
+ *
+ *    // Upload the effect
+ *    effect_id = SDL_HapticNewEffect( haptic, &effect );
+ *
+ *    // Test the effect
+ *    SDL_HapticRunEffect( haptic, effect_id, 1 );
+ *    SDL_Delay( 5000); // Wait for the effect to finish
+ *
+ *    // We destroy the effect, although closing the device also does this
+ *    SDL_HapticDestroyEffect( haptic, effect_id );
+ *
+ *    // Close the device
+ *    SDL_HapticClose(haptic);
+ *
+ *    return 0; // Success
+ * }
+ * \endcode
+ */
+
+#ifndef SDL_haptic_h_
+#define SDL_haptic_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_joystick.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/* FIXME: For SDL 2.1, adjust all the magnitude variables to be Uint16 (0xFFFF).
+ *
+ * At the moment the magnitude variables are mixed between signed/unsigned, and
+ * it is also not made clear that ALL of those variables expect a max of 0x7FFF.
+ *
+ * Some platforms may have higher precision than that (Linux FF, Windows XInput)
+ * so we should fix the inconsistency in favor of higher possible precision,
+ * adjusting for platforms that use different scales.
+ * -flibit
+ */
+
+/**
+ *  \typedef SDL_Haptic
+ *
+ *  \brief The haptic structure used to identify an SDL haptic.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticOpenFromJoystick
+ *  \sa SDL_HapticClose
+ */
+struct _SDL_Haptic;
+typedef struct _SDL_Haptic SDL_Haptic;
+
+
+/**
+ *  \name Haptic features
+ *
+ *  Different haptic features a device can have.
+ */
+/* @{ */
+
+/**
+ *  \name Haptic effects
+ */
+/* @{ */
+
+/**
+ *  \brief Constant effect supported.
+ *
+ *  Constant haptic effect.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_CONSTANT   (1u<<0)
+
+/**
+ *  \brief Sine wave effect supported.
+ *
+ *  Periodic haptic effect that simulates sine waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_SINE       (1u<<1)
+
+/**
+ *  \brief Left/Right effect supported.
+ *
+ *  Haptic effect for direct control over high/low frequency motors.
+ *
+ *  \sa SDL_HapticLeftRight
+ * \warning this value was SDL_HAPTIC_SQUARE right before 2.0.0 shipped. Sorry,
+ *          we ran out of bits, and this is important for XInput devices.
+ */
+#define SDL_HAPTIC_LEFTRIGHT     (1u<<2)
+
+/* !!! FIXME: put this back when we have more bits in 2.1 */
+/* #define SDL_HAPTIC_SQUARE     (1<<2) */
+
+/**
+ *  \brief Triangle wave effect supported.
+ *
+ *  Periodic haptic effect that simulates triangular waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_TRIANGLE   (1u<<3)
+
+/**
+ *  \brief Sawtoothup wave effect supported.
+ *
+ *  Periodic haptic effect that simulates saw tooth up waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_SAWTOOTHUP (1u<<4)
+
+/**
+ *  \brief Sawtoothdown wave effect supported.
+ *
+ *  Periodic haptic effect that simulates saw tooth down waves.
+ *
+ *  \sa SDL_HapticPeriodic
+ */
+#define SDL_HAPTIC_SAWTOOTHDOWN (1u<<5)
+
+/**
+ *  \brief Ramp effect supported.
+ *
+ *  Ramp haptic effect.
+ *
+ *  \sa SDL_HapticRamp
+ */
+#define SDL_HAPTIC_RAMP       (1u<<6)
+
+/**
+ *  \brief Spring effect supported - uses axes position.
+ *
+ *  Condition haptic effect that simulates a spring.  Effect is based on the
+ *  axes position.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_SPRING     (1u<<7)
+
+/**
+ *  \brief Damper effect supported - uses axes velocity.
+ *
+ *  Condition haptic effect that simulates dampening.  Effect is based on the
+ *  axes velocity.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_DAMPER     (1u<<8)
+
+/**
+ *  \brief Inertia effect supported - uses axes acceleration.
+ *
+ *  Condition haptic effect that simulates inertia.  Effect is based on the axes
+ *  acceleration.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_INERTIA    (1u<<9)
+
+/**
+ *  \brief Friction effect supported - uses axes movement.
+ *
+ *  Condition haptic effect that simulates friction.  Effect is based on the
+ *  axes movement.
+ *
+ *  \sa SDL_HapticCondition
+ */
+#define SDL_HAPTIC_FRICTION   (1u<<10)
+
+/**
+ *  \brief Custom effect is supported.
+ *
+ *  User defined custom haptic effect.
+ */
+#define SDL_HAPTIC_CUSTOM     (1u<<11)
+
+/* @} *//* Haptic effects */
+
+/* These last few are features the device has, not effects */
+
+/**
+ *  \brief Device can set global gain.
+ *
+ *  Device supports setting the global gain.
+ *
+ *  \sa SDL_HapticSetGain
+ */
+#define SDL_HAPTIC_GAIN       (1u<<12)
+
+/**
+ *  \brief Device can set autocenter.
+ *
+ *  Device supports setting autocenter.
+ *
+ *  \sa SDL_HapticSetAutocenter
+ */
+#define SDL_HAPTIC_AUTOCENTER (1u<<13)
+
+/**
+ *  \brief Device can be queried for effect status.
+ *
+ *  Device supports querying effect status.
+ *
+ *  \sa SDL_HapticGetEffectStatus
+ */
+#define SDL_HAPTIC_STATUS     (1u<<14)
+
+/**
+ *  \brief Device can be paused.
+ *
+ *  Devices supports being paused.
+ *
+ *  \sa SDL_HapticPause
+ *  \sa SDL_HapticUnpause
+ */
+#define SDL_HAPTIC_PAUSE      (1u<<15)
+
+
+/**
+ * \name Direction encodings
+ */
+/* @{ */
+
+/**
+ *  \brief Uses polar coordinates for the direction.
+ *
+ *  \sa SDL_HapticDirection
+ */
+#define SDL_HAPTIC_POLAR      0
+
+/**
+ *  \brief Uses cartesian coordinates for the direction.
+ *
+ *  \sa SDL_HapticDirection
+ */
+#define SDL_HAPTIC_CARTESIAN  1
+
+/**
+ *  \brief Uses spherical coordinates for the direction.
+ *
+ *  \sa SDL_HapticDirection
+ */
+#define SDL_HAPTIC_SPHERICAL  2
+
+/* @} *//* Direction encodings */
+
+/* @} *//* Haptic features */
+
+/*
+ * Misc defines.
+ */
+
+/**
+ * \brief Used to play a device an infinite number of times.
+ *
+ * \sa SDL_HapticRunEffect
+ */
+#define SDL_HAPTIC_INFINITY   4294967295U
+
+
+/**
+ *  \brief Structure that represents a haptic direction.
+ *
+ *  This is the direction where the force comes from,
+ *  instead of the direction in which the force is exerted.
+ *
+ *  Directions can be specified by:
+ *   - ::SDL_HAPTIC_POLAR : Specified by polar coordinates.
+ *   - ::SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates.
+ *   - ::SDL_HAPTIC_SPHERICAL : Specified by spherical coordinates.
+ *
+ *  Cardinal directions of the haptic device are relative to the positioning
+ *  of the device.  North is considered to be away from the user.
+ *
+ *  The following diagram represents the cardinal directions:
+ *  \verbatim
+                 .--.
+                 |__| .-------.
+                 |=.| |.-----.|
+                 |--| ||     ||
+                 |  | |'-----'|
+                 |__|~')_____('
+                   [ COMPUTER ]
+
+
+                     North (0,-1)
+                         ^
+                         |
+                         |
+   (-1,0)  West <----[ HAPTIC ]----> East (1,0)
+                         |
+                         |
+                         v
+                      South (0,1)
+
+
+                      [ USER ]
+                        \|||/
+                        (o o)
+                  ---ooO-(_)-Ooo---
+    \endverbatim
+ *
+ *  If type is ::SDL_HAPTIC_POLAR, direction is encoded by hundredths of a
+ *  degree starting north and turning clockwise.  ::SDL_HAPTIC_POLAR only uses
+ *  the first \c dir parameter.  The cardinal directions would be:
+ *   - North: 0 (0 degrees)
+ *   - East: 9000 (90 degrees)
+ *   - South: 18000 (180 degrees)
+ *   - West: 27000 (270 degrees)
+ *
+ *  If type is ::SDL_HAPTIC_CARTESIAN, direction is encoded by three positions
+ *  (X axis, Y axis and Z axis (with 3 axes)).  ::SDL_HAPTIC_CARTESIAN uses
+ *  the first three \c dir parameters.  The cardinal directions would be:
+ *   - North:  0,-1, 0
+ *   - East:   1, 0, 0
+ *   - South:  0, 1, 0
+ *   - West:  -1, 0, 0
+ *
+ *  The Z axis represents the height of the effect if supported, otherwise
+ *  it's unused.  In cartesian encoding (1, 2) would be the same as (2, 4), you
+ *  can use any multiple you want, only the direction matters.
+ *
+ *  If type is ::SDL_HAPTIC_SPHERICAL, direction is encoded by two rotations.
+ *  The first two \c dir parameters are used.  The \c dir parameters are as
+ *  follows (all values are in hundredths of degrees):
+ *   - Degrees from (1, 0) rotated towards (0, 1).
+ *   - Degrees towards (0, 0, 1) (device needs at least 3 axes).
+ *
+ *
+ *  Example of force coming from the south with all encodings (force coming
+ *  from the south means the user will have to pull the stick to counteract):
+ *  \code
+ *  SDL_HapticDirection direction;
+ *
+ *  // Cartesian directions
+ *  direction.type = SDL_HAPTIC_CARTESIAN; // Using cartesian direction encoding.
+ *  direction.dir[0] = 0; // X position
+ *  direction.dir[1] = 1; // Y position
+ *  // Assuming the device has 2 axes, we don't need to specify third parameter.
+ *
+ *  // Polar directions
+ *  direction.type = SDL_HAPTIC_POLAR; // We'll be using polar direction encoding.
+ *  direction.dir[0] = 18000; // Polar only uses first parameter
+ *
+ *  // Spherical coordinates
+ *  direction.type = SDL_HAPTIC_SPHERICAL; // Spherical encoding
+ *  direction.dir[0] = 9000; // Since we only have two axes we don't need more parameters.
+ *  \endcode
+ *
+ *  \sa SDL_HAPTIC_POLAR
+ *  \sa SDL_HAPTIC_CARTESIAN
+ *  \sa SDL_HAPTIC_SPHERICAL
+ *  \sa SDL_HapticEffect
+ *  \sa SDL_HapticNumAxes
+ */
+typedef struct SDL_HapticDirection
+{
+    Uint8 type;         /**< The type of encoding. */
+    Sint32 dir[3];      /**< The encoded direction. */
+} SDL_HapticDirection;
+
+
+/**
+ *  \brief A structure containing a template for a Constant effect.
+ *
+ *  This struct is exclusively for the ::SDL_HAPTIC_CONSTANT effect.
+ *
+ *  A constant effect applies a constant force in the specified direction
+ *  to the joystick.
+ *
+ *  \sa SDL_HAPTIC_CONSTANT
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticConstant
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_CONSTANT */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Constant */
+    Sint16 level;           /**< Strength of the constant effect. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length;     /**< Duration of the fade. */
+    Uint16 fade_level;      /**< Level at the end of the fade. */
+} SDL_HapticConstant;
+
+/**
+ *  \brief A structure containing a template for a Periodic effect.
+ *
+ *  The struct handles the following effects:
+ *   - ::SDL_HAPTIC_SINE
+ *   - ::SDL_HAPTIC_LEFTRIGHT
+ *   - ::SDL_HAPTIC_TRIANGLE
+ *   - ::SDL_HAPTIC_SAWTOOTHUP
+ *   - ::SDL_HAPTIC_SAWTOOTHDOWN
+ *
+ *  A periodic effect consists in a wave-shaped effect that repeats itself
+ *  over time.  The type determines the shape of the wave and the parameters
+ *  determine the dimensions of the wave.
+ *
+ *  Phase is given by hundredth of a degree meaning that giving the phase a value
+ *  of 9000 will displace it 25% of its period.  Here are sample values:
+ *   -     0: No phase displacement.
+ *   -  9000: Displaced 25% of its period.
+ *   - 18000: Displaced 50% of its period.
+ *   - 27000: Displaced 75% of its period.
+ *   - 36000: Displaced 100% of its period, same as 0, but 0 is preferred.
+ *
+ *  Examples:
+ *  \verbatim
+    SDL_HAPTIC_SINE
+      __      __      __      __
+     /  \    /  \    /  \    /
+    /    \__/    \__/    \__/
+
+    SDL_HAPTIC_SQUARE
+     __    __    __    __    __
+    |  |  |  |  |  |  |  |  |  |
+    |  |__|  |__|  |__|  |__|  |
+
+    SDL_HAPTIC_TRIANGLE
+      /\    /\    /\    /\    /\
+     /  \  /  \  /  \  /  \  /
+    /    \/    \/    \/    \/
+
+    SDL_HAPTIC_SAWTOOTHUP
+      /|  /|  /|  /|  /|  /|  /|
+     / | / | / | / | / | / | / |
+    /  |/  |/  |/  |/  |/  |/  |
+
+    SDL_HAPTIC_SAWTOOTHDOWN
+    \  |\  |\  |\  |\  |\  |\  |
+     \ | \ | \ | \ | \ | \ | \ |
+      \|  \|  \|  \|  \|  \|  \|
+    \endverbatim
+ *
+ *  \sa SDL_HAPTIC_SINE
+ *  \sa SDL_HAPTIC_LEFTRIGHT
+ *  \sa SDL_HAPTIC_TRIANGLE
+ *  \sa SDL_HAPTIC_SAWTOOTHUP
+ *  \sa SDL_HAPTIC_SAWTOOTHDOWN
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticPeriodic
+{
+    /* Header */
+    Uint16 type;        /**< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT,
+                             ::SDL_HAPTIC_TRIANGLE, ::SDL_HAPTIC_SAWTOOTHUP or
+                             ::SDL_HAPTIC_SAWTOOTHDOWN */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;      /**< Duration of the effect. */
+    Uint16 delay;       /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;      /**< Button that triggers the effect. */
+    Uint16 interval;    /**< How soon it can be triggered again after button. */
+
+    /* Periodic */
+    Uint16 period;      /**< Period of the wave. */
+    Sint16 magnitude;   /**< Peak value; if negative, equivalent to 180 degrees extra phase shift. */
+    Sint16 offset;      /**< Mean value of the wave. */
+    Uint16 phase;       /**< Positive phase shift given by hundredth of a degree. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length; /**< Duration of the fade. */
+    Uint16 fade_level;  /**< Level at the end of the fade. */
+} SDL_HapticPeriodic;
+
+/**
+ *  \brief A structure containing a template for a Condition effect.
+ *
+ *  The struct handles the following effects:
+ *   - ::SDL_HAPTIC_SPRING: Effect based on axes position.
+ *   - ::SDL_HAPTIC_DAMPER: Effect based on axes velocity.
+ *   - ::SDL_HAPTIC_INERTIA: Effect based on axes acceleration.
+ *   - ::SDL_HAPTIC_FRICTION: Effect based on axes movement.
+ *
+ *  Direction is handled by condition internals instead of a direction member.
+ *  The condition effect specific members have three parameters.  The first
+ *  refers to the X axis, the second refers to the Y axis and the third
+ *  refers to the Z axis.  The right terms refer to the positive side of the
+ *  axis and the left terms refer to the negative side of the axis.  Please
+ *  refer to the ::SDL_HapticDirection diagram for which side is positive and
+ *  which is negative.
+ *
+ *  \sa SDL_HapticDirection
+ *  \sa SDL_HAPTIC_SPRING
+ *  \sa SDL_HAPTIC_DAMPER
+ *  \sa SDL_HAPTIC_INERTIA
+ *  \sa SDL_HAPTIC_FRICTION
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticCondition
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_SPRING, ::SDL_HAPTIC_DAMPER,
+                                 ::SDL_HAPTIC_INERTIA or ::SDL_HAPTIC_FRICTION */
+    SDL_HapticDirection direction;  /**< Direction of the effect - Not used ATM. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Condition */
+    Uint16 right_sat[3];    /**< Level when joystick is to the positive side; max 0xFFFF. */
+    Uint16 left_sat[3];     /**< Level when joystick is to the negative side; max 0xFFFF. */
+    Sint16 right_coeff[3];  /**< How fast to increase the force towards the positive side. */
+    Sint16 left_coeff[3];   /**< How fast to increase the force towards the negative side. */
+    Uint16 deadband[3];     /**< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. */
+    Sint16 center[3];       /**< Position of the dead zone. */
+} SDL_HapticCondition;
+
+/**
+ *  \brief A structure containing a template for a Ramp effect.
+ *
+ *  This struct is exclusively for the ::SDL_HAPTIC_RAMP effect.
+ *
+ *  The ramp effect starts at start strength and ends at end strength.
+ *  It augments in linear fashion.  If you use attack and fade with a ramp
+ *  the effects get added to the ramp effect making the effect become
+ *  quadratic instead of linear.
+ *
+ *  \sa SDL_HAPTIC_RAMP
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticRamp
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_RAMP */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Ramp */
+    Sint16 start;           /**< Beginning strength level. */
+    Sint16 end;             /**< Ending strength level. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length;     /**< Duration of the fade. */
+    Uint16 fade_level;      /**< Level at the end of the fade. */
+} SDL_HapticRamp;
+
+/**
+ * \brief A structure containing a template for a Left/Right effect.
+ *
+ * This struct is exclusively for the ::SDL_HAPTIC_LEFTRIGHT effect.
+ *
+ * The Left/Right effect is used to explicitly control the large and small
+ * motors, commonly found in modern game controllers. The small (right) motor
+ * is high frequency, and the large (left) motor is low frequency.
+ *
+ * \sa SDL_HAPTIC_LEFTRIGHT
+ * \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticLeftRight
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_LEFTRIGHT */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect in milliseconds. */
+
+    /* Rumble */
+    Uint16 large_magnitude; /**< Control of the large controller motor. */
+    Uint16 small_magnitude; /**< Control of the small controller motor. */
+} SDL_HapticLeftRight;
+
+/**
+ *  \brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect.
+ *
+ *  This struct is exclusively for the ::SDL_HAPTIC_CUSTOM effect.
+ *
+ *  A custom force feedback effect is much like a periodic effect, where the
+ *  application can define its exact shape.  You will have to allocate the
+ *  data yourself.  Data should consist of channels * samples Uint16 samples.
+ *
+ *  If channels is one, the effect is rotated using the defined direction.
+ *  Otherwise it uses the samples in data for the different axes.
+ *
+ *  \sa SDL_HAPTIC_CUSTOM
+ *  \sa SDL_HapticEffect
+ */
+typedef struct SDL_HapticCustom
+{
+    /* Header */
+    Uint16 type;            /**< ::SDL_HAPTIC_CUSTOM */
+    SDL_HapticDirection direction;  /**< Direction of the effect. */
+
+    /* Replay */
+    Uint32 length;          /**< Duration of the effect. */
+    Uint16 delay;           /**< Delay before starting the effect. */
+
+    /* Trigger */
+    Uint16 button;          /**< Button that triggers the effect. */
+    Uint16 interval;        /**< How soon it can be triggered again after button. */
+
+    /* Custom */
+    Uint8 channels;         /**< Axes to use, minimum of one. */
+    Uint16 period;          /**< Sample periods. */
+    Uint16 samples;         /**< Amount of samples. */
+    Uint16 *data;           /**< Should contain channels*samples items. */
+
+    /* Envelope */
+    Uint16 attack_length;   /**< Duration of the attack. */
+    Uint16 attack_level;    /**< Level at the start of the attack. */
+    Uint16 fade_length;     /**< Duration of the fade. */
+    Uint16 fade_level;      /**< Level at the end of the fade. */
+} SDL_HapticCustom;
+
+/**
+ *  \brief The generic template for any haptic effect.
+ *
+ *  All values max at 32767 (0x7FFF).  Signed values also can be negative.
+ *  Time values unless specified otherwise are in milliseconds.
+ *
+ *  You can also pass ::SDL_HAPTIC_INFINITY to length instead of a 0-32767
+ *  value.  Neither delay, interval, attack_length nor fade_length support
+ *  ::SDL_HAPTIC_INFINITY.  Fade will also not be used since effect never ends.
+ *
+ *  Additionally, the ::SDL_HAPTIC_RAMP effect does not support a duration of
+ *  ::SDL_HAPTIC_INFINITY.
+ *
+ *  Button triggers may not be supported on all devices, it is advised to not
+ *  use them if possible.  Buttons start at index 1 instead of index 0 like
+ *  the joystick.
+ *
+ *  If both attack_length and fade_level are 0, the envelope is not used,
+ *  otherwise both values are used.
+ *
+ *  Common parts:
+ *  \code
+ *  // Replay - All effects have this
+ *  Uint32 length;        // Duration of effect (ms).
+ *  Uint16 delay;         // Delay before starting effect.
+ *
+ *  // Trigger - All effects have this
+ *  Uint16 button;        // Button that triggers effect.
+ *  Uint16 interval;      // How soon before effect can be triggered again.
+ *
+ *  // Envelope - All effects except condition effects have this
+ *  Uint16 attack_length; // Duration of the attack (ms).
+ *  Uint16 attack_level;  // Level at the start of the attack.
+ *  Uint16 fade_length;   // Duration of the fade out (ms).
+ *  Uint16 fade_level;    // Level at the end of the fade.
+ *  \endcode
+ *
+ *
+ *  Here we have an example of a constant effect evolution in time:
+ *  \verbatim
+    Strength
+    ^
+    |
+    |    effect level -->  _________________
+    |                     /                 \
+    |                    /                   \
+    |                   /                     \
+    |                  /                       \
+    | attack_level --> |                        \
+    |                  |                        |  <---  fade_level
+    |
+    +--------------------------------------------------> Time
+                       [--]                 [---]
+                       attack_length        fade_length
+
+    [------------------][-----------------------]
+    delay               length
+    \endverbatim
+ *
+ *  Note either the attack_level or the fade_level may be above the actual
+ *  effect level.
+ *
+ *  \sa SDL_HapticConstant
+ *  \sa SDL_HapticPeriodic
+ *  \sa SDL_HapticCondition
+ *  \sa SDL_HapticRamp
+ *  \sa SDL_HapticLeftRight
+ *  \sa SDL_HapticCustom
+ */
+typedef union SDL_HapticEffect
+{
+    /* Common for all force feedback effects */
+    Uint16 type;                    /**< Effect type. */
+    SDL_HapticConstant constant;    /**< Constant effect. */
+    SDL_HapticPeriodic periodic;    /**< Periodic effect. */
+    SDL_HapticCondition condition;  /**< Condition effect. */
+    SDL_HapticRamp ramp;            /**< Ramp effect. */
+    SDL_HapticLeftRight leftright;  /**< Left/Right effect. */
+    SDL_HapticCustom custom;        /**< Custom effect. */
+} SDL_HapticEffect;
+
+
+/* Function prototypes */
+/**
+ *  \brief Count the number of haptic devices attached to the system.
+ *
+ *  \return Number of haptic devices detected on the system.
+ */
+extern DECLSPEC int SDLCALL SDL_NumHaptics(void);
+
+/**
+ *  \brief Get the implementation dependent name of a haptic device.
+ *
+ *  This can be called before any joysticks are opened.
+ *  If no name can be found, this function returns NULL.
+ *
+ *  \param device_index Index of the device to get its name.
+ *  \return Name of the device or NULL on error.
+ *
+ *  \sa SDL_NumHaptics
+ */
+extern DECLSPEC const char *SDLCALL SDL_HapticName(int device_index);
+
+/**
+ *  \brief Opens a haptic device for use.
+ *
+ *  The index passed as an argument refers to the N'th haptic device on this
+ *  system.
+ *
+ *  When opening a haptic device, its gain will be set to maximum and
+ *  autocenter will be disabled.  To modify these values use
+ *  SDL_HapticSetGain() and SDL_HapticSetAutocenter().
+ *
+ *  \param device_index Index of the device to open.
+ *  \return Device identifier or NULL on error.
+ *
+ *  \sa SDL_HapticIndex
+ *  \sa SDL_HapticOpenFromMouse
+ *  \sa SDL_HapticOpenFromJoystick
+ *  \sa SDL_HapticClose
+ *  \sa SDL_HapticSetGain
+ *  \sa SDL_HapticSetAutocenter
+ *  \sa SDL_HapticPause
+ *  \sa SDL_HapticStopAll
+ */
+extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpen(int device_index);
+
+/**
+ *  \brief Checks if the haptic device at index has been opened.
+ *
+ *  \param device_index Index to check to see if it has been opened.
+ *  \return 1 if it has been opened or 0 if it hasn't.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticIndex
+ */
+extern DECLSPEC int SDLCALL SDL_HapticOpened(int device_index);
+
+/**
+ *  \brief Gets the index of a haptic device.
+ *
+ *  \param haptic Haptic device to get the index of.
+ *  \return The index of the haptic device or -1 on error.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticOpened
+ */
+extern DECLSPEC int SDLCALL SDL_HapticIndex(SDL_Haptic * haptic);
+
+/**
+ *  \brief Gets whether or not the current mouse has haptic capabilities.
+ *
+ *  \return SDL_TRUE if the mouse is haptic, SDL_FALSE if it isn't.
+ *
+ *  \sa SDL_HapticOpenFromMouse
+ */
+extern DECLSPEC int SDLCALL SDL_MouseIsHaptic(void);
+
+/**
+ *  \brief Tries to open a haptic device from the current mouse.
+ *
+ *  \return The haptic device identifier or NULL on error.
+ *
+ *  \sa SDL_MouseIsHaptic
+ *  \sa SDL_HapticOpen
+ */
+extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpenFromMouse(void);
+
+/**
+ *  \brief Checks to see if a joystick has haptic features.
+ *
+ *  \param joystick Joystick to test for haptic capabilities.
+ *  \return SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn't
+ *          or -1 if an error occurred.
+ *
+ *  \sa SDL_HapticOpenFromJoystick
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickIsHaptic(SDL_Joystick * joystick);
+
+/**
+ *  \brief Opens a haptic device for use from a joystick device.
+ *
+ *  You must still close the haptic device separately.  It will not be closed
+ *  with the joystick.
+ *
+ *  When opening from a joystick you should first close the haptic device before
+ *  closing the joystick device.  If not, on some implementations the haptic
+ *  device will also get unallocated and you'll be unable to use force feedback
+ *  on that device.
+ *
+ *  \param joystick Joystick to create a haptic device from.
+ *  \return A valid haptic device identifier on success or NULL on error.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticClose
+ */
+extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpenFromJoystick(SDL_Joystick *
+                                                               joystick);
+
+/**
+ *  \brief Closes a haptic device previously opened with SDL_HapticOpen().
+ *
+ *  \param haptic Haptic device to close.
+ */
+extern DECLSPEC void SDLCALL SDL_HapticClose(SDL_Haptic * haptic);
+
+/**
+ *  \brief Returns the number of effects a haptic device can store.
+ *
+ *  On some platforms this isn't fully supported, and therefore is an
+ *  approximation.  Always check to see if your created effect was actually
+ *  created and do not rely solely on SDL_HapticNumEffects().
+ *
+ *  \param haptic The haptic device to query effect max.
+ *  \return The number of effects the haptic device can store or
+ *          -1 on error.
+ *
+ *  \sa SDL_HapticNumEffectsPlaying
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNumEffects(SDL_Haptic * haptic);
+
+/**
+ *  \brief Returns the number of effects a haptic device can play at the same
+ *         time.
+ *
+ *  This is not supported on all platforms, but will always return a value.
+ *  Added here for the sake of completeness.
+ *
+ *  \param haptic The haptic device to query maximum playing effects.
+ *  \return The number of effects the haptic device can play at the same time
+ *          or -1 on error.
+ *
+ *  \sa SDL_HapticNumEffects
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic);
+
+/**
+ *  \brief Gets the haptic device's supported features in bitwise manner.
+ *
+ *  Example:
+ *  \code
+ *  if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) {
+ *      printf("We have constant haptic effect!\n");
+ *  }
+ *  \endcode
+ *
+ *  \param haptic The haptic device to query.
+ *  \return Haptic features in bitwise manner (OR'd).
+ *
+ *  \sa SDL_HapticNumEffects
+ *  \sa SDL_HapticEffectSupported
+ */
+extern DECLSPEC unsigned int SDLCALL SDL_HapticQuery(SDL_Haptic * haptic);
+
+
+/**
+ *  \brief Gets the number of haptic axes the device has.
+ *
+ *  \sa SDL_HapticDirection
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNumAxes(SDL_Haptic * haptic);
+
+/**
+ *  \brief Checks to see if effect is supported by haptic.
+ *
+ *  \param haptic Haptic device to check on.
+ *  \param effect Effect to check to see if it is supported.
+ *  \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error.
+ *
+ *  \sa SDL_HapticQuery
+ *  \sa SDL_HapticNewEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticEffectSupported(SDL_Haptic * haptic,
+                                                      SDL_HapticEffect *
+                                                      effect);
+
+/**
+ *  \brief Creates a new haptic effect on the device.
+ *
+ *  \param haptic Haptic device to create the effect on.
+ *  \param effect Properties of the effect to create.
+ *  \return The identifier of the effect on success or -1 on error.
+ *
+ *  \sa SDL_HapticUpdateEffect
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticDestroyEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticNewEffect(SDL_Haptic * haptic,
+                                                SDL_HapticEffect * effect);
+
+/**
+ *  \brief Updates the properties of an effect.
+ *
+ *  Can be used dynamically, although behavior when dynamically changing
+ *  direction may be strange.  Specifically the effect may reupload itself
+ *  and start playing from the start.  You cannot change the type either when
+ *  running SDL_HapticUpdateEffect().
+ *
+ *  \param haptic Haptic device that has the effect.
+ *  \param effect Identifier of the effect to update.
+ *  \param data New effect properties to use.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticNewEffect
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticDestroyEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticUpdateEffect(SDL_Haptic * haptic,
+                                                   int effect,
+                                                   SDL_HapticEffect * data);
+
+/**
+ *  \brief Runs the haptic effect on its associated haptic device.
+ *
+ *  If iterations are ::SDL_HAPTIC_INFINITY, it'll run the effect over and over
+ *  repeating the envelope (attack and fade) every time.  If you only want the
+ *  effect to last forever, set ::SDL_HAPTIC_INFINITY in the effect's length
+ *  parameter.
+ *
+ *  \param haptic Haptic device to run the effect on.
+ *  \param effect Identifier of the haptic effect to run.
+ *  \param iterations Number of iterations to run the effect. Use
+ *         ::SDL_HAPTIC_INFINITY for infinity.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticStopEffect
+ *  \sa SDL_HapticDestroyEffect
+ *  \sa SDL_HapticGetEffectStatus
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRunEffect(SDL_Haptic * haptic,
+                                                int effect,
+                                                Uint32 iterations);
+
+/**
+ *  \brief Stops the haptic effect on its associated haptic device.
+ *
+ *  \param haptic Haptic device to stop the effect on.
+ *  \param effect Identifier of the effect to stop.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticDestroyEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticStopEffect(SDL_Haptic * haptic,
+                                                 int effect);
+
+/**
+ *  \brief Destroys a haptic effect on the device.
+ *
+ *  This will stop the effect if it's running.  Effects are automatically
+ *  destroyed when the device is closed.
+ *
+ *  \param haptic Device to destroy the effect on.
+ *  \param effect Identifier of the effect to destroy.
+ *
+ *  \sa SDL_HapticNewEffect
+ */
+extern DECLSPEC void SDLCALL SDL_HapticDestroyEffect(SDL_Haptic * haptic,
+                                                     int effect);
+
+/**
+ *  \brief Gets the status of the current effect on the haptic device.
+ *
+ *  Device must support the ::SDL_HAPTIC_STATUS feature.
+ *
+ *  \param haptic Haptic device to query the effect status on.
+ *  \param effect Identifier of the effect to query its status.
+ *  \return 0 if it isn't playing, 1 if it is playing or -1 on error.
+ *
+ *  \sa SDL_HapticRunEffect
+ *  \sa SDL_HapticStopEffect
+ */
+extern DECLSPEC int SDLCALL SDL_HapticGetEffectStatus(SDL_Haptic * haptic,
+                                                      int effect);
+
+/**
+ *  \brief Sets the global gain of the device.
+ *
+ *  Device must support the ::SDL_HAPTIC_GAIN feature.
+ *
+ *  The user may specify the maximum gain by setting the environment variable
+ *  SDL_HAPTIC_GAIN_MAX which should be between 0 and 100.  All calls to
+ *  SDL_HapticSetGain() will scale linearly using SDL_HAPTIC_GAIN_MAX as the
+ *  maximum.
+ *
+ *  \param haptic Haptic device to set the gain on.
+ *  \param gain Value to set the gain to, should be between 0 and 100.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticSetGain(SDL_Haptic * haptic, int gain);
+
+/**
+ *  \brief Sets the global autocenter of the device.
+ *
+ *  Autocenter should be between 0 and 100.  Setting it to 0 will disable
+ *  autocentering.
+ *
+ *  Device must support the ::SDL_HAPTIC_AUTOCENTER feature.
+ *
+ *  \param haptic Haptic device to set autocentering on.
+ *  \param autocenter Value to set autocenter to, 0 disables autocentering.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticQuery
+ */
+extern DECLSPEC int SDLCALL SDL_HapticSetAutocenter(SDL_Haptic * haptic,
+                                                    int autocenter);
+
+/**
+ *  \brief Pauses a haptic device.
+ *
+ *  Device must support the ::SDL_HAPTIC_PAUSE feature.  Call
+ *  SDL_HapticUnpause() to resume playback.
+ *
+ *  Do not modify the effects nor add new ones while the device is paused.
+ *  That can cause all sorts of weird errors.
+ *
+ *  \param haptic Haptic device to pause.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticUnpause
+ */
+extern DECLSPEC int SDLCALL SDL_HapticPause(SDL_Haptic * haptic);
+
+/**
+ *  \brief Unpauses a haptic device.
+ *
+ *  Call to unpause after SDL_HapticPause().
+ *
+ *  \param haptic Haptic device to unpause.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticPause
+ */
+extern DECLSPEC int SDLCALL SDL_HapticUnpause(SDL_Haptic * haptic);
+
+/**
+ *  \brief Stops all the currently playing effects on a haptic device.
+ *
+ *  \param haptic Haptic device to stop.
+ *  \return 0 on success or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_HapticStopAll(SDL_Haptic * haptic);
+
+/**
+ *  \brief Checks to see if rumble is supported on a haptic device.
+ *
+ *  \param haptic Haptic device to check to see if it supports rumble.
+ *  \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error.
+ *
+ *  \sa SDL_HapticRumbleInit
+ *  \sa SDL_HapticRumblePlay
+ *  \sa SDL_HapticRumbleStop
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumbleSupported(SDL_Haptic * haptic);
+
+/**
+ *  \brief Initializes the haptic device for simple rumble playback.
+ *
+ *  \param haptic Haptic device to initialize for simple rumble playback.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticOpen
+ *  \sa SDL_HapticRumbleSupported
+ *  \sa SDL_HapticRumblePlay
+ *  \sa SDL_HapticRumbleStop
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumbleInit(SDL_Haptic * haptic);
+
+/**
+ *  \brief Runs simple rumble on a haptic device
+ *
+ *  \param haptic Haptic device to play rumble effect on.
+ *  \param strength Strength of the rumble to play as a 0-1 float value.
+ *  \param length Length of the rumble to play in milliseconds.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticRumbleSupported
+ *  \sa SDL_HapticRumbleInit
+ *  \sa SDL_HapticRumbleStop
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumblePlay(SDL_Haptic * haptic, float strength, Uint32 length );
+
+/**
+ *  \brief Stops the simple rumble on a haptic device.
+ *
+ *  \param haptic Haptic to stop the rumble on.
+ *  \return 0 on success or -1 on error.
+ *
+ *  \sa SDL_HapticRumbleSupported
+ *  \sa SDL_HapticRumbleInit
+ *  \sa SDL_HapticRumblePlay
+ */
+extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_haptic_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_hints.h
@@ -1,0 +1,1266 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_hints.h
+ *
+ *  Official documentation for SDL configuration variables
+ *
+ *  This file contains functions to set and get configuration hints,
+ *  as well as listing each of them alphabetically.
+ *
+ *  The convention for naming hints is SDL_HINT_X, where "SDL_X" is
+ *  the environment variable that can be used to override the default.
+ *
+ *  In general these hints are just that - they may or may not be
+ *  supported or applicable on any given platform, but they provide
+ *  a way for an application or user to give the library a hint as
+ *  to how they would like the library to work.
+ */
+
+#ifndef SDL_hints_h_
+#define SDL_hints_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief  A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.
+ *
+ *  SDL can try to accelerate the SDL screen surface by using streaming
+ *  textures with a 3D rendering engine.  This variable controls whether and
+ *  how this is done.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable 3D acceleration
+ *    "1"       - Enable 3D acceleration, using the default renderer.
+ *    "X"       - Enable 3D acceleration, using X where X is one of the valid rendering drivers.  (e.g. "direct3d", "opengl", etc.)
+ *
+ *  By default SDL tries to make a best guess for each platform whether
+ *  to use acceleration or not.
+ */
+#define SDL_HINT_FRAMEBUFFER_ACCELERATION   "SDL_FRAMEBUFFER_ACCELERATION"
+
+/**
+ *  \brief  A variable specifying which render driver to use.
+ *
+ *  If the application doesn't pick a specific renderer to use, this variable
+ *  specifies the name of the preferred renderer.  If the preferred renderer
+ *  can't be initialized, the normal default renderer is used.
+ *
+ *  This variable is case insensitive and can be set to the following values:
+ *    "direct3d"
+ *    "opengl"
+ *    "opengles2"
+ *    "opengles"
+ *    "metal"
+ *    "software"
+ *
+ *  The default varies by platform, but it's the first one in the list that
+ *  is available on the current platform.
+ */
+#define SDL_HINT_RENDER_DRIVER              "SDL_RENDER_DRIVER"
+
+/**
+ *  \brief  A variable controlling whether the OpenGL render driver uses shaders if they are available.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable shaders
+ *    "1"       - Enable shaders
+ *
+ *  By default shaders are used if OpenGL supports them.
+ */
+#define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
+
+/**
+ *  \brief  A variable controlling whether the Direct3D device is initialized for thread-safe operations.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Thread-safety is not enabled (faster)
+ *    "1"       - Thread-safety is enabled
+ *
+ *  By default the Direct3D device is created with thread-safety disabled.
+ */
+#define SDL_HINT_RENDER_DIRECT3D_THREADSAFE "SDL_RENDER_DIRECT3D_THREADSAFE"
+
+/**
+ *  \brief  A variable controlling whether to enable Direct3D 11+'s Debug Layer.
+ *
+ *  This variable does not have any effect on the Direct3D 9 based renderer.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable Debug Layer use
+ *    "1"       - Enable Debug Layer use
+ *
+ *  By default, SDL does not use Direct3D Debug Layer.
+ */
+#define SDL_HINT_RENDER_DIRECT3D11_DEBUG    "SDL_RENDER_DIRECT3D11_DEBUG"
+
+/**
+ *  \brief  A variable controlling the scaling policy for SDL_RenderSetLogicalSize.
+ *
+ *  This variable can be set to the following values:
+ *    "0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen
+ *    "1" or "overscan"  - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen
+ *
+ *  By default letterbox is used
+ */
+#define SDL_HINT_RENDER_LOGICAL_SIZE_MODE       "SDL_RENDER_LOGICAL_SIZE_MODE"
+
+/**
+ *  \brief  A variable controlling the scaling quality
+ *
+ *  This variable can be set to the following values:
+ *    "0" or "nearest" - Nearest pixel sampling
+ *    "1" or "linear"  - Linear filtering (supported by OpenGL and Direct3D)
+ *    "2" or "best"    - Currently this is the same as "linear"
+ *
+ *  By default nearest pixel sampling is used
+ */
+#define SDL_HINT_RENDER_SCALE_QUALITY       "SDL_RENDER_SCALE_QUALITY"
+
+/**
+ *  \brief  A variable controlling whether updates to the SDL screen surface should be synchronized with the vertical refresh, to avoid tearing.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable vsync
+ *    "1"       - Enable vsync
+ *
+ *  By default SDL does not sync screen surface updates with vertical refresh.
+ */
+#define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
+
+/**
+ *  \brief  A variable controlling whether the screensaver is enabled. 
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable screensaver
+ *    "1"       - Enable screensaver
+ *
+ *  By default SDL will disable the screensaver.
+ */
+#define SDL_HINT_VIDEO_ALLOW_SCREENSAVER    "SDL_VIDEO_ALLOW_SCREENSAVER"
+
+/**
+ *  \brief  A variable controlling whether the X11 VidMode extension should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable XVidMode
+ *    "1"       - Enable XVidMode
+ *
+ *  By default SDL will use XVidMode if it is available.
+ */
+#define SDL_HINT_VIDEO_X11_XVIDMODE         "SDL_VIDEO_X11_XVIDMODE"
+
+/**
+ *  \brief  A variable controlling whether the X11 Xinerama extension should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable Xinerama
+ *    "1"       - Enable Xinerama
+ *
+ *  By default SDL will use Xinerama if it is available.
+ */
+#define SDL_HINT_VIDEO_X11_XINERAMA         "SDL_VIDEO_X11_XINERAMA"
+
+/**
+ *  \brief  A variable controlling whether the X11 XRandR extension should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable XRandR
+ *    "1"       - Enable XRandR
+ *
+ *  By default SDL will not use XRandR because of window manager issues.
+ */
+#define SDL_HINT_VIDEO_X11_XRANDR           "SDL_VIDEO_X11_XRANDR"
+
+/**
+ *  \brief  A variable controlling whether the X11 _NET_WM_PING protocol should be supported.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Disable _NET_WM_PING
+ *    "1"       - Enable _NET_WM_PING
+ *
+ *  By default SDL will use _NET_WM_PING, but for applications that know they
+ *  will not always be able to respond to ping requests in a timely manner they can
+ *  turn it off to avoid the window manager thinking the app is hung.
+ *  The hint is checked in CreateWindow.
+ */
+#define SDL_HINT_VIDEO_X11_NET_WM_PING      "SDL_VIDEO_X11_NET_WM_PING"
+
+/**
+ * \brief A variable controlling whether the X11 _NET_WM_BYPASS_COMPOSITOR hint should be used.
+ * 
+ * This variable can be set to the following values:
+ * "0" - Disable _NET_WM_BYPASS_COMPOSITOR
+ * "1" - Enable _NET_WM_BYPASS_COMPOSITOR
+ * 
+ * By default SDL will use _NET_WM_BYPASS_COMPOSITOR
+ * 
+ */
+#define SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR "SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR"
+
+/**
+ *  \brief  A variable controlling whether the window frame and title bar are interactive when the cursor is hidden 
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The window frame is not interactive when the cursor is hidden (no move, resize, etc)
+ *    "1"       - The window frame is interactive when the cursor is hidden
+ *
+ *  By default SDL will allow interaction with the window frame when the cursor is hidden
+ */
+#define SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN    "SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN"
+
+/**
+ * \brief A variable to specify custom icon resource id from RC file on Windows platform 
+ */
+#define SDL_HINT_WINDOWS_INTRESOURCE_ICON       "SDL_WINDOWS_INTRESOURCE_ICON"
+#define SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL "SDL_WINDOWS_INTRESOURCE_ICON_SMALL"
+
+/**
+ *  \brief  A variable controlling whether the windows message loop is processed by SDL 
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The window message loop is not run
+ *    "1"       - The window message loop is processed in SDL_PumpEvents()
+ *
+ *  By default SDL will process the windows message loop
+ */
+#define SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP "SDL_WINDOWS_ENABLE_MESSAGELOOP"
+
+/**
+ *  \brief  A variable controlling whether grabbing input grabs the keyboard
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Grab will affect only the mouse
+ *    "1"       - Grab will affect mouse and keyboard
+ *
+ *  By default SDL will not grab the keyboard so system shortcuts still work.
+ */
+#define SDL_HINT_GRAB_KEYBOARD              "SDL_GRAB_KEYBOARD"
+
+/**
+ *  \brief  A variable setting the double click time, in milliseconds.
+ */
+#define SDL_HINT_MOUSE_DOUBLE_CLICK_TIME    "SDL_MOUSE_DOUBLE_CLICK_TIME"
+
+/**
+ *  \brief  A variable setting the double click radius, in pixels.
+ */
+#define SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS    "SDL_MOUSE_DOUBLE_CLICK_RADIUS"
+
+/**
+ *  \brief  A variable setting the speed scale for mouse motion, in floating point, when the mouse is not in relative mode
+ */
+#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE    "SDL_MOUSE_NORMAL_SPEED_SCALE"
+
+/**
+ *  \brief  A variable setting the scale for mouse motion, in floating point, when the mouse is in relative mode
+ */
+#define SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE    "SDL_MOUSE_RELATIVE_SPEED_SCALE"
+
+/**
+ *  \brief  A variable controlling whether relative mouse mode is implemented using mouse warping
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Relative mouse mode uses raw input
+ *    "1"       - Relative mouse mode uses mouse warping
+ *
+ *  By default SDL will use raw input for relative mouse mode
+ */
+#define SDL_HINT_MOUSE_RELATIVE_MODE_WARP    "SDL_MOUSE_RELATIVE_MODE_WARP"
+
+/**
+ *  \brief Allow mouse click events when clicking to focus an SDL window
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Ignore mouse clicks that activate a window
+ *    "1"       - Generate events for mouse clicks that activate a window
+ *
+ *  By default SDL will ignore mouse clicks that activate a window
+ */
+#define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH"
+
+/**
+ *  \brief  A variable controlling whether touch events should generate synthetic mouse events
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Touch events will not generate mouse events
+ *    "1"       - Touch events will generate mouse events
+ *
+ *  By default SDL will generate mouse events for touch events
+ */
+#define SDL_HINT_TOUCH_MOUSE_EVENTS    "SDL_TOUCH_MOUSE_EVENTS"
+
+/**
+ *  \brief  A variable controlling whether mouse events should generate synthetic touch events
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Mouse events will not generate touch events (default for desktop platforms)
+ *    "1"       - Mouse events will generate touch events (default for mobile platforms, such as Android and iOS)
+ */
+
+#define SDL_HINT_MOUSE_TOUCH_EVENTS    "SDL_MOUSE_TOUCH_EVENTS"
+
+/**
+ *  \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true.
+ *
+ */
+#define SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS   "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"
+
+/**
+ *  \brief  A variable controlling whether the idle timer is disabled on iOS.
+ *
+ *  When an iOS app does not receive touches for some time, the screen is
+ *  dimmed automatically. For games where the accelerometer is the only input
+ *  this is problematic. This functionality can be disabled by setting this
+ *  hint.
+ *
+ *  As of SDL 2.0.4, SDL_EnableScreenSaver() and SDL_DisableScreenSaver()
+ *  accomplish the same thing on iOS. They should be preferred over this hint.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Enable idle timer
+ *    "1"       - Disable idle timer
+ */
+#define SDL_HINT_IDLE_TIMER_DISABLED "SDL_IOS_IDLE_TIMER_DISABLED"
+
+/**
+ *  \brief  A variable controlling which orientations are allowed on iOS/Android.
+ *
+ *  In some circumstances it is necessary to be able to explicitly control
+ *  which UI orientations are allowed.
+ *
+ *  This variable is a space delimited list of the following values:
+ *    "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown"
+ */
+#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
+
+/**
+ *  \brief  A variable controlling whether controllers used with the Apple TV
+ *  generate UI events.
+ *
+ * When UI events are generated by controller input, the app will be
+ * backgrounded when the Apple TV remote's menu button is pressed, and when the
+ * pause or B buttons on gamepads are pressed.
+ *
+ * More information about properly making use of controllers for the Apple TV
+ * can be found here:
+ * https://developer.apple.com/tvos/human-interface-guidelines/remote-and-controllers/
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Controller input does not generate UI events (the default).
+ *    "1"       - Controller input generates UI events.
+ */
+#define SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS "SDL_APPLE_TV_CONTROLLER_UI_EVENTS"
+
+/**
+ * \brief  A variable controlling whether the Apple TV remote's joystick axes
+ *         will automatically match the rotation of the remote.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Remote orientation does not affect joystick axes (the default).
+ *    "1"       - Joystick axes are based on the orientation of the remote.
+ */
+#define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"
+
+/**
+ * \brief  A variable controlling whether the home indicator bar on iPhone X
+ *         should be hidden.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The indicator bar is not hidden (default for windowed applications)
+ *    "1"       - The indicator bar is hidden and is shown when the screen is touched (useful for movie playback applications)
+ *    "2"       - The indicator bar is dim and the first swipe makes it visible and the second swipe performs the "home" action (default for fullscreen applications)
+ */
+#define SDL_HINT_IOS_HIDE_HOME_INDICATOR "SDL_IOS_HIDE_HOME_INDICATOR"
+
+/**
+ *  \brief  A variable controlling whether the Android / iOS built-in
+ *  accelerometer should be listed as a joystick device.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - The accelerometer is not listed as a joystick
+ *    "1"       - The accelerometer is available as a 3 axis joystick (the default).
+ */
+#define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK"
+
+/**
+ *  \brief  A variable controlling whether the Android / tvOS remotes
+ *  should be listed as joystick devices, instead of sending keyboard events.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Remotes send enter/escape/arrow key events
+ *    "1"       - Remotes are available as 2 axis, 2 button joysticks (the default).
+ */
+#define SDL_HINT_TV_REMOTE_AS_JOYSTICK "SDL_TV_REMOTE_AS_JOYSTICK"
+
+/**
+ *  \brief  A variable that lets you disable the detection and use of Xinput gamepad devices
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Disable XInput detection (only uses direct input)
+ *    "1"       - Enable XInput detection (the default)
+ */
+#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"
+
+/**
+ *  \brief  A variable that causes SDL to use the old axis and button mapping for XInput devices.
+ *
+ *  This hint is for backwards compatibility only and will be removed in SDL 2.1
+ *
+ *  The default value is "0".  This hint must be set before SDL_Init()
+ */
+#define SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING "SDL_XINPUT_USE_OLD_JOYSTICK_MAPPING"
+
+/**
+ *  \brief  A variable that lets you manually hint extra gamecontroller db entries.
+ *
+ *  The variable should be newline delimited rows of gamecontroller config data, see SDL_gamecontroller.h
+ *
+ *  This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER)
+ *  You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping()
+ */
+#define SDL_HINT_GAMECONTROLLERCONFIG "SDL_GAMECONTROLLERCONFIG"
+
+/**
+ *  \brief  A variable that lets you provide a file with extra gamecontroller db entries.
+ *
+ *  The file should contain lines of gamecontroller config data, see SDL_gamecontroller.h
+ *
+ *  This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER)
+ *  You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping()
+ */
+#define SDL_HINT_GAMECONTROLLERCONFIG_FILE "SDL_GAMECONTROLLERCONFIG_FILE"
+
+/**
+ *  \brief  A variable containing a list of devices to skip when scanning for game controllers.
+ *
+ *  The format of the string is a comma separated list of USB VID/PID pairs
+ *  in hexadecimal form, e.g.
+ *
+ *      0xAAAA/0xBBBB,0xCCCC/0xDDDD
+ *
+ *  The variable can also take the form of @file, in which case the named
+ *  file will be loaded and interpreted as the value of the variable.
+ */
+#define SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES "SDL_GAMECONTROLLER_IGNORE_DEVICES"
+
+/**
+ *  \brief  If set, all devices will be skipped when scanning for game controllers except for the ones listed in this variable.
+ *
+ *  The format of the string is a comma separated list of USB VID/PID pairs
+ *  in hexadecimal form, e.g.
+ *
+ *      0xAAAA/0xBBBB,0xCCCC/0xDDDD
+ *
+ *  The variable can also take the form of @file, in which case the named
+ *  file will be loaded and interpreted as the value of the variable.
+ */
+#define SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT "SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT"
+
+/**
+ *  \brief  A variable that lets you enable joystick (and gamecontroller) events even when your app is in the background.
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Disable joystick & gamecontroller input events when the
+ *                application is in the background.
+ *    "1"       - Enable joystick & gamecontroller input events when the
+ *                application is in the background.
+ *
+ *  The default value is "0".  This hint may be set at any time.
+ */
+#define SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS "SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI joystick drivers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI drivers are not used
+ *    "1"       - HIDAPI drivers are used (the default)
+ *
+ *  This variable is the default for all drivers, but can be overridden by the hints for specific drivers below.
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI "SDL_JOYSTICK_HIDAPI"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for PS4 controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_PS4 "SDL_JOYSTICK_HIDAPI_PS4"
+
+/**
+ *  \brief  A variable controlling whether extended input reports should be used for PS4 controllers when using the HIDAPI driver.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - extended reports are not enabled (the default)
+ *    "1"       - extended reports
+ *
+ *  Extended input reports allow rumble on Bluetooth PS4 controllers, but
+ *  break DirectInput handling for applications that don't use SDL.
+ *
+ *  Once extended reports are enabled, they can not be disabled without
+ *  power cycling the controller.
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE "SDL_JOYSTICK_HIDAPI_PS4_RUMBLE"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for Steam Controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_STEAM "SDL_JOYSTICK_HIDAPI_STEAM"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for Nintendo Switch controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH "SDL_JOYSTICK_HIDAPI_SWITCH"
+
+/**
+ *  \brief  A variable controlling whether the HIDAPI driver for XBox controllers should be used.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - HIDAPI driver is not used
+ *    "1"       - HIDAPI driver is used
+ *
+ *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_XBOX   "SDL_JOYSTICK_HIDAPI_XBOX"
+
+/**
+ *  \brief  A variable that controls whether Steam Controllers should be exposed using the SDL joystick and game controller APIs
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Do not scan for Steam Controllers
+ *    "1"       - Scan for Steam Controllers (the default)
+ *
+ *  The default value is "1".  This hint must be set before initializing the joystick subsystem.
+ */
+#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"
+
+
+/**
+ *  \brief If set to "0" then never set the top most bit on a SDL Window, even if the video mode expects it.
+ *      This is a debugging aid for developers and not expected to be used by end users. The default is "1"
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - don't allow topmost
+ *    "1"       - allow topmost
+ */
+#define SDL_HINT_ALLOW_TOPMOST "SDL_ALLOW_TOPMOST"
+
+/**
+ *  \brief A variable that controls the timer resolution, in milliseconds.
+ *
+ *  The higher resolution the timer, the more frequently the CPU services
+ *  timer interrupts, and the more precise delays are, but this takes up
+ *  power and CPU time.  This hint is only used on Windows 7 and earlier.
+ *
+ *  See this blog post for more information:
+ *  http://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/
+ *
+ *  If this variable is set to "0", the system timer resolution is not set.
+ *
+ *  The default value is "1". This hint may be set at any time.
+ */
+#define SDL_HINT_TIMER_RESOLUTION "SDL_TIMER_RESOLUTION"
+
+
+/**
+ *  \brief  A variable describing the content orientation on QtWayland-based platforms.
+ *
+ *  On QtWayland platforms, windows are rotated client-side to allow for custom
+ *  transitions. In order to correctly position overlays (e.g. volume bar) and
+ *  gestures (e.g. events view, close/minimize gestures), the system needs to
+ *  know in which orientation the application is currently drawing its contents.
+ *
+ *  This does not cause the window to be rotated or resized, the application
+ *  needs to take care of drawing the content in the right orientation (the
+ *  framebuffer is always in portrait mode).
+ *
+ *  This variable can be one of the following values:
+ *    "primary" (default), "portrait", "landscape", "inverted-portrait", "inverted-landscape"
+ */
+#define SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION "SDL_QTWAYLAND_CONTENT_ORIENTATION"
+
+/**
+ *  \brief  Flags to set on QtWayland windows to integrate with the native window manager.
+ *
+ *  On QtWayland platforms, this hint controls the flags to set on the windows.
+ *  For example, on Sailfish OS "OverridesSystemGestures" disables swipe gestures.
+ *
+ *  This variable is a space-separated list of the following values (empty = no flags):
+ *    "OverridesSystemGestures", "StaysOnTop", "BypassWindowManager"
+ */
+#define SDL_HINT_QTWAYLAND_WINDOW_FLAGS "SDL_QTWAYLAND_WINDOW_FLAGS"
+
+/**
+*  \brief  A string specifying SDL's threads stack size in bytes or "0" for the backend's default size
+*
+*  Use this hint in case you need to set SDL's threads stack size to other than the default.
+*  This is specially useful if you build SDL against a non glibc libc library (such as musl) which
+*  provides a relatively small default thread stack size (a few kilobytes versus the default 8MB glibc uses).
+*  Support for this hint is currently available only in the pthread, Windows, and PSP backend.
+*
+*  Instead of this hint, in 2.0.9 and later, you can use
+*  SDL_CreateThreadWithStackSize(). This hint only works with the classic
+*  SDL_CreateThread().
+*/
+#define SDL_HINT_THREAD_STACK_SIZE              "SDL_THREAD_STACK_SIZE"
+
+/**
+ *  \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac and iOS)
+ */
+#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"
+
+/**
+ *  \brief A variable that determines whether ctrl+click should generate a right-click event on Mac
+ *
+ *  If present, holding ctrl while left clicking will generate a right click
+ *  event when on Mac.
+ */
+#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
+
+/**
+*  \brief  A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries
+*
+*  SDL has EGL and OpenGL ES2 support on Windows via the ANGLE project. It
+*  can use two different sets of binaries, those compiled by the user from source
+*  or those provided by the Chrome browser. In the later case, these binaries require
+*  that SDL loads a DLL providing the shader compiler.
+*
+*  This variable can be set to the following values:
+*    "d3dcompiler_46.dll" - default, best for Vista or later.
+*    "d3dcompiler_43.dll" - for XP support.
+*    "none" - do not load any library, useful if you compiled ANGLE from source and included the compiler in your binaries.
+*
+*/
+#define SDL_HINT_VIDEO_WIN_D3DCOMPILER              "SDL_VIDEO_WIN_D3DCOMPILER"
+
+/**
+*  \brief  A variable that is the address of another SDL_Window* (as a hex string formatted with "%p").
+*  
+*  If this hint is set before SDL_CreateWindowFrom() and the SDL_Window* it is set to has
+*  SDL_WINDOW_OPENGL set (and running on WGL only, currently), then two things will occur on the newly 
+*  created SDL_Window:
+*
+*  1. Its pixel format will be set to the same pixel format as this SDL_Window.  This is
+*  needed for example when sharing an OpenGL context across multiple windows.
+*
+*  2. The flag SDL_WINDOW_OPENGL will be set on the new window so it can be used for
+*  OpenGL rendering.
+*
+*  This variable can be set to the following values:
+*    The address (as a string "%p") of the SDL_Window* that new windows created with SDL_CreateWindowFrom() should
+*    share a pixel format with.
+*/
+#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT    "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
+
+/**
+ *  \brief A URL to a WinRT app's privacy policy
+ *
+ *  All network-enabled WinRT apps must make a privacy policy available to its
+ *  users.  On Windows 8, 8.1, and RT, Microsoft mandates that this policy be
+ *  be available in the Windows Settings charm, as accessed from within the app.
+ *  SDL provides code to add a URL-based link there, which can point to the app's
+ *  privacy policy.
+ *
+ *  To setup a URL to an app's privacy policy, set SDL_HINT_WINRT_PRIVACY_POLICY_URL
+ *  before calling any SDL_Init() functions.  The contents of the hint should
+ *  be a valid URL.  For example, "http://www.example.com".
+ *
+ *  The default value is "", which will prevent SDL from adding a privacy policy
+ *  link to the Settings charm.  This hint should only be set during app init.
+ *
+ *  The label text of an app's "Privacy Policy" link may be customized via another
+ *  hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL.
+ *
+ *  Please note that on Windows Phone, Microsoft does not provide standard UI
+ *  for displaying a privacy policy link, and as such, SDL_HINT_WINRT_PRIVACY_POLICY_URL
+ *  will not get used on that platform.  Network-enabled phone apps should display
+ *  their privacy policy through some other, in-app means.
+ */
+#define SDL_HINT_WINRT_PRIVACY_POLICY_URL "SDL_WINRT_PRIVACY_POLICY_URL"
+
+/** \brief Label text for a WinRT app's privacy policy link
+ *
+ *  Network-enabled WinRT apps must include a privacy policy.  On Windows 8, 8.1, and RT,
+ *  Microsoft mandates that this policy be available via the Windows Settings charm.
+ *  SDL provides code to add a link there, with its label text being set via the
+ *  optional hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL.
+ *
+ *  Please note that a privacy policy's contents are not set via this hint.  A separate
+ *  hint, SDL_HINT_WINRT_PRIVACY_POLICY_URL, is used to link to the actual text of the
+ *  policy.
+ *
+ *  The contents of this hint should be encoded as a UTF8 string.
+ *
+ *  The default value is "Privacy Policy".  This hint should only be set during app
+ *  initialization, preferably before any calls to SDL_Init().
+ *
+ *  For additional information on linking to a privacy policy, see the documentation for
+ *  SDL_HINT_WINRT_PRIVACY_POLICY_URL.
+ */
+#define SDL_HINT_WINRT_PRIVACY_POLICY_LABEL "SDL_WINRT_PRIVACY_POLICY_LABEL"
+
+/** \brief Allows back-button-press events on Windows Phone to be marked as handled
+ *
+ *  Windows Phone devices typically feature a Back button.  When pressed,
+ *  the OS will emit back-button-press events, which apps are expected to
+ *  handle in an appropriate manner.  If apps do not explicitly mark these
+ *  events as 'Handled', then the OS will invoke its default behavior for
+ *  unhandled back-button-press events, which on Windows Phone 8 and 8.1 is to
+ *  terminate the app (and attempt to switch to the previous app, or to the
+ *  device's home screen).
+ *
+ *  Setting the SDL_HINT_WINRT_HANDLE_BACK_BUTTON hint to "1" will cause SDL
+ *  to mark back-button-press events as Handled, if and when one is sent to
+ *  the app.
+ *
+ *  Internally, Windows Phone sends back button events as parameters to
+ *  special back-button-press callback functions.  Apps that need to respond
+ *  to back-button-press events are expected to register one or more
+ *  callback functions for such, shortly after being launched (during the
+ *  app's initialization phase).  After the back button is pressed, the OS
+ *  will invoke these callbacks.  If the app's callback(s) do not explicitly
+ *  mark the event as handled by the time they return, or if the app never
+ *  registers one of these callback, the OS will consider the event
+ *  un-handled, and it will apply its default back button behavior (terminate
+ *  the app).
+ *
+ *  SDL registers its own back-button-press callback with the Windows Phone
+ *  OS.  This callback will emit a pair of SDL key-press events (SDL_KEYDOWN
+ *  and SDL_KEYUP), each with a scancode of SDL_SCANCODE_AC_BACK, after which
+ *  it will check the contents of the hint, SDL_HINT_WINRT_HANDLE_BACK_BUTTON.
+ *  If the hint's value is set to "1", the back button event's Handled
+ *  property will get set to 'true'.  If the hint's value is set to something
+ *  else, or if it is unset, SDL will leave the event's Handled property
+ *  alone.  (By default, the OS sets this property to 'false', to note.)
+ *
+ *  SDL apps can either set SDL_HINT_WINRT_HANDLE_BACK_BUTTON well before a
+ *  back button is pressed, or can set it in direct-response to a back button
+ *  being pressed.
+ *
+ *  In order to get notified when a back button is pressed, SDL apps should
+ *  register a callback function with SDL_AddEventWatch(), and have it listen
+ *  for SDL_KEYDOWN events that have a scancode of SDL_SCANCODE_AC_BACK.
+ *  (Alternatively, SDL_KEYUP events can be listened-for.  Listening for
+ *  either event type is suitable.)  Any value of SDL_HINT_WINRT_HANDLE_BACK_BUTTON
+ *  set by such a callback, will be applied to the OS' current
+ *  back-button-press event.
+ *
+ *  More details on back button behavior in Windows Phone apps can be found
+ *  at the following page, on Microsoft's developer site:
+ *  http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj247550(v=vs.105).aspx
+ */
+#define SDL_HINT_WINRT_HANDLE_BACK_BUTTON "SDL_WINRT_HANDLE_BACK_BUTTON"
+
+/**
+ *  \brief  A variable that dictates policy for fullscreen Spaces on Mac OS X.
+ *
+ *  This hint only applies to Mac OS X.
+ *
+ *  The variable can be set to the following values:
+ *    "0"       - Disable Spaces support (FULLSCREEN_DESKTOP won't use them and
+ *                SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen"
+ *                button on their titlebars).
+ *    "1"       - Enable Spaces support (FULLSCREEN_DESKTOP will use them and
+ *                SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
+ *                button on their titlebars).
+ *
+ *  The default value is "1". Spaces are disabled regardless of this hint if
+ *   the OS isn't at least Mac OS X Lion (10.7). This hint must be set before
+ *   any windows are created.
+ */
+#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES    "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
+
+/**
+*  \brief  When set don't force the SDL app to become a foreground process
+*
+*  This hint only applies to Mac OS X.
+*
+*/
+#define SDL_HINT_MAC_BACKGROUND_APP    "SDL_MAC_BACKGROUND_APP"
+
+/**
+ * \brief Android APK expansion main file version. Should be a string number like "1", "2" etc.
+ *
+ * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION.
+ *
+ * If both hints were set then SDL_RWFromFile() will look into expansion files
+ * after a given relative path was not found in the internal storage and assets.
+ *
+ * By default this hint is not set and the APK expansion files are not searched.
+ */
+#define SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"
+ 
+/**
+ * \brief Android APK expansion patch file version. Should be a string number like "1", "2" etc.
+ *
+ * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION.
+ *
+ * If both hints were set then SDL_RWFromFile() will look into expansion files
+ * after a given relative path was not found in the internal storage and assets.
+ *
+ * By default this hint is not set and the APK expansion files are not searched.
+ */
+#define SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"
+
+/**
+ * \brief A variable to control whether certain IMEs should handle text editing internally instead of sending SDL_TEXTEDITING events.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL_TEXTEDITING events are sent, and it is the application's
+ *               responsibility to render the text from these events and 
+ *               differentiate it somehow from committed text. (default)
+ *   "1"       - If supported by the IME then SDL_TEXTEDITING events are not sent, 
+ *               and text that is being composed will be rendered in its own UI.
+ */
+#define SDL_HINT_IME_INTERNAL_EDITING "SDL_IME_INTERNAL_EDITING"
+
+/**
+ * \brief A variable to control whether we trap the Android back button to handle it manually.
+ *        This is necessary for the right mouse button to work on some Android devices, or
+ *        to be able to trap the back button for use in your code reliably.  If set to true,
+ *        the back button will show up as an SDL_KEYDOWN / SDL_KEYUP pair with a keycode of 
+ *        SDL_SCANCODE_AC_BACK.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - Back button will be handled as usual for system. (default)
+ *   "1"       - Back button will be trapped, allowing you to handle the key press
+ *               manually.  (This will also let right mouse click work on systems 
+ *               where the right mouse button functions as back.)
+ *
+ * The value of this hint is used at runtime, so it can be changed at any time.
+ */
+#define SDL_HINT_ANDROID_TRAP_BACK_BUTTON "SDL_ANDROID_TRAP_BACK_BUTTON"
+
+/**
+ * \brief A variable to control whether the event loop will block itself when the app is paused.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - Non blocking.
+ *   "1"       - Blocking. (default)
+ *
+ * The value should be set before SDL is initialized.
+ */
+#define SDL_HINT_ANDROID_BLOCK_ON_PAUSE "SDL_ANDROID_BLOCK_ON_PAUSE"
+
+ /**
+ * \brief A variable to control whether the return key on the soft keyboard
+ *        should hide the soft keyboard on Android and iOS.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - The return key will be handled as a key event. This is the behaviour of SDL <= 2.0.3. (default)
+ *   "1"       - The return key will hide the keyboard.
+ *
+ * The value of this hint is used at runtime, so it can be changed at any time.
+ */
+#define SDL_HINT_RETURN_KEY_HIDES_IME "SDL_RETURN_KEY_HIDES_IME"
+
+/**
+ *  \brief override the binding element for keyboard inputs for Emscripten builds
+ *
+ * This hint only applies to the emscripten platform
+ *
+ * The variable can be one of
+ *    "#window"      - The javascript window object (this is the default)
+ *    "#document"    - The javascript document object
+ *    "#screen"      - the javascript window.screen object
+ *    "#canvas"      - the WebGL canvas element
+ *    any other string without a leading # sign applies to the element on the page with that ID.
+ */
+#define SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT   "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT"
+
+/**
+ *  \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
+ *
+ * This hint only applies to Unix-like platforms.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL will install a SIGINT and SIGTERM handler, and when it
+ *               catches a signal, convert it into an SDL_QUIT event.
+ *   "1"       - SDL will not install a signal handler at all.
+ */
+#define SDL_HINT_NO_SIGNAL_HANDLERS   "SDL_NO_SIGNAL_HANDLERS"
+
+/**
+ *  \brief Tell SDL not to generate window-close events for Alt+F4 on Windows.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL will generate a window-close event when it sees Alt+F4.
+ *   "1"       - SDL will only do normal key handling for Alt+F4.
+ */
+#define SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 "SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"
+
+/**
+ *  \brief Prevent SDL from using version 4 of the bitmap header when saving BMPs.
+ *
+ * The bitmap header version 4 is required for proper alpha channel support and
+ * SDL will use it when required. Should this not be desired, this hint can
+ * force the use of the 40 byte header version which is supported everywhere.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - Surfaces with a colorkey or an alpha channel are saved to a
+ *               32-bit BMP file with an alpha mask. SDL will use the bitmap
+ *               header version 4 and set the alpha mask accordingly.
+ *   "1"       - Surfaces with a colorkey or an alpha channel are saved to a
+ *               32-bit BMP file without an alpha mask. The alpha channel data
+ *               will be in the file, but applications are going to ignore it.
+ *
+ * The default value is "0".
+ */
+#define SDL_HINT_BMP_SAVE_LEGACY_FORMAT "SDL_BMP_SAVE_LEGACY_FORMAT"
+
+/**
+ * \brief Tell SDL not to name threads on Windows with the 0x406D1388 Exception.
+ *        The 0x406D1388 Exception is a trick used to inform Visual Studio of a
+ *        thread's name, but it tends to cause problems with other debuggers,
+ *        and the .NET runtime. Note that SDL 2.0.6 and later will still use
+ *        the (safer) SetThreadDescription API, introduced in the Windows 10
+ *        Creators Update, if available.
+ *
+ * The variable can be set to the following values:
+ *   "0"       - SDL will raise the 0x406D1388 Exception to name threads.
+ *               This is the default behavior of SDL <= 2.0.4.
+ *   "1"       - SDL will not raise this exception, and threads will be unnamed. (default)
+ *               This is necessary with .NET languages or debuggers that aren't Visual Studio.
+ */
+#define SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING "SDL_WINDOWS_DISABLE_THREAD_NAMING"
+
+/**
+ * \brief Tell SDL which Dispmanx layer to use on a Raspberry PI
+ *
+ * Also known as Z-order. The variable can take a negative or positive value.
+ * The default is 10000.
+ */
+#define SDL_HINT_RPI_VIDEO_LAYER           "SDL_RPI_VIDEO_LAYER"
+
+/**
+ * \brief Tell the video driver that we only want a double buffer.
+ *
+ * By default, most lowlevel 2D APIs will use a triple buffer scheme that 
+ * wastes no CPU time on waiting for vsync after issuing a flip, but
+ * introduces a frame of latency. On the other hand, using a double buffer
+ * scheme instead is recommended for cases where low latency is an important
+ * factor because we save a whole frame of latency.
+ * We do so by waiting for vsync immediately after issuing a flip, usually just
+ * after eglSwapBuffers call in the backend's *_SwapWindow function.
+ *
+ * Since it's driver-specific, it's only supported where possible and
+ * implemented. Currently supported the following drivers:
+ * - KMSDRM (kmsdrm)
+ * - Raspberry Pi (raspberrypi)
+ */
+#define SDL_HINT_VIDEO_DOUBLE_BUFFER      "SDL_VIDEO_DOUBLE_BUFFER"
+
+/**
+ *  \brief  A variable controlling what driver to use for OpenGL ES contexts.
+ *
+ *  On some platforms, currently Windows and X11, OpenGL drivers may support
+ *  creating contexts with an OpenGL ES profile. By default SDL uses these
+ *  profiles, when available, otherwise it attempts to load an OpenGL ES
+ *  library, e.g. that provided by the ANGLE project. This variable controls
+ *  whether SDL follows this default behaviour or will always load an
+ *  OpenGL ES library.
+ *
+ *  Circumstances where this is useful include
+ *  - Testing an app with a particular OpenGL ES implementation, e.g ANGLE,
+ *    or emulator, e.g. those from ARM, Imagination or Qualcomm.
+ *  - Resolving OpenGL ES function addresses at link time by linking with
+ *    the OpenGL ES library instead of querying them at run time with
+ *    SDL_GL_GetProcAddress().
+ *
+ *  Caution: for an application to work with the default behaviour across
+ *  different OpenGL drivers it must query the OpenGL ES function
+ *  addresses at run time using SDL_GL_GetProcAddress().
+ *
+ *  This variable is ignored on most platforms because OpenGL ES is native
+ *  or not supported.
+ *
+ *  This variable can be set to the following values:
+ *    "0"       - Use ES profile of OpenGL, if available. (Default when not set.)
+ *    "1"       - Load OpenGL ES library using the default library names.
+ *
+ */
+#define SDL_HINT_OPENGL_ES_DRIVER   "SDL_OPENGL_ES_DRIVER"
+
+/**
+ *  \brief  A variable controlling speed/quality tradeoff of audio resampling.
+ *
+ *  If available, SDL can use libsamplerate ( http://www.mega-nerd.com/SRC/ )
+ *  to handle audio resampling. There are different resampling modes available
+ *  that produce different levels of quality, using more CPU.
+ *
+ *  If this hint isn't specified to a valid setting, or libsamplerate isn't
+ *  available, SDL will use the default, internal resampling algorithm.
+ *
+ *  Note that this is currently only applicable to resampling audio that is
+ *  being written to a device for playback or audio being read from a device
+ *  for capture. SDL_AudioCVT always uses the default resampler (although this
+ *  might change for SDL 2.1).
+ *
+ *  This hint is currently only checked at audio subsystem initialization.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "0" or "default" - Use SDL's internal resampling (Default when not set - low quality, fast)
+ *    "1" or "fast"    - Use fast, slightly higher quality resampling, if available
+ *    "2" or "medium"  - Use medium quality resampling, if available
+ *    "3" or "best"    - Use high quality resampling, if available
+ */
+#define SDL_HINT_AUDIO_RESAMPLING_MODE   "SDL_AUDIO_RESAMPLING_MODE"
+
+/**
+ *  \brief  A variable controlling the audio category on iOS and Mac OS X
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "ambient"     - Use the AVAudioSessionCategoryAmbient audio category, will be muted by the phone mute switch (default)
+ *    "playback"    - Use the AVAudioSessionCategoryPlayback category
+ *
+ *  For more information, see Apple's documentation:
+ *  https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html
+ */
+#define SDL_HINT_AUDIO_CATEGORY   "SDL_AUDIO_CATEGORY"
+
+/**
+ *  \brief  A variable controlling whether the 2D render API is compatible or efficient.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "0"     - Don't use batching to make rendering more efficient.
+ *    "1"     - Use batching, but might cause problems if app makes its own direct OpenGL calls.
+ *
+ *  Up to SDL 2.0.9, the render API would draw immediately when requested. Now
+ *  it batches up draw requests and sends them all to the GPU only when forced
+ *  to (during SDL_RenderPresent, when changing render targets, by updating a
+ *  texture that the batch needs, etc). This is significantly more efficient,
+ *  but it can cause problems for apps that expect to render on top of the
+ *  render API's output. As such, SDL will disable batching if a specific
+ *  render backend is requested (since this might indicate that the app is
+ *  planning to use the underlying graphics API directly). This hint can
+ *  be used to explicitly request batching in this instance. It is a contract
+ *  that you will either never use the underlying graphics API directly, or
+ *  if you do, you will call SDL_RenderFlush() before you do so any current
+ *  batch goes to the GPU before your work begins. Not following this contract
+ *  will result in undefined behavior.
+ */
+#define SDL_HINT_RENDER_BATCHING  "SDL_RENDER_BATCHING"
+
+
+/**
+ *  \brief  A variable controlling whether SDL logs all events pushed onto its internal queue.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "0"     - Don't log any events (default)
+ *    "1"     - Log all events except mouse and finger motion, which are pretty spammy.
+ *    "2"     - Log all events.
+ *
+ *  This is generally meant to be used to debug SDL itself, but can be useful
+ *  for application developers that need better visibility into what is going
+ *  on in the event queue. Logged events are sent through SDL_Log(), which
+ *  means by default they appear on stdout on most platforms or maybe
+ *  OutputDebugString() on Windows, and can be funneled by the app with
+ *  SDL_LogSetOutputFunction(), etc.
+ *
+ *  This hint can be toggled on and off at runtime, if you only need to log
+ *  events for a small subset of program execution.
+ */
+#define SDL_HINT_EVENT_LOGGING   "SDL_EVENT_LOGGING"
+
+
+
+/**
+ *  \brief  Controls how the size of the RIFF chunk affects the loading of a WAVE file.
+ *
+ *  The size of the RIFF chunk (which includes all the sub-chunks of the WAVE
+ *  file) is not always reliable. In case the size is wrong, it's possible to
+ *  just ignore it and step through the chunks until a fixed limit is reached.
+ *
+ *  Note that files that have trailing data unrelated to the WAVE file or
+ *  corrupt files may slow down the loading process without a reliable boundary.
+ *  By default, SDL stops after 10000 chunks to prevent wasting time. Use the
+ *  environment variable SDL_WAVE_CHUNK_LIMIT to adjust this value.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "force"        - Always use the RIFF chunk size as a boundary for the chunk search
+ *    "ignorezero"   - Like "force", but a zero size searches up to 4 GiB (default)
+ *    "ignore"       - Ignore the RIFF chunk size and always search up to 4 GiB
+ *    "maximum"      - Search for chunks until the end of file (not recommended)
+ */
+#define SDL_HINT_WAVE_RIFF_CHUNK_SIZE   "SDL_WAVE_RIFF_CHUNK_SIZE"
+
+/**
+ *  \brief  Controls how a truncated WAVE file is handled.
+ *
+ *  A WAVE file is considered truncated if any of the chunks are incomplete or
+ *  the data chunk size is not a multiple of the block size. By default, SDL
+ *  decodes until the first incomplete block, as most applications seem to do.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "verystrict" - Raise an error if the file is truncated
+ *    "strict"     - Like "verystrict", but the size of the RIFF chunk is ignored
+ *    "dropframe"  - Decode until the first incomplete sample frame
+ *    "dropblock"  - Decode until the first incomplete block (default)
+ */
+#define SDL_HINT_WAVE_TRUNCATION   "SDL_WAVE_TRUNCATION"
+
+/**
+ *  \brief  Controls how the fact chunk affects the loading of a WAVE file.
+ *
+ *  The fact chunk stores information about the number of samples of a WAVE
+ *  file. The Standards Update from Microsoft notes that this value can be used
+ *  to 'determine the length of the data in seconds'. This is especially useful
+ *  for compressed formats (for which this is a mandatory chunk) if they produce
+ *  multiple sample frames per block and truncating the block is not allowed.
+ *  The fact chunk can exactly specify how many sample frames there should be
+ *  in this case.
+ *
+ *  Unfortunately, most application seem to ignore the fact chunk and so SDL
+ *  ignores it by default as well.
+ *
+ *  This variable can be set to the following values:
+ *
+ *    "truncate"    - Use the number of samples to truncate the wave data if
+ *                    the fact chunk is present and valid
+ *    "strict"      - Like "truncate", but raise an error if the fact chunk
+ *                    is invalid, not present for non-PCM formats, or if the
+ *                    data chunk doesn't have that many samples
+ *    "ignorezero"  - Like "truncate", but ignore fact chunk if the number of
+ *                    samples is zero
+ *    "ignore"      - Ignore fact chunk entirely (default)
+ */
+#define SDL_HINT_WAVE_FACT_CHUNK   "SDL_WAVE_FACT_CHUNK"
+
+/**
+ *  \brief  An enumeration of hint priorities
+ */
+typedef enum
+{
+    SDL_HINT_DEFAULT,
+    SDL_HINT_NORMAL,
+    SDL_HINT_OVERRIDE
+} SDL_HintPriority;
+
+
+/**
+ *  \brief Set a hint with a specific priority
+ *
+ *  The priority controls the behavior when setting a hint that already
+ *  has a value.  Hints will replace existing hints of their priority and
+ *  lower.  Environment variables are considered to have override priority.
+ *
+ *  \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name,
+                                                         const char *value,
+                                                         SDL_HintPriority priority);
+
+/**
+ *  \brief Set a hint with normal priority
+ *
+ *  \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,
+                                             const char *value);
+
+/**
+ *  \brief Get a hint
+ *
+ *  \return The string value of a hint variable.
+ */
+extern DECLSPEC const char * SDLCALL SDL_GetHint(const char *name);
+
+/**
+ *  \brief Get a hint
+ *
+ *  \return The boolean value of a hint variable.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetHintBoolean(const char *name, SDL_bool default_value);
+
+/**
+ * \brief type definition of the hint callback function.
+ */
+typedef void (SDLCALL *SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue);
+
+/**
+ *  \brief Add a function to watch a particular hint
+ *
+ *  \param name The hint to watch
+ *  \param callback The function to call when the hint value changes
+ *  \param userdata A pointer to pass to the callback function
+ */
+extern DECLSPEC void SDLCALL SDL_AddHintCallback(const char *name,
+                                                 SDL_HintCallback callback,
+                                                 void *userdata);
+
+/**
+ *  \brief Remove a function watching a particular hint
+ *
+ *  \param name The hint being watched
+ *  \param callback The function being called when the hint value changes
+ *  \param userdata A pointer being passed to the callback function
+ */
+extern DECLSPEC void SDLCALL SDL_DelHintCallback(const char *name,
+                                                 SDL_HintCallback callback,
+                                                 void *userdata);
+
+/**
+ *  \brief  Clear all hints
+ *
+ *  This function is called during SDL_Quit() to free stored hints.
+ */
+extern DECLSPEC void SDLCALL SDL_ClearHints(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_hints_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_joystick.h
@@ -1,0 +1,408 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_joystick.h
+ *
+ *  Include file for SDL joystick event handling
+ *
+ * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks(), with the exact joystick
+ *   behind a device_index changing as joysticks are plugged and unplugged.
+ *
+ * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
+ *   then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
+ *
+ * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
+ *   the device (a X360 wired controller for example). This identifier is platform dependent.
+ *
+ *
+ */
+
+#ifndef SDL_joystick_h_
+#define SDL_joystick_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \file SDL_joystick.h
+ *
+ *  In order to use these functions, SDL_Init() must have been called
+ *  with the ::SDL_INIT_JOYSTICK flag.  This causes SDL to scan the system
+ *  for joysticks, and load appropriate drivers.
+ *
+ *  If you would like to receive joystick updates while the application
+ *  is in the background, you should set the following hint before calling
+ *  SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
+ */
+
+/**
+ * The joystick structure used to identify an SDL joystick
+ */
+struct _SDL_Joystick;
+typedef struct _SDL_Joystick SDL_Joystick;
+
+/* A structure that encodes the stable unique id for a joystick device */
+typedef struct {
+    Uint8 data[16];
+} SDL_JoystickGUID;
+
+/**
+ * This is a unique ID for a joystick for the time it is connected to the system,
+ * and is never reused for the lifetime of the application. If the joystick is
+ * disconnected and reconnected, it will get a new ID.
+ *
+ * The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
+ */
+typedef Sint32 SDL_JoystickID;
+
+typedef enum
+{
+    SDL_JOYSTICK_TYPE_UNKNOWN,
+    SDL_JOYSTICK_TYPE_GAMECONTROLLER,
+    SDL_JOYSTICK_TYPE_WHEEL,
+    SDL_JOYSTICK_TYPE_ARCADE_STICK,
+    SDL_JOYSTICK_TYPE_FLIGHT_STICK,
+    SDL_JOYSTICK_TYPE_DANCE_PAD,
+    SDL_JOYSTICK_TYPE_GUITAR,
+    SDL_JOYSTICK_TYPE_DRUM_KIT,
+    SDL_JOYSTICK_TYPE_ARCADE_PAD,
+    SDL_JOYSTICK_TYPE_THROTTLE
+} SDL_JoystickType;
+
+typedef enum
+{
+    SDL_JOYSTICK_POWER_UNKNOWN = -1,
+    SDL_JOYSTICK_POWER_EMPTY,   /* <= 5% */
+    SDL_JOYSTICK_POWER_LOW,     /* <= 20% */
+    SDL_JOYSTICK_POWER_MEDIUM,  /* <= 70% */
+    SDL_JOYSTICK_POWER_FULL,    /* <= 100% */
+    SDL_JOYSTICK_POWER_WIRED,
+    SDL_JOYSTICK_POWER_MAX
+} SDL_JoystickPowerLevel;
+
+/* Function prototypes */
+
+/**
+ * Locking for multi-threaded access to the joystick API
+ *
+ * If you are using the joystick API or handling events from multiple threads
+ * you should use these locking functions to protect access to the joysticks.
+ *
+ * In particular, you are guaranteed that the joystick list won't change, so
+ * the API functions that take a joystick index will be valid, and joystick
+ * and game controller events will not be delivered.
+ */
+extern DECLSPEC void SDLCALL SDL_LockJoysticks(void);
+extern DECLSPEC void SDLCALL SDL_UnlockJoysticks(void);
+
+/**
+ *  Count the number of joysticks attached to the system right now
+ */
+extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);
+
+/**
+ *  Get the implementation dependent name of a joystick.
+ *  This can be called before any joysticks are opened.
+ *  If no name can be found, this function returns NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
+
+/**
+ *  Get the player index of a joystick, or -1 if it's not available
+ *  This can be called before any joysticks are opened.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickGetDevicePlayerIndex(int device_index);
+
+/**
+ *  Return the GUID for the joystick at this index
+ *  This can be called before any joysticks are opened.
+ */
+extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_index);
+
+/**
+ *  Get the USB vendor ID of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ *  If the vendor ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceVendor(int device_index);
+
+/**
+ *  Get the USB product ID of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ *  If the product ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProduct(int device_index);
+
+/**
+ *  Get the product version of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ *  If the product version isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProductVersion(int device_index);
+
+/**
+ *  Get the type of a joystick, if available.
+ *  This can be called before any joysticks are opened.
+ */
+extern DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetDeviceType(int device_index);
+
+/**
+ *  Get the instance ID of a joystick.
+ *  This can be called before any joysticks are opened.
+ *  If the index is out of range, this function will return -1.
+ */
+extern DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickGetDeviceInstanceID(int device_index);
+
+/**
+ *  Open a joystick for use.
+ *  The index passed as an argument refers to the N'th joystick on the system.
+ *  This index is not the value which will identify this joystick in future
+ *  joystick events.  The joystick's instance id (::SDL_JoystickID) will be used
+ *  there instead.
+ *
+ *  \return A joystick identifier, or NULL if an error occurred.
+ */
+extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index);
+
+/**
+ * Return the SDL_Joystick associated with an instance id.
+ */
+extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickFromInstanceID(SDL_JoystickID joyid);
+
+/**
+ *  Return the name for this currently opened joystick.
+ *  If no name can be found, this function returns NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick * joystick);
+
+/**
+ *  Get the player index of an opened joystick, or -1 if it's not available
+ *
+ *  For XInput controllers this returns the XInput user index.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickGetPlayerIndex(SDL_Joystick * joystick);
+
+/**
+ *  Return the GUID for this opened joystick
+ */
+extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick);
+
+/**
+ *  Get the USB vendor ID of an opened joystick, if available.
+ *  If the vendor ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetVendor(SDL_Joystick * joystick);
+
+/**
+ *  Get the USB product ID of an opened joystick, if available.
+ *  If the product ID isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProduct(SDL_Joystick * joystick);
+
+/**
+ *  Get the product version of an opened joystick, if available.
+ *  If the product version isn't available this function returns 0.
+ */
+extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick * joystick);
+
+/**
+ *  Get the type of an opened joystick.
+ */
+extern DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetType(SDL_Joystick * joystick);
+
+/**
+ *  Return a string representation for this guid. pszGUID must point to at least 33 bytes
+ *  (32 for the string plus a NULL terminator).
+ */
+extern DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
+
+/**
+ *  Convert a string into a joystick guid
+ */
+extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);
+
+/**
+ *  Returns SDL_TRUE if the joystick has been opened and currently connected, or SDL_FALSE if it has not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAttached(SDL_Joystick * joystick);
+
+/**
+ *  Get the instance ID of an opened joystick or -1 if the joystick is invalid.
+ */
+extern DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickInstanceID(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of general axis controls on a joystick.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of trackballs on a joystick.
+ *
+ *  Joystick trackballs have only relative motion events associated
+ *  with them and their state cannot be polled.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of POV hats on a joystick.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick * joystick);
+
+/**
+ *  Get the number of buttons on a joystick.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick * joystick);
+
+/**
+ *  Update the current state of the open joysticks.
+ *
+ *  This is called automatically by the event loop if any joystick
+ *  events are enabled.
+ */
+extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void);
+
+/**
+ *  Enable/disable joystick event polling.
+ *
+ *  If joystick events are disabled, you must call SDL_JoystickUpdate()
+ *  yourself and check the state of the joystick when you want joystick
+ *  information.
+ *
+ *  The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickEventState(int state);
+
+#define SDL_JOYSTICK_AXIS_MAX   32767
+#define SDL_JOYSTICK_AXIS_MIN   -32768
+/**
+ *  Get the current state of an axis control on a joystick.
+ *
+ *  The state is a value ranging from -32768 to 32767.
+ *
+ *  The axis indices start at index 0.
+ */
+extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick * joystick,
+                                                   int axis);
+
+/**
+ *  Get the initial state of an axis control on a joystick.
+ *
+ *  The state is a value ranging from -32768 to 32767.
+ *
+ *  The axis indices start at index 0.
+ *
+ *  \return SDL_TRUE if this axis has any initial value, or SDL_FALSE if not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAxisInitialState(SDL_Joystick * joystick,
+                                                   int axis, Sint16 *state);
+
+/**
+ *  \name Hat positions
+ */
+/* @{ */
+#define SDL_HAT_CENTERED    0x00
+#define SDL_HAT_UP          0x01
+#define SDL_HAT_RIGHT       0x02
+#define SDL_HAT_DOWN        0x04
+#define SDL_HAT_LEFT        0x08
+#define SDL_HAT_RIGHTUP     (SDL_HAT_RIGHT|SDL_HAT_UP)
+#define SDL_HAT_RIGHTDOWN   (SDL_HAT_RIGHT|SDL_HAT_DOWN)
+#define SDL_HAT_LEFTUP      (SDL_HAT_LEFT|SDL_HAT_UP)
+#define SDL_HAT_LEFTDOWN    (SDL_HAT_LEFT|SDL_HAT_DOWN)
+/* @} */
+
+/**
+ *  Get the current state of a POV hat on a joystick.
+ *
+ *  The hat indices start at index 0.
+ *
+ *  \return The return value is one of the following positions:
+ *           - ::SDL_HAT_CENTERED
+ *           - ::SDL_HAT_UP
+ *           - ::SDL_HAT_RIGHT
+ *           - ::SDL_HAT_DOWN
+ *           - ::SDL_HAT_LEFT
+ *           - ::SDL_HAT_RIGHTUP
+ *           - ::SDL_HAT_RIGHTDOWN
+ *           - ::SDL_HAT_LEFTUP
+ *           - ::SDL_HAT_LEFTDOWN
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick * joystick,
+                                                 int hat);
+
+/**
+ *  Get the ball axis change since the last poll.
+ *
+ *  \return 0, or -1 if you passed it invalid parameters.
+ *
+ *  The ball indices start at index 0.
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick * joystick,
+                                                int ball, int *dx, int *dy);
+
+/**
+ *  Get the current state of a button on a joystick.
+ *
+ *  The button indices start at index 0.
+ */
+extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick * joystick,
+                                                    int button);
+
+/**
+ *  Trigger a rumble effect
+ *  Each call to this function cancels any previous rumble effect, and calling it with 0 intensity stops any rumbling.
+ *
+ *  \param joystick The joystick to vibrate
+ *  \param low_frequency_rumble The intensity of the low frequency (left) rumble motor, from 0 to 0xFFFF
+ *  \param high_frequency_rumble The intensity of the high frequency (right) rumble motor, from 0 to 0xFFFF
+ *  \param duration_ms The duration of the rumble effect, in milliseconds
+ *
+ *  \return 0, or -1 if rumble isn't supported on this joystick
+ */
+extern DECLSPEC int SDLCALL SDL_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms);
+
+/**
+ *  Close a joystick previously opened with SDL_JoystickOpen().
+ */
+extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick * joystick);
+
+/**
+ *  Return the battery level of this joystick
+ */
+extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick * joystick);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_joystick_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_keyboard.h
@@ -1,0 +1,217 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_keyboard.h
+ *
+ *  Include file for SDL keyboard event handling
+ */
+
+#ifndef SDL_keyboard_h_
+#define SDL_keyboard_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_keycode.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief The SDL keysym structure, used in key events.
+ *
+ *  \note  If you are looking for translated character input, see the ::SDL_TEXTINPUT event.
+ */
+typedef struct SDL_Keysym
+{
+    SDL_Scancode scancode;      /**< SDL physical key code - see ::SDL_Scancode for details */
+    SDL_Keycode sym;            /**< SDL virtual key code - see ::SDL_Keycode for details */
+    Uint16 mod;                 /**< current key modifiers */
+    Uint32 unused;
+} SDL_Keysym;
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the window which currently has keyboard focus.
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetKeyboardFocus(void);
+
+/**
+ *  \brief Get a snapshot of the current state of the keyboard.
+ *
+ *  \param numkeys if non-NULL, receives the length of the returned array.
+ *
+ *  \return An array of key states. Indexes into this array are obtained by using ::SDL_Scancode values.
+ *
+ *  \b Example:
+ *  \code
+ *  const Uint8 *state = SDL_GetKeyboardState(NULL);
+ *  if ( state[SDL_SCANCODE_RETURN] )   {
+ *      printf("<RETURN> is pressed.\n");
+ *  }
+ *  \endcode
+ */
+extern DECLSPEC const Uint8 *SDLCALL SDL_GetKeyboardState(int *numkeys);
+
+/**
+ *  \brief Get the current key modifier state for the keyboard.
+ */
+extern DECLSPEC SDL_Keymod SDLCALL SDL_GetModState(void);
+
+/**
+ *  \brief Set the current key modifier state for the keyboard.
+ *
+ *  \note This does not change the keyboard state, only the key modifier flags.
+ */
+extern DECLSPEC void SDLCALL SDL_SetModState(SDL_Keymod modstate);
+
+/**
+ *  \brief Get the key code corresponding to the given scancode according
+ *         to the current keyboard layout.
+ *
+ *  See ::SDL_Keycode for details.
+ *
+ *  \sa SDL_GetKeyName()
+ */
+extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode);
+
+/**
+ *  \brief Get the scancode corresponding to the given key code according to the
+ *         current keyboard layout.
+ *
+ *  See ::SDL_Scancode for details.
+ *
+ *  \sa SDL_GetScancodeName()
+ */
+extern DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromKey(SDL_Keycode key);
+
+/**
+ *  \brief Get a human-readable name for a scancode.
+ *
+ *  \return A pointer to the name for the scancode.
+ *          If the scancode doesn't have a name, this function returns
+ *          an empty string ("").
+ *
+ *  \sa SDL_Scancode
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode);
+
+/**
+ *  \brief Get a scancode from a human-readable name
+ *
+ *  \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized
+ *
+ *  \sa SDL_Scancode
+ */
+extern DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromName(const char *name);
+
+/**
+ *  \brief Get a human-readable name for a key.
+ *
+ *  \return A pointer to a UTF-8 string that stays valid at least until the next
+ *          call to this function. If you need it around any longer, you must
+ *          copy it.  If the key doesn't have a name, this function returns an
+ *          empty string ("").
+ *
+ *  \sa SDL_Keycode
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDL_Keycode key);
+
+/**
+ *  \brief Get a key code from a human-readable name
+ *
+ *  \return key code, or SDLK_UNKNOWN if the name wasn't recognized
+ *
+ *  \sa SDL_Keycode
+ */
+extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name);
+
+/**
+ *  \brief Start accepting Unicode text input events.
+ *         This function will show the on-screen keyboard if supported.
+ *
+ *  \sa SDL_StopTextInput()
+ *  \sa SDL_SetTextInputRect()
+ *  \sa SDL_HasScreenKeyboardSupport()
+ */
+extern DECLSPEC void SDLCALL SDL_StartTextInput(void);
+
+/**
+ *  \brief Return whether or not Unicode text input events are enabled.
+ *
+ *  \sa SDL_StartTextInput()
+ *  \sa SDL_StopTextInput()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputActive(void);
+
+/**
+ *  \brief Stop receiving any text input events.
+ *         This function will hide the on-screen keyboard if supported.
+ *
+ *  \sa SDL_StartTextInput()
+ *  \sa SDL_HasScreenKeyboardSupport()
+ */
+extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
+
+/**
+ *  \brief Set the rectangle used to type Unicode text inputs.
+ *         This is used as a hint for IME and on-screen keyboard placement.
+ *
+ *  \sa SDL_StartTextInput()
+ */
+extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect);
+
+/**
+ *  \brief Returns whether the platform has some screen keyboard support.
+ *
+ *  \return SDL_TRUE if some keyboard support is available else SDL_FALSE.
+ *
+ *  \note Not all screen keyboard functions are supported on all platforms.
+ *
+ *  \sa SDL_IsScreenKeyboardShown()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasScreenKeyboardSupport(void);
+
+/**
+ *  \brief Returns whether the screen keyboard is shown for given window.
+ *
+ *  \param window The window for which screen keyboard should be queried.
+ *
+ *  \return SDL_TRUE if screen keyboard is shown else SDL_FALSE.
+ *
+ *  \sa SDL_HasScreenKeyboardSupport()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_keyboard_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_keycode.h
@@ -1,0 +1,349 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_keycode.h
+ *
+ *  Defines constants which identify keyboard keys and modifiers.
+ */
+
+#ifndef SDL_keycode_h_
+#define SDL_keycode_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_scancode.h"
+
+/**
+ *  \brief The SDL virtual key representation.
+ *
+ *  Values of this type are used to represent keyboard keys using the current
+ *  layout of the keyboard.  These values include Unicode values representing
+ *  the unmodified character that would be generated by pressing the key, or
+ *  an SDLK_* constant for those keys that do not generate characters.
+ *
+ *  A special exception is the number keys at the top of the keyboard which
+ *  always map to SDLK_0...SDLK_9, regardless of layout.
+ */
+typedef Sint32 SDL_Keycode;
+
+#define SDLK_SCANCODE_MASK (1<<30)
+#define SDL_SCANCODE_TO_KEYCODE(X)  (X | SDLK_SCANCODE_MASK)
+
+enum
+{
+    SDLK_UNKNOWN = 0,
+
+    SDLK_RETURN = '\r',
+    SDLK_ESCAPE = '\033',
+    SDLK_BACKSPACE = '\b',
+    SDLK_TAB = '\t',
+    SDLK_SPACE = ' ',
+    SDLK_EXCLAIM = '!',
+    SDLK_QUOTEDBL = '"',
+    SDLK_HASH = '#',
+    SDLK_PERCENT = '%',
+    SDLK_DOLLAR = '$',
+    SDLK_AMPERSAND = '&',
+    SDLK_QUOTE = '\'',
+    SDLK_LEFTPAREN = '(',
+    SDLK_RIGHTPAREN = ')',
+    SDLK_ASTERISK = '*',
+    SDLK_PLUS = '+',
+    SDLK_COMMA = ',',
+    SDLK_MINUS = '-',
+    SDLK_PERIOD = '.',
+    SDLK_SLASH = '/',
+    SDLK_0 = '0',
+    SDLK_1 = '1',
+    SDLK_2 = '2',
+    SDLK_3 = '3',
+    SDLK_4 = '4',
+    SDLK_5 = '5',
+    SDLK_6 = '6',
+    SDLK_7 = '7',
+    SDLK_8 = '8',
+    SDLK_9 = '9',
+    SDLK_COLON = ':',
+    SDLK_SEMICOLON = ';',
+    SDLK_LESS = '<',
+    SDLK_EQUALS = '=',
+    SDLK_GREATER = '>',
+    SDLK_QUESTION = '?',
+    SDLK_AT = '@',
+    /*
+       Skip uppercase letters
+     */
+    SDLK_LEFTBRACKET = '[',
+    SDLK_BACKSLASH = '\\',
+    SDLK_RIGHTBRACKET = ']',
+    SDLK_CARET = '^',
+    SDLK_UNDERSCORE = '_',
+    SDLK_BACKQUOTE = '`',
+    SDLK_a = 'a',
+    SDLK_b = 'b',
+    SDLK_c = 'c',
+    SDLK_d = 'd',
+    SDLK_e = 'e',
+    SDLK_f = 'f',
+    SDLK_g = 'g',
+    SDLK_h = 'h',
+    SDLK_i = 'i',
+    SDLK_j = 'j',
+    SDLK_k = 'k',
+    SDLK_l = 'l',
+    SDLK_m = 'm',
+    SDLK_n = 'n',
+    SDLK_o = 'o',
+    SDLK_p = 'p',
+    SDLK_q = 'q',
+    SDLK_r = 'r',
+    SDLK_s = 's',
+    SDLK_t = 't',
+    SDLK_u = 'u',
+    SDLK_v = 'v',
+    SDLK_w = 'w',
+    SDLK_x = 'x',
+    SDLK_y = 'y',
+    SDLK_z = 'z',
+
+    SDLK_CAPSLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK),
+
+    SDLK_F1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1),
+    SDLK_F2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2),
+    SDLK_F3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3),
+    SDLK_F4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4),
+    SDLK_F5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5),
+    SDLK_F6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6),
+    SDLK_F7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7),
+    SDLK_F8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8),
+    SDLK_F9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9),
+    SDLK_F10 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10),
+    SDLK_F11 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11),
+    SDLK_F12 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12),
+
+    SDLK_PRINTSCREEN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN),
+    SDLK_SCROLLLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK),
+    SDLK_PAUSE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE),
+    SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT),
+    SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME),
+    SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP),
+    SDLK_DELETE = '\177',
+    SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END),
+    SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN),
+    SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT),
+    SDLK_LEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT),
+    SDLK_DOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN),
+    SDLK_UP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP),
+
+    SDLK_NUMLOCKCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR),
+    SDLK_KP_DIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE),
+    SDLK_KP_MULTIPLY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY),
+    SDLK_KP_MINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS),
+    SDLK_KP_PLUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS),
+    SDLK_KP_ENTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER),
+    SDLK_KP_1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1),
+    SDLK_KP_2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2),
+    SDLK_KP_3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3),
+    SDLK_KP_4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4),
+    SDLK_KP_5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5),
+    SDLK_KP_6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6),
+    SDLK_KP_7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7),
+    SDLK_KP_8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8),
+    SDLK_KP_9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9),
+    SDLK_KP_0 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0),
+    SDLK_KP_PERIOD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD),
+
+    SDLK_APPLICATION = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION),
+    SDLK_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER),
+    SDLK_KP_EQUALS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS),
+    SDLK_F13 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13),
+    SDLK_F14 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14),
+    SDLK_F15 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15),
+    SDLK_F16 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16),
+    SDLK_F17 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17),
+    SDLK_F18 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18),
+    SDLK_F19 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19),
+    SDLK_F20 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20),
+    SDLK_F21 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21),
+    SDLK_F22 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22),
+    SDLK_F23 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23),
+    SDLK_F24 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24),
+    SDLK_EXECUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE),
+    SDLK_HELP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP),
+    SDLK_MENU = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU),
+    SDLK_SELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT),
+    SDLK_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP),
+    SDLK_AGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN),
+    SDLK_UNDO = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO),
+    SDLK_CUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT),
+    SDLK_COPY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY),
+    SDLK_PASTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE),
+    SDLK_FIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND),
+    SDLK_MUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE),
+    SDLK_VOLUMEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP),
+    SDLK_VOLUMEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN),
+    SDLK_KP_COMMA = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA),
+    SDLK_KP_EQUALSAS400 =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALSAS400),
+
+    SDLK_ALTERASE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE),
+    SDLK_SYSREQ = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ),
+    SDLK_CANCEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL),
+    SDLK_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR),
+    SDLK_PRIOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR),
+    SDLK_RETURN2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2),
+    SDLK_SEPARATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR),
+    SDLK_OUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT),
+    SDLK_OPER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER),
+    SDLK_CLEARAGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN),
+    SDLK_CRSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL),
+    SDLK_EXSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL),
+
+    SDLK_KP_00 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00),
+    SDLK_KP_000 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000),
+    SDLK_THOUSANDSSEPARATOR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_THOUSANDSSEPARATOR),
+    SDLK_DECIMALSEPARATOR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DECIMALSEPARATOR),
+    SDLK_CURRENCYUNIT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT),
+    SDLK_CURRENCYSUBUNIT =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYSUBUNIT),
+    SDLK_KP_LEFTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN),
+    SDLK_KP_RIGHTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN),
+    SDLK_KP_LEFTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE),
+    SDLK_KP_RIGHTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE),
+    SDLK_KP_TAB = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB),
+    SDLK_KP_BACKSPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE),
+    SDLK_KP_A = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A),
+    SDLK_KP_B = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B),
+    SDLK_KP_C = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C),
+    SDLK_KP_D = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D),
+    SDLK_KP_E = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E),
+    SDLK_KP_F = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F),
+    SDLK_KP_XOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR),
+    SDLK_KP_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER),
+    SDLK_KP_PERCENT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT),
+    SDLK_KP_LESS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS),
+    SDLK_KP_GREATER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER),
+    SDLK_KP_AMPERSAND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND),
+    SDLK_KP_DBLAMPERSAND =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLAMPERSAND),
+    SDLK_KP_VERTICALBAR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_VERTICALBAR),
+    SDLK_KP_DBLVERTICALBAR =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLVERTICALBAR),
+    SDLK_KP_COLON = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON),
+    SDLK_KP_HASH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH),
+    SDLK_KP_SPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE),
+    SDLK_KP_AT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT),
+    SDLK_KP_EXCLAM = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM),
+    SDLK_KP_MEMSTORE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE),
+    SDLK_KP_MEMRECALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL),
+    SDLK_KP_MEMCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR),
+    SDLK_KP_MEMADD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD),
+    SDLK_KP_MEMSUBTRACT =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSUBTRACT),
+    SDLK_KP_MEMMULTIPLY =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMMULTIPLY),
+    SDLK_KP_MEMDIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE),
+    SDLK_KP_PLUSMINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS),
+    SDLK_KP_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR),
+    SDLK_KP_CLEARENTRY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY),
+    SDLK_KP_BINARY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY),
+    SDLK_KP_OCTAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL),
+    SDLK_KP_DECIMAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL),
+    SDLK_KP_HEXADECIMAL =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HEXADECIMAL),
+
+    SDLK_LCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL),
+    SDLK_LSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT),
+    SDLK_LALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT),
+    SDLK_LGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI),
+    SDLK_RCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL),
+    SDLK_RSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT),
+    SDLK_RALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT),
+    SDLK_RGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI),
+
+    SDLK_MODE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE),
+
+    SDLK_AUDIONEXT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIONEXT),
+    SDLK_AUDIOPREV = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPREV),
+    SDLK_AUDIOSTOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOSTOP),
+    SDLK_AUDIOPLAY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPLAY),
+    SDLK_AUDIOMUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOMUTE),
+    SDLK_MEDIASELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIASELECT),
+    SDLK_WWW = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WWW),
+    SDLK_MAIL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MAIL),
+    SDLK_CALCULATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALCULATOR),
+    SDLK_COMPUTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COMPUTER),
+    SDLK_AC_SEARCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH),
+    SDLK_AC_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME),
+    SDLK_AC_BACK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK),
+    SDLK_AC_FORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD),
+    SDLK_AC_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP),
+    SDLK_AC_REFRESH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH),
+    SDLK_AC_BOOKMARKS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS),
+
+    SDLK_BRIGHTNESSDOWN =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSDOWN),
+    SDLK_BRIGHTNESSUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSUP),
+    SDLK_DISPLAYSWITCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DISPLAYSWITCH),
+    SDLK_KBDILLUMTOGGLE =
+        SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMTOGGLE),
+    SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN),
+    SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP),
+    SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT),
+    SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP),
+    SDLK_APP1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP1),
+    SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
+
+    SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
+    SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD)
+};
+
+/**
+ * \brief Enumeration of valid key mods (possibly OR'd together).
+ */
+typedef enum
+{
+    KMOD_NONE = 0x0000,
+    KMOD_LSHIFT = 0x0001,
+    KMOD_RSHIFT = 0x0002,
+    KMOD_LCTRL = 0x0040,
+    KMOD_RCTRL = 0x0080,
+    KMOD_LALT = 0x0100,
+    KMOD_RALT = 0x0200,
+    KMOD_LGUI = 0x0400,
+    KMOD_RGUI = 0x0800,
+    KMOD_NUM = 0x1000,
+    KMOD_CAPS = 0x2000,
+    KMOD_MODE = 0x4000,
+    KMOD_RESERVED = 0x8000
+} SDL_Keymod;
+
+#define KMOD_CTRL   (KMOD_LCTRL|KMOD_RCTRL)
+#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
+#define KMOD_ALT    (KMOD_LALT|KMOD_RALT)
+#define KMOD_GUI    (KMOD_LGUI|KMOD_RGUI)
+
+#endif /* SDL_keycode_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_loadso.h
@@ -1,0 +1,81 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_loadso.h
+ *
+ *  System dependent library loading routines
+ *
+ *  Some things to keep in mind:
+ *  \li These functions only work on C function names.  Other languages may
+ *      have name mangling and intrinsic language support that varies from
+ *      compiler to compiler.
+ *  \li Make sure you declare your function pointers with the same calling
+ *      convention as the actual library function.  Your code will crash
+ *      mysteriously if you do not do this.
+ *  \li Avoid namespace collisions.  If you load a symbol from the library,
+ *      it is not defined whether or not it goes into the global symbol
+ *      namespace for the application.  If it does and it conflicts with
+ *      symbols in your code or other shared libraries, you will not get
+ *      the results you expect. :)
+ */
+
+#ifndef SDL_loadso_h_
+#define SDL_loadso_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  This function dynamically loads a shared object and returns a pointer
+ *  to the object handle (or NULL if there was an error).
+ *  The 'sofile' parameter is a system dependent name of the object file.
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadObject(const char *sofile);
+
+/**
+ *  Given an object handle, this function looks up the address of the
+ *  named function in the shared object and returns it.  This address
+ *  is no longer valid after calling SDL_UnloadObject().
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadFunction(void *handle,
+                                               const char *name);
+
+/**
+ *  Unload a shared object from memory.
+ */
+extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_loadso_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_log.h
@@ -1,0 +1,211 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_log.h
+ *
+ *  Simple log messages with categories and priorities.
+ *
+ *  By default logs are quiet, but if you're debugging SDL you might want:
+ *
+ *      SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);
+ *
+ *  Here's where the messages go on different platforms:
+ *      Windows: debug output stream
+ *      Android: log output
+ *      Others: standard error output (stderr)
+ */
+
+#ifndef SDL_log_h_
+#define SDL_log_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/**
+ *  \brief The maximum size of a log message
+ *
+ *  Messages longer than the maximum size will be truncated
+ */
+#define SDL_MAX_LOG_MESSAGE 4096
+
+/**
+ *  \brief The predefined log categories
+ *
+ *  By default the application category is enabled at the INFO level,
+ *  the assert category is enabled at the WARN level, test is enabled
+ *  at the VERBOSE level and all other categories are enabled at the
+ *  CRITICAL level.
+ */
+enum
+{
+    SDL_LOG_CATEGORY_APPLICATION,
+    SDL_LOG_CATEGORY_ERROR,
+    SDL_LOG_CATEGORY_ASSERT,
+    SDL_LOG_CATEGORY_SYSTEM,
+    SDL_LOG_CATEGORY_AUDIO,
+    SDL_LOG_CATEGORY_VIDEO,
+    SDL_LOG_CATEGORY_RENDER,
+    SDL_LOG_CATEGORY_INPUT,
+    SDL_LOG_CATEGORY_TEST,
+
+    /* Reserved for future SDL library use */
+    SDL_LOG_CATEGORY_RESERVED1,
+    SDL_LOG_CATEGORY_RESERVED2,
+    SDL_LOG_CATEGORY_RESERVED3,
+    SDL_LOG_CATEGORY_RESERVED4,
+    SDL_LOG_CATEGORY_RESERVED5,
+    SDL_LOG_CATEGORY_RESERVED6,
+    SDL_LOG_CATEGORY_RESERVED7,
+    SDL_LOG_CATEGORY_RESERVED8,
+    SDL_LOG_CATEGORY_RESERVED9,
+    SDL_LOG_CATEGORY_RESERVED10,
+
+    /* Beyond this point is reserved for application use, e.g.
+       enum {
+           MYAPP_CATEGORY_AWESOME1 = SDL_LOG_CATEGORY_CUSTOM,
+           MYAPP_CATEGORY_AWESOME2,
+           MYAPP_CATEGORY_AWESOME3,
+           ...
+       };
+     */
+    SDL_LOG_CATEGORY_CUSTOM
+};
+
+/**
+ *  \brief The predefined log priorities
+ */
+typedef enum
+{
+    SDL_LOG_PRIORITY_VERBOSE = 1,
+    SDL_LOG_PRIORITY_DEBUG,
+    SDL_LOG_PRIORITY_INFO,
+    SDL_LOG_PRIORITY_WARN,
+    SDL_LOG_PRIORITY_ERROR,
+    SDL_LOG_PRIORITY_CRITICAL,
+    SDL_NUM_LOG_PRIORITIES
+} SDL_LogPriority;
+
+
+/**
+ *  \brief Set the priority of all log categories
+ */
+extern DECLSPEC void SDLCALL SDL_LogSetAllPriority(SDL_LogPriority priority);
+
+/**
+ *  \brief Set the priority of a particular log category
+ */
+extern DECLSPEC void SDLCALL SDL_LogSetPriority(int category,
+                                                SDL_LogPriority priority);
+
+/**
+ *  \brief Get the priority of a particular log category
+ */
+extern DECLSPEC SDL_LogPriority SDLCALL SDL_LogGetPriority(int category);
+
+/**
+ *  \brief Reset all priorities to default.
+ *
+ *  \note This is called in SDL_Quit().
+ */
+extern DECLSPEC void SDLCALL SDL_LogResetPriorities(void);
+
+/**
+ *  \brief Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO
+ */
+extern DECLSPEC void SDLCALL SDL_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_VERBOSE
+ */
+extern DECLSPEC void SDLCALL SDL_LogVerbose(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_DEBUG
+ */
+extern DECLSPEC void SDLCALL SDL_LogDebug(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_INFO
+ */
+extern DECLSPEC void SDLCALL SDL_LogInfo(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_WARN
+ */
+extern DECLSPEC void SDLCALL SDL_LogWarn(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_ERROR
+ */
+extern DECLSPEC void SDLCALL SDL_LogError(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with SDL_LOG_PRIORITY_CRITICAL
+ */
+extern DECLSPEC void SDLCALL SDL_LogCritical(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ *  \brief Log a message with the specified category and priority.
+ */
+extern DECLSPEC void SDLCALL SDL_LogMessage(int category,
+                                            SDL_LogPriority priority,
+                                            SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(3);
+
+/**
+ *  \brief Log a message with the specified category and priority.
+ */
+extern DECLSPEC void SDLCALL SDL_LogMessageV(int category,
+                                             SDL_LogPriority priority,
+                                             const char *fmt, va_list ap);
+
+/**
+ *  \brief The prototype for the log output function
+ */
+typedef void (SDLCALL *SDL_LogOutputFunction)(void *userdata, int category, SDL_LogPriority priority, const char *message);
+
+/**
+ *  \brief Get the current log output function.
+ */
+extern DECLSPEC void SDLCALL SDL_LogGetOutputFunction(SDL_LogOutputFunction *callback, void **userdata);
+
+/**
+ *  \brief This function allows you to replace the default log output
+ *         function with one of your own.
+ */
+extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_log_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_main.h
@@ -1,0 +1,180 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_main_h_
+#define SDL_main_h_
+
+#include "SDL_stdinc.h"
+
+/**
+ *  \file SDL_main.h
+ *
+ *  Redefine main() on some platforms so that it is called by SDL.
+ */
+
+#ifndef SDL_MAIN_HANDLED
+#if defined(__WIN32__)
+/* On Windows SDL provides WinMain(), which parses the command line and passes
+   the arguments to your main function.
+
+   If you provide your own WinMain(), you may define SDL_MAIN_HANDLED
+ */
+#define SDL_MAIN_AVAILABLE
+
+#elif defined(__WINRT__)
+/* On WinRT, SDL provides a main function that initializes CoreApplication,
+   creating an instance of IFrameworkView in the process.
+
+   Please note that #include'ing SDL_main.h is not enough to get a main()
+   function working.  In non-XAML apps, the file,
+   src/main/winrt/SDL_WinRT_main_NonXAML.cpp, or a copy of it, must be compiled
+   into the app itself.  In XAML apps, the function, SDL_WinRTRunApp must be
+   called, with a pointer to the Direct3D-hosted XAML control passed in.
+*/
+#define SDL_MAIN_NEEDED
+
+#elif defined(__IPHONEOS__)
+/* On iOS SDL provides a main function that creates an application delegate
+   and starts the iOS application run loop.
+
+   If you link with SDL dynamically on iOS, the main function can't be in a
+   shared library, so you need to link with libSDLmain.a, which includes a
+   stub main function that calls into the shared library to start execution.
+
+   See src/video/uikit/SDL_uikitappdelegate.m for more details.
+ */
+#define SDL_MAIN_NEEDED
+
+#elif defined(__ANDROID__)
+/* On Android SDL provides a Java class in SDLActivity.java that is the
+   main activity entry point.
+
+   See docs/README-android.md for more details on extending that class.
+ */
+#define SDL_MAIN_NEEDED
+
+/* We need to export SDL_main so it can be launched from Java */
+#define SDLMAIN_DECLSPEC    DECLSPEC
+
+#elif defined(__NACL__)
+/* On NACL we use ppapi_simple to set up the application helper code,
+   then wait for the first PSE_INSTANCE_DIDCHANGEVIEW event before 
+   starting the user main function.
+   All user code is run in a separate thread by ppapi_simple, thus 
+   allowing for blocking io to take place via nacl_io
+*/
+#define SDL_MAIN_NEEDED
+
+#endif
+#endif /* SDL_MAIN_HANDLED */
+
+#ifndef SDLMAIN_DECLSPEC
+#define SDLMAIN_DECLSPEC
+#endif
+
+/**
+ *  \file SDL_main.h
+ *
+ *  The application's main() function must be called with C linkage,
+ *  and should be declared like this:
+ *  \code
+ *  #ifdef __cplusplus
+ *  extern "C"
+ *  #endif
+ *  int main(int argc, char *argv[])
+ *  {
+ *  }
+ *  \endcode
+ */
+
+#if defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE)
+#define main    SDL_main
+#endif
+
+#include "begin_code.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  The prototype for the application's main() function
+ */
+typedef int (*SDL_main_func)(int argc, char *argv[]);
+extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]);
+
+
+/**
+ *  This is called by the real SDL main function to let the rest of the
+ *  library know that initialization was done properly.
+ *
+ *  Calling this yourself without knowing what you're doing can cause
+ *  crashes and hard to diagnose problems with your application.
+ */
+extern DECLSPEC void SDLCALL SDL_SetMainReady(void);
+
+#ifdef __WIN32__
+
+/**
+ *  This can be called to set the application class at startup
+ */
+extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
+extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
+
+#endif /* __WIN32__ */
+
+
+#ifdef __WINRT__
+
+/**
+ *  \brief Initializes and launches an SDL/WinRT application.
+ *
+ *  \param mainFunction The SDL app's C-style main().
+ *  \param reserved Reserved for future use; should be NULL
+ *  \return 0 on success, -1 on failure.  On failure, use SDL_GetError to retrieve more
+ *      information on the failure.
+ */
+extern DECLSPEC int SDLCALL SDL_WinRTRunApp(SDL_main_func mainFunction, void * reserved);
+
+#endif /* __WINRT__ */
+
+#if defined(__IPHONEOS__)
+
+/**
+ *  \brief Initializes and launches an SDL application.
+ *
+ *  \param argc The argc parameter from the application's main() function
+ *  \param argv The argv parameter from the application's main() function
+ *  \param mainFunction The SDL app's C-style main().
+ *  \return the return value from mainFunction
+ */
+extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_func mainFunction);
+
+#endif /* __IPHONEOS__ */
+
+
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_main_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_messagebox.h
@@ -1,0 +1,144 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_messagebox_h_
+#define SDL_messagebox_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_video.h"      /* For SDL_Window */
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief SDL_MessageBox flags. If supported will display warning icon, etc.
+ */
+typedef enum
+{
+    SDL_MESSAGEBOX_ERROR        = 0x00000010,   /**< error dialog */
+    SDL_MESSAGEBOX_WARNING      = 0x00000020,   /**< warning dialog */
+    SDL_MESSAGEBOX_INFORMATION  = 0x00000040    /**< informational dialog */
+} SDL_MessageBoxFlags;
+
+/**
+ * \brief Flags for SDL_MessageBoxButtonData.
+ */
+typedef enum
+{
+    SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001,  /**< Marks the default button when return is hit */
+    SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002   /**< Marks the default button when escape is hit */
+} SDL_MessageBoxButtonFlags;
+
+/**
+ *  \brief Individual button data.
+ */
+typedef struct
+{
+    Uint32 flags;       /**< ::SDL_MessageBoxButtonFlags */
+    int buttonid;       /**< User defined button id (value returned via SDL_ShowMessageBox) */
+    const char * text;  /**< The UTF-8 button text */
+} SDL_MessageBoxButtonData;
+
+/**
+ * \brief RGB value used in a message box color scheme
+ */
+typedef struct
+{
+    Uint8 r, g, b;
+} SDL_MessageBoxColor;
+
+typedef enum
+{
+    SDL_MESSAGEBOX_COLOR_BACKGROUND,
+    SDL_MESSAGEBOX_COLOR_TEXT,
+    SDL_MESSAGEBOX_COLOR_BUTTON_BORDER,
+    SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND,
+    SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED,
+    SDL_MESSAGEBOX_COLOR_MAX
+} SDL_MessageBoxColorType;
+
+/**
+ * \brief A set of colors to use for message box dialogs
+ */
+typedef struct
+{
+    SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX];
+} SDL_MessageBoxColorScheme;
+
+/**
+ *  \brief MessageBox structure containing title, text, window, etc.
+ */
+typedef struct
+{
+    Uint32 flags;                       /**< ::SDL_MessageBoxFlags */
+    SDL_Window *window;                 /**< Parent window, can be NULL */
+    const char *title;                  /**< UTF-8 title */
+    const char *message;                /**< UTF-8 message text */
+
+    int numbuttons;
+    const SDL_MessageBoxButtonData *buttons;
+
+    const SDL_MessageBoxColorScheme *colorScheme;   /**< ::SDL_MessageBoxColorScheme, can be NULL to use system settings */
+} SDL_MessageBoxData;
+
+/**
+ *  \brief Create a modal message box.
+ *
+ *  \param messageboxdata The SDL_MessageBoxData structure with title, text, etc.
+ *  \param buttonid The pointer to which user id of hit button should be copied.
+ *
+ *  \return -1 on error, otherwise 0 and buttonid contains user id of button
+ *          hit or -1 if dialog was closed.
+ *
+ *  \note This function should be called on the thread that created the parent
+ *        window, or on the main thread if the messagebox has no parent.  It will
+ *        block execution of that thread until the user clicks a button or
+ *        closes the messagebox.
+ */
+extern DECLSPEC int SDLCALL SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
+
+/**
+ *  \brief Create a simple modal message box
+ *
+ *  \param flags    ::SDL_MessageBoxFlags
+ *  \param title    UTF-8 title text
+ *  \param message  UTF-8 message text
+ *  \param window   The parent window, or NULL for no parent
+ *
+ *  \return 0 on success, -1 on error
+ *
+ *  \sa SDL_ShowMessageBox
+ */
+extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_messagebox_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_mouse.h
@@ -1,0 +1,302 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_mouse.h
+ *
+ *  Include file for SDL mouse event handling.
+ */
+
+#ifndef SDL_mouse_h_
+#define SDL_mouse_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct SDL_Cursor SDL_Cursor;   /**< Implementation dependent */
+
+/**
+ * \brief Cursor types for SDL_CreateSystemCursor().
+ */
+typedef enum
+{
+    SDL_SYSTEM_CURSOR_ARROW,     /**< Arrow */
+    SDL_SYSTEM_CURSOR_IBEAM,     /**< I-beam */
+    SDL_SYSTEM_CURSOR_WAIT,      /**< Wait */
+    SDL_SYSTEM_CURSOR_CROSSHAIR, /**< Crosshair */
+    SDL_SYSTEM_CURSOR_WAITARROW, /**< Small wait cursor (or Wait if not available) */
+    SDL_SYSTEM_CURSOR_SIZENWSE,  /**< Double arrow pointing northwest and southeast */
+    SDL_SYSTEM_CURSOR_SIZENESW,  /**< Double arrow pointing northeast and southwest */
+    SDL_SYSTEM_CURSOR_SIZEWE,    /**< Double arrow pointing west and east */
+    SDL_SYSTEM_CURSOR_SIZENS,    /**< Double arrow pointing north and south */
+    SDL_SYSTEM_CURSOR_SIZEALL,   /**< Four pointed arrow pointing north, south, east, and west */
+    SDL_SYSTEM_CURSOR_NO,        /**< Slashed circle or crossbones */
+    SDL_SYSTEM_CURSOR_HAND,      /**< Hand */
+    SDL_NUM_SYSTEM_CURSORS
+} SDL_SystemCursor;
+
+/**
+ * \brief Scroll direction types for the Scroll event
+ */
+typedef enum
+{
+    SDL_MOUSEWHEEL_NORMAL,    /**< The scroll direction is normal */
+    SDL_MOUSEWHEEL_FLIPPED    /**< The scroll direction is flipped / natural */
+} SDL_MouseWheelDirection;
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the window which currently has mouse focus.
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetMouseFocus(void);
+
+/**
+ *  \brief Retrieve the current state of the mouse.
+ *
+ *  The current button state is returned as a button bitmask, which can
+ *  be tested using the SDL_BUTTON(X) macros, and x and y are set to the
+ *  mouse cursor position relative to the focus window for the currently
+ *  selected mouse.  You can pass NULL for either x or y.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetMouseState(int *x, int *y);
+
+/**
+ *  \brief Get the current state of the mouse, in relation to the desktop
+ *
+ *  This works just like SDL_GetMouseState(), but the coordinates will be
+ *  reported relative to the top-left of the desktop. This can be useful if
+ *  you need to track the mouse outside of a specific window and
+ *  SDL_CaptureMouse() doesn't fit your needs. For example, it could be
+ *  useful if you need to track the mouse while dragging a window, where
+ *  coordinates relative to a window might not be in sync at all times.
+ *
+ *  \note SDL_GetMouseState() returns the mouse position as SDL understands
+ *        it from the last pump of the event queue. This function, however,
+ *        queries the OS for the current mouse position, and as such, might
+ *        be a slightly less efficient function. Unless you know what you're
+ *        doing and have a good reason to use this function, you probably want
+ *        SDL_GetMouseState() instead.
+ *
+ *  \param x Returns the current X coord, relative to the desktop. Can be NULL.
+ *  \param y Returns the current Y coord, relative to the desktop. Can be NULL.
+ *  \return The current button state as a bitmask, which can be tested using the SDL_BUTTON(X) macros.
+ *
+ *  \sa SDL_GetMouseState
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetGlobalMouseState(int *x, int *y);
+
+/**
+ *  \brief Retrieve the relative state of the mouse.
+ *
+ *  The current button state is returned as a button bitmask, which can
+ *  be tested using the SDL_BUTTON(X) macros, and x and y are set to the
+ *  mouse deltas since the last call to SDL_GetRelativeMouseState().
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetRelativeMouseState(int *x, int *y);
+
+/**
+ *  \brief Moves the mouse to the given position within the window.
+ *
+ *  \param window The window to move the mouse into, or NULL for the current mouse focus
+ *  \param x The x coordinate within the window
+ *  \param y The y coordinate within the window
+ *
+ *  \note This function generates a mouse motion event
+ */
+extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_Window * window,
+                                                   int x, int y);
+
+/**
+ *  \brief Moves the mouse to the given position in global screen space.
+ *
+ *  \param x The x coordinate
+ *  \param y The y coordinate
+ *  \return 0 on success, -1 on error (usually: unsupported by a platform).
+ *
+ *  \note This function generates a mouse motion event
+ */
+extern DECLSPEC int SDLCALL SDL_WarpMouseGlobal(int x, int y);
+
+/**
+ *  \brief Set relative mouse mode.
+ *
+ *  \param enabled Whether or not to enable relative mode
+ *
+ *  \return 0 on success, or -1 if relative mode is not supported.
+ *
+ *  While the mouse is in relative mode, the cursor is hidden, and the
+ *  driver will try to report continuous motion in the current window.
+ *  Only relative motion events will be delivered, the mouse position
+ *  will not change.
+ *
+ *  \note This function will flush any pending mouse motion.
+ *
+ *  \sa SDL_GetRelativeMouseMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetRelativeMouseMode(SDL_bool enabled);
+
+/**
+ *  \brief Capture the mouse, to track input outside an SDL window.
+ *
+ *  \param enabled Whether or not to enable capturing
+ *
+ *  Capturing enables your app to obtain mouse events globally, instead of
+ *  just within your window. Not all video targets support this function.
+ *  When capturing is enabled, the current window will get all mouse events,
+ *  but unlike relative mode, no change is made to the cursor and it is
+ *  not restrained to your window.
+ *
+ *  This function may also deny mouse input to other windows--both those in
+ *  your application and others on the system--so you should use this
+ *  function sparingly, and in small bursts. For example, you might want to
+ *  track the mouse while the user is dragging something, until the user
+ *  releases a mouse button. It is not recommended that you capture the mouse
+ *  for long periods of time, such as the entire time your app is running.
+ *
+ *  While captured, mouse events still report coordinates relative to the
+ *  current (foreground) window, but those coordinates may be outside the
+ *  bounds of the window (including negative values). Capturing is only
+ *  allowed for the foreground window. If the window loses focus while
+ *  capturing, the capture will be disabled automatically.
+ *
+ *  While capturing is enabled, the current window will have the
+ *  SDL_WINDOW_MOUSE_CAPTURE flag set.
+ *
+ *  \return 0 on success, or -1 if not supported.
+ */
+extern DECLSPEC int SDLCALL SDL_CaptureMouse(SDL_bool enabled);
+
+/**
+ *  \brief Query whether relative mouse mode is enabled.
+ *
+ *  \sa SDL_SetRelativeMouseMode()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetRelativeMouseMode(void);
+
+/**
+ *  \brief Create a cursor, using the specified bitmap data and
+ *         mask (in MSB format).
+ *
+ *  The cursor width must be a multiple of 8 bits.
+ *
+ *  The cursor is created in black and white according to the following:
+ *  <table>
+ *  <tr><td> data </td><td> mask </td><td> resulting pixel on screen </td></tr>
+ *  <tr><td>  0   </td><td>  1   </td><td> White </td></tr>
+ *  <tr><td>  1   </td><td>  1   </td><td> Black </td></tr>
+ *  <tr><td>  0   </td><td>  0   </td><td> Transparent </td></tr>
+ *  <tr><td>  1   </td><td>  0   </td><td> Inverted color if possible, black
+ *                                         if not. </td></tr>
+ *  </table>
+ *
+ *  \sa SDL_FreeCursor()
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateCursor(const Uint8 * data,
+                                                     const Uint8 * mask,
+                                                     int w, int h, int hot_x,
+                                                     int hot_y);
+
+/**
+ *  \brief Create a color cursor.
+ *
+ *  \sa SDL_FreeCursor()
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateColorCursor(SDL_Surface *surface,
+                                                          int hot_x,
+                                                          int hot_y);
+
+/**
+ *  \brief Create a system cursor.
+ *
+ *  \sa SDL_FreeCursor()
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateSystemCursor(SDL_SystemCursor id);
+
+/**
+ *  \brief Set the active cursor.
+ */
+extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor * cursor);
+
+/**
+ *  \brief Return the active cursor.
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void);
+
+/**
+ *  \brief Return the default cursor.
+ */
+extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetDefaultCursor(void);
+
+/**
+ *  \brief Frees a cursor created with SDL_CreateCursor() or similar functions.
+ *
+ *  \sa SDL_CreateCursor()
+ *  \sa SDL_CreateColorCursor()
+ *  \sa SDL_CreateSystemCursor()
+ */
+extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor * cursor);
+
+/**
+ *  \brief Toggle whether or not the cursor is shown.
+ *
+ *  \param toggle 1 to show the cursor, 0 to hide it, -1 to query the current
+ *                state.
+ *
+ *  \return 1 if the cursor is shown, or 0 if the cursor is hidden.
+ */
+extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle);
+
+/**
+ *  Used as a mask when testing buttons in buttonstate.
+ *   - Button 1:  Left mouse button
+ *   - Button 2:  Middle mouse button
+ *   - Button 3:  Right mouse button
+ */
+#define SDL_BUTTON(X)       (1 << ((X)-1))
+#define SDL_BUTTON_LEFT     1
+#define SDL_BUTTON_MIDDLE   2
+#define SDL_BUTTON_RIGHT    3
+#define SDL_BUTTON_X1       4
+#define SDL_BUTTON_X2       5
+#define SDL_BUTTON_LMASK    SDL_BUTTON(SDL_BUTTON_LEFT)
+#define SDL_BUTTON_MMASK    SDL_BUTTON(SDL_BUTTON_MIDDLE)
+#define SDL_BUTTON_RMASK    SDL_BUTTON(SDL_BUTTON_RIGHT)
+#define SDL_BUTTON_X1MASK   SDL_BUTTON(SDL_BUTTON_X1)
+#define SDL_BUTTON_X2MASK   SDL_BUTTON(SDL_BUTTON_X2)
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_mouse_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_mutex.h
@@ -1,0 +1,251 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_mutex_h_
+#define SDL_mutex_h_
+
+/**
+ *  \file SDL_mutex.h
+ *
+ *  Functions to provide thread synchronization primitives.
+ */
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  Synchronization functions which can time out return this value
+ *  if they time out.
+ */
+#define SDL_MUTEX_TIMEDOUT  1
+
+/**
+ *  This is the timeout value which corresponds to never time out.
+ */
+#define SDL_MUTEX_MAXWAIT   (~(Uint32)0)
+
+
+/**
+ *  \name Mutex functions
+ */
+/* @{ */
+
+/* The SDL mutex structure, defined in SDL_sysmutex.c */
+struct SDL_mutex;
+typedef struct SDL_mutex SDL_mutex;
+
+/**
+ *  Create a mutex, initialized unlocked.
+ */
+extern DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void);
+
+/**
+ *  Lock the mutex.
+ *
+ *  \return 0, or -1 on error.
+ */
+#define SDL_mutexP(m)   SDL_LockMutex(m)
+extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
+
+/**
+ *  Try to lock the mutex
+ *
+ *  \return 0, SDL_MUTEX_TIMEDOUT, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
+
+/**
+ *  Unlock the mutex.
+ *
+ *  \return 0, or -1 on error.
+ *
+ *  \warning It is an error to unlock a mutex that has not been locked by
+ *           the current thread, and doing so results in undefined behavior.
+ */
+#define SDL_mutexV(m)   SDL_UnlockMutex(m)
+extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
+
+/**
+ *  Destroy a mutex.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex);
+
+/* @} *//* Mutex functions */
+
+
+/**
+ *  \name Semaphore functions
+ */
+/* @{ */
+
+/* The SDL semaphore structure, defined in SDL_syssem.c */
+struct SDL_semaphore;
+typedef struct SDL_semaphore SDL_sem;
+
+/**
+ *  Create a semaphore, initialized with value, returns NULL on failure.
+ */
+extern DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value);
+
+/**
+ *  Destroy a semaphore.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem * sem);
+
+/**
+ *  This function suspends the calling thread until the semaphore pointed
+ *  to by \c sem has a positive count. It then atomically decreases the
+ *  semaphore count.
+ */
+extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem * sem);
+
+/**
+ *  Non-blocking variant of SDL_SemWait().
+ *
+ *  \return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait would
+ *          block, and -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem * sem);
+
+/**
+ *  Variant of SDL_SemWait() with a timeout in milliseconds.
+ *
+ *  \return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait does not
+ *          succeed in the allotted time, and -1 on error.
+ *
+ *  \warning On some platforms this function is implemented by looping with a
+ *           delay of 1 ms, and so should be avoided if possible.
+ */
+extern DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem * sem, Uint32 ms);
+
+/**
+ *  Atomically increases the semaphore's count (not blocking).
+ *
+ *  \return 0, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_SemPost(SDL_sem * sem);
+
+/**
+ *  Returns the current count of the semaphore.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem * sem);
+
+/* @} *//* Semaphore functions */
+
+
+/**
+ *  \name Condition variable functions
+ */
+/* @{ */
+
+/* The SDL condition variable structure, defined in SDL_syscond.c */
+struct SDL_cond;
+typedef struct SDL_cond SDL_cond;
+
+/**
+ *  Create a condition variable.
+ *
+ *  Typical use of condition variables:
+ *
+ *  Thread A:
+ *    SDL_LockMutex(lock);
+ *    while ( ! condition ) {
+ *        SDL_CondWait(cond, lock);
+ *    }
+ *    SDL_UnlockMutex(lock);
+ *
+ *  Thread B:
+ *    SDL_LockMutex(lock);
+ *    ...
+ *    condition = true;
+ *    ...
+ *    SDL_CondSignal(cond);
+ *    SDL_UnlockMutex(lock);
+ *
+ *  There is some discussion whether to signal the condition variable
+ *  with the mutex locked or not.  There is some potential performance
+ *  benefit to unlocking first on some platforms, but there are some
+ *  potential race conditions depending on how your code is structured.
+ *
+ *  In general it's safer to signal the condition variable while the
+ *  mutex is locked.
+ */
+extern DECLSPEC SDL_cond *SDLCALL SDL_CreateCond(void);
+
+/**
+ *  Destroy a condition variable.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond * cond);
+
+/**
+ *  Restart one of the threads that are waiting on the condition variable.
+ *
+ *  \return 0 or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond * cond);
+
+/**
+ *  Restart all threads that are waiting on the condition variable.
+ *
+ *  \return 0 or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond * cond);
+
+/**
+ *  Wait on the condition variable, unlocking the provided mutex.
+ *
+ *  \warning The mutex must be locked before entering this function!
+ *
+ *  The mutex is re-locked once the condition variable is signaled.
+ *
+ *  \return 0 when it is signaled, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex);
+
+/**
+ *  Waits for at most \c ms milliseconds, and returns 0 if the condition
+ *  variable is signaled, ::SDL_MUTEX_TIMEDOUT if the condition is not
+ *  signaled in the allotted time, and -1 on error.
+ *
+ *  \warning On some platforms this function is implemented by looping with a
+ *           delay of 1 ms, and so should be avoided if possible.
+ */
+extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond,
+                                                SDL_mutex * mutex, Uint32 ms);
+
+/* @} *//* Condition variable functions */
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_mutex_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_name.h
@@ -1,0 +1,33 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDLname_h_
+#define SDLname_h_
+
+#if defined(__STDC__) || defined(__cplusplus)
+#define NeedFunctionPrototypes 1
+#endif
+
+#define SDL_NAME(X) SDL_##X
+
+#endif /* SDLname_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengl.h
@@ -1,0 +1,2183 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_opengl.h
+ *
+ *  This is a simple file to encapsulate the OpenGL API headers.
+ */
+
+/**
+ *  \def NO_SDL_GLEXT
+ *
+ *  Define this if you have your own version of glext.h and want to disable the
+ *  version included in SDL_opengl.h.
+ */
+
+#ifndef SDL_opengl_h_
+#define SDL_opengl_h_
+
+#include "SDL_config.h"
+
+#ifndef __IPHONEOS__  /* No OpenGL on iOS. */
+
+/*
+ * Mesa 3-D graphics library
+ *
+ * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
+ * Copyright (C) 2009  VMware, Inc.  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
+ * 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.
+ */
+
+
+#ifndef __gl_h_
+#define __gl_h_
+
+#if defined(USE_MGL_NAMESPACE)
+#include "gl_mangle.h"
+#endif
+
+
+/**********************************************************************
+ * Begin system-specific stuff.
+ */
+
+#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__)
+#define __WIN32__
+#endif
+
+#if defined(__WIN32__) && !defined(__CYGWIN__)
+#  if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
+#    define GLAPI __declspec(dllexport)
+#  elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
+#    define GLAPI __declspec(dllimport)
+#  else /* for use with static link lib build of Win32 edition only */
+#    define GLAPI extern
+#  endif /* _STATIC_MESA support */
+#  if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE)  /* The generated DLLs by MingW with STDCALL are not compatible with the ones done by Microsoft's compilers */
+#    define GLAPIENTRY 
+#  else
+#    define GLAPIENTRY __stdcall
+#  endif
+#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
+#  define GLAPI extern
+#  define GLAPIENTRY __stdcall
+#elif defined(__OS2__) || defined(__EMX__) /* native os/2 opengl */
+#  define GLAPI extern
+#  define GLAPIENTRY _System
+#  define APIENTRY _System
+#  if defined(__GNUC__) && !defined(_System)
+#    define _System
+#  endif
+#elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+#  define GLAPI __attribute__((visibility("default")))
+#  define GLAPIENTRY
+#endif /* WIN32 && !CYGWIN */
+
+/*
+ * WINDOWS: Include windows.h here to define APIENTRY.
+ * It is also useful when applications include this file by
+ * including only glut.h, since glut.h depends on windows.h.
+ * Applications needing to include windows.h with parms other
+ * than "WIN32_LEAN_AND_MEAN" may include windows.h before
+ * glut.h or gl.h.
+ */
+#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN 1
+#endif
+#ifndef NOMINMAX   /* don't define min() and max(). */
+#define NOMINMAX
+#endif
+#include <windows.h>
+#endif
+
+#ifndef GLAPI
+#define GLAPI extern
+#endif
+
+#ifndef GLAPIENTRY
+#define GLAPIENTRY
+#endif
+
+#ifndef APIENTRY
+#define APIENTRY GLAPIENTRY
+#endif
+
+/* "P" suffix to be used for a pointer to a function */
+#ifndef APIENTRYP
+#define APIENTRYP APIENTRY *
+#endif
+
+#ifndef GLAPIENTRYP
+#define GLAPIENTRYP GLAPIENTRY *
+#endif
+
+#if defined(PRAGMA_EXPORT_SUPPORTED)
+#pragma export on
+#endif
+
+/*
+ * End system-specific stuff.
+ **********************************************************************/
+
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+#define GL_VERSION_1_1   1
+#define GL_VERSION_1_2   1
+#define GL_VERSION_1_3   1
+#define GL_ARB_imaging   1
+
+
+/*
+ * Datatypes
+ */
+typedef unsigned int	GLenum;
+typedef unsigned char	GLboolean;
+typedef unsigned int	GLbitfield;
+typedef void		GLvoid;
+typedef signed char	GLbyte;		/* 1-byte signed */
+typedef short		GLshort;	/* 2-byte signed */
+typedef int		GLint;		/* 4-byte signed */
+typedef unsigned char	GLubyte;	/* 1-byte unsigned */
+typedef unsigned short	GLushort;	/* 2-byte unsigned */
+typedef unsigned int	GLuint;		/* 4-byte unsigned */
+typedef int		GLsizei;	/* 4-byte signed */
+typedef float		GLfloat;	/* single precision float */
+typedef float		GLclampf;	/* single precision float in [0,1] */
+typedef double		GLdouble;	/* double precision float */
+typedef double		GLclampd;	/* double precision float in [0,1] */
+
+
+
+/*
+ * Constants
+ */
+
+/* Boolean values */
+#define GL_FALSE				0
+#define GL_TRUE					1
+
+/* Data types */
+#define GL_BYTE					0x1400
+#define GL_UNSIGNED_BYTE			0x1401
+#define GL_SHORT				0x1402
+#define GL_UNSIGNED_SHORT			0x1403
+#define GL_INT					0x1404
+#define GL_UNSIGNED_INT				0x1405
+#define GL_FLOAT				0x1406
+#define GL_2_BYTES				0x1407
+#define GL_3_BYTES				0x1408
+#define GL_4_BYTES				0x1409
+#define GL_DOUBLE				0x140A
+
+/* Primitives */
+#define GL_POINTS				0x0000
+#define GL_LINES				0x0001
+#define GL_LINE_LOOP				0x0002
+#define GL_LINE_STRIP				0x0003
+#define GL_TRIANGLES				0x0004
+#define GL_TRIANGLE_STRIP			0x0005
+#define GL_TRIANGLE_FAN				0x0006
+#define GL_QUADS				0x0007
+#define GL_QUAD_STRIP				0x0008
+#define GL_POLYGON				0x0009
+
+/* Vertex Arrays */
+#define GL_VERTEX_ARRAY				0x8074
+#define GL_NORMAL_ARRAY				0x8075
+#define GL_COLOR_ARRAY				0x8076
+#define GL_INDEX_ARRAY				0x8077
+#define GL_TEXTURE_COORD_ARRAY			0x8078
+#define GL_EDGE_FLAG_ARRAY			0x8079
+#define GL_VERTEX_ARRAY_SIZE			0x807A
+#define GL_VERTEX_ARRAY_TYPE			0x807B
+#define GL_VERTEX_ARRAY_STRIDE			0x807C
+#define GL_NORMAL_ARRAY_TYPE			0x807E
+#define GL_NORMAL_ARRAY_STRIDE			0x807F
+#define GL_COLOR_ARRAY_SIZE			0x8081
+#define GL_COLOR_ARRAY_TYPE			0x8082
+#define GL_COLOR_ARRAY_STRIDE			0x8083
+#define GL_INDEX_ARRAY_TYPE			0x8085
+#define GL_INDEX_ARRAY_STRIDE			0x8086
+#define GL_TEXTURE_COORD_ARRAY_SIZE		0x8088
+#define GL_TEXTURE_COORD_ARRAY_TYPE		0x8089
+#define GL_TEXTURE_COORD_ARRAY_STRIDE		0x808A
+#define GL_EDGE_FLAG_ARRAY_STRIDE		0x808C
+#define GL_VERTEX_ARRAY_POINTER			0x808E
+#define GL_NORMAL_ARRAY_POINTER			0x808F
+#define GL_COLOR_ARRAY_POINTER			0x8090
+#define GL_INDEX_ARRAY_POINTER			0x8091
+#define GL_TEXTURE_COORD_ARRAY_POINTER		0x8092
+#define GL_EDGE_FLAG_ARRAY_POINTER		0x8093
+#define GL_V2F					0x2A20
+#define GL_V3F					0x2A21
+#define GL_C4UB_V2F				0x2A22
+#define GL_C4UB_V3F				0x2A23
+#define GL_C3F_V3F				0x2A24
+#define GL_N3F_V3F				0x2A25
+#define GL_C4F_N3F_V3F				0x2A26
+#define GL_T2F_V3F				0x2A27
+#define GL_T4F_V4F				0x2A28
+#define GL_T2F_C4UB_V3F				0x2A29
+#define GL_T2F_C3F_V3F				0x2A2A
+#define GL_T2F_N3F_V3F				0x2A2B
+#define GL_T2F_C4F_N3F_V3F			0x2A2C
+#define GL_T4F_C4F_N3F_V4F			0x2A2D
+
+/* Matrix Mode */
+#define GL_MATRIX_MODE				0x0BA0
+#define GL_MODELVIEW				0x1700
+#define GL_PROJECTION				0x1701
+#define GL_TEXTURE				0x1702
+
+/* Points */
+#define GL_POINT_SMOOTH				0x0B10
+#define GL_POINT_SIZE				0x0B11
+#define GL_POINT_SIZE_GRANULARITY 		0x0B13
+#define GL_POINT_SIZE_RANGE			0x0B12
+
+/* Lines */
+#define GL_LINE_SMOOTH				0x0B20
+#define GL_LINE_STIPPLE				0x0B24
+#define GL_LINE_STIPPLE_PATTERN			0x0B25
+#define GL_LINE_STIPPLE_REPEAT			0x0B26
+#define GL_LINE_WIDTH				0x0B21
+#define GL_LINE_WIDTH_GRANULARITY		0x0B23
+#define GL_LINE_WIDTH_RANGE			0x0B22
+
+/* Polygons */
+#define GL_POINT				0x1B00
+#define GL_LINE					0x1B01
+#define GL_FILL					0x1B02
+#define GL_CW					0x0900
+#define GL_CCW					0x0901
+#define GL_FRONT				0x0404
+#define GL_BACK					0x0405
+#define GL_POLYGON_MODE				0x0B40
+#define GL_POLYGON_SMOOTH			0x0B41
+#define GL_POLYGON_STIPPLE			0x0B42
+#define GL_EDGE_FLAG				0x0B43
+#define GL_CULL_FACE				0x0B44
+#define GL_CULL_FACE_MODE			0x0B45
+#define GL_FRONT_FACE				0x0B46
+#define GL_POLYGON_OFFSET_FACTOR		0x8038
+#define GL_POLYGON_OFFSET_UNITS			0x2A00
+#define GL_POLYGON_OFFSET_POINT			0x2A01
+#define GL_POLYGON_OFFSET_LINE			0x2A02
+#define GL_POLYGON_OFFSET_FILL			0x8037
+
+/* Display Lists */
+#define GL_COMPILE				0x1300
+#define GL_COMPILE_AND_EXECUTE			0x1301
+#define GL_LIST_BASE				0x0B32
+#define GL_LIST_INDEX				0x0B33
+#define GL_LIST_MODE				0x0B30
+
+/* Depth buffer */
+#define GL_NEVER				0x0200
+#define GL_LESS					0x0201
+#define GL_EQUAL				0x0202
+#define GL_LEQUAL				0x0203
+#define GL_GREATER				0x0204
+#define GL_NOTEQUAL				0x0205
+#define GL_GEQUAL				0x0206
+#define GL_ALWAYS				0x0207
+#define GL_DEPTH_TEST				0x0B71
+#define GL_DEPTH_BITS				0x0D56
+#define GL_DEPTH_CLEAR_VALUE			0x0B73
+#define GL_DEPTH_FUNC				0x0B74
+#define GL_DEPTH_RANGE				0x0B70
+#define GL_DEPTH_WRITEMASK			0x0B72
+#define GL_DEPTH_COMPONENT			0x1902
+
+/* Lighting */
+#define GL_LIGHTING				0x0B50
+#define GL_LIGHT0				0x4000
+#define GL_LIGHT1				0x4001
+#define GL_LIGHT2				0x4002
+#define GL_LIGHT3				0x4003
+#define GL_LIGHT4				0x4004
+#define GL_LIGHT5				0x4005
+#define GL_LIGHT6				0x4006
+#define GL_LIGHT7				0x4007
+#define GL_SPOT_EXPONENT			0x1205
+#define GL_SPOT_CUTOFF				0x1206
+#define GL_CONSTANT_ATTENUATION			0x1207
+#define GL_LINEAR_ATTENUATION			0x1208
+#define GL_QUADRATIC_ATTENUATION		0x1209
+#define GL_AMBIENT				0x1200
+#define GL_DIFFUSE				0x1201
+#define GL_SPECULAR				0x1202
+#define GL_SHININESS				0x1601
+#define GL_EMISSION				0x1600
+#define GL_POSITION				0x1203
+#define GL_SPOT_DIRECTION			0x1204
+#define GL_AMBIENT_AND_DIFFUSE			0x1602
+#define GL_COLOR_INDEXES			0x1603
+#define GL_LIGHT_MODEL_TWO_SIDE			0x0B52
+#define GL_LIGHT_MODEL_LOCAL_VIEWER		0x0B51
+#define GL_LIGHT_MODEL_AMBIENT			0x0B53
+#define GL_FRONT_AND_BACK			0x0408
+#define GL_SHADE_MODEL				0x0B54
+#define GL_FLAT					0x1D00
+#define GL_SMOOTH				0x1D01
+#define GL_COLOR_MATERIAL			0x0B57
+#define GL_COLOR_MATERIAL_FACE			0x0B55
+#define GL_COLOR_MATERIAL_PARAMETER		0x0B56
+#define GL_NORMALIZE				0x0BA1
+
+/* User clipping planes */
+#define GL_CLIP_PLANE0				0x3000
+#define GL_CLIP_PLANE1				0x3001
+#define GL_CLIP_PLANE2				0x3002
+#define GL_CLIP_PLANE3				0x3003
+#define GL_CLIP_PLANE4				0x3004
+#define GL_CLIP_PLANE5				0x3005
+
+/* Accumulation buffer */
+#define GL_ACCUM_RED_BITS			0x0D58
+#define GL_ACCUM_GREEN_BITS			0x0D59
+#define GL_ACCUM_BLUE_BITS			0x0D5A
+#define GL_ACCUM_ALPHA_BITS			0x0D5B
+#define GL_ACCUM_CLEAR_VALUE			0x0B80
+#define GL_ACCUM				0x0100
+#define GL_ADD					0x0104
+#define GL_LOAD					0x0101
+#define GL_MULT					0x0103
+#define GL_RETURN				0x0102
+
+/* Alpha testing */
+#define GL_ALPHA_TEST				0x0BC0
+#define GL_ALPHA_TEST_REF			0x0BC2
+#define GL_ALPHA_TEST_FUNC			0x0BC1
+
+/* Blending */
+#define GL_BLEND				0x0BE2
+#define GL_BLEND_SRC				0x0BE1
+#define GL_BLEND_DST				0x0BE0
+#define GL_ZERO					0
+#define GL_ONE					1
+#define GL_SRC_COLOR				0x0300
+#define GL_ONE_MINUS_SRC_COLOR			0x0301
+#define GL_SRC_ALPHA				0x0302
+#define GL_ONE_MINUS_SRC_ALPHA			0x0303
+#define GL_DST_ALPHA				0x0304
+#define GL_ONE_MINUS_DST_ALPHA			0x0305
+#define GL_DST_COLOR				0x0306
+#define GL_ONE_MINUS_DST_COLOR			0x0307
+#define GL_SRC_ALPHA_SATURATE			0x0308
+
+/* Render Mode */
+#define GL_FEEDBACK				0x1C01
+#define GL_RENDER				0x1C00
+#define GL_SELECT				0x1C02
+
+/* Feedback */
+#define GL_2D					0x0600
+#define GL_3D					0x0601
+#define GL_3D_COLOR				0x0602
+#define GL_3D_COLOR_TEXTURE			0x0603
+#define GL_4D_COLOR_TEXTURE			0x0604
+#define GL_POINT_TOKEN				0x0701
+#define GL_LINE_TOKEN				0x0702
+#define GL_LINE_RESET_TOKEN			0x0707
+#define GL_POLYGON_TOKEN			0x0703
+#define GL_BITMAP_TOKEN				0x0704
+#define GL_DRAW_PIXEL_TOKEN			0x0705
+#define GL_COPY_PIXEL_TOKEN			0x0706
+#define GL_PASS_THROUGH_TOKEN			0x0700
+#define GL_FEEDBACK_BUFFER_POINTER		0x0DF0
+#define GL_FEEDBACK_BUFFER_SIZE			0x0DF1
+#define GL_FEEDBACK_BUFFER_TYPE			0x0DF2
+
+/* Selection */
+#define GL_SELECTION_BUFFER_POINTER		0x0DF3
+#define GL_SELECTION_BUFFER_SIZE		0x0DF4
+
+/* Fog */
+#define GL_FOG					0x0B60
+#define GL_FOG_MODE				0x0B65
+#define GL_FOG_DENSITY				0x0B62
+#define GL_FOG_COLOR				0x0B66
+#define GL_FOG_INDEX				0x0B61
+#define GL_FOG_START				0x0B63
+#define GL_FOG_END				0x0B64
+#define GL_LINEAR				0x2601
+#define GL_EXP					0x0800
+#define GL_EXP2					0x0801
+
+/* Logic Ops */
+#define GL_LOGIC_OP				0x0BF1
+#define GL_INDEX_LOGIC_OP			0x0BF1
+#define GL_COLOR_LOGIC_OP			0x0BF2
+#define GL_LOGIC_OP_MODE			0x0BF0
+#define GL_CLEAR				0x1500
+#define GL_SET					0x150F
+#define GL_COPY					0x1503
+#define GL_COPY_INVERTED			0x150C
+#define GL_NOOP					0x1505
+#define GL_INVERT				0x150A
+#define GL_AND					0x1501
+#define GL_NAND					0x150E
+#define GL_OR					0x1507
+#define GL_NOR					0x1508
+#define GL_XOR					0x1506
+#define GL_EQUIV				0x1509
+#define GL_AND_REVERSE				0x1502
+#define GL_AND_INVERTED				0x1504
+#define GL_OR_REVERSE				0x150B
+#define GL_OR_INVERTED				0x150D
+
+/* Stencil */
+#define GL_STENCIL_BITS				0x0D57
+#define GL_STENCIL_TEST				0x0B90
+#define GL_STENCIL_CLEAR_VALUE			0x0B91
+#define GL_STENCIL_FUNC				0x0B92
+#define GL_STENCIL_VALUE_MASK			0x0B93
+#define GL_STENCIL_FAIL				0x0B94
+#define GL_STENCIL_PASS_DEPTH_FAIL		0x0B95
+#define GL_STENCIL_PASS_DEPTH_PASS		0x0B96
+#define GL_STENCIL_REF				0x0B97
+#define GL_STENCIL_WRITEMASK			0x0B98
+#define GL_STENCIL_INDEX			0x1901
+#define GL_KEEP					0x1E00
+#define GL_REPLACE				0x1E01
+#define GL_INCR					0x1E02
+#define GL_DECR					0x1E03
+
+/* Buffers, Pixel Drawing/Reading */
+#define GL_NONE					0
+#define GL_LEFT					0x0406
+#define GL_RIGHT				0x0407
+/*GL_FRONT					0x0404 */
+/*GL_BACK					0x0405 */
+/*GL_FRONT_AND_BACK				0x0408 */
+#define GL_FRONT_LEFT				0x0400
+#define GL_FRONT_RIGHT				0x0401
+#define GL_BACK_LEFT				0x0402
+#define GL_BACK_RIGHT				0x0403
+#define GL_AUX0					0x0409
+#define GL_AUX1					0x040A
+#define GL_AUX2					0x040B
+#define GL_AUX3					0x040C
+#define GL_COLOR_INDEX				0x1900
+#define GL_RED					0x1903
+#define GL_GREEN				0x1904
+#define GL_BLUE					0x1905
+#define GL_ALPHA				0x1906
+#define GL_LUMINANCE				0x1909
+#define GL_LUMINANCE_ALPHA			0x190A
+#define GL_ALPHA_BITS				0x0D55
+#define GL_RED_BITS				0x0D52
+#define GL_GREEN_BITS				0x0D53
+#define GL_BLUE_BITS				0x0D54
+#define GL_INDEX_BITS				0x0D51
+#define GL_SUBPIXEL_BITS			0x0D50
+#define GL_AUX_BUFFERS				0x0C00
+#define GL_READ_BUFFER				0x0C02
+#define GL_DRAW_BUFFER				0x0C01
+#define GL_DOUBLEBUFFER				0x0C32
+#define GL_STEREO				0x0C33
+#define GL_BITMAP				0x1A00
+#define GL_COLOR				0x1800
+#define GL_DEPTH				0x1801
+#define GL_STENCIL				0x1802
+#define GL_DITHER				0x0BD0
+#define GL_RGB					0x1907
+#define GL_RGBA					0x1908
+
+/* Implementation limits */
+#define GL_MAX_LIST_NESTING			0x0B31
+#define GL_MAX_EVAL_ORDER			0x0D30
+#define GL_MAX_LIGHTS				0x0D31
+#define GL_MAX_CLIP_PLANES			0x0D32
+#define GL_MAX_TEXTURE_SIZE			0x0D33
+#define GL_MAX_PIXEL_MAP_TABLE			0x0D34
+#define GL_MAX_ATTRIB_STACK_DEPTH		0x0D35
+#define GL_MAX_MODELVIEW_STACK_DEPTH		0x0D36
+#define GL_MAX_NAME_STACK_DEPTH			0x0D37
+#define GL_MAX_PROJECTION_STACK_DEPTH		0x0D38
+#define GL_MAX_TEXTURE_STACK_DEPTH		0x0D39
+#define GL_MAX_VIEWPORT_DIMS			0x0D3A
+#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH	0x0D3B
+
+/* Gets */
+#define GL_ATTRIB_STACK_DEPTH			0x0BB0
+#define GL_CLIENT_ATTRIB_STACK_DEPTH		0x0BB1
+#define GL_COLOR_CLEAR_VALUE			0x0C22
+#define GL_COLOR_WRITEMASK			0x0C23
+#define GL_CURRENT_INDEX			0x0B01
+#define GL_CURRENT_COLOR			0x0B00
+#define GL_CURRENT_NORMAL			0x0B02
+#define GL_CURRENT_RASTER_COLOR			0x0B04
+#define GL_CURRENT_RASTER_DISTANCE		0x0B09
+#define GL_CURRENT_RASTER_INDEX			0x0B05
+#define GL_CURRENT_RASTER_POSITION		0x0B07
+#define GL_CURRENT_RASTER_TEXTURE_COORDS	0x0B06
+#define GL_CURRENT_RASTER_POSITION_VALID	0x0B08
+#define GL_CURRENT_TEXTURE_COORDS		0x0B03
+#define GL_INDEX_CLEAR_VALUE			0x0C20
+#define GL_INDEX_MODE				0x0C30
+#define GL_INDEX_WRITEMASK			0x0C21
+#define GL_MODELVIEW_MATRIX			0x0BA6
+#define GL_MODELVIEW_STACK_DEPTH		0x0BA3
+#define GL_NAME_STACK_DEPTH			0x0D70
+#define GL_PROJECTION_MATRIX			0x0BA7
+#define GL_PROJECTION_STACK_DEPTH		0x0BA4
+#define GL_RENDER_MODE				0x0C40
+#define GL_RGBA_MODE				0x0C31
+#define GL_TEXTURE_MATRIX			0x0BA8
+#define GL_TEXTURE_STACK_DEPTH			0x0BA5
+#define GL_VIEWPORT				0x0BA2
+
+/* Evaluators */
+#define GL_AUTO_NORMAL				0x0D80
+#define GL_MAP1_COLOR_4				0x0D90
+#define GL_MAP1_INDEX				0x0D91
+#define GL_MAP1_NORMAL				0x0D92
+#define GL_MAP1_TEXTURE_COORD_1			0x0D93
+#define GL_MAP1_TEXTURE_COORD_2			0x0D94
+#define GL_MAP1_TEXTURE_COORD_3			0x0D95
+#define GL_MAP1_TEXTURE_COORD_4			0x0D96
+#define GL_MAP1_VERTEX_3			0x0D97
+#define GL_MAP1_VERTEX_4			0x0D98
+#define GL_MAP2_COLOR_4				0x0DB0
+#define GL_MAP2_INDEX				0x0DB1
+#define GL_MAP2_NORMAL				0x0DB2
+#define GL_MAP2_TEXTURE_COORD_1			0x0DB3
+#define GL_MAP2_TEXTURE_COORD_2			0x0DB4
+#define GL_MAP2_TEXTURE_COORD_3			0x0DB5
+#define GL_MAP2_TEXTURE_COORD_4			0x0DB6
+#define GL_MAP2_VERTEX_3			0x0DB7
+#define GL_MAP2_VERTEX_4			0x0DB8
+#define GL_MAP1_GRID_DOMAIN			0x0DD0
+#define GL_MAP1_GRID_SEGMENTS			0x0DD1
+#define GL_MAP2_GRID_DOMAIN			0x0DD2
+#define GL_MAP2_GRID_SEGMENTS			0x0DD3
+#define GL_COEFF				0x0A00
+#define GL_ORDER				0x0A01
+#define GL_DOMAIN				0x0A02
+
+/* Hints */
+#define GL_PERSPECTIVE_CORRECTION_HINT		0x0C50
+#define GL_POINT_SMOOTH_HINT			0x0C51
+#define GL_LINE_SMOOTH_HINT			0x0C52
+#define GL_POLYGON_SMOOTH_HINT			0x0C53
+#define GL_FOG_HINT				0x0C54
+#define GL_DONT_CARE				0x1100
+#define GL_FASTEST				0x1101
+#define GL_NICEST				0x1102
+
+/* Scissor box */
+#define GL_SCISSOR_BOX				0x0C10
+#define GL_SCISSOR_TEST				0x0C11
+
+/* Pixel Mode / Transfer */
+#define GL_MAP_COLOR				0x0D10
+#define GL_MAP_STENCIL				0x0D11
+#define GL_INDEX_SHIFT				0x0D12
+#define GL_INDEX_OFFSET				0x0D13
+#define GL_RED_SCALE				0x0D14
+#define GL_RED_BIAS				0x0D15
+#define GL_GREEN_SCALE				0x0D18
+#define GL_GREEN_BIAS				0x0D19
+#define GL_BLUE_SCALE				0x0D1A
+#define GL_BLUE_BIAS				0x0D1B
+#define GL_ALPHA_SCALE				0x0D1C
+#define GL_ALPHA_BIAS				0x0D1D
+#define GL_DEPTH_SCALE				0x0D1E
+#define GL_DEPTH_BIAS				0x0D1F
+#define GL_PIXEL_MAP_S_TO_S_SIZE		0x0CB1
+#define GL_PIXEL_MAP_I_TO_I_SIZE		0x0CB0
+#define GL_PIXEL_MAP_I_TO_R_SIZE		0x0CB2
+#define GL_PIXEL_MAP_I_TO_G_SIZE		0x0CB3
+#define GL_PIXEL_MAP_I_TO_B_SIZE		0x0CB4
+#define GL_PIXEL_MAP_I_TO_A_SIZE		0x0CB5
+#define GL_PIXEL_MAP_R_TO_R_SIZE		0x0CB6
+#define GL_PIXEL_MAP_G_TO_G_SIZE		0x0CB7
+#define GL_PIXEL_MAP_B_TO_B_SIZE		0x0CB8
+#define GL_PIXEL_MAP_A_TO_A_SIZE		0x0CB9
+#define GL_PIXEL_MAP_S_TO_S			0x0C71
+#define GL_PIXEL_MAP_I_TO_I			0x0C70
+#define GL_PIXEL_MAP_I_TO_R			0x0C72
+#define GL_PIXEL_MAP_I_TO_G			0x0C73
+#define GL_PIXEL_MAP_I_TO_B			0x0C74
+#define GL_PIXEL_MAP_I_TO_A			0x0C75
+#define GL_PIXEL_MAP_R_TO_R			0x0C76
+#define GL_PIXEL_MAP_G_TO_G			0x0C77
+#define GL_PIXEL_MAP_B_TO_B			0x0C78
+#define GL_PIXEL_MAP_A_TO_A			0x0C79
+#define GL_PACK_ALIGNMENT			0x0D05
+#define GL_PACK_LSB_FIRST			0x0D01
+#define GL_PACK_ROW_LENGTH			0x0D02
+#define GL_PACK_SKIP_PIXELS			0x0D04
+#define GL_PACK_SKIP_ROWS			0x0D03
+#define GL_PACK_SWAP_BYTES			0x0D00
+#define GL_UNPACK_ALIGNMENT			0x0CF5
+#define GL_UNPACK_LSB_FIRST			0x0CF1
+#define GL_UNPACK_ROW_LENGTH			0x0CF2
+#define GL_UNPACK_SKIP_PIXELS			0x0CF4
+#define GL_UNPACK_SKIP_ROWS			0x0CF3
+#define GL_UNPACK_SWAP_BYTES			0x0CF0
+#define GL_ZOOM_X				0x0D16
+#define GL_ZOOM_Y				0x0D17
+
+/* Texture mapping */
+#define GL_TEXTURE_ENV				0x2300
+#define GL_TEXTURE_ENV_MODE			0x2200
+#define GL_TEXTURE_1D				0x0DE0
+#define GL_TEXTURE_2D				0x0DE1
+#define GL_TEXTURE_WRAP_S			0x2802
+#define GL_TEXTURE_WRAP_T			0x2803
+#define GL_TEXTURE_MAG_FILTER			0x2800
+#define GL_TEXTURE_MIN_FILTER			0x2801
+#define GL_TEXTURE_ENV_COLOR			0x2201
+#define GL_TEXTURE_GEN_S			0x0C60
+#define GL_TEXTURE_GEN_T			0x0C61
+#define GL_TEXTURE_GEN_R			0x0C62
+#define GL_TEXTURE_GEN_Q			0x0C63
+#define GL_TEXTURE_GEN_MODE			0x2500
+#define GL_TEXTURE_BORDER_COLOR			0x1004
+#define GL_TEXTURE_WIDTH			0x1000
+#define GL_TEXTURE_HEIGHT			0x1001
+#define GL_TEXTURE_BORDER			0x1005
+#define GL_TEXTURE_COMPONENTS			0x1003
+#define GL_TEXTURE_RED_SIZE			0x805C
+#define GL_TEXTURE_GREEN_SIZE			0x805D
+#define GL_TEXTURE_BLUE_SIZE			0x805E
+#define GL_TEXTURE_ALPHA_SIZE			0x805F
+#define GL_TEXTURE_LUMINANCE_SIZE		0x8060
+#define GL_TEXTURE_INTENSITY_SIZE		0x8061
+#define GL_NEAREST_MIPMAP_NEAREST		0x2700
+#define GL_NEAREST_MIPMAP_LINEAR		0x2702
+#define GL_LINEAR_MIPMAP_NEAREST		0x2701
+#define GL_LINEAR_MIPMAP_LINEAR			0x2703
+#define GL_OBJECT_LINEAR			0x2401
+#define GL_OBJECT_PLANE				0x2501
+#define GL_EYE_LINEAR				0x2400
+#define GL_EYE_PLANE				0x2502
+#define GL_SPHERE_MAP				0x2402
+#define GL_DECAL				0x2101
+#define GL_MODULATE				0x2100
+#define GL_NEAREST				0x2600
+#define GL_REPEAT				0x2901
+#define GL_CLAMP				0x2900
+#define GL_S					0x2000
+#define GL_T					0x2001
+#define GL_R					0x2002
+#define GL_Q					0x2003
+
+/* Utility */
+#define GL_VENDOR				0x1F00
+#define GL_RENDERER				0x1F01
+#define GL_VERSION				0x1F02
+#define GL_EXTENSIONS				0x1F03
+
+/* Errors */
+#define GL_NO_ERROR 				0
+#define GL_INVALID_ENUM				0x0500
+#define GL_INVALID_VALUE			0x0501
+#define GL_INVALID_OPERATION			0x0502
+#define GL_STACK_OVERFLOW			0x0503
+#define GL_STACK_UNDERFLOW			0x0504
+#define GL_OUT_OF_MEMORY			0x0505
+
+/* glPush/PopAttrib bits */
+#define GL_CURRENT_BIT				0x00000001
+#define GL_POINT_BIT				0x00000002
+#define GL_LINE_BIT				0x00000004
+#define GL_POLYGON_BIT				0x00000008
+#define GL_POLYGON_STIPPLE_BIT			0x00000010
+#define GL_PIXEL_MODE_BIT			0x00000020
+#define GL_LIGHTING_BIT				0x00000040
+#define GL_FOG_BIT				0x00000080
+#define GL_DEPTH_BUFFER_BIT			0x00000100
+#define GL_ACCUM_BUFFER_BIT			0x00000200
+#define GL_STENCIL_BUFFER_BIT			0x00000400
+#define GL_VIEWPORT_BIT				0x00000800
+#define GL_TRANSFORM_BIT			0x00001000
+#define GL_ENABLE_BIT				0x00002000
+#define GL_COLOR_BUFFER_BIT			0x00004000
+#define GL_HINT_BIT				0x00008000
+#define GL_EVAL_BIT				0x00010000
+#define GL_LIST_BIT				0x00020000
+#define GL_TEXTURE_BIT				0x00040000
+#define GL_SCISSOR_BIT				0x00080000
+#define GL_ALL_ATTRIB_BITS			0x000FFFFF
+
+
+/* OpenGL 1.1 */
+#define GL_PROXY_TEXTURE_1D			0x8063
+#define GL_PROXY_TEXTURE_2D			0x8064
+#define GL_TEXTURE_PRIORITY			0x8066
+#define GL_TEXTURE_RESIDENT			0x8067
+#define GL_TEXTURE_BINDING_1D			0x8068
+#define GL_TEXTURE_BINDING_2D			0x8069
+#define GL_TEXTURE_INTERNAL_FORMAT		0x1003
+#define GL_ALPHA4				0x803B
+#define GL_ALPHA8				0x803C
+#define GL_ALPHA12				0x803D
+#define GL_ALPHA16				0x803E
+#define GL_LUMINANCE4				0x803F
+#define GL_LUMINANCE8				0x8040
+#define GL_LUMINANCE12				0x8041
+#define GL_LUMINANCE16				0x8042
+#define GL_LUMINANCE4_ALPHA4			0x8043
+#define GL_LUMINANCE6_ALPHA2			0x8044
+#define GL_LUMINANCE8_ALPHA8			0x8045
+#define GL_LUMINANCE12_ALPHA4			0x8046
+#define GL_LUMINANCE12_ALPHA12			0x8047
+#define GL_LUMINANCE16_ALPHA16			0x8048
+#define GL_INTENSITY				0x8049
+#define GL_INTENSITY4				0x804A
+#define GL_INTENSITY8				0x804B
+#define GL_INTENSITY12				0x804C
+#define GL_INTENSITY16				0x804D
+#define GL_R3_G3_B2				0x2A10
+#define GL_RGB4					0x804F
+#define GL_RGB5					0x8050
+#define GL_RGB8					0x8051
+#define GL_RGB10				0x8052
+#define GL_RGB12				0x8053
+#define GL_RGB16				0x8054
+#define GL_RGBA2				0x8055
+#define GL_RGBA4				0x8056
+#define GL_RGB5_A1				0x8057
+#define GL_RGBA8				0x8058
+#define GL_RGB10_A2				0x8059
+#define GL_RGBA12				0x805A
+#define GL_RGBA16				0x805B
+#define GL_CLIENT_PIXEL_STORE_BIT		0x00000001
+#define GL_CLIENT_VERTEX_ARRAY_BIT		0x00000002
+#define GL_ALL_CLIENT_ATTRIB_BITS 		0xFFFFFFFF
+#define GL_CLIENT_ALL_ATTRIB_BITS 		0xFFFFFFFF
+
+
+
+/*
+ * Miscellaneous
+ */
+
+GLAPI void GLAPIENTRY glClearIndex( GLfloat c );
+
+GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
+
+GLAPI void GLAPIENTRY glClear( GLbitfield mask );
+
+GLAPI void GLAPIENTRY glIndexMask( GLuint mask );
+
+GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
+
+GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref );
+
+GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor );
+
+GLAPI void GLAPIENTRY glLogicOp( GLenum opcode );
+
+GLAPI void GLAPIENTRY glCullFace( GLenum mode );
+
+GLAPI void GLAPIENTRY glFrontFace( GLenum mode );
+
+GLAPI void GLAPIENTRY glPointSize( GLfloat size );
+
+GLAPI void GLAPIENTRY glLineWidth( GLfloat width );
+
+GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern );
+
+GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode );
+
+GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units );
+
+GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask );
+
+GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask );
+
+GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag );
+
+GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag );
+
+GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
+
+GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation );
+
+GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation );
+
+GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode );
+
+GLAPI void GLAPIENTRY glReadBuffer( GLenum mode );
+
+GLAPI void GLAPIENTRY glEnable( GLenum cap );
+
+GLAPI void GLAPIENTRY glDisable( GLenum cap );
+
+GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap );
+
+
+GLAPI void GLAPIENTRY glEnableClientState( GLenum cap );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glDisableClientState( GLenum cap );  /* 1.1 */
+
+
+GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params );
+
+GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params );
+
+GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask );
+
+GLAPI void GLAPIENTRY glPopAttrib( void );
+
+
+GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glPopClientAttrib( void );  /* 1.1 */
+
+
+GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode );
+
+GLAPI GLenum GLAPIENTRY glGetError( void );
+
+GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name );
+
+GLAPI void GLAPIENTRY glFinish( void );
+
+GLAPI void GLAPIENTRY glFlush( void );
+
+GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode );
+
+
+/*
+ * Depth Buffer
+ */
+
+GLAPI void GLAPIENTRY glClearDepth( GLclampd depth );
+
+GLAPI void GLAPIENTRY glDepthFunc( GLenum func );
+
+GLAPI void GLAPIENTRY glDepthMask( GLboolean flag );
+
+GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val );
+
+
+/*
+ * Accumulation Buffer
+ */
+
+GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
+
+GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value );
+
+
+/*
+ * Transformation
+ */
+
+GLAPI void GLAPIENTRY glMatrixMode( GLenum mode );
+
+GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right,
+                                 GLdouble bottom, GLdouble top,
+                                 GLdouble near_val, GLdouble far_val );
+
+GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right,
+                                   GLdouble bottom, GLdouble top,
+                                   GLdouble near_val, GLdouble far_val );
+
+GLAPI void GLAPIENTRY glViewport( GLint x, GLint y,
+                                    GLsizei width, GLsizei height );
+
+GLAPI void GLAPIENTRY glPushMatrix( void );
+
+GLAPI void GLAPIENTRY glPopMatrix( void );
+
+GLAPI void GLAPIENTRY glLoadIdentity( void );
+
+GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m );
+GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m );
+
+GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m );
+GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m );
+
+GLAPI void GLAPIENTRY glRotated( GLdouble angle,
+                                   GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glRotatef( GLfloat angle,
+                                   GLfloat x, GLfloat y, GLfloat z );
+
+GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z );
+
+GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z );
+
+
+/*
+ * Display Lists
+ */
+
+GLAPI GLboolean GLAPIENTRY glIsList( GLuint list );
+
+GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range );
+
+GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range );
+
+GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode );
+
+GLAPI void GLAPIENTRY glEndList( void );
+
+GLAPI void GLAPIENTRY glCallList( GLuint list );
+
+GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type,
+                                     const GLvoid *lists );
+
+GLAPI void GLAPIENTRY glListBase( GLuint base );
+
+
+/*
+ * Drawing Functions
+ */
+
+GLAPI void GLAPIENTRY glBegin( GLenum mode );
+
+GLAPI void GLAPIENTRY glEnd( void );
+
+
+GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y );
+GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y );
+GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y );
+GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y );
+
+GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z );
+GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z );
+GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z );
+
+GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
+GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
+GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w );
+GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
+
+GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glVertex2iv( const GLint *v );
+GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glVertex3iv( const GLint *v );
+GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glVertex4iv( const GLint *v );
+GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz );
+GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz );
+GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz );
+GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz );
+GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz );
+
+GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v );
+GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glNormal3iv( const GLint *v );
+GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glIndexd( GLdouble c );
+GLAPI void GLAPIENTRY glIndexf( GLfloat c );
+GLAPI void GLAPIENTRY glIndexi( GLint c );
+GLAPI void GLAPIENTRY glIndexs( GLshort c );
+GLAPI void GLAPIENTRY glIndexub( GLubyte c );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c );
+GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c );
+GLAPI void GLAPIENTRY glIndexiv( const GLint *c );
+GLAPI void GLAPIENTRY glIndexsv( const GLshort *c );
+GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c );  /* 1.1 */
+
+GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue );
+GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue );
+GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue );
+GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue );
+GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue );
+GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue );
+GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue );
+GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue );
+
+GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green,
+                                   GLbyte blue, GLbyte alpha );
+GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green,
+                                   GLdouble blue, GLdouble alpha );
+GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green,
+                                   GLfloat blue, GLfloat alpha );
+GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green,
+                                   GLint blue, GLint alpha );
+GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green,
+                                   GLshort blue, GLshort alpha );
+GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green,
+                                    GLubyte blue, GLubyte alpha );
+GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green,
+                                    GLuint blue, GLuint alpha );
+GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green,
+                                    GLushort blue, GLushort alpha );
+
+
+GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v );
+GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glColor3iv( const GLint *v );
+GLAPI void GLAPIENTRY glColor3sv( const GLshort *v );
+GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v );
+GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v );
+GLAPI void GLAPIENTRY glColor3usv( const GLushort *v );
+
+GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v );
+GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glColor4iv( const GLint *v );
+GLAPI void GLAPIENTRY glColor4sv( const GLshort *v );
+GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v );
+GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v );
+GLAPI void GLAPIENTRY glColor4usv( const GLushort *v );
+
+
+GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s );
+GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s );
+GLAPI void GLAPIENTRY glTexCoord1i( GLint s );
+GLAPI void GLAPIENTRY glTexCoord1s( GLshort s );
+
+GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t );
+GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t );
+GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t );
+GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t );
+
+GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r );
+GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r );
+GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r );
+GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r );
+
+GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
+GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q );
+GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q );
+GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q );
+
+GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v );
+GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y );
+GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y );
+GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y );
+GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y );
+
+GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z );
+GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z );
+GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z );
+GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z );
+
+GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
+GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
+GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w );
+GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w );
+
+GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v );
+GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v );
+GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v );
+
+GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v );
+GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v );
+GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v );
+GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 );
+GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
+GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 );
+GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 );
+
+
+GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 );
+GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 );
+GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 );
+GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 );
+
+
+/*
+ * Vertex Arrays  (1.1)
+ */
+
+GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type,
+                                       GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride,
+                                       const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type,
+                                      GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride,
+                                      const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type,
+                                         GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr );
+
+GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params );
+
+GLAPI void GLAPIENTRY glArrayElement( GLint i );
+
+GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count );
+
+GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count,
+                                      GLenum type, const GLvoid *indices );
+
+GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride,
+                                           const GLvoid *pointer );
+
+/*
+ * Lighting
+ */
+
+GLAPI void GLAPIENTRY glShadeModel( GLenum mode );
+
+GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param );
+GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname,
+                                 const GLfloat *params );
+GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname,
+                                 const GLint *params );
+
+GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname,
+                                    GLfloat *params );
+GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname,
+                                    GLint *params );
+
+GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param );
+GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param );
+GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params );
+
+GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode );
+
+
+/*
+ * Raster functions
+ */
+
+GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor );
+
+GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize,
+                                    const GLfloat *values );
+GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize,
+                                     const GLuint *values );
+GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize,
+                                     const GLushort *values );
+
+GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values );
+GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values );
+GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values );
+
+GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height,
+                                GLfloat xorig, GLfloat yorig,
+                                GLfloat xmove, GLfloat ymove,
+                                const GLubyte *bitmap );
+
+GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y,
+                                    GLsizei width, GLsizei height,
+                                    GLenum format, GLenum type,
+                                    GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height,
+                                    GLenum format, GLenum type,
+                                    const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y,
+                                    GLsizei width, GLsizei height,
+                                    GLenum type );
+
+/*
+ * Stenciling
+ */
+
+GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask );
+
+GLAPI void GLAPIENTRY glStencilMask( GLuint mask );
+
+GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass );
+
+GLAPI void GLAPIENTRY glClearStencil( GLint s );
+
+
+
+/*
+ * Texture mapping
+ */
+
+GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param );
+GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params );
+GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
+GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params );
+GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param );
+GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname,
+                                          const GLfloat *params );
+GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname,
+                                          const GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target,
+                                           GLenum pname, GLfloat *params);
+GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target,
+                                           GLenum pname, GLint *params );
+
+GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level,
+                                                GLenum pname, GLfloat *params );
+GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level,
+                                                GLenum pname, GLint *params );
+
+
+GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level,
+                                    GLint internalFormat,
+                                    GLsizei width, GLint border,
+                                    GLenum format, GLenum type,
+                                    const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level,
+                                    GLint internalFormat,
+                                    GLsizei width, GLsizei height,
+                                    GLint border, GLenum format, GLenum type,
+                                    const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level,
+                                     GLenum format, GLenum type,
+                                     GLvoid *pixels );
+
+
+/* 1.1 functions */
+
+GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures );
+
+GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
+
+GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture );
+
+GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n,
+                                            const GLuint *textures,
+                                            const GLclampf *priorities );
+
+GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n,
+                                                  const GLuint *textures,
+                                                  GLboolean *residences );
+
+GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture );
+
+
+GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level,
+                                       GLint xoffset,
+                                       GLsizei width, GLenum format,
+                                       GLenum type, const GLvoid *pixels );
+
+
+GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level,
+                                       GLint xoffset, GLint yoffset,
+                                       GLsizei width, GLsizei height,
+                                       GLenum format, GLenum type,
+                                       const GLvoid *pixels );
+
+
+GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level,
+                                        GLenum internalformat,
+                                        GLint x, GLint y,
+                                        GLsizei width, GLint border );
+
+
+GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level,
+                                        GLenum internalformat,
+                                        GLint x, GLint y,
+                                        GLsizei width, GLsizei height,
+                                        GLint border );
+
+
+GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level,
+                                           GLint xoffset, GLint x, GLint y,
+                                           GLsizei width );
+
+
+GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level,
+                                           GLint xoffset, GLint yoffset,
+                                           GLint x, GLint y,
+                                           GLsizei width, GLsizei height );
+
+
+/*
+ * Evaluators
+ */
+
+GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2,
+                               GLint stride,
+                               GLint order, const GLdouble *points );
+GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2,
+                               GLint stride,
+                               GLint order, const GLfloat *points );
+
+GLAPI void GLAPIENTRY glMap2d( GLenum target,
+		     GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
+		     GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
+		     const GLdouble *points );
+GLAPI void GLAPIENTRY glMap2f( GLenum target,
+		     GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
+		     GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
+		     const GLfloat *points );
+
+GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v );
+GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v );
+GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v );
+
+GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u );
+GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u );
+
+GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u );
+GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u );
+
+GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v );
+GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v );
+
+GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u );
+GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u );
+
+GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 );
+GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 );
+
+GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2,
+                                   GLint vn, GLdouble v1, GLdouble v2 );
+GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2,
+                                   GLint vn, GLfloat v1, GLfloat v2 );
+
+GLAPI void GLAPIENTRY glEvalPoint1( GLint i );
+
+GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j );
+
+GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 );
+
+GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
+
+
+/*
+ * Fog
+ */
+
+GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param );
+
+GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param );
+
+GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params );
+
+GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params );
+
+
+/*
+ * Selection and Feedback
+ */
+
+GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
+
+GLAPI void GLAPIENTRY glPassThrough( GLfloat token );
+
+GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer );
+
+GLAPI void GLAPIENTRY glInitNames( void );
+
+GLAPI void GLAPIENTRY glLoadName( GLuint name );
+
+GLAPI void GLAPIENTRY glPushName( GLuint name );
+
+GLAPI void GLAPIENTRY glPopName( void );
+
+
+
+/*
+ * OpenGL 1.2
+ */
+
+#define GL_RESCALE_NORMAL			0x803A
+#define GL_CLAMP_TO_EDGE			0x812F
+#define GL_MAX_ELEMENTS_VERTICES		0x80E8
+#define GL_MAX_ELEMENTS_INDICES			0x80E9
+#define GL_BGR					0x80E0
+#define GL_BGRA					0x80E1
+#define GL_UNSIGNED_BYTE_3_3_2			0x8032
+#define GL_UNSIGNED_BYTE_2_3_3_REV		0x8362
+#define GL_UNSIGNED_SHORT_5_6_5			0x8363
+#define GL_UNSIGNED_SHORT_5_6_5_REV		0x8364
+#define GL_UNSIGNED_SHORT_4_4_4_4		0x8033
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV		0x8365
+#define GL_UNSIGNED_SHORT_5_5_5_1		0x8034
+#define GL_UNSIGNED_SHORT_1_5_5_5_REV		0x8366
+#define GL_UNSIGNED_INT_8_8_8_8			0x8035
+#define GL_UNSIGNED_INT_8_8_8_8_REV		0x8367
+#define GL_UNSIGNED_INT_10_10_10_2		0x8036
+#define GL_UNSIGNED_INT_2_10_10_10_REV		0x8368
+#define GL_LIGHT_MODEL_COLOR_CONTROL		0x81F8
+#define GL_SINGLE_COLOR				0x81F9
+#define GL_SEPARATE_SPECULAR_COLOR		0x81FA
+#define GL_TEXTURE_MIN_LOD			0x813A
+#define GL_TEXTURE_MAX_LOD			0x813B
+#define GL_TEXTURE_BASE_LEVEL			0x813C
+#define GL_TEXTURE_MAX_LEVEL			0x813D
+#define GL_SMOOTH_POINT_SIZE_RANGE		0x0B12
+#define GL_SMOOTH_POINT_SIZE_GRANULARITY	0x0B13
+#define GL_SMOOTH_LINE_WIDTH_RANGE		0x0B22
+#define GL_SMOOTH_LINE_WIDTH_GRANULARITY	0x0B23
+#define GL_ALIASED_POINT_SIZE_RANGE		0x846D
+#define GL_ALIASED_LINE_WIDTH_RANGE		0x846E
+#define GL_PACK_SKIP_IMAGES			0x806B
+#define GL_PACK_IMAGE_HEIGHT			0x806C
+#define GL_UNPACK_SKIP_IMAGES			0x806D
+#define GL_UNPACK_IMAGE_HEIGHT			0x806E
+#define GL_TEXTURE_3D				0x806F
+#define GL_PROXY_TEXTURE_3D			0x8070
+#define GL_TEXTURE_DEPTH			0x8071
+#define GL_TEXTURE_WRAP_R			0x8072
+#define GL_MAX_3D_TEXTURE_SIZE			0x8073
+#define GL_TEXTURE_BINDING_3D			0x806A
+
+GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start,
+	GLuint end, GLsizei count, GLenum type, const GLvoid *indices );
+
+GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level,
+                                      GLint internalFormat,
+                                      GLsizei width, GLsizei height,
+                                      GLsizei depth, GLint border,
+                                      GLenum format, GLenum type,
+                                      const GLvoid *pixels );
+
+GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level,
+                                         GLint xoffset, GLint yoffset,
+                                         GLint zoffset, GLsizei width,
+                                         GLsizei height, GLsizei depth,
+                                         GLenum format,
+                                         GLenum type, const GLvoid *pixels);
+
+GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level,
+                                             GLint xoffset, GLint yoffset,
+                                             GLint zoffset, GLint x,
+                                             GLint y, GLsizei width,
+                                             GLsizei height );
+
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+
+
+/*
+ * GL_ARB_imaging
+ */
+
+#define GL_CONSTANT_COLOR			0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR		0x8002
+#define GL_CONSTANT_ALPHA			0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA		0x8004
+#define GL_COLOR_TABLE				0x80D0
+#define GL_POST_CONVOLUTION_COLOR_TABLE		0x80D1
+#define GL_POST_COLOR_MATRIX_COLOR_TABLE	0x80D2
+#define GL_PROXY_COLOR_TABLE			0x80D3
+#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE	0x80D4
+#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE	0x80D5
+#define GL_COLOR_TABLE_SCALE			0x80D6
+#define GL_COLOR_TABLE_BIAS			0x80D7
+#define GL_COLOR_TABLE_FORMAT			0x80D8
+#define GL_COLOR_TABLE_WIDTH			0x80D9
+#define GL_COLOR_TABLE_RED_SIZE			0x80DA
+#define GL_COLOR_TABLE_GREEN_SIZE		0x80DB
+#define GL_COLOR_TABLE_BLUE_SIZE		0x80DC
+#define GL_COLOR_TABLE_ALPHA_SIZE		0x80DD
+#define GL_COLOR_TABLE_LUMINANCE_SIZE		0x80DE
+#define GL_COLOR_TABLE_INTENSITY_SIZE		0x80DF
+#define GL_CONVOLUTION_1D			0x8010
+#define GL_CONVOLUTION_2D			0x8011
+#define GL_SEPARABLE_2D				0x8012
+#define GL_CONVOLUTION_BORDER_MODE		0x8013
+#define GL_CONVOLUTION_FILTER_SCALE		0x8014
+#define GL_CONVOLUTION_FILTER_BIAS		0x8015
+#define GL_REDUCE				0x8016
+#define GL_CONVOLUTION_FORMAT			0x8017
+#define GL_CONVOLUTION_WIDTH			0x8018
+#define GL_CONVOLUTION_HEIGHT			0x8019
+#define GL_MAX_CONVOLUTION_WIDTH		0x801A
+#define GL_MAX_CONVOLUTION_HEIGHT		0x801B
+#define GL_POST_CONVOLUTION_RED_SCALE		0x801C
+#define GL_POST_CONVOLUTION_GREEN_SCALE		0x801D
+#define GL_POST_CONVOLUTION_BLUE_SCALE		0x801E
+#define GL_POST_CONVOLUTION_ALPHA_SCALE		0x801F
+#define GL_POST_CONVOLUTION_RED_BIAS		0x8020
+#define GL_POST_CONVOLUTION_GREEN_BIAS		0x8021
+#define GL_POST_CONVOLUTION_BLUE_BIAS		0x8022
+#define GL_POST_CONVOLUTION_ALPHA_BIAS		0x8023
+#define GL_CONSTANT_BORDER			0x8151
+#define GL_REPLICATE_BORDER			0x8153
+#define GL_CONVOLUTION_BORDER_COLOR		0x8154
+#define GL_COLOR_MATRIX				0x80B1
+#define GL_COLOR_MATRIX_STACK_DEPTH		0x80B2
+#define GL_MAX_COLOR_MATRIX_STACK_DEPTH		0x80B3
+#define GL_POST_COLOR_MATRIX_RED_SCALE		0x80B4
+#define GL_POST_COLOR_MATRIX_GREEN_SCALE	0x80B5
+#define GL_POST_COLOR_MATRIX_BLUE_SCALE		0x80B6
+#define GL_POST_COLOR_MATRIX_ALPHA_SCALE	0x80B7
+#define GL_POST_COLOR_MATRIX_RED_BIAS		0x80B8
+#define GL_POST_COLOR_MATRIX_GREEN_BIAS		0x80B9
+#define GL_POST_COLOR_MATRIX_BLUE_BIAS		0x80BA
+#define GL_POST_COLOR_MATRIX_ALPHA_BIAS		0x80BB
+#define GL_HISTOGRAM				0x8024
+#define GL_PROXY_HISTOGRAM			0x8025
+#define GL_HISTOGRAM_WIDTH			0x8026
+#define GL_HISTOGRAM_FORMAT			0x8027
+#define GL_HISTOGRAM_RED_SIZE			0x8028
+#define GL_HISTOGRAM_GREEN_SIZE			0x8029
+#define GL_HISTOGRAM_BLUE_SIZE			0x802A
+#define GL_HISTOGRAM_ALPHA_SIZE			0x802B
+#define GL_HISTOGRAM_LUMINANCE_SIZE		0x802C
+#define GL_HISTOGRAM_SINK			0x802D
+#define GL_MINMAX				0x802E
+#define GL_MINMAX_FORMAT			0x802F
+#define GL_MINMAX_SINK				0x8030
+#define GL_TABLE_TOO_LARGE			0x8031
+#define GL_BLEND_EQUATION			0x8009
+#define GL_MIN					0x8007
+#define GL_MAX					0x8008
+#define GL_FUNC_ADD				0x8006
+#define GL_FUNC_SUBTRACT			0x800A
+#define GL_FUNC_REVERSE_SUBTRACT		0x800B
+#define GL_BLEND_COLOR				0x8005
+
+
+GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat,
+                                    GLsizei width, GLenum format,
+                                    GLenum type, const GLvoid *table );
+
+GLAPI void GLAPIENTRY glColorSubTable( GLenum target,
+                                       GLsizei start, GLsizei count,
+                                       GLenum format, GLenum type,
+                                       const GLvoid *data );
+
+GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname,
+                                              const GLint *params);
+
+GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname,
+                                              const GLfloat *params);
+
+GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start,
+                                           GLint x, GLint y, GLsizei width );
+
+GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat,
+                                        GLint x, GLint y, GLsizei width );
+
+GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format,
+                                       GLenum type, GLvoid *table );
+
+GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname,
+                                                  GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname,
+                                                  GLint *params );
+
+GLAPI void GLAPIENTRY glBlendEquation( GLenum mode );
+
+GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green,
+                                    GLclampf blue, GLclampf alpha );
+
+GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width,
+				   GLenum internalformat, GLboolean sink );
+
+GLAPI void GLAPIENTRY glResetHistogram( GLenum target );
+
+GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset,
+				      GLenum format, GLenum type,
+				      GLvoid *values );
+
+GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname,
+						 GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname,
+						 GLint *params );
+
+GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat,
+				GLboolean sink );
+
+GLAPI void GLAPIENTRY glResetMinmax( GLenum target );
+
+GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset,
+                                   GLenum format, GLenum types,
+                                   GLvoid *values );
+
+GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname,
+					      GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname,
+					      GLint *params );
+
+GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target,
+	GLenum internalformat, GLsizei width, GLenum format, GLenum type,
+	const GLvoid *image );
+
+GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target,
+	GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
+	GLenum type, const GLvoid *image );
+
+GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname,
+	GLfloat params );
+
+GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname,
+	const GLfloat *params );
+
+GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname,
+	GLint params );
+
+GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname,
+	const GLint *params );
+
+GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target,
+	GLenum internalformat, GLint x, GLint y, GLsizei width );
+
+GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target,
+	GLenum internalformat, GLint x, GLint y, GLsizei width,
+	GLsizei height);
+
+GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format,
+	GLenum type, GLvoid *image );
+
+GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname,
+	GLfloat *params );
+
+GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname,
+	GLint *params );
+
+GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target,
+	GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
+	GLenum type, const GLvoid *row, const GLvoid *column );
+
+GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format,
+	GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
+
+
+
+
+/*
+ * OpenGL 1.3
+ */
+
+/* multitexture */
+#define GL_TEXTURE0				0x84C0
+#define GL_TEXTURE1				0x84C1
+#define GL_TEXTURE2				0x84C2
+#define GL_TEXTURE3				0x84C3
+#define GL_TEXTURE4				0x84C4
+#define GL_TEXTURE5				0x84C5
+#define GL_TEXTURE6				0x84C6
+#define GL_TEXTURE7				0x84C7
+#define GL_TEXTURE8				0x84C8
+#define GL_TEXTURE9				0x84C9
+#define GL_TEXTURE10				0x84CA
+#define GL_TEXTURE11				0x84CB
+#define GL_TEXTURE12				0x84CC
+#define GL_TEXTURE13				0x84CD
+#define GL_TEXTURE14				0x84CE
+#define GL_TEXTURE15				0x84CF
+#define GL_TEXTURE16				0x84D0
+#define GL_TEXTURE17				0x84D1
+#define GL_TEXTURE18				0x84D2
+#define GL_TEXTURE19				0x84D3
+#define GL_TEXTURE20				0x84D4
+#define GL_TEXTURE21				0x84D5
+#define GL_TEXTURE22				0x84D6
+#define GL_TEXTURE23				0x84D7
+#define GL_TEXTURE24				0x84D8
+#define GL_TEXTURE25				0x84D9
+#define GL_TEXTURE26				0x84DA
+#define GL_TEXTURE27				0x84DB
+#define GL_TEXTURE28				0x84DC
+#define GL_TEXTURE29				0x84DD
+#define GL_TEXTURE30				0x84DE
+#define GL_TEXTURE31				0x84DF
+#define GL_ACTIVE_TEXTURE			0x84E0
+#define GL_CLIENT_ACTIVE_TEXTURE		0x84E1
+#define GL_MAX_TEXTURE_UNITS			0x84E2
+/* texture_cube_map */
+#define GL_NORMAL_MAP				0x8511
+#define GL_REFLECTION_MAP			0x8512
+#define GL_TEXTURE_CUBE_MAP			0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP		0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X		0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X		0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y		0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y		0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z		0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z		0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP		0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE		0x851C
+/* texture_compression */
+#define GL_COMPRESSED_ALPHA			0x84E9
+#define GL_COMPRESSED_LUMINANCE			0x84EA
+#define GL_COMPRESSED_LUMINANCE_ALPHA		0x84EB
+#define GL_COMPRESSED_INTENSITY			0x84EC
+#define GL_COMPRESSED_RGB			0x84ED
+#define GL_COMPRESSED_RGBA			0x84EE
+#define GL_TEXTURE_COMPRESSION_HINT		0x84EF
+#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE	0x86A0
+#define GL_TEXTURE_COMPRESSED			0x86A1
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS	0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS		0x86A3
+/* multisample */
+#define GL_MULTISAMPLE				0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE		0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE			0x809F
+#define GL_SAMPLE_COVERAGE			0x80A0
+#define GL_SAMPLE_BUFFERS			0x80A8
+#define GL_SAMPLES				0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE		0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT		0x80AB
+#define GL_MULTISAMPLE_BIT			0x20000000
+/* transpose_matrix */
+#define GL_TRANSPOSE_MODELVIEW_MATRIX		0x84E3
+#define GL_TRANSPOSE_PROJECTION_MATRIX		0x84E4
+#define GL_TRANSPOSE_TEXTURE_MATRIX		0x84E5
+#define GL_TRANSPOSE_COLOR_MATRIX		0x84E6
+/* texture_env_combine */
+#define GL_COMBINE				0x8570
+#define GL_COMBINE_RGB				0x8571
+#define GL_COMBINE_ALPHA			0x8572
+#define GL_SOURCE0_RGB				0x8580
+#define GL_SOURCE1_RGB				0x8581
+#define GL_SOURCE2_RGB				0x8582
+#define GL_SOURCE0_ALPHA			0x8588
+#define GL_SOURCE1_ALPHA			0x8589
+#define GL_SOURCE2_ALPHA			0x858A
+#define GL_OPERAND0_RGB				0x8590
+#define GL_OPERAND1_RGB				0x8591
+#define GL_OPERAND2_RGB				0x8592
+#define GL_OPERAND0_ALPHA			0x8598
+#define GL_OPERAND1_ALPHA			0x8599
+#define GL_OPERAND2_ALPHA			0x859A
+#define GL_RGB_SCALE				0x8573
+#define GL_ADD_SIGNED				0x8574
+#define GL_INTERPOLATE				0x8575
+#define GL_SUBTRACT				0x84E7
+#define GL_CONSTANT				0x8576
+#define GL_PRIMARY_COLOR			0x8577
+#define GL_PREVIOUS				0x8578
+/* texture_env_dot3 */
+#define GL_DOT3_RGB				0x86AE
+#define GL_DOT3_RGBA				0x86AF
+/* texture_border_clamp */
+#define GL_CLAMP_TO_BORDER			0x812D
+
+GLAPI void GLAPIENTRY glActiveTexture( GLenum texture );
+
+GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
+
+GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data );
+
+GLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s );
+
+GLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t );
+
+GLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r );
+
+GLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q );
+
+GLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v );
+
+
+GLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] );
+
+GLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] );
+
+GLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] );
+
+GLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] );
+
+GLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert );
+
+
+typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
+
+
+
+/*
+ * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1)
+ */
+#ifndef GL_ARB_multitexture
+#define GL_ARB_multitexture 1
+
+#define GL_TEXTURE0_ARB				0x84C0
+#define GL_TEXTURE1_ARB				0x84C1
+#define GL_TEXTURE2_ARB				0x84C2
+#define GL_TEXTURE3_ARB				0x84C3
+#define GL_TEXTURE4_ARB				0x84C4
+#define GL_TEXTURE5_ARB				0x84C5
+#define GL_TEXTURE6_ARB				0x84C6
+#define GL_TEXTURE7_ARB				0x84C7
+#define GL_TEXTURE8_ARB				0x84C8
+#define GL_TEXTURE9_ARB				0x84C9
+#define GL_TEXTURE10_ARB			0x84CA
+#define GL_TEXTURE11_ARB			0x84CB
+#define GL_TEXTURE12_ARB			0x84CC
+#define GL_TEXTURE13_ARB			0x84CD
+#define GL_TEXTURE14_ARB			0x84CE
+#define GL_TEXTURE15_ARB			0x84CF
+#define GL_TEXTURE16_ARB			0x84D0
+#define GL_TEXTURE17_ARB			0x84D1
+#define GL_TEXTURE18_ARB			0x84D2
+#define GL_TEXTURE19_ARB			0x84D3
+#define GL_TEXTURE20_ARB			0x84D4
+#define GL_TEXTURE21_ARB			0x84D5
+#define GL_TEXTURE22_ARB			0x84D6
+#define GL_TEXTURE23_ARB			0x84D7
+#define GL_TEXTURE24_ARB			0x84D8
+#define GL_TEXTURE25_ARB			0x84D9
+#define GL_TEXTURE26_ARB			0x84DA
+#define GL_TEXTURE27_ARB			0x84DB
+#define GL_TEXTURE28_ARB			0x84DC
+#define GL_TEXTURE29_ARB			0x84DD
+#define GL_TEXTURE30_ARB			0x84DE
+#define GL_TEXTURE31_ARB			0x84DF
+#define GL_ACTIVE_TEXTURE_ARB			0x84E0
+#define GL_CLIENT_ACTIVE_TEXTURE_ARB		0x84E1
+#define GL_MAX_TEXTURE_UNITS_ARB		0x84E2
+
+GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture);
+GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture);
+GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s);
+GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s);
+GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s);
+GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s);
+GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
+GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
+GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
+GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
+GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
+GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
+GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
+GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
+GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
+GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v);
+GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v);
+
+typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
+
+#endif /* GL_ARB_multitexture */
+
+
+
+/*
+ * Define this token if you want "old-style" header file behaviour (extensions
+ * defined in gl.h).  Otherwise, extensions will be included from glext.h.
+ */
+#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
+#include "SDL_opengl_glext.h"
+#endif  /* GL_GLEXT_LEGACY */
+
+
+
+/*
+ * ???. GL_MESA_packed_depth_stencil
+ * XXX obsolete
+ */
+#ifndef GL_MESA_packed_depth_stencil
+#define GL_MESA_packed_depth_stencil 1
+
+#define GL_DEPTH_STENCIL_MESA			0x8750
+#define GL_UNSIGNED_INT_24_8_MESA		0x8751
+#define GL_UNSIGNED_INT_8_24_REV_MESA		0x8752
+#define GL_UNSIGNED_SHORT_15_1_MESA		0x8753
+#define GL_UNSIGNED_SHORT_1_15_REV_MESA		0x8754
+
+#endif /* GL_MESA_packed_depth_stencil */
+
+
+#ifndef GL_ATI_blend_equation_separate
+#define GL_ATI_blend_equation_separate 1
+
+#define GL_ALPHA_BLEND_EQUATION_ATI	        0x883D
+
+GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA );
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA);
+
+#endif /* GL_ATI_blend_equation_separate */
+
+
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+typedef void* GLeglImageOES;
+#endif
+
+#ifndef GL_OES_EGL_image
+#define GL_OES_EGL_image 1
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
+GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
+#endif
+typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
+typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
+#endif
+
+
+/**
+ ** NOTE!!!!!  If you add new functions to this file, or update
+ ** glext.h be sure to regenerate the gl_mangle.h file.  See comments
+ ** in that file for details.
+ **/
+
+
+
+/**********************************************************************
+ * Begin system-specific stuff
+ */
+#if defined(PRAGMA_EXPORT_SUPPORTED)
+#pragma export off
+#endif
+
+/*
+ * End system-specific stuff
+ **********************************************************************/
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gl_h_ */
+
+#endif /* !__IPHONEOS__ */
+
+#endif /* SDL_opengl_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengl_glext.h
@@ -1,0 +1,11177 @@
+#ifndef __glext_h_
+#define __glext_h_ 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+** Copyright (c) 2013-2014 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.
+*/
+/*
+** This header is generated from the Khronos OpenGL / OpenGL ES XML
+** API Registry. The current version of the Registry, generator scripts
+** used to make the header, and the header can be found at
+**   http://www.opengl.org/registry/
+**
+** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
+*/
+
+#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN 1
+#endif
+#include <windows.h>
+#endif
+
+#ifndef APIENTRY
+#define APIENTRY
+#endif
+#ifndef APIENTRYP
+#define APIENTRYP APIENTRY *
+#endif
+#ifndef GLAPI
+#define GLAPI extern
+#endif
+
+#define GL_GLEXT_VERSION 20140521
+
+/* Generated C header for:
+ * API: gl
+ * Profile: compatibility
+ * Versions considered: .*
+ * Versions emitted: 1\.[2-9]|[234]\.[0-9]
+ * Default extensions included: gl
+ * Additional extensions included: _nomatch_^
+ * Extensions removed: _nomatch_^
+ */
+
+#ifndef GL_VERSION_1_2
+#define GL_VERSION_1_2 1
+#define GL_UNSIGNED_BYTE_3_3_2            0x8032
+#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
+#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
+#define GL_UNSIGNED_INT_8_8_8_8           0x8035
+#define GL_UNSIGNED_INT_10_10_10_2        0x8036
+#define GL_TEXTURE_BINDING_3D             0x806A
+#define GL_PACK_SKIP_IMAGES               0x806B
+#define GL_PACK_IMAGE_HEIGHT              0x806C
+#define GL_UNPACK_SKIP_IMAGES             0x806D
+#define GL_UNPACK_IMAGE_HEIGHT            0x806E
+#define GL_TEXTURE_3D                     0x806F
+#define GL_PROXY_TEXTURE_3D               0x8070
+#define GL_TEXTURE_DEPTH                  0x8071
+#define GL_TEXTURE_WRAP_R                 0x8072
+#define GL_MAX_3D_TEXTURE_SIZE            0x8073
+#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
+#define GL_UNSIGNED_SHORT_5_6_5           0x8363
+#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
+#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
+#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
+#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
+#define GL_BGR                            0x80E0
+#define GL_BGRA                           0x80E1
+#define GL_MAX_ELEMENTS_VERTICES          0x80E8
+#define GL_MAX_ELEMENTS_INDICES           0x80E9
+#define GL_CLAMP_TO_EDGE                  0x812F
+#define GL_TEXTURE_MIN_LOD                0x813A
+#define GL_TEXTURE_MAX_LOD                0x813B
+#define GL_TEXTURE_BASE_LEVEL             0x813C
+#define GL_TEXTURE_MAX_LEVEL              0x813D
+#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
+#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
+#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
+#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
+#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
+#define GL_RESCALE_NORMAL                 0x803A
+#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
+#define GL_SINGLE_COLOR                   0x81F9
+#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
+#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_VERSION_1_2 */
+
+#ifndef GL_VERSION_1_3
+#define GL_VERSION_1_3 1
+#define GL_TEXTURE0                       0x84C0
+#define GL_TEXTURE1                       0x84C1
+#define GL_TEXTURE2                       0x84C2
+#define GL_TEXTURE3                       0x84C3
+#define GL_TEXTURE4                       0x84C4
+#define GL_TEXTURE5                       0x84C5
+#define GL_TEXTURE6                       0x84C6
+#define GL_TEXTURE7                       0x84C7
+#define GL_TEXTURE8                       0x84C8
+#define GL_TEXTURE9                       0x84C9
+#define GL_TEXTURE10                      0x84CA
+#define GL_TEXTURE11                      0x84CB
+#define GL_TEXTURE12                      0x84CC
+#define GL_TEXTURE13                      0x84CD
+#define GL_TEXTURE14                      0x84CE
+#define GL_TEXTURE15                      0x84CF
+#define GL_TEXTURE16                      0x84D0
+#define GL_TEXTURE17                      0x84D1
+#define GL_TEXTURE18                      0x84D2
+#define GL_TEXTURE19                      0x84D3
+#define GL_TEXTURE20                      0x84D4
+#define GL_TEXTURE21                      0x84D5
+#define GL_TEXTURE22                      0x84D6
+#define GL_TEXTURE23                      0x84D7
+#define GL_TEXTURE24                      0x84D8
+#define GL_TEXTURE25                      0x84D9
+#define GL_TEXTURE26                      0x84DA
+#define GL_TEXTURE27                      0x84DB
+#define GL_TEXTURE28                      0x84DC
+#define GL_TEXTURE29                      0x84DD
+#define GL_TEXTURE30                      0x84DE
+#define GL_TEXTURE31                      0x84DF
+#define GL_ACTIVE_TEXTURE                 0x84E0
+#define GL_MULTISAMPLE                    0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
+#define GL_SAMPLE_COVERAGE                0x80A0
+#define GL_SAMPLE_BUFFERS                 0x80A8
+#define GL_SAMPLES                        0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
+#define GL_TEXTURE_CUBE_MAP               0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
+#define GL_COMPRESSED_RGB                 0x84ED
+#define GL_COMPRESSED_RGBA                0x84EE
+#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
+#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
+#define GL_TEXTURE_COMPRESSED             0x86A1
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
+#define GL_CLAMP_TO_BORDER                0x812D
+#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
+#define GL_MAX_TEXTURE_UNITS              0x84E2
+#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
+#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
+#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
+#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
+#define GL_MULTISAMPLE_BIT                0x20000000
+#define GL_NORMAL_MAP                     0x8511
+#define GL_REFLECTION_MAP                 0x8512
+#define GL_COMPRESSED_ALPHA               0x84E9
+#define GL_COMPRESSED_LUMINANCE           0x84EA
+#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
+#define GL_COMPRESSED_INTENSITY           0x84EC
+#define GL_COMBINE                        0x8570
+#define GL_COMBINE_RGB                    0x8571
+#define GL_COMBINE_ALPHA                  0x8572
+#define GL_SOURCE0_RGB                    0x8580
+#define GL_SOURCE1_RGB                    0x8581
+#define GL_SOURCE2_RGB                    0x8582
+#define GL_SOURCE0_ALPHA                  0x8588
+#define GL_SOURCE1_ALPHA                  0x8589
+#define GL_SOURCE2_ALPHA                  0x858A
+#define GL_OPERAND0_RGB                   0x8590
+#define GL_OPERAND1_RGB                   0x8591
+#define GL_OPERAND2_RGB                   0x8592
+#define GL_OPERAND0_ALPHA                 0x8598
+#define GL_OPERAND1_ALPHA                 0x8599
+#define GL_OPERAND2_ALPHA                 0x859A
+#define GL_RGB_SCALE                      0x8573
+#define GL_ADD_SIGNED                     0x8574
+#define GL_INTERPOLATE                    0x8575
+#define GL_SUBTRACT                       0x84E7
+#define GL_CONSTANT                       0x8576
+#define GL_PRIMARY_COLOR                  0x8577
+#define GL_PREVIOUS                       0x8578
+#define GL_DOT3_RGB                       0x86AE
+#define GL_DOT3_RGBA                      0x86AF
+typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
+typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glActiveTexture (GLenum texture);
+GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
+GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
+GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
+GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
+GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
+GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
+GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
+GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
+GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
+GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
+GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
+GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
+GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
+GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
+GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
+GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
+GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
+GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
+#endif
+#endif /* GL_VERSION_1_3 */
+
+#ifndef GL_VERSION_1_4
+#define GL_VERSION_1_4 1
+#define GL_BLEND_DST_RGB                  0x80C8
+#define GL_BLEND_SRC_RGB                  0x80C9
+#define GL_BLEND_DST_ALPHA                0x80CA
+#define GL_BLEND_SRC_ALPHA                0x80CB
+#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
+#define GL_DEPTH_COMPONENT16              0x81A5
+#define GL_DEPTH_COMPONENT24              0x81A6
+#define GL_DEPTH_COMPONENT32              0x81A7
+#define GL_MIRRORED_REPEAT                0x8370
+#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
+#define GL_TEXTURE_LOD_BIAS               0x8501
+#define GL_INCR_WRAP                      0x8507
+#define GL_DECR_WRAP                      0x8508
+#define GL_TEXTURE_DEPTH_SIZE             0x884A
+#define GL_TEXTURE_COMPARE_MODE           0x884C
+#define GL_TEXTURE_COMPARE_FUNC           0x884D
+#define GL_POINT_SIZE_MIN                 0x8126
+#define GL_POINT_SIZE_MAX                 0x8127
+#define GL_POINT_DISTANCE_ATTENUATION     0x8129
+#define GL_GENERATE_MIPMAP                0x8191
+#define GL_GENERATE_MIPMAP_HINT           0x8192
+#define GL_FOG_COORDINATE_SOURCE          0x8450
+#define GL_FOG_COORDINATE                 0x8451
+#define GL_FRAGMENT_DEPTH                 0x8452
+#define GL_CURRENT_FOG_COORDINATE         0x8453
+#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
+#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
+#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
+#define GL_FOG_COORDINATE_ARRAY           0x8457
+#define GL_COLOR_SUM                      0x8458
+#define GL_CURRENT_SECONDARY_COLOR        0x8459
+#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
+#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
+#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
+#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
+#define GL_SECONDARY_COLOR_ARRAY          0x845E
+#define GL_TEXTURE_FILTER_CONTROL         0x8500
+#define GL_DEPTH_TEXTURE_MODE             0x884B
+#define GL_COMPARE_R_TO_TEXTURE           0x884E
+#define GL_FUNC_ADD                       0x8006
+#define GL_FUNC_SUBTRACT                  0x800A
+#define GL_FUNC_REVERSE_SUBTRACT          0x800B
+#define GL_MIN                            0x8007
+#define GL_MAX                            0x8008
+#define GL_CONSTANT_COLOR                 0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
+#define GL_CONSTANT_ALPHA                 0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
+typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
+GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
+GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
+GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glFogCoordf (GLfloat coord);
+GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
+GLAPI void APIENTRY glFogCoordd (GLdouble coord);
+GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
+GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
+GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
+GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
+GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
+GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
+GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
+GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
+GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
+GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
+GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
+GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
+GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
+GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
+GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
+GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
+GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
+GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
+GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
+GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
+GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
+GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
+GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
+GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
+GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
+GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+GLAPI void APIENTRY glBlendEquation (GLenum mode);
+#endif
+#endif /* GL_VERSION_1_4 */
+
+#ifndef GL_VERSION_1_5
+#define GL_VERSION_1_5 1
+#include <stddef.h>
+#ifdef __MACOSX__
+typedef long GLsizeiptr;
+typedef long GLintptr;
+#else
+typedef ptrdiff_t GLsizeiptr;
+typedef ptrdiff_t GLintptr;
+#endif
+#define GL_BUFFER_SIZE                    0x8764
+#define GL_BUFFER_USAGE                   0x8765
+#define GL_QUERY_COUNTER_BITS             0x8864
+#define GL_CURRENT_QUERY                  0x8865
+#define GL_QUERY_RESULT                   0x8866
+#define GL_QUERY_RESULT_AVAILABLE         0x8867
+#define GL_ARRAY_BUFFER                   0x8892
+#define GL_ELEMENT_ARRAY_BUFFER           0x8893
+#define GL_ARRAY_BUFFER_BINDING           0x8894
+#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
+#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
+#define GL_READ_ONLY                      0x88B8
+#define GL_WRITE_ONLY                     0x88B9
+#define GL_READ_WRITE                     0x88BA
+#define GL_BUFFER_ACCESS                  0x88BB
+#define GL_BUFFER_MAPPED                  0x88BC
+#define GL_BUFFER_MAP_POINTER             0x88BD
+#define GL_STREAM_DRAW                    0x88E0
+#define GL_STREAM_READ                    0x88E1
+#define GL_STREAM_COPY                    0x88E2
+#define GL_STATIC_DRAW                    0x88E4
+#define GL_STATIC_READ                    0x88E5
+#define GL_STATIC_COPY                    0x88E6
+#define GL_DYNAMIC_DRAW                   0x88E8
+#define GL_DYNAMIC_READ                   0x88E9
+#define GL_DYNAMIC_COPY                   0x88EA
+#define GL_SAMPLES_PASSED                 0x8914
+#define GL_SRC1_ALPHA                     0x8589
+#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
+#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
+#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
+#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
+#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
+#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
+#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
+#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
+#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
+#define GL_FOG_COORD_SRC                  0x8450
+#define GL_FOG_COORD                      0x8451
+#define GL_CURRENT_FOG_COORD              0x8453
+#define GL_FOG_COORD_ARRAY_TYPE           0x8454
+#define GL_FOG_COORD_ARRAY_STRIDE         0x8455
+#define GL_FOG_COORD_ARRAY_POINTER        0x8456
+#define GL_FOG_COORD_ARRAY                0x8457
+#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
+#define GL_SRC0_RGB                       0x8580
+#define GL_SRC1_RGB                       0x8581
+#define GL_SRC2_RGB                       0x8582
+#define GL_SRC0_ALPHA                     0x8588
+#define GL_SRC2_ALPHA                     0x858A
+typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
+typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
+typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
+typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
+typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
+typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
+typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
+typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
+typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
+GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
+GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
+GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
+GLAPI void APIENTRY glEndQuery (GLenum target);
+GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
+GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
+GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
+GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
+GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
+GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
+GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
+GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
+GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
+GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
+#endif
+#endif /* GL_VERSION_1_5 */
+
+#ifndef GL_VERSION_2_0
+#define GL_VERSION_2_0 1
+typedef char GLchar;
+#define GL_BLEND_EQUATION_RGB             0x8009
+#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
+#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
+#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
+#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
+#define GL_CURRENT_VERTEX_ATTRIB          0x8626
+#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
+#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
+#define GL_STENCIL_BACK_FUNC              0x8800
+#define GL_STENCIL_BACK_FAIL              0x8801
+#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
+#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
+#define GL_MAX_DRAW_BUFFERS               0x8824
+#define GL_DRAW_BUFFER0                   0x8825
+#define GL_DRAW_BUFFER1                   0x8826
+#define GL_DRAW_BUFFER2                   0x8827
+#define GL_DRAW_BUFFER3                   0x8828
+#define GL_DRAW_BUFFER4                   0x8829
+#define GL_DRAW_BUFFER5                   0x882A
+#define GL_DRAW_BUFFER6                   0x882B
+#define GL_DRAW_BUFFER7                   0x882C
+#define GL_DRAW_BUFFER8                   0x882D
+#define GL_DRAW_BUFFER9                   0x882E
+#define GL_DRAW_BUFFER10                  0x882F
+#define GL_DRAW_BUFFER11                  0x8830
+#define GL_DRAW_BUFFER12                  0x8831
+#define GL_DRAW_BUFFER13                  0x8832
+#define GL_DRAW_BUFFER14                  0x8833
+#define GL_DRAW_BUFFER15                  0x8834
+#define GL_BLEND_EQUATION_ALPHA           0x883D
+#define GL_MAX_VERTEX_ATTRIBS             0x8869
+#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
+#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
+#define GL_FRAGMENT_SHADER                0x8B30
+#define GL_VERTEX_SHADER                  0x8B31
+#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
+#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
+#define GL_MAX_VARYING_FLOATS             0x8B4B
+#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
+#define GL_SHADER_TYPE                    0x8B4F
+#define GL_FLOAT_VEC2                     0x8B50
+#define GL_FLOAT_VEC3                     0x8B51
+#define GL_FLOAT_VEC4                     0x8B52
+#define GL_INT_VEC2                       0x8B53
+#define GL_INT_VEC3                       0x8B54
+#define GL_INT_VEC4                       0x8B55
+#define GL_BOOL                           0x8B56
+#define GL_BOOL_VEC2                      0x8B57
+#define GL_BOOL_VEC3                      0x8B58
+#define GL_BOOL_VEC4                      0x8B59
+#define GL_FLOAT_MAT2                     0x8B5A
+#define GL_FLOAT_MAT3                     0x8B5B
+#define GL_FLOAT_MAT4                     0x8B5C
+#define GL_SAMPLER_1D                     0x8B5D
+#define GL_SAMPLER_2D                     0x8B5E
+#define GL_SAMPLER_3D                     0x8B5F
+#define GL_SAMPLER_CUBE                   0x8B60
+#define GL_SAMPLER_1D_SHADOW              0x8B61
+#define GL_SAMPLER_2D_SHADOW              0x8B62
+#define GL_DELETE_STATUS                  0x8B80
+#define GL_COMPILE_STATUS                 0x8B81
+#define GL_LINK_STATUS                    0x8B82
+#define GL_VALIDATE_STATUS                0x8B83
+#define GL_INFO_LOG_LENGTH                0x8B84
+#define GL_ATTACHED_SHADERS               0x8B85
+#define GL_ACTIVE_UNIFORMS                0x8B86
+#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
+#define GL_SHADER_SOURCE_LENGTH           0x8B88
+#define GL_ACTIVE_ATTRIBUTES              0x8B89
+#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
+#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
+#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
+#define GL_CURRENT_PROGRAM                0x8B8D
+#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
+#define GL_LOWER_LEFT                     0x8CA1
+#define GL_UPPER_LEFT                     0x8CA2
+#define GL_STENCIL_BACK_REF               0x8CA3
+#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
+#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
+#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
+#define GL_POINT_SPRITE                   0x8861
+#define GL_COORD_REPLACE                  0x8862
+#define GL_MAX_TEXTURE_COORDS             0x8871
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
+typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
+typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
+typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
+typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
+typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
+typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
+typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
+typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
+typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
+typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
+typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
+typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
+typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
+typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
+GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
+GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
+GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
+GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
+GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
+GLAPI void APIENTRY glCompileShader (GLuint shader);
+GLAPI GLuint APIENTRY glCreateProgram (void);
+GLAPI GLuint APIENTRY glCreateShader (GLenum type);
+GLAPI void APIENTRY glDeleteProgram (GLuint program);
+GLAPI void APIENTRY glDeleteShader (GLuint shader);
+GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
+GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
+GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
+GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
+GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
+GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
+GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
+GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
+GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
+GLAPI void APIENTRY glLinkProgram (GLuint program);
+GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
+GLAPI void APIENTRY glUseProgram (GLuint program);
+GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
+GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
+GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glValidateProgram (GLuint program);
+GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
+GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
+GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_VERSION_2_0 */
+
+#ifndef GL_VERSION_2_1
+#define GL_VERSION_2_1 1
+#define GL_PIXEL_PACK_BUFFER              0x88EB
+#define GL_PIXEL_UNPACK_BUFFER            0x88EC
+#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
+#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
+#define GL_FLOAT_MAT2x3                   0x8B65
+#define GL_FLOAT_MAT2x4                   0x8B66
+#define GL_FLOAT_MAT3x2                   0x8B67
+#define GL_FLOAT_MAT3x4                   0x8B68
+#define GL_FLOAT_MAT4x2                   0x8B69
+#define GL_FLOAT_MAT4x3                   0x8B6A
+#define GL_SRGB                           0x8C40
+#define GL_SRGB8                          0x8C41
+#define GL_SRGB_ALPHA                     0x8C42
+#define GL_SRGB8_ALPHA8                   0x8C43
+#define GL_COMPRESSED_SRGB                0x8C48
+#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
+#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
+#define GL_SLUMINANCE_ALPHA               0x8C44
+#define GL_SLUMINANCE8_ALPHA8             0x8C45
+#define GL_SLUMINANCE                     0x8C46
+#define GL_SLUMINANCE8                    0x8C47
+#define GL_COMPRESSED_SLUMINANCE          0x8C4A
+#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+#endif
+#endif /* GL_VERSION_2_1 */
+
+#ifndef GL_VERSION_3_0
+#define GL_VERSION_3_0 1
+typedef unsigned short GLhalf;
+#define GL_COMPARE_REF_TO_TEXTURE         0x884E
+#define GL_CLIP_DISTANCE0                 0x3000
+#define GL_CLIP_DISTANCE1                 0x3001
+#define GL_CLIP_DISTANCE2                 0x3002
+#define GL_CLIP_DISTANCE3                 0x3003
+#define GL_CLIP_DISTANCE4                 0x3004
+#define GL_CLIP_DISTANCE5                 0x3005
+#define GL_CLIP_DISTANCE6                 0x3006
+#define GL_CLIP_DISTANCE7                 0x3007
+#define GL_MAX_CLIP_DISTANCES             0x0D32
+#define GL_MAJOR_VERSION                  0x821B
+#define GL_MINOR_VERSION                  0x821C
+#define GL_NUM_EXTENSIONS                 0x821D
+#define GL_CONTEXT_FLAGS                  0x821E
+#define GL_COMPRESSED_RED                 0x8225
+#define GL_COMPRESSED_RG                  0x8226
+#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
+#define GL_RGBA32F                        0x8814
+#define GL_RGB32F                         0x8815
+#define GL_RGBA16F                        0x881A
+#define GL_RGB16F                         0x881B
+#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
+#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
+#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
+#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
+#define GL_CLAMP_READ_COLOR               0x891C
+#define GL_FIXED_ONLY                     0x891D
+#define GL_MAX_VARYING_COMPONENTS         0x8B4B
+#define GL_TEXTURE_1D_ARRAY               0x8C18
+#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
+#define GL_TEXTURE_2D_ARRAY               0x8C1A
+#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
+#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
+#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
+#define GL_R11F_G11F_B10F                 0x8C3A
+#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
+#define GL_RGB9_E5                        0x8C3D
+#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
+#define GL_TEXTURE_SHARED_SIZE            0x8C3F
+#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
+#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
+#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
+#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
+#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
+#define GL_PRIMITIVES_GENERATED           0x8C87
+#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
+#define GL_RASTERIZER_DISCARD             0x8C89
+#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
+#define GL_INTERLEAVED_ATTRIBS            0x8C8C
+#define GL_SEPARATE_ATTRIBS               0x8C8D
+#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
+#define GL_RGBA32UI                       0x8D70
+#define GL_RGB32UI                        0x8D71
+#define GL_RGBA16UI                       0x8D76
+#define GL_RGB16UI                        0x8D77
+#define GL_RGBA8UI                        0x8D7C
+#define GL_RGB8UI                         0x8D7D
+#define GL_RGBA32I                        0x8D82
+#define GL_RGB32I                         0x8D83
+#define GL_RGBA16I                        0x8D88
+#define GL_RGB16I                         0x8D89
+#define GL_RGBA8I                         0x8D8E
+#define GL_RGB8I                          0x8D8F
+#define GL_RED_INTEGER                    0x8D94
+#define GL_GREEN_INTEGER                  0x8D95
+#define GL_BLUE_INTEGER                   0x8D96
+#define GL_RGB_INTEGER                    0x8D98
+#define GL_RGBA_INTEGER                   0x8D99
+#define GL_BGR_INTEGER                    0x8D9A
+#define GL_BGRA_INTEGER                   0x8D9B
+#define GL_SAMPLER_1D_ARRAY               0x8DC0
+#define GL_SAMPLER_2D_ARRAY               0x8DC1
+#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
+#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
+#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
+#define GL_UNSIGNED_INT_VEC2              0x8DC6
+#define GL_UNSIGNED_INT_VEC3              0x8DC7
+#define GL_UNSIGNED_INT_VEC4              0x8DC8
+#define GL_INT_SAMPLER_1D                 0x8DC9
+#define GL_INT_SAMPLER_2D                 0x8DCA
+#define GL_INT_SAMPLER_3D                 0x8DCB
+#define GL_INT_SAMPLER_CUBE               0x8DCC
+#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
+#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
+#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
+#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
+#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
+#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
+#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
+#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
+#define GL_QUERY_WAIT                     0x8E13
+#define GL_QUERY_NO_WAIT                  0x8E14
+#define GL_QUERY_BY_REGION_WAIT           0x8E15
+#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
+#define GL_BUFFER_ACCESS_FLAGS            0x911F
+#define GL_BUFFER_MAP_LENGTH              0x9120
+#define GL_BUFFER_MAP_OFFSET              0x9121
+#define GL_DEPTH_COMPONENT32F             0x8CAC
+#define GL_DEPTH32F_STENCIL8              0x8CAD
+#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
+#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
+#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
+#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
+#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
+#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
+#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
+#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
+#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
+#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
+#define GL_FRAMEBUFFER_DEFAULT            0x8218
+#define GL_FRAMEBUFFER_UNDEFINED          0x8219
+#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
+#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
+#define GL_DEPTH_STENCIL                  0x84F9
+#define GL_UNSIGNED_INT_24_8              0x84FA
+#define GL_DEPTH24_STENCIL8               0x88F0
+#define GL_TEXTURE_STENCIL_SIZE           0x88F1
+#define GL_TEXTURE_RED_TYPE               0x8C10
+#define GL_TEXTURE_GREEN_TYPE             0x8C11
+#define GL_TEXTURE_BLUE_TYPE              0x8C12
+#define GL_TEXTURE_ALPHA_TYPE             0x8C13
+#define GL_TEXTURE_DEPTH_TYPE             0x8C16
+#define GL_UNSIGNED_NORMALIZED            0x8C17
+#define GL_FRAMEBUFFER_BINDING            0x8CA6
+#define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
+#define GL_RENDERBUFFER_BINDING           0x8CA7
+#define GL_READ_FRAMEBUFFER               0x8CA8
+#define GL_DRAW_FRAMEBUFFER               0x8CA9
+#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
+#define GL_RENDERBUFFER_SAMPLES           0x8CAB
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
+#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
+#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
+#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
+#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
+#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
+#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
+#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
+#define GL_COLOR_ATTACHMENT0              0x8CE0
+#define GL_COLOR_ATTACHMENT1              0x8CE1
+#define GL_COLOR_ATTACHMENT2              0x8CE2
+#define GL_COLOR_ATTACHMENT3              0x8CE3
+#define GL_COLOR_ATTACHMENT4              0x8CE4
+#define GL_COLOR_ATTACHMENT5              0x8CE5
+#define GL_COLOR_ATTACHMENT6              0x8CE6
+#define GL_COLOR_ATTACHMENT7              0x8CE7
+#define GL_COLOR_ATTACHMENT8              0x8CE8
+#define GL_COLOR_ATTACHMENT9              0x8CE9
+#define GL_COLOR_ATTACHMENT10             0x8CEA
+#define GL_COLOR_ATTACHMENT11             0x8CEB
+#define GL_COLOR_ATTACHMENT12             0x8CEC
+#define GL_COLOR_ATTACHMENT13             0x8CED
+#define GL_COLOR_ATTACHMENT14             0x8CEE
+#define GL_COLOR_ATTACHMENT15             0x8CEF
+#define GL_DEPTH_ATTACHMENT               0x8D00
+#define GL_STENCIL_ATTACHMENT             0x8D20
+#define GL_FRAMEBUFFER                    0x8D40
+#define GL_RENDERBUFFER                   0x8D41
+#define GL_RENDERBUFFER_WIDTH             0x8D42
+#define GL_RENDERBUFFER_HEIGHT            0x8D43
+#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
+#define GL_STENCIL_INDEX1                 0x8D46
+#define GL_STENCIL_INDEX4                 0x8D47
+#define GL_STENCIL_INDEX8                 0x8D48
+#define GL_STENCIL_INDEX16                0x8D49
+#define GL_RENDERBUFFER_RED_SIZE          0x8D50
+#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
+#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
+#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
+#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
+#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
+#define GL_MAX_SAMPLES                    0x8D57
+#define GL_INDEX                          0x8222
+#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
+#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
+#define GL_FRAMEBUFFER_SRGB               0x8DB9
+#define GL_HALF_FLOAT                     0x140B
+#define GL_MAP_READ_BIT                   0x0001
+#define GL_MAP_WRITE_BIT                  0x0002
+#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
+#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
+#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
+#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
+#define GL_COMPRESSED_RED_RGTC1           0x8DBB
+#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
+#define GL_COMPRESSED_RG_RGTC2            0x8DBD
+#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
+#define GL_RG                             0x8227
+#define GL_RG_INTEGER                     0x8228
+#define GL_R8                             0x8229
+#define GL_R16                            0x822A
+#define GL_RG8                            0x822B
+#define GL_RG16                           0x822C
+#define GL_R16F                           0x822D
+#define GL_R32F                           0x822E
+#define GL_RG16F                          0x822F
+#define GL_RG32F                          0x8230
+#define GL_R8I                            0x8231
+#define GL_R8UI                           0x8232
+#define GL_R16I                           0x8233
+#define GL_R16UI                          0x8234
+#define GL_R32I                           0x8235
+#define GL_R32UI                          0x8236
+#define GL_RG8I                           0x8237
+#define GL_RG8UI                          0x8238
+#define GL_RG16I                          0x8239
+#define GL_RG16UI                         0x823A
+#define GL_RG32I                          0x823B
+#define GL_RG32UI                         0x823C
+#define GL_VERTEX_ARRAY_BINDING           0x85B5
+#define GL_CLAMP_VERTEX_COLOR             0x891A
+#define GL_CLAMP_FRAGMENT_COLOR           0x891B
+#define GL_ALPHA_INTEGER                  0x8D97
+typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
+typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
+typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
+typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
+typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
+typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
+typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
+typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
+typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
+typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
+typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
+typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
+typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
+typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
+typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
+typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
+typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
+typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
+typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
+typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
+GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
+GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
+GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
+GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
+GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
+GLAPI void APIENTRY glEndTransformFeedback (void);
+GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
+GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
+GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
+GLAPI void APIENTRY glEndConditionalRender (void);
+GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
+GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
+GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
+GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
+GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
+GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
+GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
+GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
+GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
+GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
+GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
+GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
+GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
+GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
+GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
+GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
+GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
+GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
+GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
+GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
+GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
+GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGenerateMipmap (GLenum target);
+GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
+GLAPI void APIENTRY glBindVertexArray (GLuint array);
+GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
+GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
+GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
+#endif
+#endif /* GL_VERSION_3_0 */
+
+#ifndef GL_VERSION_3_1
+#define GL_VERSION_3_1 1
+#define GL_SAMPLER_2D_RECT                0x8B63
+#define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
+#define GL_SAMPLER_BUFFER                 0x8DC2
+#define GL_INT_SAMPLER_2D_RECT            0x8DCD
+#define GL_INT_SAMPLER_BUFFER             0x8DD0
+#define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
+#define GL_TEXTURE_BUFFER                 0x8C2A
+#define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
+#define GL_TEXTURE_BINDING_BUFFER         0x8C2C
+#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
+#define GL_TEXTURE_RECTANGLE              0x84F5
+#define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
+#define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
+#define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
+#define GL_R8_SNORM                       0x8F94
+#define GL_RG8_SNORM                      0x8F95
+#define GL_RGB8_SNORM                     0x8F96
+#define GL_RGBA8_SNORM                    0x8F97
+#define GL_R16_SNORM                      0x8F98
+#define GL_RG16_SNORM                     0x8F99
+#define GL_RGB16_SNORM                    0x8F9A
+#define GL_RGBA16_SNORM                   0x8F9B
+#define GL_SIGNED_NORMALIZED              0x8F9C
+#define GL_PRIMITIVE_RESTART              0x8F9D
+#define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
+#define GL_COPY_READ_BUFFER               0x8F36
+#define GL_COPY_WRITE_BUFFER              0x8F37
+#define GL_UNIFORM_BUFFER                 0x8A11
+#define GL_UNIFORM_BUFFER_BINDING         0x8A28
+#define GL_UNIFORM_BUFFER_START           0x8A29
+#define GL_UNIFORM_BUFFER_SIZE            0x8A2A
+#define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
+#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
+#define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
+#define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
+#define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
+#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
+#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
+#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
+#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
+#define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
+#define GL_UNIFORM_TYPE                   0x8A37
+#define GL_UNIFORM_SIZE                   0x8A38
+#define GL_UNIFORM_NAME_LENGTH            0x8A39
+#define GL_UNIFORM_BLOCK_INDEX            0x8A3A
+#define GL_UNIFORM_OFFSET                 0x8A3B
+#define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
+#define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
+#define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
+#define GL_UNIFORM_BLOCK_BINDING          0x8A3F
+#define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
+#define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
+#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
+#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
+#define GL_INVALID_INDEX                  0xFFFFFFFFu
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
+typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
+typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
+typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
+typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
+GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
+GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
+GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
+GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
+GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
+GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
+GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
+GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
+#endif
+#endif /* GL_VERSION_3_1 */
+
+#ifndef GL_VERSION_3_2
+#define GL_VERSION_3_2 1
+typedef struct __GLsync *GLsync;
+#ifndef GLEXT_64_TYPES_DEFINED
+/* This code block is duplicated in glxext.h, so must be protected */
+#define GLEXT_64_TYPES_DEFINED
+/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
+/* (as used in the GL_EXT_timer_query extension). */
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#include <inttypes.h>
+#elif defined(__sun__) || defined(__digital__)
+#include <inttypes.h>
+#if defined(__STDC__)
+#if defined(__arch64__) || defined(_LP64)
+typedef long int int64_t;
+typedef unsigned long int uint64_t;
+#else
+typedef long long int int64_t;
+typedef unsigned long long int uint64_t;
+#endif /* __arch64__ */
+#endif /* __STDC__ */
+#elif defined( __VMS ) || defined(__sgi)
+#include <inttypes.h>
+#elif defined(__SCO__) || defined(__USLC__)
+#include <stdint.h>
+#elif defined(__UNIXOS2__) || defined(__SOL64__)
+typedef long int int32_t;
+typedef long long int int64_t;
+typedef unsigned long long int uint64_t;
+#elif defined(_WIN32) && defined(__GNUC__)
+#include <stdint.h>
+#elif defined(_WIN32)
+typedef __int32 int32_t;
+typedef __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#else
+/* Fallback if nothing above works */
+#include <inttypes.h>
+#endif
+#endif
+typedef uint64_t GLuint64;
+typedef int64_t GLint64;
+#define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
+#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
+#define GL_LINES_ADJACENCY                0x000A
+#define GL_LINE_STRIP_ADJACENCY           0x000B
+#define GL_TRIANGLES_ADJACENCY            0x000C
+#define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
+#define GL_PROGRAM_POINT_SIZE             0x8642
+#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
+#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
+#define GL_GEOMETRY_SHADER                0x8DD9
+#define GL_GEOMETRY_VERTICES_OUT          0x8916
+#define GL_GEOMETRY_INPUT_TYPE            0x8917
+#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
+#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
+#define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
+#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
+#define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
+#define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
+#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
+#define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
+#define GL_CONTEXT_PROFILE_MASK           0x9126
+#define GL_DEPTH_CLAMP                    0x864F
+#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
+#define GL_FIRST_VERTEX_CONVENTION        0x8E4D
+#define GL_LAST_VERTEX_CONVENTION         0x8E4E
+#define GL_PROVOKING_VERTEX               0x8E4F
+#define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
+#define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
+#define GL_OBJECT_TYPE                    0x9112
+#define GL_SYNC_CONDITION                 0x9113
+#define GL_SYNC_STATUS                    0x9114
+#define GL_SYNC_FLAGS                     0x9115
+#define GL_SYNC_FENCE                     0x9116
+#define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
+#define GL_UNSIGNALED                     0x9118
+#define GL_SIGNALED                       0x9119
+#define GL_ALREADY_SIGNALED               0x911A
+#define GL_TIMEOUT_EXPIRED                0x911B
+#define GL_CONDITION_SATISFIED            0x911C
+#define GL_WAIT_FAILED                    0x911D
+#define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
+#define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
+#define GL_SAMPLE_POSITION                0x8E50
+#define GL_SAMPLE_MASK                    0x8E51
+#define GL_SAMPLE_MASK_VALUE              0x8E52
+#define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
+#define GL_TEXTURE_2D_MULTISAMPLE         0x9100
+#define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
+#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
+#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
+#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
+#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
+#define GL_TEXTURE_SAMPLES                0x9106
+#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
+#define GL_SAMPLER_2D_MULTISAMPLE         0x9108
+#define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
+#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
+#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
+#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
+#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
+#define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
+#define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
+#define GL_MAX_INTEGER_SAMPLES            0x9110
+typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
+typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
+typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
+typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
+typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
+typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
+typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
+typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
+GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
+GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
+GLAPI void APIENTRY glProvokingVertex (GLenum mode);
+GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
+GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
+GLAPI void APIENTRY glDeleteSync (GLsync sync);
+GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
+GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
+GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
+GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
+GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
+#endif
+#endif /* GL_VERSION_3_2 */
+
+#ifndef GL_VERSION_3_3
+#define GL_VERSION_3_3 1
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
+#define GL_SRC1_COLOR                     0x88F9
+#define GL_ONE_MINUS_SRC1_COLOR           0x88FA
+#define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
+#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
+#define GL_ANY_SAMPLES_PASSED             0x8C2F
+#define GL_SAMPLER_BINDING                0x8919
+#define GL_RGB10_A2UI                     0x906F
+#define GL_TEXTURE_SWIZZLE_R              0x8E42
+#define GL_TEXTURE_SWIZZLE_G              0x8E43
+#define GL_TEXTURE_SWIZZLE_B              0x8E44
+#define GL_TEXTURE_SWIZZLE_A              0x8E45
+#define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
+#define GL_TIME_ELAPSED                   0x88BF
+#define GL_TIMESTAMP                      0x8E28
+#define GL_INT_2_10_10_10_REV             0x8D9F
+typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
+typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
+typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
+typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
+typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
+typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
+typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
+typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
+typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
+typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
+typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
+typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
+typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
+GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
+GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
+GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
+GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
+GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
+GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
+GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
+GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
+GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
+GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
+GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
+GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
+GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
+GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
+GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
+GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
+GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
+GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
+GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
+GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
+GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
+GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
+GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
+GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
+GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
+GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
+GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
+GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
+GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
+GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
+#endif
+#endif /* GL_VERSION_3_3 */
+
+#ifndef GL_VERSION_4_0
+#define GL_VERSION_4_0 1
+#define GL_SAMPLE_SHADING                 0x8C36
+#define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
+#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
+#define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
+#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
+#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
+#define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
+#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
+#define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
+#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
+#define GL_DRAW_INDIRECT_BUFFER           0x8F3F
+#define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
+#define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
+#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
+#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
+#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
+#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
+#define GL_MAX_VERTEX_STREAMS             0x8E71
+#define GL_DOUBLE_VEC2                    0x8FFC
+#define GL_DOUBLE_VEC3                    0x8FFD
+#define GL_DOUBLE_VEC4                    0x8FFE
+#define GL_DOUBLE_MAT2                    0x8F46
+#define GL_DOUBLE_MAT3                    0x8F47
+#define GL_DOUBLE_MAT4                    0x8F48
+#define GL_DOUBLE_MAT2x3                  0x8F49
+#define GL_DOUBLE_MAT2x4                  0x8F4A
+#define GL_DOUBLE_MAT3x2                  0x8F4B
+#define GL_DOUBLE_MAT3x4                  0x8F4C
+#define GL_DOUBLE_MAT4x2                  0x8F4D
+#define GL_DOUBLE_MAT4x3                  0x8F4E
+#define GL_ACTIVE_SUBROUTINES             0x8DE5
+#define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
+#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
+#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
+#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
+#define GL_MAX_SUBROUTINES                0x8DE7
+#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
+#define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
+#define GL_COMPATIBLE_SUBROUTINES         0x8E4B
+#define GL_PATCHES                        0x000E
+#define GL_PATCH_VERTICES                 0x8E72
+#define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
+#define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
+#define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
+#define GL_TESS_GEN_MODE                  0x8E76
+#define GL_TESS_GEN_SPACING               0x8E77
+#define GL_TESS_GEN_VERTEX_ORDER          0x8E78
+#define GL_TESS_GEN_POINT_MODE            0x8E79
+#define GL_ISOLINES                       0x8E7A
+#define GL_FRACTIONAL_ODD                 0x8E7B
+#define GL_FRACTIONAL_EVEN                0x8E7C
+#define GL_MAX_PATCH_VERTICES             0x8E7D
+#define GL_MAX_TESS_GEN_LEVEL             0x8E7E
+#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
+#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
+#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
+#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
+#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
+#define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
+#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
+#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
+#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
+#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
+#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
+#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
+#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
+#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
+#define GL_TESS_EVALUATION_SHADER         0x8E87
+#define GL_TESS_CONTROL_SHADER            0x8E88
+#define GL_TRANSFORM_FEEDBACK             0x8E22
+#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
+#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
+#define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
+#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
+typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
+typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
+typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
+typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
+typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
+typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
+typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
+typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
+typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
+typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
+typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
+typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
+typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMinSampleShading (GLfloat value);
+GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
+GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
+GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
+GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
+GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
+GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
+GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
+GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
+GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
+GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
+GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
+GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
+GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
+GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
+GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
+GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
+GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
+GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
+GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
+GLAPI void APIENTRY glPauseTransformFeedback (void);
+GLAPI void APIENTRY glResumeTransformFeedback (void);
+GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
+GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
+GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
+GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
+GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
+#endif
+#endif /* GL_VERSION_4_0 */
+
+#ifndef GL_VERSION_4_1
+#define GL_VERSION_4_1 1
+#define GL_FIXED                          0x140C
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
+#define GL_LOW_FLOAT                      0x8DF0
+#define GL_MEDIUM_FLOAT                   0x8DF1
+#define GL_HIGH_FLOAT                     0x8DF2
+#define GL_LOW_INT                        0x8DF3
+#define GL_MEDIUM_INT                     0x8DF4
+#define GL_HIGH_INT                       0x8DF5
+#define GL_SHADER_COMPILER                0x8DFA
+#define GL_SHADER_BINARY_FORMATS          0x8DF8
+#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
+#define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
+#define GL_MAX_VARYING_VECTORS            0x8DFC
+#define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
+#define GL_RGB565                         0x8D62
+#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
+#define GL_PROGRAM_BINARY_LENGTH          0x8741
+#define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
+#define GL_PROGRAM_BINARY_FORMATS         0x87FF
+#define GL_VERTEX_SHADER_BIT              0x00000001
+#define GL_FRAGMENT_SHADER_BIT            0x00000002
+#define GL_GEOMETRY_SHADER_BIT            0x00000004
+#define GL_TESS_CONTROL_SHADER_BIT        0x00000008
+#define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
+#define GL_ALL_SHADER_BITS                0xFFFFFFFF
+#define GL_PROGRAM_SEPARABLE              0x8258
+#define GL_ACTIVE_PROGRAM                 0x8259
+#define GL_PROGRAM_PIPELINE_BINDING       0x825A
+#define GL_MAX_VIEWPORTS                  0x825B
+#define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
+#define GL_VIEWPORT_BOUNDS_RANGE          0x825D
+#define GL_LAYER_PROVOKING_VERTEX         0x825E
+#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
+#define GL_UNDEFINED_VERTEX               0x8260
+typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
+typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
+typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
+typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
+typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
+typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
+typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
+typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
+typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
+typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
+typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
+typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
+typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
+typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
+typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glReleaseShaderCompiler (void);
+GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
+GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
+GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
+GLAPI void APIENTRY glClearDepthf (GLfloat d);
+GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
+GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
+GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
+GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
+GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
+GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
+GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
+GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
+GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
+GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
+GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
+GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
+GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
+GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
+GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
+GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
+GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
+GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
+GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
+GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
+GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
+GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
+GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
+GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
+#endif
+#endif /* GL_VERSION_4_1 */
+
+#ifndef GL_VERSION_4_2
+#define GL_VERSION_4_2 1
+#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
+#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
+#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
+#define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
+#define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
+#define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
+#define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
+#define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
+#define GL_NUM_SAMPLE_COUNTS              0x9380
+#define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
+#define GL_ATOMIC_COUNTER_BUFFER          0x92C0
+#define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
+#define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
+#define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
+#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
+#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
+#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
+#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
+#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
+#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
+#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
+#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
+#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
+#define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
+#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
+#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
+#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
+#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
+#define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
+#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
+#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
+#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
+#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
+#define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
+#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
+#define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
+#define GL_UNIFORM_BARRIER_BIT            0x00000004
+#define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
+#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
+#define GL_COMMAND_BARRIER_BIT            0x00000040
+#define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
+#define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
+#define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
+#define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
+#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
+#define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
+#define GL_ALL_BARRIER_BITS               0xFFFFFFFF
+#define GL_MAX_IMAGE_UNITS                0x8F38
+#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
+#define GL_IMAGE_BINDING_NAME             0x8F3A
+#define GL_IMAGE_BINDING_LEVEL            0x8F3B
+#define GL_IMAGE_BINDING_LAYERED          0x8F3C
+#define GL_IMAGE_BINDING_LAYER            0x8F3D
+#define GL_IMAGE_BINDING_ACCESS           0x8F3E
+#define GL_IMAGE_1D                       0x904C
+#define GL_IMAGE_2D                       0x904D
+#define GL_IMAGE_3D                       0x904E
+#define GL_IMAGE_2D_RECT                  0x904F
+#define GL_IMAGE_CUBE                     0x9050
+#define GL_IMAGE_BUFFER                   0x9051
+#define GL_IMAGE_1D_ARRAY                 0x9052
+#define GL_IMAGE_2D_ARRAY                 0x9053
+#define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
+#define GL_IMAGE_2D_MULTISAMPLE           0x9055
+#define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
+#define GL_INT_IMAGE_1D                   0x9057
+#define GL_INT_IMAGE_2D                   0x9058
+#define GL_INT_IMAGE_3D                   0x9059
+#define GL_INT_IMAGE_2D_RECT              0x905A
+#define GL_INT_IMAGE_CUBE                 0x905B
+#define GL_INT_IMAGE_BUFFER               0x905C
+#define GL_INT_IMAGE_1D_ARRAY             0x905D
+#define GL_INT_IMAGE_2D_ARRAY             0x905E
+#define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
+#define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
+#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
+#define GL_UNSIGNED_INT_IMAGE_1D          0x9062
+#define GL_UNSIGNED_INT_IMAGE_2D          0x9063
+#define GL_UNSIGNED_INT_IMAGE_3D          0x9064
+#define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
+#define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
+#define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
+#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
+#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
+#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
+#define GL_MAX_IMAGE_SAMPLES              0x906D
+#define GL_IMAGE_BINDING_FORMAT           0x906E
+#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
+#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
+#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
+#define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
+#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
+#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
+#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
+#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
+#define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
+#define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
+#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
+#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
+#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
+#define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
+typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
+typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
+typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
+typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
+GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
+GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
+GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
+GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
+GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
+GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
+GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
+GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
+#endif
+#endif /* GL_VERSION_4_2 */
+
+#ifndef GL_VERSION_4_3
+#define GL_VERSION_4_3 1
+typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
+#define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
+#define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
+#define GL_COMPRESSED_RGB8_ETC2           0x9274
+#define GL_COMPRESSED_SRGB8_ETC2          0x9275
+#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
+#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
+#define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
+#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
+#define GL_COMPRESSED_R11_EAC             0x9270
+#define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
+#define GL_COMPRESSED_RG11_EAC            0x9272
+#define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
+#define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
+#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
+#define GL_MAX_ELEMENT_INDEX              0x8D6B
+#define GL_COMPUTE_SHADER                 0x91B9
+#define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
+#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
+#define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
+#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
+#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
+#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
+#define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
+#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
+#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
+#define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
+#define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
+#define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
+#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
+#define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
+#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
+#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
+#define GL_DEBUG_CALLBACK_FUNCTION        0x8244
+#define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
+#define GL_DEBUG_SOURCE_API               0x8246
+#define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
+#define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
+#define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
+#define GL_DEBUG_SOURCE_APPLICATION       0x824A
+#define GL_DEBUG_SOURCE_OTHER             0x824B
+#define GL_DEBUG_TYPE_ERROR               0x824C
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
+#define GL_DEBUG_TYPE_PORTABILITY         0x824F
+#define GL_DEBUG_TYPE_PERFORMANCE         0x8250
+#define GL_DEBUG_TYPE_OTHER               0x8251
+#define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
+#define GL_DEBUG_LOGGED_MESSAGES          0x9145
+#define GL_DEBUG_SEVERITY_HIGH            0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM          0x9147
+#define GL_DEBUG_SEVERITY_LOW             0x9148
+#define GL_DEBUG_TYPE_MARKER              0x8268
+#define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
+#define GL_DEBUG_TYPE_POP_GROUP           0x826A
+#define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
+#define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
+#define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
+#define GL_BUFFER                         0x82E0
+#define GL_SHADER                         0x82E1
+#define GL_PROGRAM                        0x82E2
+#define GL_QUERY                          0x82E3
+#define GL_PROGRAM_PIPELINE               0x82E4
+#define GL_SAMPLER                        0x82E6
+#define GL_MAX_LABEL_LENGTH               0x82E8
+#define GL_DEBUG_OUTPUT                   0x92E0
+#define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
+#define GL_MAX_UNIFORM_LOCATIONS          0x826E
+#define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
+#define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
+#define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
+#define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
+#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
+#define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
+#define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
+#define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
+#define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
+#define GL_INTERNALFORMAT_SUPPORTED       0x826F
+#define GL_INTERNALFORMAT_PREFERRED       0x8270
+#define GL_INTERNALFORMAT_RED_SIZE        0x8271
+#define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
+#define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
+#define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
+#define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
+#define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
+#define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
+#define GL_INTERNALFORMAT_RED_TYPE        0x8278
+#define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
+#define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
+#define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
+#define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
+#define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
+#define GL_MAX_WIDTH                      0x827E
+#define GL_MAX_HEIGHT                     0x827F
+#define GL_MAX_DEPTH                      0x8280
+#define GL_MAX_LAYERS                     0x8281
+#define GL_MAX_COMBINED_DIMENSIONS        0x8282
+#define GL_COLOR_COMPONENTS               0x8283
+#define GL_DEPTH_COMPONENTS               0x8284
+#define GL_STENCIL_COMPONENTS             0x8285
+#define GL_COLOR_RENDERABLE               0x8286
+#define GL_DEPTH_RENDERABLE               0x8287
+#define GL_STENCIL_RENDERABLE             0x8288
+#define GL_FRAMEBUFFER_RENDERABLE         0x8289
+#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
+#define GL_FRAMEBUFFER_BLEND              0x828B
+#define GL_READ_PIXELS                    0x828C
+#define GL_READ_PIXELS_FORMAT             0x828D
+#define GL_READ_PIXELS_TYPE               0x828E
+#define GL_TEXTURE_IMAGE_FORMAT           0x828F
+#define GL_TEXTURE_IMAGE_TYPE             0x8290
+#define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
+#define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
+#define GL_MIPMAP                         0x8293
+#define GL_MANUAL_GENERATE_MIPMAP         0x8294
+#define GL_AUTO_GENERATE_MIPMAP           0x8295
+#define GL_COLOR_ENCODING                 0x8296
+#define GL_SRGB_READ                      0x8297
+#define GL_SRGB_WRITE                     0x8298
+#define GL_FILTER                         0x829A
+#define GL_VERTEX_TEXTURE                 0x829B
+#define GL_TESS_CONTROL_TEXTURE           0x829C
+#define GL_TESS_EVALUATION_TEXTURE        0x829D
+#define GL_GEOMETRY_TEXTURE               0x829E
+#define GL_FRAGMENT_TEXTURE               0x829F
+#define GL_COMPUTE_TEXTURE                0x82A0
+#define GL_TEXTURE_SHADOW                 0x82A1
+#define GL_TEXTURE_GATHER                 0x82A2
+#define GL_TEXTURE_GATHER_SHADOW          0x82A3
+#define GL_SHADER_IMAGE_LOAD              0x82A4
+#define GL_SHADER_IMAGE_STORE             0x82A5
+#define GL_SHADER_IMAGE_ATOMIC            0x82A6
+#define GL_IMAGE_TEXEL_SIZE               0x82A7
+#define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
+#define GL_IMAGE_PIXEL_FORMAT             0x82A9
+#define GL_IMAGE_PIXEL_TYPE               0x82AA
+#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
+#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
+#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
+#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
+#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
+#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
+#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
+#define GL_CLEAR_BUFFER                   0x82B4
+#define GL_TEXTURE_VIEW                   0x82B5
+#define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
+#define GL_FULL_SUPPORT                   0x82B7
+#define GL_CAVEAT_SUPPORT                 0x82B8
+#define GL_IMAGE_CLASS_4_X_32             0x82B9
+#define GL_IMAGE_CLASS_2_X_32             0x82BA
+#define GL_IMAGE_CLASS_1_X_32             0x82BB
+#define GL_IMAGE_CLASS_4_X_16             0x82BC
+#define GL_IMAGE_CLASS_2_X_16             0x82BD
+#define GL_IMAGE_CLASS_1_X_16             0x82BE
+#define GL_IMAGE_CLASS_4_X_8              0x82BF
+#define GL_IMAGE_CLASS_2_X_8              0x82C0
+#define GL_IMAGE_CLASS_1_X_8              0x82C1
+#define GL_IMAGE_CLASS_11_11_10           0x82C2
+#define GL_IMAGE_CLASS_10_10_10_2         0x82C3
+#define GL_VIEW_CLASS_128_BITS            0x82C4
+#define GL_VIEW_CLASS_96_BITS             0x82C5
+#define GL_VIEW_CLASS_64_BITS             0x82C6
+#define GL_VIEW_CLASS_48_BITS             0x82C7
+#define GL_VIEW_CLASS_32_BITS             0x82C8
+#define GL_VIEW_CLASS_24_BITS             0x82C9
+#define GL_VIEW_CLASS_16_BITS             0x82CA
+#define GL_VIEW_CLASS_8_BITS              0x82CB
+#define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
+#define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
+#define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
+#define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
+#define GL_VIEW_CLASS_RGTC1_RED           0x82D0
+#define GL_VIEW_CLASS_RGTC2_RG            0x82D1
+#define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
+#define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
+#define GL_UNIFORM                        0x92E1
+#define GL_UNIFORM_BLOCK                  0x92E2
+#define GL_PROGRAM_INPUT                  0x92E3
+#define GL_PROGRAM_OUTPUT                 0x92E4
+#define GL_BUFFER_VARIABLE                0x92E5
+#define GL_SHADER_STORAGE_BLOCK           0x92E6
+#define GL_VERTEX_SUBROUTINE              0x92E8
+#define GL_TESS_CONTROL_SUBROUTINE        0x92E9
+#define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
+#define GL_GEOMETRY_SUBROUTINE            0x92EB
+#define GL_FRAGMENT_SUBROUTINE            0x92EC
+#define GL_COMPUTE_SUBROUTINE             0x92ED
+#define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
+#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
+#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
+#define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
+#define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
+#define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
+#define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
+#define GL_ACTIVE_RESOURCES               0x92F5
+#define GL_MAX_NAME_LENGTH                0x92F6
+#define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
+#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
+#define GL_NAME_LENGTH                    0x92F9
+#define GL_TYPE                           0x92FA
+#define GL_ARRAY_SIZE                     0x92FB
+#define GL_OFFSET                         0x92FC
+#define GL_BLOCK_INDEX                    0x92FD
+#define GL_ARRAY_STRIDE                   0x92FE
+#define GL_MATRIX_STRIDE                  0x92FF
+#define GL_IS_ROW_MAJOR                   0x9300
+#define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
+#define GL_BUFFER_BINDING                 0x9302
+#define GL_BUFFER_DATA_SIZE               0x9303
+#define GL_NUM_ACTIVE_VARIABLES           0x9304
+#define GL_ACTIVE_VARIABLES               0x9305
+#define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
+#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
+#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
+#define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
+#define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
+#define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
+#define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
+#define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
+#define GL_LOCATION                       0x930E
+#define GL_LOCATION_INDEX                 0x930F
+#define GL_IS_PER_PATCH                   0x92E7
+#define GL_SHADER_STORAGE_BUFFER          0x90D2
+#define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
+#define GL_SHADER_STORAGE_BUFFER_START    0x90D4
+#define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
+#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
+#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
+#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
+#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
+#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
+#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
+#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
+#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
+#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
+#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
+#define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
+#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
+#define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
+#define GL_TEXTURE_BUFFER_OFFSET          0x919D
+#define GL_TEXTURE_BUFFER_SIZE            0x919E
+#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
+#define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
+#define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
+#define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
+#define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
+#define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
+#define GL_VERTEX_ATTRIB_BINDING          0x82D4
+#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
+#define GL_VERTEX_BINDING_DIVISOR         0x82D6
+#define GL_VERTEX_BINDING_OFFSET          0x82D7
+#define GL_VERTEX_BINDING_STRIDE          0x82D8
+#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
+#define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
+#define GL_VERTEX_BINDING_BUFFER          0x8F4F
+#define GL_DISPLAY_LIST                   0x82E7
+typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
+typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
+typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
+typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
+typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
+typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
+typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
+typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
+typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
+typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
+typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
+typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
+typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
+typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
+GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
+GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
+GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
+GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
+GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
+GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
+GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
+GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
+GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
+GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
+GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
+GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
+GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
+GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
+GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
+GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
+GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
+GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
+GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
+GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
+GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+GLAPI void APIENTRY glPopDebugGroup (void);
+GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
+GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+#endif /* GL_VERSION_4_3 */
+
+#ifndef GL_VERSION_4_4
+#define GL_VERSION_4_4 1
+#define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
+#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
+#define GL_TEXTURE_BUFFER_BINDING         0x8C2A
+#define GL_MAP_PERSISTENT_BIT             0x0040
+#define GL_MAP_COHERENT_BIT               0x0080
+#define GL_DYNAMIC_STORAGE_BIT            0x0100
+#define GL_CLIENT_STORAGE_BIT             0x0200
+#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
+#define GL_BUFFER_IMMUTABLE_STORAGE       0x821F
+#define GL_BUFFER_STORAGE_FLAGS           0x8220
+#define GL_CLEAR_TEXTURE                  0x9365
+#define GL_LOCATION_COMPONENT             0x934A
+#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
+#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
+#define GL_QUERY_BUFFER                   0x9192
+#define GL_QUERY_BUFFER_BARRIER_BIT       0x00008000
+#define GL_QUERY_BUFFER_BINDING           0x9193
+#define GL_QUERY_RESULT_NO_WAIT           0x9194
+#define GL_MIRROR_CLAMP_TO_EDGE           0x8743
+typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
+typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
+typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
+typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
+typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
+typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
+typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
+GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
+GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
+GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
+GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
+GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
+GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
+#endif
+#endif /* GL_VERSION_4_4 */
+
+#ifndef GL_ARB_ES2_compatibility
+#define GL_ARB_ES2_compatibility 1
+#endif /* GL_ARB_ES2_compatibility */
+
+#ifndef GL_ARB_ES3_compatibility
+#define GL_ARB_ES3_compatibility 1
+#endif /* GL_ARB_ES3_compatibility */
+
+#ifndef GL_ARB_arrays_of_arrays
+#define GL_ARB_arrays_of_arrays 1
+#endif /* GL_ARB_arrays_of_arrays */
+
+#ifndef GL_ARB_base_instance
+#define GL_ARB_base_instance 1
+#endif /* GL_ARB_base_instance */
+
+#ifndef GL_ARB_bindless_texture
+#define GL_ARB_bindless_texture 1
+typedef uint64_t GLuint64EXT;
+#define GL_UNSIGNED_INT64_ARB             0x140F
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
+typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
+typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
+GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
+GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
+GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
+GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
+GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
+GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
+GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
+GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
+GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
+GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
+GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
+GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
+#endif
+#endif /* GL_ARB_bindless_texture */
+
+#ifndef GL_ARB_blend_func_extended
+#define GL_ARB_blend_func_extended 1
+#endif /* GL_ARB_blend_func_extended */
+
+#ifndef GL_ARB_buffer_storage
+#define GL_ARB_buffer_storage 1
+#endif /* GL_ARB_buffer_storage */
+
+#ifndef GL_ARB_cl_event
+#define GL_ARB_cl_event 1
+struct _cl_context;
+struct _cl_event;
+#define GL_SYNC_CL_EVENT_ARB              0x8240
+#define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
+typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
+#endif
+#endif /* GL_ARB_cl_event */
+
+#ifndef GL_ARB_clear_buffer_object
+#define GL_ARB_clear_buffer_object 1
+#endif /* GL_ARB_clear_buffer_object */
+
+#ifndef GL_ARB_clear_texture
+#define GL_ARB_clear_texture 1
+#endif /* GL_ARB_clear_texture */
+
+#ifndef GL_ARB_color_buffer_float
+#define GL_ARB_color_buffer_float 1
+#define GL_RGBA_FLOAT_MODE_ARB            0x8820
+#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
+#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
+#define GL_CLAMP_READ_COLOR_ARB           0x891C
+#define GL_FIXED_ONLY_ARB                 0x891D
+typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
+#endif
+#endif /* GL_ARB_color_buffer_float */
+
+#ifndef GL_ARB_compatibility
+#define GL_ARB_compatibility 1
+#endif /* GL_ARB_compatibility */
+
+#ifndef GL_ARB_compressed_texture_pixel_storage
+#define GL_ARB_compressed_texture_pixel_storage 1
+#endif /* GL_ARB_compressed_texture_pixel_storage */
+
+#ifndef GL_ARB_compute_shader
+#define GL_ARB_compute_shader 1
+#define GL_COMPUTE_SHADER_BIT             0x00000020
+#endif /* GL_ARB_compute_shader */
+
+#ifndef GL_ARB_compute_variable_group_size
+#define GL_ARB_compute_variable_group_size 1
+#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
+#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
+#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
+#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
+typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
+#endif
+#endif /* GL_ARB_compute_variable_group_size */
+
+#ifndef GL_ARB_conservative_depth
+#define GL_ARB_conservative_depth 1
+#endif /* GL_ARB_conservative_depth */
+
+#ifndef GL_ARB_copy_buffer
+#define GL_ARB_copy_buffer 1
+#define GL_COPY_READ_BUFFER_BINDING       0x8F36
+#define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
+#endif /* GL_ARB_copy_buffer */
+
+#ifndef GL_ARB_copy_image
+#define GL_ARB_copy_image 1
+#endif /* GL_ARB_copy_image */
+
+#ifndef GL_ARB_debug_output
+#define GL_ARB_debug_output 1
+typedef void (APIENTRY  *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
+#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
+#define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
+#define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
+#define GL_DEBUG_SOURCE_API_ARB           0x8246
+#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
+#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
+#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
+#define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
+#define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
+#define GL_DEBUG_TYPE_ERROR_ARB           0x824C
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
+#define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
+#define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
+#define GL_DEBUG_TYPE_OTHER_ARB           0x8251
+#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
+#define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
+#define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
+#define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
+typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
+GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+#endif
+#endif /* GL_ARB_debug_output */
+
+#ifndef GL_ARB_depth_buffer_float
+#define GL_ARB_depth_buffer_float 1
+#endif /* GL_ARB_depth_buffer_float */
+
+#ifndef GL_ARB_depth_clamp
+#define GL_ARB_depth_clamp 1
+#endif /* GL_ARB_depth_clamp */
+
+#ifndef GL_ARB_depth_texture
+#define GL_ARB_depth_texture 1
+#define GL_DEPTH_COMPONENT16_ARB          0x81A5
+#define GL_DEPTH_COMPONENT24_ARB          0x81A6
+#define GL_DEPTH_COMPONENT32_ARB          0x81A7
+#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
+#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
+#endif /* GL_ARB_depth_texture */
+
+#ifndef GL_ARB_draw_buffers
+#define GL_ARB_draw_buffers 1
+#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
+#define GL_DRAW_BUFFER0_ARB               0x8825
+#define GL_DRAW_BUFFER1_ARB               0x8826
+#define GL_DRAW_BUFFER2_ARB               0x8827
+#define GL_DRAW_BUFFER3_ARB               0x8828
+#define GL_DRAW_BUFFER4_ARB               0x8829
+#define GL_DRAW_BUFFER5_ARB               0x882A
+#define GL_DRAW_BUFFER6_ARB               0x882B
+#define GL_DRAW_BUFFER7_ARB               0x882C
+#define GL_DRAW_BUFFER8_ARB               0x882D
+#define GL_DRAW_BUFFER9_ARB               0x882E
+#define GL_DRAW_BUFFER10_ARB              0x882F
+#define GL_DRAW_BUFFER11_ARB              0x8830
+#define GL_DRAW_BUFFER12_ARB              0x8831
+#define GL_DRAW_BUFFER13_ARB              0x8832
+#define GL_DRAW_BUFFER14_ARB              0x8833
+#define GL_DRAW_BUFFER15_ARB              0x8834
+typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
+#endif
+#endif /* GL_ARB_draw_buffers */
+
+#ifndef GL_ARB_draw_buffers_blend
+#define GL_ARB_draw_buffers_blend 1
+typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
+GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
+GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+#endif
+#endif /* GL_ARB_draw_buffers_blend */
+
+#ifndef GL_ARB_draw_elements_base_vertex
+#define GL_ARB_draw_elements_base_vertex 1
+#endif /* GL_ARB_draw_elements_base_vertex */
+
+#ifndef GL_ARB_draw_indirect
+#define GL_ARB_draw_indirect 1
+#endif /* GL_ARB_draw_indirect */
+
+#ifndef GL_ARB_draw_instanced
+#define GL_ARB_draw_instanced 1
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#endif
+#endif /* GL_ARB_draw_instanced */
+
+#ifndef GL_ARB_enhanced_layouts
+#define GL_ARB_enhanced_layouts 1
+#endif /* GL_ARB_enhanced_layouts */
+
+#ifndef GL_ARB_explicit_attrib_location
+#define GL_ARB_explicit_attrib_location 1
+#endif /* GL_ARB_explicit_attrib_location */
+
+#ifndef GL_ARB_explicit_uniform_location
+#define GL_ARB_explicit_uniform_location 1
+#endif /* GL_ARB_explicit_uniform_location */
+
+#ifndef GL_ARB_fragment_coord_conventions
+#define GL_ARB_fragment_coord_conventions 1
+#endif /* GL_ARB_fragment_coord_conventions */
+
+#ifndef GL_ARB_fragment_layer_viewport
+#define GL_ARB_fragment_layer_viewport 1
+#endif /* GL_ARB_fragment_layer_viewport */
+
+#ifndef GL_ARB_fragment_program
+#define GL_ARB_fragment_program 1
+#define GL_FRAGMENT_PROGRAM_ARB           0x8804
+#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
+#define GL_PROGRAM_LENGTH_ARB             0x8627
+#define GL_PROGRAM_FORMAT_ARB             0x8876
+#define GL_PROGRAM_BINDING_ARB            0x8677
+#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
+#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
+#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
+#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
+#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
+#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
+#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
+#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
+#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
+#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
+#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
+#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
+#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
+#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
+#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
+#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
+#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
+#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
+#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
+#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
+#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
+#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
+#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
+#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
+#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
+#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
+#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
+#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
+#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
+#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
+#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
+#define GL_PROGRAM_STRING_ARB             0x8628
+#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
+#define GL_CURRENT_MATRIX_ARB             0x8641
+#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
+#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
+#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
+#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
+#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
+#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
+#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
+#define GL_MATRIX0_ARB                    0x88C0
+#define GL_MATRIX1_ARB                    0x88C1
+#define GL_MATRIX2_ARB                    0x88C2
+#define GL_MATRIX3_ARB                    0x88C3
+#define GL_MATRIX4_ARB                    0x88C4
+#define GL_MATRIX5_ARB                    0x88C5
+#define GL_MATRIX6_ARB                    0x88C6
+#define GL_MATRIX7_ARB                    0x88C7
+#define GL_MATRIX8_ARB                    0x88C8
+#define GL_MATRIX9_ARB                    0x88C9
+#define GL_MATRIX10_ARB                   0x88CA
+#define GL_MATRIX11_ARB                   0x88CB
+#define GL_MATRIX12_ARB                   0x88CC
+#define GL_MATRIX13_ARB                   0x88CD
+#define GL_MATRIX14_ARB                   0x88CE
+#define GL_MATRIX15_ARB                   0x88CF
+#define GL_MATRIX16_ARB                   0x88D0
+#define GL_MATRIX17_ARB                   0x88D1
+#define GL_MATRIX18_ARB                   0x88D2
+#define GL_MATRIX19_ARB                   0x88D3
+#define GL_MATRIX20_ARB                   0x88D4
+#define GL_MATRIX21_ARB                   0x88D5
+#define GL_MATRIX22_ARB                   0x88D6
+#define GL_MATRIX23_ARB                   0x88D7
+#define GL_MATRIX24_ARB                   0x88D8
+#define GL_MATRIX25_ARB                   0x88D9
+#define GL_MATRIX26_ARB                   0x88DA
+#define GL_MATRIX27_ARB                   0x88DB
+#define GL_MATRIX28_ARB                   0x88DC
+#define GL_MATRIX29_ARB                   0x88DD
+#define GL_MATRIX30_ARB                   0x88DE
+#define GL_MATRIX31_ARB                   0x88DF
+typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
+typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
+typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
+GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
+GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
+GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
+GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
+GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
+GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
+GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
+GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
+GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
+#endif
+#endif /* GL_ARB_fragment_program */
+
+#ifndef GL_ARB_fragment_program_shadow
+#define GL_ARB_fragment_program_shadow 1
+#endif /* GL_ARB_fragment_program_shadow */
+
+#ifndef GL_ARB_fragment_shader
+#define GL_ARB_fragment_shader 1
+#define GL_FRAGMENT_SHADER_ARB            0x8B30
+#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
+#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
+#endif /* GL_ARB_fragment_shader */
+
+#ifndef GL_ARB_framebuffer_no_attachments
+#define GL_ARB_framebuffer_no_attachments 1
+#endif /* GL_ARB_framebuffer_no_attachments */
+
+#ifndef GL_ARB_framebuffer_object
+#define GL_ARB_framebuffer_object 1
+#endif /* GL_ARB_framebuffer_object */
+
+#ifndef GL_ARB_framebuffer_sRGB
+#define GL_ARB_framebuffer_sRGB 1
+#endif /* GL_ARB_framebuffer_sRGB */
+
+#ifndef GL_KHR_context_flush_control
+#define GL_CONTEXT_RELEASE_BEHAVIOR       0x82FB
+#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
+#endif /* GL_KHR_context_flush_control */
+
+#ifndef GL_ARB_geometry_shader4
+#define GL_ARB_geometry_shader4 1
+#define GL_LINES_ADJACENCY_ARB            0x000A
+#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
+#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
+#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
+#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
+#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
+#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
+#define GL_GEOMETRY_SHADER_ARB            0x8DD9
+#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
+#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
+#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
+#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
+#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
+#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
+#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
+#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
+GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#endif
+#endif /* GL_ARB_geometry_shader4 */
+
+#ifndef GL_ARB_get_program_binary
+#define GL_ARB_get_program_binary 1
+#endif /* GL_ARB_get_program_binary */
+
+#ifndef GL_ARB_gpu_shader5
+#define GL_ARB_gpu_shader5 1
+#endif /* GL_ARB_gpu_shader5 */
+
+#ifndef GL_ARB_gpu_shader_fp64
+#define GL_ARB_gpu_shader_fp64 1
+#endif /* GL_ARB_gpu_shader_fp64 */
+
+#ifndef GL_ARB_half_float_pixel
+#define GL_ARB_half_float_pixel 1
+typedef unsigned short GLhalfARB;
+#define GL_HALF_FLOAT_ARB                 0x140B
+#endif /* GL_ARB_half_float_pixel */
+
+#ifndef GL_ARB_half_float_vertex
+#define GL_ARB_half_float_vertex 1
+#endif /* GL_ARB_half_float_vertex */
+
+#ifndef GL_ARB_imaging
+#define GL_ARB_imaging 1
+#define GL_BLEND_COLOR                    0x8005
+#define GL_BLEND_EQUATION                 0x8009
+#define GL_CONVOLUTION_1D                 0x8010
+#define GL_CONVOLUTION_2D                 0x8011
+#define GL_SEPARABLE_2D                   0x8012
+#define GL_CONVOLUTION_BORDER_MODE        0x8013
+#define GL_CONVOLUTION_FILTER_SCALE       0x8014
+#define GL_CONVOLUTION_FILTER_BIAS        0x8015
+#define GL_REDUCE                         0x8016
+#define GL_CONVOLUTION_FORMAT             0x8017
+#define GL_CONVOLUTION_WIDTH              0x8018
+#define GL_CONVOLUTION_HEIGHT             0x8019
+#define GL_MAX_CONVOLUTION_WIDTH          0x801A
+#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
+#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
+#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
+#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
+#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
+#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
+#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
+#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
+#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
+#define GL_HISTOGRAM                      0x8024
+#define GL_PROXY_HISTOGRAM                0x8025
+#define GL_HISTOGRAM_WIDTH                0x8026
+#define GL_HISTOGRAM_FORMAT               0x8027
+#define GL_HISTOGRAM_RED_SIZE             0x8028
+#define GL_HISTOGRAM_GREEN_SIZE           0x8029
+#define GL_HISTOGRAM_BLUE_SIZE            0x802A
+#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
+#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
+#define GL_HISTOGRAM_SINK                 0x802D
+#define GL_MINMAX                         0x802E
+#define GL_MINMAX_FORMAT                  0x802F
+#define GL_MINMAX_SINK                    0x8030
+#define GL_TABLE_TOO_LARGE                0x8031
+#define GL_COLOR_MATRIX                   0x80B1
+#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
+#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
+#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
+#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
+#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
+#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
+#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
+#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
+#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
+#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
+#define GL_COLOR_TABLE                    0x80D0
+#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
+#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
+#define GL_PROXY_COLOR_TABLE              0x80D3
+#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
+#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
+#define GL_COLOR_TABLE_SCALE              0x80D6
+#define GL_COLOR_TABLE_BIAS               0x80D7
+#define GL_COLOR_TABLE_FORMAT             0x80D8
+#define GL_COLOR_TABLE_WIDTH              0x80D9
+#define GL_COLOR_TABLE_RED_SIZE           0x80DA
+#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
+#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
+#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
+#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
+#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
+#define GL_CONSTANT_BORDER                0x8151
+#define GL_REPLICATE_BORDER               0x8153
+#define GL_CONVOLUTION_BORDER_COLOR       0x8154
+typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
+GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
+GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
+GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
+GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glResetHistogram (GLenum target);
+GLAPI void APIENTRY glResetMinmax (GLenum target);
+#endif
+#endif /* GL_ARB_imaging */
+
+#ifndef GL_ARB_indirect_parameters
+#define GL_ARB_indirect_parameters 1
+#define GL_PARAMETER_BUFFER_ARB           0x80EE
+#define GL_PARAMETER_BUFFER_BINDING_ARB   0x80EF
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
+#endif
+#endif /* GL_ARB_indirect_parameters */
+
+#ifndef GL_ARB_instanced_arrays
+#define GL_ARB_instanced_arrays 1
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
+typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
+#endif
+#endif /* GL_ARB_instanced_arrays */
+
+#ifndef GL_ARB_internalformat_query
+#define GL_ARB_internalformat_query 1
+#endif /* GL_ARB_internalformat_query */
+
+#ifndef GL_ARB_internalformat_query2
+#define GL_ARB_internalformat_query2 1
+#define GL_SRGB_DECODE_ARB                0x8299
+#endif /* GL_ARB_internalformat_query2 */
+
+#ifndef GL_ARB_invalidate_subdata
+#define GL_ARB_invalidate_subdata 1
+#endif /* GL_ARB_invalidate_subdata */
+
+#ifndef GL_ARB_map_buffer_alignment
+#define GL_ARB_map_buffer_alignment 1
+#endif /* GL_ARB_map_buffer_alignment */
+
+#ifndef GL_ARB_map_buffer_range
+#define GL_ARB_map_buffer_range 1
+#endif /* GL_ARB_map_buffer_range */
+
+#ifndef GL_ARB_matrix_palette
+#define GL_ARB_matrix_palette 1
+#define GL_MATRIX_PALETTE_ARB             0x8840
+#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
+#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
+#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
+#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
+#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
+#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
+#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
+#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
+#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
+typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
+typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
+typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
+typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
+typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
+GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
+GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
+GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
+GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_ARB_matrix_palette */
+
+#ifndef GL_ARB_multi_bind
+#define GL_ARB_multi_bind 1
+#endif /* GL_ARB_multi_bind */
+
+#ifndef GL_ARB_multi_draw_indirect
+#define GL_ARB_multi_draw_indirect 1
+#endif /* GL_ARB_multi_draw_indirect */
+
+#ifndef GL_ARB_multisample
+#define GL_ARB_multisample 1
+#define GL_MULTISAMPLE_ARB                0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
+#define GL_SAMPLE_COVERAGE_ARB            0x80A0
+#define GL_SAMPLE_BUFFERS_ARB             0x80A8
+#define GL_SAMPLES_ARB                    0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
+#define GL_MULTISAMPLE_BIT_ARB            0x20000000
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
+#endif
+#endif /* GL_ARB_multisample */
+
+#ifndef GL_ARB_multitexture
+#define GL_ARB_multitexture 1
+#define GL_TEXTURE0_ARB                   0x84C0
+#define GL_TEXTURE1_ARB                   0x84C1
+#define GL_TEXTURE2_ARB                   0x84C2
+#define GL_TEXTURE3_ARB                   0x84C3
+#define GL_TEXTURE4_ARB                   0x84C4
+#define GL_TEXTURE5_ARB                   0x84C5
+#define GL_TEXTURE6_ARB                   0x84C6
+#define GL_TEXTURE7_ARB                   0x84C7
+#define GL_TEXTURE8_ARB                   0x84C8
+#define GL_TEXTURE9_ARB                   0x84C9
+#define GL_TEXTURE10_ARB                  0x84CA
+#define GL_TEXTURE11_ARB                  0x84CB
+#define GL_TEXTURE12_ARB                  0x84CC
+#define GL_TEXTURE13_ARB                  0x84CD
+#define GL_TEXTURE14_ARB                  0x84CE
+#define GL_TEXTURE15_ARB                  0x84CF
+#define GL_TEXTURE16_ARB                  0x84D0
+#define GL_TEXTURE17_ARB                  0x84D1
+#define GL_TEXTURE18_ARB                  0x84D2
+#define GL_TEXTURE19_ARB                  0x84D3
+#define GL_TEXTURE20_ARB                  0x84D4
+#define GL_TEXTURE21_ARB                  0x84D5
+#define GL_TEXTURE22_ARB                  0x84D6
+#define GL_TEXTURE23_ARB                  0x84D7
+#define GL_TEXTURE24_ARB                  0x84D8
+#define GL_TEXTURE25_ARB                  0x84D9
+#define GL_TEXTURE26_ARB                  0x84DA
+#define GL_TEXTURE27_ARB                  0x84DB
+#define GL_TEXTURE28_ARB                  0x84DC
+#define GL_TEXTURE29_ARB                  0x84DD
+#define GL_TEXTURE30_ARB                  0x84DE
+#define GL_TEXTURE31_ARB                  0x84DF
+#define GL_ACTIVE_TEXTURE_ARB             0x84E0
+#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
+#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
+typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
+GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
+GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
+GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
+GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
+GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
+GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
+GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
+GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
+GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
+GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
+GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
+GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
+GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
+GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
+GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
+GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
+GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
+GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
+GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
+GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
+#endif
+#endif /* GL_ARB_multitexture */
+
+#ifndef GL_ARB_occlusion_query
+#define GL_ARB_occlusion_query 1
+#define GL_QUERY_COUNTER_BITS_ARB         0x8864
+#define GL_CURRENT_QUERY_ARB              0x8865
+#define GL_QUERY_RESULT_ARB               0x8866
+#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
+#define GL_SAMPLES_PASSED_ARB             0x8914
+typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
+typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
+GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
+GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
+GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
+GLAPI void APIENTRY glEndQueryARB (GLenum target);
+GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
+#endif
+#endif /* GL_ARB_occlusion_query */
+
+#ifndef GL_ARB_occlusion_query2
+#define GL_ARB_occlusion_query2 1
+#endif /* GL_ARB_occlusion_query2 */
+
+#ifndef GL_ARB_pixel_buffer_object
+#define GL_ARB_pixel_buffer_object 1
+#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
+#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
+#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
+#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
+#endif /* GL_ARB_pixel_buffer_object */
+
+#ifndef GL_ARB_point_parameters
+#define GL_ARB_point_parameters 1
+#define GL_POINT_SIZE_MIN_ARB             0x8126
+#define GL_POINT_SIZE_MAX_ARB             0x8127
+#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
+#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
+#endif
+#endif /* GL_ARB_point_parameters */
+
+#ifndef GL_ARB_point_sprite
+#define GL_ARB_point_sprite 1
+#define GL_POINT_SPRITE_ARB               0x8861
+#define GL_COORD_REPLACE_ARB              0x8862
+#endif /* GL_ARB_point_sprite */
+
+#ifndef GL_ARB_program_interface_query
+#define GL_ARB_program_interface_query 1
+#endif /* GL_ARB_program_interface_query */
+
+#ifndef GL_ARB_provoking_vertex
+#define GL_ARB_provoking_vertex 1
+#endif /* GL_ARB_provoking_vertex */
+
+#ifndef GL_ARB_query_buffer_object
+#define GL_ARB_query_buffer_object 1
+#endif /* GL_ARB_query_buffer_object */
+
+#ifndef GL_ARB_robust_buffer_access_behavior
+#define GL_ARB_robust_buffer_access_behavior 1
+#endif /* GL_ARB_robust_buffer_access_behavior */
+
+#ifndef GL_ARB_robustness
+#define GL_ARB_robustness 1
+#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
+#define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
+#define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
+#define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
+#define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
+#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
+#define GL_NO_RESET_NOTIFICATION_ARB      0x8261
+typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
+typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
+typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
+typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
+typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
+typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
+typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
+typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
+typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
+typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
+typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
+typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
+typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
+typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
+typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
+typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
+GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
+GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
+GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
+GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
+GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
+GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
+GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
+GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
+GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
+GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
+GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
+GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
+GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
+GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
+GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
+GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
+#endif
+#endif /* GL_ARB_robustness */
+
+#ifndef GL_ARB_robustness_isolation
+#define GL_ARB_robustness_isolation 1
+#endif /* GL_ARB_robustness_isolation */
+
+#ifndef GL_ARB_sample_shading
+#define GL_ARB_sample_shading 1
+#define GL_SAMPLE_SHADING_ARB             0x8C36
+#define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
+typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
+#endif
+#endif /* GL_ARB_sample_shading */
+
+#ifndef GL_ARB_sampler_objects
+#define GL_ARB_sampler_objects 1
+#endif /* GL_ARB_sampler_objects */
+
+#ifndef GL_ARB_seamless_cube_map
+#define GL_ARB_seamless_cube_map 1
+#endif /* GL_ARB_seamless_cube_map */
+
+#ifndef GL_ARB_seamless_cubemap_per_texture
+#define GL_ARB_seamless_cubemap_per_texture 1
+#endif /* GL_ARB_seamless_cubemap_per_texture */
+
+#ifndef GL_ARB_separate_shader_objects
+#define GL_ARB_separate_shader_objects 1
+#endif /* GL_ARB_separate_shader_objects */
+
+#ifndef GL_ARB_shader_atomic_counters
+#define GL_ARB_shader_atomic_counters 1
+#endif /* GL_ARB_shader_atomic_counters */
+
+#ifndef GL_ARB_shader_bit_encoding
+#define GL_ARB_shader_bit_encoding 1
+#endif /* GL_ARB_shader_bit_encoding */
+
+#ifndef GL_ARB_shader_draw_parameters
+#define GL_ARB_shader_draw_parameters 1
+#endif /* GL_ARB_shader_draw_parameters */
+
+#ifndef GL_ARB_shader_group_vote
+#define GL_ARB_shader_group_vote 1
+#endif /* GL_ARB_shader_group_vote */
+
+#ifndef GL_ARB_shader_image_load_store
+#define GL_ARB_shader_image_load_store 1
+#endif /* GL_ARB_shader_image_load_store */
+
+#ifndef GL_ARB_shader_image_size
+#define GL_ARB_shader_image_size 1
+#endif /* GL_ARB_shader_image_size */
+
+#ifndef GL_ARB_shader_objects
+#define GL_ARB_shader_objects 1
+#ifdef __APPLE__
+typedef void *GLhandleARB;
+#else
+typedef unsigned int GLhandleARB;
+#endif
+typedef char GLcharARB;
+#define GL_PROGRAM_OBJECT_ARB             0x8B40
+#define GL_SHADER_OBJECT_ARB              0x8B48
+#define GL_OBJECT_TYPE_ARB                0x8B4E
+#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
+#define GL_FLOAT_VEC2_ARB                 0x8B50
+#define GL_FLOAT_VEC3_ARB                 0x8B51
+#define GL_FLOAT_VEC4_ARB                 0x8B52
+#define GL_INT_VEC2_ARB                   0x8B53
+#define GL_INT_VEC3_ARB                   0x8B54
+#define GL_INT_VEC4_ARB                   0x8B55
+#define GL_BOOL_ARB                       0x8B56
+#define GL_BOOL_VEC2_ARB                  0x8B57
+#define GL_BOOL_VEC3_ARB                  0x8B58
+#define GL_BOOL_VEC4_ARB                  0x8B59
+#define GL_FLOAT_MAT2_ARB                 0x8B5A
+#define GL_FLOAT_MAT3_ARB                 0x8B5B
+#define GL_FLOAT_MAT4_ARB                 0x8B5C
+#define GL_SAMPLER_1D_ARB                 0x8B5D
+#define GL_SAMPLER_2D_ARB                 0x8B5E
+#define GL_SAMPLER_3D_ARB                 0x8B5F
+#define GL_SAMPLER_CUBE_ARB               0x8B60
+#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
+#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
+#define GL_SAMPLER_2D_RECT_ARB            0x8B63
+#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
+#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
+#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
+#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
+#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
+#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
+#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
+#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
+#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
+#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
+typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
+typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
+typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
+typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
+typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
+typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
+typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
+typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
+typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
+typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
+typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
+typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
+typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
+typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
+typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
+typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
+GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
+GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
+GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
+GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
+GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
+GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
+GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
+GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
+GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
+GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
+GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
+GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
+GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
+GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
+GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
+GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
+GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
+GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
+#endif
+#endif /* GL_ARB_shader_objects */
+
+#ifndef GL_ARB_shader_precision
+#define GL_ARB_shader_precision 1
+#endif /* GL_ARB_shader_precision */
+
+#ifndef GL_ARB_shader_stencil_export
+#define GL_ARB_shader_stencil_export 1
+#endif /* GL_ARB_shader_stencil_export */
+
+#ifndef GL_ARB_shader_storage_buffer_object
+#define GL_ARB_shader_storage_buffer_object 1
+#endif /* GL_ARB_shader_storage_buffer_object */
+
+#ifndef GL_ARB_shader_subroutine
+#define GL_ARB_shader_subroutine 1
+#endif /* GL_ARB_shader_subroutine */
+
+#ifndef GL_ARB_shader_texture_lod
+#define GL_ARB_shader_texture_lod 1
+#endif /* GL_ARB_shader_texture_lod */
+
+#ifndef GL_ARB_shading_language_100
+#define GL_ARB_shading_language_100 1
+#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
+#endif /* GL_ARB_shading_language_100 */
+
+#ifndef GL_ARB_shading_language_420pack
+#define GL_ARB_shading_language_420pack 1
+#endif /* GL_ARB_shading_language_420pack */
+
+#ifndef GL_ARB_shading_language_include
+#define GL_ARB_shading_language_include 1
+#define GL_SHADER_INCLUDE_ARB             0x8DAE
+#define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
+#define GL_NAMED_STRING_TYPE_ARB          0x8DEA
+typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
+typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
+typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
+typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
+typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
+GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
+GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
+GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
+GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
+GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
+#endif
+#endif /* GL_ARB_shading_language_include */
+
+#ifndef GL_ARB_shading_language_packing
+#define GL_ARB_shading_language_packing 1
+#endif /* GL_ARB_shading_language_packing */
+
+#ifndef GL_ARB_shadow
+#define GL_ARB_shadow 1
+#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
+#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
+#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
+#endif /* GL_ARB_shadow */
+
+#ifndef GL_ARB_shadow_ambient
+#define GL_ARB_shadow_ambient 1
+#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
+#endif /* GL_ARB_shadow_ambient */
+
+#ifndef GL_ARB_sparse_texture
+#define GL_ARB_sparse_texture 1
+#define GL_TEXTURE_SPARSE_ARB             0x91A6
+#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB    0x91A7
+#define GL_MIN_SPARSE_LEVEL_ARB           0x919B
+#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB     0x91A8
+#define GL_VIRTUAL_PAGE_SIZE_X_ARB        0x9195
+#define GL_VIRTUAL_PAGE_SIZE_Y_ARB        0x9196
+#define GL_VIRTUAL_PAGE_SIZE_Z_ARB        0x9197
+#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB    0x9198
+#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
+#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
+#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
+typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+#endif
+#endif /* GL_ARB_sparse_texture */
+
+#ifndef GL_ARB_stencil_texturing
+#define GL_ARB_stencil_texturing 1
+#endif /* GL_ARB_stencil_texturing */
+
+#ifndef GL_ARB_sync
+#define GL_ARB_sync 1
+#endif /* GL_ARB_sync */
+
+#ifndef GL_ARB_tessellation_shader
+#define GL_ARB_tessellation_shader 1
+#endif /* GL_ARB_tessellation_shader */
+
+#ifndef GL_ARB_texture_border_clamp
+#define GL_ARB_texture_border_clamp 1
+#define GL_CLAMP_TO_BORDER_ARB            0x812D
+#endif /* GL_ARB_texture_border_clamp */
+
+#ifndef GL_ARB_texture_buffer_object
+#define GL_ARB_texture_buffer_object 1
+#define GL_TEXTURE_BUFFER_ARB             0x8C2A
+#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
+#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
+#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
+#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
+typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
+#endif
+#endif /* GL_ARB_texture_buffer_object */
+
+#ifndef GL_ARB_texture_buffer_object_rgb32
+#define GL_ARB_texture_buffer_object_rgb32 1
+#endif /* GL_ARB_texture_buffer_object_rgb32 */
+
+#ifndef GL_ARB_texture_buffer_range
+#define GL_ARB_texture_buffer_range 1
+#endif /* GL_ARB_texture_buffer_range */
+
+#ifndef GL_ARB_texture_compression
+#define GL_ARB_texture_compression 1
+#define GL_COMPRESSED_ALPHA_ARB           0x84E9
+#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
+#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
+#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
+#define GL_COMPRESSED_RGB_ARB             0x84ED
+#define GL_COMPRESSED_RGBA_ARB            0x84EE
+#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
+#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
+#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
+GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
+#endif
+#endif /* GL_ARB_texture_compression */
+
+#ifndef GL_ARB_texture_compression_bptc
+#define GL_ARB_texture_compression_bptc 1
+#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
+#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
+#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
+#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
+#endif /* GL_ARB_texture_compression_bptc */
+
+#ifndef GL_ARB_texture_compression_rgtc
+#define GL_ARB_texture_compression_rgtc 1
+#endif /* GL_ARB_texture_compression_rgtc */
+
+#ifndef GL_ARB_texture_cube_map
+#define GL_ARB_texture_cube_map 1
+#define GL_NORMAL_MAP_ARB                 0x8511
+#define GL_REFLECTION_MAP_ARB             0x8512
+#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
+#endif /* GL_ARB_texture_cube_map */
+
+#ifndef GL_ARB_texture_cube_map_array
+#define GL_ARB_texture_cube_map_array 1
+#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
+#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
+#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
+#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
+#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
+#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
+#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
+#endif /* GL_ARB_texture_cube_map_array */
+
+#ifndef GL_ARB_texture_env_add
+#define GL_ARB_texture_env_add 1
+#endif /* GL_ARB_texture_env_add */
+
+#ifndef GL_ARB_texture_env_combine
+#define GL_ARB_texture_env_combine 1
+#define GL_COMBINE_ARB                    0x8570
+#define GL_COMBINE_RGB_ARB                0x8571
+#define GL_COMBINE_ALPHA_ARB              0x8572
+#define GL_SOURCE0_RGB_ARB                0x8580
+#define GL_SOURCE1_RGB_ARB                0x8581
+#define GL_SOURCE2_RGB_ARB                0x8582
+#define GL_SOURCE0_ALPHA_ARB              0x8588
+#define GL_SOURCE1_ALPHA_ARB              0x8589
+#define GL_SOURCE2_ALPHA_ARB              0x858A
+#define GL_OPERAND0_RGB_ARB               0x8590
+#define GL_OPERAND1_RGB_ARB               0x8591
+#define GL_OPERAND2_RGB_ARB               0x8592
+#define GL_OPERAND0_ALPHA_ARB             0x8598
+#define GL_OPERAND1_ALPHA_ARB             0x8599
+#define GL_OPERAND2_ALPHA_ARB             0x859A
+#define GL_RGB_SCALE_ARB                  0x8573
+#define GL_ADD_SIGNED_ARB                 0x8574
+#define GL_INTERPOLATE_ARB                0x8575
+#define GL_SUBTRACT_ARB                   0x84E7
+#define GL_CONSTANT_ARB                   0x8576
+#define GL_PRIMARY_COLOR_ARB              0x8577
+#define GL_PREVIOUS_ARB                   0x8578
+#endif /* GL_ARB_texture_env_combine */
+
+#ifndef GL_ARB_texture_env_crossbar
+#define GL_ARB_texture_env_crossbar 1
+#endif /* GL_ARB_texture_env_crossbar */
+
+#ifndef GL_ARB_texture_env_dot3
+#define GL_ARB_texture_env_dot3 1
+#define GL_DOT3_RGB_ARB                   0x86AE
+#define GL_DOT3_RGBA_ARB                  0x86AF
+#endif /* GL_ARB_texture_env_dot3 */
+
+#ifndef GL_ARB_texture_float
+#define GL_ARB_texture_float 1
+#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
+#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
+#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
+#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
+#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
+#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
+#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
+#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
+#define GL_RGBA32F_ARB                    0x8814
+#define GL_RGB32F_ARB                     0x8815
+#define GL_ALPHA32F_ARB                   0x8816
+#define GL_INTENSITY32F_ARB               0x8817
+#define GL_LUMINANCE32F_ARB               0x8818
+#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
+#define GL_RGBA16F_ARB                    0x881A
+#define GL_RGB16F_ARB                     0x881B
+#define GL_ALPHA16F_ARB                   0x881C
+#define GL_INTENSITY16F_ARB               0x881D
+#define GL_LUMINANCE16F_ARB               0x881E
+#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
+#endif /* GL_ARB_texture_float */
+
+#ifndef GL_ARB_texture_gather
+#define GL_ARB_texture_gather 1
+#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
+#endif /* GL_ARB_texture_gather */
+
+#ifndef GL_ARB_texture_mirror_clamp_to_edge
+#define GL_ARB_texture_mirror_clamp_to_edge 1
+#endif /* GL_ARB_texture_mirror_clamp_to_edge */
+
+#ifndef GL_ARB_texture_mirrored_repeat
+#define GL_ARB_texture_mirrored_repeat 1
+#define GL_MIRRORED_REPEAT_ARB            0x8370
+#endif /* GL_ARB_texture_mirrored_repeat */
+
+#ifndef GL_ARB_texture_multisample
+#define GL_ARB_texture_multisample 1
+#endif /* GL_ARB_texture_multisample */
+
+#ifndef GL_ARB_texture_non_power_of_two
+#define GL_ARB_texture_non_power_of_two 1
+#endif /* GL_ARB_texture_non_power_of_two */
+
+#ifndef GL_ARB_texture_query_levels
+#define GL_ARB_texture_query_levels 1
+#endif /* GL_ARB_texture_query_levels */
+
+#ifndef GL_ARB_texture_query_lod
+#define GL_ARB_texture_query_lod 1
+#endif /* GL_ARB_texture_query_lod */
+
+#ifndef GL_ARB_texture_rectangle
+#define GL_ARB_texture_rectangle 1
+#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
+#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
+#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
+#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
+#endif /* GL_ARB_texture_rectangle */
+
+#ifndef GL_ARB_texture_rg
+#define GL_ARB_texture_rg 1
+#endif /* GL_ARB_texture_rg */
+
+#ifndef GL_ARB_texture_rgb10_a2ui
+#define GL_ARB_texture_rgb10_a2ui 1
+#endif /* GL_ARB_texture_rgb10_a2ui */
+
+#ifndef GL_ARB_texture_stencil8
+#define GL_ARB_texture_stencil8 1
+#endif /* GL_ARB_texture_stencil8 */
+
+#ifndef GL_ARB_texture_storage
+#define GL_ARB_texture_storage 1
+#endif /* GL_ARB_texture_storage */
+
+#ifndef GL_ARB_texture_storage_multisample
+#define GL_ARB_texture_storage_multisample 1
+#endif /* GL_ARB_texture_storage_multisample */
+
+#ifndef GL_ARB_texture_swizzle
+#define GL_ARB_texture_swizzle 1
+#endif /* GL_ARB_texture_swizzle */
+
+#ifndef GL_ARB_texture_view
+#define GL_ARB_texture_view 1
+#endif /* GL_ARB_texture_view */
+
+#ifndef GL_ARB_timer_query
+#define GL_ARB_timer_query 1
+#endif /* GL_ARB_timer_query */
+
+#ifndef GL_ARB_transform_feedback2
+#define GL_ARB_transform_feedback2 1
+#define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
+#define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
+#endif /* GL_ARB_transform_feedback2 */
+
+#ifndef GL_ARB_transform_feedback3
+#define GL_ARB_transform_feedback3 1
+#endif /* GL_ARB_transform_feedback3 */
+
+#ifndef GL_ARB_transform_feedback_instanced
+#define GL_ARB_transform_feedback_instanced 1
+#endif /* GL_ARB_transform_feedback_instanced */
+
+#ifndef GL_ARB_transpose_matrix
+#define GL_ARB_transpose_matrix 1
+#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
+#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
+#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
+#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
+GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
+GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
+GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
+#endif
+#endif /* GL_ARB_transpose_matrix */
+
+#ifndef GL_ARB_uniform_buffer_object
+#define GL_ARB_uniform_buffer_object 1
+#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
+#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
+#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
+#endif /* GL_ARB_uniform_buffer_object */
+
+#ifndef GL_ARB_vertex_array_bgra
+#define GL_ARB_vertex_array_bgra 1
+#endif /* GL_ARB_vertex_array_bgra */
+
+#ifndef GL_ARB_vertex_array_object
+#define GL_ARB_vertex_array_object 1
+#endif /* GL_ARB_vertex_array_object */
+
+#ifndef GL_ARB_vertex_attrib_64bit
+#define GL_ARB_vertex_attrib_64bit 1
+#endif /* GL_ARB_vertex_attrib_64bit */
+
+#ifndef GL_ARB_vertex_attrib_binding
+#define GL_ARB_vertex_attrib_binding 1
+#endif /* GL_ARB_vertex_attrib_binding */
+
+#ifndef GL_ARB_vertex_blend
+#define GL_ARB_vertex_blend 1
+#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
+#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
+#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
+#define GL_VERTEX_BLEND_ARB               0x86A7
+#define GL_CURRENT_WEIGHT_ARB             0x86A8
+#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
+#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
+#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
+#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
+#define GL_WEIGHT_ARRAY_ARB               0x86AD
+#define GL_MODELVIEW0_ARB                 0x1700
+#define GL_MODELVIEW1_ARB                 0x850A
+#define GL_MODELVIEW2_ARB                 0x8722
+#define GL_MODELVIEW3_ARB                 0x8723
+#define GL_MODELVIEW4_ARB                 0x8724
+#define GL_MODELVIEW5_ARB                 0x8725
+#define GL_MODELVIEW6_ARB                 0x8726
+#define GL_MODELVIEW7_ARB                 0x8727
+#define GL_MODELVIEW8_ARB                 0x8728
+#define GL_MODELVIEW9_ARB                 0x8729
+#define GL_MODELVIEW10_ARB                0x872A
+#define GL_MODELVIEW11_ARB                0x872B
+#define GL_MODELVIEW12_ARB                0x872C
+#define GL_MODELVIEW13_ARB                0x872D
+#define GL_MODELVIEW14_ARB                0x872E
+#define GL_MODELVIEW15_ARB                0x872F
+#define GL_MODELVIEW16_ARB                0x8730
+#define GL_MODELVIEW17_ARB                0x8731
+#define GL_MODELVIEW18_ARB                0x8732
+#define GL_MODELVIEW19_ARB                0x8733
+#define GL_MODELVIEW20_ARB                0x8734
+#define GL_MODELVIEW21_ARB                0x8735
+#define GL_MODELVIEW22_ARB                0x8736
+#define GL_MODELVIEW23_ARB                0x8737
+#define GL_MODELVIEW24_ARB                0x8738
+#define GL_MODELVIEW25_ARB                0x8739
+#define GL_MODELVIEW26_ARB                0x873A
+#define GL_MODELVIEW27_ARB                0x873B
+#define GL_MODELVIEW28_ARB                0x873C
+#define GL_MODELVIEW29_ARB                0x873D
+#define GL_MODELVIEW30_ARB                0x873E
+#define GL_MODELVIEW31_ARB                0x873F
+typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
+typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
+typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
+typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
+typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
+typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
+typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
+typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
+typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
+GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
+GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
+GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
+GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
+GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
+GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
+GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
+GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glVertexBlendARB (GLint count);
+#endif
+#endif /* GL_ARB_vertex_blend */
+
+#ifndef GL_ARB_vertex_buffer_object
+#define GL_ARB_vertex_buffer_object 1
+#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
+typedef long GLsizeiptrARB;
+typedef long GLintptrARB;
+#else
+typedef ptrdiff_t GLsizeiptrARB;
+typedef ptrdiff_t GLintptrARB;
+#endif
+#define GL_BUFFER_SIZE_ARB                0x8764
+#define GL_BUFFER_USAGE_ARB               0x8765
+#define GL_ARRAY_BUFFER_ARB               0x8892
+#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
+#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
+#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
+#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
+#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
+#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
+#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
+#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
+#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
+#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
+#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
+#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
+#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
+#define GL_READ_ONLY_ARB                  0x88B8
+#define GL_WRITE_ONLY_ARB                 0x88B9
+#define GL_READ_WRITE_ARB                 0x88BA
+#define GL_BUFFER_ACCESS_ARB              0x88BB
+#define GL_BUFFER_MAPPED_ARB              0x88BC
+#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
+#define GL_STREAM_DRAW_ARB                0x88E0
+#define GL_STREAM_READ_ARB                0x88E1
+#define GL_STREAM_COPY_ARB                0x88E2
+#define GL_STATIC_DRAW_ARB                0x88E4
+#define GL_STATIC_READ_ARB                0x88E5
+#define GL_STATIC_COPY_ARB                0x88E6
+#define GL_DYNAMIC_DRAW_ARB               0x88E8
+#define GL_DYNAMIC_READ_ARB               0x88E9
+#define GL_DYNAMIC_COPY_ARB               0x88EA
+typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
+typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
+typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
+typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
+typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
+typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
+typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
+typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
+GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
+GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
+GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
+GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
+GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
+GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
+GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
+GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
+GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
+#endif
+#endif /* GL_ARB_vertex_buffer_object */
+
+#ifndef GL_ARB_vertex_program
+#define GL_ARB_vertex_program 1
+#define GL_COLOR_SUM_ARB                  0x8458
+#define GL_VERTEX_PROGRAM_ARB             0x8620
+#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
+#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
+#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
+#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
+#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
+#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
+#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
+#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
+#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
+#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
+#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
+#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
+#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
+#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
+GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
+GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
+GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
+GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
+#endif
+#endif /* GL_ARB_vertex_program */
+
+#ifndef GL_ARB_vertex_shader
+#define GL_ARB_vertex_shader 1
+#define GL_VERTEX_SHADER_ARB              0x8B31
+#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
+#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
+#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
+#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
+#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
+typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
+typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
+GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
+GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
+#endif
+#endif /* GL_ARB_vertex_shader */
+
+#ifndef GL_ARB_vertex_type_10f_11f_11f_rev
+#define GL_ARB_vertex_type_10f_11f_11f_rev 1
+#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
+
+#ifndef GL_ARB_vertex_type_2_10_10_10_rev
+#define GL_ARB_vertex_type_2_10_10_10_rev 1
+#endif /* GL_ARB_vertex_type_2_10_10_10_rev */
+
+#ifndef GL_ARB_viewport_array
+#define GL_ARB_viewport_array 1
+#endif /* GL_ARB_viewport_array */
+
+#ifndef GL_ARB_window_pos
+#define GL_ARB_window_pos 1
+typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
+GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
+GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
+GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
+GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
+GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
+GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
+GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
+#endif
+#endif /* GL_ARB_window_pos */
+
+#ifndef GL_KHR_debug
+#define GL_KHR_debug 1
+#endif /* GL_KHR_debug */
+
+#ifndef GL_KHR_texture_compression_astc_hdr
+#define GL_KHR_texture_compression_astc_hdr 1
+#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
+#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
+#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
+#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
+#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
+#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
+#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
+#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
+#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
+#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
+#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
+#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
+#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
+#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
+#endif /* GL_KHR_texture_compression_astc_hdr */
+
+#ifndef GL_KHR_texture_compression_astc_ldr
+#define GL_KHR_texture_compression_astc_ldr 1
+#endif /* GL_KHR_texture_compression_astc_ldr */
+
+#ifndef GL_OES_byte_coordinates
+#define GL_OES_byte_coordinates 1
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
+typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
+typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
+typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
+typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
+typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
+typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
+typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
+GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
+GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
+GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
+GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
+GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
+GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
+GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glVertex2bOES (GLbyte x);
+GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
+GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
+GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
+GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
+#endif
+#endif /* GL_OES_byte_coordinates */
+
+#ifndef GL_OES_compressed_paletted_texture
+#define GL_OES_compressed_paletted_texture 1
+#define GL_PALETTE4_RGB8_OES              0x8B90
+#define GL_PALETTE4_RGBA8_OES             0x8B91
+#define GL_PALETTE4_R5_G6_B5_OES          0x8B92
+#define GL_PALETTE4_RGBA4_OES             0x8B93
+#define GL_PALETTE4_RGB5_A1_OES           0x8B94
+#define GL_PALETTE8_RGB8_OES              0x8B95
+#define GL_PALETTE8_RGBA8_OES             0x8B96
+#define GL_PALETTE8_R5_G6_B5_OES          0x8B97
+#define GL_PALETTE8_RGBA4_OES             0x8B98
+#define GL_PALETTE8_RGB5_A1_OES           0x8B99
+#endif /* GL_OES_compressed_paletted_texture */
+
+#ifndef GL_OES_fixed_point
+#define GL_OES_fixed_point 1
+typedef GLint GLfixed;
+#define GL_FIXED_OES                      0x140C
+typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
+typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
+typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
+typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
+typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
+typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
+typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
+typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
+typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
+typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
+typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
+typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
+typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
+typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
+typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
+typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
+typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
+typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
+typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
+typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
+typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
+typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
+typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
+typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
+typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
+typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
+typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
+typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
+typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
+typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
+typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
+typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
+typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
+typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
+typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
+typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
+typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
+typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
+typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
+typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
+typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
+typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
+typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
+typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
+typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
+typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
+typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
+GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
+GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
+GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
+GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
+GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
+GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
+GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
+GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
+GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
+GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
+GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glPointSizexOES (GLfixed size);
+GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
+GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
+GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
+GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
+GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
+GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
+GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
+GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
+GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
+GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
+GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
+GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
+GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
+GLAPI void APIENTRY glIndexxOES (GLfixed component);
+GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
+GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
+GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
+GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
+GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
+GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
+GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
+GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
+GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
+GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
+GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
+GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
+GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
+GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
+GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
+GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
+GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
+GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
+GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
+GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
+GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
+GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
+GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
+GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
+GLAPI void APIENTRY glVertex2xOES (GLfixed x);
+GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
+GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
+GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
+GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
+#endif
+#endif /* GL_OES_fixed_point */
+
+#ifndef GL_OES_query_matrix
+#define GL_OES_query_matrix 1
+typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
+#endif
+#endif /* GL_OES_query_matrix */
+
+#ifndef GL_OES_read_format
+#define GL_OES_read_format 1
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
+#endif /* GL_OES_read_format */
+
+#ifndef GL_OES_single_precision
+#define GL_OES_single_precision 1
+typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
+typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
+typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
+typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
+typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
+GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
+GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
+GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
+GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
+#endif
+#endif /* GL_OES_single_precision */
+
+#ifndef GL_3DFX_multisample
+#define GL_3DFX_multisample 1
+#define GL_MULTISAMPLE_3DFX               0x86B2
+#define GL_SAMPLE_BUFFERS_3DFX            0x86B3
+#define GL_SAMPLES_3DFX                   0x86B4
+#define GL_MULTISAMPLE_BIT_3DFX           0x20000000
+#endif /* GL_3DFX_multisample */
+
+#ifndef GL_3DFX_tbuffer
+#define GL_3DFX_tbuffer 1
+typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
+#endif
+#endif /* GL_3DFX_tbuffer */
+
+#ifndef GL_3DFX_texture_compression_FXT1
+#define GL_3DFX_texture_compression_FXT1 1
+#define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
+#define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
+#endif /* GL_3DFX_texture_compression_FXT1 */
+
+#ifndef GL_AMD_blend_minmax_factor
+#define GL_AMD_blend_minmax_factor 1
+#define GL_FACTOR_MIN_AMD                 0x901C
+#define GL_FACTOR_MAX_AMD                 0x901D
+#endif /* GL_AMD_blend_minmax_factor */
+
+#ifndef GL_AMD_conservative_depth
+#define GL_AMD_conservative_depth 1
+#endif /* GL_AMD_conservative_depth */
+
+#ifndef GL_AMD_debug_output
+#define GL_AMD_debug_output 1
+typedef void (APIENTRY  *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
+#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD   0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD  0x9144
+#define GL_DEBUG_LOGGED_MESSAGES_AMD      0x9145
+#define GL_DEBUG_SEVERITY_HIGH_AMD        0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM_AMD      0x9147
+#define GL_DEBUG_SEVERITY_LOW_AMD         0x9148
+#define GL_DEBUG_CATEGORY_API_ERROR_AMD   0x9149
+#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
+#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
+#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
+#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
+#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
+#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
+#define GL_DEBUG_CATEGORY_OTHER_AMD       0x9150
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
+typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
+typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
+GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
+GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
+#endif
+#endif /* GL_AMD_debug_output */
+
+#ifndef GL_AMD_depth_clamp_separate
+#define GL_AMD_depth_clamp_separate 1
+#define GL_DEPTH_CLAMP_NEAR_AMD           0x901E
+#define GL_DEPTH_CLAMP_FAR_AMD            0x901F
+#endif /* GL_AMD_depth_clamp_separate */
+
+#ifndef GL_AMD_draw_buffers_blend
+#define GL_AMD_draw_buffers_blend 1
+typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
+GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
+GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
+#endif
+#endif /* GL_AMD_draw_buffers_blend */
+
+#ifndef GL_AMD_gcn_shader
+#define GL_AMD_gcn_shader 1
+#endif /* GL_AMD_gcn_shader */
+
+#ifndef GL_AMD_gpu_shader_int64
+#define GL_AMD_gpu_shader_int64 1
+typedef int64_t GLint64EXT;
+#define GL_INT64_NV                       0x140E
+#define GL_UNSIGNED_INT64_NV              0x140F
+#define GL_INT8_NV                        0x8FE0
+#define GL_INT8_VEC2_NV                   0x8FE1
+#define GL_INT8_VEC3_NV                   0x8FE2
+#define GL_INT8_VEC4_NV                   0x8FE3
+#define GL_INT16_NV                       0x8FE4
+#define GL_INT16_VEC2_NV                  0x8FE5
+#define GL_INT16_VEC3_NV                  0x8FE6
+#define GL_INT16_VEC4_NV                  0x8FE7
+#define GL_INT64_VEC2_NV                  0x8FE9
+#define GL_INT64_VEC3_NV                  0x8FEA
+#define GL_INT64_VEC4_NV                  0x8FEB
+#define GL_UNSIGNED_INT8_NV               0x8FEC
+#define GL_UNSIGNED_INT8_VEC2_NV          0x8FED
+#define GL_UNSIGNED_INT8_VEC3_NV          0x8FEE
+#define GL_UNSIGNED_INT8_VEC4_NV          0x8FEF
+#define GL_UNSIGNED_INT16_NV              0x8FF0
+#define GL_UNSIGNED_INT16_VEC2_NV         0x8FF1
+#define GL_UNSIGNED_INT16_VEC3_NV         0x8FF2
+#define GL_UNSIGNED_INT16_VEC4_NV         0x8FF3
+#define GL_UNSIGNED_INT64_VEC2_NV         0x8FF5
+#define GL_UNSIGNED_INT64_VEC3_NV         0x8FF6
+#define GL_UNSIGNED_INT64_VEC4_NV         0x8FF7
+#define GL_FLOAT16_NV                     0x8FF8
+#define GL_FLOAT16_VEC2_NV                0x8FF9
+#define GL_FLOAT16_VEC3_NV                0x8FFA
+#define GL_FLOAT16_VEC4_NV                0x8FFB
+typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
+typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
+typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
+typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
+typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
+GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
+GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
+GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
+GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
+GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
+GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
+GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
+GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
+GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
+GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
+GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#endif
+#endif /* GL_AMD_gpu_shader_int64 */
+
+#ifndef GL_AMD_interleaved_elements
+#define GL_AMD_interleaved_elements 1
+#define GL_VERTEX_ELEMENT_SWIZZLE_AMD     0x91A4
+#define GL_VERTEX_ID_SWIZZLE_AMD          0x91A5
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
+#endif
+#endif /* GL_AMD_interleaved_elements */
+
+#ifndef GL_AMD_multi_draw_indirect
+#define GL_AMD_multi_draw_indirect 1
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
+GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
+#endif
+#endif /* GL_AMD_multi_draw_indirect */
+
+#ifndef GL_AMD_name_gen_delete
+#define GL_AMD_name_gen_delete 1
+#define GL_DATA_BUFFER_AMD                0x9151
+#define GL_PERFORMANCE_MONITOR_AMD        0x9152
+#define GL_QUERY_OBJECT_AMD               0x9153
+#define GL_VERTEX_ARRAY_OBJECT_AMD        0x9154
+#define GL_SAMPLER_OBJECT_AMD             0x9155
+typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
+typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
+typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
+GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
+GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
+#endif
+#endif /* GL_AMD_name_gen_delete */
+
+#ifndef GL_AMD_occlusion_query_event
+#define GL_AMD_occlusion_query_event 1
+#define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
+#define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
+#define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
+#define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
+#define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
+#define GL_QUERY_ALL_EVENT_BITS_AMD       0xFFFFFFFF
+typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
+#endif
+#endif /* GL_AMD_occlusion_query_event */
+
+#ifndef GL_AMD_performance_monitor
+#define GL_AMD_performance_monitor 1
+#define GL_COUNTER_TYPE_AMD               0x8BC0
+#define GL_COUNTER_RANGE_AMD              0x8BC1
+#define GL_UNSIGNED_INT64_AMD             0x8BC2
+#define GL_PERCENTAGE_AMD                 0x8BC3
+#define GL_PERFMON_RESULT_AVAILABLE_AMD   0x8BC4
+#define GL_PERFMON_RESULT_SIZE_AMD        0x8BC5
+#define GL_PERFMON_RESULT_AMD             0x8BC6
+typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
+typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
+typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
+GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
+GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
+GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
+GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#endif
+#endif /* GL_AMD_performance_monitor */
+
+#ifndef GL_AMD_pinned_memory
+#define GL_AMD_pinned_memory 1
+#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
+#endif /* GL_AMD_pinned_memory */
+
+#ifndef GL_AMD_query_buffer_object
+#define GL_AMD_query_buffer_object 1
+#define GL_QUERY_BUFFER_AMD               0x9192
+#define GL_QUERY_BUFFER_BINDING_AMD       0x9193
+#define GL_QUERY_RESULT_NO_WAIT_AMD       0x9194
+#endif /* GL_AMD_query_buffer_object */
+
+#ifndef GL_AMD_sample_positions
+#define GL_AMD_sample_positions 1
+#define GL_SUBSAMPLE_DISTANCE_AMD         0x883F
+typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
+#endif
+#endif /* GL_AMD_sample_positions */
+
+#ifndef GL_AMD_seamless_cubemap_per_texture
+#define GL_AMD_seamless_cubemap_per_texture 1
+#endif /* GL_AMD_seamless_cubemap_per_texture */
+
+#ifndef GL_AMD_shader_atomic_counter_ops
+#define GL_AMD_shader_atomic_counter_ops 1
+#endif /* GL_AMD_shader_atomic_counter_ops */
+
+#ifndef GL_AMD_shader_stencil_export
+#define GL_AMD_shader_stencil_export 1
+#endif /* GL_AMD_shader_stencil_export */
+
+#ifndef GL_AMD_shader_trinary_minmax
+#define GL_AMD_shader_trinary_minmax 1
+#endif /* GL_AMD_shader_trinary_minmax */
+
+#ifndef GL_AMD_sparse_texture
+#define GL_AMD_sparse_texture 1
+#define GL_VIRTUAL_PAGE_SIZE_X_AMD        0x9195
+#define GL_VIRTUAL_PAGE_SIZE_Y_AMD        0x9196
+#define GL_VIRTUAL_PAGE_SIZE_Z_AMD        0x9197
+#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD    0x9198
+#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
+#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
+#define GL_MIN_SPARSE_LEVEL_AMD           0x919B
+#define GL_MIN_LOD_WARNING_AMD            0x919C
+#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
+typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
+#endif
+#endif /* GL_AMD_sparse_texture */
+
+#ifndef GL_AMD_stencil_operation_extended
+#define GL_AMD_stencil_operation_extended 1
+#define GL_SET_AMD                        0x874A
+#define GL_REPLACE_VALUE_AMD              0x874B
+#define GL_STENCIL_OP_VALUE_AMD           0x874C
+#define GL_STENCIL_BACK_OP_VALUE_AMD      0x874D
+typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
+#endif
+#endif /* GL_AMD_stencil_operation_extended */
+
+#ifndef GL_AMD_texture_texture4
+#define GL_AMD_texture_texture4 1
+#endif /* GL_AMD_texture_texture4 */
+
+#ifndef GL_AMD_transform_feedback3_lines_triangles
+#define GL_AMD_transform_feedback3_lines_triangles 1
+#endif /* GL_AMD_transform_feedback3_lines_triangles */
+
+#ifndef GL_AMD_transform_feedback4
+#define GL_AMD_transform_feedback4 1
+#define GL_STREAM_RASTERIZATION_AMD       0x91A0
+#endif /* GL_AMD_transform_feedback4 */
+
+#ifndef GL_AMD_vertex_shader_layer
+#define GL_AMD_vertex_shader_layer 1
+#endif /* GL_AMD_vertex_shader_layer */
+
+#ifndef GL_AMD_vertex_shader_tessellator
+#define GL_AMD_vertex_shader_tessellator 1
+#define GL_SAMPLER_BUFFER_AMD             0x9001
+#define GL_INT_SAMPLER_BUFFER_AMD         0x9002
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
+#define GL_TESSELLATION_MODE_AMD          0x9004
+#define GL_TESSELLATION_FACTOR_AMD        0x9005
+#define GL_DISCRETE_AMD                   0x9006
+#define GL_CONTINUOUS_AMD                 0x9007
+typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
+typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
+GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
+#endif
+#endif /* GL_AMD_vertex_shader_tessellator */
+
+#ifndef GL_AMD_vertex_shader_viewport_index
+#define GL_AMD_vertex_shader_viewport_index 1
+#endif /* GL_AMD_vertex_shader_viewport_index */
+
+#ifndef GL_APPLE_aux_depth_stencil
+#define GL_APPLE_aux_depth_stencil 1
+#define GL_AUX_DEPTH_STENCIL_APPLE        0x8A14
+#endif /* GL_APPLE_aux_depth_stencil */
+
+#ifndef GL_APPLE_client_storage
+#define GL_APPLE_client_storage 1
+#define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
+#endif /* GL_APPLE_client_storage */
+
+#ifndef GL_APPLE_element_array
+#define GL_APPLE_element_array 1
+#define GL_ELEMENT_ARRAY_APPLE            0x8A0C
+#define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8A0D
+#define GL_ELEMENT_ARRAY_POINTER_APPLE    0x8A0E
+typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
+typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
+GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
+GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
+GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
+#endif
+#endif /* GL_APPLE_element_array */
+
+#ifndef GL_APPLE_fence
+#define GL_APPLE_fence 1
+#define GL_DRAW_PIXELS_APPLE              0x8A0A
+#define GL_FENCE_APPLE                    0x8A0B
+typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
+typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
+typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
+typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
+typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
+GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
+GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
+GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
+GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
+GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
+GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
+GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
+#endif
+#endif /* GL_APPLE_fence */
+
+#ifndef GL_APPLE_float_pixels
+#define GL_APPLE_float_pixels 1
+#define GL_HALF_APPLE                     0x140B
+#define GL_RGBA_FLOAT32_APPLE             0x8814
+#define GL_RGB_FLOAT32_APPLE              0x8815
+#define GL_ALPHA_FLOAT32_APPLE            0x8816
+#define GL_INTENSITY_FLOAT32_APPLE        0x8817
+#define GL_LUMINANCE_FLOAT32_APPLE        0x8818
+#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE  0x8819
+#define GL_RGBA_FLOAT16_APPLE             0x881A
+#define GL_RGB_FLOAT16_APPLE              0x881B
+#define GL_ALPHA_FLOAT16_APPLE            0x881C
+#define GL_INTENSITY_FLOAT16_APPLE        0x881D
+#define GL_LUMINANCE_FLOAT16_APPLE        0x881E
+#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE  0x881F
+#define GL_COLOR_FLOAT_APPLE              0x8A0F
+#endif /* GL_APPLE_float_pixels */
+
+#ifndef GL_APPLE_flush_buffer_range
+#define GL_APPLE_flush_buffer_range 1
+#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
+#define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
+typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
+#endif
+#endif /* GL_APPLE_flush_buffer_range */
+
+#ifndef GL_APPLE_object_purgeable
+#define GL_APPLE_object_purgeable 1
+#define GL_BUFFER_OBJECT_APPLE            0x85B3
+#define GL_RELEASED_APPLE                 0x8A19
+#define GL_VOLATILE_APPLE                 0x8A1A
+#define GL_RETAINED_APPLE                 0x8A1B
+#define GL_UNDEFINED_APPLE                0x8A1C
+#define GL_PURGEABLE_APPLE                0x8A1D
+typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
+typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
+typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
+GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
+GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
+#endif
+#endif /* GL_APPLE_object_purgeable */
+
+#ifndef GL_APPLE_rgb_422
+#define GL_APPLE_rgb_422 1
+#define GL_RGB_422_APPLE                  0x8A1F
+#define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
+#define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
+#define GL_RGB_RAW_422_APPLE              0x8A51
+#endif /* GL_APPLE_rgb_422 */
+
+#ifndef GL_APPLE_row_bytes
+#define GL_APPLE_row_bytes 1
+#define GL_PACK_ROW_BYTES_APPLE           0x8A15
+#define GL_UNPACK_ROW_BYTES_APPLE         0x8A16
+#endif /* GL_APPLE_row_bytes */
+
+#ifndef GL_APPLE_specular_vector
+#define GL_APPLE_specular_vector 1
+#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
+#endif /* GL_APPLE_specular_vector */
+
+#ifndef GL_APPLE_texture_range
+#define GL_APPLE_texture_range 1
+#define GL_TEXTURE_RANGE_LENGTH_APPLE     0x85B7
+#define GL_TEXTURE_RANGE_POINTER_APPLE    0x85B8
+#define GL_TEXTURE_STORAGE_HINT_APPLE     0x85BC
+#define GL_STORAGE_PRIVATE_APPLE          0x85BD
+#define GL_STORAGE_CACHED_APPLE           0x85BE
+#define GL_STORAGE_SHARED_APPLE           0x85BF
+typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
+GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
+#endif
+#endif /* GL_APPLE_texture_range */
+
+#ifndef GL_APPLE_transform_hint
+#define GL_APPLE_transform_hint 1
+#define GL_TRANSFORM_HINT_APPLE           0x85B1
+#endif /* GL_APPLE_transform_hint */
+
+#ifndef GL_APPLE_vertex_array_object
+#define GL_APPLE_vertex_array_object 1
+#define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
+typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
+typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
+typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
+typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
+GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
+GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
+GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
+#endif
+#endif /* GL_APPLE_vertex_array_object */
+
+#ifndef GL_APPLE_vertex_array_range
+#define GL_APPLE_vertex_array_range 1
+#define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
+#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
+#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
+#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
+#define GL_STORAGE_CLIENT_APPLE           0x85B4
+typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
+typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
+GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
+GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
+#endif
+#endif /* GL_APPLE_vertex_array_range */
+
+#ifndef GL_APPLE_vertex_program_evaluators
+#define GL_APPLE_vertex_program_evaluators 1
+#define GL_VERTEX_ATTRIB_MAP1_APPLE       0x8A00
+#define GL_VERTEX_ATTRIB_MAP2_APPLE       0x8A01
+#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE  0x8A02
+#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
+#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
+#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
+#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE  0x8A06
+#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
+#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
+#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
+typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
+typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
+typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
+GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
+GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
+GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
+GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
+GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
+GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
+#endif
+#endif /* GL_APPLE_vertex_program_evaluators */
+
+#ifndef GL_APPLE_ycbcr_422
+#define GL_APPLE_ycbcr_422 1
+#define GL_YCBCR_422_APPLE                0x85B9
+#endif /* GL_APPLE_ycbcr_422 */
+
+#ifndef GL_ATI_draw_buffers
+#define GL_ATI_draw_buffers 1
+#define GL_MAX_DRAW_BUFFERS_ATI           0x8824
+#define GL_DRAW_BUFFER0_ATI               0x8825
+#define GL_DRAW_BUFFER1_ATI               0x8826
+#define GL_DRAW_BUFFER2_ATI               0x8827
+#define GL_DRAW_BUFFER3_ATI               0x8828
+#define GL_DRAW_BUFFER4_ATI               0x8829
+#define GL_DRAW_BUFFER5_ATI               0x882A
+#define GL_DRAW_BUFFER6_ATI               0x882B
+#define GL_DRAW_BUFFER7_ATI               0x882C
+#define GL_DRAW_BUFFER8_ATI               0x882D
+#define GL_DRAW_BUFFER9_ATI               0x882E
+#define GL_DRAW_BUFFER10_ATI              0x882F
+#define GL_DRAW_BUFFER11_ATI              0x8830
+#define GL_DRAW_BUFFER12_ATI              0x8831
+#define GL_DRAW_BUFFER13_ATI              0x8832
+#define GL_DRAW_BUFFER14_ATI              0x8833
+#define GL_DRAW_BUFFER15_ATI              0x8834
+typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
+#endif
+#endif /* GL_ATI_draw_buffers */
+
+#ifndef GL_ATI_element_array
+#define GL_ATI_element_array 1
+#define GL_ELEMENT_ARRAY_ATI              0x8768
+#define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
+#define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
+typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
+typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
+GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
+GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
+#endif
+#endif /* GL_ATI_element_array */
+
+#ifndef GL_ATI_envmap_bumpmap
+#define GL_ATI_envmap_bumpmap 1
+#define GL_BUMP_ROT_MATRIX_ATI            0x8775
+#define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
+#define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
+#define GL_BUMP_TEX_UNITS_ATI             0x8778
+#define GL_DUDV_ATI                       0x8779
+#define GL_DU8DV8_ATI                     0x877A
+#define GL_BUMP_ENVMAP_ATI                0x877B
+#define GL_BUMP_TARGET_ATI                0x877C
+typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
+typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
+typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
+typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
+GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
+GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
+GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
+#endif
+#endif /* GL_ATI_envmap_bumpmap */
+
+#ifndef GL_ATI_fragment_shader
+#define GL_ATI_fragment_shader 1
+#define GL_FRAGMENT_SHADER_ATI            0x8920
+#define GL_REG_0_ATI                      0x8921
+#define GL_REG_1_ATI                      0x8922
+#define GL_REG_2_ATI                      0x8923
+#define GL_REG_3_ATI                      0x8924
+#define GL_REG_4_ATI                      0x8925
+#define GL_REG_5_ATI                      0x8926
+#define GL_REG_6_ATI                      0x8927
+#define GL_REG_7_ATI                      0x8928
+#define GL_REG_8_ATI                      0x8929
+#define GL_REG_9_ATI                      0x892A
+#define GL_REG_10_ATI                     0x892B
+#define GL_REG_11_ATI                     0x892C
+#define GL_REG_12_ATI                     0x892D
+#define GL_REG_13_ATI                     0x892E
+#define GL_REG_14_ATI                     0x892F
+#define GL_REG_15_ATI                     0x8930
+#define GL_REG_16_ATI                     0x8931
+#define GL_REG_17_ATI                     0x8932
+#define GL_REG_18_ATI                     0x8933
+#define GL_REG_19_ATI                     0x8934
+#define GL_REG_20_ATI                     0x8935
+#define GL_REG_21_ATI                     0x8936
+#define GL_REG_22_ATI                     0x8937
+#define GL_REG_23_ATI                     0x8938
+#define GL_REG_24_ATI                     0x8939
+#define GL_REG_25_ATI                     0x893A
+#define GL_REG_26_ATI                     0x893B
+#define GL_REG_27_ATI                     0x893C
+#define GL_REG_28_ATI                     0x893D
+#define GL_REG_29_ATI                     0x893E
+#define GL_REG_30_ATI                     0x893F
+#define GL_REG_31_ATI                     0x8940
+#define GL_CON_0_ATI                      0x8941
+#define GL_CON_1_ATI                      0x8942
+#define GL_CON_2_ATI                      0x8943
+#define GL_CON_3_ATI                      0x8944
+#define GL_CON_4_ATI                      0x8945
+#define GL_CON_5_ATI                      0x8946
+#define GL_CON_6_ATI                      0x8947
+#define GL_CON_7_ATI                      0x8948
+#define GL_CON_8_ATI                      0x8949
+#define GL_CON_9_ATI                      0x894A
+#define GL_CON_10_ATI                     0x894B
+#define GL_CON_11_ATI                     0x894C
+#define GL_CON_12_ATI                     0x894D
+#define GL_CON_13_ATI                     0x894E
+#define GL_CON_14_ATI                     0x894F
+#define GL_CON_15_ATI                     0x8950
+#define GL_CON_16_ATI                     0x8951
+#define GL_CON_17_ATI                     0x8952
+#define GL_CON_18_ATI                     0x8953
+#define GL_CON_19_ATI                     0x8954
+#define GL_CON_20_ATI                     0x8955
+#define GL_CON_21_ATI                     0x8956
+#define GL_CON_22_ATI                     0x8957
+#define GL_CON_23_ATI                     0x8958
+#define GL_CON_24_ATI                     0x8959
+#define GL_CON_25_ATI                     0x895A
+#define GL_CON_26_ATI                     0x895B
+#define GL_CON_27_ATI                     0x895C
+#define GL_CON_28_ATI                     0x895D
+#define GL_CON_29_ATI                     0x895E
+#define GL_CON_30_ATI                     0x895F
+#define GL_CON_31_ATI                     0x8960
+#define GL_MOV_ATI                        0x8961
+#define GL_ADD_ATI                        0x8963
+#define GL_MUL_ATI                        0x8964
+#define GL_SUB_ATI                        0x8965
+#define GL_DOT3_ATI                       0x8966
+#define GL_DOT4_ATI                       0x8967
+#define GL_MAD_ATI                        0x8968
+#define GL_LERP_ATI                       0x8969
+#define GL_CND_ATI                        0x896A
+#define GL_CND0_ATI                       0x896B
+#define GL_DOT2_ADD_ATI                   0x896C
+#define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
+#define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
+#define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
+#define GL_NUM_PASSES_ATI                 0x8970
+#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
+#define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
+#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
+#define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
+#define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
+#define GL_SWIZZLE_STR_ATI                0x8976
+#define GL_SWIZZLE_STQ_ATI                0x8977
+#define GL_SWIZZLE_STR_DR_ATI             0x8978
+#define GL_SWIZZLE_STQ_DQ_ATI             0x8979
+#define GL_SWIZZLE_STRQ_ATI               0x897A
+#define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
+#define GL_RED_BIT_ATI                    0x00000001
+#define GL_GREEN_BIT_ATI                  0x00000002
+#define GL_BLUE_BIT_ATI                   0x00000004
+#define GL_2X_BIT_ATI                     0x00000001
+#define GL_4X_BIT_ATI                     0x00000002
+#define GL_8X_BIT_ATI                     0x00000004
+#define GL_HALF_BIT_ATI                   0x00000008
+#define GL_QUARTER_BIT_ATI                0x00000010
+#define GL_EIGHTH_BIT_ATI                 0x00000020
+#define GL_SATURATE_BIT_ATI               0x00000040
+#define GL_COMP_BIT_ATI                   0x00000002
+#define GL_NEGATE_BIT_ATI                 0x00000004
+#define GL_BIAS_BIT_ATI                   0x00000008
+typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
+typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
+typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
+typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
+typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
+typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
+GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
+GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
+GLAPI void APIENTRY glBeginFragmentShaderATI (void);
+GLAPI void APIENTRY glEndFragmentShaderATI (void);
+GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
+GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
+GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
+GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
+GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
+GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
+#endif
+#endif /* GL_ATI_fragment_shader */
+
+#ifndef GL_ATI_map_object_buffer
+#define GL_ATI_map_object_buffer 1
+typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
+GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
+#endif
+#endif /* GL_ATI_map_object_buffer */
+
+#ifndef GL_ATI_meminfo
+#define GL_ATI_meminfo 1
+#define GL_VBO_FREE_MEMORY_ATI            0x87FB
+#define GL_TEXTURE_FREE_MEMORY_ATI        0x87FC
+#define GL_RENDERBUFFER_FREE_MEMORY_ATI   0x87FD
+#endif /* GL_ATI_meminfo */
+
+#ifndef GL_ATI_pixel_format_float
+#define GL_ATI_pixel_format_float 1
+#define GL_RGBA_FLOAT_MODE_ATI            0x8820
+#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
+#endif /* GL_ATI_pixel_format_float */
+
+#ifndef GL_ATI_pn_triangles
+#define GL_ATI_pn_triangles 1
+#define GL_PN_TRIANGLES_ATI               0x87F0
+#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
+#define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
+#define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
+#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
+#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
+#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
+#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
+#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
+typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
+GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
+#endif
+#endif /* GL_ATI_pn_triangles */
+
+#ifndef GL_ATI_separate_stencil
+#define GL_ATI_separate_stencil 1
+#define GL_STENCIL_BACK_FUNC_ATI          0x8800
+#define GL_STENCIL_BACK_FAIL_ATI          0x8801
+#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
+#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
+typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
+#endif
+#endif /* GL_ATI_separate_stencil */
+
+#ifndef GL_ATI_text_fragment_shader
+#define GL_ATI_text_fragment_shader 1
+#define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
+#endif /* GL_ATI_text_fragment_shader */
+
+#ifndef GL_ATI_texture_env_combine3
+#define GL_ATI_texture_env_combine3 1
+#define GL_MODULATE_ADD_ATI               0x8744
+#define GL_MODULATE_SIGNED_ADD_ATI        0x8745
+#define GL_MODULATE_SUBTRACT_ATI          0x8746
+#endif /* GL_ATI_texture_env_combine3 */
+
+#ifndef GL_ATI_texture_float
+#define GL_ATI_texture_float 1
+#define GL_RGBA_FLOAT32_ATI               0x8814
+#define GL_RGB_FLOAT32_ATI                0x8815
+#define GL_ALPHA_FLOAT32_ATI              0x8816
+#define GL_INTENSITY_FLOAT32_ATI          0x8817
+#define GL_LUMINANCE_FLOAT32_ATI          0x8818
+#define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
+#define GL_RGBA_FLOAT16_ATI               0x881A
+#define GL_RGB_FLOAT16_ATI                0x881B
+#define GL_ALPHA_FLOAT16_ATI              0x881C
+#define GL_INTENSITY_FLOAT16_ATI          0x881D
+#define GL_LUMINANCE_FLOAT16_ATI          0x881E
+#define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
+#endif /* GL_ATI_texture_float */
+
+#ifndef GL_ATI_texture_mirror_once
+#define GL_ATI_texture_mirror_once 1
+#define GL_MIRROR_CLAMP_ATI               0x8742
+#define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
+#endif /* GL_ATI_texture_mirror_once */
+
+#ifndef GL_ATI_vertex_array_object
+#define GL_ATI_vertex_array_object 1
+#define GL_STATIC_ATI                     0x8760
+#define GL_DYNAMIC_ATI                    0x8761
+#define GL_PRESERVE_ATI                   0x8762
+#define GL_DISCARD_ATI                    0x8763
+#define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
+#define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
+#define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
+#define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
+typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
+typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
+typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
+GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
+GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
+GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
+GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
+GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
+GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
+#endif
+#endif /* GL_ATI_vertex_array_object */
+
+#ifndef GL_ATI_vertex_attrib_array_object
+#define GL_ATI_vertex_attrib_array_object 1
+typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
+GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
+#endif
+#endif /* GL_ATI_vertex_attrib_array_object */
+
+#ifndef GL_ATI_vertex_streams
+#define GL_ATI_vertex_streams 1
+#define GL_MAX_VERTEX_STREAMS_ATI         0x876B
+#define GL_VERTEX_STREAM0_ATI             0x876C
+#define GL_VERTEX_STREAM1_ATI             0x876D
+#define GL_VERTEX_STREAM2_ATI             0x876E
+#define GL_VERTEX_STREAM3_ATI             0x876F
+#define GL_VERTEX_STREAM4_ATI             0x8770
+#define GL_VERTEX_STREAM5_ATI             0x8771
+#define GL_VERTEX_STREAM6_ATI             0x8772
+#define GL_VERTEX_STREAM7_ATI             0x8773
+#define GL_VERTEX_SOURCE_ATI              0x8774
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
+typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
+typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
+typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
+GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
+GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
+GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
+GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
+GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
+GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
+GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
+GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
+GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
+GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
+GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
+GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
+GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
+GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
+GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
+GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
+GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
+#endif
+#endif /* GL_ATI_vertex_streams */
+
+#ifndef GL_EXT_422_pixels
+#define GL_EXT_422_pixels 1
+#define GL_422_EXT                        0x80CC
+#define GL_422_REV_EXT                    0x80CD
+#define GL_422_AVERAGE_EXT                0x80CE
+#define GL_422_REV_AVERAGE_EXT            0x80CF
+#endif /* GL_EXT_422_pixels */
+
+#ifndef GL_EXT_abgr
+#define GL_EXT_abgr 1
+#define GL_ABGR_EXT                       0x8000
+#endif /* GL_EXT_abgr */
+
+#ifndef GL_EXT_bgra
+#define GL_EXT_bgra 1
+#define GL_BGR_EXT                        0x80E0
+#define GL_BGRA_EXT                       0x80E1
+#endif /* GL_EXT_bgra */
+
+#ifndef GL_EXT_bindable_uniform
+#define GL_EXT_bindable_uniform 1
+#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
+#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
+#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
+#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
+#define GL_UNIFORM_BUFFER_EXT             0x8DEE
+#define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
+typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
+typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
+typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
+GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
+GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
+#endif
+#endif /* GL_EXT_bindable_uniform */
+
+#ifndef GL_EXT_blend_color
+#define GL_EXT_blend_color 1
+#define GL_CONSTANT_COLOR_EXT             0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
+#define GL_CONSTANT_ALPHA_EXT             0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
+#define GL_BLEND_COLOR_EXT                0x8005
+typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+#endif
+#endif /* GL_EXT_blend_color */
+
+#ifndef GL_EXT_blend_equation_separate
+#define GL_EXT_blend_equation_separate 1
+#define GL_BLEND_EQUATION_RGB_EXT         0x8009
+#define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
+typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
+#endif
+#endif /* GL_EXT_blend_equation_separate */
+
+#ifndef GL_EXT_blend_func_separate
+#define GL_EXT_blend_func_separate 1
+#define GL_BLEND_DST_RGB_EXT              0x80C8
+#define GL_BLEND_SRC_RGB_EXT              0x80C9
+#define GL_BLEND_DST_ALPHA_EXT            0x80CA
+#define GL_BLEND_SRC_ALPHA_EXT            0x80CB
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#endif
+#endif /* GL_EXT_blend_func_separate */
+
+#ifndef GL_EXT_blend_logic_op
+#define GL_EXT_blend_logic_op 1
+#endif /* GL_EXT_blend_logic_op */
+
+#ifndef GL_EXT_blend_minmax
+#define GL_EXT_blend_minmax 1
+#define GL_MIN_EXT                        0x8007
+#define GL_MAX_EXT                        0x8008
+#define GL_FUNC_ADD_EXT                   0x8006
+#define GL_BLEND_EQUATION_EXT             0x8009
+typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
+#endif
+#endif /* GL_EXT_blend_minmax */
+
+#ifndef GL_EXT_blend_subtract
+#define GL_EXT_blend_subtract 1
+#define GL_FUNC_SUBTRACT_EXT              0x800A
+#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
+#endif /* GL_EXT_blend_subtract */
+
+#ifndef GL_EXT_clip_volume_hint
+#define GL_EXT_clip_volume_hint 1
+#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
+#endif /* GL_EXT_clip_volume_hint */
+
+#ifndef GL_EXT_cmyka
+#define GL_EXT_cmyka 1
+#define GL_CMYK_EXT                       0x800C
+#define GL_CMYKA_EXT                      0x800D
+#define GL_PACK_CMYK_HINT_EXT             0x800E
+#define GL_UNPACK_CMYK_HINT_EXT           0x800F
+#endif /* GL_EXT_cmyka */
+
+#ifndef GL_EXT_color_subtable
+#define GL_EXT_color_subtable 1
+typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
+#endif
+#endif /* GL_EXT_color_subtable */
+
+#ifndef GL_EXT_compiled_vertex_array
+#define GL_EXT_compiled_vertex_array 1
+#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
+#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
+typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
+GLAPI void APIENTRY glUnlockArraysEXT (void);
+#endif
+#endif /* GL_EXT_compiled_vertex_array */
+
+#ifndef GL_EXT_convolution
+#define GL_EXT_convolution 1
+#define GL_CONVOLUTION_1D_EXT             0x8010
+#define GL_CONVOLUTION_2D_EXT             0x8011
+#define GL_SEPARABLE_2D_EXT               0x8012
+#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
+#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
+#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
+#define GL_REDUCE_EXT                     0x8016
+#define GL_CONVOLUTION_FORMAT_EXT         0x8017
+#define GL_CONVOLUTION_WIDTH_EXT          0x8018
+#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
+#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
+#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
+#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
+#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
+#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
+#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
+#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
+#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
+#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
+#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
+typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
+GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
+GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
+GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
+GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
+GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
+#endif
+#endif /* GL_EXT_convolution */
+
+#ifndef GL_EXT_coordinate_frame
+#define GL_EXT_coordinate_frame 1
+#define GL_TANGENT_ARRAY_EXT              0x8439
+#define GL_BINORMAL_ARRAY_EXT             0x843A
+#define GL_CURRENT_TANGENT_EXT            0x843B
+#define GL_CURRENT_BINORMAL_EXT           0x843C
+#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
+#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
+#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
+#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
+#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
+#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
+#define GL_MAP1_TANGENT_EXT               0x8444
+#define GL_MAP2_TANGENT_EXT               0x8445
+#define GL_MAP1_BINORMAL_EXT              0x8446
+#define GL_MAP2_BINORMAL_EXT              0x8447
+typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
+typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
+typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
+typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
+typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
+typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
+typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
+typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
+typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
+typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
+typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
+GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
+GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
+GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
+GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
+GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
+GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
+GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
+GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
+GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
+GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
+GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
+GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
+GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
+GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
+GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
+GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
+GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
+GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
+GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
+GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_coordinate_frame */
+
+#ifndef GL_EXT_copy_texture
+#define GL_EXT_copy_texture 1
+typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_EXT_copy_texture */
+
+#ifndef GL_EXT_cull_vertex
+#define GL_EXT_cull_vertex 1
+#define GL_CULL_VERTEX_EXT                0x81AA
+#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
+#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
+typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_EXT_cull_vertex */
+
+#ifndef GL_EXT_debug_label
+#define GL_EXT_debug_label 1
+#define GL_PROGRAM_PIPELINE_OBJECT_EXT    0x8A4F
+#define GL_PROGRAM_OBJECT_EXT             0x8B40
+#define GL_SHADER_OBJECT_EXT              0x8B48
+#define GL_BUFFER_OBJECT_EXT              0x9151
+#define GL_QUERY_OBJECT_EXT               0x9153
+#define GL_VERTEX_ARRAY_OBJECT_EXT        0x9154
+typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+#endif /* GL_EXT_debug_label */
+
+#ifndef GL_EXT_debug_marker
+#define GL_EXT_debug_marker 1
+typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
+GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
+GLAPI void APIENTRY glPopGroupMarkerEXT (void);
+#endif
+#endif /* GL_EXT_debug_marker */
+
+#ifndef GL_EXT_depth_bounds_test
+#define GL_EXT_depth_bounds_test 1
+#define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
+#define GL_DEPTH_BOUNDS_EXT               0x8891
+typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
+#endif
+#endif /* GL_EXT_depth_bounds_test */
+
+#ifndef GL_EXT_direct_state_access
+#define GL_EXT_direct_state_access 1
+#define GL_PROGRAM_MATRIX_EXT             0x8E2D
+#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
+#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
+typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
+typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
+typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
+typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
+typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
+typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
+typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
+typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
+typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
+typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
+typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
+typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
+typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
+typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
+typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
+typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
+typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
+typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
+typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
+typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
+typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
+typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
+typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
+typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
+typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
+typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
+typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
+GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
+GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
+GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
+GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
+GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
+GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
+GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
+GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
+GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
+GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
+GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
+GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
+GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
+GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
+GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
+GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
+GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
+GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
+GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
+GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
+GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
+GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
+GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
+GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
+GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
+GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
+GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
+GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
+GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
+GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
+GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
+GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
+GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
+GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
+GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
+GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
+GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
+GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
+GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
+GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
+GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
+GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
+GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
+GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
+GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
+GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
+GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
+GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
+GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
+GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
+GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
+GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
+GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
+GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
+GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
+GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
+GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
+GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
+GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
+GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
+GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
+GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
+GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
+GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
+GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
+GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
+GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
+GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
+GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
+GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
+GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
+GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
+GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
+GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
+GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
+GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
+GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
+GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
+GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
+#endif
+#endif /* GL_EXT_direct_state_access */
+
+#ifndef GL_EXT_draw_buffers2
+#define GL_EXT_draw_buffers2 1
+typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
+#endif
+#endif /* GL_EXT_draw_buffers2 */
+
+#ifndef GL_EXT_draw_instanced
+#define GL_EXT_draw_instanced 1
+typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
+GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+#endif
+#endif /* GL_EXT_draw_instanced */
+
+#ifndef GL_EXT_draw_range_elements
+#define GL_EXT_draw_range_elements 1
+#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
+#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
+typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
+#endif
+#endif /* GL_EXT_draw_range_elements */
+
+#ifndef GL_EXT_fog_coord
+#define GL_EXT_fog_coord 1
+#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
+#define GL_FOG_COORDINATE_EXT             0x8451
+#define GL_FRAGMENT_DEPTH_EXT             0x8452
+#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
+#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
+#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
+#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
+#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
+typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
+typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
+typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
+typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
+GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
+GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
+GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
+GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_fog_coord */
+
+#ifndef GL_EXT_framebuffer_blit
+#define GL_EXT_framebuffer_blit 1
+#define GL_READ_FRAMEBUFFER_EXT           0x8CA8
+#define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_EXT   0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
+typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+#endif /* GL_EXT_framebuffer_blit */
+
+#ifndef GL_EXT_framebuffer_multisample
+#define GL_EXT_framebuffer_multisample 1
+#define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
+#define GL_MAX_SAMPLES_EXT                0x8D57
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_EXT_framebuffer_multisample */
+
+#ifndef GL_EXT_framebuffer_multisample_blit_scaled
+#define GL_EXT_framebuffer_multisample_blit_scaled 1
+#define GL_SCALED_RESOLVE_FASTEST_EXT     0x90BA
+#define GL_SCALED_RESOLVE_NICEST_EXT      0x90BB
+#endif /* GL_EXT_framebuffer_multisample_blit_scaled */
+
+#ifndef GL_EXT_framebuffer_object
+#define GL_EXT_framebuffer_object 1
+#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
+#define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
+#define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
+#define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
+#define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
+#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
+#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
+#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
+#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
+#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
+#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
+#define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
+#define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
+#define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
+#define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
+#define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
+#define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
+#define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
+#define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
+#define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
+#define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
+#define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
+#define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
+#define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
+#define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
+#define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
+#define GL_COLOR_ATTACHMENT13_EXT         0x8CED
+#define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
+#define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
+#define GL_DEPTH_ATTACHMENT_EXT           0x8D00
+#define GL_STENCIL_ATTACHMENT_EXT         0x8D20
+#define GL_FRAMEBUFFER_EXT                0x8D40
+#define GL_RENDERBUFFER_EXT               0x8D41
+#define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
+#define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
+#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
+#define GL_STENCIL_INDEX1_EXT             0x8D46
+#define GL_STENCIL_INDEX4_EXT             0x8D47
+#define GL_STENCIL_INDEX8_EXT             0x8D48
+#define GL_STENCIL_INDEX16_EXT            0x8D49
+#define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
+#define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
+#define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
+#define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
+#define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
+#define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
+typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
+typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
+typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
+typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
+typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
+GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
+GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
+GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
+GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
+GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
+GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
+GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
+GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
+GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
+#endif
+#endif /* GL_EXT_framebuffer_object */
+
+#ifndef GL_EXT_framebuffer_sRGB
+#define GL_EXT_framebuffer_sRGB 1
+#define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
+#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
+#endif /* GL_EXT_framebuffer_sRGB */
+
+#ifndef GL_EXT_geometry_shader4
+#define GL_EXT_geometry_shader4 1
+#define GL_GEOMETRY_SHADER_EXT            0x8DD9
+#define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
+#define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
+#define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
+#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
+#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
+#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
+#define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
+#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
+#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
+#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
+#define GL_LINES_ADJACENCY_EXT            0x000A
+#define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
+#define GL_TRIANGLES_ADJACENCY_EXT        0x000C
+#define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
+#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
+#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
+#define GL_PROGRAM_POINT_SIZE_EXT         0x8642
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
+#endif
+#endif /* GL_EXT_geometry_shader4 */
+
+#ifndef GL_EXT_gpu_program_parameters
+#define GL_EXT_gpu_program_parameters 1
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+#endif
+#endif /* GL_EXT_gpu_program_parameters */
+
+#ifndef GL_EXT_gpu_shader4
+#define GL_EXT_gpu_shader4 1
+#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
+#define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
+#define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
+#define GL_SAMPLER_BUFFER_EXT             0x8DC2
+#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
+#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
+#define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
+#define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
+#define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
+#define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
+#define GL_INT_SAMPLER_1D_EXT             0x8DC9
+#define GL_INT_SAMPLER_2D_EXT             0x8DCA
+#define GL_INT_SAMPLER_3D_EXT             0x8DCB
+#define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
+#define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
+#define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
+#define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
+#define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
+#define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
+#define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
+#define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
+#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
+#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
+#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
+#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
+#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT   0x8904
+#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT   0x8905
+typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
+typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
+typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
+typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
+typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
+GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
+GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
+GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
+GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
+GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
+GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
+#endif
+#endif /* GL_EXT_gpu_shader4 */
+
+#ifndef GL_EXT_histogram
+#define GL_EXT_histogram 1
+#define GL_HISTOGRAM_EXT                  0x8024
+#define GL_PROXY_HISTOGRAM_EXT            0x8025
+#define GL_HISTOGRAM_WIDTH_EXT            0x8026
+#define GL_HISTOGRAM_FORMAT_EXT           0x8027
+#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
+#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
+#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
+#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
+#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
+#define GL_HISTOGRAM_SINK_EXT             0x802D
+#define GL_MINMAX_EXT                     0x802E
+#define GL_MINMAX_FORMAT_EXT              0x802F
+#define GL_MINMAX_SINK_EXT                0x8030
+#define GL_TABLE_TOO_LARGE_EXT            0x8031
+typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
+typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
+GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
+GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
+GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
+#endif
+#endif /* GL_EXT_histogram */
+
+#ifndef GL_EXT_index_array_formats
+#define GL_EXT_index_array_formats 1
+#define GL_IUI_V2F_EXT                    0x81AD
+#define GL_IUI_V3F_EXT                    0x81AE
+#define GL_IUI_N3F_V2F_EXT                0x81AF
+#define GL_IUI_N3F_V3F_EXT                0x81B0
+#define GL_T2F_IUI_V2F_EXT                0x81B1
+#define GL_T2F_IUI_V3F_EXT                0x81B2
+#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
+#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
+#endif /* GL_EXT_index_array_formats */
+
+#ifndef GL_EXT_index_func
+#define GL_EXT_index_func 1
+#define GL_INDEX_TEST_EXT                 0x81B5
+#define GL_INDEX_TEST_FUNC_EXT            0x81B6
+#define GL_INDEX_TEST_REF_EXT             0x81B7
+typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
+#endif
+#endif /* GL_EXT_index_func */
+
+#ifndef GL_EXT_index_material
+#define GL_EXT_index_material 1
+#define GL_INDEX_MATERIAL_EXT             0x81B8
+#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
+#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
+typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
+#endif
+#endif /* GL_EXT_index_material */
+
+#ifndef GL_EXT_index_texture
+#define GL_EXT_index_texture 1
+#endif /* GL_EXT_index_texture */
+
+#ifndef GL_EXT_light_texture
+#define GL_EXT_light_texture 1
+#define GL_FRAGMENT_MATERIAL_EXT          0x8349
+#define GL_FRAGMENT_NORMAL_EXT            0x834A
+#define GL_FRAGMENT_COLOR_EXT             0x834C
+#define GL_ATTENUATION_EXT                0x834D
+#define GL_SHADOW_ATTENUATION_EXT         0x834E
+#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
+#define GL_TEXTURE_LIGHT_EXT              0x8350
+#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
+#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
+typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
+typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
+typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
+GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
+GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
+#endif
+#endif /* GL_EXT_light_texture */
+
+#ifndef GL_EXT_misc_attribute
+#define GL_EXT_misc_attribute 1
+#endif /* GL_EXT_misc_attribute */
+
+#ifndef GL_EXT_multi_draw_arrays
+#define GL_EXT_multi_draw_arrays 1
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
+#endif
+#endif /* GL_EXT_multi_draw_arrays */
+
+#ifndef GL_EXT_multisample
+#define GL_EXT_multisample 1
+#define GL_MULTISAMPLE_EXT                0x809D
+#define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
+#define GL_SAMPLE_MASK_EXT                0x80A0
+#define GL_1PASS_EXT                      0x80A1
+#define GL_2PASS_0_EXT                    0x80A2
+#define GL_2PASS_1_EXT                    0x80A3
+#define GL_4PASS_0_EXT                    0x80A4
+#define GL_4PASS_1_EXT                    0x80A5
+#define GL_4PASS_2_EXT                    0x80A6
+#define GL_4PASS_3_EXT                    0x80A7
+#define GL_SAMPLE_BUFFERS_EXT             0x80A8
+#define GL_SAMPLES_EXT                    0x80A9
+#define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
+#define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
+#define GL_SAMPLE_PATTERN_EXT             0x80AC
+#define GL_MULTISAMPLE_BIT_EXT            0x20000000
+typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
+typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
+GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
+#endif
+#endif /* GL_EXT_multisample */
+
+#ifndef GL_EXT_packed_depth_stencil
+#define GL_EXT_packed_depth_stencil 1
+#define GL_DEPTH_STENCIL_EXT              0x84F9
+#define GL_UNSIGNED_INT_24_8_EXT          0x84FA
+#define GL_DEPTH24_STENCIL8_EXT           0x88F0
+#define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
+#endif /* GL_EXT_packed_depth_stencil */
+
+#ifndef GL_EXT_packed_float
+#define GL_EXT_packed_float 1
+#define GL_R11F_G11F_B10F_EXT             0x8C3A
+#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
+#define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
+#endif /* GL_EXT_packed_float */
+
+#ifndef GL_EXT_packed_pixels
+#define GL_EXT_packed_pixels 1
+#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
+#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
+#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
+#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
+#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
+#endif /* GL_EXT_packed_pixels */
+
+#ifndef GL_EXT_paletted_texture
+#define GL_EXT_paletted_texture 1
+#define GL_COLOR_INDEX1_EXT               0x80E2
+#define GL_COLOR_INDEX2_EXT               0x80E3
+#define GL_COLOR_INDEX4_EXT               0x80E4
+#define GL_COLOR_INDEX8_EXT               0x80E5
+#define GL_COLOR_INDEX12_EXT              0x80E6
+#define GL_COLOR_INDEX16_EXT              0x80E7
+#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
+typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
+GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
+GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_EXT_paletted_texture */
+
+#ifndef GL_EXT_pixel_buffer_object
+#define GL_EXT_pixel_buffer_object 1
+#define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
+#define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
+#define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
+#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
+#endif /* GL_EXT_pixel_buffer_object */
+
+#ifndef GL_EXT_pixel_transform
+#define GL_EXT_pixel_transform 1
+#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
+#define GL_PIXEL_MAG_FILTER_EXT           0x8331
+#define GL_PIXEL_MIN_FILTER_EXT           0x8332
+#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
+#define GL_CUBIC_EXT                      0x8334
+#define GL_AVERAGE_EXT                    0x8335
+#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
+#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
+#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_EXT_pixel_transform */
+
+#ifndef GL_EXT_pixel_transform_color_table
+#define GL_EXT_pixel_transform_color_table 1
+#endif /* GL_EXT_pixel_transform_color_table */
+
+#ifndef GL_EXT_point_parameters
+#define GL_EXT_point_parameters 1
+#define GL_POINT_SIZE_MIN_EXT             0x8126
+#define GL_POINT_SIZE_MAX_EXT             0x8127
+#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
+#define GL_DISTANCE_ATTENUATION_EXT       0x8129
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
+#endif
+#endif /* GL_EXT_point_parameters */
+
+#ifndef GL_EXT_polygon_offset
+#define GL_EXT_polygon_offset 1
+#define GL_POLYGON_OFFSET_EXT             0x8037
+#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
+#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
+typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
+#endif
+#endif /* GL_EXT_polygon_offset */
+
+#ifndef GL_EXT_provoking_vertex
+#define GL_EXT_provoking_vertex 1
+#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
+#define GL_FIRST_VERTEX_CONVENTION_EXT    0x8E4D
+#define GL_LAST_VERTEX_CONVENTION_EXT     0x8E4E
+#define GL_PROVOKING_VERTEX_EXT           0x8E4F
+typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
+#endif
+#endif /* GL_EXT_provoking_vertex */
+
+#ifndef GL_EXT_rescale_normal
+#define GL_EXT_rescale_normal 1
+#define GL_RESCALE_NORMAL_EXT             0x803A
+#endif /* GL_EXT_rescale_normal */
+
+#ifndef GL_EXT_secondary_color
+#define GL_EXT_secondary_color 1
+#define GL_COLOR_SUM_EXT                  0x8458
+#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
+#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
+#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
+#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
+#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
+#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
+GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
+GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
+GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
+GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
+GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
+GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
+GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
+GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
+GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
+GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
+GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
+GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
+GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
+GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
+GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
+GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_secondary_color */
+
+#ifndef GL_EXT_separate_shader_objects
+#define GL_EXT_separate_shader_objects 1
+#define GL_ACTIVE_PROGRAM_EXT             0x8B8D
+typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
+typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
+typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
+GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
+GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
+#endif
+#endif /* GL_EXT_separate_shader_objects */
+
+#ifndef GL_EXT_separate_specular_color
+#define GL_EXT_separate_specular_color 1
+#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
+#define GL_SINGLE_COLOR_EXT               0x81F9
+#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
+#endif /* GL_EXT_separate_specular_color */
+
+#ifndef GL_EXT_shader_image_load_formatted
+#define GL_EXT_shader_image_load_formatted 1
+#endif /* GL_EXT_shader_image_load_formatted */
+
+#ifndef GL_EXT_shader_image_load_store
+#define GL_EXT_shader_image_load_store 1
+#define GL_MAX_IMAGE_UNITS_EXT            0x8F38
+#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
+#define GL_IMAGE_BINDING_NAME_EXT         0x8F3A
+#define GL_IMAGE_BINDING_LEVEL_EXT        0x8F3B
+#define GL_IMAGE_BINDING_LAYERED_EXT      0x8F3C
+#define GL_IMAGE_BINDING_LAYER_EXT        0x8F3D
+#define GL_IMAGE_BINDING_ACCESS_EXT       0x8F3E
+#define GL_IMAGE_1D_EXT                   0x904C
+#define GL_IMAGE_2D_EXT                   0x904D
+#define GL_IMAGE_3D_EXT                   0x904E
+#define GL_IMAGE_2D_RECT_EXT              0x904F
+#define GL_IMAGE_CUBE_EXT                 0x9050
+#define GL_IMAGE_BUFFER_EXT               0x9051
+#define GL_IMAGE_1D_ARRAY_EXT             0x9052
+#define GL_IMAGE_2D_ARRAY_EXT             0x9053
+#define GL_IMAGE_CUBE_MAP_ARRAY_EXT       0x9054
+#define GL_IMAGE_2D_MULTISAMPLE_EXT       0x9055
+#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
+#define GL_INT_IMAGE_1D_EXT               0x9057
+#define GL_INT_IMAGE_2D_EXT               0x9058
+#define GL_INT_IMAGE_3D_EXT               0x9059
+#define GL_INT_IMAGE_2D_RECT_EXT          0x905A
+#define GL_INT_IMAGE_CUBE_EXT             0x905B
+#define GL_INT_IMAGE_BUFFER_EXT           0x905C
+#define GL_INT_IMAGE_1D_ARRAY_EXT         0x905D
+#define GL_INT_IMAGE_2D_ARRAY_EXT         0x905E
+#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT   0x905F
+#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT   0x9060
+#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
+#define GL_UNSIGNED_INT_IMAGE_1D_EXT      0x9062
+#define GL_UNSIGNED_INT_IMAGE_2D_EXT      0x9063
+#define GL_UNSIGNED_INT_IMAGE_3D_EXT      0x9064
+#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
+#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT    0x9066
+#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT  0x9067
+#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
+#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
+#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
+#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
+#define GL_MAX_IMAGE_SAMPLES_EXT          0x906D
+#define GL_IMAGE_BINDING_FORMAT_EXT       0x906E
+#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
+#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT  0x00000002
+#define GL_UNIFORM_BARRIER_BIT_EXT        0x00000004
+#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT  0x00000008
+#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
+#define GL_COMMAND_BARRIER_BIT_EXT        0x00000040
+#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT   0x00000080
+#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
+#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT  0x00000200
+#define GL_FRAMEBUFFER_BARRIER_BIT_EXT    0x00000400
+#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
+#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
+#define GL_ALL_BARRIER_BITS_EXT           0xFFFFFFFF
+typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
+typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
+GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
+#endif
+#endif /* GL_EXT_shader_image_load_store */
+
+#ifndef GL_EXT_shader_integer_mix
+#define GL_EXT_shader_integer_mix 1
+#endif /* GL_EXT_shader_integer_mix */
+
+#ifndef GL_EXT_shadow_funcs
+#define GL_EXT_shadow_funcs 1
+#endif /* GL_EXT_shadow_funcs */
+
+#ifndef GL_EXT_shared_texture_palette
+#define GL_EXT_shared_texture_palette 1
+#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
+#endif /* GL_EXT_shared_texture_palette */
+
+#ifndef GL_EXT_stencil_clear_tag
+#define GL_EXT_stencil_clear_tag 1
+#define GL_STENCIL_TAG_BITS_EXT           0x88F2
+#define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
+typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
+#endif
+#endif /* GL_EXT_stencil_clear_tag */
+
+#ifndef GL_EXT_stencil_two_side
+#define GL_EXT_stencil_two_side 1
+#define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
+#define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
+typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
+#endif
+#endif /* GL_EXT_stencil_two_side */
+
+#ifndef GL_EXT_stencil_wrap
+#define GL_EXT_stencil_wrap 1
+#define GL_INCR_WRAP_EXT                  0x8507
+#define GL_DECR_WRAP_EXT                  0x8508
+#endif /* GL_EXT_stencil_wrap */
+
+#ifndef GL_EXT_subtexture
+#define GL_EXT_subtexture 1
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+#endif
+#endif /* GL_EXT_subtexture */
+
+#ifndef GL_EXT_texture
+#define GL_EXT_texture 1
+#define GL_ALPHA4_EXT                     0x803B
+#define GL_ALPHA8_EXT                     0x803C
+#define GL_ALPHA12_EXT                    0x803D
+#define GL_ALPHA16_EXT                    0x803E
+#define GL_LUMINANCE4_EXT                 0x803F
+#define GL_LUMINANCE8_EXT                 0x8040
+#define GL_LUMINANCE12_EXT                0x8041
+#define GL_LUMINANCE16_EXT                0x8042
+#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
+#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
+#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
+#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
+#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
+#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
+#define GL_INTENSITY_EXT                  0x8049
+#define GL_INTENSITY4_EXT                 0x804A
+#define GL_INTENSITY8_EXT                 0x804B
+#define GL_INTENSITY12_EXT                0x804C
+#define GL_INTENSITY16_EXT                0x804D
+#define GL_RGB2_EXT                       0x804E
+#define GL_RGB4_EXT                       0x804F
+#define GL_RGB5_EXT                       0x8050
+#define GL_RGB8_EXT                       0x8051
+#define GL_RGB10_EXT                      0x8052
+#define GL_RGB12_EXT                      0x8053
+#define GL_RGB16_EXT                      0x8054
+#define GL_RGBA2_EXT                      0x8055
+#define GL_RGBA4_EXT                      0x8056
+#define GL_RGB5_A1_EXT                    0x8057
+#define GL_RGBA8_EXT                      0x8058
+#define GL_RGB10_A2_EXT                   0x8059
+#define GL_RGBA12_EXT                     0x805A
+#define GL_RGBA16_EXT                     0x805B
+#define GL_TEXTURE_RED_SIZE_EXT           0x805C
+#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
+#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
+#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
+#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
+#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
+#define GL_REPLACE_EXT                    0x8062
+#define GL_PROXY_TEXTURE_1D_EXT           0x8063
+#define GL_PROXY_TEXTURE_2D_EXT           0x8064
+#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
+#endif /* GL_EXT_texture */
+
+#ifndef GL_EXT_texture3D
+#define GL_EXT_texture3D 1
+#define GL_PACK_SKIP_IMAGES_EXT           0x806B
+#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
+#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
+#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
+#define GL_TEXTURE_3D_EXT                 0x806F
+#define GL_PROXY_TEXTURE_3D_EXT           0x8070
+#define GL_TEXTURE_DEPTH_EXT              0x8071
+#define GL_TEXTURE_WRAP_R_EXT             0x8072
+#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
+typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
+#endif
+#endif /* GL_EXT_texture3D */
+
+#ifndef GL_EXT_texture_array
+#define GL_EXT_texture_array 1
+#define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
+#define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
+#define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
+#define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
+#define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
+#define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
+#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
+#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
+#endif /* GL_EXT_texture_array */
+
+#ifndef GL_EXT_texture_buffer_object
+#define GL_EXT_texture_buffer_object 1
+#define GL_TEXTURE_BUFFER_EXT             0x8C2A
+#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
+#define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
+#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
+#define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
+typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
+#endif
+#endif /* GL_EXT_texture_buffer_object */
+
+#ifndef GL_EXT_texture_compression_latc
+#define GL_EXT_texture_compression_latc 1
+#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
+#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
+#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
+#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
+#endif /* GL_EXT_texture_compression_latc */
+
+#ifndef GL_EXT_texture_compression_rgtc
+#define GL_EXT_texture_compression_rgtc 1
+#define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
+#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
+#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
+#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
+#endif /* GL_EXT_texture_compression_rgtc */
+
+#ifndef GL_EXT_texture_compression_s3tc
+#define GL_EXT_texture_compression_s3tc 1
+#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
+#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
+#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
+#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
+#endif /* GL_EXT_texture_compression_s3tc */
+
+#ifndef GL_EXT_texture_cube_map
+#define GL_EXT_texture_cube_map 1
+#define GL_NORMAL_MAP_EXT                 0x8511
+#define GL_REFLECTION_MAP_EXT             0x8512
+#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
+#define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
+#endif /* GL_EXT_texture_cube_map */
+
+#ifndef GL_EXT_texture_env_add
+#define GL_EXT_texture_env_add 1
+#endif /* GL_EXT_texture_env_add */
+
+#ifndef GL_EXT_texture_env_combine
+#define GL_EXT_texture_env_combine 1
+#define GL_COMBINE_EXT                    0x8570
+#define GL_COMBINE_RGB_EXT                0x8571
+#define GL_COMBINE_ALPHA_EXT              0x8572
+#define GL_RGB_SCALE_EXT                  0x8573
+#define GL_ADD_SIGNED_EXT                 0x8574
+#define GL_INTERPOLATE_EXT                0x8575
+#define GL_CONSTANT_EXT                   0x8576
+#define GL_PRIMARY_COLOR_EXT              0x8577
+#define GL_PREVIOUS_EXT                   0x8578
+#define GL_SOURCE0_RGB_EXT                0x8580
+#define GL_SOURCE1_RGB_EXT                0x8581
+#define GL_SOURCE2_RGB_EXT                0x8582
+#define GL_SOURCE0_ALPHA_EXT              0x8588
+#define GL_SOURCE1_ALPHA_EXT              0x8589
+#define GL_SOURCE2_ALPHA_EXT              0x858A
+#define GL_OPERAND0_RGB_EXT               0x8590
+#define GL_OPERAND1_RGB_EXT               0x8591
+#define GL_OPERAND2_RGB_EXT               0x8592
+#define GL_OPERAND0_ALPHA_EXT             0x8598
+#define GL_OPERAND1_ALPHA_EXT             0x8599
+#define GL_OPERAND2_ALPHA_EXT             0x859A
+#endif /* GL_EXT_texture_env_combine */
+
+#ifndef GL_EXT_texture_env_dot3
+#define GL_EXT_texture_env_dot3 1
+#define GL_DOT3_RGB_EXT                   0x8740
+#define GL_DOT3_RGBA_EXT                  0x8741
+#endif /* GL_EXT_texture_env_dot3 */
+
+#ifndef GL_EXT_texture_filter_anisotropic
+#define GL_EXT_texture_filter_anisotropic 1
+#define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
+#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
+#endif /* GL_EXT_texture_filter_anisotropic */
+
+#ifndef GL_EXT_texture_integer
+#define GL_EXT_texture_integer 1
+#define GL_RGBA32UI_EXT                   0x8D70
+#define GL_RGB32UI_EXT                    0x8D71
+#define GL_ALPHA32UI_EXT                  0x8D72
+#define GL_INTENSITY32UI_EXT              0x8D73
+#define GL_LUMINANCE32UI_EXT              0x8D74
+#define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
+#define GL_RGBA16UI_EXT                   0x8D76
+#define GL_RGB16UI_EXT                    0x8D77
+#define GL_ALPHA16UI_EXT                  0x8D78
+#define GL_INTENSITY16UI_EXT              0x8D79
+#define GL_LUMINANCE16UI_EXT              0x8D7A
+#define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
+#define GL_RGBA8UI_EXT                    0x8D7C
+#define GL_RGB8UI_EXT                     0x8D7D
+#define GL_ALPHA8UI_EXT                   0x8D7E
+#define GL_INTENSITY8UI_EXT               0x8D7F
+#define GL_LUMINANCE8UI_EXT               0x8D80
+#define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
+#define GL_RGBA32I_EXT                    0x8D82
+#define GL_RGB32I_EXT                     0x8D83
+#define GL_ALPHA32I_EXT                   0x8D84
+#define GL_INTENSITY32I_EXT               0x8D85
+#define GL_LUMINANCE32I_EXT               0x8D86
+#define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
+#define GL_RGBA16I_EXT                    0x8D88
+#define GL_RGB16I_EXT                     0x8D89
+#define GL_ALPHA16I_EXT                   0x8D8A
+#define GL_INTENSITY16I_EXT               0x8D8B
+#define GL_LUMINANCE16I_EXT               0x8D8C
+#define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
+#define GL_RGBA8I_EXT                     0x8D8E
+#define GL_RGB8I_EXT                      0x8D8F
+#define GL_ALPHA8I_EXT                    0x8D90
+#define GL_INTENSITY8I_EXT                0x8D91
+#define GL_LUMINANCE8I_EXT                0x8D92
+#define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
+#define GL_RED_INTEGER_EXT                0x8D94
+#define GL_GREEN_INTEGER_EXT              0x8D95
+#define GL_BLUE_INTEGER_EXT               0x8D96
+#define GL_ALPHA_INTEGER_EXT              0x8D97
+#define GL_RGB_INTEGER_EXT                0x8D98
+#define GL_RGBA_INTEGER_EXT               0x8D99
+#define GL_BGR_INTEGER_EXT                0x8D9A
+#define GL_BGRA_INTEGER_EXT               0x8D9B
+#define GL_LUMINANCE_INTEGER_EXT          0x8D9C
+#define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
+#define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
+typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
+typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
+GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
+#endif
+#endif /* GL_EXT_texture_integer */
+
+#ifndef GL_EXT_texture_lod_bias
+#define GL_EXT_texture_lod_bias 1
+#define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
+#define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
+#define GL_TEXTURE_LOD_BIAS_EXT           0x8501
+#endif /* GL_EXT_texture_lod_bias */
+
+#ifndef GL_EXT_texture_mirror_clamp
+#define GL_EXT_texture_mirror_clamp 1
+#define GL_MIRROR_CLAMP_EXT               0x8742
+#define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
+#define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
+#endif /* GL_EXT_texture_mirror_clamp */
+
+#ifndef GL_EXT_texture_object
+#define GL_EXT_texture_object 1
+#define GL_TEXTURE_PRIORITY_EXT           0x8066
+#define GL_TEXTURE_RESIDENT_EXT           0x8067
+#define GL_TEXTURE_1D_BINDING_EXT         0x8068
+#define GL_TEXTURE_2D_BINDING_EXT         0x8069
+#define GL_TEXTURE_3D_BINDING_EXT         0x806A
+typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
+typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
+typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
+typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
+typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
+typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
+GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
+GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
+GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
+GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
+GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
+#endif
+#endif /* GL_EXT_texture_object */
+
+#ifndef GL_EXT_texture_perturb_normal
+#define GL_EXT_texture_perturb_normal 1
+#define GL_PERTURB_EXT                    0x85AE
+#define GL_TEXTURE_NORMAL_EXT             0x85AF
+typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
+#endif
+#endif /* GL_EXT_texture_perturb_normal */
+
+#ifndef GL_EXT_texture_sRGB
+#define GL_EXT_texture_sRGB 1
+#define GL_SRGB_EXT                       0x8C40
+#define GL_SRGB8_EXT                      0x8C41
+#define GL_SRGB_ALPHA_EXT                 0x8C42
+#define GL_SRGB8_ALPHA8_EXT               0x8C43
+#define GL_SLUMINANCE_ALPHA_EXT           0x8C44
+#define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
+#define GL_SLUMINANCE_EXT                 0x8C46
+#define GL_SLUMINANCE8_EXT                0x8C47
+#define GL_COMPRESSED_SRGB_EXT            0x8C48
+#define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
+#define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
+#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
+#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
+#endif /* GL_EXT_texture_sRGB */
+
+#ifndef GL_EXT_texture_sRGB_decode
+#define GL_EXT_texture_sRGB_decode 1
+#define GL_TEXTURE_SRGB_DECODE_EXT        0x8A48
+#define GL_DECODE_EXT                     0x8A49
+#define GL_SKIP_DECODE_EXT                0x8A4A
+#endif /* GL_EXT_texture_sRGB_decode */
+
+#ifndef GL_EXT_texture_shared_exponent
+#define GL_EXT_texture_shared_exponent 1
+#define GL_RGB9_E5_EXT                    0x8C3D
+#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
+#define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
+#endif /* GL_EXT_texture_shared_exponent */
+
+#ifndef GL_EXT_texture_snorm
+#define GL_EXT_texture_snorm 1
+#define GL_ALPHA_SNORM                    0x9010
+#define GL_LUMINANCE_SNORM                0x9011
+#define GL_LUMINANCE_ALPHA_SNORM          0x9012
+#define GL_INTENSITY_SNORM                0x9013
+#define GL_ALPHA8_SNORM                   0x9014
+#define GL_LUMINANCE8_SNORM               0x9015
+#define GL_LUMINANCE8_ALPHA8_SNORM        0x9016
+#define GL_INTENSITY8_SNORM               0x9017
+#define GL_ALPHA16_SNORM                  0x9018
+#define GL_LUMINANCE16_SNORM              0x9019
+#define GL_LUMINANCE16_ALPHA16_SNORM      0x901A
+#define GL_INTENSITY16_SNORM              0x901B
+#define GL_RED_SNORM                      0x8F90
+#define GL_RG_SNORM                       0x8F91
+#define GL_RGB_SNORM                      0x8F92
+#define GL_RGBA_SNORM                     0x8F93
+#endif /* GL_EXT_texture_snorm */
+
+#ifndef GL_EXT_texture_swizzle
+#define GL_EXT_texture_swizzle 1
+#define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
+#define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
+#define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
+#define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
+#define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
+#endif /* GL_EXT_texture_swizzle */
+
+#ifndef GL_EXT_timer_query
+#define GL_EXT_timer_query 1
+#define GL_TIME_ELAPSED_EXT               0x88BF
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
+typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
+GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
+#endif
+#endif /* GL_EXT_timer_query */
+
+#ifndef GL_EXT_transform_feedback
+#define GL_EXT_transform_feedback 1
+#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
+#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
+#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
+#define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
+#define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
+#define GL_PRIMITIVES_GENERATED_EXT       0x8C87
+#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
+#define GL_RASTERIZER_DISCARD_EXT         0x8C89
+#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
+#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
+#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
+#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
+typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
+typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
+typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
+GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
+GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
+GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
+GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+#endif
+#endif /* GL_EXT_transform_feedback */
+
+#ifndef GL_EXT_vertex_array
+#define GL_EXT_vertex_array 1
+#define GL_VERTEX_ARRAY_EXT               0x8074
+#define GL_NORMAL_ARRAY_EXT               0x8075
+#define GL_COLOR_ARRAY_EXT                0x8076
+#define GL_INDEX_ARRAY_EXT                0x8077
+#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
+#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
+#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
+#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
+#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
+#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
+#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
+#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
+#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
+#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
+#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
+#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
+#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
+#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
+#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
+#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
+#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
+#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
+#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
+#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
+#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
+#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
+#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
+#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
+#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
+#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
+#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
+#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
+typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
+typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
+typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
+typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
+typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glArrayElementEXT (GLint i);
+GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
+GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
+GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
+GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
+#endif
+#endif /* GL_EXT_vertex_array */
+
+#ifndef GL_EXT_vertex_array_bgra
+#define GL_EXT_vertex_array_bgra 1
+#endif /* GL_EXT_vertex_array_bgra */
+
+#ifndef GL_EXT_vertex_attrib_64bit
+#define GL_EXT_vertex_attrib_64bit 1
+#define GL_DOUBLE_VEC2_EXT                0x8FFC
+#define GL_DOUBLE_VEC3_EXT                0x8FFD
+#define GL_DOUBLE_VEC4_EXT                0x8FFE
+#define GL_DOUBLE_MAT2_EXT                0x8F46
+#define GL_DOUBLE_MAT3_EXT                0x8F47
+#define GL_DOUBLE_MAT4_EXT                0x8F48
+#define GL_DOUBLE_MAT2x3_EXT              0x8F49
+#define GL_DOUBLE_MAT2x4_EXT              0x8F4A
+#define GL_DOUBLE_MAT3x2_EXT              0x8F4B
+#define GL_DOUBLE_MAT3x4_EXT              0x8F4C
+#define GL_DOUBLE_MAT4x2_EXT              0x8F4D
+#define GL_DOUBLE_MAT4x3_EXT              0x8F4E
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
+#endif
+#endif /* GL_EXT_vertex_attrib_64bit */
+
+#ifndef GL_EXT_vertex_shader
+#define GL_EXT_vertex_shader 1
+#define GL_VERTEX_SHADER_EXT              0x8780
+#define GL_VERTEX_SHADER_BINDING_EXT      0x8781
+#define GL_OP_INDEX_EXT                   0x8782
+#define GL_OP_NEGATE_EXT                  0x8783
+#define GL_OP_DOT3_EXT                    0x8784
+#define GL_OP_DOT4_EXT                    0x8785
+#define GL_OP_MUL_EXT                     0x8786
+#define GL_OP_ADD_EXT                     0x8787
+#define GL_OP_MADD_EXT                    0x8788
+#define GL_OP_FRAC_EXT                    0x8789
+#define GL_OP_MAX_EXT                     0x878A
+#define GL_OP_MIN_EXT                     0x878B
+#define GL_OP_SET_GE_EXT                  0x878C
+#define GL_OP_SET_LT_EXT                  0x878D
+#define GL_OP_CLAMP_EXT                   0x878E
+#define GL_OP_FLOOR_EXT                   0x878F
+#define GL_OP_ROUND_EXT                   0x8790
+#define GL_OP_EXP_BASE_2_EXT              0x8791
+#define GL_OP_LOG_BASE_2_EXT              0x8792
+#define GL_OP_POWER_EXT                   0x8793
+#define GL_OP_RECIP_EXT                   0x8794
+#define GL_OP_RECIP_SQRT_EXT              0x8795
+#define GL_OP_SUB_EXT                     0x8796
+#define GL_OP_CROSS_PRODUCT_EXT           0x8797
+#define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
+#define GL_OP_MOV_EXT                     0x8799
+#define GL_OUTPUT_VERTEX_EXT              0x879A
+#define GL_OUTPUT_COLOR0_EXT              0x879B
+#define GL_OUTPUT_COLOR1_EXT              0x879C
+#define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
+#define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
+#define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
+#define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
+#define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
+#define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
+#define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
+#define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
+#define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
+#define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
+#define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
+#define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
+#define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
+#define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
+#define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
+#define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
+#define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
+#define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
+#define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
+#define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
+#define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
+#define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
+#define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
+#define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
+#define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
+#define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
+#define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
+#define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
+#define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
+#define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
+#define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
+#define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
+#define GL_OUTPUT_FOG_EXT                 0x87BD
+#define GL_SCALAR_EXT                     0x87BE
+#define GL_VECTOR_EXT                     0x87BF
+#define GL_MATRIX_EXT                     0x87C0
+#define GL_VARIANT_EXT                    0x87C1
+#define GL_INVARIANT_EXT                  0x87C2
+#define GL_LOCAL_CONSTANT_EXT             0x87C3
+#define GL_LOCAL_EXT                      0x87C4
+#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
+#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
+#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
+#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
+#define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
+#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
+#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
+#define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
+#define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
+#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
+#define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
+#define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
+#define GL_X_EXT                          0x87D5
+#define GL_Y_EXT                          0x87D6
+#define GL_Z_EXT                          0x87D7
+#define GL_W_EXT                          0x87D8
+#define GL_NEGATIVE_X_EXT                 0x87D9
+#define GL_NEGATIVE_Y_EXT                 0x87DA
+#define GL_NEGATIVE_Z_EXT                 0x87DB
+#define GL_NEGATIVE_W_EXT                 0x87DC
+#define GL_ZERO_EXT                       0x87DD
+#define GL_ONE_EXT                        0x87DE
+#define GL_NEGATIVE_ONE_EXT               0x87DF
+#define GL_NORMALIZED_RANGE_EXT           0x87E0
+#define GL_FULL_RANGE_EXT                 0x87E1
+#define GL_CURRENT_VERTEX_EXT             0x87E2
+#define GL_MVP_MATRIX_EXT                 0x87E3
+#define GL_VARIANT_VALUE_EXT              0x87E4
+#define GL_VARIANT_DATATYPE_EXT           0x87E5
+#define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
+#define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
+#define GL_VARIANT_ARRAY_EXT              0x87E8
+#define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
+#define GL_INVARIANT_VALUE_EXT            0x87EA
+#define GL_INVARIANT_DATATYPE_EXT         0x87EB
+#define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
+#define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
+typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
+typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
+typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
+typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
+typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
+typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
+typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
+typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
+typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
+typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
+typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
+typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
+typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
+typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
+typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
+typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
+typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
+typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
+typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
+typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
+typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
+typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
+typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
+typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
+typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
+typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
+typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
+typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
+typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
+typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
+typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
+typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginVertexShaderEXT (void);
+GLAPI void APIENTRY glEndVertexShaderEXT (void);
+GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
+GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
+GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
+GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
+GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
+GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
+GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
+GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
+GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
+GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
+GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
+GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
+GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
+GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
+GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
+GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
+GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
+GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
+GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
+GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
+GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
+GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
+GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
+GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
+GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
+GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
+GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
+GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
+GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
+GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
+GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
+GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
+GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
+GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
+GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
+GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
+GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
+GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
+GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
+#endif
+#endif /* GL_EXT_vertex_shader */
+
+#ifndef GL_EXT_vertex_weighting
+#define GL_EXT_vertex_weighting 1
+#define GL_MODELVIEW0_STACK_DEPTH_EXT     0x0BA3
+#define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
+#define GL_MODELVIEW0_MATRIX_EXT          0x0BA6
+#define GL_MODELVIEW1_MATRIX_EXT          0x8506
+#define GL_VERTEX_WEIGHTING_EXT           0x8509
+#define GL_MODELVIEW0_EXT                 0x1700
+#define GL_MODELVIEW1_EXT                 0x850A
+#define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
+#define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
+#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
+#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
+#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
+#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
+GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
+GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
+#endif
+#endif /* GL_EXT_vertex_weighting */
+
+#ifndef GL_EXT_x11_sync_object
+#define GL_EXT_x11_sync_object 1
+#define GL_SYNC_X11_FENCE_EXT             0x90E1
+typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
+#endif
+#endif /* GL_EXT_x11_sync_object */
+
+#ifndef GL_GREMEDY_frame_terminator
+#define GL_GREMEDY_frame_terminator 1
+typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
+#endif
+#endif /* GL_GREMEDY_frame_terminator */
+
+#ifndef GL_GREMEDY_string_marker
+#define GL_GREMEDY_string_marker 1
+typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
+#endif
+#endif /* GL_GREMEDY_string_marker */
+
+#ifndef GL_HP_convolution_border_modes
+#define GL_HP_convolution_border_modes 1
+#define GL_IGNORE_BORDER_HP               0x8150
+#define GL_CONSTANT_BORDER_HP             0x8151
+#define GL_REPLICATE_BORDER_HP            0x8153
+#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
+#endif /* GL_HP_convolution_border_modes */
+
+#ifndef GL_HP_image_transform
+#define GL_HP_image_transform 1
+#define GL_IMAGE_SCALE_X_HP               0x8155
+#define GL_IMAGE_SCALE_Y_HP               0x8156
+#define GL_IMAGE_TRANSLATE_X_HP           0x8157
+#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
+#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
+#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
+#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
+#define GL_IMAGE_MAG_FILTER_HP            0x815C
+#define GL_IMAGE_MIN_FILTER_HP            0x815D
+#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
+#define GL_CUBIC_HP                       0x815F
+#define GL_AVERAGE_HP                     0x8160
+#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
+#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
+#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
+GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_HP_image_transform */
+
+#ifndef GL_HP_occlusion_test
+#define GL_HP_occlusion_test 1
+#define GL_OCCLUSION_TEST_HP              0x8165
+#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
+#endif /* GL_HP_occlusion_test */
+
+#ifndef GL_HP_texture_lighting
+#define GL_HP_texture_lighting 1
+#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
+#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
+#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
+#endif /* GL_HP_texture_lighting */
+
+#ifndef GL_IBM_cull_vertex
+#define GL_IBM_cull_vertex 1
+#define GL_CULL_VERTEX_IBM                103050
+#endif /* GL_IBM_cull_vertex */
+
+#ifndef GL_IBM_multimode_draw_arrays
+#define GL_IBM_multimode_draw_arrays 1
+typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
+typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
+GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
+#endif
+#endif /* GL_IBM_multimode_draw_arrays */
+
+#ifndef GL_IBM_rasterpos_clip
+#define GL_IBM_rasterpos_clip 1
+#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
+#endif /* GL_IBM_rasterpos_clip */
+
+#ifndef GL_IBM_static_data
+#define GL_IBM_static_data 1
+#define GL_ALL_STATIC_DATA_IBM            103060
+#define GL_STATIC_VERTEX_ARRAY_IBM        103061
+typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
+#endif
+#endif /* GL_IBM_static_data */
+
+#ifndef GL_IBM_texture_mirrored_repeat
+#define GL_IBM_texture_mirrored_repeat 1
+#define GL_MIRRORED_REPEAT_IBM            0x8370
+#endif /* GL_IBM_texture_mirrored_repeat */
+
+#ifndef GL_IBM_vertex_array_lists
+#define GL_IBM_vertex_array_lists 1
+#define GL_VERTEX_ARRAY_LIST_IBM          103070
+#define GL_NORMAL_ARRAY_LIST_IBM          103071
+#define GL_COLOR_ARRAY_LIST_IBM           103072
+#define GL_INDEX_ARRAY_LIST_IBM           103073
+#define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
+#define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
+#define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
+#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
+#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
+#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
+#define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
+#define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
+#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
+#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
+#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
+#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
+typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
+GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
+#endif
+#endif /* GL_IBM_vertex_array_lists */
+
+#ifndef GL_INGR_blend_func_separate
+#define GL_INGR_blend_func_separate 1
+typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
+#endif
+#endif /* GL_INGR_blend_func_separate */
+
+#ifndef GL_INGR_color_clamp
+#define GL_INGR_color_clamp 1
+#define GL_RED_MIN_CLAMP_INGR             0x8560
+#define GL_GREEN_MIN_CLAMP_INGR           0x8561
+#define GL_BLUE_MIN_CLAMP_INGR            0x8562
+#define GL_ALPHA_MIN_CLAMP_INGR           0x8563
+#define GL_RED_MAX_CLAMP_INGR             0x8564
+#define GL_GREEN_MAX_CLAMP_INGR           0x8565
+#define GL_BLUE_MAX_CLAMP_INGR            0x8566
+#define GL_ALPHA_MAX_CLAMP_INGR           0x8567
+#endif /* GL_INGR_color_clamp */
+
+#ifndef GL_INGR_interlace_read
+#define GL_INGR_interlace_read 1
+#define GL_INTERLACE_READ_INGR            0x8568
+#endif /* GL_INGR_interlace_read */
+
+#ifndef GL_INTEL_fragment_shader_ordering
+#define GL_INTEL_fragment_shader_ordering 1
+#endif /* GL_INTEL_fragment_shader_ordering */
+
+#ifndef GL_INTEL_map_texture
+#define GL_INTEL_map_texture 1
+#define GL_TEXTURE_MEMORY_LAYOUT_INTEL    0x83FF
+#define GL_LAYOUT_DEFAULT_INTEL           0
+#define GL_LAYOUT_LINEAR_INTEL            1
+#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
+typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
+typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
+typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
+GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
+GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
+#endif
+#endif /* GL_INTEL_map_texture */
+
+#ifndef GL_INTEL_parallel_arrays
+#define GL_INTEL_parallel_arrays 1
+#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
+#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
+#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
+#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
+#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
+typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
+typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
+typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
+typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
+GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
+GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
+GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
+#endif
+#endif /* GL_INTEL_parallel_arrays */
+
+#ifndef GL_INTEL_performance_query
+#define GL_INTEL_performance_query 1
+#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
+#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
+#define GL_PERFQUERY_WAIT_INTEL           0x83FB
+#define GL_PERFQUERY_FLUSH_INTEL          0x83FA
+#define GL_PERFQUERY_DONOT_FLUSH_INTEL    0x83F9
+#define GL_PERFQUERY_COUNTER_EVENT_INTEL  0x94F0
+#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
+#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
+#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
+#define GL_PERFQUERY_COUNTER_RAW_INTEL    0x94F4
+#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
+#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
+#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
+#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
+#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
+#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
+#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
+#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
+#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
+#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
+typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
+typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
+typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
+typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
+typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
+typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
+typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
+typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
+typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
+typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
+GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
+GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
+GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
+GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
+GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
+GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
+GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
+GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
+GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
+#endif
+#endif /* GL_INTEL_performance_query */
+
+#ifndef GL_MESAX_texture_stack
+#define GL_MESAX_texture_stack 1
+#define GL_TEXTURE_1D_STACK_MESAX         0x8759
+#define GL_TEXTURE_2D_STACK_MESAX         0x875A
+#define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
+#define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
+#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
+#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
+#endif /* GL_MESAX_texture_stack */
+
+#ifndef GL_MESA_pack_invert
+#define GL_MESA_pack_invert 1
+#define GL_PACK_INVERT_MESA               0x8758
+#endif /* GL_MESA_pack_invert */
+
+#ifndef GL_MESA_resize_buffers
+#define GL_MESA_resize_buffers 1
+typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glResizeBuffersMESA (void);
+#endif
+#endif /* GL_MESA_resize_buffers */
+
+#ifndef GL_MESA_window_pos
+#define GL_MESA_window_pos 1
+typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
+typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
+GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
+GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
+GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
+GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
+GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
+GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
+GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
+GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
+GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
+GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
+GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
+#endif
+#endif /* GL_MESA_window_pos */
+
+#ifndef GL_MESA_ycbcr_texture
+#define GL_MESA_ycbcr_texture 1
+#define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
+#define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
+#define GL_YCBCR_MESA                     0x8757
+#endif /* GL_MESA_ycbcr_texture */
+
+#ifndef GL_NVX_conditional_render
+#define GL_NVX_conditional_render 1
+typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
+GLAPI void APIENTRY glEndConditionalRenderNVX (void);
+#endif
+#endif /* GL_NVX_conditional_render */
+
+#ifndef GL_NVX_gpu_memory_info
+#define GL_NVX_gpu_memory_info 1
+#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
+#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
+#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
+#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
+#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
+#endif /* GL_NVX_gpu_memory_info */
+
+#ifndef GL_NV_bindless_multi_draw_indirect
+#define GL_NV_bindless_multi_draw_indirect 1
+typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
+#endif
+#endif /* GL_NV_bindless_multi_draw_indirect */
+
+#ifndef GL_NV_bindless_texture
+#define GL_NV_bindless_texture 1
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
+typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
+typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
+typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
+typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
+GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
+GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
+GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
+GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
+GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
+GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
+GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
+GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
+GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
+GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
+GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
+GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
+#endif
+#endif /* GL_NV_bindless_texture */
+
+#ifndef GL_NV_blend_equation_advanced
+#define GL_NV_blend_equation_advanced 1
+#define GL_BLEND_OVERLAP_NV               0x9281
+#define GL_BLEND_PREMULTIPLIED_SRC_NV     0x9280
+#define GL_BLUE_NV                        0x1905
+#define GL_COLORBURN_NV                   0x929A
+#define GL_COLORDODGE_NV                  0x9299
+#define GL_CONJOINT_NV                    0x9284
+#define GL_CONTRAST_NV                    0x92A1
+#define GL_DARKEN_NV                      0x9297
+#define GL_DIFFERENCE_NV                  0x929E
+#define GL_DISJOINT_NV                    0x9283
+#define GL_DST_ATOP_NV                    0x928F
+#define GL_DST_IN_NV                      0x928B
+#define GL_DST_NV                         0x9287
+#define GL_DST_OUT_NV                     0x928D
+#define GL_DST_OVER_NV                    0x9289
+#define GL_EXCLUSION_NV                   0x92A0
+#define GL_GREEN_NV                       0x1904
+#define GL_HARDLIGHT_NV                   0x929B
+#define GL_HARDMIX_NV                     0x92A9
+#define GL_HSL_COLOR_NV                   0x92AF
+#define GL_HSL_HUE_NV                     0x92AD
+#define GL_HSL_LUMINOSITY_NV              0x92B0
+#define GL_HSL_SATURATION_NV              0x92AE
+#define GL_INVERT_OVG_NV                  0x92B4
+#define GL_INVERT_RGB_NV                  0x92A3
+#define GL_LIGHTEN_NV                     0x9298
+#define GL_LINEARBURN_NV                  0x92A5
+#define GL_LINEARDODGE_NV                 0x92A4
+#define GL_LINEARLIGHT_NV                 0x92A7
+#define GL_MINUS_CLAMPED_NV               0x92B3
+#define GL_MINUS_NV                       0x929F
+#define GL_MULTIPLY_NV                    0x9294
+#define GL_OVERLAY_NV                     0x9296
+#define GL_PINLIGHT_NV                    0x92A8
+#define GL_PLUS_CLAMPED_ALPHA_NV          0x92B2
+#define GL_PLUS_CLAMPED_NV                0x92B1
+#define GL_PLUS_DARKER_NV                 0x9292
+#define GL_PLUS_NV                        0x9291
+#define GL_RED_NV                         0x1903
+#define GL_SCREEN_NV                      0x9295
+#define GL_SOFTLIGHT_NV                   0x929C
+#define GL_SRC_ATOP_NV                    0x928E
+#define GL_SRC_IN_NV                      0x928A
+#define GL_SRC_NV                         0x9286
+#define GL_SRC_OUT_NV                     0x928C
+#define GL_SRC_OVER_NV                    0x9288
+#define GL_UNCORRELATED_NV                0x9282
+#define GL_VIVIDLIGHT_NV                  0x92A6
+#define GL_XOR_NV                         0x1506
+typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
+GLAPI void APIENTRY glBlendBarrierNV (void);
+#endif
+#endif /* GL_NV_blend_equation_advanced */
+
+#ifndef GL_NV_blend_equation_advanced_coherent
+#define GL_NV_blend_equation_advanced_coherent 1
+#define GL_BLEND_ADVANCED_COHERENT_NV     0x9285
+#endif /* GL_NV_blend_equation_advanced_coherent */
+
+#ifndef GL_NV_blend_square
+#define GL_NV_blend_square 1
+#endif /* GL_NV_blend_square */
+
+#ifndef GL_NV_compute_program5
+#define GL_NV_compute_program5 1
+#define GL_COMPUTE_PROGRAM_NV             0x90FB
+#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
+#endif /* GL_NV_compute_program5 */
+
+#ifndef GL_NV_conditional_render
+#define GL_NV_conditional_render 1
+#define GL_QUERY_WAIT_NV                  0x8E13
+#define GL_QUERY_NO_WAIT_NV               0x8E14
+#define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
+#define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
+typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
+typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
+GLAPI void APIENTRY glEndConditionalRenderNV (void);
+#endif
+#endif /* GL_NV_conditional_render */
+
+#ifndef GL_NV_copy_depth_to_color
+#define GL_NV_copy_depth_to_color 1
+#define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
+#define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
+#endif /* GL_NV_copy_depth_to_color */
+
+#ifndef GL_NV_copy_image
+#define GL_NV_copy_image 1
+typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
+#endif
+#endif /* GL_NV_copy_image */
+
+#ifndef GL_NV_deep_texture3D
+#define GL_NV_deep_texture3D 1
+#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
+#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV   0x90D1
+#endif /* GL_NV_deep_texture3D */
+
+#ifndef GL_NV_depth_buffer_float
+#define GL_NV_depth_buffer_float 1
+#define GL_DEPTH_COMPONENT32F_NV          0x8DAB
+#define GL_DEPTH32F_STENCIL8_NV           0x8DAC
+#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
+#define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
+typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
+typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
+typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
+GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
+GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
+#endif
+#endif /* GL_NV_depth_buffer_float */
+
+#ifndef GL_NV_depth_clamp
+#define GL_NV_depth_clamp 1
+#define GL_DEPTH_CLAMP_NV                 0x864F
+#endif /* GL_NV_depth_clamp */
+
+#ifndef GL_NV_draw_texture
+#define GL_NV_draw_texture 1
+typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
+#endif
+#endif /* GL_NV_draw_texture */
+
+#ifndef GL_NV_evaluators
+#define GL_NV_evaluators 1
+#define GL_EVAL_2D_NV                     0x86C0
+#define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
+#define GL_MAP_TESSELLATION_NV            0x86C2
+#define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
+#define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
+#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
+#define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
+#define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
+#define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
+#define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
+#define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
+#define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
+#define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
+#define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
+#define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
+#define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
+#define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
+#define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
+#define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
+#define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
+#define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
+#define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
+#define GL_MAX_MAP_TESSELLATION_NV        0x86D6
+#define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
+typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
+typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
+typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
+GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
+GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
+#endif
+#endif /* GL_NV_evaluators */
+
+#ifndef GL_NV_explicit_multisample
+#define GL_NV_explicit_multisample 1
+#define GL_SAMPLE_POSITION_NV             0x8E50
+#define GL_SAMPLE_MASK_NV                 0x8E51
+#define GL_SAMPLE_MASK_VALUE_NV           0x8E52
+#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
+#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
+#define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
+#define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
+#define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
+#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
+#define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
+typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
+typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
+typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
+GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
+GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
+#endif
+#endif /* GL_NV_explicit_multisample */
+
+#ifndef GL_NV_fence
+#define GL_NV_fence 1
+#define GL_ALL_COMPLETED_NV               0x84F2
+#define GL_FENCE_STATUS_NV                0x84F3
+#define GL_FENCE_CONDITION_NV             0x84F4
+typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
+typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
+typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
+typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
+typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
+typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
+GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
+GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
+GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
+GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
+GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
+GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
+#endif
+#endif /* GL_NV_fence */
+
+#ifndef GL_NV_float_buffer
+#define GL_NV_float_buffer 1
+#define GL_FLOAT_R_NV                     0x8880
+#define GL_FLOAT_RG_NV                    0x8881
+#define GL_FLOAT_RGB_NV                   0x8882
+#define GL_FLOAT_RGBA_NV                  0x8883
+#define GL_FLOAT_R16_NV                   0x8884
+#define GL_FLOAT_R32_NV                   0x8885
+#define GL_FLOAT_RG16_NV                  0x8886
+#define GL_FLOAT_RG32_NV                  0x8887
+#define GL_FLOAT_RGB16_NV                 0x8888
+#define GL_FLOAT_RGB32_NV                 0x8889
+#define GL_FLOAT_RGBA16_NV                0x888A
+#define GL_FLOAT_RGBA32_NV                0x888B
+#define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
+#define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
+#define GL_FLOAT_RGBA_MODE_NV             0x888E
+#endif /* GL_NV_float_buffer */
+
+#ifndef GL_NV_fog_distance
+#define GL_NV_fog_distance 1
+#define GL_FOG_DISTANCE_MODE_NV           0x855A
+#define GL_EYE_RADIAL_NV                  0x855B
+#define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
+#endif /* GL_NV_fog_distance */
+
+#ifndef GL_NV_fragment_program
+#define GL_NV_fragment_program 1
+#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
+#define GL_FRAGMENT_PROGRAM_NV            0x8870
+#define GL_MAX_TEXTURE_COORDS_NV          0x8871
+#define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
+#define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
+#define GL_PROGRAM_ERROR_STRING_NV        0x8874
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
+typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
+GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
+GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
+GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
+#endif
+#endif /* GL_NV_fragment_program */
+
+#ifndef GL_NV_fragment_program2
+#define GL_NV_fragment_program2 1
+#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
+#define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
+#define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
+#define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
+#define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
+#endif /* GL_NV_fragment_program2 */
+
+#ifndef GL_NV_fragment_program4
+#define GL_NV_fragment_program4 1
+#endif /* GL_NV_fragment_program4 */
+
+#ifndef GL_NV_fragment_program_option
+#define GL_NV_fragment_program_option 1
+#endif /* GL_NV_fragment_program_option */
+
+#ifndef GL_NV_framebuffer_multisample_coverage
+#define GL_NV_framebuffer_multisample_coverage 1
+#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
+#define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
+#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
+#define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
+typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+#endif /* GL_NV_framebuffer_multisample_coverage */
+
+#ifndef GL_NV_geometry_program4
+#define GL_NV_geometry_program4 1
+#define GL_GEOMETRY_PROGRAM_NV            0x8C26
+#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
+#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
+typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
+GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
+GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
+#endif
+#endif /* GL_NV_geometry_program4 */
+
+#ifndef GL_NV_geometry_shader4
+#define GL_NV_geometry_shader4 1
+#endif /* GL_NV_geometry_shader4 */
+
+#ifndef GL_NV_gpu_program4
+#define GL_NV_gpu_program4 1
+#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
+#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
+#define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
+#define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
+#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
+#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
+#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
+#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
+GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
+GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
+GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
+GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
+GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
+GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
+GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
+#endif
+#endif /* GL_NV_gpu_program4 */
+
+#ifndef GL_NV_gpu_program5
+#define GL_NV_gpu_program5 1
+#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
+#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
+#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
+#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
+#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
+#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
+#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
+#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV  0x8F45
+typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
+GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
+#endif
+#endif /* GL_NV_gpu_program5 */
+
+#ifndef GL_NV_gpu_program5_mem_extended
+#define GL_NV_gpu_program5_mem_extended 1
+#endif /* GL_NV_gpu_program5_mem_extended */
+
+#ifndef GL_NV_gpu_shader5
+#define GL_NV_gpu_shader5 1
+#endif /* GL_NV_gpu_shader5 */
+
+#ifndef GL_NV_half_float
+#define GL_NV_half_float 1
+typedef unsigned short GLhalfNV;
+#define GL_HALF_FLOAT_NV                  0x140B
+typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
+typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
+typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
+typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
+typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
+typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
+typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
+typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
+typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
+typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
+GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
+GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
+GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
+GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
+GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
+GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
+GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
+GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
+GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
+GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
+GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
+GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
+GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
+GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
+GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
+GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
+GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
+GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
+GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
+GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
+GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
+GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
+#endif
+#endif /* GL_NV_half_float */
+
+#ifndef GL_NV_light_max_exponent
+#define GL_NV_light_max_exponent 1
+#define GL_MAX_SHININESS_NV               0x8504
+#define GL_MAX_SPOT_EXPONENT_NV           0x8505
+#endif /* GL_NV_light_max_exponent */
+
+#ifndef GL_NV_multisample_coverage
+#define GL_NV_multisample_coverage 1
+#define GL_COLOR_SAMPLES_NV               0x8E20
+#endif /* GL_NV_multisample_coverage */
+
+#ifndef GL_NV_multisample_filter_hint
+#define GL_NV_multisample_filter_hint 1
+#define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
+#endif /* GL_NV_multisample_filter_hint */
+
+#ifndef GL_NV_occlusion_query
+#define GL_NV_occlusion_query 1
+#define GL_PIXEL_COUNTER_BITS_NV          0x8864
+#define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
+#define GL_PIXEL_COUNT_NV                 0x8866
+#define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
+typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
+typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
+typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
+GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
+GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
+GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
+GLAPI void APIENTRY glEndOcclusionQueryNV (void);
+GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
+#endif
+#endif /* GL_NV_occlusion_query */
+
+#ifndef GL_NV_packed_depth_stencil
+#define GL_NV_packed_depth_stencil 1
+#define GL_DEPTH_STENCIL_NV               0x84F9
+#define GL_UNSIGNED_INT_24_8_NV           0x84FA
+#endif /* GL_NV_packed_depth_stencil */
+
+#ifndef GL_NV_parameter_buffer_object
+#define GL_NV_parameter_buffer_object 1
+#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
+#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
+#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
+#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
+#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
+typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
+typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
+typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
+GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
+GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
+#endif
+#endif /* GL_NV_parameter_buffer_object */
+
+#ifndef GL_NV_parameter_buffer_object2
+#define GL_NV_parameter_buffer_object2 1
+#endif /* GL_NV_parameter_buffer_object2 */
+
+#ifndef GL_NV_path_rendering
+#define GL_NV_path_rendering 1
+#define GL_PATH_FORMAT_SVG_NV             0x9070
+#define GL_PATH_FORMAT_PS_NV              0x9071
+#define GL_STANDARD_FONT_NAME_NV          0x9072
+#define GL_SYSTEM_FONT_NAME_NV            0x9073
+#define GL_FILE_NAME_NV                   0x9074
+#define GL_PATH_STROKE_WIDTH_NV           0x9075
+#define GL_PATH_END_CAPS_NV               0x9076
+#define GL_PATH_INITIAL_END_CAP_NV        0x9077
+#define GL_PATH_TERMINAL_END_CAP_NV       0x9078
+#define GL_PATH_JOIN_STYLE_NV             0x9079
+#define GL_PATH_MITER_LIMIT_NV            0x907A
+#define GL_PATH_DASH_CAPS_NV              0x907B
+#define GL_PATH_INITIAL_DASH_CAP_NV       0x907C
+#define GL_PATH_TERMINAL_DASH_CAP_NV      0x907D
+#define GL_PATH_DASH_OFFSET_NV            0x907E
+#define GL_PATH_CLIENT_LENGTH_NV          0x907F
+#define GL_PATH_FILL_MODE_NV              0x9080
+#define GL_PATH_FILL_MASK_NV              0x9081
+#define GL_PATH_FILL_COVER_MODE_NV        0x9082
+#define GL_PATH_STROKE_COVER_MODE_NV      0x9083
+#define GL_PATH_STROKE_MASK_NV            0x9084
+#define GL_COUNT_UP_NV                    0x9088
+#define GL_COUNT_DOWN_NV                  0x9089
+#define GL_PATH_OBJECT_BOUNDING_BOX_NV    0x908A
+#define GL_CONVEX_HULL_NV                 0x908B
+#define GL_BOUNDING_BOX_NV                0x908D
+#define GL_TRANSLATE_X_NV                 0x908E
+#define GL_TRANSLATE_Y_NV                 0x908F
+#define GL_TRANSLATE_2D_NV                0x9090
+#define GL_TRANSLATE_3D_NV                0x9091
+#define GL_AFFINE_2D_NV                   0x9092
+#define GL_AFFINE_3D_NV                   0x9094
+#define GL_TRANSPOSE_AFFINE_2D_NV         0x9096
+#define GL_TRANSPOSE_AFFINE_3D_NV         0x9098
+#define GL_UTF8_NV                        0x909A
+#define GL_UTF16_NV                       0x909B
+#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
+#define GL_PATH_COMMAND_COUNT_NV          0x909D
+#define GL_PATH_COORD_COUNT_NV            0x909E
+#define GL_PATH_DASH_ARRAY_COUNT_NV       0x909F
+#define GL_PATH_COMPUTED_LENGTH_NV        0x90A0
+#define GL_PATH_FILL_BOUNDING_BOX_NV      0x90A1
+#define GL_PATH_STROKE_BOUNDING_BOX_NV    0x90A2
+#define GL_SQUARE_NV                      0x90A3
+#define GL_ROUND_NV                       0x90A4
+#define GL_TRIANGULAR_NV                  0x90A5
+#define GL_BEVEL_NV                       0x90A6
+#define GL_MITER_REVERT_NV                0x90A7
+#define GL_MITER_TRUNCATE_NV              0x90A8
+#define GL_SKIP_MISSING_GLYPH_NV          0x90A9
+#define GL_USE_MISSING_GLYPH_NV           0x90AA
+#define GL_PATH_ERROR_POSITION_NV         0x90AB
+#define GL_PATH_FOG_GEN_MODE_NV           0x90AC
+#define GL_ACCUM_ADJACENT_PAIRS_NV        0x90AD
+#define GL_ADJACENT_PAIRS_NV              0x90AE
+#define GL_FIRST_TO_REST_NV               0x90AF
+#define GL_PATH_GEN_MODE_NV               0x90B0
+#define GL_PATH_GEN_COEFF_NV              0x90B1
+#define GL_PATH_GEN_COLOR_FORMAT_NV       0x90B2
+#define GL_PATH_GEN_COMPONENTS_NV         0x90B3
+#define GL_PATH_STENCIL_FUNC_NV           0x90B7
+#define GL_PATH_STENCIL_REF_NV            0x90B8
+#define GL_PATH_STENCIL_VALUE_MASK_NV     0x90B9
+#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
+#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
+#define GL_PATH_COVER_DEPTH_FUNC_NV       0x90BF
+#define GL_PATH_DASH_OFFSET_RESET_NV      0x90B4
+#define GL_MOVE_TO_RESETS_NV              0x90B5
+#define GL_MOVE_TO_CONTINUES_NV           0x90B6
+#define GL_CLOSE_PATH_NV                  0x00
+#define GL_MOVE_TO_NV                     0x02
+#define GL_RELATIVE_MOVE_TO_NV            0x03
+#define GL_LINE_TO_NV                     0x04
+#define GL_RELATIVE_LINE_TO_NV            0x05
+#define GL_HORIZONTAL_LINE_TO_NV          0x06
+#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
+#define GL_VERTICAL_LINE_TO_NV            0x08
+#define GL_RELATIVE_VERTICAL_LINE_TO_NV   0x09
+#define GL_QUADRATIC_CURVE_TO_NV          0x0A
+#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
+#define GL_CUBIC_CURVE_TO_NV              0x0C
+#define GL_RELATIVE_CUBIC_CURVE_TO_NV     0x0D
+#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV   0x0E
+#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
+#define GL_SMOOTH_CUBIC_CURVE_TO_NV       0x10
+#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
+#define GL_SMALL_CCW_ARC_TO_NV            0x12
+#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV   0x13
+#define GL_SMALL_CW_ARC_TO_NV             0x14
+#define GL_RELATIVE_SMALL_CW_ARC_TO_NV    0x15
+#define GL_LARGE_CCW_ARC_TO_NV            0x16
+#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV   0x17
+#define GL_LARGE_CW_ARC_TO_NV             0x18
+#define GL_RELATIVE_LARGE_CW_ARC_TO_NV    0x19
+#define GL_RESTART_PATH_NV                0xF0
+#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV    0xF2
+#define GL_DUP_LAST_CUBIC_CURVE_TO_NV     0xF4
+#define GL_RECT_NV                        0xF6
+#define GL_CIRCULAR_CCW_ARC_TO_NV         0xF8
+#define GL_CIRCULAR_CW_ARC_TO_NV          0xFA
+#define GL_CIRCULAR_TANGENT_ARC_TO_NV     0xFC
+#define GL_ARC_TO_NV                      0xFE
+#define GL_RELATIVE_ARC_TO_NV             0xFF
+#define GL_BOLD_BIT_NV                    0x01
+#define GL_ITALIC_BIT_NV                  0x02
+#define GL_GLYPH_WIDTH_BIT_NV             0x01
+#define GL_GLYPH_HEIGHT_BIT_NV            0x02
+#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
+#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
+#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
+#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
+#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
+#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
+#define GL_GLYPH_HAS_KERNING_BIT_NV       0x100
+#define GL_FONT_X_MIN_BOUNDS_BIT_NV       0x00010000
+#define GL_FONT_Y_MIN_BOUNDS_BIT_NV       0x00020000
+#define GL_FONT_X_MAX_BOUNDS_BIT_NV       0x00040000
+#define GL_FONT_Y_MAX_BOUNDS_BIT_NV       0x00080000
+#define GL_FONT_UNITS_PER_EM_BIT_NV       0x00100000
+#define GL_FONT_ASCENDER_BIT_NV           0x00200000
+#define GL_FONT_DESCENDER_BIT_NV          0x00400000
+#define GL_FONT_HEIGHT_BIT_NV             0x00800000
+#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV  0x01000000
+#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
+#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
+#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
+#define GL_FONT_HAS_KERNING_BIT_NV        0x10000000
+#define GL_PRIMARY_COLOR_NV               0x852C
+#define GL_SECONDARY_COLOR_NV             0x852D
+typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
+typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
+typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
+typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
+typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
+typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
+typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
+typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
+typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
+typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
+typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
+typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
+typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
+typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
+typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
+typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
+typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
+typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
+typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
+typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
+typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
+typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
+typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
+typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
+typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
+typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
+typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
+typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
+typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
+typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
+typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
+typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
+typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
+typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
+typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
+typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
+typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
+typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
+typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
+GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
+GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
+GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
+GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
+GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
+GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
+GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
+GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
+GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
+GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
+GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
+GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
+GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
+GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
+GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
+GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
+GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
+GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
+GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
+GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
+GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
+GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
+GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
+GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
+GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
+GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
+GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
+GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
+GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
+GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
+GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
+GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
+GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
+GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
+GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
+GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
+GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
+GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
+GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
+GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
+#endif
+#endif /* GL_NV_path_rendering */
+
+#ifndef GL_NV_pixel_data_range
+#define GL_NV_pixel_data_range 1
+#define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
+#define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
+#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
+#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
+#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
+#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
+typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
+typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
+GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
+#endif
+#endif /* GL_NV_pixel_data_range */
+
+#ifndef GL_NV_point_sprite
+#define GL_NV_point_sprite 1
+#define GL_POINT_SPRITE_NV                0x8861
+#define GL_COORD_REPLACE_NV               0x8862
+#define GL_POINT_SPRITE_R_MODE_NV         0x8863
+typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
+GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
+#endif
+#endif /* GL_NV_point_sprite */
+
+#ifndef GL_NV_present_video
+#define GL_NV_present_video 1
+#define GL_FRAME_NV                       0x8E26
+#define GL_FIELDS_NV                      0x8E27
+#define GL_CURRENT_TIME_NV                0x8E28
+#define GL_NUM_FILL_STREAMS_NV            0x8E29
+#define GL_PRESENT_TIME_NV                0x8E2A
+#define GL_PRESENT_DURATION_NV            0x8E2B
+typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
+typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
+typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
+typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
+GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
+GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
+GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
+GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
+#endif
+#endif /* GL_NV_present_video */
+
+#ifndef GL_NV_primitive_restart
+#define GL_NV_primitive_restart 1
+#define GL_PRIMITIVE_RESTART_NV           0x8558
+#define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
+typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
+typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPrimitiveRestartNV (void);
+GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
+#endif
+#endif /* GL_NV_primitive_restart */
+
+#ifndef GL_NV_register_combiners
+#define GL_NV_register_combiners 1
+#define GL_REGISTER_COMBINERS_NV          0x8522
+#define GL_VARIABLE_A_NV                  0x8523
+#define GL_VARIABLE_B_NV                  0x8524
+#define GL_VARIABLE_C_NV                  0x8525
+#define GL_VARIABLE_D_NV                  0x8526
+#define GL_VARIABLE_E_NV                  0x8527
+#define GL_VARIABLE_F_NV                  0x8528
+#define GL_VARIABLE_G_NV                  0x8529
+#define GL_CONSTANT_COLOR0_NV             0x852A
+#define GL_CONSTANT_COLOR1_NV             0x852B
+#define GL_SPARE0_NV                      0x852E
+#define GL_SPARE1_NV                      0x852F
+#define GL_DISCARD_NV                     0x8530
+#define GL_E_TIMES_F_NV                   0x8531
+#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
+#define GL_UNSIGNED_IDENTITY_NV           0x8536
+#define GL_UNSIGNED_INVERT_NV             0x8537
+#define GL_EXPAND_NORMAL_NV               0x8538
+#define GL_EXPAND_NEGATE_NV               0x8539
+#define GL_HALF_BIAS_NORMAL_NV            0x853A
+#define GL_HALF_BIAS_NEGATE_NV            0x853B
+#define GL_SIGNED_IDENTITY_NV             0x853C
+#define GL_SIGNED_NEGATE_NV               0x853D
+#define GL_SCALE_BY_TWO_NV                0x853E
+#define GL_SCALE_BY_FOUR_NV               0x853F
+#define GL_SCALE_BY_ONE_HALF_NV           0x8540
+#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
+#define GL_COMBINER_INPUT_NV              0x8542
+#define GL_COMBINER_MAPPING_NV            0x8543
+#define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
+#define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
+#define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
+#define GL_COMBINER_MUX_SUM_NV            0x8547
+#define GL_COMBINER_SCALE_NV              0x8548
+#define GL_COMBINER_BIAS_NV               0x8549
+#define GL_COMBINER_AB_OUTPUT_NV          0x854A
+#define GL_COMBINER_CD_OUTPUT_NV          0x854B
+#define GL_COMBINER_SUM_OUTPUT_NV         0x854C
+#define GL_MAX_GENERAL_COMBINERS_NV       0x854D
+#define GL_NUM_GENERAL_COMBINERS_NV       0x854E
+#define GL_COLOR_SUM_CLAMP_NV             0x854F
+#define GL_COMBINER0_NV                   0x8550
+#define GL_COMBINER1_NV                   0x8551
+#define GL_COMBINER2_NV                   0x8552
+#define GL_COMBINER3_NV                   0x8553
+#define GL_COMBINER4_NV                   0x8554
+#define GL_COMBINER5_NV                   0x8555
+#define GL_COMBINER6_NV                   0x8556
+#define GL_COMBINER7_NV                   0x8557
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
+typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
+GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
+GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
+GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
+#endif
+#endif /* GL_NV_register_combiners */
+
+#ifndef GL_NV_register_combiners2
+#define GL_NV_register_combiners2 1
+#define GL_PER_STAGE_CONSTANTS_NV         0x8535
+typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_NV_register_combiners2 */
+
+#ifndef GL_NV_shader_atomic_counters
+#define GL_NV_shader_atomic_counters 1
+#endif /* GL_NV_shader_atomic_counters */
+
+#ifndef GL_NV_shader_atomic_float
+#define GL_NV_shader_atomic_float 1
+#endif /* GL_NV_shader_atomic_float */
+
+#ifndef GL_NV_shader_buffer_load
+#define GL_NV_shader_buffer_load 1
+#define GL_BUFFER_GPU_ADDRESS_NV          0x8F1D
+#define GL_GPU_ADDRESS_NV                 0x8F34
+#define GL_MAX_SHADER_BUFFER_ADDRESS_NV   0x8F35
+typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
+typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
+typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
+typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
+typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
+typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
+typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
+typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
+typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
+typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
+GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
+GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
+GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
+GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
+GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
+GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
+GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
+GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
+GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
+GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
+GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
+GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
+#endif
+#endif /* GL_NV_shader_buffer_load */
+
+#ifndef GL_NV_shader_buffer_store
+#define GL_NV_shader_buffer_store 1
+#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
+#endif /* GL_NV_shader_buffer_store */
+
+#ifndef GL_NV_shader_storage_buffer_object
+#define GL_NV_shader_storage_buffer_object 1
+#endif /* GL_NV_shader_storage_buffer_object */
+
+#ifndef GL_NV_shader_thread_group
+#define GL_NV_shader_thread_group 1
+#define GL_WARP_SIZE_NV                   0x9339
+#define GL_WARPS_PER_SM_NV                0x933A
+#define GL_SM_COUNT_NV                    0x933B
+#endif /* GL_NV_shader_thread_group */
+
+#ifndef GL_NV_shader_thread_shuffle
+#define GL_NV_shader_thread_shuffle 1
+#endif /* GL_NV_shader_thread_shuffle */
+
+#ifndef GL_NV_tessellation_program5
+#define GL_NV_tessellation_program5 1
+#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV   0x86D8
+#define GL_TESS_CONTROL_PROGRAM_NV        0x891E
+#define GL_TESS_EVALUATION_PROGRAM_NV     0x891F
+#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
+#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
+#endif /* GL_NV_tessellation_program5 */
+
+#ifndef GL_NV_texgen_emboss
+#define GL_NV_texgen_emboss 1
+#define GL_EMBOSS_LIGHT_NV                0x855D
+#define GL_EMBOSS_CONSTANT_NV             0x855E
+#define GL_EMBOSS_MAP_NV                  0x855F
+#endif /* GL_NV_texgen_emboss */
+
+#ifndef GL_NV_texgen_reflection
+#define GL_NV_texgen_reflection 1
+#define GL_NORMAL_MAP_NV                  0x8511
+#define GL_REFLECTION_MAP_NV              0x8512
+#endif /* GL_NV_texgen_reflection */
+
+#ifndef GL_NV_texture_barrier
+#define GL_NV_texture_barrier 1
+typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureBarrierNV (void);
+#endif
+#endif /* GL_NV_texture_barrier */
+
+#ifndef GL_NV_texture_compression_vtc
+#define GL_NV_texture_compression_vtc 1
+#endif /* GL_NV_texture_compression_vtc */
+
+#ifndef GL_NV_texture_env_combine4
+#define GL_NV_texture_env_combine4 1
+#define GL_COMBINE4_NV                    0x8503
+#define GL_SOURCE3_RGB_NV                 0x8583
+#define GL_SOURCE3_ALPHA_NV               0x858B
+#define GL_OPERAND3_RGB_NV                0x8593
+#define GL_OPERAND3_ALPHA_NV              0x859B
+#endif /* GL_NV_texture_env_combine4 */
+
+#ifndef GL_NV_texture_expand_normal
+#define GL_NV_texture_expand_normal 1
+#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
+#endif /* GL_NV_texture_expand_normal */
+
+#ifndef GL_NV_texture_multisample
+#define GL_NV_texture_multisample 1
+#define GL_TEXTURE_COVERAGE_SAMPLES_NV    0x9045
+#define GL_TEXTURE_COLOR_SAMPLES_NV       0x9046
+typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
+GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
+#endif
+#endif /* GL_NV_texture_multisample */
+
+#ifndef GL_NV_texture_rectangle
+#define GL_NV_texture_rectangle 1
+#define GL_TEXTURE_RECTANGLE_NV           0x84F5
+#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
+#define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
+#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
+#endif /* GL_NV_texture_rectangle */
+
+#ifndef GL_NV_texture_shader
+#define GL_NV_texture_shader 1
+#define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
+#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
+#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
+#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
+#define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
+#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
+#define GL_DSDT_MAG_INTENSITY_NV          0x86DC
+#define GL_SHADER_CONSISTENT_NV           0x86DD
+#define GL_TEXTURE_SHADER_NV              0x86DE
+#define GL_SHADER_OPERATION_NV            0x86DF
+#define GL_CULL_MODES_NV                  0x86E0
+#define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
+#define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
+#define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
+#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    0x86E1
+#define GL_OFFSET_TEXTURE_2D_SCALE_NV     0x86E2
+#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
+#define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
+#define GL_CONST_EYE_NV                   0x86E5
+#define GL_PASS_THROUGH_NV                0x86E6
+#define GL_CULL_FRAGMENT_NV               0x86E7
+#define GL_OFFSET_TEXTURE_2D_NV           0x86E8
+#define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
+#define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
+#define GL_DOT_PRODUCT_NV                 0x86EC
+#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
+#define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
+#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
+#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
+#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
+#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
+#define GL_HILO_NV                        0x86F4
+#define GL_DSDT_NV                        0x86F5
+#define GL_DSDT_MAG_NV                    0x86F6
+#define GL_DSDT_MAG_VIB_NV                0x86F7
+#define GL_HILO16_NV                      0x86F8
+#define GL_SIGNED_HILO_NV                 0x86F9
+#define GL_SIGNED_HILO16_NV               0x86FA
+#define GL_SIGNED_RGBA_NV                 0x86FB
+#define GL_SIGNED_RGBA8_NV                0x86FC
+#define GL_SIGNED_RGB_NV                  0x86FE
+#define GL_SIGNED_RGB8_NV                 0x86FF
+#define GL_SIGNED_LUMINANCE_NV            0x8701
+#define GL_SIGNED_LUMINANCE8_NV           0x8702
+#define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
+#define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
+#define GL_SIGNED_ALPHA_NV                0x8705
+#define GL_SIGNED_ALPHA8_NV               0x8706
+#define GL_SIGNED_INTENSITY_NV            0x8707
+#define GL_SIGNED_INTENSITY8_NV           0x8708
+#define GL_DSDT8_NV                       0x8709
+#define GL_DSDT8_MAG8_NV                  0x870A
+#define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
+#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
+#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
+#define GL_HI_SCALE_NV                    0x870E
+#define GL_LO_SCALE_NV                    0x870F
+#define GL_DS_SCALE_NV                    0x8710
+#define GL_DT_SCALE_NV                    0x8711
+#define GL_MAGNITUDE_SCALE_NV             0x8712
+#define GL_VIBRANCE_SCALE_NV              0x8713
+#define GL_HI_BIAS_NV                     0x8714
+#define GL_LO_BIAS_NV                     0x8715
+#define GL_DS_BIAS_NV                     0x8716
+#define GL_DT_BIAS_NV                     0x8717
+#define GL_MAGNITUDE_BIAS_NV              0x8718
+#define GL_VIBRANCE_BIAS_NV               0x8719
+#define GL_TEXTURE_BORDER_VALUES_NV       0x871A
+#define GL_TEXTURE_HI_SIZE_NV             0x871B
+#define GL_TEXTURE_LO_SIZE_NV             0x871C
+#define GL_TEXTURE_DS_SIZE_NV             0x871D
+#define GL_TEXTURE_DT_SIZE_NV             0x871E
+#define GL_TEXTURE_MAG_SIZE_NV            0x871F
+#endif /* GL_NV_texture_shader */
+
+#ifndef GL_NV_texture_shader2
+#define GL_NV_texture_shader2 1
+#define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
+#endif /* GL_NV_texture_shader2 */
+
+#ifndef GL_NV_texture_shader3
+#define GL_NV_texture_shader3 1
+#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
+#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
+#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
+#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
+#define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
+#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
+#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
+#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
+#define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
+#define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
+#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
+#define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
+#define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
+#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
+#define GL_HILO8_NV                       0x885E
+#define GL_SIGNED_HILO8_NV                0x885F
+#define GL_FORCE_BLUE_TO_ONE_NV           0x8860
+#endif /* GL_NV_texture_shader3 */
+
+#ifndef GL_NV_transform_feedback
+#define GL_NV_transform_feedback 1
+#define GL_BACK_PRIMARY_COLOR_NV          0x8C77
+#define GL_BACK_SECONDARY_COLOR_NV        0x8C78
+#define GL_TEXTURE_COORD_NV               0x8C79
+#define GL_CLIP_DISTANCE_NV               0x8C7A
+#define GL_VERTEX_ID_NV                   0x8C7B
+#define GL_PRIMITIVE_ID_NV                0x8C7C
+#define GL_GENERIC_ATTRIB_NV              0x8C7D
+#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV  0x8C7E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
+#define GL_ACTIVE_VARYINGS_NV             0x8C81
+#define GL_ACTIVE_VARYING_MAX_LENGTH_NV   0x8C82
+#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
+#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
+#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
+#define GL_TRANSFORM_FEEDBACK_RECORD_NV   0x8C86
+#define GL_PRIMITIVES_GENERATED_NV        0x8C87
+#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
+#define GL_RASTERIZER_DISCARD_NV          0x8C89
+#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
+#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
+#define GL_INTERLEAVED_ATTRIBS_NV         0x8C8C
+#define GL_SEPARATE_ATTRIBS_NV            0x8C8D
+#define GL_TRANSFORM_FEEDBACK_BUFFER_NV   0x8C8E
+#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
+#define GL_LAYER_NV                       0x8DAA
+#define GL_NEXT_BUFFER_NV                 -2
+#define GL_SKIP_COMPONENTS4_NV            -3
+#define GL_SKIP_COMPONENTS3_NV            -4
+#define GL_SKIP_COMPONENTS2_NV            -5
+#define GL_SKIP_COMPONENTS1_NV            -6
+typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
+typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
+typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
+typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
+typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
+typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
+GLAPI void APIENTRY glEndTransformFeedbackNV (void);
+GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
+GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
+GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
+GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
+GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
+GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
+GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
+GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
+GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
+#endif
+#endif /* GL_NV_transform_feedback */
+
+#ifndef GL_NV_transform_feedback2
+#define GL_NV_transform_feedback2 1
+#define GL_TRANSFORM_FEEDBACK_NV          0x8E22
+#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
+#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
+#define GL_TRANSFORM_FEEDBACK_BINDING_NV  0x8E25
+typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
+typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
+typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
+typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
+typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
+GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
+GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
+GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
+GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
+GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
+GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
+#endif
+#endif /* GL_NV_transform_feedback2 */
+
+#ifndef GL_NV_vdpau_interop
+#define GL_NV_vdpau_interop 1
+typedef GLintptr GLvdpauSurfaceNV;
+#define GL_SURFACE_STATE_NV               0x86EB
+#define GL_SURFACE_REGISTERED_NV          0x86FD
+#define GL_SURFACE_MAPPED_NV              0x8700
+#define GL_WRITE_DISCARD_NV               0x88BE
+typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
+typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
+typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
+typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
+typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
+typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
+typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
+GLAPI void APIENTRY glVDPAUFiniNV (void);
+GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
+GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
+GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
+GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
+GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
+GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
+#endif
+#endif /* GL_NV_vdpau_interop */
+
+#ifndef GL_NV_vertex_array_range
+#define GL_NV_vertex_array_range 1
+#define GL_VERTEX_ARRAY_RANGE_NV          0x851D
+#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
+#define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
+#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
+#define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
+typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
+typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
+GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
+#endif
+#endif /* GL_NV_vertex_array_range */
+
+#ifndef GL_NV_vertex_array_range2
+#define GL_NV_vertex_array_range2 1
+#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
+#endif /* GL_NV_vertex_array_range2 */
+
+#ifndef GL_NV_vertex_attrib_integer_64bit
+#define GL_NV_vertex_attrib_integer_64bit 1
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
+GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
+GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
+GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
+GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
+GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
+GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
+GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
+GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
+GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
+GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
+GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
+#endif
+#endif /* GL_NV_vertex_attrib_integer_64bit */
+
+#ifndef GL_NV_vertex_buffer_unified_memory
+#define GL_NV_vertex_buffer_unified_memory 1
+#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
+#define GL_ELEMENT_ARRAY_UNIFIED_NV       0x8F1F
+#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
+#define GL_VERTEX_ARRAY_ADDRESS_NV        0x8F21
+#define GL_NORMAL_ARRAY_ADDRESS_NV        0x8F22
+#define GL_COLOR_ARRAY_ADDRESS_NV         0x8F23
+#define GL_INDEX_ARRAY_ADDRESS_NV         0x8F24
+#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
+#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV     0x8F26
+#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
+#define GL_FOG_COORD_ARRAY_ADDRESS_NV     0x8F28
+#define GL_ELEMENT_ARRAY_ADDRESS_NV       0x8F29
+#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV  0x8F2A
+#define GL_VERTEX_ARRAY_LENGTH_NV         0x8F2B
+#define GL_NORMAL_ARRAY_LENGTH_NV         0x8F2C
+#define GL_COLOR_ARRAY_LENGTH_NV          0x8F2D
+#define GL_INDEX_ARRAY_LENGTH_NV          0x8F2E
+#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV  0x8F2F
+#define GL_EDGE_FLAG_ARRAY_LENGTH_NV      0x8F30
+#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
+#define GL_FOG_COORD_ARRAY_LENGTH_NV      0x8F32
+#define GL_ELEMENT_ARRAY_LENGTH_NV        0x8F33
+#define GL_DRAW_INDIRECT_UNIFIED_NV       0x8F40
+#define GL_DRAW_INDIRECT_ADDRESS_NV       0x8F41
+#define GL_DRAW_INDIRECT_LENGTH_NV        0x8F42
+typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
+typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
+typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
+typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
+GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
+GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
+GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
+GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
+GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
+GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
+GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
+#endif
+#endif /* GL_NV_vertex_buffer_unified_memory */
+
+#ifndef GL_NV_vertex_program
+#define GL_NV_vertex_program 1
+#define GL_VERTEX_PROGRAM_NV              0x8620
+#define GL_VERTEX_STATE_PROGRAM_NV        0x8621
+#define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
+#define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
+#define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
+#define GL_CURRENT_ATTRIB_NV              0x8626
+#define GL_PROGRAM_LENGTH_NV              0x8627
+#define GL_PROGRAM_STRING_NV              0x8628
+#define GL_MODELVIEW_PROJECTION_NV        0x8629
+#define GL_IDENTITY_NV                    0x862A
+#define GL_INVERSE_NV                     0x862B
+#define GL_TRANSPOSE_NV                   0x862C
+#define GL_INVERSE_TRANSPOSE_NV           0x862D
+#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
+#define GL_MAX_TRACK_MATRICES_NV          0x862F
+#define GL_MATRIX0_NV                     0x8630
+#define GL_MATRIX1_NV                     0x8631
+#define GL_MATRIX2_NV                     0x8632
+#define GL_MATRIX3_NV                     0x8633
+#define GL_MATRIX4_NV                     0x8634
+#define GL_MATRIX5_NV                     0x8635
+#define GL_MATRIX6_NV                     0x8636
+#define GL_MATRIX7_NV                     0x8637
+#define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
+#define GL_CURRENT_MATRIX_NV              0x8641
+#define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
+#define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
+#define GL_PROGRAM_PARAMETER_NV           0x8644
+#define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
+#define GL_PROGRAM_TARGET_NV              0x8646
+#define GL_PROGRAM_RESIDENT_NV            0x8647
+#define GL_TRACK_MATRIX_NV                0x8648
+#define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
+#define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
+#define GL_PROGRAM_ERROR_POSITION_NV      0x864B
+#define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
+#define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
+#define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
+#define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
+#define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
+#define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
+#define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
+#define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
+#define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
+#define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
+#define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
+#define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
+#define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
+#define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
+#define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
+#define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
+#define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
+#define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
+#define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
+#define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
+#define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
+#define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
+#define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
+#define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
+#define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
+#define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
+#define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
+#define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
+#define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
+#define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
+#define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
+#define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
+#define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
+#define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
+#define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
+#define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
+#define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
+#define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
+#define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
+#define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
+#define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
+#define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
+#define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
+#define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
+#define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
+#define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
+#define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
+#define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
+typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
+typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
+typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
+typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
+typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
+typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
+typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
+typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
+typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
+GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
+GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
+GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
+GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
+GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
+GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
+GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
+GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
+GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
+GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
+GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
+GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
+GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
+GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
+GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
+GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
+GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
+GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
+GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
+GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
+GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
+GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
+GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
+GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
+#endif
+#endif /* GL_NV_vertex_program */
+
+#ifndef GL_NV_vertex_program1_1
+#define GL_NV_vertex_program1_1 1
+#endif /* GL_NV_vertex_program1_1 */
+
+#ifndef GL_NV_vertex_program2
+#define GL_NV_vertex_program2 1
+#endif /* GL_NV_vertex_program2 */
+
+#ifndef GL_NV_vertex_program2_option
+#define GL_NV_vertex_program2_option 1
+#endif /* GL_NV_vertex_program2_option */
+
+#ifndef GL_NV_vertex_program3
+#define GL_NV_vertex_program3 1
+#endif /* GL_NV_vertex_program3 */
+
+#ifndef GL_NV_vertex_program4
+#define GL_NV_vertex_program4 1
+#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
+typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
+GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
+GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
+GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
+GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
+GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
+GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
+GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
+GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
+GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
+GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
+GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
+GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
+GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
+GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
+GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
+#endif
+#endif /* GL_NV_vertex_program4 */
+
+#ifndef GL_NV_video_capture
+#define GL_NV_video_capture 1
+#define GL_VIDEO_BUFFER_NV                0x9020
+#define GL_VIDEO_BUFFER_BINDING_NV        0x9021
+#define GL_FIELD_UPPER_NV                 0x9022
+#define GL_FIELD_LOWER_NV                 0x9023
+#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV   0x9024
+#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
+#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
+#define GL_LAST_VIDEO_CAPTURE_STATUS_NV   0x9027
+#define GL_VIDEO_BUFFER_PITCH_NV          0x9028
+#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
+#define GL_VIDEO_COLOR_CONVERSION_MAX_NV  0x902A
+#define GL_VIDEO_COLOR_CONVERSION_MIN_NV  0x902B
+#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
+#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
+#define GL_PARTIAL_SUCCESS_NV             0x902E
+#define GL_SUCCESS_NV                     0x902F
+#define GL_FAILURE_NV                     0x9030
+#define GL_YCBYCR8_422_NV                 0x9031
+#define GL_YCBAYCR8A_4224_NV              0x9032
+#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV  0x9033
+#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
+#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV  0x9035
+#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
+#define GL_Z4Y12Z4CB12Z4CR12_444_NV       0x9037
+#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV   0x9038
+#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV  0x9039
+#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
+#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
+#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
+typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
+typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
+typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
+typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
+typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
+typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
+GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
+GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
+GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
+GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
+GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
+GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
+#endif
+#endif /* GL_NV_video_capture */
+
+#ifndef GL_OML_interlace
+#define GL_OML_interlace 1
+#define GL_INTERLACE_OML                  0x8980
+#define GL_INTERLACE_READ_OML             0x8981
+#endif /* GL_OML_interlace */
+
+#ifndef GL_OML_resample
+#define GL_OML_resample 1
+#define GL_PACK_RESAMPLE_OML              0x8984
+#define GL_UNPACK_RESAMPLE_OML            0x8985
+#define GL_RESAMPLE_REPLICATE_OML         0x8986
+#define GL_RESAMPLE_ZERO_FILL_OML         0x8987
+#define GL_RESAMPLE_AVERAGE_OML           0x8988
+#define GL_RESAMPLE_DECIMATE_OML          0x8989
+#endif /* GL_OML_resample */
+
+#ifndef GL_OML_subsample
+#define GL_OML_subsample 1
+#define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
+#define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
+#endif /* GL_OML_subsample */
+
+#ifndef GL_PGI_misc_hints
+#define GL_PGI_misc_hints 1
+#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
+#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
+#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
+#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
+#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
+#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
+#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
+#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
+#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
+#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
+#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
+#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
+#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
+#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
+#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
+#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
+#define GL_CLIP_NEAR_HINT_PGI             0x1A220
+#define GL_CLIP_FAR_HINT_PGI              0x1A221
+#define GL_WIDE_LINE_HINT_PGI             0x1A222
+#define GL_BACK_NORMALS_HINT_PGI          0x1A223
+typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
+#endif
+#endif /* GL_PGI_misc_hints */
+
+#ifndef GL_PGI_vertex_hints
+#define GL_PGI_vertex_hints 1
+#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
+#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
+#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
+#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
+#define GL_COLOR3_BIT_PGI                 0x00010000
+#define GL_COLOR4_BIT_PGI                 0x00020000
+#define GL_EDGEFLAG_BIT_PGI               0x00040000
+#define GL_INDEX_BIT_PGI                  0x00080000
+#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
+#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
+#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
+#define GL_MAT_EMISSION_BIT_PGI           0x00800000
+#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
+#define GL_MAT_SHININESS_BIT_PGI          0x02000000
+#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
+#define GL_NORMAL_BIT_PGI                 0x08000000
+#define GL_TEXCOORD1_BIT_PGI              0x10000000
+#define GL_TEXCOORD2_BIT_PGI              0x20000000
+#define GL_TEXCOORD3_BIT_PGI              0x40000000
+#define GL_TEXCOORD4_BIT_PGI              0x80000000
+#define GL_VERTEX23_BIT_PGI               0x00000004
+#define GL_VERTEX4_BIT_PGI                0x00000008
+#endif /* GL_PGI_vertex_hints */
+
+#ifndef GL_REND_screen_coordinates
+#define GL_REND_screen_coordinates 1
+#define GL_SCREEN_COORDINATES_REND        0x8490
+#define GL_INVERTED_SCREEN_W_REND         0x8491
+#endif /* GL_REND_screen_coordinates */
+
+#ifndef GL_S3_s3tc
+#define GL_S3_s3tc 1
+#define GL_RGB_S3TC                       0x83A0
+#define GL_RGB4_S3TC                      0x83A1
+#define GL_RGBA_S3TC                      0x83A2
+#define GL_RGBA4_S3TC                     0x83A3
+#define GL_RGBA_DXT5_S3TC                 0x83A4
+#define GL_RGBA4_DXT5_S3TC                0x83A5
+#endif /* GL_S3_s3tc */
+
+#ifndef GL_SGIS_detail_texture
+#define GL_SGIS_detail_texture 1
+#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
+#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
+#define GL_LINEAR_DETAIL_SGIS             0x8097
+#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
+#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
+#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
+#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
+#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
+typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
+typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
+GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
+#endif
+#endif /* GL_SGIS_detail_texture */
+
+#ifndef GL_SGIS_fog_function
+#define GL_SGIS_fog_function 1
+#define GL_FOG_FUNC_SGIS                  0x812A
+#define GL_FOG_FUNC_POINTS_SGIS           0x812B
+#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
+typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
+typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
+GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
+#endif
+#endif /* GL_SGIS_fog_function */
+
+#ifndef GL_SGIS_generate_mipmap
+#define GL_SGIS_generate_mipmap 1
+#define GL_GENERATE_MIPMAP_SGIS           0x8191
+#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
+#endif /* GL_SGIS_generate_mipmap */
+
+#ifndef GL_SGIS_multisample
+#define GL_SGIS_multisample 1
+#define GL_MULTISAMPLE_SGIS               0x809D
+#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
+#define GL_SAMPLE_MASK_SGIS               0x80A0
+#define GL_1PASS_SGIS                     0x80A1
+#define GL_2PASS_0_SGIS                   0x80A2
+#define GL_2PASS_1_SGIS                   0x80A3
+#define GL_4PASS_0_SGIS                   0x80A4
+#define GL_4PASS_1_SGIS                   0x80A5
+#define GL_4PASS_2_SGIS                   0x80A6
+#define GL_4PASS_3_SGIS                   0x80A7
+#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
+#define GL_SAMPLES_SGIS                   0x80A9
+#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
+#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
+#define GL_SAMPLE_PATTERN_SGIS            0x80AC
+typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
+typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
+GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
+#endif
+#endif /* GL_SGIS_multisample */
+
+#ifndef GL_SGIS_pixel_texture
+#define GL_SGIS_pixel_texture 1
+#define GL_PIXEL_TEXTURE_SGIS             0x8353
+#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
+#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
+#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
+GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
+#endif
+#endif /* GL_SGIS_pixel_texture */
+
+#ifndef GL_SGIS_point_line_texgen
+#define GL_SGIS_point_line_texgen 1
+#define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
+#define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
+#define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
+#define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
+#define GL_EYE_POINT_SGIS                 0x81F4
+#define GL_OBJECT_POINT_SGIS              0x81F5
+#define GL_EYE_LINE_SGIS                  0x81F6
+#define GL_OBJECT_LINE_SGIS               0x81F7
+#endif /* GL_SGIS_point_line_texgen */
+
+#ifndef GL_SGIS_point_parameters
+#define GL_SGIS_point_parameters 1
+#define GL_POINT_SIZE_MIN_SGIS            0x8126
+#define GL_POINT_SIZE_MAX_SGIS            0x8127
+#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
+#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
+#endif
+#endif /* GL_SGIS_point_parameters */
+
+#ifndef GL_SGIS_sharpen_texture
+#define GL_SGIS_sharpen_texture 1
+#define GL_LINEAR_SHARPEN_SGIS            0x80AD
+#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
+#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
+#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
+typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
+typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
+GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
+#endif
+#endif /* GL_SGIS_sharpen_texture */
+
+#ifndef GL_SGIS_texture4D
+#define GL_SGIS_texture4D 1
+#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
+#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
+#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
+#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
+#define GL_TEXTURE_4D_SGIS                0x8134
+#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
+#define GL_TEXTURE_4DSIZE_SGIS            0x8136
+#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
+#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
+#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
+typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
+typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels);
+GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels);
+#endif
+#endif /* GL_SGIS_texture4D */
+
+#ifndef GL_SGIS_texture_border_clamp
+#define GL_SGIS_texture_border_clamp 1
+#define GL_CLAMP_TO_BORDER_SGIS           0x812D
+#endif /* GL_SGIS_texture_border_clamp */
+
+#ifndef GL_SGIS_texture_color_mask
+#define GL_SGIS_texture_color_mask 1
+#define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
+typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+#endif
+#endif /* GL_SGIS_texture_color_mask */
+
+#ifndef GL_SGIS_texture_edge_clamp
+#define GL_SGIS_texture_edge_clamp 1
+#define GL_CLAMP_TO_EDGE_SGIS             0x812F
+#endif /* GL_SGIS_texture_edge_clamp */
+
+#ifndef GL_SGIS_texture_filter4
+#define GL_SGIS_texture_filter4 1
+#define GL_FILTER4_SGIS                   0x8146
+#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
+typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
+typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
+GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
+#endif
+#endif /* GL_SGIS_texture_filter4 */
+
+#ifndef GL_SGIS_texture_lod
+#define GL_SGIS_texture_lod 1
+#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
+#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
+#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
+#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
+#endif /* GL_SGIS_texture_lod */
+
+#ifndef GL_SGIS_texture_select
+#define GL_SGIS_texture_select 1
+#define GL_DUAL_ALPHA4_SGIS               0x8110
+#define GL_DUAL_ALPHA8_SGIS               0x8111
+#define GL_DUAL_ALPHA12_SGIS              0x8112
+#define GL_DUAL_ALPHA16_SGIS              0x8113
+#define GL_DUAL_LUMINANCE4_SGIS           0x8114
+#define GL_DUAL_LUMINANCE8_SGIS           0x8115
+#define GL_DUAL_LUMINANCE12_SGIS          0x8116
+#define GL_DUAL_LUMINANCE16_SGIS          0x8117
+#define GL_DUAL_INTENSITY4_SGIS           0x8118
+#define GL_DUAL_INTENSITY8_SGIS           0x8119
+#define GL_DUAL_INTENSITY12_SGIS          0x811A
+#define GL_DUAL_INTENSITY16_SGIS          0x811B
+#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
+#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
+#define GL_QUAD_ALPHA4_SGIS               0x811E
+#define GL_QUAD_ALPHA8_SGIS               0x811F
+#define GL_QUAD_LUMINANCE4_SGIS           0x8120
+#define GL_QUAD_LUMINANCE8_SGIS           0x8121
+#define GL_QUAD_INTENSITY4_SGIS           0x8122
+#define GL_QUAD_INTENSITY8_SGIS           0x8123
+#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
+#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
+#endif /* GL_SGIS_texture_select */
+
+#ifndef GL_SGIX_async
+#define GL_SGIX_async 1
+#define GL_ASYNC_MARKER_SGIX              0x8329
+typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
+typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
+typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
+typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
+typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
+typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
+GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
+GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
+GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
+GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
+GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
+#endif
+#endif /* GL_SGIX_async */
+
+#ifndef GL_SGIX_async_histogram
+#define GL_SGIX_async_histogram 1
+#define GL_ASYNC_HISTOGRAM_SGIX           0x832C
+#define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
+#endif /* GL_SGIX_async_histogram */
+
+#ifndef GL_SGIX_async_pixel
+#define GL_SGIX_async_pixel 1
+#define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
+#define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
+#define GL_ASYNC_READ_PIXELS_SGIX         0x835E
+#define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
+#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
+#define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
+#endif /* GL_SGIX_async_pixel */
+
+#ifndef GL_SGIX_blend_alpha_minmax
+#define GL_SGIX_blend_alpha_minmax 1
+#define GL_ALPHA_MIN_SGIX                 0x8320
+#define GL_ALPHA_MAX_SGIX                 0x8321
+#endif /* GL_SGIX_blend_alpha_minmax */
+
+#ifndef GL_SGIX_calligraphic_fragment
+#define GL_SGIX_calligraphic_fragment 1
+#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
+#endif /* GL_SGIX_calligraphic_fragment */
+
+#ifndef GL_SGIX_clipmap
+#define GL_SGIX_clipmap 1
+#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
+#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
+#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
+#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
+#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
+#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
+#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
+#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
+#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
+#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
+#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
+#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
+#endif /* GL_SGIX_clipmap */
+
+#ifndef GL_SGIX_convolution_accuracy
+#define GL_SGIX_convolution_accuracy 1
+#define GL_CONVOLUTION_HINT_SGIX          0x8316
+#endif /* GL_SGIX_convolution_accuracy */
+
+#ifndef GL_SGIX_depth_pass_instrument
+#define GL_SGIX_depth_pass_instrument 1
+#endif /* GL_SGIX_depth_pass_instrument */
+
+#ifndef GL_SGIX_depth_texture
+#define GL_SGIX_depth_texture 1
+#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
+#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
+#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
+#endif /* GL_SGIX_depth_texture */
+
+#ifndef GL_SGIX_flush_raster
+#define GL_SGIX_flush_raster 1
+typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFlushRasterSGIX (void);
+#endif
+#endif /* GL_SGIX_flush_raster */
+
+#ifndef GL_SGIX_fog_offset
+#define GL_SGIX_fog_offset 1
+#define GL_FOG_OFFSET_SGIX                0x8198
+#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
+#endif /* GL_SGIX_fog_offset */
+
+#ifndef GL_SGIX_fragment_lighting
+#define GL_SGIX_fragment_lighting 1
+#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
+#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
+#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
+#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
+#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
+#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
+#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
+#define GL_LIGHT_ENV_MODE_SGIX            0x8407
+#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
+#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
+#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
+#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
+#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
+#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
+#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
+#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
+#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
+#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
+#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
+#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
+typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
+GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
+GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
+GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
+GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
+GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
+GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
+GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
+#endif
+#endif /* GL_SGIX_fragment_lighting */
+
+#ifndef GL_SGIX_framezoom
+#define GL_SGIX_framezoom 1
+#define GL_FRAMEZOOM_SGIX                 0x818B
+#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
+#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
+typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
+#endif
+#endif /* GL_SGIX_framezoom */
+
+#ifndef GL_SGIX_igloo_interface
+#define GL_SGIX_igloo_interface 1
+typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
+#endif
+#endif /* GL_SGIX_igloo_interface */
+
+#ifndef GL_SGIX_instruments
+#define GL_SGIX_instruments 1
+#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
+#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
+typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
+typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
+typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
+typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
+typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
+typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
+GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
+GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
+GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
+GLAPI void APIENTRY glStartInstrumentsSGIX (void);
+GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
+#endif
+#endif /* GL_SGIX_instruments */
+
+#ifndef GL_SGIX_interlace
+#define GL_SGIX_interlace 1
+#define GL_INTERLACE_SGIX                 0x8094
+#endif /* GL_SGIX_interlace */
+
+#ifndef GL_SGIX_ir_instrument1
+#define GL_SGIX_ir_instrument1 1
+#define GL_IR_INSTRUMENT1_SGIX            0x817F
+#endif /* GL_SGIX_ir_instrument1 */
+
+#ifndef GL_SGIX_list_priority
+#define GL_SGIX_list_priority 1
+#define GL_LIST_PRIORITY_SGIX             0x8182
+typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
+typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
+GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
+GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
+GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
+#endif
+#endif /* GL_SGIX_list_priority */
+
+#ifndef GL_SGIX_pixel_texture
+#define GL_SGIX_pixel_texture 1
+#define GL_PIXEL_TEX_GEN_SGIX             0x8139
+#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
+typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
+#endif
+#endif /* GL_SGIX_pixel_texture */
+
+#ifndef GL_SGIX_pixel_tiles
+#define GL_SGIX_pixel_tiles 1
+#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
+#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
+#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
+#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
+#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
+#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
+#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
+#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
+#endif /* GL_SGIX_pixel_tiles */
+
+#ifndef GL_SGIX_polynomial_ffd
+#define GL_SGIX_polynomial_ffd 1
+#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
+#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
+#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
+#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
+#define GL_DEFORMATIONS_MASK_SGIX         0x8196
+#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
+typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
+typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
+typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
+typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
+GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
+GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
+GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
+#endif
+#endif /* GL_SGIX_polynomial_ffd */
+
+#ifndef GL_SGIX_reference_plane
+#define GL_SGIX_reference_plane 1
+#define GL_REFERENCE_PLANE_SGIX           0x817D
+#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
+typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
+#endif
+#endif /* GL_SGIX_reference_plane */
+
+#ifndef GL_SGIX_resample
+#define GL_SGIX_resample 1
+#define GL_PACK_RESAMPLE_SGIX             0x842C
+#define GL_UNPACK_RESAMPLE_SGIX           0x842D
+#define GL_RESAMPLE_REPLICATE_SGIX        0x842E
+#define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
+#define GL_RESAMPLE_DECIMATE_SGIX         0x8430
+#endif /* GL_SGIX_resample */
+
+#ifndef GL_SGIX_scalebias_hint
+#define GL_SGIX_scalebias_hint 1
+#define GL_SCALEBIAS_HINT_SGIX            0x8322
+#endif /* GL_SGIX_scalebias_hint */
+
+#ifndef GL_SGIX_shadow
+#define GL_SGIX_shadow 1
+#define GL_TEXTURE_COMPARE_SGIX           0x819A
+#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
+#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
+#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
+#endif /* GL_SGIX_shadow */
+
+#ifndef GL_SGIX_shadow_ambient
+#define GL_SGIX_shadow_ambient 1
+#define GL_SHADOW_AMBIENT_SGIX            0x80BF
+#endif /* GL_SGIX_shadow_ambient */
+
+#ifndef GL_SGIX_sprite
+#define GL_SGIX_sprite 1
+#define GL_SPRITE_SGIX                    0x8148
+#define GL_SPRITE_MODE_SGIX               0x8149
+#define GL_SPRITE_AXIS_SGIX               0x814A
+#define GL_SPRITE_TRANSLATION_SGIX        0x814B
+#define GL_SPRITE_AXIAL_SGIX              0x814C
+#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
+#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
+typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
+GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
+GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
+#endif
+#endif /* GL_SGIX_sprite */
+
+#ifndef GL_SGIX_subsample
+#define GL_SGIX_subsample 1
+#define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
+#define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
+#define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
+#define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
+#define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
+#endif /* GL_SGIX_subsample */
+
+#ifndef GL_SGIX_tag_sample_buffer
+#define GL_SGIX_tag_sample_buffer 1
+typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTagSampleBufferSGIX (void);
+#endif
+#endif /* GL_SGIX_tag_sample_buffer */
+
+#ifndef GL_SGIX_texture_add_env
+#define GL_SGIX_texture_add_env 1
+#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
+#endif /* GL_SGIX_texture_add_env */
+
+#ifndef GL_SGIX_texture_coordinate_clamp
+#define GL_SGIX_texture_coordinate_clamp 1
+#define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
+#define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
+#define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
+#endif /* GL_SGIX_texture_coordinate_clamp */
+
+#ifndef GL_SGIX_texture_lod_bias
+#define GL_SGIX_texture_lod_bias 1
+#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
+#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
+#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
+#endif /* GL_SGIX_texture_lod_bias */
+
+#ifndef GL_SGIX_texture_multi_buffer
+#define GL_SGIX_texture_multi_buffer 1
+#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
+#endif /* GL_SGIX_texture_multi_buffer */
+
+#ifndef GL_SGIX_texture_scale_bias
+#define GL_SGIX_texture_scale_bias 1
+#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
+#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
+#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
+#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
+#endif /* GL_SGIX_texture_scale_bias */
+
+#ifndef GL_SGIX_vertex_preclip
+#define GL_SGIX_vertex_preclip 1
+#define GL_VERTEX_PRECLIP_SGIX            0x83EE
+#define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
+#endif /* GL_SGIX_vertex_preclip */
+
+#ifndef GL_SGIX_ycrcb
+#define GL_SGIX_ycrcb 1
+#define GL_YCRCB_422_SGIX                 0x81BB
+#define GL_YCRCB_444_SGIX                 0x81BC
+#endif /* GL_SGIX_ycrcb */
+
+#ifndef GL_SGIX_ycrcb_subsample
+#define GL_SGIX_ycrcb_subsample 1
+#endif /* GL_SGIX_ycrcb_subsample */
+
+#ifndef GL_SGIX_ycrcba
+#define GL_SGIX_ycrcba 1
+#define GL_YCRCB_SGIX                     0x8318
+#define GL_YCRCBA_SGIX                    0x8319
+#endif /* GL_SGIX_ycrcba */
+
+#ifndef GL_SGI_color_matrix
+#define GL_SGI_color_matrix 1
+#define GL_COLOR_MATRIX_SGI               0x80B1
+#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
+#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
+#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
+#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
+#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
+#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
+#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
+#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
+#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
+#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
+#endif /* GL_SGI_color_matrix */
+
+#ifndef GL_SGI_color_table
+#define GL_SGI_color_table 1
+#define GL_COLOR_TABLE_SGI                0x80D0
+#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
+#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
+#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
+#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
+#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
+#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
+#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
+#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
+#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
+#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
+#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
+#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
+#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
+#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
+#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
+typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
+typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
+typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
+typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
+GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
+GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
+GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
+GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
+GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
+GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
+#endif
+#endif /* GL_SGI_color_table */
+
+#ifndef GL_SGI_texture_color_table
+#define GL_SGI_texture_color_table 1
+#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
+#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
+#endif /* GL_SGI_texture_color_table */
+
+#ifndef GL_SUNX_constant_data
+#define GL_SUNX_constant_data 1
+#define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
+#define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
+typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glFinishTextureSUNX (void);
+#endif
+#endif /* GL_SUNX_constant_data */
+
+#ifndef GL_SUN_convolution_border_modes
+#define GL_SUN_convolution_border_modes 1
+#define GL_WRAP_BORDER_SUN                0x81D4
+#endif /* GL_SUN_convolution_border_modes */
+
+#ifndef GL_SUN_global_alpha
+#define GL_SUN_global_alpha 1
+#define GL_GLOBAL_ALPHA_SUN               0x81D9
+#define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
+typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
+GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
+GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
+GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
+GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
+GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
+GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
+GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
+#endif
+#endif /* GL_SUN_global_alpha */
+
+#ifndef GL_SUN_mesh_array
+#define GL_SUN_mesh_array 1
+#define GL_QUAD_MESH_SUN                  0x8614
+#define GL_TRIANGLE_MESH_SUN              0x8615
+typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
+#endif
+#endif /* GL_SUN_mesh_array */
+
+#ifndef GL_SUN_slice_accum
+#define GL_SUN_slice_accum 1
+#define GL_SLICE_ACCUM_SUN                0x85CC
+#endif /* GL_SUN_slice_accum */
+
+#ifndef GL_SUN_triangle_list
+#define GL_SUN_triangle_list 1
+#define GL_RESTART_SUN                    0x0001
+#define GL_REPLACE_MIDDLE_SUN             0x0002
+#define GL_REPLACE_OLDEST_SUN             0x0003
+#define GL_TRIANGLE_LIST_SUN              0x81D7
+#define GL_REPLACEMENT_CODE_SUN           0x81D8
+#define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
+#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
+#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
+#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
+#define GL_R1UI_V3F_SUN                   0x85C4
+#define GL_R1UI_C4UB_V3F_SUN              0x85C5
+#define GL_R1UI_C3F_V3F_SUN               0x85C6
+#define GL_R1UI_N3F_V3F_SUN               0x85C7
+#define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
+#define GL_R1UI_T2F_V3F_SUN               0x85C9
+#define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
+#define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
+GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
+GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
+GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
+GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
+GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
+GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
+#endif
+#endif /* GL_SUN_triangle_list */
+
+#ifndef GL_SUN_vertex
+#define GL_SUN_vertex 1
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
+GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
+GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
+GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
+#endif
+#endif /* GL_SUN_vertex */
+
+#ifndef GL_WIN_phong_shading
+#define GL_WIN_phong_shading 1
+#define GL_PHONG_WIN                      0x80EA
+#define GL_PHONG_HINT_WIN                 0x80EB
+#endif /* GL_WIN_phong_shading */
+
+#ifndef GL_WIN_specular_fog
+#define GL_WIN_specular_fog 1
+#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
+#endif /* GL_WIN_specular_fog */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles.h
@@ -1,0 +1,39 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_opengles.h
+ *
+ *  This is a simple file to encapsulate the OpenGL ES 1.X API headers.
+ */
+#include "SDL_config.h"
+
+#ifdef __IPHONEOS__
+#include <OpenGLES/ES1/gl.h>
+#include <OpenGLES/ES1/glext.h>
+#else
+#include <GLES/gl.h>
+#include <GLES/glext.h>
+#endif
+
+#ifndef APIENTRY
+#define APIENTRY
+#endif
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2.h
@@ -1,0 +1,52 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_opengles2.h
+ *
+ *  This is a simple file to encapsulate the OpenGL ES 2.0 API headers.
+ */
+#include "SDL_config.h"
+
+#ifndef _MSC_VER
+
+#ifdef __IPHONEOS__
+#include <OpenGLES/ES2/gl.h>
+#include <OpenGLES/ES2/glext.h>
+#else
+#include <GLES2/gl2platform.h>
+#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
+#endif
+
+#else /* _MSC_VER */
+
+/* OpenGL ES2 headers for Visual Studio */
+#include "SDL_opengles2_khrplatform.h"
+#include "SDL_opengles2_gl2platform.h"
+#include "SDL_opengles2_gl2.h"
+#include "SDL_opengles2_gl2ext.h"
+
+#endif /* _MSC_VER */
+
+#ifndef APIENTRY
+#define APIENTRY GL_APIENTRY
+#endif
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2.h
@@ -1,0 +1,621 @@
+#ifndef __gl2_h_
+#define __gl2_h_
+
+/* $Revision: 20555 $ on $Date:: 2013-02-12 14:32:47 -0800 #$ */
+
+/*#include <GLES2/gl2platform.h>*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/*-------------------------------------------------------------------------
+ * Data type definitions
+ *-----------------------------------------------------------------------*/
+
+typedef void             GLvoid;
+typedef char             GLchar;
+typedef unsigned int     GLenum;
+typedef unsigned char    GLboolean;
+typedef unsigned int     GLbitfield;
+typedef khronos_int8_t   GLbyte;
+typedef short            GLshort;
+typedef int              GLint;
+typedef int              GLsizei;
+typedef khronos_uint8_t  GLubyte;
+typedef unsigned short   GLushort;
+typedef unsigned int     GLuint;
+typedef khronos_float_t  GLfloat;
+typedef khronos_float_t  GLclampf;
+typedef khronos_int32_t  GLfixed;
+
+/* GL types for handling large vertex buffer objects */
+typedef khronos_intptr_t GLintptr;
+typedef khronos_ssize_t  GLsizeiptr;
+
+/* OpenGL ES core versions */
+#define GL_ES_VERSION_2_0                 1
+
+/* ClearBufferMask */
+#define GL_DEPTH_BUFFER_BIT               0x00000100
+#define GL_STENCIL_BUFFER_BIT             0x00000400
+#define GL_COLOR_BUFFER_BIT               0x00004000
+
+/* Boolean */
+#define GL_FALSE                          0
+#define GL_TRUE                           1
+
+/* BeginMode */
+#define GL_POINTS                         0x0000
+#define GL_LINES                          0x0001
+#define GL_LINE_LOOP                      0x0002
+#define GL_LINE_STRIP                     0x0003
+#define GL_TRIANGLES                      0x0004
+#define GL_TRIANGLE_STRIP                 0x0005
+#define GL_TRIANGLE_FAN                   0x0006
+
+/* AlphaFunction (not supported in ES20) */
+/*      GL_NEVER */
+/*      GL_LESS */
+/*      GL_EQUAL */
+/*      GL_LEQUAL */
+/*      GL_GREATER */
+/*      GL_NOTEQUAL */
+/*      GL_GEQUAL */
+/*      GL_ALWAYS */
+
+/* BlendingFactorDest */
+#define GL_ZERO                           0
+#define GL_ONE                            1
+#define GL_SRC_COLOR                      0x0300
+#define GL_ONE_MINUS_SRC_COLOR            0x0301
+#define GL_SRC_ALPHA                      0x0302
+#define GL_ONE_MINUS_SRC_ALPHA            0x0303
+#define GL_DST_ALPHA                      0x0304
+#define GL_ONE_MINUS_DST_ALPHA            0x0305
+
+/* BlendingFactorSrc */
+/*      GL_ZERO */
+/*      GL_ONE */
+#define GL_DST_COLOR                      0x0306
+#define GL_ONE_MINUS_DST_COLOR            0x0307
+#define GL_SRC_ALPHA_SATURATE             0x0308
+/*      GL_SRC_ALPHA */
+/*      GL_ONE_MINUS_SRC_ALPHA */
+/*      GL_DST_ALPHA */
+/*      GL_ONE_MINUS_DST_ALPHA */
+
+/* BlendEquationSeparate */
+#define GL_FUNC_ADD                       0x8006
+#define GL_BLEND_EQUATION                 0x8009
+#define GL_BLEND_EQUATION_RGB             0x8009    /* same as BLEND_EQUATION */
+#define GL_BLEND_EQUATION_ALPHA           0x883D
+
+/* BlendSubtract */
+#define GL_FUNC_SUBTRACT                  0x800A
+#define GL_FUNC_REVERSE_SUBTRACT          0x800B
+
+/* Separate Blend Functions */
+#define GL_BLEND_DST_RGB                  0x80C8
+#define GL_BLEND_SRC_RGB                  0x80C9
+#define GL_BLEND_DST_ALPHA                0x80CA
+#define GL_BLEND_SRC_ALPHA                0x80CB
+#define GL_CONSTANT_COLOR                 0x8001
+#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
+#define GL_CONSTANT_ALPHA                 0x8003
+#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
+#define GL_BLEND_COLOR                    0x8005
+
+/* Buffer Objects */
+#define GL_ARRAY_BUFFER                   0x8892
+#define GL_ELEMENT_ARRAY_BUFFER           0x8893
+#define GL_ARRAY_BUFFER_BINDING           0x8894
+#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
+
+#define GL_STREAM_DRAW                    0x88E0
+#define GL_STATIC_DRAW                    0x88E4
+#define GL_DYNAMIC_DRAW                   0x88E8
+
+#define GL_BUFFER_SIZE                    0x8764
+#define GL_BUFFER_USAGE                   0x8765
+
+#define GL_CURRENT_VERTEX_ATTRIB          0x8626
+
+/* CullFaceMode */
+#define GL_FRONT                          0x0404
+#define GL_BACK                           0x0405
+#define GL_FRONT_AND_BACK                 0x0408
+
+/* DepthFunction */
+/*      GL_NEVER */
+/*      GL_LESS */
+/*      GL_EQUAL */
+/*      GL_LEQUAL */
+/*      GL_GREATER */
+/*      GL_NOTEQUAL */
+/*      GL_GEQUAL */
+/*      GL_ALWAYS */
+
+/* EnableCap */
+#define GL_TEXTURE_2D                     0x0DE1
+#define GL_CULL_FACE                      0x0B44
+#define GL_BLEND                          0x0BE2
+#define GL_DITHER                         0x0BD0
+#define GL_STENCIL_TEST                   0x0B90
+#define GL_DEPTH_TEST                     0x0B71
+#define GL_SCISSOR_TEST                   0x0C11
+#define GL_POLYGON_OFFSET_FILL            0x8037
+#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
+#define GL_SAMPLE_COVERAGE                0x80A0
+
+/* ErrorCode */
+#define GL_NO_ERROR                       0
+#define GL_INVALID_ENUM                   0x0500
+#define GL_INVALID_VALUE                  0x0501
+#define GL_INVALID_OPERATION              0x0502
+#define GL_OUT_OF_MEMORY                  0x0505
+
+/* FrontFaceDirection */
+#define GL_CW                             0x0900
+#define GL_CCW                            0x0901
+
+/* GetPName */
+#define GL_LINE_WIDTH                     0x0B21
+#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
+#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
+#define GL_CULL_FACE_MODE                 0x0B45
+#define GL_FRONT_FACE                     0x0B46
+#define GL_DEPTH_RANGE                    0x0B70
+#define GL_DEPTH_WRITEMASK                0x0B72
+#define GL_DEPTH_CLEAR_VALUE              0x0B73
+#define GL_DEPTH_FUNC                     0x0B74
+#define GL_STENCIL_CLEAR_VALUE            0x0B91
+#define GL_STENCIL_FUNC                   0x0B92
+#define GL_STENCIL_FAIL                   0x0B94
+#define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
+#define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
+#define GL_STENCIL_REF                    0x0B97
+#define GL_STENCIL_VALUE_MASK             0x0B93
+#define GL_STENCIL_WRITEMASK              0x0B98
+#define GL_STENCIL_BACK_FUNC              0x8800
+#define GL_STENCIL_BACK_FAIL              0x8801
+#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
+#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
+#define GL_STENCIL_BACK_REF               0x8CA3
+#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
+#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
+#define GL_VIEWPORT                       0x0BA2
+#define GL_SCISSOR_BOX                    0x0C10
+/*      GL_SCISSOR_TEST */
+#define GL_COLOR_CLEAR_VALUE              0x0C22
+#define GL_COLOR_WRITEMASK                0x0C23
+#define GL_UNPACK_ALIGNMENT               0x0CF5
+#define GL_PACK_ALIGNMENT                 0x0D05
+#define GL_MAX_TEXTURE_SIZE               0x0D33
+#define GL_MAX_VIEWPORT_DIMS              0x0D3A
+#define GL_SUBPIXEL_BITS                  0x0D50
+#define GL_RED_BITS                       0x0D52
+#define GL_GREEN_BITS                     0x0D53
+#define GL_BLUE_BITS                      0x0D54
+#define GL_ALPHA_BITS                     0x0D55
+#define GL_DEPTH_BITS                     0x0D56
+#define GL_STENCIL_BITS                   0x0D57
+#define GL_POLYGON_OFFSET_UNITS           0x2A00
+/*      GL_POLYGON_OFFSET_FILL */
+#define GL_POLYGON_OFFSET_FACTOR          0x8038
+#define GL_TEXTURE_BINDING_2D             0x8069
+#define GL_SAMPLE_BUFFERS                 0x80A8
+#define GL_SAMPLES                        0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
+
+/* GetTextureParameter */
+/*      GL_TEXTURE_MAG_FILTER */
+/*      GL_TEXTURE_MIN_FILTER */
+/*      GL_TEXTURE_WRAP_S */
+/*      GL_TEXTURE_WRAP_T */
+
+#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
+#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
+
+/* HintMode */
+#define GL_DONT_CARE                      0x1100
+#define GL_FASTEST                        0x1101
+#define GL_NICEST                         0x1102
+
+/* HintTarget */
+#define GL_GENERATE_MIPMAP_HINT            0x8192
+
+/* DataType */
+#define GL_BYTE                           0x1400
+#define GL_UNSIGNED_BYTE                  0x1401
+#define GL_SHORT                          0x1402
+#define GL_UNSIGNED_SHORT                 0x1403
+#define GL_INT                            0x1404
+#define GL_UNSIGNED_INT                   0x1405
+#define GL_FLOAT                          0x1406
+#define GL_FIXED                          0x140C
+
+/* PixelFormat */
+#define GL_DEPTH_COMPONENT                0x1902
+#define GL_ALPHA                          0x1906
+#define GL_RGB                            0x1907
+#define GL_RGBA                           0x1908
+#define GL_LUMINANCE                      0x1909
+#define GL_LUMINANCE_ALPHA                0x190A
+
+/* PixelType */
+/*      GL_UNSIGNED_BYTE */
+#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
+#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
+#define GL_UNSIGNED_SHORT_5_6_5           0x8363
+
+/* Shaders */
+#define GL_FRAGMENT_SHADER                  0x8B30
+#define GL_VERTEX_SHADER                    0x8B31
+#define GL_MAX_VERTEX_ATTRIBS               0x8869
+#define GL_MAX_VERTEX_UNIFORM_VECTORS       0x8DFB
+#define GL_MAX_VARYING_VECTORS              0x8DFC
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
+#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS   0x8B4C
+#define GL_MAX_TEXTURE_IMAGE_UNITS          0x8872
+#define GL_MAX_FRAGMENT_UNIFORM_VECTORS     0x8DFD
+#define GL_SHADER_TYPE                      0x8B4F
+#define GL_DELETE_STATUS                    0x8B80
+#define GL_LINK_STATUS                      0x8B82
+#define GL_VALIDATE_STATUS                  0x8B83
+#define GL_ATTACHED_SHADERS                 0x8B85
+#define GL_ACTIVE_UNIFORMS                  0x8B86
+#define GL_ACTIVE_UNIFORM_MAX_LENGTH        0x8B87
+#define GL_ACTIVE_ATTRIBUTES                0x8B89
+#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH      0x8B8A
+#define GL_SHADING_LANGUAGE_VERSION         0x8B8C
+#define GL_CURRENT_PROGRAM                  0x8B8D
+
+/* StencilFunction */
+#define GL_NEVER                          0x0200
+#define GL_LESS                           0x0201
+#define GL_EQUAL                          0x0202
+#define GL_LEQUAL                         0x0203
+#define GL_GREATER                        0x0204
+#define GL_NOTEQUAL                       0x0205
+#define GL_GEQUAL                         0x0206
+#define GL_ALWAYS                         0x0207
+
+/* StencilOp */
+/*      GL_ZERO */
+#define GL_KEEP                           0x1E00
+#define GL_REPLACE                        0x1E01
+#define GL_INCR                           0x1E02
+#define GL_DECR                           0x1E03
+#define GL_INVERT                         0x150A
+#define GL_INCR_WRAP                      0x8507
+#define GL_DECR_WRAP                      0x8508
+
+/* StringName */
+#define GL_VENDOR                         0x1F00
+#define GL_RENDERER                       0x1F01
+#define GL_VERSION                        0x1F02
+#define GL_EXTENSIONS                     0x1F03
+
+/* TextureMagFilter */
+#define GL_NEAREST                        0x2600
+#define GL_LINEAR                         0x2601
+
+/* TextureMinFilter */
+/*      GL_NEAREST */
+/*      GL_LINEAR */
+#define GL_NEAREST_MIPMAP_NEAREST         0x2700
+#define GL_LINEAR_MIPMAP_NEAREST          0x2701
+#define GL_NEAREST_MIPMAP_LINEAR          0x2702
+#define GL_LINEAR_MIPMAP_LINEAR           0x2703
+
+/* TextureParameterName */
+#define GL_TEXTURE_MAG_FILTER             0x2800
+#define GL_TEXTURE_MIN_FILTER             0x2801
+#define GL_TEXTURE_WRAP_S                 0x2802
+#define GL_TEXTURE_WRAP_T                 0x2803
+
+/* TextureTarget */
+/*      GL_TEXTURE_2D */
+#define GL_TEXTURE                        0x1702
+
+#define GL_TEXTURE_CUBE_MAP               0x8513
+#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
+#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
+#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
+#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
+
+/* TextureUnit */
+#define GL_TEXTURE0                       0x84C0
+#define GL_TEXTURE1                       0x84C1
+#define GL_TEXTURE2                       0x84C2
+#define GL_TEXTURE3                       0x84C3
+#define GL_TEXTURE4                       0x84C4
+#define GL_TEXTURE5                       0x84C5
+#define GL_TEXTURE6                       0x84C6
+#define GL_TEXTURE7                       0x84C7
+#define GL_TEXTURE8                       0x84C8
+#define GL_TEXTURE9                       0x84C9
+#define GL_TEXTURE10                      0x84CA
+#define GL_TEXTURE11                      0x84CB
+#define GL_TEXTURE12                      0x84CC
+#define GL_TEXTURE13                      0x84CD
+#define GL_TEXTURE14                      0x84CE
+#define GL_TEXTURE15                      0x84CF
+#define GL_TEXTURE16                      0x84D0
+#define GL_TEXTURE17                      0x84D1
+#define GL_TEXTURE18                      0x84D2
+#define GL_TEXTURE19                      0x84D3
+#define GL_TEXTURE20                      0x84D4
+#define GL_TEXTURE21                      0x84D5
+#define GL_TEXTURE22                      0x84D6
+#define GL_TEXTURE23                      0x84D7
+#define GL_TEXTURE24                      0x84D8
+#define GL_TEXTURE25                      0x84D9
+#define GL_TEXTURE26                      0x84DA
+#define GL_TEXTURE27                      0x84DB
+#define GL_TEXTURE28                      0x84DC
+#define GL_TEXTURE29                      0x84DD
+#define GL_TEXTURE30                      0x84DE
+#define GL_TEXTURE31                      0x84DF
+#define GL_ACTIVE_TEXTURE                 0x84E0
+
+/* TextureWrapMode */
+#define GL_REPEAT                         0x2901
+#define GL_CLAMP_TO_EDGE                  0x812F
+#define GL_MIRRORED_REPEAT                0x8370
+
+/* Uniform Types */
+#define GL_FLOAT_VEC2                     0x8B50
+#define GL_FLOAT_VEC3                     0x8B51
+#define GL_FLOAT_VEC4                     0x8B52
+#define GL_INT_VEC2                       0x8B53
+#define GL_INT_VEC3                       0x8B54
+#define GL_INT_VEC4                       0x8B55
+#define GL_BOOL                           0x8B56
+#define GL_BOOL_VEC2                      0x8B57
+#define GL_BOOL_VEC3                      0x8B58
+#define GL_BOOL_VEC4                      0x8B59
+#define GL_FLOAT_MAT2                     0x8B5A
+#define GL_FLOAT_MAT3                     0x8B5B
+#define GL_FLOAT_MAT4                     0x8B5C
+#define GL_SAMPLER_2D                     0x8B5E
+#define GL_SAMPLER_CUBE                   0x8B60
+
+/* Vertex Arrays */
+#define GL_VERTEX_ATTRIB_ARRAY_ENABLED        0x8622
+#define GL_VERTEX_ATTRIB_ARRAY_SIZE           0x8623
+#define GL_VERTEX_ATTRIB_ARRAY_STRIDE         0x8624
+#define GL_VERTEX_ATTRIB_ARRAY_TYPE           0x8625
+#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED     0x886A
+#define GL_VERTEX_ATTRIB_ARRAY_POINTER        0x8645
+#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
+
+/* Read Format */
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE   0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
+
+/* Shader Source */
+#define GL_COMPILE_STATUS                 0x8B81
+#define GL_INFO_LOG_LENGTH                0x8B84
+#define GL_SHADER_SOURCE_LENGTH           0x8B88
+#define GL_SHADER_COMPILER                0x8DFA
+
+/* Shader Binary */
+#define GL_SHADER_BINARY_FORMATS          0x8DF8
+#define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
+
+/* Shader Precision-Specified Types */
+#define GL_LOW_FLOAT                      0x8DF0
+#define GL_MEDIUM_FLOAT                   0x8DF1
+#define GL_HIGH_FLOAT                     0x8DF2
+#define GL_LOW_INT                        0x8DF3
+#define GL_MEDIUM_INT                     0x8DF4
+#define GL_HIGH_INT                       0x8DF5
+
+/* Framebuffer Object. */
+#define GL_FRAMEBUFFER                    0x8D40
+#define GL_RENDERBUFFER                   0x8D41
+
+#define GL_RGBA4                          0x8056
+#define GL_RGB5_A1                        0x8057
+#define GL_RGB565                         0x8D62
+#define GL_DEPTH_COMPONENT16              0x81A5
+#define GL_STENCIL_INDEX8                 0x8D48
+
+#define GL_RENDERBUFFER_WIDTH             0x8D42
+#define GL_RENDERBUFFER_HEIGHT            0x8D43
+#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
+#define GL_RENDERBUFFER_RED_SIZE          0x8D50
+#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
+#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
+#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
+#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
+#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
+
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE           0x8CD0
+#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME           0x8CD1
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL         0x8CD2
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
+
+#define GL_COLOR_ATTACHMENT0              0x8CE0
+#define GL_DEPTH_ATTACHMENT               0x8D00
+#define GL_STENCIL_ATTACHMENT             0x8D20
+
+#define GL_NONE                           0
+
+#define GL_FRAMEBUFFER_COMPLETE                      0x8CD5
+#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT         0x8CD6
+#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
+#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS         0x8CD9
+#define GL_FRAMEBUFFER_UNSUPPORTED                   0x8CDD
+
+#define GL_FRAMEBUFFER_BINDING            0x8CA6
+#define GL_RENDERBUFFER_BINDING           0x8CA7
+#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
+
+#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
+
+/*-------------------------------------------------------------------------
+ * GL core functions.
+ *-----------------------------------------------------------------------*/
+
+GL_APICALL void         GL_APIENTRY glActiveTexture (GLenum texture);
+GL_APICALL void         GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
+GL_APICALL void         GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name);
+GL_APICALL void         GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
+GL_APICALL void         GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
+GL_APICALL void         GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
+GL_APICALL void         GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
+GL_APICALL void         GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+GL_APICALL void         GL_APIENTRY glBlendEquation ( GLenum mode );
+GL_APICALL void         GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
+GL_APICALL void         GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
+GL_APICALL void         GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+GL_APICALL void         GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
+GL_APICALL void         GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
+GL_APICALL GLenum       GL_APIENTRY glCheckFramebufferStatus (GLenum target);
+GL_APICALL void         GL_APIENTRY glClear (GLbitfield mask);
+GL_APICALL void         GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+GL_APICALL void         GL_APIENTRY glClearDepthf (GLclampf depth);
+GL_APICALL void         GL_APIENTRY glClearStencil (GLint s);
+GL_APICALL void         GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+GL_APICALL void         GL_APIENTRY glCompileShader (GLuint shader);
+GL_APICALL void         GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void         GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void         GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+GL_APICALL void         GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GL_APICALL GLuint       GL_APIENTRY glCreateProgram (void);
+GL_APICALL GLuint       GL_APIENTRY glCreateShader (GLenum type);
+GL_APICALL void         GL_APIENTRY glCullFace (GLenum mode);
+GL_APICALL void         GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers);
+GL_APICALL void         GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers);
+GL_APICALL void         GL_APIENTRY glDeleteProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers);
+GL_APICALL void         GL_APIENTRY glDeleteShader (GLuint shader);
+GL_APICALL void         GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures);
+GL_APICALL void         GL_APIENTRY glDepthFunc (GLenum func);
+GL_APICALL void         GL_APIENTRY glDepthMask (GLboolean flag);
+GL_APICALL void         GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
+GL_APICALL void         GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
+GL_APICALL void         GL_APIENTRY glDisable (GLenum cap);
+GL_APICALL void         GL_APIENTRY glDisableVertexAttribArray (GLuint index);
+GL_APICALL void         GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
+GL_APICALL void         GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
+GL_APICALL void         GL_APIENTRY glEnable (GLenum cap);
+GL_APICALL void         GL_APIENTRY glEnableVertexAttribArray (GLuint index);
+GL_APICALL void         GL_APIENTRY glFinish (void);
+GL_APICALL void         GL_APIENTRY glFlush (void);
+GL_APICALL void         GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+GL_APICALL void         GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+GL_APICALL void         GL_APIENTRY glFrontFace (GLenum mode);
+GL_APICALL void         GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers);
+GL_APICALL void         GL_APIENTRY glGenerateMipmap (GLenum target);
+GL_APICALL void         GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers);
+GL_APICALL void         GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers);
+GL_APICALL void         GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures);
+GL_APICALL void         GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
+GL_APICALL GLint        GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params);
+GL_APICALL void         GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params);
+GL_APICALL GLenum       GL_APIENTRY glGetError (void);
+GL_APICALL void         GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
+GL_APICALL void         GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
+GL_APICALL void         GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
+GL_APICALL void         GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
+GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name);
+GL_APICALL void         GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params);
+GL_APICALL GLint        GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name);
+GL_APICALL void         GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params);
+GL_APICALL void         GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params);
+GL_APICALL void         GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer);
+GL_APICALL void         GL_APIENTRY glHint (GLenum target, GLenum mode);
+GL_APICALL GLboolean    GL_APIENTRY glIsBuffer (GLuint buffer);
+GL_APICALL GLboolean    GL_APIENTRY glIsEnabled (GLenum cap);
+GL_APICALL GLboolean    GL_APIENTRY glIsFramebuffer (GLuint framebuffer);
+GL_APICALL GLboolean    GL_APIENTRY glIsProgram (GLuint program);
+GL_APICALL GLboolean    GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer);
+GL_APICALL GLboolean    GL_APIENTRY glIsShader (GLuint shader);
+GL_APICALL GLboolean    GL_APIENTRY glIsTexture (GLuint texture);
+GL_APICALL void         GL_APIENTRY glLineWidth (GLfloat width);
+GL_APICALL void         GL_APIENTRY glLinkProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
+GL_APICALL void         GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
+GL_APICALL void         GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
+GL_APICALL void         GL_APIENTRY glReleaseShaderCompiler (void);
+GL_APICALL void         GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void         GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
+GL_APICALL void         GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
+GL_APICALL void         GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
+GL_APICALL void         GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);
+GL_APICALL void         GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilMask (GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
+GL_APICALL void         GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
+GL_APICALL void         GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
+GL_APICALL void         GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void         GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
+GL_APICALL void         GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params);
+GL_APICALL void         GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
+GL_APICALL void         GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params);
+GL_APICALL void         GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void         GL_APIENTRY glUniform1f (GLint location, GLfloat x);
+GL_APICALL void         GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform1i (GLint location, GLint x);
+GL_APICALL void         GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y);
+GL_APICALL void         GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y);
+GL_APICALL void         GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z);
+GL_APICALL void         GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z);
+GL_APICALL void         GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GL_APICALL void         GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v);
+GL_APICALL void         GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w);
+GL_APICALL void         GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v);
+GL_APICALL void         GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+GL_APICALL void         GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+GL_APICALL void         GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+GL_APICALL void         GL_APIENTRY glUseProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glValidateProgram (GLuint program);
+GL_APICALL void         GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x);
+GL_APICALL void         GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y);
+GL_APICALL void         GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z);
+GL_APICALL void         GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GL_APICALL void         GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values);
+GL_APICALL void         GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr);
+GL_APICALL void         GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gl2_h_ */
+
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2ext.h
@@ -1,0 +1,2050 @@
+#ifndef __gl2ext_h_
+#define __gl2ext_h_
+
+/* $Revision: 22801 $ on $Date:: 2013-08-21 03:20:48 -0700 #$ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+#ifndef GL_APIENTRYP
+#   define GL_APIENTRYP GL_APIENTRY*
+#endif
+
+/* New types shared by several extensions */
+
+#ifndef __gl3_h_
+/* These are defined with respect to <inttypes.h> in the
+ * Apple extension spec, but they are also used by non-APPLE
+ * extensions, and in the Khronos header we use the Khronos
+ * portable types in khrplatform.h, which must be defined.
+ */
+typedef khronos_int64_t GLint64;
+typedef khronos_uint64_t GLuint64;
+typedef struct __GLsync *GLsync;
+#endif
+
+
+/*------------------------------------------------------------------------*
+ * OES extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_OES_compressed_ETC1_RGB8_texture */
+#ifndef GL_OES_compressed_ETC1_RGB8_texture
+#define GL_ETC1_RGB8_OES                                        0x8D64
+#endif
+
+/* GL_OES_compressed_paletted_texture */
+#ifndef GL_OES_compressed_paletted_texture
+#define GL_PALETTE4_RGB8_OES                                    0x8B90
+#define GL_PALETTE4_RGBA8_OES                                   0x8B91
+#define GL_PALETTE4_R5_G6_B5_OES                                0x8B92
+#define GL_PALETTE4_RGBA4_OES                                   0x8B93
+#define GL_PALETTE4_RGB5_A1_OES                                 0x8B94
+#define GL_PALETTE8_RGB8_OES                                    0x8B95
+#define GL_PALETTE8_RGBA8_OES                                   0x8B96
+#define GL_PALETTE8_R5_G6_B5_OES                                0x8B97
+#define GL_PALETTE8_RGBA4_OES                                   0x8B98
+#define GL_PALETTE8_RGB5_A1_OES                                 0x8B99
+#endif
+
+/* GL_OES_depth24 */
+#ifndef GL_OES_depth24
+#define GL_DEPTH_COMPONENT24_OES                                0x81A6
+#endif
+
+/* GL_OES_depth32 */
+#ifndef GL_OES_depth32
+#define GL_DEPTH_COMPONENT32_OES                                0x81A7
+#endif
+
+/* GL_OES_depth_texture */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+typedef void* GLeglImageOES;
+#endif
+
+/* GL_OES_EGL_image_external */
+#ifndef GL_OES_EGL_image_external
+/* GLeglImageOES defined in GL_OES_EGL_image already. */
+#define GL_TEXTURE_EXTERNAL_OES                                 0x8D65
+#define GL_SAMPLER_EXTERNAL_OES                                 0x8D66
+#define GL_TEXTURE_BINDING_EXTERNAL_OES                         0x8D67
+#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES                     0x8D68
+#endif
+
+/* GL_OES_element_index_uint */
+#ifndef GL_OES_element_index_uint
+#define GL_UNSIGNED_INT                                         0x1405
+#endif
+
+/* GL_OES_get_program_binary */
+#ifndef GL_OES_get_program_binary
+#define GL_PROGRAM_BINARY_LENGTH_OES                            0x8741
+#define GL_NUM_PROGRAM_BINARY_FORMATS_OES                       0x87FE
+#define GL_PROGRAM_BINARY_FORMATS_OES                           0x87FF
+#endif
+
+/* GL_OES_mapbuffer */
+#ifndef GL_OES_mapbuffer
+#define GL_WRITE_ONLY_OES                                       0x88B9
+#define GL_BUFFER_ACCESS_OES                                    0x88BB
+#define GL_BUFFER_MAPPED_OES                                    0x88BC
+#define GL_BUFFER_MAP_POINTER_OES                               0x88BD
+#endif
+
+/* GL_OES_packed_depth_stencil */
+#ifndef GL_OES_packed_depth_stencil
+#define GL_DEPTH_STENCIL_OES                                    0x84F9
+#define GL_UNSIGNED_INT_24_8_OES                                0x84FA
+#define GL_DEPTH24_STENCIL8_OES                                 0x88F0
+#endif
+
+/* GL_OES_required_internalformat */
+#ifndef GL_OES_required_internalformat
+#define GL_ALPHA8_OES                                           0x803C
+#define GL_DEPTH_COMPONENT16_OES                                0x81A5
+/* reuse GL_DEPTH_COMPONENT24_OES */
+/* reuse GL_DEPTH24_STENCIL8_OES */
+/* reuse GL_DEPTH_COMPONENT32_OES */
+#define GL_LUMINANCE4_ALPHA4_OES                                0x8043
+#define GL_LUMINANCE8_ALPHA8_OES                                0x8045
+#define GL_LUMINANCE8_OES                                       0x8040
+#define GL_RGBA4_OES                                            0x8056
+#define GL_RGB5_A1_OES                                          0x8057
+#define GL_RGB565_OES                                           0x8D62
+/* reuse GL_RGB8_OES */
+/* reuse GL_RGBA8_OES */
+/* reuse GL_RGB10_EXT */
+/* reuse GL_RGB10_A2_EXT */
+#endif
+
+/* GL_OES_rgb8_rgba8 */
+#ifndef GL_OES_rgb8_rgba8
+#define GL_RGB8_OES                                             0x8051
+#define GL_RGBA8_OES                                            0x8058
+#endif
+
+/* GL_OES_standard_derivatives */
+#ifndef GL_OES_standard_derivatives
+#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES                  0x8B8B
+#endif
+
+/* GL_OES_stencil1 */
+#ifndef GL_OES_stencil1
+#define GL_STENCIL_INDEX1_OES                                   0x8D46
+#endif
+
+/* GL_OES_stencil4 */
+#ifndef GL_OES_stencil4
+#define GL_STENCIL_INDEX4_OES                                   0x8D47
+#endif
+
+#ifndef GL_OES_surfaceless_context
+#define GL_FRAMEBUFFER_UNDEFINED_OES                            0x8219
+#endif
+
+/* GL_OES_texture_3D */
+#ifndef GL_OES_texture_3D
+#define GL_TEXTURE_WRAP_R_OES                                   0x8072
+#define GL_TEXTURE_3D_OES                                       0x806F
+#define GL_TEXTURE_BINDING_3D_OES                               0x806A
+#define GL_MAX_3D_TEXTURE_SIZE_OES                              0x8073
+#define GL_SAMPLER_3D_OES                                       0x8B5F
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES        0x8CD4
+#endif
+
+/* GL_OES_texture_float */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_texture_float_linear */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_texture_half_float */
+#ifndef GL_OES_texture_half_float
+#define GL_HALF_FLOAT_OES                                       0x8D61
+#endif
+
+/* GL_OES_texture_half_float_linear */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_texture_npot */
+/* No new tokens introduced by this extension. */
+
+/* GL_OES_vertex_array_object */
+#ifndef GL_OES_vertex_array_object
+#define GL_VERTEX_ARRAY_BINDING_OES                             0x85B5
+#endif
+
+/* GL_OES_vertex_half_float */
+/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */
+
+/* GL_OES_vertex_type_10_10_10_2 */
+#ifndef GL_OES_vertex_type_10_10_10_2
+#define GL_UNSIGNED_INT_10_10_10_2_OES                          0x8DF6
+#define GL_INT_10_10_10_2_OES                                   0x8DF7
+#endif
+
+/*------------------------------------------------------------------------*
+ * KHR extension tokens
+ *------------------------------------------------------------------------*/
+
+#ifndef GL_KHR_debug
+typedef void (GL_APIENTRYP GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR                         0x8242
+#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR                 0x8243
+#define GL_DEBUG_CALLBACK_FUNCTION_KHR                          0x8244
+#define GL_DEBUG_CALLBACK_USER_PARAM_KHR                        0x8245
+#define GL_DEBUG_SOURCE_API_KHR                                 0x8246
+#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR                       0x8247
+#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR                     0x8248
+#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR                         0x8249
+#define GL_DEBUG_SOURCE_APPLICATION_KHR                         0x824A
+#define GL_DEBUG_SOURCE_OTHER_KHR                               0x824B
+#define GL_DEBUG_TYPE_ERROR_KHR                                 0x824C
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR                   0x824D
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR                    0x824E
+#define GL_DEBUG_TYPE_PORTABILITY_KHR                           0x824F
+#define GL_DEBUG_TYPE_PERFORMANCE_KHR                           0x8250
+#define GL_DEBUG_TYPE_OTHER_KHR                                 0x8251
+#define GL_DEBUG_TYPE_MARKER_KHR                                0x8268
+#define GL_DEBUG_TYPE_PUSH_GROUP_KHR                            0x8269
+#define GL_DEBUG_TYPE_POP_GROUP_KHR                             0x826A
+#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR                      0x826B
+#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR                      0x826C
+#define GL_DEBUG_GROUP_STACK_DEPTH_KHR                          0x826D
+#define GL_BUFFER_KHR                                           0x82E0
+#define GL_SHADER_KHR                                           0x82E1
+#define GL_PROGRAM_KHR                                          0x82E2
+#define GL_QUERY_KHR                                            0x82E3
+/* PROGRAM_PIPELINE only in GL */
+#define GL_SAMPLER_KHR                                          0x82E6
+/* DISPLAY_LIST only in GL */
+#define GL_MAX_LABEL_LENGTH_KHR                                 0x82E8
+#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR                         0x9143
+#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR                        0x9144
+#define GL_DEBUG_LOGGED_MESSAGES_KHR                            0x9145
+#define GL_DEBUG_SEVERITY_HIGH_KHR                              0x9146
+#define GL_DEBUG_SEVERITY_MEDIUM_KHR                            0x9147
+#define GL_DEBUG_SEVERITY_LOW_KHR                               0x9148
+#define GL_DEBUG_OUTPUT_KHR                                     0x92E0
+#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR                           0x00000002
+#define GL_STACK_OVERFLOW_KHR                                   0x0503
+#define GL_STACK_UNDERFLOW_KHR                                  0x0504
+#endif
+
+#ifndef GL_KHR_texture_compression_astc_ldr
+#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR                         0x93B0
+#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR                         0x93B1
+#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR                         0x93B2
+#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR                         0x93B3
+#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR                         0x93B4
+#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR                         0x93B5
+#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR                         0x93B6
+#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR                         0x93B7
+#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR                        0x93B8
+#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR                        0x93B9
+#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR                        0x93BA
+#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR                       0x93BB
+#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR                       0x93BC
+#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR                       0x93BD
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR                 0x93D0
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR                 0x93D1
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR                 0x93D2
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR                 0x93D3
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR                 0x93D4
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR                 0x93D5
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR                 0x93D6
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR                 0x93D7
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR                0x93D8
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR                0x93D9
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR                0x93DA
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR               0x93DB
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR               0x93DC
+#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR               0x93DD
+#endif
+
+/*------------------------------------------------------------------------*
+ * AMD extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_AMD_compressed_3DC_texture */
+#ifndef GL_AMD_compressed_3DC_texture
+#define GL_3DC_X_AMD                                            0x87F9
+#define GL_3DC_XY_AMD                                           0x87FA
+#endif
+
+/* GL_AMD_compressed_ATC_texture */
+#ifndef GL_AMD_compressed_ATC_texture
+#define GL_ATC_RGB_AMD                                          0x8C92
+#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD                          0x8C93
+#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD                      0x87EE
+#endif
+
+/* GL_AMD_performance_monitor */
+#ifndef GL_AMD_performance_monitor
+#define GL_COUNTER_TYPE_AMD                                     0x8BC0
+#define GL_COUNTER_RANGE_AMD                                    0x8BC1
+#define GL_UNSIGNED_INT64_AMD                                   0x8BC2
+#define GL_PERCENTAGE_AMD                                       0x8BC3
+#define GL_PERFMON_RESULT_AVAILABLE_AMD                         0x8BC4
+#define GL_PERFMON_RESULT_SIZE_AMD                              0x8BC5
+#define GL_PERFMON_RESULT_AMD                                   0x8BC6
+#endif
+
+/* GL_AMD_program_binary_Z400 */
+#ifndef GL_AMD_program_binary_Z400
+#define GL_Z400_BINARY_AMD                                      0x8740
+#endif
+
+/*------------------------------------------------------------------------*
+ * ANGLE extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_ANGLE_depth_texture */
+#ifndef GL_ANGLE_depth_texture
+#define GL_DEPTH_COMPONENT                                      0x1902
+#define GL_DEPTH_STENCIL_OES                                    0x84F9
+#define GL_UNSIGNED_SHORT                                       0x1403
+#define GL_UNSIGNED_INT                                         0x1405
+#define GL_UNSIGNED_INT_24_8_OES                                0x84FA
+#define GL_DEPTH_COMPONENT16                                    0x81A5
+#define GL_DEPTH_COMPONENT32_OES                                0x81A7
+#define GL_DEPTH24_STENCIL8_OES                                 0x88F0
+#endif
+
+/* GL_ANGLE_framebuffer_blit */
+#ifndef GL_ANGLE_framebuffer_blit
+#define GL_READ_FRAMEBUFFER_ANGLE                               0x8CA8
+#define GL_DRAW_FRAMEBUFFER_ANGLE                               0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE                       0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_ANGLE                       0x8CAA
+#endif
+
+/* GL_ANGLE_framebuffer_multisample */
+#ifndef GL_ANGLE_framebuffer_multisample
+#define GL_RENDERBUFFER_SAMPLES_ANGLE                           0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE             0x8D56
+#define GL_MAX_SAMPLES_ANGLE                                    0x8D57
+#endif
+
+/* GL_ANGLE_instanced_arrays */
+#ifndef GL_ANGLE_instanced_arrays
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE                    0x88FE
+#endif
+
+/* GL_ANGLE_pack_reverse_row_order */
+#ifndef GL_ANGLE_pack_reverse_row_order
+#define GL_PACK_REVERSE_ROW_ORDER_ANGLE                         0x93A4
+#endif
+
+/* GL_ANGLE_program_binary */
+#ifndef GL_ANGLE_program_binary
+#define GL_PROGRAM_BINARY_ANGLE                                 0x93A6
+#endif
+
+/* GL_ANGLE_texture_compression_dxt3 */
+#ifndef GL_ANGLE_texture_compression_dxt3
+#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE                      0x83F2
+#endif
+
+/* GL_ANGLE_texture_compression_dxt5 */
+#ifndef GL_ANGLE_texture_compression_dxt5
+#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE                      0x83F3
+#endif
+
+/* GL_ANGLE_texture_usage */
+#ifndef GL_ANGLE_texture_usage
+#define GL_TEXTURE_USAGE_ANGLE                                  0x93A2
+#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE                         0x93A3
+#endif
+
+/* GL_ANGLE_translated_shader_source */
+#ifndef GL_ANGLE_translated_shader_source
+#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE                0x93A0
+#endif
+
+/*------------------------------------------------------------------------*
+ * APPLE extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_APPLE_copy_texture_levels */
+/* No new tokens introduced by this extension. */
+
+/* GL_APPLE_framebuffer_multisample */
+#ifndef GL_APPLE_framebuffer_multisample
+#define GL_RENDERBUFFER_SAMPLES_APPLE                           0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE             0x8D56
+#define GL_MAX_SAMPLES_APPLE                                    0x8D57
+#define GL_READ_FRAMEBUFFER_APPLE                               0x8CA8
+#define GL_DRAW_FRAMEBUFFER_APPLE                               0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE                       0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_APPLE                       0x8CAA
+#endif
+
+/* GL_APPLE_rgb_422 */
+#ifndef GL_APPLE_rgb_422
+#define GL_RGB_422_APPLE                                        0x8A1F
+#define GL_UNSIGNED_SHORT_8_8_APPLE                             0x85BA
+#define GL_UNSIGNED_SHORT_8_8_REV_APPLE                         0x85BB
+#endif
+
+/* GL_APPLE_sync */
+#ifndef GL_APPLE_sync
+
+#define GL_SYNC_OBJECT_APPLE                                    0x8A53
+#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE                        0x9111
+#define GL_OBJECT_TYPE_APPLE                                    0x9112
+#define GL_SYNC_CONDITION_APPLE                                 0x9113
+#define GL_SYNC_STATUS_APPLE                                    0x9114
+#define GL_SYNC_FLAGS_APPLE                                     0x9115
+#define GL_SYNC_FENCE_APPLE                                     0x9116
+#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE                     0x9117
+#define GL_UNSIGNALED_APPLE                                     0x9118
+#define GL_SIGNALED_APPLE                                       0x9119
+#define GL_ALREADY_SIGNALED_APPLE                               0x911A
+#define GL_TIMEOUT_EXPIRED_APPLE                                0x911B
+#define GL_CONDITION_SATISFIED_APPLE                            0x911C
+#define GL_WAIT_FAILED_APPLE                                    0x911D
+#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE                        0x00000001
+#define GL_TIMEOUT_IGNORED_APPLE                                0xFFFFFFFFFFFFFFFFull
+#endif
+
+/* GL_APPLE_texture_format_BGRA8888 */
+#ifndef GL_APPLE_texture_format_BGRA8888
+#define GL_BGRA_EXT                                             0x80E1
+#endif
+
+/* GL_APPLE_texture_max_level */
+#ifndef GL_APPLE_texture_max_level
+#define GL_TEXTURE_MAX_LEVEL_APPLE                              0x813D
+#endif
+
+/*------------------------------------------------------------------------*
+ * ARM extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_ARM_mali_program_binary */
+#ifndef GL_ARM_mali_program_binary
+#define GL_MALI_PROGRAM_BINARY_ARM                              0x8F61
+#endif
+
+/* GL_ARM_mali_shader_binary */
+#ifndef GL_ARM_mali_shader_binary
+#define GL_MALI_SHADER_BINARY_ARM                               0x8F60
+#endif
+
+/* GL_ARM_rgba8 */
+/* No new tokens introduced by this extension. */
+
+/*------------------------------------------------------------------------*
+ * EXT extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_EXT_blend_minmax */
+#ifndef GL_EXT_blend_minmax
+#define GL_MIN_EXT                                              0x8007
+#define GL_MAX_EXT                                              0x8008
+#endif
+
+/* GL_EXT_color_buffer_half_float */
+#ifndef GL_EXT_color_buffer_half_float
+#define GL_RGBA16F_EXT                                          0x881A
+#define GL_RGB16F_EXT                                           0x881B
+#define GL_RG16F_EXT                                            0x822F
+#define GL_R16F_EXT                                             0x822D
+#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT            0x8211
+#define GL_UNSIGNED_NORMALIZED_EXT                              0x8C17
+#endif
+
+/* GL_EXT_debug_label */
+#ifndef GL_EXT_debug_label
+#define GL_PROGRAM_PIPELINE_OBJECT_EXT                          0x8A4F
+#define GL_PROGRAM_OBJECT_EXT                                   0x8B40
+#define GL_SHADER_OBJECT_EXT                                    0x8B48
+#define GL_BUFFER_OBJECT_EXT                                    0x9151
+#define GL_QUERY_OBJECT_EXT                                     0x9153
+#define GL_VERTEX_ARRAY_OBJECT_EXT                              0x9154
+#endif
+
+/* GL_EXT_debug_marker */
+/* No new tokens introduced by this extension. */
+
+/* GL_EXT_discard_framebuffer */
+#ifndef GL_EXT_discard_framebuffer
+#define GL_COLOR_EXT                                            0x1800
+#define GL_DEPTH_EXT                                            0x1801
+#define GL_STENCIL_EXT                                          0x1802
+#endif
+
+#ifndef GL_EXT_disjoint_timer_query
+#define GL_QUERY_COUNTER_BITS_EXT                               0x8864
+#define GL_CURRENT_QUERY_EXT                                    0x8865
+#define GL_QUERY_RESULT_EXT                                     0x8866
+#define GL_QUERY_RESULT_AVAILABLE_EXT                           0x8867
+#define GL_TIME_ELAPSED_EXT                                     0x88BF
+#define GL_TIMESTAMP_EXT                                        0x8E28
+#define GL_GPU_DISJOINT_EXT                                     0x8FBB
+#endif
+
+#ifndef GL_EXT_draw_buffers
+#define GL_EXT_draw_buffers 1
+#define GL_MAX_COLOR_ATTACHMENTS_EXT                            0x8CDF
+#define GL_MAX_DRAW_BUFFERS_EXT                                 0x8824
+#define GL_DRAW_BUFFER0_EXT                                     0x8825
+#define GL_DRAW_BUFFER1_EXT                                     0x8826
+#define GL_DRAW_BUFFER2_EXT                                     0x8827
+#define GL_DRAW_BUFFER3_EXT                                     0x8828
+#define GL_DRAW_BUFFER4_EXT                                     0x8829
+#define GL_DRAW_BUFFER5_EXT                                     0x882A
+#define GL_DRAW_BUFFER6_EXT                                     0x882B
+#define GL_DRAW_BUFFER7_EXT                                     0x882C
+#define GL_DRAW_BUFFER8_EXT                                     0x882D
+#define GL_DRAW_BUFFER9_EXT                                     0x882E
+#define GL_DRAW_BUFFER10_EXT                                    0x882F
+#define GL_DRAW_BUFFER11_EXT                                    0x8830
+#define GL_DRAW_BUFFER12_EXT                                    0x8831
+#define GL_DRAW_BUFFER13_EXT                                    0x8832
+#define GL_DRAW_BUFFER14_EXT                                    0x8833
+#define GL_DRAW_BUFFER15_EXT                                    0x8834
+#define GL_COLOR_ATTACHMENT0_EXT                                0x8CE0
+#define GL_COLOR_ATTACHMENT1_EXT                                0x8CE1
+#define GL_COLOR_ATTACHMENT2_EXT                                0x8CE2
+#define GL_COLOR_ATTACHMENT3_EXT                                0x8CE3
+#define GL_COLOR_ATTACHMENT4_EXT                                0x8CE4
+#define GL_COLOR_ATTACHMENT5_EXT                                0x8CE5
+#define GL_COLOR_ATTACHMENT6_EXT                                0x8CE6
+#define GL_COLOR_ATTACHMENT7_EXT                                0x8CE7
+#define GL_COLOR_ATTACHMENT8_EXT                                0x8CE8
+#define GL_COLOR_ATTACHMENT9_EXT                                0x8CE9
+#define GL_COLOR_ATTACHMENT10_EXT                               0x8CEA
+#define GL_COLOR_ATTACHMENT11_EXT                               0x8CEB
+#define GL_COLOR_ATTACHMENT12_EXT                               0x8CEC
+#define GL_COLOR_ATTACHMENT13_EXT                               0x8CED
+#define GL_COLOR_ATTACHMENT14_EXT                               0x8CEE
+#define GL_COLOR_ATTACHMENT15_EXT                               0x8CEF
+#endif
+
+/* GL_EXT_map_buffer_range */
+#ifndef GL_EXT_map_buffer_range
+#define GL_MAP_READ_BIT_EXT                                     0x0001
+#define GL_MAP_WRITE_BIT_EXT                                    0x0002
+#define GL_MAP_INVALIDATE_RANGE_BIT_EXT                         0x0004
+#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT                        0x0008
+#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT                           0x0010
+#define GL_MAP_UNSYNCHRONIZED_BIT_EXT                           0x0020
+#endif
+
+/* GL_EXT_multisampled_render_to_texture */
+#ifndef GL_EXT_multisampled_render_to_texture
+#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT           0x8D6C
+/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */
+#define GL_RENDERBUFFER_SAMPLES_EXT                             0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT               0x8D56
+#define GL_MAX_SAMPLES_EXT                                      0x8D57
+#endif
+
+/* GL_EXT_multiview_draw_buffers */
+#ifndef GL_EXT_multiview_draw_buffers
+#define GL_COLOR_ATTACHMENT_EXT                                 0x90F0
+#define GL_MULTIVIEW_EXT                                        0x90F1
+#define GL_DRAW_BUFFER_EXT                                      0x0C01
+#define GL_READ_BUFFER_EXT                                      0x0C02
+#define GL_MAX_MULTIVIEW_BUFFERS_EXT                            0x90F2
+#endif
+
+/* GL_EXT_multi_draw_arrays */
+/* No new tokens introduced by this extension. */
+
+/* GL_EXT_occlusion_query_boolean */
+#ifndef GL_EXT_occlusion_query_boolean
+#define GL_ANY_SAMPLES_PASSED_EXT                               0x8C2F
+#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT                  0x8D6A
+#define GL_CURRENT_QUERY_EXT                                    0x8865
+#define GL_QUERY_RESULT_EXT                                     0x8866
+#define GL_QUERY_RESULT_AVAILABLE_EXT                           0x8867
+#endif
+
+/* GL_EXT_read_format_bgra */
+#ifndef GL_EXT_read_format_bgra
+#define GL_BGRA_EXT                                             0x80E1
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT                       0x8365
+#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT                       0x8366
+#endif
+
+/* GL_EXT_robustness */
+#ifndef GL_EXT_robustness
+/* reuse GL_NO_ERROR */
+#define GL_GUILTY_CONTEXT_RESET_EXT                             0x8253
+#define GL_INNOCENT_CONTEXT_RESET_EXT                           0x8254
+#define GL_UNKNOWN_CONTEXT_RESET_EXT                            0x8255
+#define GL_CONTEXT_ROBUST_ACCESS_EXT                            0x90F3
+#define GL_RESET_NOTIFICATION_STRATEGY_EXT                      0x8256
+#define GL_LOSE_CONTEXT_ON_RESET_EXT                            0x8252
+#define GL_NO_RESET_NOTIFICATION_EXT                            0x8261
+#endif
+
+/* GL_EXT_separate_shader_objects */
+#ifndef GL_EXT_separate_shader_objects
+#define GL_VERTEX_SHADER_BIT_EXT                                0x00000001
+#define GL_FRAGMENT_SHADER_BIT_EXT                              0x00000002
+#define GL_ALL_SHADER_BITS_EXT                                  0xFFFFFFFF
+#define GL_PROGRAM_SEPARABLE_EXT                                0x8258
+#define GL_ACTIVE_PROGRAM_EXT                                   0x8259
+#define GL_PROGRAM_PIPELINE_BINDING_EXT                         0x825A
+#endif
+
+/* GL_EXT_shader_framebuffer_fetch */
+#ifndef GL_EXT_shader_framebuffer_fetch
+#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT                 0x8A52
+#endif
+
+/* GL_EXT_shader_texture_lod */
+/* No new tokens introduced by this extension. */
+
+/* GL_EXT_shadow_samplers */
+#ifndef GL_EXT_shadow_samplers
+#define GL_TEXTURE_COMPARE_MODE_EXT                             0x884C
+#define GL_TEXTURE_COMPARE_FUNC_EXT                             0x884D
+#define GL_COMPARE_REF_TO_TEXTURE_EXT                           0x884E
+#define GL_SAMPLER_2D_SHADOW_EXT                                0x8B62
+#endif
+
+/* GL_EXT_sRGB */
+#ifndef GL_EXT_sRGB
+#define GL_SRGB_EXT                                             0x8C40
+#define GL_SRGB_ALPHA_EXT                                       0x8C42
+#define GL_SRGB8_ALPHA8_EXT                                     0x8C43
+#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT            0x8210
+#endif
+
+/* GL_EXT_sRGB_write_control */
+#ifndef GL_EXT_sRGB_write_control
+#define GL_EXT_sRGB_write_control 1
+#define GL_FRAMEBUFFER_SRGB_EXT                                 0x8DB9
+#endif
+
+/* GL_EXT_texture_compression_dxt1 */
+#ifndef GL_EXT_texture_compression_dxt1
+#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                         0x83F0
+#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                        0x83F1
+#endif
+
+/* GL_EXT_texture_filter_anisotropic */
+#ifndef GL_EXT_texture_filter_anisotropic
+#define GL_TEXTURE_MAX_ANISOTROPY_EXT                           0x84FE
+#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                       0x84FF
+#endif
+
+/* GL_EXT_texture_format_BGRA8888 */
+#ifndef GL_EXT_texture_format_BGRA8888
+#define GL_BGRA_EXT                                             0x80E1
+#endif
+
+/* GL_EXT_texture_rg */
+#ifndef GL_EXT_texture_rg
+#define GL_RED_EXT                                              0x1903
+#define GL_RG_EXT                                               0x8227
+#define GL_R8_EXT                                               0x8229
+#define GL_RG8_EXT                                              0x822B
+#endif
+
+/* GL_EXT_texture_sRGB_decode */
+#ifndef GL_EXT_texture_sRGB_decode
+#define GL_EXT_texture_sRGB_decode 1
+#define GL_TEXTURE_SRGB_DECODE_EXT                              0x8A48
+#define GL_DECODE_EXT                                           0x8A49
+#define GL_SKIP_DECODE_EXT                                      0x8A4A
+#endif
+
+/* GL_EXT_texture_storage */
+#ifndef GL_EXT_texture_storage
+#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT                         0x912F
+#define GL_ALPHA8_EXT                                           0x803C
+#define GL_LUMINANCE8_EXT                                       0x8040
+#define GL_LUMINANCE8_ALPHA8_EXT                                0x8045
+#define GL_RGBA32F_EXT                                          0x8814
+#define GL_RGB32F_EXT                                           0x8815
+#define GL_ALPHA32F_EXT                                         0x8816
+#define GL_LUMINANCE32F_EXT                                     0x8818
+#define GL_LUMINANCE_ALPHA32F_EXT                               0x8819
+/* reuse GL_RGBA16F_EXT */
+/* reuse GL_RGB16F_EXT */
+#define GL_ALPHA16F_EXT                                         0x881C
+#define GL_LUMINANCE16F_EXT                                     0x881E
+#define GL_LUMINANCE_ALPHA16F_EXT                               0x881F
+#define GL_RGB10_A2_EXT                                         0x8059
+#define GL_RGB10_EXT                                            0x8052
+#define GL_BGRA8_EXT                                            0x93A1
+#define GL_R8_EXT                                               0x8229
+#define GL_RG8_EXT                                              0x822B
+#define GL_R32F_EXT                                             0x822E
+#define GL_RG32F_EXT                                            0x8230
+#define GL_R16F_EXT                                             0x822D
+#define GL_RG16F_EXT                                            0x822F
+#endif
+
+/* GL_EXT_texture_type_2_10_10_10_REV */
+#ifndef GL_EXT_texture_type_2_10_10_10_REV
+#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT                      0x8368
+#endif
+
+/* GL_EXT_unpack_subimage */
+#ifndef GL_EXT_unpack_subimage
+#define GL_UNPACK_ROW_LENGTH_EXT                                0x0CF2
+#define GL_UNPACK_SKIP_ROWS_EXT                                 0x0CF3
+#define GL_UNPACK_SKIP_PIXELS_EXT                               0x0CF4
+#endif
+
+/*------------------------------------------------------------------------*
+ * DMP extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_DMP_shader_binary */
+#ifndef GL_DMP_shader_binary
+#define GL_SHADER_BINARY_DMP                                    0x9250
+#endif
+
+/*------------------------------------------------------------------------*
+ * FJ extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_FJ_shader_binary_GCCSO */
+#ifndef GL_FJ_shader_binary_GCCSO
+#define GL_GCCSO_SHADER_BINARY_FJ                               0x9260
+#endif
+
+/*------------------------------------------------------------------------*
+ * IMG extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_IMG_program_binary */
+#ifndef GL_IMG_program_binary
+#define GL_SGX_PROGRAM_BINARY_IMG                               0x9130
+#endif
+
+/* GL_IMG_read_format */
+#ifndef GL_IMG_read_format
+#define GL_BGRA_IMG                                             0x80E1
+#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG                       0x8365
+#endif
+
+/* GL_IMG_shader_binary */
+#ifndef GL_IMG_shader_binary
+#define GL_SGX_BINARY_IMG                                       0x8C0A
+#endif
+
+/* GL_IMG_texture_compression_pvrtc */
+#ifndef GL_IMG_texture_compression_pvrtc
+#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG                      0x8C00
+#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG                      0x8C01
+#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG                     0x8C02
+#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG                     0x8C03
+#endif
+
+/* GL_IMG_texture_compression_pvrtc2 */
+#ifndef GL_IMG_texture_compression_pvrtc2
+#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG                     0x9137
+#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG                     0x9138
+#endif
+
+/* GL_IMG_multisampled_render_to_texture */
+#ifndef GL_IMG_multisampled_render_to_texture
+#define GL_RENDERBUFFER_SAMPLES_IMG                             0x9133
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG               0x9134
+#define GL_MAX_SAMPLES_IMG                                      0x9135
+#define GL_TEXTURE_SAMPLES_IMG                                  0x9136
+#endif
+
+/*------------------------------------------------------------------------*
+ * NV extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_NV_coverage_sample */
+#ifndef GL_NV_coverage_sample
+#define GL_COVERAGE_COMPONENT_NV                                0x8ED0
+#define GL_COVERAGE_COMPONENT4_NV                               0x8ED1
+#define GL_COVERAGE_ATTACHMENT_NV                               0x8ED2
+#define GL_COVERAGE_BUFFERS_NV                                  0x8ED3
+#define GL_COVERAGE_SAMPLES_NV                                  0x8ED4
+#define GL_COVERAGE_ALL_FRAGMENTS_NV                            0x8ED5
+#define GL_COVERAGE_EDGE_FRAGMENTS_NV                           0x8ED6
+#define GL_COVERAGE_AUTOMATIC_NV                                0x8ED7
+#define GL_COVERAGE_BUFFER_BIT_NV                               0x00008000
+#endif
+
+/* GL_NV_depth_nonlinear */
+#ifndef GL_NV_depth_nonlinear
+#define GL_DEPTH_COMPONENT16_NONLINEAR_NV                       0x8E2C
+#endif
+
+/* GL_NV_draw_buffers */
+#ifndef GL_NV_draw_buffers
+#define GL_MAX_DRAW_BUFFERS_NV                                  0x8824
+#define GL_DRAW_BUFFER0_NV                                      0x8825
+#define GL_DRAW_BUFFER1_NV                                      0x8826
+#define GL_DRAW_BUFFER2_NV                                      0x8827
+#define GL_DRAW_BUFFER3_NV                                      0x8828
+#define GL_DRAW_BUFFER4_NV                                      0x8829
+#define GL_DRAW_BUFFER5_NV                                      0x882A
+#define GL_DRAW_BUFFER6_NV                                      0x882B
+#define GL_DRAW_BUFFER7_NV                                      0x882C
+#define GL_DRAW_BUFFER8_NV                                      0x882D
+#define GL_DRAW_BUFFER9_NV                                      0x882E
+#define GL_DRAW_BUFFER10_NV                                     0x882F
+#define GL_DRAW_BUFFER11_NV                                     0x8830
+#define GL_DRAW_BUFFER12_NV                                     0x8831
+#define GL_DRAW_BUFFER13_NV                                     0x8832
+#define GL_DRAW_BUFFER14_NV                                     0x8833
+#define GL_DRAW_BUFFER15_NV                                     0x8834
+#define GL_COLOR_ATTACHMENT0_NV                                 0x8CE0
+#define GL_COLOR_ATTACHMENT1_NV                                 0x8CE1
+#define GL_COLOR_ATTACHMENT2_NV                                 0x8CE2
+#define GL_COLOR_ATTACHMENT3_NV                                 0x8CE3
+#define GL_COLOR_ATTACHMENT4_NV                                 0x8CE4
+#define GL_COLOR_ATTACHMENT5_NV                                 0x8CE5
+#define GL_COLOR_ATTACHMENT6_NV                                 0x8CE6
+#define GL_COLOR_ATTACHMENT7_NV                                 0x8CE7
+#define GL_COLOR_ATTACHMENT8_NV                                 0x8CE8
+#define GL_COLOR_ATTACHMENT9_NV                                 0x8CE9
+#define GL_COLOR_ATTACHMENT10_NV                                0x8CEA
+#define GL_COLOR_ATTACHMENT11_NV                                0x8CEB
+#define GL_COLOR_ATTACHMENT12_NV                                0x8CEC
+#define GL_COLOR_ATTACHMENT13_NV                                0x8CED
+#define GL_COLOR_ATTACHMENT14_NV                                0x8CEE
+#define GL_COLOR_ATTACHMENT15_NV                                0x8CEF
+#endif
+
+/* GL_NV_draw_instanced */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_fbo_color_attachments */
+#ifndef GL_NV_fbo_color_attachments
+#define GL_MAX_COLOR_ATTACHMENTS_NV                             0x8CDF
+/* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */
+#endif
+
+/* GL_NV_fence */
+#ifndef GL_NV_fence
+#define GL_ALL_COMPLETED_NV                                     0x84F2
+#define GL_FENCE_STATUS_NV                                      0x84F3
+#define GL_FENCE_CONDITION_NV                                   0x84F4
+#endif
+
+/* GL_NV_framebuffer_blit */
+#ifndef GL_NV_framebuffer_blit
+#define GL_READ_FRAMEBUFFER_NV                                  0x8CA8
+#define GL_DRAW_FRAMEBUFFER_NV                                  0x8CA9
+#define GL_DRAW_FRAMEBUFFER_BINDING_NV                          0x8CA6
+#define GL_READ_FRAMEBUFFER_BINDING_NV                          0x8CAA
+#endif
+
+/* GL_NV_framebuffer_multisample */
+#ifndef GL_NV_framebuffer_multisample
+#define GL_RENDERBUFFER_SAMPLES_NV                              0x8CAB
+#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV                0x8D56
+#define GL_MAX_SAMPLES_NV                                       0x8D57
+#endif
+
+/* GL_NV_generate_mipmap_sRGB */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_instanced_arrays */
+#ifndef GL_NV_instanced_arrays
+#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV                       0x88FE
+#endif
+
+/* GL_NV_read_buffer */
+#ifndef GL_NV_read_buffer
+#define GL_READ_BUFFER_NV                                       0x0C02
+#endif
+
+/* GL_NV_read_buffer_front */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_read_depth */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_read_depth_stencil */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_read_stencil */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_shadow_samplers_array */
+#ifndef GL_NV_shadow_samplers_array
+#define GL_SAMPLER_2D_ARRAY_SHADOW_NV                           0x8DC4
+#endif
+
+/* GL_NV_shadow_samplers_cube */
+#ifndef GL_NV_shadow_samplers_cube
+#define GL_SAMPLER_CUBE_SHADOW_NV                               0x8DC5
+#endif
+
+/* GL_NV_sRGB_formats */
+#ifndef GL_NV_sRGB_formats
+#define GL_SLUMINANCE_NV                                        0x8C46
+#define GL_SLUMINANCE_ALPHA_NV                                  0x8C44
+#define GL_SRGB8_NV                                             0x8C41
+#define GL_SLUMINANCE8_NV                                       0x8C47
+#define GL_SLUMINANCE8_ALPHA8_NV                                0x8C45
+#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV                         0x8C4C
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV                   0x8C4D
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV                   0x8C4E
+#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV                   0x8C4F
+#define GL_ETC1_SRGB8_NV                                        0x88EE
+#endif
+
+/* GL_NV_texture_border_clamp */
+#ifndef GL_NV_texture_border_clamp
+#define GL_TEXTURE_BORDER_COLOR_NV                              0x1004
+#define GL_CLAMP_TO_BORDER_NV                                   0x812D
+#endif
+
+/* GL_NV_texture_compression_s3tc_update */
+/* No new tokens introduced by this extension. */
+
+/* GL_NV_texture_npot_2D_mipmap */
+/* No new tokens introduced by this extension. */
+
+/*------------------------------------------------------------------------*
+ * QCOM extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_QCOM_alpha_test */
+#ifndef GL_QCOM_alpha_test
+#define GL_ALPHA_TEST_QCOM                                      0x0BC0
+#define GL_ALPHA_TEST_FUNC_QCOM                                 0x0BC1
+#define GL_ALPHA_TEST_REF_QCOM                                  0x0BC2
+#endif
+
+/* GL_QCOM_binning_control */
+#ifndef GL_QCOM_binning_control
+#define GL_BINNING_CONTROL_HINT_QCOM                            0x8FB0
+#define GL_CPU_OPTIMIZED_QCOM                                   0x8FB1
+#define GL_GPU_OPTIMIZED_QCOM                                   0x8FB2
+#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM                    0x8FB3
+#endif
+
+/* GL_QCOM_driver_control */
+/* No new tokens introduced by this extension. */
+
+/* GL_QCOM_extended_get */
+#ifndef GL_QCOM_extended_get
+#define GL_TEXTURE_WIDTH_QCOM                                   0x8BD2
+#define GL_TEXTURE_HEIGHT_QCOM                                  0x8BD3
+#define GL_TEXTURE_DEPTH_QCOM                                   0x8BD4
+#define GL_TEXTURE_INTERNAL_FORMAT_QCOM                         0x8BD5
+#define GL_TEXTURE_FORMAT_QCOM                                  0x8BD6
+#define GL_TEXTURE_TYPE_QCOM                                    0x8BD7
+#define GL_TEXTURE_IMAGE_VALID_QCOM                             0x8BD8
+#define GL_TEXTURE_NUM_LEVELS_QCOM                              0x8BD9
+#define GL_TEXTURE_TARGET_QCOM                                  0x8BDA
+#define GL_TEXTURE_OBJECT_VALID_QCOM                            0x8BDB
+#define GL_STATE_RESTORE                                        0x8BDC
+#endif
+
+/* GL_QCOM_extended_get2 */
+/* No new tokens introduced by this extension. */
+
+/* GL_QCOM_perfmon_global_mode */
+#ifndef GL_QCOM_perfmon_global_mode
+#define GL_PERFMON_GLOBAL_MODE_QCOM                             0x8FA0
+#endif
+
+/* GL_QCOM_writeonly_rendering */
+#ifndef GL_QCOM_writeonly_rendering
+#define GL_WRITEONLY_RENDERING_QCOM                             0x8823
+#endif
+
+/* GL_QCOM_tiled_rendering */
+#ifndef GL_QCOM_tiled_rendering
+#define GL_COLOR_BUFFER_BIT0_QCOM                               0x00000001
+#define GL_COLOR_BUFFER_BIT1_QCOM                               0x00000002
+#define GL_COLOR_BUFFER_BIT2_QCOM                               0x00000004
+#define GL_COLOR_BUFFER_BIT3_QCOM                               0x00000008
+#define GL_COLOR_BUFFER_BIT4_QCOM                               0x00000010
+#define GL_COLOR_BUFFER_BIT5_QCOM                               0x00000020
+#define GL_COLOR_BUFFER_BIT6_QCOM                               0x00000040
+#define GL_COLOR_BUFFER_BIT7_QCOM                               0x00000080
+#define GL_DEPTH_BUFFER_BIT0_QCOM                               0x00000100
+#define GL_DEPTH_BUFFER_BIT1_QCOM                               0x00000200
+#define GL_DEPTH_BUFFER_BIT2_QCOM                               0x00000400
+#define GL_DEPTH_BUFFER_BIT3_QCOM                               0x00000800
+#define GL_DEPTH_BUFFER_BIT4_QCOM                               0x00001000
+#define GL_DEPTH_BUFFER_BIT5_QCOM                               0x00002000
+#define GL_DEPTH_BUFFER_BIT6_QCOM                               0x00004000
+#define GL_DEPTH_BUFFER_BIT7_QCOM                               0x00008000
+#define GL_STENCIL_BUFFER_BIT0_QCOM                             0x00010000
+#define GL_STENCIL_BUFFER_BIT1_QCOM                             0x00020000
+#define GL_STENCIL_BUFFER_BIT2_QCOM                             0x00040000
+#define GL_STENCIL_BUFFER_BIT3_QCOM                             0x00080000
+#define GL_STENCIL_BUFFER_BIT4_QCOM                             0x00100000
+#define GL_STENCIL_BUFFER_BIT5_QCOM                             0x00200000
+#define GL_STENCIL_BUFFER_BIT6_QCOM                             0x00400000
+#define GL_STENCIL_BUFFER_BIT7_QCOM                             0x00800000
+#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM                         0x01000000
+#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM                         0x02000000
+#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM                         0x04000000
+#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM                         0x08000000
+#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM                         0x10000000
+#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM                         0x20000000
+#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM                         0x40000000
+#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM                         0x80000000
+#endif
+
+/*------------------------------------------------------------------------*
+ * VIV extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_VIV_shader_binary */
+#ifndef GL_VIV_shader_binary
+#define GL_SHADER_BINARY_VIV                                    0x8FC4
+#endif
+
+/*------------------------------------------------------------------------*
+ * End of extension tokens, start of corresponding extension functions
+ *------------------------------------------------------------------------*/
+
+/*------------------------------------------------------------------------*
+ * OES extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_OES_compressed_ETC1_RGB8_texture */
+#ifndef GL_OES_compressed_ETC1_RGB8_texture
+#define GL_OES_compressed_ETC1_RGB8_texture 1
+#endif
+
+/* GL_OES_compressed_paletted_texture */
+#ifndef GL_OES_compressed_paletted_texture
+#define GL_OES_compressed_paletted_texture 1
+#endif
+
+/* GL_OES_depth24 */
+#ifndef GL_OES_depth24
+#define GL_OES_depth24 1
+#endif
+
+/* GL_OES_depth32 */
+#ifndef GL_OES_depth32
+#define GL_OES_depth32 1
+#endif
+
+/* GL_OES_depth_texture */
+#ifndef GL_OES_depth_texture
+#define GL_OES_depth_texture 1
+#endif
+
+/* GL_OES_EGL_image */
+#ifndef GL_OES_EGL_image
+#define GL_OES_EGL_image 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
+GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
+#endif
+typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
+typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
+#endif
+
+/* GL_OES_EGL_image_external */
+#ifndef GL_OES_EGL_image_external
+#define GL_OES_EGL_image_external 1
+/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */
+#endif
+
+/* GL_OES_element_index_uint */
+#ifndef GL_OES_element_index_uint
+#define GL_OES_element_index_uint 1
+#endif
+
+/* GL_OES_fbo_render_mipmap */
+#ifndef GL_OES_fbo_render_mipmap
+#define GL_OES_fbo_render_mipmap 1
+#endif
+
+/* GL_OES_fragment_precision_high */
+#ifndef GL_OES_fragment_precision_high
+#define GL_OES_fragment_precision_high 1
+#endif
+
+/* GL_OES_get_program_binary */
+#ifndef GL_OES_get_program_binary
+#define GL_OES_get_program_binary 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
+GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
+typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
+#endif
+
+/* GL_OES_mapbuffer */
+#ifndef GL_OES_mapbuffer
+#define GL_OES_mapbuffer 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
+GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
+GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid **params);
+#endif
+typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
+typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
+typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid **params);
+#endif
+
+/* GL_OES_packed_depth_stencil */
+#ifndef GL_OES_packed_depth_stencil
+#define GL_OES_packed_depth_stencil 1
+#endif
+
+/* GL_OES_required_internalformat */
+#ifndef GL_OES_required_internalformat
+#define GL_OES_required_internalformat 1
+#endif
+
+/* GL_OES_rgb8_rgba8 */
+#ifndef GL_OES_rgb8_rgba8
+#define GL_OES_rgb8_rgba8 1
+#endif
+
+/* GL_OES_standard_derivatives */
+#ifndef GL_OES_standard_derivatives
+#define GL_OES_standard_derivatives 1
+#endif
+
+/* GL_OES_stencil1 */
+#ifndef GL_OES_stencil1
+#define GL_OES_stencil1 1
+#endif
+
+/* GL_OES_stencil4 */
+#ifndef GL_OES_stencil4
+#define GL_OES_stencil4 1
+#endif
+
+#ifndef GL_OES_surfaceless_context
+#define GL_OES_surfaceless_context 1
+#endif
+
+/* GL_OES_texture_3D */
+#ifndef GL_OES_texture_3D
+#define GL_OES_texture_3D 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
+GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
+GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+#endif
+typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
+typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
+typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
+typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
+typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+#endif
+
+/* GL_OES_texture_float */
+#ifndef GL_OES_texture_float
+#define GL_OES_texture_float 1
+#endif
+
+/* GL_OES_texture_float_linear */
+#ifndef GL_OES_texture_float_linear
+#define GL_OES_texture_float_linear 1
+#endif
+
+/* GL_OES_texture_half_float */
+#ifndef GL_OES_texture_half_float
+#define GL_OES_texture_half_float 1
+#endif
+
+/* GL_OES_texture_half_float_linear */
+#ifndef GL_OES_texture_half_float_linear
+#define GL_OES_texture_half_float_linear 1
+#endif
+
+/* GL_OES_texture_npot */
+#ifndef GL_OES_texture_npot
+#define GL_OES_texture_npot 1
+#endif
+
+/* GL_OES_vertex_array_object */
+#ifndef GL_OES_vertex_array_object
+#define GL_OES_vertex_array_object 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
+GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
+GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
+GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
+#endif
+typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
+typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
+typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
+typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
+#endif
+
+/* GL_OES_vertex_half_float */
+#ifndef GL_OES_vertex_half_float
+#define GL_OES_vertex_half_float 1
+#endif
+
+/* GL_OES_vertex_type_10_10_10_2 */
+#ifndef GL_OES_vertex_type_10_10_10_2
+#define GL_OES_vertex_type_10_10_10_2 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * KHR extension functions
+ *------------------------------------------------------------------------*/
+
+#ifndef GL_KHR_debug
+#define GL_KHR_debug 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
+GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
+GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
+GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, GLvoid **params);
+#endif
+typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
+typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
+typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
+typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
+typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
+typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
+typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
+typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, GLvoid **params);
+#endif
+
+#ifndef GL_KHR_texture_compression_astc_ldr
+#define GL_KHR_texture_compression_astc_ldr 1
+#endif
+
+
+/*------------------------------------------------------------------------*
+ * AMD extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_AMD_compressed_3DC_texture */
+#ifndef GL_AMD_compressed_3DC_texture
+#define GL_AMD_compressed_3DC_texture 1
+#endif
+
+/* GL_AMD_compressed_ATC_texture */
+#ifndef GL_AMD_compressed_ATC_texture
+#define GL_AMD_compressed_ATC_texture 1
+#endif
+
+/* AMD_performance_monitor */
+#ifndef GL_AMD_performance_monitor
+#define GL_AMD_performance_monitor 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
+GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
+GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
+GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
+GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
+GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
+typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
+typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
+typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
+typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
+#endif
+
+/* GL_AMD_program_binary_Z400 */
+#ifndef GL_AMD_program_binary_Z400
+#define GL_AMD_program_binary_Z400 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * ANGLE extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_ANGLE_depth_texture */
+#ifndef GL_ANGLE_depth_texture
+#define GL_ANGLE_depth_texture 1
+#endif
+
+/* GL_ANGLE_framebuffer_blit */
+#ifndef GL_ANGLE_framebuffer_blit
+#define GL_ANGLE_framebuffer_blit 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+
+/* GL_ANGLE_framebuffer_multisample */
+#ifndef GL_ANGLE_framebuffer_multisample
+#define GL_ANGLE_framebuffer_multisample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+
+#ifndef GL_ANGLE_instanced_arrays
+#define GL_ANGLE_instanced_arrays 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
+#endif
+
+/* GL_ANGLE_pack_reverse_row_order */
+#ifndef GL_ANGLE_pack_reverse_row_order
+#define GL_ANGLE_pack_reverse_row_order 1
+#endif
+
+/* GL_ANGLE_program_binary */
+#ifndef GL_ANGLE_program_binary
+#define GL_ANGLE_program_binary 1
+#endif
+
+/* GL_ANGLE_texture_compression_dxt3 */
+#ifndef GL_ANGLE_texture_compression_dxt3
+#define GL_ANGLE_texture_compression_dxt3 1
+#endif
+
+/* GL_ANGLE_texture_compression_dxt5 */
+#ifndef GL_ANGLE_texture_compression_dxt5
+#define GL_ANGLE_texture_compression_dxt5 1
+#endif
+
+/* GL_ANGLE_texture_usage */
+#ifndef GL_ANGLE_texture_usage
+#define GL_ANGLE_texture_usage 1
+#endif
+
+#ifndef GL_ANGLE_translated_shader_source
+#define GL_ANGLE_translated_shader_source 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
+#endif
+
+/*------------------------------------------------------------------------*
+ * APPLE extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_APPLE_copy_texture_levels */
+#ifndef GL_APPLE_copy_texture_levels
+#define GL_APPLE_copy_texture_levels 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
+#endif
+typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
+#endif
+
+/* GL_APPLE_framebuffer_multisample */
+#ifndef GL_APPLE_framebuffer_multisample
+#define GL_APPLE_framebuffer_multisample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
+#endif /* GL_GLEXT_PROTOTYPES */
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
+#endif
+
+/* GL_APPLE_rgb_422 */
+#ifndef GL_APPLE_rgb_422
+#define GL_APPLE_rgb_422 1
+#endif
+
+/* GL_APPLE_sync */
+#ifndef GL_APPLE_sync
+#define GL_APPLE_sync 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
+GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
+GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
+GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
+GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
+GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+#endif
+typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
+typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
+typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
+typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
+typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
+typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+#endif
+
+/* GL_APPLE_texture_format_BGRA8888 */
+#ifndef GL_APPLE_texture_format_BGRA8888
+#define GL_APPLE_texture_format_BGRA8888 1
+#endif
+
+/* GL_APPLE_texture_max_level */
+#ifndef GL_APPLE_texture_max_level
+#define GL_APPLE_texture_max_level 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * ARM extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_ARM_mali_program_binary */
+#ifndef GL_ARM_mali_program_binary
+#define GL_ARM_mali_program_binary 1
+#endif
+
+/* GL_ARM_mali_shader_binary */
+#ifndef GL_ARM_mali_shader_binary
+#define GL_ARM_mali_shader_binary 1
+#endif
+
+/* GL_ARM_rgba8 */
+#ifndef GL_ARM_rgba8
+#define GL_ARM_rgba8 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * EXT extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_EXT_blend_minmax */
+#ifndef GL_EXT_blend_minmax
+#define GL_EXT_blend_minmax 1
+#endif
+
+/* GL_EXT_color_buffer_half_float */
+#ifndef GL_EXT_color_buffer_half_float
+#define GL_EXT_color_buffer_half_float 1
+#endif
+
+/* GL_EXT_debug_label */
+#ifndef GL_EXT_debug_label
+#define GL_EXT_debug_label 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
+typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
+#endif
+
+/* GL_EXT_debug_marker */
+#ifndef GL_EXT_debug_marker
+#define GL_EXT_debug_marker 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
+GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
+GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
+#endif
+typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
+typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
+#endif
+
+/* GL_EXT_discard_framebuffer */
+#ifndef GL_EXT_discard_framebuffer
+#define GL_EXT_discard_framebuffer 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+#endif
+typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
+#endif
+
+#ifndef GL_EXT_disjoint_timer_query
+#define GL_EXT_disjoint_timer_query 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
+GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
+GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
+GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
+GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
+GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
+GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
+GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
+#endif
+typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
+typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
+typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
+typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
+typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
+typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
+typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
+typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
+#endif /* GL_EXT_disjoint_timer_query */
+
+#ifndef GL_EXT_draw_buffers
+#define GL_EXT_draw_buffers 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
+#endif /* GL_EXT_draw_buffers */
+
+/* GL_EXT_map_buffer_range */
+#ifndef GL_EXT_map_buffer_range
+#define GL_EXT_map_buffer_range 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void* GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
+#endif
+typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
+#endif
+
+/* GL_EXT_multisampled_render_to_texture */
+#ifndef GL_EXT_multisampled_render_to_texture
+#define GL_EXT_multisampled_render_to_texture 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);             
+GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+
+/* GL_EXT_multiview_draw_buffers */
+#ifndef GL_EXT_multiview_draw_buffers
+#define GL_EXT_multiview_draw_buffers 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
+GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
+GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
+#endif
+typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
+typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
+typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
+#endif
+
+#ifndef GL_EXT_multi_draw_arrays
+#define GL_EXT_multi_draw_arrays 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
+#endif /* GL_GLEXT_PROTOTYPES */
+typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
+#endif
+
+/* GL_EXT_occlusion_query_boolean */
+#ifndef GL_EXT_occlusion_query_boolean
+#define GL_EXT_occlusion_query_boolean 1
+/* All entry points also exist in GL_EXT_disjoint_timer_query */
+#endif
+
+/* GL_EXT_read_format_bgra */
+#ifndef GL_EXT_read_format_bgra
+#define GL_EXT_read_format_bgra 1
+#endif
+
+/* GL_EXT_robustness */
+#ifndef GL_EXT_robustness
+#define GL_EXT_robustness 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
+GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
+GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+#endif
+typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
+typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
+typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
+typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
+#endif
+
+/* GL_EXT_separate_shader_objects */
+#ifndef GL_EXT_separate_shader_objects
+#define GL_EXT_separate_shader_objects 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
+GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
+GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
+GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
+GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
+GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
+GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
+GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
+GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint x);
+GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint x, GLint y);
+GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z);
+GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
+GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat x);
+GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat x, GLfloat y);
+GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
+GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
+GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
+GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+#endif
+typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
+typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
+typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
+typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
+typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
+typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
+typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
+typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
+typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint x);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint x, GLint y);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat x);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
+typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+#endif
+
+/* GL_EXT_shader_framebuffer_fetch */
+#ifndef GL_EXT_shader_framebuffer_fetch
+#define GL_EXT_shader_framebuffer_fetch 1
+#endif
+
+/* GL_EXT_shader_texture_lod */
+#ifndef GL_EXT_shader_texture_lod
+#define GL_EXT_shader_texture_lod 1
+#endif
+
+/* GL_EXT_shadow_samplers */
+#ifndef GL_EXT_shadow_samplers
+#define GL_EXT_shadow_samplers 1
+#endif
+
+/* GL_EXT_sRGB */
+#ifndef GL_EXT_sRGB
+#define GL_EXT_sRGB 1
+#endif
+
+/* GL_EXT_texture_compression_dxt1 */
+#ifndef GL_EXT_texture_compression_dxt1
+#define GL_EXT_texture_compression_dxt1 1
+#endif
+
+/* GL_EXT_texture_filter_anisotropic */
+#ifndef GL_EXT_texture_filter_anisotropic
+#define GL_EXT_texture_filter_anisotropic 1
+#endif
+
+/* GL_EXT_texture_format_BGRA8888 */
+#ifndef GL_EXT_texture_format_BGRA8888
+#define GL_EXT_texture_format_BGRA8888 1
+#endif
+
+/* GL_EXT_texture_rg */
+#ifndef GL_EXT_texture_rg
+#define GL_EXT_texture_rg 1
+#endif
+
+/* GL_EXT_texture_storage */
+#ifndef GL_EXT_texture_storage
+#define GL_EXT_texture_storage 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+#endif
+typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+#endif
+
+/* GL_EXT_texture_type_2_10_10_10_REV */
+#ifndef GL_EXT_texture_type_2_10_10_10_REV
+#define GL_EXT_texture_type_2_10_10_10_REV 1
+#endif
+
+/* GL_EXT_unpack_subimage */
+#ifndef GL_EXT_unpack_subimage
+#define GL_EXT_unpack_subimage 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * DMP extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_DMP_shader_binary */
+#ifndef GL_DMP_shader_binary
+#define GL_DMP_shader_binary 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * FJ extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_FJ_shader_binary_GCCSO */
+#ifndef GL_FJ_shader_binary_GCCSO
+#define GL_FJ_shader_binary_GCCSO 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * IMG extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_IMG_program_binary */
+#ifndef GL_IMG_program_binary
+#define GL_IMG_program_binary 1
+#endif
+
+/* GL_IMG_read_format */
+#ifndef GL_IMG_read_format
+#define GL_IMG_read_format 1
+#endif
+
+/* GL_IMG_shader_binary */
+#ifndef GL_IMG_shader_binary
+#define GL_IMG_shader_binary 1
+#endif
+
+/* GL_IMG_texture_compression_pvrtc */
+#ifndef GL_IMG_texture_compression_pvrtc
+#define GL_IMG_texture_compression_pvrtc 1
+#endif
+
+/* GL_IMG_texture_compression_pvrtc2 */
+#ifndef GL_IMG_texture_compression_pvrtc2
+#define GL_IMG_texture_compression_pvrtc2 1
+#endif
+
+/* GL_IMG_multisampled_render_to_texture */
+#ifndef GL_IMG_multisampled_render_to_texture
+#define GL_IMG_multisampled_render_to_texture 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+#endif
+
+/*------------------------------------------------------------------------*
+ * NV extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_NV_coverage_sample */
+#ifndef GL_NV_coverage_sample
+#define GL_NV_coverage_sample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
+GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
+#endif
+typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
+typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
+#endif
+
+/* GL_NV_depth_nonlinear */
+#ifndef GL_NV_depth_nonlinear
+#define GL_NV_depth_nonlinear 1
+#endif
+
+/* GL_NV_draw_buffers */
+#ifndef GL_NV_draw_buffers
+#define GL_NV_draw_buffers 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
+#endif
+
+/* GL_NV_draw_instanced */
+#ifndef GL_NV_draw_instanced
+#define GL_NV_draw_instanced 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
+#endif
+typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
+#endif
+
+/* GL_NV_fbo_color_attachments */
+#ifndef GL_NV_fbo_color_attachments
+#define GL_NV_fbo_color_attachments 1
+#endif
+
+/* GL_NV_fence */
+#ifndef GL_NV_fence
+#define GL_NV_fence 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
+GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
+GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
+GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
+GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
+GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
+#endif
+typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
+typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
+typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
+typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
+typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
+typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
+#endif
+
+/* GL_NV_framebuffer_blit */
+#ifndef GL_NV_framebuffer_blit
+#define GL_NV_framebuffer_blit 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+#endif
+
+/* GL_NV_framebuffer_multisample */
+#ifndef GL_NV_framebuffer_multisample
+#define GL_NV_framebuffer_multisample 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+#endif
+
+/* GL_NV_generate_mipmap_sRGB */
+#ifndef GL_NV_generate_mipmap_sRGB
+#define GL_NV_generate_mipmap_sRGB 1
+#endif
+
+/* GL_NV_instanced_arrays */
+#ifndef GL_NV_instanced_arrays
+#define GL_NV_instanced_arrays 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
+#endif
+typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
+#endif
+
+/* GL_NV_read_buffer */
+#ifndef GL_NV_read_buffer
+#define GL_NV_read_buffer 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
+#endif
+typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
+#endif
+
+/* GL_NV_read_buffer_front */
+#ifndef GL_NV_read_buffer_front
+#define GL_NV_read_buffer_front 1
+#endif
+
+/* GL_NV_read_depth */
+#ifndef GL_NV_read_depth
+#define GL_NV_read_depth 1
+#endif
+
+/* GL_NV_read_depth_stencil */
+#ifndef GL_NV_read_depth_stencil
+#define GL_NV_read_depth_stencil 1
+#endif
+
+/* GL_NV_read_stencil */
+#ifndef GL_NV_read_stencil
+#define GL_NV_read_stencil 1
+#endif
+
+/* GL_NV_shadow_samplers_array */
+#ifndef GL_NV_shadow_samplers_array
+#define GL_NV_shadow_samplers_array 1
+#endif
+
+/* GL_NV_shadow_samplers_cube */
+#ifndef GL_NV_shadow_samplers_cube
+#define GL_NV_shadow_samplers_cube 1
+#endif
+
+/* GL_NV_sRGB_formats */
+#ifndef GL_NV_sRGB_formats
+#define GL_NV_sRGB_formats 1
+#endif
+
+/* GL_NV_texture_border_clamp */
+#ifndef GL_NV_texture_border_clamp
+#define GL_NV_texture_border_clamp 1
+#endif
+
+/* GL_NV_texture_compression_s3tc_update */
+#ifndef GL_NV_texture_compression_s3tc_update
+#define GL_NV_texture_compression_s3tc_update 1
+#endif
+
+/* GL_NV_texture_npot_2D_mipmap */
+#ifndef GL_NV_texture_npot_2D_mipmap
+#define GL_NV_texture_npot_2D_mipmap 1
+#endif
+
+/*------------------------------------------------------------------------*
+ * QCOM extension functions
+ *------------------------------------------------------------------------*/
+
+/* GL_QCOM_alpha_test */
+#ifndef GL_QCOM_alpha_test
+#define GL_QCOM_alpha_test 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
+#endif
+typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
+#endif
+
+/* GL_QCOM_binning_control */
+#ifndef GL_QCOM_binning_control
+#define GL_QCOM_binning_control 1
+#endif
+
+/* GL_QCOM_driver_control */
+#ifndef GL_QCOM_driver_control
+#define GL_QCOM_driver_control 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
+GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
+GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
+GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
+#endif
+typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
+typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
+typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
+typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
+#endif
+
+/* GL_QCOM_extended_get */
+#ifndef GL_QCOM_extended_get
+#define GL_QCOM_extended_get 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
+GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
+GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
+GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
+GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
+GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
+GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params);
+#endif
+typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
+typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
+typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
+typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
+typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
+typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
+typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
+typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params);
+#endif
+
+/* GL_QCOM_extended_get2 */
+#ifndef GL_QCOM_extended_get2
+#define GL_QCOM_extended_get2 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
+GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
+GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
+GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
+#endif
+typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
+typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
+typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
+typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
+#endif
+
+/* GL_QCOM_perfmon_global_mode */
+#ifndef GL_QCOM_perfmon_global_mode
+#define GL_QCOM_perfmon_global_mode 1
+#endif
+
+/* GL_QCOM_writeonly_rendering */
+#ifndef GL_QCOM_writeonly_rendering
+#define GL_QCOM_writeonly_rendering 1
+#endif
+
+/* GL_QCOM_tiled_rendering */
+#ifndef GL_QCOM_tiled_rendering
+#define GL_QCOM_tiled_rendering 1
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
+GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
+#endif
+typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
+typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
+#endif
+
+/*------------------------------------------------------------------------*
+ * VIV extension tokens
+ *------------------------------------------------------------------------*/
+
+/* GL_VIV_shader_binary */
+#ifndef GL_VIV_shader_binary
+#define GL_VIV_shader_binary 1
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gl2ext_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2platform.h
@@ -1,0 +1,30 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/* Platform-specific types and definitions for OpenGL ES 2.X  gl2.h
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * You are encouraged to submit all modifications to the Khronos group so that
+ * they can be included in future versions of this file.  Please submit changes
+ * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+ * by filing a bug against product "OpenGL-ES" component "Registry".
+ */
+
+/*#include <KHR/khrplatform.h>*/
+
+#ifndef GL_APICALL
+#define GL_APICALL  KHRONOS_APICALL
+#endif
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __gl2platform_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_khrplatform.h
@@ -1,0 +1,282 @@
+#ifndef __khrplatform_h_
+#define __khrplatform_h_
+
+/*
+** Copyright (c) 2008-2009 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.
+*/
+
+/* Khronos platform-specific types and definitions.
+ *
+ * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $
+ *
+ * Adopters may modify this file to suit their platform. Adopters are
+ * encouraged to submit platform specific modifications to the Khronos
+ * group so that they can be included in future versions of this file.
+ * Please submit changes by sending them to the public Khronos Bugzilla
+ * (http://khronos.org/bugzilla) by filing a bug against product
+ * "Khronos (general)" component "Registry".
+ *
+ * A predefined template which fills in some of the bug fields can be
+ * reached using http://tinyurl.com/khrplatform-h-bugreport, but you
+ * must create a Bugzilla login first.
+ *
+ *
+ * See the Implementer's Guidelines for information about where this file
+ * should be located on your system and for more details of its use:
+ *    http://www.khronos.org/registry/implementers_guide.pdf
+ *
+ * This file should be included as
+ *        #include <KHR/khrplatform.h>
+ * by Khronos client API header files that use its types and defines.
+ *
+ * The types in khrplatform.h should only be used to define API-specific types.
+ *
+ * Types defined in khrplatform.h:
+ *    khronos_int8_t              signed   8  bit
+ *    khronos_uint8_t             unsigned 8  bit
+ *    khronos_int16_t             signed   16 bit
+ *    khronos_uint16_t            unsigned 16 bit
+ *    khronos_int32_t             signed   32 bit
+ *    khronos_uint32_t            unsigned 32 bit
+ *    khronos_int64_t             signed   64 bit
+ *    khronos_uint64_t            unsigned 64 bit
+ *    khronos_intptr_t            signed   same number of bits as a pointer
+ *    khronos_uintptr_t           unsigned same number of bits as a pointer
+ *    khronos_ssize_t             signed   size
+ *    khronos_usize_t             unsigned size
+ *    khronos_float_t             signed   32 bit floating point
+ *    khronos_time_ns_t           unsigned 64 bit time in nanoseconds
+ *    khronos_utime_nanoseconds_t unsigned time interval or absolute time in
+ *                                         nanoseconds
+ *    khronos_stime_nanoseconds_t signed time interval in nanoseconds
+ *    khronos_boolean_enum_t      enumerated boolean type. This should
+ *      only be used as a base type when a client API's boolean type is
+ *      an enum. Client APIs which use an integer or other type for
+ *      booleans cannot use this as the base type for their boolean.
+ *
+ * Tokens defined in khrplatform.h:
+ *
+ *    KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
+ *
+ *    KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
+ *    KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
+ *
+ * Calling convention macros defined in this file:
+ *    KHRONOS_APICALL
+ *    KHRONOS_APIENTRY
+ *    KHRONOS_APIATTRIBUTES
+ *
+ * These may be used in function prototypes as:
+ *
+ *      KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
+ *                                  int arg1,
+ *                                  int arg2) KHRONOS_APIATTRIBUTES;
+ */
+
+/*-------------------------------------------------------------------------
+ * Definition of KHRONOS_APICALL
+ *-------------------------------------------------------------------------
+ * This precedes the return type of the function in the function prototype.
+ */
+#if defined(_WIN32) && !defined(__SCITECH_SNAP__)
+#   define KHRONOS_APICALL __declspec(dllimport)
+#elif defined (__SYMBIAN32__)
+#   define KHRONOS_APICALL IMPORT_C
+#else
+#   define KHRONOS_APICALL
+#endif
+
+/*-------------------------------------------------------------------------
+ * Definition of KHRONOS_APIENTRY
+ *-------------------------------------------------------------------------
+ * This follows the return type of the function  and precedes the function
+ * name in the function prototype.
+ */
+#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
+    /* Win32 but not WinCE */
+#   define KHRONOS_APIENTRY __stdcall
+#else
+#   define KHRONOS_APIENTRY
+#endif
+
+/*-------------------------------------------------------------------------
+ * Definition of KHRONOS_APIATTRIBUTES
+ *-------------------------------------------------------------------------
+ * This follows the closing parenthesis of the function prototype arguments.
+ */
+#if defined (__ARMCC_2__)
+#define KHRONOS_APIATTRIBUTES __softfp
+#else
+#define KHRONOS_APIATTRIBUTES
+#endif
+
+/*-------------------------------------------------------------------------
+ * basic type definitions
+ *-----------------------------------------------------------------------*/
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
+
+
+/*
+ * Using <stdint.h>
+ */
+#include <stdint.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(__VMS ) || defined(__sgi)
+
+/*
+ * Using <inttypes.h>
+ */
+#include <inttypes.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
+
+/*
+ * Win32
+ */
+typedef __int32                 khronos_int32_t;
+typedef unsigned __int32        khronos_uint32_t;
+typedef __int64                 khronos_int64_t;
+typedef unsigned __int64        khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif defined(__sun__) || defined(__digital__)
+
+/*
+ * Sun or Digital
+ */
+typedef int                     khronos_int32_t;
+typedef unsigned int            khronos_uint32_t;
+#if defined(__arch64__) || defined(_LP64)
+typedef long int                khronos_int64_t;
+typedef unsigned long int       khronos_uint64_t;
+#else
+typedef long long int           khronos_int64_t;
+typedef unsigned long long int  khronos_uint64_t;
+#endif /* __arch64__ */
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#elif 0
+
+/*
+ * Hypothetical platform with no float or int64 support
+ */
+typedef int                     khronos_int32_t;
+typedef unsigned int            khronos_uint32_t;
+#define KHRONOS_SUPPORT_INT64   0
+#define KHRONOS_SUPPORT_FLOAT   0
+
+#else
+
+/*
+ * Generic fallback
+ */
+#include <stdint.h>
+typedef int32_t                 khronos_int32_t;
+typedef uint32_t                khronos_uint32_t;
+typedef int64_t                 khronos_int64_t;
+typedef uint64_t                khronos_uint64_t;
+#define KHRONOS_SUPPORT_INT64   1
+#define KHRONOS_SUPPORT_FLOAT   1
+
+#endif
+
+
+/*
+ * Types that are (so far) the same on all platforms
+ */
+typedef signed   char          khronos_int8_t;
+typedef unsigned char          khronos_uint8_t;
+typedef signed   short int     khronos_int16_t;
+typedef unsigned short int     khronos_uint16_t;
+
+/*
+ * Types that differ between LLP64 and LP64 architectures - in LLP64, 
+ * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
+ * to be the only LLP64 architecture in current use.
+ */
+#ifdef _WIN64
+typedef signed   long long int khronos_intptr_t;
+typedef unsigned long long int khronos_uintptr_t;
+typedef signed   long long int khronos_ssize_t;
+typedef unsigned long long int khronos_usize_t;
+#else
+typedef signed   long  int     khronos_intptr_t;
+typedef unsigned long  int     khronos_uintptr_t;
+typedef signed   long  int     khronos_ssize_t;
+typedef unsigned long  int     khronos_usize_t;
+#endif
+
+#if KHRONOS_SUPPORT_FLOAT
+/*
+ * Float type
+ */
+typedef          float         khronos_float_t;
+#endif
+
+#if KHRONOS_SUPPORT_INT64
+/* Time types
+ *
+ * These types can be used to represent a time interval in nanoseconds or
+ * an absolute Unadjusted System Time.  Unadjusted System Time is the number
+ * of nanoseconds since some arbitrary system event (e.g. since the last
+ * time the system booted).  The Unadjusted System Time is an unsigned
+ * 64 bit value that wraps back to 0 every 584 years.  Time intervals
+ * may be either signed or unsigned.
+ */
+typedef khronos_uint64_t       khronos_utime_nanoseconds_t;
+typedef khronos_int64_t        khronos_stime_nanoseconds_t;
+#endif
+
+/*
+ * Dummy value used to pad enum types to 32 bits.
+ */
+#ifndef KHRONOS_MAX_ENUM
+#define KHRONOS_MAX_ENUM 0x7FFFFFFF
+#endif
+
+/*
+ * Enumerated boolean type
+ *
+ * Values other than zero should be considered to be true.  Therefore
+ * comparisons should not be made against KHRONOS_TRUE.
+ */
+typedef enum {
+    KHRONOS_FALSE = 0,
+    KHRONOS_TRUE  = 1,
+    KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
+} khronos_boolean_enum_t;
+
+#endif /* __khrplatform_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_pixels.h
@@ -1,0 +1,470 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_pixels.h
+ *
+ *  Header for the enumerated pixel format definitions.
+ */
+
+#ifndef SDL_pixels_h_
+#define SDL_pixels_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_endian.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \name Transparency definitions
+ *
+ *  These define alpha as the opacity of a surface.
+ */
+/* @{ */
+#define SDL_ALPHA_OPAQUE 255
+#define SDL_ALPHA_TRANSPARENT 0
+/* @} */
+
+/** Pixel type. */
+enum
+{
+    SDL_PIXELTYPE_UNKNOWN,
+    SDL_PIXELTYPE_INDEX1,
+    SDL_PIXELTYPE_INDEX4,
+    SDL_PIXELTYPE_INDEX8,
+    SDL_PIXELTYPE_PACKED8,
+    SDL_PIXELTYPE_PACKED16,
+    SDL_PIXELTYPE_PACKED32,
+    SDL_PIXELTYPE_ARRAYU8,
+    SDL_PIXELTYPE_ARRAYU16,
+    SDL_PIXELTYPE_ARRAYU32,
+    SDL_PIXELTYPE_ARRAYF16,
+    SDL_PIXELTYPE_ARRAYF32
+};
+
+/** Bitmap pixel order, high bit -> low bit. */
+enum
+{
+    SDL_BITMAPORDER_NONE,
+    SDL_BITMAPORDER_4321,
+    SDL_BITMAPORDER_1234
+};
+
+/** Packed component order, high bit -> low bit. */
+enum
+{
+    SDL_PACKEDORDER_NONE,
+    SDL_PACKEDORDER_XRGB,
+    SDL_PACKEDORDER_RGBX,
+    SDL_PACKEDORDER_ARGB,
+    SDL_PACKEDORDER_RGBA,
+    SDL_PACKEDORDER_XBGR,
+    SDL_PACKEDORDER_BGRX,
+    SDL_PACKEDORDER_ABGR,
+    SDL_PACKEDORDER_BGRA
+};
+
+/** Array component order, low byte -> high byte. */
+/* !!! FIXME: in 2.1, make these not overlap differently with
+   !!! FIXME:  SDL_PACKEDORDER_*, so we can simplify SDL_ISPIXELFORMAT_ALPHA */
+enum
+{
+    SDL_ARRAYORDER_NONE,
+    SDL_ARRAYORDER_RGB,
+    SDL_ARRAYORDER_RGBA,
+    SDL_ARRAYORDER_ARGB,
+    SDL_ARRAYORDER_BGR,
+    SDL_ARRAYORDER_BGRA,
+    SDL_ARRAYORDER_ABGR
+};
+
+/** Packed component layout. */
+enum
+{
+    SDL_PACKEDLAYOUT_NONE,
+    SDL_PACKEDLAYOUT_332,
+    SDL_PACKEDLAYOUT_4444,
+    SDL_PACKEDLAYOUT_1555,
+    SDL_PACKEDLAYOUT_5551,
+    SDL_PACKEDLAYOUT_565,
+    SDL_PACKEDLAYOUT_8888,
+    SDL_PACKEDLAYOUT_2101010,
+    SDL_PACKEDLAYOUT_1010102
+};
+
+#define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D)
+
+#define SDL_DEFINE_PIXELFORMAT(type, order, layout, bits, bytes) \
+    ((1 << 28) | ((type) << 24) | ((order) << 20) | ((layout) << 16) | \
+     ((bits) << 8) | ((bytes) << 0))
+
+#define SDL_PIXELFLAG(X)    (((X) >> 28) & 0x0F)
+#define SDL_PIXELTYPE(X)    (((X) >> 24) & 0x0F)
+#define SDL_PIXELORDER(X)   (((X) >> 20) & 0x0F)
+#define SDL_PIXELLAYOUT(X)  (((X) >> 16) & 0x0F)
+#define SDL_BITSPERPIXEL(X) (((X) >> 8) & 0xFF)
+#define SDL_BYTESPERPIXEL(X) \
+    (SDL_ISPIXELFORMAT_FOURCC(X) ? \
+        ((((X) == SDL_PIXELFORMAT_YUY2) || \
+          ((X) == SDL_PIXELFORMAT_UYVY) || \
+          ((X) == SDL_PIXELFORMAT_YVYU)) ? 2 : 1) : (((X) >> 0) & 0xFF))
+
+#define SDL_ISPIXELFORMAT_INDEXED(format)   \
+    (!SDL_ISPIXELFORMAT_FOURCC(format) && \
+     ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX1) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX4) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX8)))
+
+#define SDL_ISPIXELFORMAT_PACKED(format) \
+    (!SDL_ISPIXELFORMAT_FOURCC(format) && \
+     ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED8) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED16) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED32)))
+
+#define SDL_ISPIXELFORMAT_ARRAY(format) \
+    (!SDL_ISPIXELFORMAT_FOURCC(format) && \
+     ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU8) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU16) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU32) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF16) || \
+      (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF32)))
+
+#define SDL_ISPIXELFORMAT_ALPHA(format)   \
+    ((SDL_ISPIXELFORMAT_PACKED(format) && \
+     ((SDL_PIXELORDER(format) == SDL_PACKEDORDER_ARGB) || \
+      (SDL_PIXELORDER(format) == SDL_PACKEDORDER_RGBA) || \
+      (SDL_PIXELORDER(format) == SDL_PACKEDORDER_ABGR) || \
+      (SDL_PIXELORDER(format) == SDL_PACKEDORDER_BGRA))) || \
+    (SDL_ISPIXELFORMAT_ARRAY(format) && \
+     ((SDL_PIXELORDER(format) == SDL_ARRAYORDER_ARGB) || \
+      (SDL_PIXELORDER(format) == SDL_ARRAYORDER_RGBA) || \
+      (SDL_PIXELORDER(format) == SDL_ARRAYORDER_ABGR) || \
+      (SDL_PIXELORDER(format) == SDL_ARRAYORDER_BGRA))))
+
+/* The flag is set to 1 because 0x1? is not in the printable ASCII range */
+#define SDL_ISPIXELFORMAT_FOURCC(format)    \
+    ((format) && (SDL_PIXELFLAG(format) != 1))
+
+/* Note: If you modify this list, update SDL_GetPixelFormatName() */
+typedef enum
+{
+    SDL_PIXELFORMAT_UNKNOWN,
+    SDL_PIXELFORMAT_INDEX1LSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0,
+                               1, 0),
+    SDL_PIXELFORMAT_INDEX1MSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_1234, 0,
+                               1, 0),
+    SDL_PIXELFORMAT_INDEX4LSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0,
+                               4, 0),
+    SDL_PIXELFORMAT_INDEX4MSB =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0,
+                               4, 0),
+    SDL_PIXELFORMAT_INDEX8 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
+    SDL_PIXELFORMAT_RGB332 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_332, 8, 1),
+    SDL_PIXELFORMAT_RGB444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_4444, 12, 2),
+    SDL_PIXELFORMAT_RGB555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_1555, 15, 2),
+    SDL_PIXELFORMAT_BGR555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR,
+                               SDL_PACKEDLAYOUT_1555, 15, 2),
+    SDL_PIXELFORMAT_ARGB4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_RGBA4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_ABGR4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_BGRA4444 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA,
+                               SDL_PACKEDLAYOUT_4444, 16, 2),
+    SDL_PIXELFORMAT_ARGB1555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_1555, 16, 2),
+    SDL_PIXELFORMAT_RGBA5551 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA,
+                               SDL_PACKEDLAYOUT_5551, 16, 2),
+    SDL_PIXELFORMAT_ABGR1555 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR,
+                               SDL_PACKEDLAYOUT_1555, 16, 2),
+    SDL_PIXELFORMAT_BGRA5551 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA,
+                               SDL_PACKEDLAYOUT_5551, 16, 2),
+    SDL_PIXELFORMAT_RGB565 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_565, 16, 2),
+    SDL_PIXELFORMAT_BGR565 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR,
+                               SDL_PACKEDLAYOUT_565, 16, 2),
+    SDL_PIXELFORMAT_RGB24 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_RGB, 0,
+                               24, 3),
+    SDL_PIXELFORMAT_BGR24 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_BGR, 0,
+                               24, 3),
+    SDL_PIXELFORMAT_RGB888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XRGB,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_RGBX8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBX,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_BGR888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XBGR,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_BGRX8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRX,
+                               SDL_PACKEDLAYOUT_8888, 24, 4),
+    SDL_PIXELFORMAT_ARGB8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_RGBA8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBA,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_ABGR8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ABGR,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_BGRA8888 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRA,
+                               SDL_PACKEDLAYOUT_8888, 32, 4),
+    SDL_PIXELFORMAT_ARGB2101010 =
+        SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB,
+                               SDL_PACKEDLAYOUT_2101010, 32, 4),
+
+    /* Aliases for RGBA byte arrays of color data, for the current platform */
+#if SDL_BYTEORDER == SDL_BIG_ENDIAN
+    SDL_PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_RGBA8888,
+    SDL_PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_ARGB8888,
+    SDL_PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_BGRA8888,
+    SDL_PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_ABGR8888,
+#else
+    SDL_PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_ABGR8888,
+    SDL_PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_BGRA8888,
+    SDL_PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_ARGB8888,
+    SDL_PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_RGBA8888,
+#endif
+
+    SDL_PIXELFORMAT_YV12 =      /**< Planar mode: Y + V + U  (3 planes) */
+        SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'),
+    SDL_PIXELFORMAT_IYUV =      /**< Planar mode: Y + U + V  (3 planes) */
+        SDL_DEFINE_PIXELFOURCC('I', 'Y', 'U', 'V'),
+    SDL_PIXELFORMAT_YUY2 =      /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */
+        SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'),
+    SDL_PIXELFORMAT_UYVY =      /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */
+        SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'),
+    SDL_PIXELFORMAT_YVYU =      /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
+        SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'),
+    SDL_PIXELFORMAT_NV12 =      /**< Planar mode: Y + U/V interleaved  (2 planes) */
+        SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'),
+    SDL_PIXELFORMAT_NV21 =      /**< Planar mode: Y + V/U interleaved  (2 planes) */
+        SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1'),
+    SDL_PIXELFORMAT_EXTERNAL_OES =      /**< Android video texture format */
+        SDL_DEFINE_PIXELFOURCC('O', 'E', 'S', ' ')
+} SDL_PixelFormatEnum;
+
+typedef struct SDL_Color
+{
+    Uint8 r;
+    Uint8 g;
+    Uint8 b;
+    Uint8 a;
+} SDL_Color;
+#define SDL_Colour SDL_Color
+
+typedef struct SDL_Palette
+{
+    int ncolors;
+    SDL_Color *colors;
+    Uint32 version;
+    int refcount;
+} SDL_Palette;
+
+/**
+ *  \note Everything in the pixel format structure is read-only.
+ */
+typedef struct SDL_PixelFormat
+{
+    Uint32 format;
+    SDL_Palette *palette;
+    Uint8 BitsPerPixel;
+    Uint8 BytesPerPixel;
+    Uint8 padding[2];
+    Uint32 Rmask;
+    Uint32 Gmask;
+    Uint32 Bmask;
+    Uint32 Amask;
+    Uint8 Rloss;
+    Uint8 Gloss;
+    Uint8 Bloss;
+    Uint8 Aloss;
+    Uint8 Rshift;
+    Uint8 Gshift;
+    Uint8 Bshift;
+    Uint8 Ashift;
+    int refcount;
+    struct SDL_PixelFormat *next;
+} SDL_PixelFormat;
+
+/**
+ * \brief Get the human readable name of a pixel format
+ */
+extern DECLSPEC const char* SDLCALL SDL_GetPixelFormatName(Uint32 format);
+
+/**
+ *  \brief Convert one of the enumerated pixel formats to a bpp and RGBA masks.
+ *
+ *  \return SDL_TRUE, or SDL_FALSE if the conversion wasn't possible.
+ *
+ *  \sa SDL_MasksToPixelFormatEnum()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_PixelFormatEnumToMasks(Uint32 format,
+                                                            int *bpp,
+                                                            Uint32 * Rmask,
+                                                            Uint32 * Gmask,
+                                                            Uint32 * Bmask,
+                                                            Uint32 * Amask);
+
+/**
+ *  \brief Convert a bpp and RGBA masks to an enumerated pixel format.
+ *
+ *  \return The pixel format, or ::SDL_PIXELFORMAT_UNKNOWN if the conversion
+ *          wasn't possible.
+ *
+ *  \sa SDL_PixelFormatEnumToMasks()
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_MasksToPixelFormatEnum(int bpp,
+                                                          Uint32 Rmask,
+                                                          Uint32 Gmask,
+                                                          Uint32 Bmask,
+                                                          Uint32 Amask);
+
+/**
+ *  \brief Create an SDL_PixelFormat structure from a pixel format enum.
+ */
+extern DECLSPEC SDL_PixelFormat * SDLCALL SDL_AllocFormat(Uint32 pixel_format);
+
+/**
+ *  \brief Free an SDL_PixelFormat structure.
+ */
+extern DECLSPEC void SDLCALL SDL_FreeFormat(SDL_PixelFormat *format);
+
+/**
+ *  \brief Create a palette structure with the specified number of color
+ *         entries.
+ *
+ *  \return A new palette, or NULL if there wasn't enough memory.
+ *
+ *  \note The palette entries are initialized to white.
+ *
+ *  \sa SDL_FreePalette()
+ */
+extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors);
+
+/**
+ *  \brief Set the palette for a pixel format structure.
+ */
+extern DECLSPEC int SDLCALL SDL_SetPixelFormatPalette(SDL_PixelFormat * format,
+                                                      SDL_Palette *palette);
+
+/**
+ *  \brief Set a range of colors in a palette.
+ *
+ *  \param palette    The palette to modify.
+ *  \param colors     An array of colors to copy into the palette.
+ *  \param firstcolor The index of the first palette entry to modify.
+ *  \param ncolors    The number of entries to modify.
+ *
+ *  \return 0 on success, or -1 if not all of the colors could be set.
+ */
+extern DECLSPEC int SDLCALL SDL_SetPaletteColors(SDL_Palette * palette,
+                                                 const SDL_Color * colors,
+                                                 int firstcolor, int ncolors);
+
+/**
+ *  \brief Free a palette created with SDL_AllocPalette().
+ *
+ *  \sa SDL_AllocPalette()
+ */
+extern DECLSPEC void SDLCALL SDL_FreePalette(SDL_Palette * palette);
+
+/**
+ *  \brief Maps an RGB triple to an opaque pixel value for a given pixel format.
+ *
+ *  \sa SDL_MapRGBA
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_MapRGB(const SDL_PixelFormat * format,
+                                          Uint8 r, Uint8 g, Uint8 b);
+
+/**
+ *  \brief Maps an RGBA quadruple to a pixel value for a given pixel format.
+ *
+ *  \sa SDL_MapRGB
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_MapRGBA(const SDL_PixelFormat * format,
+                                           Uint8 r, Uint8 g, Uint8 b,
+                                           Uint8 a);
+
+/**
+ *  \brief Get the RGB components from a pixel of the specified format.
+ *
+ *  \sa SDL_GetRGBA
+ */
+extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel,
+                                        const SDL_PixelFormat * format,
+                                        Uint8 * r, Uint8 * g, Uint8 * b);
+
+/**
+ *  \brief Get the RGBA components from a pixel of the specified format.
+ *
+ *  \sa SDL_GetRGB
+ */
+extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel,
+                                         const SDL_PixelFormat * format,
+                                         Uint8 * r, Uint8 * g, Uint8 * b,
+                                         Uint8 * a);
+
+/**
+ *  \brief Calculate a 256 entry gamma ramp for a gamma value.
+ */
+extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_pixels_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_platform.h
@@ -1,0 +1,198 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_platform.h
+ *
+ *  Try to get a standard set of platform defines.
+ */
+
+#ifndef SDL_platform_h_
+#define SDL_platform_h_
+
+#if defined(_AIX)
+#undef __AIX__
+#define __AIX__     1
+#endif
+#if defined(__HAIKU__)
+#undef __HAIKU__
+#define __HAIKU__   1
+#endif
+#if defined(bsdi) || defined(__bsdi) || defined(__bsdi__)
+#undef __BSDI__
+#define __BSDI__    1
+#endif
+#if defined(_arch_dreamcast)
+#undef __DREAMCAST__
+#define __DREAMCAST__   1
+#endif
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+#undef __FREEBSD__
+#define __FREEBSD__ 1
+#endif
+#if defined(hpux) || defined(__hpux) || defined(__hpux__)
+#undef __HPUX__
+#define __HPUX__    1
+#endif
+#if defined(sgi) || defined(__sgi) || defined(__sgi__) || defined(_SGI_SOURCE)
+#undef __IRIX__
+#define __IRIX__    1
+#endif
+#if (defined(linux) || defined(__linux) || defined(__linux__))
+#undef __LINUX__
+#define __LINUX__   1
+#endif
+#if defined(ANDROID) || defined(__ANDROID__)
+#undef __ANDROID__
+#undef __LINUX__ /* do we need to do this? */
+#define __ANDROID__ 1
+#endif
+
+#if defined(__APPLE__)
+/* lets us know what version of Mac OS X we're compiling on */
+#include "AvailabilityMacros.h"
+#include "TargetConditionals.h"
+#if TARGET_OS_TV
+#undef __TVOS__
+#define __TVOS__ 1
+#endif
+#if TARGET_OS_IPHONE
+/* if compiling for iOS */
+#undef __IPHONEOS__
+#define __IPHONEOS__ 1
+#undef __MACOSX__
+#else
+/* if not compiling for iOS */
+#undef __MACOSX__
+#define __MACOSX__  1
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+# error SDL for Mac OS X only supports deploying on 10.6 and above.
+#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
+#endif /* TARGET_OS_IPHONE */
+#endif /* defined(__APPLE__) */
+
+#if defined(__NetBSD__)
+#undef __NETBSD__
+#define __NETBSD__  1
+#endif
+#if defined(__OpenBSD__)
+#undef __OPENBSD__
+#define __OPENBSD__ 1
+#endif
+#if defined(__OS2__) || defined(__EMX__)
+#undef __OS2__
+#define __OS2__     1
+#endif
+#if defined(osf) || defined(__osf) || defined(__osf__) || defined(_OSF_SOURCE)
+#undef __OSF__
+#define __OSF__     1
+#endif
+#if defined(__QNXNTO__)
+#undef __QNXNTO__
+#define __QNXNTO__  1
+#endif
+#if defined(riscos) || defined(__riscos) || defined(__riscos__)
+#undef __RISCOS__
+#define __RISCOS__  1
+#endif
+#if defined(__sun) && defined(__SVR4)
+#undef __SOLARIS__
+#define __SOLARIS__ 1
+#endif
+
+#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
+/* Try to find out if we're compiling for WinRT or non-WinRT */
+#if defined(_MSC_VER) && defined(__has_include)
+#if __has_include(<winapifamily.h>)
+#define HAVE_WINAPIFAMILY_H 1
+#else
+#define HAVE_WINAPIFAMILY_H 0
+#endif
+
+/* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */
+#elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */
+#define HAVE_WINAPIFAMILY_H 1
+#else
+#define HAVE_WINAPIFAMILY_H 0
+#endif
+
+#if HAVE_WINAPIFAMILY_H
+#include <winapifamily.h>
+#define WINAPI_FAMILY_WINRT (!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP))
+#else
+#define WINAPI_FAMILY_WINRT 0
+#endif /* HAVE_WINAPIFAMILY_H */
+
+#if WINAPI_FAMILY_WINRT
+#undef __WINRT__
+#define __WINRT__ 1
+#else
+#undef __WINDOWS__
+#define __WINDOWS__ 1
+#endif
+#endif /* defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) */
+
+#if defined(__WINDOWS__)
+#undef __WIN32__
+#define __WIN32__ 1
+#endif
+#if defined(__PSP__)
+#undef __PSP__
+#define __PSP__ 1
+#endif
+
+/* The NACL compiler defines __native_client__ and __pnacl__
+ * Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
+ */
+#if defined(__native_client__)
+#undef __LINUX__
+#undef __NACL__
+#define __NACL__ 1
+#endif
+#if defined(__pnacl__)
+#undef __LINUX__
+#undef __PNACL__
+#define __PNACL__ 1
+/* PNACL with newlib supports static linking only */
+#define __SDL_NOGETPROCADDR__
+#endif
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Gets the name of the platform.
+ */
+extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_platform_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_power.h
@@ -1,0 +1,75 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_power_h_
+#define SDL_power_h_
+
+/**
+ *  \file SDL_power.h
+ *
+ *  Header for the SDL power management routines.
+ */
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief The basic state for the system's power supply.
+ */
+typedef enum
+{
+    SDL_POWERSTATE_UNKNOWN,      /**< cannot determine power status */
+    SDL_POWERSTATE_ON_BATTERY,   /**< Not plugged in, running on the battery */
+    SDL_POWERSTATE_NO_BATTERY,   /**< Plugged in, no battery available */
+    SDL_POWERSTATE_CHARGING,     /**< Plugged in, charging battery */
+    SDL_POWERSTATE_CHARGED       /**< Plugged in, battery charged */
+} SDL_PowerState;
+
+
+/**
+ *  \brief Get the current power supply details.
+ *
+ *  \param secs Seconds of battery life left. You can pass a NULL here if
+ *              you don't care. Will return -1 if we can't determine a
+ *              value, or we're not running on a battery.
+ *
+ *  \param pct Percentage of battery life left, between 0 and 100. You can
+ *             pass a NULL here if you don't care. Will return -1 if we
+ *             can't determine a value, or we're not running on a battery.
+ *
+ *  \return The state of the battery (if any).
+ */
+extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_power_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_quit.h
@@ -1,0 +1,58 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_quit.h
+ *
+ *  Include file for SDL quit event handling.
+ */
+
+#ifndef SDL_quit_h_
+#define SDL_quit_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+/**
+ *  \file SDL_quit.h
+ *
+ *  An ::SDL_QUIT event is generated when the user tries to close the application
+ *  window.  If it is ignored or filtered out, the window will remain open.
+ *  If it is not ignored or filtered, it is queued normally and the window
+ *  is allowed to close.  When the window is closed, screen updates will
+ *  complete, but have no effect.
+ *
+ *  SDL_Init() installs signal handlers for SIGINT (keyboard interrupt)
+ *  and SIGTERM (system termination request), if handlers do not already
+ *  exist, that generate ::SDL_QUIT events as well.  There is no way
+ *  to determine the cause of an ::SDL_QUIT event, but setting a signal
+ *  handler in your application will override the default generation of
+ *  quit events for that signal.
+ *
+ *  \sa SDL_Quit()
+ */
+
+/* There are no functions directly affecting the quit event */
+
+#define SDL_QuitRequested() \
+        (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0))
+
+#endif /* SDL_quit_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_rect.h
@@ -1,0 +1,174 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_rect.h
+ *
+ *  Header file for SDL_rect definition and management functions.
+ */
+
+#ifndef SDL_rect_h_
+#define SDL_rect_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_pixels.h"
+#include "SDL_rwops.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief  The structure that defines a point (integer)
+ *
+ *  \sa SDL_EnclosePoints
+ *  \sa SDL_PointInRect
+ */
+typedef struct SDL_Point
+{
+    int x;
+    int y;
+} SDL_Point;
+
+/**
+ *  \brief  The structure that defines a point (floating point)
+ *
+ *  \sa SDL_EnclosePoints
+ *  \sa SDL_PointInRect
+ */
+typedef struct SDL_FPoint
+{
+    float x;
+    float y;
+} SDL_FPoint;
+
+
+/**
+ *  \brief A rectangle, with the origin at the upper left (integer).
+ *
+ *  \sa SDL_RectEmpty
+ *  \sa SDL_RectEquals
+ *  \sa SDL_HasIntersection
+ *  \sa SDL_IntersectRect
+ *  \sa SDL_UnionRect
+ *  \sa SDL_EnclosePoints
+ */
+typedef struct SDL_Rect
+{
+    int x, y;
+    int w, h;
+} SDL_Rect;
+
+
+/**
+ *  \brief A rectangle, with the origin at the upper left (floating point).
+ */
+typedef struct SDL_FRect
+{
+    float x;
+    float y;
+    float w;
+    float h;
+} SDL_FRect;
+
+
+/**
+ *  \brief Returns true if point resides inside a rectangle.
+ */
+SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r)
+{
+    return ( (p->x >= r->x) && (p->x < (r->x + r->w)) &&
+             (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE;
+}
+
+/**
+ *  \brief Returns true if the rectangle has no area.
+ */
+SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r)
+{
+    return ((!r) || (r->w <= 0) || (r->h <= 0)) ? SDL_TRUE : SDL_FALSE;
+}
+
+/**
+ *  \brief Returns true if the two rectangles are equal.
+ */
+SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b)
+{
+    return (a && b && (a->x == b->x) && (a->y == b->y) &&
+            (a->w == b->w) && (a->h == b->h)) ? SDL_TRUE : SDL_FALSE;
+}
+
+/**
+ *  \brief Determine whether two rectangles intersect.
+ *
+ *  \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersection(const SDL_Rect * A,
+                                                     const SDL_Rect * B);
+
+/**
+ *  \brief Calculate the intersection of two rectangles.
+ *
+ *  \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A,
+                                                   const SDL_Rect * B,
+                                                   SDL_Rect * result);
+
+/**
+ *  \brief Calculate the union of two rectangles.
+ */
+extern DECLSPEC void SDLCALL SDL_UnionRect(const SDL_Rect * A,
+                                           const SDL_Rect * B,
+                                           SDL_Rect * result);
+
+/**
+ *  \brief Calculate a minimal rectangle enclosing a set of points
+ *
+ *  \return SDL_TRUE if any points were within the clipping rect
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_EnclosePoints(const SDL_Point * points,
+                                                   int count,
+                                                   const SDL_Rect * clip,
+                                                   SDL_Rect * result);
+
+/**
+ *  \brief Calculate the intersection of a rectangle and line segment.
+ *
+ *  \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect *
+                                                          rect, int *X1,
+                                                          int *Y1, int *X2,
+                                                          int *Y2);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_rect_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_render.h
@@ -1,0 +1,1098 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_render.h
+ *
+ *  Header file for SDL 2D rendering functions.
+ *
+ *  This API supports the following features:
+ *      * single pixel points
+ *      * single pixel lines
+ *      * filled rectangles
+ *      * texture images
+ *
+ *  The primitives may be drawn in opaque, blended, or additive modes.
+ *
+ *  The texture images may be drawn in opaque, blended, or additive modes.
+ *  They can have an additional color tint or alpha modulation applied to
+ *  them, and may also be stretched with linear interpolation.
+ *
+ *  This API is designed to accelerate simple 2D operations. You may
+ *  want more functionality such as polygons and particle effects and
+ *  in that case you should use SDL's OpenGL/Direct3D support or one
+ *  of the many good 3D engines.
+ *
+ *  These functions must be called from the main thread.
+ *  See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995
+ */
+
+#ifndef SDL_render_h_
+#define SDL_render_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_rect.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Flags used when creating a rendering context
+ */
+typedef enum
+{
+    SDL_RENDERER_SOFTWARE = 0x00000001,         /**< The renderer is a software fallback */
+    SDL_RENDERER_ACCELERATED = 0x00000002,      /**< The renderer uses hardware
+                                                     acceleration */
+    SDL_RENDERER_PRESENTVSYNC = 0x00000004,     /**< Present is synchronized
+                                                     with the refresh rate */
+    SDL_RENDERER_TARGETTEXTURE = 0x00000008     /**< The renderer supports
+                                                     rendering to texture */
+} SDL_RendererFlags;
+
+/**
+ *  \brief Information on the capabilities of a render driver or context.
+ */
+typedef struct SDL_RendererInfo
+{
+    const char *name;           /**< The name of the renderer */
+    Uint32 flags;               /**< Supported ::SDL_RendererFlags */
+    Uint32 num_texture_formats; /**< The number of available texture formats */
+    Uint32 texture_formats[16]; /**< The available texture formats */
+    int max_texture_width;      /**< The maximum texture width */
+    int max_texture_height;     /**< The maximum texture height */
+} SDL_RendererInfo;
+
+/**
+ *  \brief The access pattern allowed for a texture.
+ */
+typedef enum
+{
+    SDL_TEXTUREACCESS_STATIC,    /**< Changes rarely, not lockable */
+    SDL_TEXTUREACCESS_STREAMING, /**< Changes frequently, lockable */
+    SDL_TEXTUREACCESS_TARGET     /**< Texture can be used as a render target */
+} SDL_TextureAccess;
+
+/**
+ *  \brief The texture channel modulation used in SDL_RenderCopy().
+ */
+typedef enum
+{
+    SDL_TEXTUREMODULATE_NONE = 0x00000000,     /**< No modulation */
+    SDL_TEXTUREMODULATE_COLOR = 0x00000001,    /**< srcC = srcC * color */
+    SDL_TEXTUREMODULATE_ALPHA = 0x00000002     /**< srcA = srcA * alpha */
+} SDL_TextureModulate;
+
+/**
+ *  \brief Flip constants for SDL_RenderCopyEx
+ */
+typedef enum
+{
+    SDL_FLIP_NONE = 0x00000000,     /**< Do not flip */
+    SDL_FLIP_HORIZONTAL = 0x00000001,    /**< flip horizontally */
+    SDL_FLIP_VERTICAL = 0x00000002     /**< flip vertically */
+} SDL_RendererFlip;
+
+/**
+ *  \brief A structure representing rendering state
+ */
+struct SDL_Renderer;
+typedef struct SDL_Renderer SDL_Renderer;
+
+/**
+ *  \brief An efficient driver-specific representation of pixel data
+ */
+struct SDL_Texture;
+typedef struct SDL_Texture SDL_Texture;
+
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the number of 2D rendering drivers available for the current
+ *         display.
+ *
+ *  A render driver is a set of code that handles rendering and texture
+ *  management on a particular display.  Normally there is only one, but
+ *  some drivers may have several available with different capabilities.
+ *
+ *  \sa SDL_GetRenderDriverInfo()
+ *  \sa SDL_CreateRenderer()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumRenderDrivers(void);
+
+/**
+ *  \brief Get information about a specific 2D rendering driver for the current
+ *         display.
+ *
+ *  \param index The index of the driver to query information about.
+ *  \param info  A pointer to an SDL_RendererInfo struct to be filled with
+ *               information on the rendering driver.
+ *
+ *  \return 0 on success, -1 if the index was out of range.
+ *
+ *  \sa SDL_CreateRenderer()
+ */
+extern DECLSPEC int SDLCALL SDL_GetRenderDriverInfo(int index,
+                                                    SDL_RendererInfo * info);
+
+/**
+ *  \brief Create a window and default renderer
+ *
+ *  \param width    The width of the window
+ *  \param height   The height of the window
+ *  \param window_flags The flags used to create the window
+ *  \param window   A pointer filled with the window, or NULL on error
+ *  \param renderer A pointer filled with the renderer, or NULL on error
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_CreateWindowAndRenderer(
+                                int width, int height, Uint32 window_flags,
+                                SDL_Window **window, SDL_Renderer **renderer);
+
+
+/**
+ *  \brief Create a 2D rendering context for a window.
+ *
+ *  \param window The window where rendering is displayed.
+ *  \param index    The index of the rendering driver to initialize, or -1 to
+ *                  initialize the first one supporting the requested flags.
+ *  \param flags    ::SDL_RendererFlags.
+ *
+ *  \return A valid rendering context or NULL if there was an error.
+ *
+ *  \sa SDL_CreateSoftwareRenderer()
+ *  \sa SDL_GetRendererInfo()
+ *  \sa SDL_DestroyRenderer()
+ */
+extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window * window,
+                                               int index, Uint32 flags);
+
+/**
+ *  \brief Create a 2D software rendering context for a surface.
+ *
+ *  \param surface The surface where rendering is done.
+ *
+ *  \return A valid rendering context or NULL if there was an error.
+ *
+ *  \sa SDL_CreateRenderer()
+ *  \sa SDL_DestroyRenderer()
+ */
+extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface * surface);
+
+/**
+ *  \brief Get the renderer associated with a window.
+ */
+extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);
+
+/**
+ *  \brief Get information about a rendering context.
+ */
+extern DECLSPEC int SDLCALL SDL_GetRendererInfo(SDL_Renderer * renderer,
+                                                SDL_RendererInfo * info);
+
+/**
+ *  \brief Get the output size in pixels of a rendering context.
+ */
+extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer,
+                                                      int *w, int *h);
+
+/**
+ *  \brief Create a texture for a rendering context.
+ *
+ *  \param renderer The renderer.
+ *  \param format The format of the texture.
+ *  \param access One of the enumerated values in ::SDL_TextureAccess.
+ *  \param w      The width of the texture in pixels.
+ *  \param h      The height of the texture in pixels.
+ *
+ *  \return The created texture is returned, or NULL if no rendering context was
+ *          active,  the format was unsupported, or the width or height were out
+ *          of range.
+ *
+ *  \note The contents of the texture are not defined at creation.
+ *
+ *  \sa SDL_QueryTexture()
+ *  \sa SDL_UpdateTexture()
+ *  \sa SDL_DestroyTexture()
+ */
+extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer * renderer,
+                                                        Uint32 format,
+                                                        int access, int w,
+                                                        int h);
+
+/**
+ *  \brief Create a texture from an existing surface.
+ *
+ *  \param renderer The renderer.
+ *  \param surface The surface containing pixel data used to fill the texture.
+ *
+ *  \return The created texture is returned, or NULL on error.
+ *
+ *  \note The surface is not modified or freed by this function.
+ *
+ *  \sa SDL_QueryTexture()
+ *  \sa SDL_DestroyTexture()
+ */
+extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Renderer * renderer, SDL_Surface * surface);
+
+/**
+ *  \brief Query the attributes of a texture
+ *
+ *  \param texture A texture to be queried.
+ *  \param format  A pointer filled in with the raw format of the texture.  The
+ *                 actual format may differ, but pixel transfers will use this
+ *                 format.
+ *  \param access  A pointer filled in with the actual access to the texture.
+ *  \param w       A pointer filled in with the width of the texture in pixels.
+ *  \param h       A pointer filled in with the height of the texture in pixels.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ */
+extern DECLSPEC int SDLCALL SDL_QueryTexture(SDL_Texture * texture,
+                                             Uint32 * format, int *access,
+                                             int *w, int *h);
+
+/**
+ *  \brief Set an additional color value used in render copy operations.
+ *
+ *  \param texture The texture to update.
+ *  \param r       The red color value multiplied into copy operations.
+ *  \param g       The green color value multiplied into copy operations.
+ *  \param b       The blue color value multiplied into copy operations.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or color modulation
+ *          is not supported.
+ *
+ *  \sa SDL_GetTextureColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetTextureColorMod(SDL_Texture * texture,
+                                                   Uint8 r, Uint8 g, Uint8 b);
+
+
+/**
+ *  \brief Get the additional color value used in render copy operations.
+ *
+ *  \param texture The texture to query.
+ *  \param r         A pointer filled in with the current red color value.
+ *  \param g         A pointer filled in with the current green color value.
+ *  \param b         A pointer filled in with the current blue color value.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \sa SDL_SetTextureColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetTextureColorMod(SDL_Texture * texture,
+                                                   Uint8 * r, Uint8 * g,
+                                                   Uint8 * b);
+
+/**
+ *  \brief Set an additional alpha value used in render copy operations.
+ *
+ *  \param texture The texture to update.
+ *  \param alpha     The alpha value multiplied into copy operations.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or alpha modulation
+ *          is not supported.
+ *
+ *  \sa SDL_GetTextureAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetTextureAlphaMod(SDL_Texture * texture,
+                                                   Uint8 alpha);
+
+/**
+ *  \brief Get the additional alpha value used in render copy operations.
+ *
+ *  \param texture The texture to query.
+ *  \param alpha     A pointer filled in with the current alpha value.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \sa SDL_SetTextureAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetTextureAlphaMod(SDL_Texture * texture,
+                                                   Uint8 * alpha);
+
+/**
+ *  \brief Set the blend mode used for texture copy operations.
+ *
+ *  \param texture The texture to update.
+ *  \param blendMode ::SDL_BlendMode to use for texture blending.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or the blend mode is
+ *          not supported.
+ *
+ *  \note If the blend mode is not supported, the closest supported mode is
+ *        chosen.
+ *
+ *  \sa SDL_GetTextureBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetTextureBlendMode(SDL_Texture * texture,
+                                                    SDL_BlendMode blendMode);
+
+/**
+ *  \brief Get the blend mode used for texture copy operations.
+ *
+ *  \param texture   The texture to query.
+ *  \param blendMode A pointer filled in with the current blend mode.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \sa SDL_SetTextureBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetTextureBlendMode(SDL_Texture * texture,
+                                                    SDL_BlendMode *blendMode);
+
+/**
+ *  \brief Update the given texture rectangle with new pixel data.
+ *
+ *  \param texture   The texture to update
+ *  \param rect      A pointer to the rectangle of pixels to update, or NULL to
+ *                   update the entire texture.
+ *  \param pixels    The raw pixel data in the format of the texture.
+ *  \param pitch     The number of bytes in a row of pixel data, including padding between lines.
+ *
+ *  The pixel data must be in the format of the texture. The pixel format can be
+ *  queried with SDL_QueryTexture.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \note This is a fairly slow function.
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
+                                              const SDL_Rect * rect,
+                                              const void *pixels, int pitch);
+
+/**
+ *  \brief Update a rectangle within a planar YV12 or IYUV texture with new pixel data.
+ *
+ *  \param texture   The texture to update
+ *  \param rect      A pointer to the rectangle of pixels to update, or NULL to
+ *                   update the entire texture.
+ *  \param Yplane    The raw pixel data for the Y plane.
+ *  \param Ypitch    The number of bytes between rows of pixel data for the Y plane.
+ *  \param Uplane    The raw pixel data for the U plane.
+ *  \param Upitch    The number of bytes between rows of pixel data for the U plane.
+ *  \param Vplane    The raw pixel data for the V plane.
+ *  \param Vpitch    The number of bytes between rows of pixel data for the V plane.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid.
+ *
+ *  \note You can use SDL_UpdateTexture() as long as your pixel data is
+ *        a contiguous block of Y and U/V planes in the proper order, but
+ *        this function is available if your pixel data is not contiguous.
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateYUVTexture(SDL_Texture * texture,
+                                                 const SDL_Rect * rect,
+                                                 const Uint8 *Yplane, int Ypitch,
+                                                 const Uint8 *Uplane, int Upitch,
+                                                 const Uint8 *Vplane, int Vpitch);
+
+/**
+ *  \brief Lock a portion of the texture for write-only pixel access.
+ *
+ *  \param texture   The texture to lock for access, which was created with
+ *                   ::SDL_TEXTUREACCESS_STREAMING.
+ *  \param rect      A pointer to the rectangle to lock for access. If the rect
+ *                   is NULL, the entire texture will be locked.
+ *  \param pixels    This is filled in with a pointer to the locked pixels,
+ *                   appropriately offset by the locked area.
+ *  \param pitch     This is filled in with the pitch of the locked pixels.
+ *
+ *  \return 0 on success, or -1 if the texture is not valid or was not created with ::SDL_TEXTUREACCESS_STREAMING.
+ *
+ *  \sa SDL_UnlockTexture()
+ */
+extern DECLSPEC int SDLCALL SDL_LockTexture(SDL_Texture * texture,
+                                            const SDL_Rect * rect,
+                                            void **pixels, int *pitch);
+
+/**
+ *  \brief Unlock a texture, uploading the changes to video memory, if needed.
+ *
+ *  \sa SDL_LockTexture()
+ */
+extern DECLSPEC void SDLCALL SDL_UnlockTexture(SDL_Texture * texture);
+
+/**
+ * \brief Determines whether a window supports the use of render targets
+ *
+ * \param renderer The renderer that will be checked
+ *
+ * \return SDL_TRUE if supported, SDL_FALSE if not.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *renderer);
+
+/**
+ * \brief Set a texture as the current rendering target.
+ *
+ * \param renderer The renderer.
+ * \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target
+ *
+ * \return 0 on success, or -1 on error
+ *
+ *  \sa SDL_GetRenderTarget()
+ */
+extern DECLSPEC int SDLCALL SDL_SetRenderTarget(SDL_Renderer *renderer,
+                                                SDL_Texture *texture);
+
+/**
+ * \brief Get the current render target or NULL for the default render target.
+ *
+ * \return The current render target
+ *
+ *  \sa SDL_SetRenderTarget()
+ */
+extern DECLSPEC SDL_Texture * SDLCALL SDL_GetRenderTarget(SDL_Renderer *renderer);
+
+/**
+ *  \brief Set device independent resolution for rendering
+ *
+ *  \param renderer The renderer for which resolution should be set.
+ *  \param w      The width of the logical resolution
+ *  \param h      The height of the logical resolution
+ *
+ *  This function uses the viewport and scaling functionality to allow a fixed logical
+ *  resolution for rendering, regardless of the actual output resolution.  If the actual
+ *  output resolution doesn't have the same aspect ratio the output rendering will be
+ *  centered within the output display.
+ *
+ *  If the output display is a window, mouse events in the window will be filtered
+ *  and scaled so they seem to arrive within the logical resolution.
+ *
+ *  \note If this function results in scaling or subpixel drawing by the
+ *        rendering backend, it will be handled using the appropriate
+ *        quality hints.
+ *
+ *  \sa SDL_RenderGetLogicalSize()
+ *  \sa SDL_RenderSetScale()
+ *  \sa SDL_RenderSetViewport()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetLogicalSize(SDL_Renderer * renderer, int w, int h);
+
+/**
+ *  \brief Get device independent resolution for rendering
+ *
+ *  \param renderer The renderer from which resolution should be queried.
+ *  \param w      A pointer filled with the width of the logical resolution
+ *  \param h      A pointer filled with the height of the logical resolution
+ *
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetLogicalSize(SDL_Renderer * renderer, int *w, int *h);
+
+/**
+ *  \brief Set whether to force integer scales for resolution-independent rendering
+ *
+ *  \param renderer The renderer for which integer scaling should be set.
+ *  \param enable   Enable or disable integer scaling
+ *
+ *  This function restricts the logical viewport to integer values - that is, when
+ *  a resolution is between two multiples of a logical size, the viewport size is
+ *  rounded down to the lower multiple.
+ *
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetIntegerScale(SDL_Renderer * renderer,
+                                                      SDL_bool enable);
+
+/**
+ *  \brief Get whether integer scales are forced for resolution-independent rendering
+ *
+ *  \param renderer The renderer from which integer scaling should be queried.
+ *
+ *  \sa SDL_RenderSetIntegerScale()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RenderGetIntegerScale(SDL_Renderer * renderer);
+
+/**
+ *  \brief Set the drawing area for rendering on the current target.
+ *
+ *  \param renderer The renderer for which the drawing area should be set.
+ *  \param rect The rectangle representing the drawing area, or NULL to set the viewport to the entire target.
+ *
+ *  The x,y of the viewport rect represents the origin for rendering.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \note If the window associated with the renderer is resized, the viewport is automatically reset.
+ *
+ *  \sa SDL_RenderGetViewport()
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetViewport(SDL_Renderer * renderer,
+                                                  const SDL_Rect * rect);
+
+/**
+ *  \brief Get the drawing area for the current target.
+ *
+ *  \sa SDL_RenderSetViewport()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetViewport(SDL_Renderer * renderer,
+                                                   SDL_Rect * rect);
+
+/**
+ *  \brief Set the clip rectangle for the current target.
+ *
+ *  \param renderer The renderer for which clip rectangle should be set.
+ *  \param rect   A pointer to the rectangle to set as the clip rectangle, or
+ *                NULL to disable clipping.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \sa SDL_RenderGetClipRect()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetClipRect(SDL_Renderer * renderer,
+                                                  const SDL_Rect * rect);
+
+/**
+ *  \brief Get the clip rectangle for the current target.
+ *
+ *  \param renderer The renderer from which clip rectangle should be queried.
+ *  \param rect   A pointer filled in with the current clip rectangle, or
+ *                an empty rectangle if clipping is disabled.
+ *
+ *  \sa SDL_RenderSetClipRect()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetClipRect(SDL_Renderer * renderer,
+                                                   SDL_Rect * rect);
+
+/**
+ *  \brief Get whether clipping is enabled on the given renderer.
+ *
+ *  \param renderer The renderer from which clip state should be queried.
+ *
+ *  \sa SDL_RenderGetClipRect()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RenderIsClipEnabled(SDL_Renderer * renderer);
+
+
+/**
+ *  \brief Set the drawing scale for rendering on the current target.
+ *
+ *  \param renderer The renderer for which the drawing scale should be set.
+ *  \param scaleX The horizontal scaling factor
+ *  \param scaleY The vertical scaling factor
+ *
+ *  The drawing coordinates are scaled by the x/y scaling factors
+ *  before they are used by the renderer.  This allows resolution
+ *  independent drawing with a single coordinate system.
+ *
+ *  \note If this results in scaling or subpixel drawing by the
+ *        rendering backend, it will be handled using the appropriate
+ *        quality hints.  For best results use integer scaling factors.
+ *
+ *  \sa SDL_RenderGetScale()
+ *  \sa SDL_RenderSetLogicalSize()
+ */
+extern DECLSPEC int SDLCALL SDL_RenderSetScale(SDL_Renderer * renderer,
+                                               float scaleX, float scaleY);
+
+/**
+ *  \brief Get the drawing scale for the current target.
+ *
+ *  \param renderer The renderer from which drawing scale should be queried.
+ *  \param scaleX A pointer filled in with the horizontal scaling factor
+ *  \param scaleY A pointer filled in with the vertical scaling factor
+ *
+ *  \sa SDL_RenderSetScale()
+ */
+extern DECLSPEC void SDLCALL SDL_RenderGetScale(SDL_Renderer * renderer,
+                                               float *scaleX, float *scaleY);
+
+/**
+ *  \brief Set the color used for drawing operations (Rect, Line and Clear).
+ *
+ *  \param renderer The renderer for which drawing color should be set.
+ *  \param r The red value used to draw on the rendering target.
+ *  \param g The green value used to draw on the rendering target.
+ *  \param b The blue value used to draw on the rendering target.
+ *  \param a The alpha value used to draw on the rendering target, usually
+ *           ::SDL_ALPHA_OPAQUE (255).
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_SetRenderDrawColor(SDL_Renderer * renderer,
+                                           Uint8 r, Uint8 g, Uint8 b,
+                                           Uint8 a);
+
+/**
+ *  \brief Get the color used for drawing operations (Rect, Line and Clear).
+ *
+ *  \param renderer The renderer from which drawing color should be queried.
+ *  \param r A pointer to the red value used to draw on the rendering target.
+ *  \param g A pointer to the green value used to draw on the rendering target.
+ *  \param b A pointer to the blue value used to draw on the rendering target.
+ *  \param a A pointer to the alpha value used to draw on the rendering target,
+ *           usually ::SDL_ALPHA_OPAQUE (255).
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_GetRenderDrawColor(SDL_Renderer * renderer,
+                                           Uint8 * r, Uint8 * g, Uint8 * b,
+                                           Uint8 * a);
+
+/**
+ *  \brief Set the blend mode used for drawing operations (Fill and Line).
+ *
+ *  \param renderer The renderer for which blend mode should be set.
+ *  \param blendMode ::SDL_BlendMode to use for blending.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \note If the blend mode is not supported, the closest supported mode is
+ *        chosen.
+ *
+ *  \sa SDL_GetRenderDrawBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetRenderDrawBlendMode(SDL_Renderer * renderer,
+                                                       SDL_BlendMode blendMode);
+
+/**
+ *  \brief Get the blend mode used for drawing operations.
+ *
+ *  \param renderer The renderer from which blend mode should be queried.
+ *  \param blendMode A pointer filled in with the current blend mode.
+ *
+ *  \return 0 on success, or -1 on error
+ *
+ *  \sa SDL_SetRenderDrawBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer * renderer,
+                                                       SDL_BlendMode *blendMode);
+
+/**
+ *  \brief Clear the current rendering target with the drawing color
+ *
+ *  This function clears the entire rendering target, ignoring the viewport and
+ *  the clip rectangle.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderClear(SDL_Renderer * renderer);
+
+/**
+ *  \brief Draw a point on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a point.
+ *  \param x The x coordinate of the point.
+ *  \param y The y coordinate of the point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPoint(SDL_Renderer * renderer,
+                                                int x, int y);
+
+/**
+ *  \brief Draw multiple points on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple points.
+ *  \param points The points to draw
+ *  \param count The number of points to draw
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPoints(SDL_Renderer * renderer,
+                                                 const SDL_Point * points,
+                                                 int count);
+
+/**
+ *  \brief Draw a line on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a line.
+ *  \param x1 The x coordinate of the start point.
+ *  \param y1 The y coordinate of the start point.
+ *  \param x2 The x coordinate of the end point.
+ *  \param y2 The y coordinate of the end point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLine(SDL_Renderer * renderer,
+                                               int x1, int y1, int x2, int y2);
+
+/**
+ *  \brief Draw a series of connected lines on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple lines.
+ *  \param points The points along the lines
+ *  \param count The number of points, drawing count-1 lines
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLines(SDL_Renderer * renderer,
+                                                const SDL_Point * points,
+                                                int count);
+
+/**
+ *  \brief Draw a rectangle on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRect(SDL_Renderer * renderer,
+                                               const SDL_Rect * rect);
+
+/**
+ *  \brief Draw some number of rectangles on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRects(SDL_Renderer * renderer,
+                                                const SDL_Rect * rects,
+                                                int count);
+
+/**
+ *  \brief Fill a rectangle on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL for the entire
+ *              rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRect(SDL_Renderer * renderer,
+                                               const SDL_Rect * rect);
+
+/**
+ *  \brief Fill some number of rectangles on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRects(SDL_Renderer * renderer,
+                                                const SDL_Rect * rects,
+                                                int count);
+
+/**
+ *  \brief Copy a portion of the texture to the current rendering target.
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopy(SDL_Renderer * renderer,
+                                           SDL_Texture * texture,
+                                           const SDL_Rect * srcrect,
+                                           const SDL_Rect * dstrect);
+
+/**
+ *  \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *  \param angle    An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction
+ *  \param center   A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2).
+ *  \param flip     An SDL_RendererFlip value stating which flipping actions should be performed on the texture
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopyEx(SDL_Renderer * renderer,
+                                           SDL_Texture * texture,
+                                           const SDL_Rect * srcrect,
+                                           const SDL_Rect * dstrect,
+                                           const double angle,
+                                           const SDL_Point *center,
+                                           const SDL_RendererFlip flip);
+
+
+/**
+ *  \brief Draw a point on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a point.
+ *  \param x The x coordinate of the point.
+ *  \param y The y coordinate of the point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPointF(SDL_Renderer * renderer,
+                                                 float x, float y);
+
+/**
+ *  \brief Draw multiple points on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple points.
+ *  \param points The points to draw
+ *  \param count The number of points to draw
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawPointsF(SDL_Renderer * renderer,
+                                                  const SDL_FPoint * points,
+                                                  int count);
+
+/**
+ *  \brief Draw a line on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a line.
+ *  \param x1 The x coordinate of the start point.
+ *  \param y1 The y coordinate of the start point.
+ *  \param x2 The x coordinate of the end point.
+ *  \param y2 The y coordinate of the end point.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLineF(SDL_Renderer * renderer,
+                                                float x1, float y1, float x2, float y2);
+
+/**
+ *  \brief Draw a series of connected lines on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple lines.
+ *  \param points The points along the lines
+ *  \param count The number of points, drawing count-1 lines
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawLinesF(SDL_Renderer * renderer,
+                                                const SDL_FPoint * points,
+                                                int count);
+
+/**
+ *  \brief Draw a rectangle on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRectF(SDL_Renderer * renderer,
+                                               const SDL_FRect * rect);
+
+/**
+ *  \brief Draw some number of rectangles on the current rendering target.
+ *
+ *  \param renderer The renderer which should draw multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderDrawRectsF(SDL_Renderer * renderer,
+                                                 const SDL_FRect * rects,
+                                                 int count);
+
+/**
+ *  \brief Fill a rectangle on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill a rectangle.
+ *  \param rect A pointer to the destination rectangle, or NULL for the entire
+ *              rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRectF(SDL_Renderer * renderer,
+                                                const SDL_FRect * rect);
+
+/**
+ *  \brief Fill some number of rectangles on the current rendering target with the drawing color.
+ *
+ *  \param renderer The renderer which should fill multiple rectangles.
+ *  \param rects A pointer to an array of destination rectangles.
+ *  \param count The number of rectangles.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFillRectsF(SDL_Renderer * renderer,
+                                                 const SDL_FRect * rects,
+                                                 int count);
+
+/**
+ *  \brief Copy a portion of the texture to the current rendering target.
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopyF(SDL_Renderer * renderer,
+                                            SDL_Texture * texture,
+                                            const SDL_Rect * srcrect,
+                                            const SDL_FRect * dstrect);
+
+/**
+ *  \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center
+ *
+ *  \param renderer The renderer which should copy parts of a texture.
+ *  \param texture The source texture.
+ *  \param srcrect   A pointer to the source rectangle, or NULL for the entire
+ *                   texture.
+ *  \param dstrect   A pointer to the destination rectangle, or NULL for the
+ *                   entire rendering target.
+ *  \param angle    An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction
+ *  \param center   A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2).
+ *  \param flip     An SDL_RendererFlip value stating which flipping actions should be performed on the texture
+ *
+ *  \return 0 on success, or -1 on error
+ */
+extern DECLSPEC int SDLCALL SDL_RenderCopyExF(SDL_Renderer * renderer,
+                                            SDL_Texture * texture,
+                                            const SDL_Rect * srcrect,
+                                            const SDL_FRect * dstrect,
+                                            const double angle,
+                                            const SDL_FPoint *center,
+                                            const SDL_RendererFlip flip);
+
+/**
+ *  \brief Read pixels from the current rendering target.
+ *
+ *  \param renderer The renderer from which pixels should be read.
+ *  \param rect   A pointer to the rectangle to read, or NULL for the entire
+ *                render target.
+ *  \param format The desired format of the pixel data, or 0 to use the format
+ *                of the rendering target
+ *  \param pixels A pointer to be filled in with the pixel data
+ *  \param pitch  The pitch of the pixels parameter.
+ *
+ *  \return 0 on success, or -1 if pixel reading is not supported.
+ *
+ *  \warning This is a very slow operation, and should not be used frequently.
+ */
+extern DECLSPEC int SDLCALL SDL_RenderReadPixels(SDL_Renderer * renderer,
+                                                 const SDL_Rect * rect,
+                                                 Uint32 format,
+                                                 void *pixels, int pitch);
+
+/**
+ *  \brief Update the screen with rendering performed.
+ */
+extern DECLSPEC void SDLCALL SDL_RenderPresent(SDL_Renderer * renderer);
+
+/**
+ *  \brief Destroy the specified texture.
+ *
+ *  \sa SDL_CreateTexture()
+ *  \sa SDL_CreateTextureFromSurface()
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture * texture);
+
+/**
+ *  \brief Destroy the rendering context for a window and free associated
+ *         textures.
+ *
+ *  \sa SDL_CreateRenderer()
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyRenderer(SDL_Renderer * renderer);
+
+/**
+ *  \brief Force the rendering context to flush any pending commands to the
+ *         underlying rendering API.
+ *
+ *  You do not need to (and in fact, shouldn't) call this function unless
+ *  you are planning to call into OpenGL/Direct3D/Metal/whatever directly
+ *  in addition to using an SDL_Renderer.
+ *
+ *  This is for a very-specific case: if you are using SDL's render API,
+ *  you asked for a specific renderer backend (OpenGL, Direct3D, etc),
+ *  you set SDL_HINT_RENDER_BATCHING to "1", and you plan to make
+ *  OpenGL/D3D/whatever calls in addition to SDL render API calls. If all of
+ *  this applies, you should call SDL_RenderFlush() between calls to SDL's
+ *  render API and the low-level API you're using in cooperation.
+ *
+ *  In all other cases, you can ignore this function. This is only here to
+ *  get maximum performance out of a specific situation. In all other cases,
+ *  SDL will do the right thing, perhaps at a performance loss.
+ *
+ *  This function is first available in SDL 2.0.10, and is not needed in
+ *  2.0.9 and earlier, as earlier versions did not queue rendering commands
+ *  at all, instead flushing them to the OS immediately.
+ */
+extern DECLSPEC int SDLCALL SDL_RenderFlush(SDL_Renderer * renderer);
+
+
+/**
+ *  \brief Bind the texture to the current OpenGL/ES/ES2 context for use with
+ *         OpenGL instructions.
+ *
+ *  \param texture  The SDL texture to bind
+ *  \param texw     A pointer to a float that will be filled with the texture width
+ *  \param texh     A pointer to a float that will be filled with the texture height
+ *
+ *  \return 0 on success, or -1 if the operation is not supported
+ */
+extern DECLSPEC int SDLCALL SDL_GL_BindTexture(SDL_Texture *texture, float *texw, float *texh);
+
+/**
+ *  \brief Unbind a texture from the current OpenGL/ES/ES2 context.
+ *
+ *  \param texture  The SDL texture to unbind
+ *
+ *  \return 0 on success, or -1 if the operation is not supported
+ */
+extern DECLSPEC int SDLCALL SDL_GL_UnbindTexture(SDL_Texture *texture);
+
+/**
+ *  \brief Get the CAMetalLayer associated with the given Metal renderer
+ *
+ *  \param renderer The renderer to query
+ *
+ *  \return CAMetalLayer* on success, or NULL if the renderer isn't a Metal renderer
+ *
+ *  \sa SDL_RenderGetMetalCommandEncoder()
+ */
+extern DECLSPEC void *SDLCALL SDL_RenderGetMetalLayer(SDL_Renderer * renderer);
+
+/**
+ *  \brief Get the Metal command encoder for the current frame
+ *
+ *  \param renderer The renderer to query
+ *
+ *  \return id<MTLRenderCommandEncoder> on success, or NULL if the renderer isn't a Metal renderer
+ *
+ *  \sa SDL_RenderGetMetalLayer()
+ */
+extern DECLSPEC void *SDLCALL SDL_RenderGetMetalCommandEncoder(SDL_Renderer * renderer);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_render_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_revision.h
@@ -1,0 +1,2 @@
+#define SDL_REVISION "hg-12952:bc90ce38f1e2"
+#define SDL_REVISION_NUMBER 12952
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_rwops.h
@@ -1,0 +1,291 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_rwops.h
+ *
+ *  This file provides a general interface for SDL to read and write
+ *  data streams.  It can easily be extended to files, memory, etc.
+ */
+
+#ifndef SDL_rwops_h_
+#define SDL_rwops_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* RWops Types */
+#define SDL_RWOPS_UNKNOWN   0U  /**< Unknown stream type */
+#define SDL_RWOPS_WINFILE   1U  /**< Win32 file */
+#define SDL_RWOPS_STDFILE   2U  /**< Stdio file */
+#define SDL_RWOPS_JNIFILE   3U  /**< Android asset */
+#define SDL_RWOPS_MEMORY    4U  /**< Memory stream */
+#define SDL_RWOPS_MEMORY_RO 5U  /**< Read-Only memory stream */
+
+/**
+ * This is the read/write operation structure -- very basic.
+ */
+typedef struct SDL_RWops
+{
+    /**
+     *  Return the size of the file in this rwops, or -1 if unknown
+     */
+    Sint64 (SDLCALL * size) (struct SDL_RWops * context);
+
+    /**
+     *  Seek to \c offset relative to \c whence, one of stdio's whence values:
+     *  RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
+     *
+     *  \return the final offset in the data stream, or -1 on error.
+     */
+    Sint64 (SDLCALL * seek) (struct SDL_RWops * context, Sint64 offset,
+                             int whence);
+
+    /**
+     *  Read up to \c maxnum objects each of size \c size from the data
+     *  stream to the area pointed at by \c ptr.
+     *
+     *  \return the number of objects read, or 0 at error or end of file.
+     */
+    size_t (SDLCALL * read) (struct SDL_RWops * context, void *ptr,
+                             size_t size, size_t maxnum);
+
+    /**
+     *  Write exactly \c num objects each of size \c size from the area
+     *  pointed at by \c ptr to data stream.
+     *
+     *  \return the number of objects written, or 0 at error or end of file.
+     */
+    size_t (SDLCALL * write) (struct SDL_RWops * context, const void *ptr,
+                              size_t size, size_t num);
+
+    /**
+     *  Close and free an allocated SDL_RWops structure.
+     *
+     *  \return 0 if successful or -1 on write error when flushing data.
+     */
+    int (SDLCALL * close) (struct SDL_RWops * context);
+
+    Uint32 type;
+    union
+    {
+#if defined(__ANDROID__)
+        struct
+        {
+            void *fileNameRef;
+            void *inputStreamRef;
+            void *readableByteChannelRef;
+            void *readMethod;
+            void *assetFileDescriptorRef;
+            long position;
+            long size;
+            long offset;
+            int fd;
+        } androidio;
+#elif defined(__WIN32__)
+        struct
+        {
+            SDL_bool append;
+            void *h;
+            struct
+            {
+                void *data;
+                size_t size;
+                size_t left;
+            } buffer;
+        } windowsio;
+#endif
+
+#ifdef HAVE_STDIO_H
+        struct
+        {
+            SDL_bool autoclose;
+            FILE *fp;
+        } stdio;
+#endif
+        struct
+        {
+            Uint8 *base;
+            Uint8 *here;
+            Uint8 *stop;
+        } mem;
+        struct
+        {
+            void *data1;
+            void *data2;
+        } unknown;
+    } hidden;
+
+} SDL_RWops;
+
+
+/**
+ *  \name RWFrom functions
+ *
+ *  Functions to create SDL_RWops structures from various data streams.
+ */
+/* @{ */
+
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile(const char *file,
+                                                  const char *mode);
+
+#ifdef HAVE_STDIO_H
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp,
+                                                SDL_bool autoclose);
+#else
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(void * fp,
+                                                SDL_bool autoclose);
+#endif
+
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size);
+extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem,
+                                                      int size);
+
+/* @} *//* RWFrom functions */
+
+
+extern DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW(void);
+extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops * area);
+
+#define RW_SEEK_SET 0       /**< Seek from the beginning of data */
+#define RW_SEEK_CUR 1       /**< Seek relative to current read point */
+#define RW_SEEK_END 2       /**< Seek relative to the end of data */
+
+/**
+ *  Return the size of the file in this rwops, or -1 if unknown
+ */
+extern DECLSPEC Sint64 SDLCALL SDL_RWsize(SDL_RWops *context);
+
+/**
+ *  Seek to \c offset relative to \c whence, one of stdio's whence values:
+ *  RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
+ *
+ *  \return the final offset in the data stream, or -1 on error.
+ */
+extern DECLSPEC Sint64 SDLCALL SDL_RWseek(SDL_RWops *context,
+                                          Sint64 offset, int whence);
+
+/**
+ *  Return the current offset in the data stream, or -1 on error.
+ */
+extern DECLSPEC Sint64 SDLCALL SDL_RWtell(SDL_RWops *context);
+
+/**
+ *  Read up to \c maxnum objects each of size \c size from the data
+ *  stream to the area pointed at by \c ptr.
+ *
+ *  \return the number of objects read, or 0 at error or end of file.
+ */
+extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context,
+                                          void *ptr, size_t size, size_t maxnum);
+
+/**
+ *  Write exactly \c num objects each of size \c size from the area
+ *  pointed at by \c ptr to data stream.
+ *
+ *  \return the number of objects written, or 0 at error or end of file.
+ */
+extern DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context,
+                                           const void *ptr, size_t size, size_t num);
+
+/**
+ *  Close and free an allocated SDL_RWops structure.
+ *
+ *  \return 0 if successful or -1 on write error when flushing data.
+ */
+extern DECLSPEC int SDLCALL SDL_RWclose(SDL_RWops *context);
+
+/**
+ *  Load all the data from an SDL data stream.
+ *
+ *  The data is allocated with a zero byte at the end (null terminated)
+ *
+ *  If \c datasize is not NULL, it is filled with the size of the data read.
+ *
+ *  If \c freesrc is non-zero, the stream will be closed after being read.
+ *
+ *  The data should be freed with SDL_free().
+ *
+ *  \return the data, or NULL if there was an error.
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadFile_RW(SDL_RWops * src, size_t *datasize,
+                                                    int freesrc);
+
+/**
+ *  Load an entire file.
+ *
+ *  The data is allocated with a zero byte at the end (null terminated)
+ *
+ *  If \c datasize is not NULL, it is filled with the size of the data read.
+ *
+ *  If \c freesrc is non-zero, the stream will be closed after being read.
+ *
+ *  The data should be freed with SDL_free().
+ *
+ *  \return the data, or NULL if there was an error.
+ */
+extern DECLSPEC void *SDLCALL SDL_LoadFile(const char *file, size_t *datasize);
+
+/**
+ *  \name Read endian functions
+ *
+ *  Read an item of the specified endianness and return in native format.
+ */
+/* @{ */
+extern DECLSPEC Uint8 SDLCALL SDL_ReadU8(SDL_RWops * src);
+extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops * src);
+extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops * src);
+extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops * src);
+extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src);
+extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src);
+extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src);
+/* @} *//* Read endian functions */
+
+/**
+ *  \name Write endian functions
+ *
+ *  Write an item of native format to the specified endianness.
+ */
+/* @{ */
+extern DECLSPEC size_t SDLCALL SDL_WriteU8(SDL_RWops * dst, Uint8 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteLE32(SDL_RWops * dst, Uint32 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
+extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
+/* @} *//* Write endian functions */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_rwops_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_scancode.h
@@ -1,0 +1,413 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_scancode.h
+ *
+ *  Defines keyboard scancodes.
+ */
+
+#ifndef SDL_scancode_h_
+#define SDL_scancode_h_
+
+#include "SDL_stdinc.h"
+
+/**
+ *  \brief The SDL keyboard scancode representation.
+ *
+ *  Values of this type are used to represent keyboard keys, among other places
+ *  in the \link SDL_Keysym::scancode key.keysym.scancode \endlink field of the
+ *  SDL_Event structure.
+ *
+ *  The values in this enumeration are based on the USB usage page standard:
+ *  https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf
+ */
+typedef enum
+{
+    SDL_SCANCODE_UNKNOWN = 0,
+
+    /**
+     *  \name Usage page 0x07
+     *
+     *  These values are from usage page 0x07 (USB keyboard page).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_A = 4,
+    SDL_SCANCODE_B = 5,
+    SDL_SCANCODE_C = 6,
+    SDL_SCANCODE_D = 7,
+    SDL_SCANCODE_E = 8,
+    SDL_SCANCODE_F = 9,
+    SDL_SCANCODE_G = 10,
+    SDL_SCANCODE_H = 11,
+    SDL_SCANCODE_I = 12,
+    SDL_SCANCODE_J = 13,
+    SDL_SCANCODE_K = 14,
+    SDL_SCANCODE_L = 15,
+    SDL_SCANCODE_M = 16,
+    SDL_SCANCODE_N = 17,
+    SDL_SCANCODE_O = 18,
+    SDL_SCANCODE_P = 19,
+    SDL_SCANCODE_Q = 20,
+    SDL_SCANCODE_R = 21,
+    SDL_SCANCODE_S = 22,
+    SDL_SCANCODE_T = 23,
+    SDL_SCANCODE_U = 24,
+    SDL_SCANCODE_V = 25,
+    SDL_SCANCODE_W = 26,
+    SDL_SCANCODE_X = 27,
+    SDL_SCANCODE_Y = 28,
+    SDL_SCANCODE_Z = 29,
+
+    SDL_SCANCODE_1 = 30,
+    SDL_SCANCODE_2 = 31,
+    SDL_SCANCODE_3 = 32,
+    SDL_SCANCODE_4 = 33,
+    SDL_SCANCODE_5 = 34,
+    SDL_SCANCODE_6 = 35,
+    SDL_SCANCODE_7 = 36,
+    SDL_SCANCODE_8 = 37,
+    SDL_SCANCODE_9 = 38,
+    SDL_SCANCODE_0 = 39,
+
+    SDL_SCANCODE_RETURN = 40,
+    SDL_SCANCODE_ESCAPE = 41,
+    SDL_SCANCODE_BACKSPACE = 42,
+    SDL_SCANCODE_TAB = 43,
+    SDL_SCANCODE_SPACE = 44,
+
+    SDL_SCANCODE_MINUS = 45,
+    SDL_SCANCODE_EQUALS = 46,
+    SDL_SCANCODE_LEFTBRACKET = 47,
+    SDL_SCANCODE_RIGHTBRACKET = 48,
+    SDL_SCANCODE_BACKSLASH = 49, /**< Located at the lower left of the return
+                                  *   key on ISO keyboards and at the right end
+                                  *   of the QWERTY row on ANSI keyboards.
+                                  *   Produces REVERSE SOLIDUS (backslash) and
+                                  *   VERTICAL LINE in a US layout, REVERSE
+                                  *   SOLIDUS and VERTICAL LINE in a UK Mac
+                                  *   layout, NUMBER SIGN and TILDE in a UK
+                                  *   Windows layout, DOLLAR SIGN and POUND SIGN
+                                  *   in a Swiss German layout, NUMBER SIGN and
+                                  *   APOSTROPHE in a German layout, GRAVE
+                                  *   ACCENT and POUND SIGN in a French Mac
+                                  *   layout, and ASTERISK and MICRO SIGN in a
+                                  *   French Windows layout.
+                                  */
+    SDL_SCANCODE_NONUSHASH = 50, /**< ISO USB keyboards actually use this code
+                                  *   instead of 49 for the same key, but all
+                                  *   OSes I've seen treat the two codes
+                                  *   identically. So, as an implementor, unless
+                                  *   your keyboard generates both of those
+                                  *   codes and your OS treats them differently,
+                                  *   you should generate SDL_SCANCODE_BACKSLASH
+                                  *   instead of this code. As a user, you
+                                  *   should not rely on this code because SDL
+                                  *   will never generate it with most (all?)
+                                  *   keyboards.
+                                  */
+    SDL_SCANCODE_SEMICOLON = 51,
+    SDL_SCANCODE_APOSTROPHE = 52,
+    SDL_SCANCODE_GRAVE = 53, /**< Located in the top left corner (on both ANSI
+                              *   and ISO keyboards). Produces GRAVE ACCENT and
+                              *   TILDE in a US Windows layout and in US and UK
+                              *   Mac layouts on ANSI keyboards, GRAVE ACCENT
+                              *   and NOT SIGN in a UK Windows layout, SECTION
+                              *   SIGN and PLUS-MINUS SIGN in US and UK Mac
+                              *   layouts on ISO keyboards, SECTION SIGN and
+                              *   DEGREE SIGN in a Swiss German layout (Mac:
+                              *   only on ISO keyboards), CIRCUMFLEX ACCENT and
+                              *   DEGREE SIGN in a German layout (Mac: only on
+                              *   ISO keyboards), SUPERSCRIPT TWO and TILDE in a
+                              *   French Windows layout, COMMERCIAL AT and
+                              *   NUMBER SIGN in a French Mac layout on ISO
+                              *   keyboards, and LESS-THAN SIGN and GREATER-THAN
+                              *   SIGN in a Swiss German, German, or French Mac
+                              *   layout on ANSI keyboards.
+                              */
+    SDL_SCANCODE_COMMA = 54,
+    SDL_SCANCODE_PERIOD = 55,
+    SDL_SCANCODE_SLASH = 56,
+
+    SDL_SCANCODE_CAPSLOCK = 57,
+
+    SDL_SCANCODE_F1 = 58,
+    SDL_SCANCODE_F2 = 59,
+    SDL_SCANCODE_F3 = 60,
+    SDL_SCANCODE_F4 = 61,
+    SDL_SCANCODE_F5 = 62,
+    SDL_SCANCODE_F6 = 63,
+    SDL_SCANCODE_F7 = 64,
+    SDL_SCANCODE_F8 = 65,
+    SDL_SCANCODE_F9 = 66,
+    SDL_SCANCODE_F10 = 67,
+    SDL_SCANCODE_F11 = 68,
+    SDL_SCANCODE_F12 = 69,
+
+    SDL_SCANCODE_PRINTSCREEN = 70,
+    SDL_SCANCODE_SCROLLLOCK = 71,
+    SDL_SCANCODE_PAUSE = 72,
+    SDL_SCANCODE_INSERT = 73, /**< insert on PC, help on some Mac keyboards (but
+                                   does send code 73, not 117) */
+    SDL_SCANCODE_HOME = 74,
+    SDL_SCANCODE_PAGEUP = 75,
+    SDL_SCANCODE_DELETE = 76,
+    SDL_SCANCODE_END = 77,
+    SDL_SCANCODE_PAGEDOWN = 78,
+    SDL_SCANCODE_RIGHT = 79,
+    SDL_SCANCODE_LEFT = 80,
+    SDL_SCANCODE_DOWN = 81,
+    SDL_SCANCODE_UP = 82,
+
+    SDL_SCANCODE_NUMLOCKCLEAR = 83, /**< num lock on PC, clear on Mac keyboards
+                                     */
+    SDL_SCANCODE_KP_DIVIDE = 84,
+    SDL_SCANCODE_KP_MULTIPLY = 85,
+    SDL_SCANCODE_KP_MINUS = 86,
+    SDL_SCANCODE_KP_PLUS = 87,
+    SDL_SCANCODE_KP_ENTER = 88,
+    SDL_SCANCODE_KP_1 = 89,
+    SDL_SCANCODE_KP_2 = 90,
+    SDL_SCANCODE_KP_3 = 91,
+    SDL_SCANCODE_KP_4 = 92,
+    SDL_SCANCODE_KP_5 = 93,
+    SDL_SCANCODE_KP_6 = 94,
+    SDL_SCANCODE_KP_7 = 95,
+    SDL_SCANCODE_KP_8 = 96,
+    SDL_SCANCODE_KP_9 = 97,
+    SDL_SCANCODE_KP_0 = 98,
+    SDL_SCANCODE_KP_PERIOD = 99,
+
+    SDL_SCANCODE_NONUSBACKSLASH = 100, /**< This is the additional key that ISO
+                                        *   keyboards have over ANSI ones,
+                                        *   located between left shift and Y.
+                                        *   Produces GRAVE ACCENT and TILDE in a
+                                        *   US or UK Mac layout, REVERSE SOLIDUS
+                                        *   (backslash) and VERTICAL LINE in a
+                                        *   US or UK Windows layout, and
+                                        *   LESS-THAN SIGN and GREATER-THAN SIGN
+                                        *   in a Swiss German, German, or French
+                                        *   layout. */
+    SDL_SCANCODE_APPLICATION = 101, /**< windows contextual menu, compose */
+    SDL_SCANCODE_POWER = 102, /**< The USB document says this is a status flag,
+                               *   not a physical key - but some Mac keyboards
+                               *   do have a power key. */
+    SDL_SCANCODE_KP_EQUALS = 103,
+    SDL_SCANCODE_F13 = 104,
+    SDL_SCANCODE_F14 = 105,
+    SDL_SCANCODE_F15 = 106,
+    SDL_SCANCODE_F16 = 107,
+    SDL_SCANCODE_F17 = 108,
+    SDL_SCANCODE_F18 = 109,
+    SDL_SCANCODE_F19 = 110,
+    SDL_SCANCODE_F20 = 111,
+    SDL_SCANCODE_F21 = 112,
+    SDL_SCANCODE_F22 = 113,
+    SDL_SCANCODE_F23 = 114,
+    SDL_SCANCODE_F24 = 115,
+    SDL_SCANCODE_EXECUTE = 116,
+    SDL_SCANCODE_HELP = 117,
+    SDL_SCANCODE_MENU = 118,
+    SDL_SCANCODE_SELECT = 119,
+    SDL_SCANCODE_STOP = 120,
+    SDL_SCANCODE_AGAIN = 121,   /**< redo */
+    SDL_SCANCODE_UNDO = 122,
+    SDL_SCANCODE_CUT = 123,
+    SDL_SCANCODE_COPY = 124,
+    SDL_SCANCODE_PASTE = 125,
+    SDL_SCANCODE_FIND = 126,
+    SDL_SCANCODE_MUTE = 127,
+    SDL_SCANCODE_VOLUMEUP = 128,
+    SDL_SCANCODE_VOLUMEDOWN = 129,
+/* not sure whether there's a reason to enable these */
+/*     SDL_SCANCODE_LOCKINGCAPSLOCK = 130,  */
+/*     SDL_SCANCODE_LOCKINGNUMLOCK = 131, */
+/*     SDL_SCANCODE_LOCKINGSCROLLLOCK = 132, */
+    SDL_SCANCODE_KP_COMMA = 133,
+    SDL_SCANCODE_KP_EQUALSAS400 = 134,
+
+    SDL_SCANCODE_INTERNATIONAL1 = 135, /**< used on Asian keyboards, see
+                                            footnotes in USB doc */
+    SDL_SCANCODE_INTERNATIONAL2 = 136,
+    SDL_SCANCODE_INTERNATIONAL3 = 137, /**< Yen */
+    SDL_SCANCODE_INTERNATIONAL4 = 138,
+    SDL_SCANCODE_INTERNATIONAL5 = 139,
+    SDL_SCANCODE_INTERNATIONAL6 = 140,
+    SDL_SCANCODE_INTERNATIONAL7 = 141,
+    SDL_SCANCODE_INTERNATIONAL8 = 142,
+    SDL_SCANCODE_INTERNATIONAL9 = 143,
+    SDL_SCANCODE_LANG1 = 144, /**< Hangul/English toggle */
+    SDL_SCANCODE_LANG2 = 145, /**< Hanja conversion */
+    SDL_SCANCODE_LANG3 = 146, /**< Katakana */
+    SDL_SCANCODE_LANG4 = 147, /**< Hiragana */
+    SDL_SCANCODE_LANG5 = 148, /**< Zenkaku/Hankaku */
+    SDL_SCANCODE_LANG6 = 149, /**< reserved */
+    SDL_SCANCODE_LANG7 = 150, /**< reserved */
+    SDL_SCANCODE_LANG8 = 151, /**< reserved */
+    SDL_SCANCODE_LANG9 = 152, /**< reserved */
+
+    SDL_SCANCODE_ALTERASE = 153, /**< Erase-Eaze */
+    SDL_SCANCODE_SYSREQ = 154,
+    SDL_SCANCODE_CANCEL = 155,
+    SDL_SCANCODE_CLEAR = 156,
+    SDL_SCANCODE_PRIOR = 157,
+    SDL_SCANCODE_RETURN2 = 158,
+    SDL_SCANCODE_SEPARATOR = 159,
+    SDL_SCANCODE_OUT = 160,
+    SDL_SCANCODE_OPER = 161,
+    SDL_SCANCODE_CLEARAGAIN = 162,
+    SDL_SCANCODE_CRSEL = 163,
+    SDL_SCANCODE_EXSEL = 164,
+
+    SDL_SCANCODE_KP_00 = 176,
+    SDL_SCANCODE_KP_000 = 177,
+    SDL_SCANCODE_THOUSANDSSEPARATOR = 178,
+    SDL_SCANCODE_DECIMALSEPARATOR = 179,
+    SDL_SCANCODE_CURRENCYUNIT = 180,
+    SDL_SCANCODE_CURRENCYSUBUNIT = 181,
+    SDL_SCANCODE_KP_LEFTPAREN = 182,
+    SDL_SCANCODE_KP_RIGHTPAREN = 183,
+    SDL_SCANCODE_KP_LEFTBRACE = 184,
+    SDL_SCANCODE_KP_RIGHTBRACE = 185,
+    SDL_SCANCODE_KP_TAB = 186,
+    SDL_SCANCODE_KP_BACKSPACE = 187,
+    SDL_SCANCODE_KP_A = 188,
+    SDL_SCANCODE_KP_B = 189,
+    SDL_SCANCODE_KP_C = 190,
+    SDL_SCANCODE_KP_D = 191,
+    SDL_SCANCODE_KP_E = 192,
+    SDL_SCANCODE_KP_F = 193,
+    SDL_SCANCODE_KP_XOR = 194,
+    SDL_SCANCODE_KP_POWER = 195,
+    SDL_SCANCODE_KP_PERCENT = 196,
+    SDL_SCANCODE_KP_LESS = 197,
+    SDL_SCANCODE_KP_GREATER = 198,
+    SDL_SCANCODE_KP_AMPERSAND = 199,
+    SDL_SCANCODE_KP_DBLAMPERSAND = 200,
+    SDL_SCANCODE_KP_VERTICALBAR = 201,
+    SDL_SCANCODE_KP_DBLVERTICALBAR = 202,
+    SDL_SCANCODE_KP_COLON = 203,
+    SDL_SCANCODE_KP_HASH = 204,
+    SDL_SCANCODE_KP_SPACE = 205,
+    SDL_SCANCODE_KP_AT = 206,
+    SDL_SCANCODE_KP_EXCLAM = 207,
+    SDL_SCANCODE_KP_MEMSTORE = 208,
+    SDL_SCANCODE_KP_MEMRECALL = 209,
+    SDL_SCANCODE_KP_MEMCLEAR = 210,
+    SDL_SCANCODE_KP_MEMADD = 211,
+    SDL_SCANCODE_KP_MEMSUBTRACT = 212,
+    SDL_SCANCODE_KP_MEMMULTIPLY = 213,
+    SDL_SCANCODE_KP_MEMDIVIDE = 214,
+    SDL_SCANCODE_KP_PLUSMINUS = 215,
+    SDL_SCANCODE_KP_CLEAR = 216,
+    SDL_SCANCODE_KP_CLEARENTRY = 217,
+    SDL_SCANCODE_KP_BINARY = 218,
+    SDL_SCANCODE_KP_OCTAL = 219,
+    SDL_SCANCODE_KP_DECIMAL = 220,
+    SDL_SCANCODE_KP_HEXADECIMAL = 221,
+
+    SDL_SCANCODE_LCTRL = 224,
+    SDL_SCANCODE_LSHIFT = 225,
+    SDL_SCANCODE_LALT = 226, /**< alt, option */
+    SDL_SCANCODE_LGUI = 227, /**< windows, command (apple), meta */
+    SDL_SCANCODE_RCTRL = 228,
+    SDL_SCANCODE_RSHIFT = 229,
+    SDL_SCANCODE_RALT = 230, /**< alt gr, option */
+    SDL_SCANCODE_RGUI = 231, /**< windows, command (apple), meta */
+
+    SDL_SCANCODE_MODE = 257,    /**< I'm not sure if this is really not covered
+                                 *   by any of the above, but since there's a
+                                 *   special KMOD_MODE for it I'm adding it here
+                                 */
+
+    /* @} *//* Usage page 0x07 */
+
+    /**
+     *  \name Usage page 0x0C
+     *
+     *  These values are mapped from usage page 0x0C (USB consumer page).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_AUDIONEXT = 258,
+    SDL_SCANCODE_AUDIOPREV = 259,
+    SDL_SCANCODE_AUDIOSTOP = 260,
+    SDL_SCANCODE_AUDIOPLAY = 261,
+    SDL_SCANCODE_AUDIOMUTE = 262,
+    SDL_SCANCODE_MEDIASELECT = 263,
+    SDL_SCANCODE_WWW = 264,
+    SDL_SCANCODE_MAIL = 265,
+    SDL_SCANCODE_CALCULATOR = 266,
+    SDL_SCANCODE_COMPUTER = 267,
+    SDL_SCANCODE_AC_SEARCH = 268,
+    SDL_SCANCODE_AC_HOME = 269,
+    SDL_SCANCODE_AC_BACK = 270,
+    SDL_SCANCODE_AC_FORWARD = 271,
+    SDL_SCANCODE_AC_STOP = 272,
+    SDL_SCANCODE_AC_REFRESH = 273,
+    SDL_SCANCODE_AC_BOOKMARKS = 274,
+
+    /* @} *//* Usage page 0x0C */
+
+    /**
+     *  \name Walther keys
+     *
+     *  These are values that Christian Walther added (for mac keyboard?).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_BRIGHTNESSDOWN = 275,
+    SDL_SCANCODE_BRIGHTNESSUP = 276,
+    SDL_SCANCODE_DISPLAYSWITCH = 277, /**< display mirroring/dual display
+                                           switch, video mode switch */
+    SDL_SCANCODE_KBDILLUMTOGGLE = 278,
+    SDL_SCANCODE_KBDILLUMDOWN = 279,
+    SDL_SCANCODE_KBDILLUMUP = 280,
+    SDL_SCANCODE_EJECT = 281,
+    SDL_SCANCODE_SLEEP = 282,
+
+    SDL_SCANCODE_APP1 = 283,
+    SDL_SCANCODE_APP2 = 284,
+
+    /* @} *//* Walther keys */
+
+    /**
+     *  \name Usage page 0x0C (additional media keys)
+     *
+     *  These values are mapped from usage page 0x0C (USB consumer page).
+     */
+    /* @{ */
+
+    SDL_SCANCODE_AUDIOREWIND = 285,
+    SDL_SCANCODE_AUDIOFASTFORWARD = 286,
+
+    /* @} *//* Usage page 0x0C (additional media keys) */
+
+    /* Add any other keys here. */
+
+    SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
+                                 for array bounds */
+} SDL_Scancode;
+
+#endif /* SDL_scancode_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_sensor.h
@@ -1,0 +1,251 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_sensor.h
+ *
+ *  Include file for SDL sensor event handling
+ *
+ */
+
+#ifndef SDL_sensor_h_
+#define SDL_sensor_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+/* *INDENT-OFF* */
+extern "C" {
+/* *INDENT-ON* */
+#endif
+
+/**
+ *  \brief SDL_sensor.h
+ *
+ *  In order to use these functions, SDL_Init() must have been called
+ *  with the ::SDL_INIT_SENSOR flag.  This causes SDL to scan the system
+ *  for sensors, and load appropriate drivers.
+ */
+
+struct _SDL_Sensor;
+typedef struct _SDL_Sensor SDL_Sensor;
+
+/**
+ * This is a unique ID for a sensor for the time it is connected to the system,
+ * and is never reused for the lifetime of the application.
+ *
+ * The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
+ */
+typedef Sint32 SDL_SensorID;
+
+/* The different sensors defined by SDL
+ *
+ * Additional sensors may be available, using platform dependent semantics.
+ *
+ * Hare are the additional Android sensors:
+ * https://developer.android.com/reference/android/hardware/SensorEvent.html#values
+ */
+typedef enum
+{
+    SDL_SENSOR_INVALID = -1,    /**< Returned for an invalid sensor */
+    SDL_SENSOR_UNKNOWN,         /**< Unknown sensor type */
+    SDL_SENSOR_ACCEL,           /**< Accelerometer */
+    SDL_SENSOR_GYRO             /**< Gyroscope */
+} SDL_SensorType;
+
+/**
+ * Accelerometer sensor
+ *
+ * The accelerometer returns the current acceleration in SI meters per
+ * second squared. This includes gravity, so a device at rest will have
+ * an acceleration of SDL_STANDARD_GRAVITY straight down.
+ *
+ * values[0]: Acceleration on the x axis
+ * values[1]: Acceleration on the y axis
+ * values[2]: Acceleration on the z axis
+ *
+ * For phones held in portrait mode, the axes are defined as follows:
+ * -X ... +X : left ... right
+ * -Y ... +Y : bottom ... top
+ * -Z ... +Z : farther ... closer
+ * 
+ * The axis data is not changed when the phone is rotated.
+ *
+ * \sa SDL_GetDisplayOrientation()
+ */
+#define SDL_STANDARD_GRAVITY    9.80665f
+
+/**
+ * Gyroscope sensor
+ *
+ * The gyroscope returns the current rate of rotation in radians per second.
+ * The rotation is positive in the counter-clockwise direction. That is,
+ * an observer looking from a positive location on one of the axes would
+ * see positive rotation on that axis when it appeared to be rotating
+ * counter-clockwise.
+ *
+ * values[0]: Angular speed around the x axis
+ * values[1]: Angular speed around the y axis
+ * values[2]: Angular speed around the z axis
+ *
+ * For phones held in portrait mode, the axes are defined as follows:
+ * -X ... +X : left ... right
+ * -Y ... +Y : bottom ... top
+ * -Z ... +Z : farther ... closer
+ * 
+ * The axis data is not changed when the phone is rotated.
+ *
+ * \sa SDL_GetDisplayOrientation()
+ */
+
+/* Function prototypes */
+
+/**
+ *  \brief Count the number of sensors attached to the system right now
+ */
+extern DECLSPEC int SDLCALL SDL_NumSensors(void);
+
+/**
+ *  \brief Get the implementation dependent name of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ * 
+ *  \return The sensor name, or NULL if device_index is out of range.
+ */
+extern DECLSPEC const char *SDLCALL SDL_SensorGetDeviceName(int device_index);
+
+/**
+ *  \brief Get the type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor type, or SDL_SENSOR_INVALID if device_index is out of range.
+ */
+extern DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetDeviceType(int device_index);
+
+/**
+ *  \brief Get the platform dependent type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor platform dependent type, or -1 if device_index is out of range.
+ */
+extern DECLSPEC int SDLCALL SDL_SensorGetDeviceNonPortableType(int device_index);
+
+/**
+ *  \brief Get the instance ID of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor instance ID, or -1 if device_index is out of range.
+ */
+extern DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetDeviceInstanceID(int device_index);
+
+/**
+ *  \brief Open a sensor for use.
+ *
+ *  The index passed as an argument refers to the N'th sensor on the system.
+ *
+ *  \return A sensor identifier, or NULL if an error occurred.
+ */
+extern DECLSPEC SDL_Sensor *SDLCALL SDL_SensorOpen(int device_index);
+
+/**
+ * Return the SDL_Sensor associated with an instance id.
+ */
+extern DECLSPEC SDL_Sensor *SDLCALL SDL_SensorFromInstanceID(SDL_SensorID instance_id);
+
+/**
+ *  \brief Get the implementation dependent name of a sensor.
+ *
+ *  \return The sensor name, or NULL if the sensor is NULL.
+ */
+extern DECLSPEC const char *SDLCALL SDL_SensorGetName(SDL_Sensor *sensor);
+
+/**
+ *  \brief Get the type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor type, or SDL_SENSOR_INVALID if the sensor is NULL.
+ */
+extern DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetType(SDL_Sensor *sensor);
+
+/**
+ *  \brief Get the platform dependent type of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor platform dependent type, or -1 if the sensor is NULL.
+ */
+extern DECLSPEC int SDLCALL SDL_SensorGetNonPortableType(SDL_Sensor *sensor);
+
+/**
+ *  \brief Get the instance ID of a sensor.
+ *
+ *  This can be called before any sensors are opened.
+ *
+ *  \return The sensor instance ID, or -1 if the sensor is NULL.
+ */
+extern DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetInstanceID(SDL_Sensor *sensor);
+
+/**
+ *  Get the current state of an opened sensor.
+ *
+ *  The number of values and interpretation of the data is sensor dependent.
+ *
+ *  \param sensor The sensor to query
+ *  \param data A pointer filled with the current sensor state
+ *  \param num_values The number of values to write to data
+ *
+ *  \return 0 or -1 if an error occurred.
+ */
+extern DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor * sensor, float *data, int num_values);
+
+/**
+ *  Close a sensor previously opened with SDL_SensorOpen()
+ */
+extern DECLSPEC void SDLCALL SDL_SensorClose(SDL_Sensor * sensor);
+
+/**
+ *  Update the current state of the open sensors.
+ *
+ *  This is called automatically by the event loop if sensor events are enabled.
+ *
+ *  This needs to be called from the thread that initialized the sensor subsystem.
+ */
+extern DECLSPEC void SDLCALL SDL_SensorUpdate(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+/* *INDENT-OFF* */
+}
+/* *INDENT-ON* */
+#endif
+#include "close_code.h"
+
+#endif /* SDL_sensor_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_shape.h
@@ -1,0 +1,144 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_shape_h_
+#define SDL_shape_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_pixels.h"
+#include "SDL_rect.h"
+#include "SDL_surface.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** \file SDL_shape.h
+ *
+ * Header file for the shaped window API.
+ */
+
+#define SDL_NONSHAPEABLE_WINDOW -1
+#define SDL_INVALID_SHAPE_ARGUMENT -2
+#define SDL_WINDOW_LACKS_SHAPE -3
+
+/**
+ *  \brief Create a window that can be shaped with the specified position, dimensions, and flags.
+ *
+ *  \param title The title of the window, in UTF-8 encoding.
+ *  \param x     The x position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param y     The y position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param w     The width of the window.
+ *  \param h     The height of the window.
+ *  \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following:
+ *               ::SDL_WINDOW_OPENGL,     ::SDL_WINDOW_INPUT_GRABBED,
+ *               ::SDL_WINDOW_HIDDEN,     ::SDL_WINDOW_RESIZABLE,
+ *               ::SDL_WINDOW_MAXIMIZED,  ::SDL_WINDOW_MINIMIZED,
+ *       ::SDL_WINDOW_BORDERLESS is always set, and ::SDL_WINDOW_FULLSCREEN is always unset.
+ *
+ *  \return The window created, or NULL if window creation failed.
+ *
+ *  \sa SDL_DestroyWindow()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
+
+/**
+ * \brief Return whether the given window is a shaped window.
+ *
+ * \param window The window to query for being shaped.
+ *
+ * \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
+ *
+ * \sa SDL_CreateShapedWindow
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
+
+/** \brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union. */
+typedef enum {
+    /** \brief The default mode, a binarized alpha cutoff of 1. */
+    ShapeModeDefault,
+    /** \brief A binarized alpha cutoff with a given integer value. */
+    ShapeModeBinarizeAlpha,
+    /** \brief A binarized alpha cutoff with a given integer value, but with the opposite comparison. */
+    ShapeModeReverseBinarizeAlpha,
+    /** \brief A color key is applied. */
+    ShapeModeColorKey
+} WindowShapeMode;
+
+#define SDL_SHAPEMODEALPHA(mode) (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha)
+
+/** \brief A union containing parameters for shaped windows. */
+typedef union {
+    /** \brief A cutoff alpha value for binarization of the window shape's alpha channel. */
+    Uint8 binarizationCutoff;
+    SDL_Color colorKey;
+} SDL_WindowShapeParams;
+
+/** \brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents. */
+typedef struct SDL_WindowShapeMode {
+    /** \brief The mode of these window-shape parameters. */
+    WindowShapeMode mode;
+    /** \brief Window-shape parameters. */
+    SDL_WindowShapeParams parameters;
+} SDL_WindowShapeMode;
+
+/**
+ * \brief Set the shape and parameters of a shaped window.
+ *
+ * \param window The shaped window whose parameters should be set.
+ * \param shape A surface encoding the desired shape for the window.
+ * \param shape_mode The parameters to set for the shaped window.
+ *
+ * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
+ *           if the SDL_Window given does not reference a valid shaped window.
+ *
+ * \sa SDL_WindowShapeMode
+ * \sa SDL_GetShapedWindowMode.
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
+
+/**
+ * \brief Get the shape parameters of a shaped window.
+ *
+ * \param window The shaped window whose parameters should be retrieved.
+ * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape.
+ *
+ * \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
+ *           data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
+ *           the SDL_Window given is a shapeable window currently lacking a shape.
+ *
+ * \sa SDL_WindowShapeMode
+ * \sa SDL_SetWindowShape
+ */
+extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_shape_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_stdinc.h
@@ -1,0 +1,607 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_stdinc.h
+ *
+ *  This is a general header that includes C language support.
+ */
+
+#ifndef SDL_stdinc_h_
+#define SDL_stdinc_h_
+
+#include "SDL_config.h"
+
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+#if defined(STDC_HEADERS)
+# include <stdlib.h>
+# include <stddef.h>
+# include <stdarg.h>
+#else
+# if defined(HAVE_STDLIB_H)
+#  include <stdlib.h>
+# elif defined(HAVE_MALLOC_H)
+#  include <malloc.h>
+# endif
+# if defined(HAVE_STDDEF_H)
+#  include <stddef.h>
+# endif
+# if defined(HAVE_STDARG_H)
+#  include <stdarg.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
+#  include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_WCHAR_H
+# include <wchar.h>
+#endif
+#if defined(HAVE_INTTYPES_H)
+# include <inttypes.h>
+#elif defined(HAVE_STDINT_H)
+# include <stdint.h>
+#endif
+#ifdef HAVE_CTYPE_H
+# include <ctype.h>
+#endif
+#ifdef HAVE_MATH_H
+# if defined(__WINRT__)
+/* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on
+   WinRT.  See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
+   for more information.
+*/
+#  define _USE_MATH_DEFINES
+# endif
+# include <math.h>
+#endif
+#ifdef HAVE_FLOAT_H
+# include <float.h>
+#endif
+#if defined(HAVE_ALLOCA) && !defined(alloca)
+# if defined(HAVE_ALLOCA_H)
+#  include <alloca.h>
+# elif defined(__GNUC__)
+#  define alloca __builtin_alloca
+# elif defined(_MSC_VER)
+#  include <malloc.h>
+#  define alloca _alloca
+# elif defined(__WATCOMC__)
+#  include <malloc.h>
+# elif defined(__BORLANDC__)
+#  include <malloc.h>
+# elif defined(__DMC__)
+#  include <stdlib.h>
+# elif defined(__AIX__)
+#pragma alloca
+# elif defined(__MRC__)
+void *alloca(unsigned);
+# else
+char *alloca();
+# endif
+#endif
+
+/**
+ *  The number of elements in an array.
+ */
+#define SDL_arraysize(array)    (sizeof(array)/sizeof(array[0]))
+#define SDL_TABLESIZE(table)    SDL_arraysize(table)
+
+/**
+ *  Macro useful for building other macros with strings in them
+ *
+ *  e.g. #define LOG_ERROR(X) OutputDebugString(SDL_STRINGIFY_ARG(__FUNCTION__) ": " X "\n")
+ */
+#define SDL_STRINGIFY_ARG(arg)  #arg
+
+/**
+ *  \name Cast operators
+ *
+ *  Use proper C++ casts when compiled as C++ to be compatible with the option
+ *  -Wold-style-cast of GCC (and -Werror=old-style-cast in GCC 4.2 and above).
+ */
+/* @{ */
+#ifdef __cplusplus
+#define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
+#define SDL_static_cast(type, expression) static_cast<type>(expression)
+#define SDL_const_cast(type, expression) const_cast<type>(expression)
+#else
+#define SDL_reinterpret_cast(type, expression) ((type)(expression))
+#define SDL_static_cast(type, expression) ((type)(expression))
+#define SDL_const_cast(type, expression) ((type)(expression))
+#endif
+/* @} *//* Cast operators */
+
+/* Define a four character code as a Uint32 */
+#define SDL_FOURCC(A, B, C, D) \
+    ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \
+     (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \
+     (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \
+     (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24))
+
+/**
+ *  \name Basic data types
+ */
+/* @{ */
+
+#ifdef __CC_ARM
+/* ARM's compiler throws warnings if we use an enum: like "SDL_bool x = a < b;" */
+#define SDL_FALSE 0
+#define SDL_TRUE 1
+typedef int SDL_bool;
+#else
+typedef enum
+{
+    SDL_FALSE = 0,
+    SDL_TRUE = 1
+} SDL_bool;
+#endif
+
+/**
+ * \brief A signed 8-bit integer type.
+ */
+#define SDL_MAX_SINT8   ((Sint8)0x7F)           /* 127 */
+#define SDL_MIN_SINT8   ((Sint8)(~0x7F))        /* -128 */
+typedef int8_t Sint8;
+/**
+ * \brief An unsigned 8-bit integer type.
+ */
+#define SDL_MAX_UINT8   ((Uint8)0xFF)           /* 255 */
+#define SDL_MIN_UINT8   ((Uint8)0x00)           /* 0 */
+typedef uint8_t Uint8;
+/**
+ * \brief A signed 16-bit integer type.
+ */
+#define SDL_MAX_SINT16  ((Sint16)0x7FFF)        /* 32767 */
+#define SDL_MIN_SINT16  ((Sint16)(~0x7FFF))     /* -32768 */
+typedef int16_t Sint16;
+/**
+ * \brief An unsigned 16-bit integer type.
+ */
+#define SDL_MAX_UINT16  ((Uint16)0xFFFF)        /* 65535 */
+#define SDL_MIN_UINT16  ((Uint16)0x0000)        /* 0 */
+typedef uint16_t Uint16;
+/**
+ * \brief A signed 32-bit integer type.
+ */
+#define SDL_MAX_SINT32  ((Sint32)0x7FFFFFFF)    /* 2147483647 */
+#define SDL_MIN_SINT32  ((Sint32)(~0x7FFFFFFF)) /* -2147483648 */
+typedef int32_t Sint32;
+/**
+ * \brief An unsigned 32-bit integer type.
+ */
+#define SDL_MAX_UINT32  ((Uint32)0xFFFFFFFFu)   /* 4294967295 */
+#define SDL_MIN_UINT32  ((Uint32)0x00000000)    /* 0 */
+typedef uint32_t Uint32;
+
+/**
+ * \brief A signed 64-bit integer type.
+ */
+#define SDL_MAX_SINT64  ((Sint64)0x7FFFFFFFFFFFFFFFll)      /* 9223372036854775807 */
+#define SDL_MIN_SINT64  ((Sint64)(~0x7FFFFFFFFFFFFFFFll))   /* -9223372036854775808 */
+typedef int64_t Sint64;
+/**
+ * \brief An unsigned 64-bit integer type.
+ */
+#define SDL_MAX_UINT64  ((Uint64)0xFFFFFFFFFFFFFFFFull)     /* 18446744073709551615 */
+#define SDL_MIN_UINT64  ((Uint64)(0x0000000000000000ull))   /* 0 */
+typedef uint64_t Uint64;
+
+/* @} *//* Basic data types */
+
+/* Make sure we have macros for printing 64 bit values.
+ * <stdint.h> should define these but this is not true all platforms.
+ * (for example win32) */
+#ifndef SDL_PRIs64
+#ifdef PRIs64
+#define SDL_PRIs64 PRIs64
+#elif defined(__WIN32__)
+#define SDL_PRIs64 "I64d"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIs64 "ld"
+#else
+#define SDL_PRIs64 "lld"
+#endif
+#endif
+#ifndef SDL_PRIu64
+#ifdef PRIu64
+#define SDL_PRIu64 PRIu64
+#elif defined(__WIN32__)
+#define SDL_PRIu64 "I64u"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIu64 "lu"
+#else
+#define SDL_PRIu64 "llu"
+#endif
+#endif
+#ifndef SDL_PRIx64
+#ifdef PRIx64
+#define SDL_PRIx64 PRIx64
+#elif defined(__WIN32__)
+#define SDL_PRIx64 "I64x"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIx64 "lx"
+#else
+#define SDL_PRIx64 "llx"
+#endif
+#endif
+#ifndef SDL_PRIX64
+#ifdef PRIX64
+#define SDL_PRIX64 PRIX64
+#elif defined(__WIN32__)
+#define SDL_PRIX64 "I64X"
+#elif defined(__LINUX__) && defined(__LP64__)
+#define SDL_PRIX64 "lX"
+#else
+#define SDL_PRIX64 "llX"
+#endif
+#endif
+
+/* Annotations to help code analysis tools */
+#ifdef SDL_DISABLE_ANALYZE_MACROS
+#define SDL_IN_BYTECAP(x)
+#define SDL_INOUT_Z_CAP(x)
+#define SDL_OUT_Z_CAP(x)
+#define SDL_OUT_CAP(x)
+#define SDL_OUT_BYTECAP(x)
+#define SDL_OUT_Z_BYTECAP(x)
+#define SDL_PRINTF_FORMAT_STRING
+#define SDL_SCANF_FORMAT_STRING
+#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
+#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
+#else
+#if defined(_MSC_VER) && (_MSC_VER >= 1600) /* VS 2010 and above */
+#include <sal.h>
+
+#define SDL_IN_BYTECAP(x) _In_bytecount_(x)
+#define SDL_INOUT_Z_CAP(x) _Inout_z_cap_(x)
+#define SDL_OUT_Z_CAP(x) _Out_z_cap_(x)
+#define SDL_OUT_CAP(x) _Out_cap_(x)
+#define SDL_OUT_BYTECAP(x) _Out_bytecap_(x)
+#define SDL_OUT_Z_BYTECAP(x) _Out_z_bytecap_(x)
+
+#define SDL_PRINTF_FORMAT_STRING _Printf_format_string_
+#define SDL_SCANF_FORMAT_STRING _Scanf_format_string_impl_
+#else
+#define SDL_IN_BYTECAP(x)
+#define SDL_INOUT_Z_CAP(x)
+#define SDL_OUT_Z_CAP(x)
+#define SDL_OUT_CAP(x)
+#define SDL_OUT_BYTECAP(x)
+#define SDL_OUT_Z_BYTECAP(x)
+#define SDL_PRINTF_FORMAT_STRING
+#define SDL_SCANF_FORMAT_STRING
+#endif
+#if defined(__GNUC__)
+#define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __printf__, fmtargnumber, fmtargnumber+1 )))
+#define SDL_SCANF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __scanf__, fmtargnumber, fmtargnumber+1 )))
+#else
+#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
+#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
+#endif
+#endif /* SDL_DISABLE_ANALYZE_MACROS */
+
+#define SDL_COMPILE_TIME_ASSERT(name, x)               \
+       typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1]
+/** \cond */
+#ifndef DOXYGEN_SHOULD_IGNORE_THIS
+SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
+SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
+SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
+SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
+SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
+SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
+SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
+SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
+#endif /* DOXYGEN_SHOULD_IGNORE_THIS */
+/** \endcond */
+
+/* Check to make sure enums are the size of ints, for structure packing.
+   For both Watcom C/C++ and Borland C/C++ the compiler option that makes
+   enums having the size of an int must be enabled.
+   This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11).
+*/
+
+/** \cond */
+#ifndef DOXYGEN_SHOULD_IGNORE_THIS
+#if !defined(__ANDROID__)
+   /* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */
+typedef enum
+{
+    DUMMY_ENUM_VALUE
+} SDL_DUMMY_ENUM;
+
+SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int));
+#endif
+#endif /* DOXYGEN_SHOULD_IGNORE_THIS */
+/** \endcond */
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef HAVE_ALLOCA
+#define SDL_stack_alloc(type, count)    (type*)alloca(sizeof(type)*(count))
+#define SDL_stack_free(data)
+#else
+#define SDL_stack_alloc(type, count)    (type*)SDL_malloc(sizeof(type)*(count))
+#define SDL_stack_free(data)            SDL_free(data)
+#endif
+
+extern DECLSPEC void *SDLCALL SDL_malloc(size_t size);
+extern DECLSPEC void *SDLCALL SDL_calloc(size_t nmemb, size_t size);
+extern DECLSPEC void *SDLCALL SDL_realloc(void *mem, size_t size);
+extern DECLSPEC void SDLCALL SDL_free(void *mem);
+
+typedef void *(SDLCALL *SDL_malloc_func)(size_t size);
+typedef void *(SDLCALL *SDL_calloc_func)(size_t nmemb, size_t size);
+typedef void *(SDLCALL *SDL_realloc_func)(void *mem, size_t size);
+typedef void (SDLCALL *SDL_free_func)(void *mem);
+
+/**
+ *  \brief Get the current set of SDL memory functions
+ */
+extern DECLSPEC void SDLCALL SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func,
+                                                    SDL_calloc_func *calloc_func,
+                                                    SDL_realloc_func *realloc_func,
+                                                    SDL_free_func *free_func);
+
+/**
+ *  \brief Replace SDL's memory allocation functions with a custom set
+ *
+ *  \note If you are replacing SDL's memory functions, you should call
+ *        SDL_GetNumAllocations() and be very careful if it returns non-zero.
+ *        That means that your free function will be called with memory
+ *        allocated by the previous memory allocation functions.
+ */
+extern DECLSPEC int SDLCALL SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
+                                                   SDL_calloc_func calloc_func,
+                                                   SDL_realloc_func realloc_func,
+                                                   SDL_free_func free_func);
+
+/**
+ *  \brief Get the number of outstanding (unfreed) allocations
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumAllocations(void);
+
+extern DECLSPEC char *SDLCALL SDL_getenv(const char *name);
+extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite);
+
+extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, const void *));
+
+extern DECLSPEC int SDLCALL SDL_abs(int x);
+
+/* !!! FIXME: these have side effects. You probably shouldn't use them. */
+/* !!! FIXME: Maybe we do forceinline functions of SDL_mini, SDL_minf, etc? */
+#define SDL_min(x, y) (((x) < (y)) ? (x) : (y))
+#define SDL_max(x, y) (((x) > (y)) ? (x) : (y))
+
+extern DECLSPEC int SDLCALL SDL_isdigit(int x);
+extern DECLSPEC int SDLCALL SDL_isspace(int x);
+extern DECLSPEC int SDLCALL SDL_toupper(int x);
+extern DECLSPEC int SDLCALL SDL_tolower(int x);
+
+extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);
+
+#define SDL_zero(x) SDL_memset(&(x), 0, sizeof((x)))
+#define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))
+
+/* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */
+SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)
+{
+#if defined(__GNUC__) && defined(i386)
+    int u0, u1, u2;
+    __asm__ __volatile__ (
+        "cld \n\t"
+        "rep ; stosl \n\t"
+        : "=&D" (u0), "=&a" (u1), "=&c" (u2)
+        : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords))
+        : "memory"
+    );
+#else
+    size_t _n = (dwords + 3) / 4;
+    Uint32 *_p = SDL_static_cast(Uint32 *, dst);
+    Uint32 _val = (val);
+    if (dwords == 0)
+        return;
+    switch (dwords % 4)
+    {
+        case 0: do {    *_p++ = _val;   /* fallthrough */
+        case 3:         *_p++ = _val;   /* fallthrough */
+        case 2:         *_p++ = _val;   /* fallthrough */
+        case 1:         *_p++ = _val;   /* fallthrough */
+        } while ( --_n );
+    }
+#endif
+}
+
+extern DECLSPEC void *SDLCALL SDL_memcpy(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len);
+
+extern DECLSPEC void *SDLCALL SDL_memmove(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len);
+extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len);
+
+extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr);
+extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr);
+extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen);
+extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen);
+extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2);
+
+extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str);
+extern DECLSPEC size_t SDLCALL SDL_strlcpy(SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen);
+extern DECLSPEC size_t SDLCALL SDL_utf8strlcpy(SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes);
+extern DECLSPEC size_t SDLCALL SDL_strlcat(SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen);
+extern DECLSPEC char *SDLCALL SDL_strdup(const char *str);
+extern DECLSPEC char *SDLCALL SDL_strrev(char *str);
+extern DECLSPEC char *SDLCALL SDL_strupr(char *str);
+extern DECLSPEC char *SDLCALL SDL_strlwr(char *str);
+extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c);
+extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c);
+extern DECLSPEC char *SDLCALL SDL_strstr(const char *haystack, const char *needle);
+extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str);
+
+extern DECLSPEC char *SDLCALL SDL_itoa(int value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_uitoa(unsigned int value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_ltoa(long value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_ultoa(unsigned long value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_lltoa(Sint64 value, char *str, int radix);
+extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix);
+
+extern DECLSPEC int SDLCALL SDL_atoi(const char *str);
+extern DECLSPEC double SDLCALL SDL_atof(const char *str);
+extern DECLSPEC long SDLCALL SDL_strtol(const char *str, char **endp, int base);
+extern DECLSPEC unsigned long SDLCALL SDL_strtoul(const char *str, char **endp, int base);
+extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *str, char **endp, int base);
+extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *str, char **endp, int base);
+extern DECLSPEC double SDLCALL SDL_strtod(const char *str, char **endp);
+
+extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2);
+extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen);
+extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2);
+extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t len);
+
+extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, SDL_SCANF_FORMAT_STRING const char *fmt, ...) SDL_SCANF_VARARG_FUNC(2);
+extern DECLSPEC int SDLCALL SDL_vsscanf(const char *text, const char *fmt, va_list ap);
+extern DECLSPEC int SDLCALL SDL_snprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt, ... ) SDL_PRINTF_VARARG_FUNC(3);
+extern DECLSPEC int SDLCALL SDL_vsnprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, const char *fmt, va_list ap);
+
+#ifndef HAVE_M_PI
+#ifndef M_PI
+#define M_PI    3.14159265358979323846264338327950288   /**< pi */
+#endif
+#endif
+
+extern DECLSPEC double SDLCALL SDL_acos(double x);
+extern DECLSPEC float SDLCALL SDL_acosf(float x);
+extern DECLSPEC double SDLCALL SDL_asin(double x);
+extern DECLSPEC float SDLCALL SDL_asinf(float x);
+extern DECLSPEC double SDLCALL SDL_atan(double x);
+extern DECLSPEC float SDLCALL SDL_atanf(float x);
+extern DECLSPEC double SDLCALL SDL_atan2(double x, double y);
+extern DECLSPEC float SDLCALL SDL_atan2f(float x, float y);
+extern DECLSPEC double SDLCALL SDL_ceil(double x);
+extern DECLSPEC float SDLCALL SDL_ceilf(float x);
+extern DECLSPEC double SDLCALL SDL_copysign(double x, double y);
+extern DECLSPEC float SDLCALL SDL_copysignf(float x, float y);
+extern DECLSPEC double SDLCALL SDL_cos(double x);
+extern DECLSPEC float SDLCALL SDL_cosf(float x);
+extern DECLSPEC double SDLCALL SDL_exp(double x);
+extern DECLSPEC float SDLCALL SDL_expf(float x);
+extern DECLSPEC double SDLCALL SDL_fabs(double x);
+extern DECLSPEC float SDLCALL SDL_fabsf(float x);
+extern DECLSPEC double SDLCALL SDL_floor(double x);
+extern DECLSPEC float SDLCALL SDL_floorf(float x);
+extern DECLSPEC double SDLCALL SDL_fmod(double x, double y);
+extern DECLSPEC float SDLCALL SDL_fmodf(float x, float y);
+extern DECLSPEC double SDLCALL SDL_log(double x);
+extern DECLSPEC float SDLCALL SDL_logf(float x);
+extern DECLSPEC double SDLCALL SDL_log10(double x);
+extern DECLSPEC float SDLCALL SDL_log10f(float x);
+extern DECLSPEC double SDLCALL SDL_pow(double x, double y);
+extern DECLSPEC float SDLCALL SDL_powf(float x, float y);
+extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n);
+extern DECLSPEC float SDLCALL SDL_scalbnf(float x, int n);
+extern DECLSPEC double SDLCALL SDL_sin(double x);
+extern DECLSPEC float SDLCALL SDL_sinf(float x);
+extern DECLSPEC double SDLCALL SDL_sqrt(double x);
+extern DECLSPEC float SDLCALL SDL_sqrtf(float x);
+extern DECLSPEC double SDLCALL SDL_tan(double x);
+extern DECLSPEC float SDLCALL SDL_tanf(float x);
+
+/* The SDL implementation of iconv() returns these error codes */
+#define SDL_ICONV_ERROR     (size_t)-1
+#define SDL_ICONV_E2BIG     (size_t)-2
+#define SDL_ICONV_EILSEQ    (size_t)-3
+#define SDL_ICONV_EINVAL    (size_t)-4
+
+/* SDL_iconv_* are now always real symbols/types, not macros or inlined. */
+typedef struct _SDL_iconv_t *SDL_iconv_t;
+extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode,
+                                                   const char *fromcode);
+extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd);
+extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf,
+                                         size_t * inbytesleft, char **outbuf,
+                                         size_t * outbytesleft);
+/**
+ *  This function converts a string between encodings in one pass, returning a
+ *  string that must be freed with SDL_free() or NULL on error.
+ */
+extern DECLSPEC char *SDLCALL SDL_iconv_string(const char *tocode,
+                                               const char *fromcode,
+                                               const char *inbuf,
+                                               size_t inbytesleft);
+#define SDL_iconv_utf8_locale(S)    SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1)
+#define SDL_iconv_utf8_ucs2(S)      (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
+#define SDL_iconv_utf8_ucs4(S)      (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
+
+/* force builds using Clang's static analysis tools to use literal C runtime
+   here, since there are possibly tests that are ineffective otherwise. */
+#if defined(__clang_analyzer__) && !defined(SDL_DISABLE_ANALYZE_MACROS)
+#define SDL_malloc malloc
+#define SDL_calloc calloc
+#define SDL_realloc realloc
+#define SDL_free free
+#define SDL_memset memset
+#define SDL_memcpy memcpy
+#define SDL_memmove memmove
+#define SDL_memcmp memcmp
+#define SDL_strlen strlen
+#define SDL_strlcpy strlcpy
+#define SDL_strlcat strlcat
+#define SDL_strdup strdup
+#define SDL_strchr strchr
+#define SDL_strrchr strrchr
+#define SDL_strstr strstr
+#define SDL_strcmp strcmp
+#define SDL_strncmp strncmp
+#define SDL_strcasecmp strcasecmp
+#define SDL_strncasecmp strncasecmp
+#define SDL_sscanf sscanf
+#define SDL_vsscanf vsscanf
+#define SDL_snprintf snprintf
+#define SDL_vsnprintf vsnprintf
+#endif
+
+SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, SDL_IN_BYTECAP(dwords*4) const void *src, size_t dwords)
+{
+    return SDL_memcpy(dst, src, dwords * 4);
+}
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_stdinc_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_surface.h
@@ -1,0 +1,554 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_surface.h
+ *
+ *  Header file for ::SDL_Surface definition and management functions.
+ */
+
+#ifndef SDL_surface_h_
+#define SDL_surface_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_pixels.h"
+#include "SDL_rect.h"
+#include "SDL_blendmode.h"
+#include "SDL_rwops.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \name Surface flags
+ *
+ *  These are the currently supported flags for the ::SDL_Surface.
+ *
+ *  \internal
+ *  Used internally (read-only).
+ */
+/* @{ */
+#define SDL_SWSURFACE       0           /**< Just here for compatibility */
+#define SDL_PREALLOC        0x00000001  /**< Surface uses preallocated memory */
+#define SDL_RLEACCEL        0x00000002  /**< Surface is RLE encoded */
+#define SDL_DONTFREE        0x00000004  /**< Surface is referenced internally */
+#define SDL_SIMD_ALIGNED    0x00000008  /**< Surface uses aligned memory */
+/* @} *//* Surface flags */
+
+/**
+ *  Evaluates to true if the surface needs to be locked before access.
+ */
+#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0)
+
+/**
+ * \brief A collection of pixels used in software blitting.
+ *
+ * \note  This structure should be treated as read-only, except for \c pixels,
+ *        which, if not NULL, contains the raw pixel data for the surface.
+ */
+typedef struct SDL_Surface
+{
+    Uint32 flags;               /**< Read-only */
+    SDL_PixelFormat *format;    /**< Read-only */
+    int w, h;                   /**< Read-only */
+    int pitch;                  /**< Read-only */
+    void *pixels;               /**< Read-write */
+
+    /** Application data associated with the surface */
+    void *userdata;             /**< Read-write */
+
+    /** information needed for surfaces requiring locks */
+    int locked;                 /**< Read-only */
+    void *lock_data;            /**< Read-only */
+
+    /** clipping information */
+    SDL_Rect clip_rect;         /**< Read-only */
+
+    /** info for fast blit mapping to other surfaces */
+    struct SDL_BlitMap *map;    /**< Private */
+
+    /** Reference count -- used when freeing surface */
+    int refcount;               /**< Read-mostly */
+} SDL_Surface;
+
+/**
+ * \brief The type of function used for surface blitting functions.
+ */
+typedef int (SDLCALL *SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect,
+                                 struct SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ * \brief The formula used for converting between YUV and RGB
+ */
+typedef enum
+{
+    SDL_YUV_CONVERSION_JPEG,        /**< Full range JPEG */
+    SDL_YUV_CONVERSION_BT601,       /**< BT.601 (the default) */
+    SDL_YUV_CONVERSION_BT709,       /**< BT.709 */
+    SDL_YUV_CONVERSION_AUTOMATIC    /**< BT.601 for SD content, BT.709 for HD content */
+} SDL_YUV_CONVERSION_MODE;
+
+/**
+ *  Allocate and free an RGB surface.
+ *
+ *  If the depth is 4 or 8 bits, an empty palette is allocated for the surface.
+ *  If the depth is greater than 8 bits, the pixel format is set using the
+ *  flags '[RGB]mask'.
+ *
+ *  If the function runs out of memory, it will return NULL.
+ *
+ *  \param flags The \c flags are obsolete and should be set to 0.
+ *  \param width The width in pixels of the surface to create.
+ *  \param height The height in pixels of the surface to create.
+ *  \param depth The depth in bits of the surface to create.
+ *  \param Rmask The red mask of the surface to create.
+ *  \param Gmask The green mask of the surface to create.
+ *  \param Bmask The blue mask of the surface to create.
+ *  \param Amask The alpha mask of the surface to create.
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurface
+    (Uint32 flags, int width, int height, int depth,
+     Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
+
+/* !!! FIXME for 2.1: why does this ask for depth? Format provides that. */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormat
+    (Uint32 flags, int width, int height, int depth, Uint32 format);
+
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
+                                                              int width,
+                                                              int height,
+                                                              int depth,
+                                                              int pitch,
+                                                              Uint32 Rmask,
+                                                              Uint32 Gmask,
+                                                              Uint32 Bmask,
+                                                              Uint32 Amask);
+extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormatFrom
+    (void *pixels, int width, int height, int depth, int pitch, Uint32 format);
+extern DECLSPEC void SDLCALL SDL_FreeSurface(SDL_Surface * surface);
+
+/**
+ *  \brief Set the palette used by a surface.
+ *
+ *  \return 0, or -1 if the surface format doesn't use a palette.
+ *
+ *  \note A single palette can be shared with many surfaces.
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfacePalette(SDL_Surface * surface,
+                                                  SDL_Palette * palette);
+
+/**
+ *  \brief Sets up a surface for directly accessing the pixels.
+ *
+ *  Between calls to SDL_LockSurface() / SDL_UnlockSurface(), you can write
+ *  to and read from \c surface->pixels, using the pixel format stored in
+ *  \c surface->format.  Once you are done accessing the surface, you should
+ *  use SDL_UnlockSurface() to release it.
+ *
+ *  Not all surfaces require locking.  If SDL_MUSTLOCK(surface) evaluates
+ *  to 0, then you can read and write to the surface at any time, and the
+ *  pixel format of the surface will not change.
+ *
+ *  No operating system or library calls should be made between lock/unlock
+ *  pairs, as critical system locks may be held during this time.
+ *
+ *  SDL_LockSurface() returns 0, or -1 if the surface couldn't be locked.
+ *
+ *  \sa SDL_UnlockSurface()
+ */
+extern DECLSPEC int SDLCALL SDL_LockSurface(SDL_Surface * surface);
+/** \sa SDL_LockSurface() */
+extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface * surface);
+
+/**
+ *  Load a surface from a seekable SDL data stream (memory or file).
+ *
+ *  If \c freesrc is non-zero, the stream will be closed after being read.
+ *
+ *  The new surface should be freed with SDL_FreeSurface().
+ *
+ *  \return the new surface, or NULL if there was an error.
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_LoadBMP_RW(SDL_RWops * src,
+                                                    int freesrc);
+
+/**
+ *  Load a surface from a file.
+ *
+ *  Convenience macro.
+ */
+#define SDL_LoadBMP(file)   SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1)
+
+/**
+ *  Save a surface to a seekable SDL data stream (memory or file).
+ *
+ *  Surfaces with a 24-bit, 32-bit and paletted 8-bit format get saved in the
+ *  BMP directly. Other RGB formats with 8-bit or higher get converted to a
+ *  24-bit surface or, if they have an alpha mask or a colorkey, to a 32-bit
+ *  surface before they are saved. YUV and paletted 1-bit and 4-bit formats are
+ *  not supported.
+ *
+ *  If \c freedst is non-zero, the stream will be closed after being written.
+ *
+ *  \return 0 if successful or -1 if there was an error.
+ */
+extern DECLSPEC int SDLCALL SDL_SaveBMP_RW
+    (SDL_Surface * surface, SDL_RWops * dst, int freedst);
+
+/**
+ *  Save a surface to a file.
+ *
+ *  Convenience macro.
+ */
+#define SDL_SaveBMP(surface, file) \
+        SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1)
+
+/**
+ *  \brief Sets the RLE acceleration hint for a surface.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid
+ *
+ *  \note If RLE is enabled, colorkey and alpha blending blits are much faster,
+ *        but the surface must be locked before directly accessing the pixels.
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceRLE(SDL_Surface * surface,
+                                              int flag);
+
+/**
+ *  \brief Sets the color key (transparent pixel) in a blittable surface.
+ *
+ *  \param surface The surface to update
+ *  \param flag Non-zero to enable colorkey and 0 to disable colorkey
+ *  \param key The transparent pixel in the native surface format
+ *
+ *  \return 0 on success, or -1 if the surface is not valid
+ *
+ *  You can pass SDL_RLEACCEL to enable RLE accelerated blits.
+ */
+extern DECLSPEC int SDLCALL SDL_SetColorKey(SDL_Surface * surface,
+                                            int flag, Uint32 key);
+
+/**
+ *  \brief Returns whether the surface has a color key
+ *
+ *  \return SDL_TRUE if the surface has a color key, or SDL_FALSE if the surface is NULL or has no color key
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasColorKey(SDL_Surface * surface);
+
+/**
+ *  \brief Gets the color key (transparent pixel) in a blittable surface.
+ *
+ *  \param surface The surface to update
+ *  \param key A pointer filled in with the transparent pixel in the native
+ *             surface format
+ *
+ *  \return 0 on success, or -1 if the surface is not valid or colorkey is not
+ *          enabled.
+ */
+extern DECLSPEC int SDLCALL SDL_GetColorKey(SDL_Surface * surface,
+                                            Uint32 * key);
+
+/**
+ *  \brief Set an additional color value used in blit operations.
+ *
+ *  \param surface The surface to update.
+ *  \param r The red color value multiplied into blit operations.
+ *  \param g The green color value multiplied into blit operations.
+ *  \param b The blue color value multiplied into blit operations.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_GetSurfaceColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceColorMod(SDL_Surface * surface,
+                                                   Uint8 r, Uint8 g, Uint8 b);
+
+
+/**
+ *  \brief Get the additional color value used in blit operations.
+ *
+ *  \param surface The surface to query.
+ *  \param r A pointer filled in with the current red color value.
+ *  \param g A pointer filled in with the current green color value.
+ *  \param b A pointer filled in with the current blue color value.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_SetSurfaceColorMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetSurfaceColorMod(SDL_Surface * surface,
+                                                   Uint8 * r, Uint8 * g,
+                                                   Uint8 * b);
+
+/**
+ *  \brief Set an additional alpha value used in blit operations.
+ *
+ *  \param surface The surface to update.
+ *  \param alpha The alpha value multiplied into blit operations.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_GetSurfaceAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceAlphaMod(SDL_Surface * surface,
+                                                   Uint8 alpha);
+
+/**
+ *  \brief Get the additional alpha value used in blit operations.
+ *
+ *  \param surface The surface to query.
+ *  \param alpha A pointer filled in with the current alpha value.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_SetSurfaceAlphaMod()
+ */
+extern DECLSPEC int SDLCALL SDL_GetSurfaceAlphaMod(SDL_Surface * surface,
+                                                   Uint8 * alpha);
+
+/**
+ *  \brief Set the blend mode used for blit operations.
+ *
+ *  \param surface The surface to update.
+ *  \param blendMode ::SDL_BlendMode to use for blit blending.
+ *
+ *  \return 0 on success, or -1 if the parameters are not valid.
+ *
+ *  \sa SDL_GetSurfaceBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetSurfaceBlendMode(SDL_Surface * surface,
+                                                    SDL_BlendMode blendMode);
+
+/**
+ *  \brief Get the blend mode used for blit operations.
+ *
+ *  \param surface   The surface to query.
+ *  \param blendMode A pointer filled in with the current blend mode.
+ *
+ *  \return 0 on success, or -1 if the surface is not valid.
+ *
+ *  \sa SDL_SetSurfaceBlendMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetSurfaceBlendMode(SDL_Surface * surface,
+                                                    SDL_BlendMode *blendMode);
+
+/**
+ *  Sets the clipping rectangle for the destination surface in a blit.
+ *
+ *  If the clip rectangle is NULL, clipping will be disabled.
+ *
+ *  If the clip rectangle doesn't intersect the surface, the function will
+ *  return SDL_FALSE and blits will be completely clipped.  Otherwise the
+ *  function returns SDL_TRUE and blits to the surface will be clipped to
+ *  the intersection of the surface area and the clipping rectangle.
+ *
+ *  Note that blits are automatically clipped to the edges of the source
+ *  and destination surfaces.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_SetClipRect(SDL_Surface * surface,
+                                                 const SDL_Rect * rect);
+
+/**
+ *  Gets the clipping rectangle for the destination surface in a blit.
+ *
+ *  \c rect must be a pointer to a valid rectangle which will be filled
+ *  with the correct values.
+ */
+extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
+                                             SDL_Rect * rect);
+
+/*
+ * Creates a new surface identical to the existing surface
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_DuplicateSurface(SDL_Surface * surface);
+
+/**
+ *  Creates a new surface of the specified format, and then copies and maps
+ *  the given surface to it so the blit of the converted surface will be as
+ *  fast as possible.  If this function fails, it returns NULL.
+ *
+ *  The \c flags parameter is passed to SDL_CreateRGBSurface() and has those
+ *  semantics.  You can also pass ::SDL_RLEACCEL in the flags parameter and
+ *  SDL will try to RLE accelerate colorkey and alpha blits in the resulting
+ *  surface.
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface
+    (SDL_Surface * src, const SDL_PixelFormat * fmt, Uint32 flags);
+extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
+    (SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
+
+/**
+ * \brief Copy a block of pixels of one format to another format
+ *
+ *  \return 0 on success, or -1 if there was an error
+ */
+extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
+                                              Uint32 src_format,
+                                              const void * src, int src_pitch,
+                                              Uint32 dst_format,
+                                              void * dst, int dst_pitch);
+
+/**
+ *  Performs a fast fill of the given rectangle with \c color.
+ *
+ *  If \c rect is NULL, the whole surface will be filled with \c color.
+ *
+ *  The color should be a pixel of the format used by the surface, and
+ *  can be generated by the SDL_MapRGB() function.
+ *
+ *  \return 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_FillRect
+    (SDL_Surface * dst, const SDL_Rect * rect, Uint32 color);
+extern DECLSPEC int SDLCALL SDL_FillRects
+    (SDL_Surface * dst, const SDL_Rect * rects, int count, Uint32 color);
+
+/**
+ *  Performs a fast blit from the source surface to the destination surface.
+ *
+ *  This assumes that the source and destination rectangles are
+ *  the same size.  If either \c srcrect or \c dstrect are NULL, the entire
+ *  surface (\c src or \c dst) is copied.  The final blit rectangles are saved
+ *  in \c srcrect and \c dstrect after all clipping is performed.
+ *
+ *  \return If the blit is successful, it returns 0, otherwise it returns -1.
+ *
+ *  The blit function should not be called on a locked surface.
+ *
+ *  The blit semantics for surfaces with and without blending and colorkey
+ *  are defined as follows:
+ *  \verbatim
+    RGBA->RGB:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source alpha-channel and per-surface alpha)
+        SDL_SRCCOLORKEY ignored.
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy RGB.
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        RGB values of the source color key, ignoring alpha in the
+        comparison.
+
+    RGB->RGBA:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source per-surface alpha)
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy RGB, set destination alpha to source per-surface alpha value.
+      both:
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        source color key.
+
+    RGBA->RGBA:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source alpha-channel and per-surface alpha)
+        SDL_SRCCOLORKEY ignored.
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy all of RGBA to the destination.
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        RGB values of the source color key, ignoring alpha in the
+        comparison.
+
+    RGB->RGB:
+      Source surface blend mode set to SDL_BLENDMODE_BLEND:
+        alpha-blend (using the source per-surface alpha)
+      Source surface blend mode set to SDL_BLENDMODE_NONE:
+        copy RGB.
+      both:
+        if SDL_SRCCOLORKEY set, only copy the pixels matching the
+        source color key.
+    \endverbatim
+ *
+ *  You should call SDL_BlitSurface() unless you know exactly how SDL
+ *  blitting works internally and how to use the other blit functions.
+ */
+#define SDL_BlitSurface SDL_UpperBlit
+
+/**
+ *  This is the public blit function, SDL_BlitSurface(), and it performs
+ *  rectangle validation and clipping before passing it to SDL_LowerBlit()
+ */
+extern DECLSPEC int SDLCALL SDL_UpperBlit
+    (SDL_Surface * src, const SDL_Rect * srcrect,
+     SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  This is a semi-private blit function and it performs low-level surface
+ *  blitting only.
+ */
+extern DECLSPEC int SDLCALL SDL_LowerBlit
+    (SDL_Surface * src, SDL_Rect * srcrect,
+     SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  \brief Perform a fast, low quality, stretch blit between two surfaces of the
+ *         same pixel format.
+ *
+ *  \note This function uses a static buffer, and is not thread-safe.
+ */
+extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src,
+                                            const SDL_Rect * srcrect,
+                                            SDL_Surface * dst,
+                                            const SDL_Rect * dstrect);
+
+#define SDL_BlitScaled SDL_UpperBlitScaled
+
+/**
+ *  This is the public scaled blit function, SDL_BlitScaled(), and it performs
+ *  rectangle validation and clipping before passing it to SDL_LowerBlitScaled()
+ */
+extern DECLSPEC int SDLCALL SDL_UpperBlitScaled
+    (SDL_Surface * src, const SDL_Rect * srcrect,
+    SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  This is a semi-private blit function and it performs low-level surface
+ *  scaled blitting only.
+ */
+extern DECLSPEC int SDLCALL SDL_LowerBlitScaled
+    (SDL_Surface * src, SDL_Rect * srcrect,
+    SDL_Surface * dst, SDL_Rect * dstrect);
+
+/**
+ *  \brief Set the YUV conversion mode
+ */
+extern DECLSPEC void SDLCALL SDL_SetYUVConversionMode(SDL_YUV_CONVERSION_MODE mode);
+
+/**
+ *  \brief Get the YUV conversion mode
+ */
+extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionMode(void);
+
+/**
+ *  \brief Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC
+ */
+extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionModeForResolution(int width, int height);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_surface_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_system.h
@@ -1,0 +1,279 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_system.h
+ *
+ *  Include file for platform specific SDL API functions
+ */
+
+#ifndef SDL_system_h_
+#define SDL_system_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_keyboard.h"
+#include "SDL_render.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Platform specific functions for Windows */
+#ifdef __WIN32__
+	
+/**
+   \brief Set a function that is called for every windows message, before TranslateMessage()
+*/
+typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);
+extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata);
+
+/**
+   \brief Returns the D3D9 adapter index that matches the specified display index.
+
+   This adapter index can be passed to IDirect3D9::CreateDevice and controls
+   on which monitor a full screen application will appear.
+*/
+extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
+
+typedef struct IDirect3DDevice9 IDirect3DDevice9;
+/**
+   \brief Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer.
+
+   Once you are done using the device, you should release it to avoid a resource leak.
+ */
+extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
+
+/**
+   \brief Returns the DXGI Adapter and Output indices for the specified display index.
+
+   These can be passed to EnumAdapters and EnumOutputs respectively to get the objects
+   required to create a DX10 or DX11 device and swap chain.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *outputIndex );
+
+#endif /* __WIN32__ */
+
+
+/* Platform specific functions for Linux */
+#ifdef __LINUX__
+
+/**
+   \brief Sets the UNIX nice value for a thread, using setpriority() if possible, and RealtimeKit if available.
+
+   \return 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_LinuxSetThreadPriority(Sint64 threadID, int priority);
+ 
+#endif /* __LINUX__ */
+	
+/* Platform specific functions for iOS */
+#if defined(__IPHONEOS__) && __IPHONEOS__
+
+#define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam)
+extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (*callback)(void*), void *callbackParam);
+
+#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
+extern DECLSPEC void SDLCALL SDL_iPhoneSetEventPump(SDL_bool enabled);
+
+#endif /* __IPHONEOS__ */
+
+
+/* Platform specific functions for Android */
+#if defined(__ANDROID__) && __ANDROID__
+
+/**
+   \brief Get the JNI environment for the current thread
+
+   This returns JNIEnv*, but the prototype is void* so we don't need jni.h
+ */
+extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv(void);
+
+/**
+   \brief Get the SDL Activity object for the application
+
+   This returns jobject, but the prototype is void* so we don't need jni.h
+   The jobject returned by SDL_AndroidGetActivity is a local reference.
+   It is the caller's responsibility to properly release it
+   (using env->Push/PopLocalFrame or manually with env->DeleteLocalRef)
+ */
+extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
+
+/**
+   \brief Return true if the application is running on Android TV
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void);
+
+/**
+   \brief Return true if the application is running on a Chromebook
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsChromebook(void);
+
+/**
+  \brief Return true is the application is running on a Samsung DeX docking station
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsDeXMode(void);
+
+/**
+ \brief Trigger the Android system back button behavior.
+ */
+extern DECLSPEC void SDLCALL SDL_AndroidBackButton(void);
+
+/**
+   See the official Android developer guide for more information:
+   http://developer.android.com/guide/topics/data/data-storage.html
+*/
+#define SDL_ANDROID_EXTERNAL_STORAGE_READ   0x01
+#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE  0x02
+
+/**
+   \brief Get the path used for internal storage for this application.
+
+   This path is unique to your application and cannot be written to
+   by other applications.
+ */
+extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath(void);
+
+/**
+   \brief Get the current state of external storage, a bitmask of these values:
+    SDL_ANDROID_EXTERNAL_STORAGE_READ
+    SDL_ANDROID_EXTERNAL_STORAGE_WRITE
+
+   If external storage is currently unavailable, this will return 0.
+*/
+extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState(void);
+
+/**
+   \brief Get the path used for external storage for this application.
+
+   This path is unique to your application, but is public and can be
+   written to by other applications.
+ */
+extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void);
+
+#endif /* __ANDROID__ */
+
+/* Platform specific functions for WinRT */
+#if defined(__WINRT__) && __WINRT__
+
+/**
+ *  \brief WinRT / Windows Phone path types
+ */
+typedef enum
+{
+    /** \brief The installed app's root directory.
+        Files here are likely to be read-only. */
+    SDL_WINRT_PATH_INSTALLED_LOCATION,
+
+    /** \brief The app's local data store.  Files may be written here */
+    SDL_WINRT_PATH_LOCAL_FOLDER,
+
+    /** \brief The app's roaming data store.  Unsupported on Windows Phone.
+        Files written here may be copied to other machines via a network
+        connection.
+    */
+    SDL_WINRT_PATH_ROAMING_FOLDER,
+
+    /** \brief The app's temporary data store.  Unsupported on Windows Phone.
+        Files written here may be deleted at any time. */
+    SDL_WINRT_PATH_TEMP_FOLDER
+} SDL_WinRT_Path;
+
+
+/**
+ *  \brief WinRT Device Family
+ */
+typedef enum
+{
+    /** \brief Unknown family  */
+    SDL_WINRT_DEVICEFAMILY_UNKNOWN,
+
+    /** \brief Desktop family*/
+    SDL_WINRT_DEVICEFAMILY_DESKTOP,
+
+    /** \brief Mobile family (for example smartphone) */
+    SDL_WINRT_DEVICEFAMILY_MOBILE,
+
+    /** \brief XBox family */
+    SDL_WINRT_DEVICEFAMILY_XBOX,
+} SDL_WinRT_DeviceFamily;
+
+
+/**
+ *  \brief Retrieves a WinRT defined path on the local file system
+ *
+ *  \note Documentation on most app-specific path types on WinRT
+ *      can be found on MSDN, at the URL:
+ *      http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
+ *
+ *  \param pathType The type of path to retrieve.
+ *  \return A UCS-2 string (16-bit, wide-char) containing the path, or NULL
+ *      if the path is not available for any reason.  Not all paths are
+ *      available on all versions of Windows.  This is especially true on
+ *      Windows Phone.  Check the documentation for the given
+ *      SDL_WinRT_Path for more information on which path types are
+ *      supported where.
+ */
+extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
+
+/**
+ *  \brief Retrieves a WinRT defined path on the local file system
+ *
+ *  \note Documentation on most app-specific path types on WinRT
+ *      can be found on MSDN, at the URL:
+ *      http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
+ *
+ *  \param pathType The type of path to retrieve.
+ *  \return A UTF-8 string (8-bit, multi-byte) containing the path, or NULL
+ *      if the path is not available for any reason.  Not all paths are
+ *      available on all versions of Windows.  This is especially true on
+ *      Windows Phone.  Check the documentation for the given
+ *      SDL_WinRT_Path for more information on which path types are
+ *      supported where.
+ */
+extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
+
+/**
+ *  \brief Detects the device family of WinRT plattform on runtime
+ *
+ *  \return Device family
+ */
+extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
+
+#endif /* __WINRT__ */
+
+/**
+ \brief Return true if the current device is a tablet.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsTablet(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_system_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_syswm.h
@@ -1,0 +1,327 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_syswm.h
+ *
+ *  Include file for SDL custom system window manager hooks.
+ */
+
+#ifndef SDL_syswm_h_
+#define SDL_syswm_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+#include "SDL_version.h"
+
+/**
+ *  \brief SDL_syswm.h
+ *
+ *  Your application has access to a special type of event ::SDL_SYSWMEVENT,
+ *  which contains window-manager specific information and arrives whenever
+ *  an unhandled window event occurs.  This event is ignored by default, but
+ *  you can enable it with SDL_EventState().
+ */
+struct SDL_SysWMinfo;
+
+#if !defined(SDL_PROTOTYPES_ONLY)
+
+#if defined(SDL_VIDEO_DRIVER_WINDOWS)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+#include <windows.h>
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_WINRT)
+#include <Inspectable.h>
+#endif
+
+/* This is the structure for custom window manager events */
+#if defined(SDL_VIDEO_DRIVER_X11)
+#if defined(__APPLE__) && defined(__MACH__)
+/* conflicts with Quickdraw.h */
+#define Cursor X11Cursor
+#endif
+
+#include <X11/Xlib.h>
+#include <X11/Xatom.h>
+
+#if defined(__APPLE__) && defined(__MACH__)
+/* matches the re-define above */
+#undef Cursor
+#endif
+
+#endif /* defined(SDL_VIDEO_DRIVER_X11) */
+
+#if defined(SDL_VIDEO_DRIVER_DIRECTFB)
+#include <directfb.h>
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_COCOA)
+#ifdef __OBJC__
+@class NSWindow;
+#else
+typedef struct _NSWindow NSWindow;
+#endif
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_UIKIT)
+#ifdef __OBJC__
+#include <UIKit/UIKit.h>
+#else
+typedef struct _UIWindow UIWindow;
+typedef struct _UIViewController UIViewController;
+#endif
+typedef Uint32 GLuint;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_ANDROID)
+typedef struct ANativeWindow ANativeWindow;
+typedef void *EGLSurface;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_VIVANTE)
+#include "SDL_egl.h"
+#endif
+#endif /* SDL_PROTOTYPES_ONLY */
+
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if !defined(SDL_PROTOTYPES_ONLY)
+/**
+ *  These are the various supported windowing subsystems
+ */
+typedef enum
+{
+    SDL_SYSWM_UNKNOWN,
+    SDL_SYSWM_WINDOWS,
+    SDL_SYSWM_X11,
+    SDL_SYSWM_DIRECTFB,
+    SDL_SYSWM_COCOA,
+    SDL_SYSWM_UIKIT,
+    SDL_SYSWM_WAYLAND,
+    SDL_SYSWM_MIR,  /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
+    SDL_SYSWM_WINRT,
+    SDL_SYSWM_ANDROID,
+    SDL_SYSWM_VIVANTE,
+    SDL_SYSWM_OS2
+} SDL_SYSWM_TYPE;
+
+/**
+ *  The custom event structure.
+ */
+struct SDL_SysWMmsg
+{
+    SDL_version version;
+    SDL_SYSWM_TYPE subsystem;
+    union
+    {
+#if defined(SDL_VIDEO_DRIVER_WINDOWS)
+        struct {
+            HWND hwnd;                  /**< The window for the message */
+            UINT msg;                   /**< The type of message */
+            WPARAM wParam;              /**< WORD message parameter */
+            LPARAM lParam;              /**< LONG message parameter */
+        } win;
+#endif
+#if defined(SDL_VIDEO_DRIVER_X11)
+        struct {
+            XEvent event;
+        } x11;
+#endif
+#if defined(SDL_VIDEO_DRIVER_DIRECTFB)
+        struct {
+            DFBEvent event;
+        } dfb;
+#endif
+#if defined(SDL_VIDEO_DRIVER_COCOA)
+        struct
+        {
+            /* Latest version of Xcode clang complains about empty structs in C v. C++:
+                 error: empty struct has size 0 in C, size 1 in C++
+             */
+            int dummy;
+            /* No Cocoa window events yet */
+        } cocoa;
+#endif
+#if defined(SDL_VIDEO_DRIVER_UIKIT)
+        struct
+        {
+            int dummy;
+            /* No UIKit window events yet */
+        } uikit;
+#endif
+#if defined(SDL_VIDEO_DRIVER_VIVANTE)
+        struct
+        {
+            int dummy;
+            /* No Vivante window events yet */
+        } vivante;
+#endif
+        /* Can't have an empty union */
+        int dummy;
+    } msg;
+};
+
+/**
+ *  The custom window manager information structure.
+ *
+ *  When this structure is returned, it holds information about which
+ *  low level system it is using, and will be one of SDL_SYSWM_TYPE.
+ */
+struct SDL_SysWMinfo
+{
+    SDL_version version;
+    SDL_SYSWM_TYPE subsystem;
+    union
+    {
+#if defined(SDL_VIDEO_DRIVER_WINDOWS)
+        struct
+        {
+            HWND window;                /**< The window handle */
+            HDC hdc;                    /**< The window device context */
+            HINSTANCE hinstance;        /**< The instance handle */
+        } win;
+#endif
+#if defined(SDL_VIDEO_DRIVER_WINRT)
+        struct
+        {
+            IInspectable * window;      /**< The WinRT CoreWindow */
+        } winrt;
+#endif
+#if defined(SDL_VIDEO_DRIVER_X11)
+        struct
+        {
+            Display *display;           /**< The X11 display */
+            Window window;              /**< The X11 window */
+        } x11;
+#endif
+#if defined(SDL_VIDEO_DRIVER_DIRECTFB)
+        struct
+        {
+            IDirectFB *dfb;             /**< The directfb main interface */
+            IDirectFBWindow *window;    /**< The directfb window handle */
+            IDirectFBSurface *surface;  /**< The directfb client surface */
+        } dfb;
+#endif
+#if defined(SDL_VIDEO_DRIVER_COCOA)
+        struct
+        {
+#if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc)
+            NSWindow __unsafe_unretained *window; /**< The Cocoa window */
+#else
+            NSWindow *window;                     /**< The Cocoa window */
+#endif
+        } cocoa;
+#endif
+#if defined(SDL_VIDEO_DRIVER_UIKIT)
+        struct
+        {
+#if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc)
+            UIWindow __unsafe_unretained *window; /**< The UIKit window */
+#else
+            UIWindow *window;                     /**< The UIKit window */
+#endif
+            GLuint framebuffer; /**< The GL view's Framebuffer Object. It must be bound when rendering to the screen using GL. */
+            GLuint colorbuffer; /**< The GL view's color Renderbuffer Object. It must be bound when SDL_GL_SwapWindow is called. */
+            GLuint resolveFramebuffer; /**< The Framebuffer Object which holds the resolve color Renderbuffer, when MSAA is used. */
+        } uikit;
+#endif
+#if defined(SDL_VIDEO_DRIVER_WAYLAND)
+        struct
+        {
+            struct wl_display *display;            /**< Wayland display */
+            struct wl_surface *surface;            /**< Wayland surface */
+            struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */
+        } wl;
+#endif
+#if defined(SDL_VIDEO_DRIVER_MIR)  /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
+        struct
+        {
+            void *connection;  /**< Mir display server connection */
+            void *surface;  /**< Mir surface */
+        } mir;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_ANDROID)
+        struct
+        {
+            ANativeWindow *window;
+            EGLSurface surface;
+        } android;
+#endif
+
+#if defined(SDL_VIDEO_DRIVER_VIVANTE)
+        struct
+        {
+            EGLNativeDisplayType display;
+            EGLNativeWindowType window;
+        } vivante;
+#endif
+
+        /* Make sure this union is always 64 bytes (8 64-bit pointers). */
+        /* Be careful not to overflow this if you add a new target! */
+        Uint8 dummy[64];
+    } info;
+};
+
+#endif /* SDL_PROTOTYPES_ONLY */
+
+typedef struct SDL_SysWMinfo SDL_SysWMinfo;
+
+/* Function prototypes */
+/**
+ *  \brief This function allows access to driver-dependent window information.
+ *
+ *  \param window The window about which information is being requested
+ *  \param info This structure must be initialized with the SDL version, and is
+ *              then filled in with information about the given window.
+ *
+ *  \return SDL_TRUE if the function is implemented and the version member of
+ *          the \c info struct is valid, SDL_FALSE otherwise.
+ *
+ *  You typically use this function like this:
+ *  \code
+ *  SDL_SysWMinfo info;
+ *  SDL_VERSION(&info.version);
+ *  if ( SDL_GetWindowWMInfo(window, &info) ) { ... }
+ *  \endcode
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window,
+                                                     SDL_SysWMinfo * info);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_syswm_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test.h
@@ -1,0 +1,69 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+#ifndef SDL_test_h_
+#define SDL_test_h_
+
+#include "SDL.h"
+#include "SDL_test_assert.h"
+#include "SDL_test_common.h"
+#include "SDL_test_compare.h"
+#include "SDL_test_crc32.h"
+#include "SDL_test_font.h"
+#include "SDL_test_fuzzer.h"
+#include "SDL_test_harness.h"
+#include "SDL_test_images.h"
+#include "SDL_test_log.h"
+#include "SDL_test_md5.h"
+#include "SDL_test_memory.h"
+#include "SDL_test_random.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Global definitions */
+
+/*
+ * Note: Maximum size of SDLTest log message is less than SDL's limit
+ * to ensure we can fit additional information such as the timestamp.
+ */
+#define SDLTEST_MAX_LOGMESSAGE_LENGTH   3584
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_assert.h
@@ -1,0 +1,105 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_assert.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+ *
+ * Assert API for test code and test cases
+ *
+ */
+
+#ifndef SDL_test_assert_h_
+#define SDL_test_assert_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Fails the assert.
+ */
+#define ASSERT_FAIL     0
+
+/**
+ * \brief Passes the assert.
+ */
+#define ASSERT_PASS     1
+
+/**
+ * \brief Assert that logs and break execution flow on failures.
+ *
+ * \param assertCondition Evaluated condition or variable to assert; fail (==0) or pass (!=0).
+ * \param assertDescription Message to log with the assert describing it.
+ */
+void SDLTest_Assert(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ * \brief Assert for test cases that logs but does not break execution flow on failures. Updates assertion counters.
+ *
+ * \param assertCondition Evaluated condition or variable to assert; fail (==0) or pass (!=0).
+ * \param assertDescription Message to log with the assert describing it.
+ *
+ * \returns Returns the assertCondition so it can be used to externally to break execution flow if desired.
+ */
+int SDLTest_AssertCheck(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(2);
+
+/**
+ * \brief Explicitly pass without checking an assertion condition. Updates assertion counter.
+ *
+ * \param assertDescription Message to log with the assert describing it.
+ */
+void SDLTest_AssertPass(SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(1);
+
+/**
+ * \brief Resets the assert summary counters to zero.
+ */
+void SDLTest_ResetAssertSummary(void);
+
+/**
+ * \brief Logs summary of all assertions (total, pass, fail) since last reset as INFO or ERROR.
+ */
+void SDLTest_LogAssertSummary(void);
+
+
+/**
+ * \brief Converts the current assert summary state to a test result.
+ *
+ * \returns TEST_RESULT_PASSED, TEST_RESULT_FAILED, or TEST_RESULT_NO_ASSERT
+ */
+int SDLTest_AssertSummaryToTestResult(void);
+
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_assert_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_common.h
@@ -1,0 +1,205 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_common.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/* Ported from original test\common.h file. */
+
+#ifndef SDL_test_common_h_
+#define SDL_test_common_h_
+
+#include "SDL.h"
+
+#if defined(__PSP__)
+#define DEFAULT_WINDOW_WIDTH  480
+#define DEFAULT_WINDOW_HEIGHT 272
+#else
+#define DEFAULT_WINDOW_WIDTH  640
+#define DEFAULT_WINDOW_HEIGHT 480
+#endif
+
+#define VERBOSE_VIDEO   0x00000001
+#define VERBOSE_MODES   0x00000002
+#define VERBOSE_RENDER  0x00000004
+#define VERBOSE_EVENT   0x00000008
+#define VERBOSE_AUDIO   0x00000010
+
+typedef struct
+{
+    /* SDL init flags */
+    char **argv;
+    Uint32 flags;
+    Uint32 verbose;
+
+    /* Video info */
+    const char *videodriver;
+    int display;
+    const char *window_title;
+    const char *window_icon;
+    Uint32 window_flags;
+    int window_x;
+    int window_y;
+    int window_w;
+    int window_h;
+    int window_minW;
+    int window_minH;
+    int window_maxW;
+    int window_maxH;
+    int logical_w;
+    int logical_h;
+    float scale;
+    int depth;
+    int refresh_rate;
+    int num_windows;
+    SDL_Window **windows;
+
+    /* Renderer info */
+    const char *renderdriver;
+    Uint32 render_flags;
+    SDL_bool skip_renderer;
+    SDL_Renderer **renderers;
+    SDL_Texture **targets;
+
+    /* Audio info */
+    const char *audiodriver;
+    SDL_AudioSpec audiospec;
+
+    /* GL settings */
+    int gl_red_size;
+    int gl_green_size;
+    int gl_blue_size;
+    int gl_alpha_size;
+    int gl_buffer_size;
+    int gl_depth_size;
+    int gl_stencil_size;
+    int gl_double_buffer;
+    int gl_accum_red_size;
+    int gl_accum_green_size;
+    int gl_accum_blue_size;
+    int gl_accum_alpha_size;
+    int gl_stereo;
+    int gl_multisamplebuffers;
+    int gl_multisamplesamples;
+    int gl_retained_backing;
+    int gl_accelerated;
+    int gl_major_version;
+    int gl_minor_version;
+    int gl_debug;
+    int gl_profile_mask;
+} SDLTest_CommonState;
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Function prototypes */
+
+/**
+ * \brief Parse command line parameters and create common state.
+ *
+ * \param argv Array of command line parameters
+ * \param flags Flags indicating which subsystem to initialize (i.e. SDL_INIT_VIDEO | SDL_INIT_AUDIO)
+ *
+ * \returns Returns a newly allocated common state object.
+ */
+SDLTest_CommonState *SDLTest_CommonCreateState(char **argv, Uint32 flags);
+
+/**
+ * \brief Process one common argument.
+ *
+ * \param state The common state describing the test window to create.
+ * \param index The index of the argument to process in argv[].
+ *
+ * \returns The number of arguments processed (i.e. 1 for --fullscreen, 2 for --video [videodriver], or -1 on error.
+ */
+int SDLTest_CommonArg(SDLTest_CommonState * state, int index);
+
+
+/**
+ * \brief Logs command line usage info.
+ *
+ * This logs the appropriate command line options for the subsystems in use
+ *  plus other common options, and then any application-specific options.
+ *  This uses the SDL_Log() function and splits up output to be friendly to
+ *  80-character-wide terminals.
+ *
+ * \param state The common state describing the test window for the app.
+ * \param argv0 argv[0], as passed to main/SDL_main.
+ * \param options an array of strings for application specific options. The last element of the array should be NULL.
+ */
+void SDLTest_CommonLogUsage(SDLTest_CommonState * state, const char *argv0, const char **options);
+
+/**
+ * \brief Open test window.
+ *
+ * \param state The common state describing the test window to create.
+ *
+ * \returns True if initialization succeeded, false otherwise
+ */
+SDL_bool SDLTest_CommonInit(SDLTest_CommonState * state);
+
+/**
+ * \brief Easy argument handling when test app doesn't need any custom args.
+ *
+ * \param state The common state describing the test window to create.
+ * \param argc argc, as supplied to SDL_main
+ * \param argv argv, as supplied to SDL_main
+ *
+ * \returns False if app should quit, true otherwise.
+ */
+SDL_bool SDLTest_CommonDefaultArgs(SDLTest_CommonState * state, const int argc, char **argv);
+
+/**
+ * \brief Common event handler for test windows.
+ *
+ * \param state The common state used to create test window.
+ * \param event The event to handle.
+ * \param done Flag indicating we are done.
+ *
+ */
+void SDLTest_CommonEvent(SDLTest_CommonState * state, SDL_Event * event, int *done);
+
+/**
+ * \brief Close test window.
+ *
+ * \param state The common state used to create test window.
+ *
+ */
+void SDLTest_CommonQuit(SDLTest_CommonState * state);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_common_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_compare.h
@@ -1,0 +1,69 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_compare.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+
+ Defines comparison functions (i.e. for surfaces).
+
+*/
+
+#ifndef SDL_test_compare_h_
+#define SDL_test_compare_h_
+
+#include "SDL.h"
+
+#include "SDL_test_images.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Compares a surface and with reference image data for equality
+ *
+ * \param surface Surface used in comparison
+ * \param referenceSurface Test Surface used in comparison
+ * \param allowable_error Allowable difference (=sum of squared difference for each RGB component) in blending accuracy.
+ *
+ * \returns 0 if comparison succeeded, >0 (=number of pixels for which the comparison failed) if comparison failed, -1 if any of the surfaces were NULL, -2 if the surface sizes differ.
+ */
+int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface, int allowable_error);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_compare_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_crc32.h
@@ -1,0 +1,124 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_crc32.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+
+ Implements CRC32 calculations (default output is Perl String::CRC32 compatible).
+
+*/
+
+#ifndef SDL_test_crc32_h_
+#define SDL_test_crc32_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* ------------ Definitions --------- */
+
+/* Definition shared by all CRC routines */
+
+#ifndef CrcUint32
+ #define CrcUint32  unsigned int
+#endif
+#ifndef CrcUint8
+ #define CrcUint8   unsigned char
+#endif
+
+#ifdef ORIGINAL_METHOD
+ #define CRC32_POLY 0x04c11db7   /* AUTODIN II, Ethernet, & FDDI */
+#else
+ #define CRC32_POLY 0xEDB88320   /* Perl String::CRC32 compatible */
+#endif
+
+/**
+ * Data structure for CRC32 (checksum) computation
+ */
+  typedef struct {
+    CrcUint32    crc32_table[256]; /* CRC table */
+  } SDLTest_Crc32Context;
+
+/* ---------- Function Prototypes ------------- */
+
+/**
+ * \brief Initialize the CRC context
+ *
+ * Note: The function initializes the crc table required for all crc calculations.
+ *
+ * \param crcContext        pointer to context variable
+ *
+ * \returns 0 for OK, -1 on error
+ *
+ */
+ int SDLTest_Crc32Init(SDLTest_Crc32Context * crcContext);
+
+
+/**
+ * \brief calculate a crc32 from a data block
+ *
+ * \param crcContext         pointer to context variable
+ * \param inBuf              input buffer to checksum
+ * \param inLen              length of input buffer
+ * \param crc32              pointer to Uint32 to store the final CRC into
+ *
+ * \returns 0 for OK, -1 on error
+ *
+ */
+int SDLTest_Crc32Calc(SDLTest_Crc32Context * crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32);
+
+/* Same routine broken down into three steps */
+int SDLTest_Crc32CalcStart(SDLTest_Crc32Context * crcContext, CrcUint32 *crc32);
+int SDLTest_Crc32CalcEnd(SDLTest_Crc32Context * crcContext, CrcUint32 *crc32);
+int SDLTest_Crc32CalcBuffer(SDLTest_Crc32Context * crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32);
+
+
+/**
+ * \brief clean up CRC context
+ *
+ * \param crcContext        pointer to context variable
+ *
+ * \returns 0 for OK, -1 on error
+ *
+*/
+
+int SDLTest_Crc32Done(SDLTest_Crc32Context * crcContext);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_crc32_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_font.h
@@ -1,0 +1,81 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_font.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+#ifndef SDL_test_font_h_
+#define SDL_test_font_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Function prototypes */
+
+#define FONT_CHARACTER_SIZE  8
+
+/**
+ *  \brief Draw a string in the currently set font.
+ *
+ *  \param renderer The renderer to draw on.
+ *  \param x The X coordinate of the upper left corner of the character.
+ *  \param y The Y coordinate of the upper left corner of the character.
+ *  \param c The character to draw.
+ *
+ *  \returns Returns 0 on success, -1 on failure.
+ */
+int SDLTest_DrawCharacter(SDL_Renderer *renderer, int x, int y, char c);
+
+/**
+ *  \brief Draw a string in the currently set font.
+ *
+ *  \param renderer The renderer to draw on.
+ *  \param x The X coordinate of the upper left corner of the string.
+ *  \param y The Y coordinate of the upper left corner of the string.
+ *  \param s The string to draw.
+ *
+ *  \returns Returns 0 on success, -1 on failure.
+ */
+int SDLTest_DrawString(SDL_Renderer *renderer, int x, int y, const char *s);
+
+
+/**
+ *  \brief Cleanup textures used by font drawing functions.
+ */
+void SDLTest_CleanupTextDrawing(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_font_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_fuzzer.h
@@ -1,0 +1,384 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_fuzzer.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+
+  Data generators for fuzzing test data in a reproducible way.
+
+*/
+
+#ifndef SDL_test_fuzzer_h_
+#define SDL_test_fuzzer_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/*
+  Based on GSOC code by Markus Kauppila <[email protected]>
+*/
+
+
+/**
+ * \file
+ * Note: The fuzzer implementation uses a static instance of random context
+ * internally which makes it thread-UNsafe.
+ */
+
+/**
+ * Initializes the fuzzer for a test
+ *
+ * \param execKey Execution "Key" that initializes the random number generator uniquely for the test.
+ *
+ */
+void SDLTest_FuzzerInit(Uint64 execKey);
+
+
+/**
+ * Returns a random Uint8
+ *
+ * \returns Generated integer
+ */
+Uint8 SDLTest_RandomUint8(void);
+
+/**
+ * Returns a random Sint8
+ *
+ * \returns Generated signed integer
+ */
+Sint8 SDLTest_RandomSint8(void);
+
+
+/**
+ * Returns a random Uint16
+ *
+ * \returns Generated integer
+ */
+Uint16 SDLTest_RandomUint16(void);
+
+/**
+ * Returns a random Sint16
+ *
+ * \returns Generated signed integer
+ */
+Sint16 SDLTest_RandomSint16(void);
+
+
+/**
+ * Returns a random integer
+ *
+ * \returns Generated integer
+ */
+Sint32 SDLTest_RandomSint32(void);
+
+
+/**
+ * Returns a random positive integer
+ *
+ * \returns Generated integer
+ */
+Uint32 SDLTest_RandomUint32(void);
+
+/**
+ * Returns random Uint64.
+ *
+ * \returns Generated integer
+ */
+Uint64 SDLTest_RandomUint64(void);
+
+
+/**
+ * Returns random Sint64.
+ *
+ * \returns Generated signed integer
+ */
+Sint64 SDLTest_RandomSint64(void);
+
+/**
+ * \returns random float in range [0.0 - 1.0[
+ */
+float SDLTest_RandomUnitFloat(void);
+
+/**
+ * \returns random double in range [0.0 - 1.0[
+ */
+double SDLTest_RandomUnitDouble(void);
+
+/**
+ * \returns random float.
+ *
+ */
+float SDLTest_RandomFloat(void);
+
+/**
+ * \returns random double.
+ *
+ */
+double SDLTest_RandomDouble(void);
+
+/**
+ * Returns a random boundary value for Uint8 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomUint8BoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20
+ * RandomUint8BoundaryValue(1, 20, SDL_FALSE) returns 0 or 21
+ * RandomUint8BoundaryValue(0, 99, SDL_FALSE) returns 100
+ * RandomUint8BoundaryValue(0, 255, SDL_FALSE) returns 0 (error set)
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or 0 with error set
+ */
+Uint8 SDLTest_RandomUint8BoundaryValue(Uint8 boundary1, Uint8 boundary2, SDL_bool validDomain);
+
+/**
+ * Returns a random boundary value for Uint16 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomUint16BoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20
+ * RandomUint16BoundaryValue(1, 20, SDL_FALSE) returns 0 or 21
+ * RandomUint16BoundaryValue(0, 99, SDL_FALSE) returns 100
+ * RandomUint16BoundaryValue(0, 0xFFFF, SDL_FALSE) returns 0 (error set)
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or 0 with error set
+ */
+Uint16 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain);
+
+/**
+ * Returns a random boundary value for Uint32 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomUint32BoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20
+ * RandomUint32BoundaryValue(1, 20, SDL_FALSE) returns 0 or 21
+ * RandomUint32BoundaryValue(0, 99, SDL_FALSE) returns 100
+ * RandomUint32BoundaryValue(0, 0xFFFFFFFF, SDL_FALSE) returns 0 (with error set)
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or 0 with error set
+ */
+Uint32 SDLTest_RandomUint32BoundaryValue(Uint32 boundary1, Uint32 boundary2, SDL_bool validDomain);
+
+/**
+ * Returns a random boundary value for Uint64 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomUint64BoundaryValue(10, 20, SDL_TRUE) returns 10, 11, 19 or 20
+ * RandomUint64BoundaryValue(1, 20, SDL_FALSE) returns 0 or 21
+ * RandomUint64BoundaryValue(0, 99, SDL_FALSE) returns 100
+ * RandomUint64BoundaryValue(0, 0xFFFFFFFFFFFFFFFF, SDL_FALSE) returns 0 (with error set)
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or 0 with error set
+ */
+Uint64 SDLTest_RandomUint64BoundaryValue(Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain);
+
+/**
+ * Returns a random boundary value for Sint8 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomSint8BoundaryValue(-10, 20, SDL_TRUE) returns -11, -10, 19 or 20
+ * RandomSint8BoundaryValue(-100, -10, SDL_FALSE) returns -101 or -9
+ * RandomSint8BoundaryValue(SINT8_MIN, 99, SDL_FALSE) returns 100
+ * RandomSint8BoundaryValue(SINT8_MIN, SINT8_MAX, SDL_FALSE) returns SINT8_MIN (== error value) with error set
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or SINT8_MIN with error set
+ */
+Sint8 SDLTest_RandomSint8BoundaryValue(Sint8 boundary1, Sint8 boundary2, SDL_bool validDomain);
+
+
+/**
+ * Returns a random boundary value for Sint16 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomSint16BoundaryValue(-10, 20, SDL_TRUE) returns -11, -10, 19 or 20
+ * RandomSint16BoundaryValue(-100, -10, SDL_FALSE) returns -101 or -9
+ * RandomSint16BoundaryValue(SINT16_MIN, 99, SDL_FALSE) returns 100
+ * RandomSint16BoundaryValue(SINT16_MIN, SINT16_MAX, SDL_FALSE) returns SINT16_MIN (== error value) with error set
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or SINT16_MIN with error set
+ */
+Sint16 SDLTest_RandomSint16BoundaryValue(Sint16 boundary1, Sint16 boundary2, SDL_bool validDomain);
+
+/**
+ * Returns a random boundary value for Sint32 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomSint32BoundaryValue(-10, 20, SDL_TRUE) returns -11, -10, 19 or 20
+ * RandomSint32BoundaryValue(-100, -10, SDL_FALSE) returns -101 or -9
+ * RandomSint32BoundaryValue(SINT32_MIN, 99, SDL_FALSE) returns 100
+ * RandomSint32BoundaryValue(SINT32_MIN, SINT32_MAX, SDL_FALSE) returns SINT32_MIN (== error value)
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or SINT32_MIN with error set
+ */
+Sint32 SDLTest_RandomSint32BoundaryValue(Sint32 boundary1, Sint32 boundary2, SDL_bool validDomain);
+
+/**
+ * Returns a random boundary value for Sint64 within the given boundaries.
+ * Boundaries are inclusive, see the usage examples below. If validDomain
+ * is true, the function will only return valid boundaries, otherwise non-valid
+ * boundaries are also possible.
+ * If boundary1 > boundary2, the values are swapped
+ *
+ * Usage examples:
+ * RandomSint64BoundaryValue(-10, 20, SDL_TRUE) returns -11, -10, 19 or 20
+ * RandomSint64BoundaryValue(-100, -10, SDL_FALSE) returns -101 or -9
+ * RandomSint64BoundaryValue(SINT64_MIN, 99, SDL_FALSE) returns 100
+ * RandomSint64BoundaryValue(SINT64_MIN, SINT64_MAX, SDL_FALSE) returns SINT64_MIN (== error value) and error set
+ *
+ * \param boundary1 Lower boundary limit
+ * \param boundary2 Upper boundary limit
+ * \param validDomain Should the generated boundary be valid (=within the bounds) or not?
+ *
+ * \returns Random boundary value for the given range and domain or SINT64_MIN with error set
+ */
+Sint64 SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain);
+
+
+/**
+ * Returns integer in range [min, max] (inclusive).
+ * Min and max values can be negative values.
+ * If Max in smaller than min, then the values are swapped.
+ * Min and max are the same value, that value will be returned.
+ *
+ * \param min Minimum inclusive value of returned random number
+ * \param max Maximum inclusive value of returned random number
+ *
+ * \returns Generated random integer in range
+ */
+Sint32 SDLTest_RandomIntegerInRange(Sint32 min, Sint32 max);
+
+
+/**
+ * Generates random null-terminated string. The minimum length for
+ * the string is 1 character, maximum length for the string is 255
+ * characters and it can contain ASCII characters from 32 to 126.
+ *
+ * Note: Returned string needs to be deallocated.
+ *
+ * \returns Newly allocated random string; or NULL if length was invalid or string could not be allocated.
+ */
+char * SDLTest_RandomAsciiString(void);
+
+
+/**
+ * Generates random null-terminated string. The maximum length for
+ * the string is defined by the maxLength parameter.
+ * String can contain ASCII characters from 32 to 126.
+ *
+ * Note: Returned string needs to be deallocated.
+ *
+ * \param maxLength The maximum length of the generated string.
+ *
+ * \returns Newly allocated random string; or NULL if maxLength was invalid or string could not be allocated.
+ */
+char * SDLTest_RandomAsciiStringWithMaximumLength(int maxLength);
+
+
+/**
+ * Generates random null-terminated string. The length for
+ * the string is defined by the size parameter.
+ * String can contain ASCII characters from 32 to 126.
+ *
+ * Note: Returned string needs to be deallocated.
+ *
+ * \param size The length of the generated string
+ *
+ * \returns Newly allocated random string; or NULL if size was invalid or string could not be allocated.
+ */
+char * SDLTest_RandomAsciiStringOfSize(int size);
+
+/**
+ * Returns the invocation count for the fuzzer since last ...FuzzerInit.
+ */
+int SDLTest_GetFuzzerInvocationCount(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_fuzzer_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_harness.h
@@ -1,0 +1,134 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_harness.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+  Defines types for test case definitions and the test execution harness API.
+
+  Based on original GSOC code by Markus Kauppila <[email protected]>
+*/
+
+#ifndef SDL_test_h_arness_h
+#define SDL_test_h_arness_h
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* ! Definitions for test case structures */
+#define TEST_ENABLED  1
+#define TEST_DISABLED 0
+
+/* ! Definition of all the possible test return values of the test case method */
+#define TEST_ABORTED        -1
+#define TEST_STARTED         0
+#define TEST_COMPLETED       1
+#define TEST_SKIPPED         2
+
+/* ! Definition of all the possible test results for the harness */
+#define TEST_RESULT_PASSED              0
+#define TEST_RESULT_FAILED              1
+#define TEST_RESULT_NO_ASSERT           2
+#define TEST_RESULT_SKIPPED             3
+#define TEST_RESULT_SETUP_FAILURE       4
+
+/* !< Function pointer to a test case setup function (run before every test) */
+typedef void (*SDLTest_TestCaseSetUpFp)(void *arg);
+
+/* !< Function pointer to a test case function */
+typedef int (*SDLTest_TestCaseFp)(void *arg);
+
+/* !< Function pointer to a test case teardown function (run after every test) */
+typedef void  (*SDLTest_TestCaseTearDownFp)(void *arg);
+
+/**
+ * Holds information about a single test case.
+ */
+typedef struct SDLTest_TestCaseReference {
+    /* !< Func2Stress */
+    SDLTest_TestCaseFp testCase;
+    /* !< Short name (or function name) "Func2Stress" */
+    char *name;
+    /* !< Long name or full description "This test pushes func2() to the limit." */
+    char *description;
+    /* !< Set to TEST_ENABLED or TEST_DISABLED (test won't be run) */
+    int enabled;
+} SDLTest_TestCaseReference;
+
+/**
+ * Holds information about a test suite (multiple test cases).
+ */
+typedef struct SDLTest_TestSuiteReference {
+    /* !< "PlatformSuite" */
+    char *name;
+    /* !< The function that is run before each test. NULL skips. */
+    SDLTest_TestCaseSetUpFp testSetUp;
+    /* !< The test cases that are run as part of the suite. Last item should be NULL. */
+    const SDLTest_TestCaseReference **testCases;
+    /* !< The function that is run after each test. NULL skips. */
+    SDLTest_TestCaseTearDownFp testTearDown;
+} SDLTest_TestSuiteReference;
+
+
+/**
+ * \brief Generates a random run seed string for the harness. The generated seed will contain alphanumeric characters (0-9A-Z).
+ *
+ * Note: The returned string needs to be deallocated by the caller.
+ *
+ * \param length The length of the seed string to generate
+ *
+ * \returns The generated seed string
+ */
+char *SDLTest_GenerateRunSeed(const int length);
+
+/**
+ * \brief Execute a test suite using the given run seed and execution key.
+ *
+ * \param testSuites Suites containing the test case.
+ * \param userRunSeed Custom run seed provided by user, or NULL to autogenerate one.
+ * \param userExecKey Custom execution key provided by user, or 0 to autogenerate one.
+ * \param filter Filter specification. NULL disables. Case sensitive.
+ * \param testIterations Number of iterations to run each test case.
+ *
+ * \returns Test run result; 0 when all tests passed, 1 if any tests failed.
+ */
+int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *userRunSeed, Uint64 userExecKey, const char *filter, int testIterations);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_h_arness_h */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_images.h
@@ -1,0 +1,78 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_images.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+
+ Defines some images for tests.
+
+*/
+
+#ifndef SDL_test_images_h_
+#define SDL_test_images_h_
+
+#include "SDL.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *Type for test images.
+ */
+typedef struct SDLTest_SurfaceImage_s {
+  int width;
+  int height;
+  unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
+  const char *pixel_data;
+} SDLTest_SurfaceImage_t;
+
+/* Test images */
+SDL_Surface *SDLTest_ImageBlit(void);
+SDL_Surface *SDLTest_ImageBlitColor(void);
+SDL_Surface *SDLTest_ImageBlitAlpha(void);
+SDL_Surface *SDLTest_ImageBlitBlendAdd(void);
+SDL_Surface *SDLTest_ImageBlitBlend(void);
+SDL_Surface *SDLTest_ImageBlitBlendMod(void);
+SDL_Surface *SDLTest_ImageBlitBlendNone(void);
+SDL_Surface *SDLTest_ImageBlitBlendAll(void);
+SDL_Surface *SDLTest_ImageFace(void);
+SDL_Surface *SDLTest_ImagePrimitives(void);
+SDL_Surface *SDLTest_ImagePrimitivesBlend(void);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_images_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_log.h
@@ -1,0 +1,67 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_log.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+ *
+ *  Wrapper to log in the TEST category
+ *
+ */
+
+#ifndef SDL_test_log_h_
+#define SDL_test_log_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Prints given message with a timestamp in the TEST category and INFO priority.
+ *
+ * \param fmt Message to be logged
+ */
+void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
+
+/**
+ * \brief Prints given message with a timestamp in the TEST category and the ERROR priority.
+ *
+ * \param fmt Message to be logged
+ */
+void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_log_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_md5.h
@@ -1,0 +1,129 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_md5.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+ ***********************************************************************
+ ** Header file for implementation of MD5                             **
+ ** RSA Data Security, Inc. MD5 Message-Digest Algorithm              **
+ ** Created: 2/17/90 RLR                                              **
+ ** Revised: 12/27/90 SRD,AJ,BSK,JT Reference C version               **
+ ** Revised (for MD5): RLR 4/27/91                                    **
+ **   -- G modified to have y&~z instead of y&z                       **
+ **   -- FF, GG, HH modified to add in last register done             **
+ **   -- Access pattern: round 2 works mod 5, round 3 works mod 3     **
+ **   -- distinct additive constant for each step                     **
+ **   -- round 4 added, working mod 7                                 **
+ ***********************************************************************
+*/
+
+/*
+ ***********************************************************************
+ **  Message-digest routines:                                         **
+ **  To form the message digest for a message M                       **
+ **    (1) Initialize a context buffer mdContext using MD5Init        **
+ **    (2) Call MD5Update on mdContext and M                          **
+ **    (3) Call MD5Final on mdContext                                 **
+ **  The message digest is now in mdContext->digest[0...15]           **
+ ***********************************************************************
+*/
+
+#ifndef SDL_test_md5_h_
+#define SDL_test_md5_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* ------------ Definitions --------- */
+
+/* typedef a 32-bit type */
+  typedef unsigned long int MD5UINT4;
+
+/* Data structure for MD5 (Message-Digest) computation */
+  typedef struct {
+    MD5UINT4  i[2];     /* number of _bits_ handled mod 2^64 */
+    MD5UINT4  buf[4];       /* scratch buffer */
+    unsigned char in[64];   /* input buffer */
+    unsigned char digest[16];   /* actual digest after Md5Final call */
+  } SDLTest_Md5Context;
+
+/* ---------- Function Prototypes ------------- */
+
+/**
+ * \brief initialize the context
+ *
+ * \param  mdContext        pointer to context variable
+ *
+ * Note: The function initializes the message-digest context
+ *       mdContext. Call before each new use of the context -
+ *       all fields are set to zero.
+ */
+ void SDLTest_Md5Init(SDLTest_Md5Context * mdContext);
+
+
+/**
+ * \brief update digest from variable length data
+ *
+ * \param  mdContext       pointer to context variable
+ * \param  inBuf           pointer to data array/string
+ * \param  inLen           length of data array/string
+ *
+ * Note: The function updates the message-digest context to account
+ *       for the presence of each of the characters inBuf[0..inLen-1]
+ *       in the message whose digest is being computed.
+*/
+
+ void SDLTest_Md5Update(SDLTest_Md5Context * mdContext, unsigned char *inBuf,
+                 unsigned int inLen);
+
+
+/**
+ * \brief complete digest computation
+ *
+ * \param mdContext     pointer to context variable
+ *
+ * Note: The function terminates the message-digest computation and
+ *       ends with the desired message digest in mdContext.digest[0..15].
+ *       Always call before using the digest[] variable.
+*/
+
+ void SDLTest_Md5Final(SDLTest_Md5Context * mdContext);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_md5_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_memory.h
@@ -1,0 +1,63 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_memory.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+#ifndef SDL_test_memory_h_
+#define SDL_test_memory_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/**
+ * \brief Start tracking SDL memory allocations
+ * 
+ * \note This should be called before any other SDL functions for complete tracking coverage
+ */
+int SDLTest_TrackAllocations(void);
+
+/**
+ * \brief Print a log of any outstanding allocations
+ *
+ * \note This can be called after SDL_Quit()
+ */
+void SDLTest_LogAllocations(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_memory_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_random.h
@@ -1,0 +1,115 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_test_random.h
+ *
+ *  Include file for SDL test framework.
+ *
+ *  This code is a part of the SDL2_test library, not the main SDL library.
+ */
+
+/*
+
+ A "32-bit Multiply with carry random number generator. Very fast.
+ Includes a list of recommended multipliers.
+
+ multiply-with-carry generator: x(n) = a*x(n-1) + carry mod 2^32.
+ period: (a*2^31)-1
+
+*/
+
+#ifndef SDL_test_random_h_
+#define SDL_test_random_h_
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* --- Definitions */
+
+/*
+ * Macros that return a random number in a specific format.
+ */
+#define SDLTest_RandomInt(c)        ((int)SDLTest_Random(c))
+
+/*
+ * Context structure for the random number generator state.
+ */
+  typedef struct {
+    unsigned int a;
+    unsigned int x;
+    unsigned int c;
+    unsigned int ah;
+    unsigned int al;
+  } SDLTest_RandomContext;
+
+
+/* --- Function prototypes */
+
+/**
+ *  \brief Initialize random number generator with two integers.
+ *
+ *  Note: The random sequence of numbers returned by ...Random() is the
+ *  same for the same two integers and has a period of 2^31.
+ *
+ *  \param rndContext     pointer to context structure
+ *  \param xi         integer that defines the random sequence
+ *  \param ci         integer that defines the random sequence
+ *
+ */
+ void SDLTest_RandomInit(SDLTest_RandomContext * rndContext, unsigned int xi,
+                  unsigned int ci);
+
+/**
+ *  \brief Initialize random number generator based on current system time.
+ *
+ *  \param rndContext     pointer to context structure
+ *
+ */
+ void SDLTest_RandomInitTime(SDLTest_RandomContext *rndContext);
+
+
+/**
+ *  \brief Initialize random number generator based on current system time.
+ *
+ *  Note: ...RandomInit() or ...RandomInitTime() must have been called
+ *  before using this function.
+ *
+ *  \param rndContext     pointer to context structure
+ *
+ *  \returns A random number (32bit unsigned integer)
+ *
+ */
+ unsigned int SDLTest_Random(SDLTest_RandomContext *rndContext);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_test_random_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_thread.h
@@ -1,0 +1,343 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_thread_h_
+#define SDL_thread_h_
+
+/**
+ *  \file SDL_thread.h
+ *
+ *  Header for the SDL thread management routines.
+ */
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+/* Thread synchronization primitives */
+#include "SDL_atomic.h"
+#include "SDL_mutex.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* The SDL thread structure, defined in SDL_thread.c */
+struct SDL_Thread;
+typedef struct SDL_Thread SDL_Thread;
+
+/* The SDL thread ID */
+typedef unsigned long SDL_threadID;
+
+/* Thread local storage ID, 0 is the invalid ID */
+typedef unsigned int SDL_TLSID;
+
+/**
+ *  The SDL thread priority.
+ *
+ *  \note On many systems you require special privileges to set high or time critical priority.
+ */
+typedef enum {
+    SDL_THREAD_PRIORITY_LOW,
+    SDL_THREAD_PRIORITY_NORMAL,
+    SDL_THREAD_PRIORITY_HIGH,
+    SDL_THREAD_PRIORITY_TIME_CRITICAL
+} SDL_ThreadPriority;
+
+/**
+ *  The function passed to SDL_CreateThread().
+ *  It is passed a void* user context parameter and returns an int.
+ */
+typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
+
+#if defined(__WIN32__) && !defined(HAVE_LIBC)
+/**
+ *  \file SDL_thread.h
+ *
+ *  We compile SDL into a DLL. This means, that it's the DLL which
+ *  creates a new thread for the calling process with the SDL_CreateThread()
+ *  API. There is a problem with this, that only the RTL of the SDL2.DLL will
+ *  be initialized for those threads, and not the RTL of the calling
+ *  application!
+ *
+ *  To solve this, we make a little hack here.
+ *
+ *  We'll always use the caller's _beginthread() and _endthread() APIs to
+ *  start a new thread. This way, if it's the SDL2.DLL which uses this API,
+ *  then the RTL of SDL2.DLL will be used to create the new thread, and if it's
+ *  the application, then the RTL of the application will be used.
+ *
+ *  So, in short:
+ *  Always use the _beginthread() and _endthread() of the calling runtime
+ *  library!
+ */
+#define SDL_PASSED_BEGINTHREAD_ENDTHREAD
+#include <process.h> /* _beginthreadex() and _endthreadex() */
+
+typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread)
+                   (void *, unsigned, unsigned (__stdcall *func)(void *),
+                    void * /*arg*/, unsigned, unsigned * /* threadID */);
+typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
+
+/**
+ *  Create a thread.
+ */
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),
+                 const char *name, const size_t stacksize, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+
+
+/**
+ *  Create a thread.
+ */
+#if defined(SDL_CreateThread) && SDL_DYNAMIC_API
+#undef SDL_CreateThread
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#undef SDL_CreateThreadWithStackSize
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#else
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
+#endif
+
+#elif defined(__OS2__)
+/*
+ * just like the windows case above:  We compile SDL2
+ * into a dll with Watcom's runtime statically linked.
+ */
+#define SDL_PASSED_BEGINTHREAD_ENDTHREAD
+#ifndef __EMX__
+#include <process.h>
+#else
+#include <stdlib.h>
+#endif
+typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void * /*arg*/);
+typedef void (*pfnSDL_CurrentEndThread)(void);
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn, const char *name, const size_t stacksize, void *data,
+                 pfnSDL_CurrentBeginThread pfnBeginThread,
+                 pfnSDL_CurrentEndThread pfnEndThread);
+#if defined(SDL_CreateThread) && SDL_DYNAMIC_API
+#undef SDL_CreateThread
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#undef SDL_CreateThreadWithStackSize
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#else
+#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread)
+#endif
+
+#else
+
+/**
+ *  Create a thread with a default stack size.
+ *
+ *  This is equivalent to calling:
+ *  SDL_CreateThreadWithStackSize(fn, name, 0, data);
+ */
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data);
+
+/**
+ *  Create a thread.
+ *
+ *   Thread naming is a little complicated: Most systems have very small
+ *    limits for the string length (Haiku has 32 bytes, Linux currently has 16,
+ *    Visual C++ 6.0 has nine!), and possibly other arbitrary rules. You'll
+ *    have to see what happens with your system's debugger. The name should be
+ *    UTF-8 (but using the naming limits of C identifiers is a better bet).
+ *   There are no requirements for thread naming conventions, so long as the
+ *    string is null-terminated UTF-8, but these guidelines are helpful in
+ *    choosing a name:
+ *
+ *    http://stackoverflow.com/questions/149932/naming-conventions-for-threads
+ *
+ *   If a system imposes requirements, SDL will try to munge the string for
+ *    it (truncate, etc), but the original string contents will be available
+ *    from SDL_GetThreadName().
+ *
+ *   The size (in bytes) of the new stack can be specified. Zero means "use
+ *    the system default" which might be wildly different between platforms
+ *    (x86 Linux generally defaults to eight megabytes, an embedded device
+ *    might be a few kilobytes instead).
+ *
+ *   In SDL 2.1, stacksize will be folded into the original SDL_CreateThread
+ *    function.
+ */
+extern DECLSPEC SDL_Thread *SDLCALL
+SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn, const char *name, const size_t stacksize, void *data);
+
+#endif
+
+/**
+ * Get the thread name, as it was specified in SDL_CreateThread().
+ *  This function returns a pointer to a UTF-8 string that names the
+ *  specified thread, or NULL if it doesn't have a name. This is internal
+ *  memory, not to be free()'d by the caller, and remains valid until the
+ *  specified thread is cleaned up by SDL_WaitThread().
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetThreadName(SDL_Thread *thread);
+
+/**
+ *  Get the thread identifier for the current thread.
+ */
+extern DECLSPEC SDL_threadID SDLCALL SDL_ThreadID(void);
+
+/**
+ *  Get the thread identifier for the specified thread.
+ *
+ *  Equivalent to SDL_ThreadID() if the specified thread is NULL.
+ */
+extern DECLSPEC SDL_threadID SDLCALL SDL_GetThreadID(SDL_Thread * thread);
+
+/**
+ *  Set the priority for the current thread
+ */
+extern DECLSPEC int SDLCALL SDL_SetThreadPriority(SDL_ThreadPriority priority);
+
+/**
+ *  Wait for a thread to finish. Threads that haven't been detached will
+ *  remain (as a "zombie") until this function cleans them up. Not doing so
+ *  is a resource leak.
+ *
+ *  Once a thread has been cleaned up through this function, the SDL_Thread
+ *  that references it becomes invalid and should not be referenced again.
+ *  As such, only one thread may call SDL_WaitThread() on another.
+ *
+ *  The return code for the thread function is placed in the area
+ *  pointed to by \c status, if \c status is not NULL.
+ *
+ *  You may not wait on a thread that has been used in a call to
+ *  SDL_DetachThread(). Use either that function or this one, but not
+ *  both, or behavior is undefined.
+ *
+ *  It is safe to pass NULL to this function; it is a no-op.
+ */
+extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread * thread, int *status);
+
+/**
+ *  A thread may be "detached" to signify that it should not remain until
+ *  another thread has called SDL_WaitThread() on it. Detaching a thread
+ *  is useful for long-running threads that nothing needs to synchronize
+ *  with or further manage. When a detached thread is done, it simply
+ *  goes away.
+ *
+ *  There is no way to recover the return code of a detached thread. If you
+ *  need this, don't detach the thread and instead use SDL_WaitThread().
+ *
+ *  Once a thread is detached, you should usually assume the SDL_Thread isn't
+ *  safe to reference again, as it will become invalid immediately upon
+ *  the detached thread's exit, instead of remaining until someone has called
+ *  SDL_WaitThread() to finally clean it up. As such, don't detach the same
+ *  thread more than once.
+ *
+ *  If a thread has already exited when passed to SDL_DetachThread(), it will
+ *  stop waiting for a call to SDL_WaitThread() and clean up immediately.
+ *  It is not safe to detach a thread that might be used with SDL_WaitThread().
+ *
+ *  You may not call SDL_WaitThread() on a thread that has been detached.
+ *  Use either that function or this one, but not both, or behavior is
+ *  undefined.
+ *
+ *  It is safe to pass NULL to this function; it is a no-op.
+ */
+extern DECLSPEC void SDLCALL SDL_DetachThread(SDL_Thread * thread);
+
+/**
+ *  \brief Create an identifier that is globally visible to all threads but refers to data that is thread-specific.
+ *
+ *  \return The newly created thread local storage identifier, or 0 on error
+ *
+ *  \code
+ *  static SDL_SpinLock tls_lock;
+ *  static SDL_TLSID thread_local_storage;
+ * 
+ *  void SetMyThreadData(void *value)
+ *  {
+ *      if (!thread_local_storage) {
+ *          SDL_AtomicLock(&tls_lock);
+ *          if (!thread_local_storage) {
+ *              thread_local_storage = SDL_TLSCreate();
+ *          }
+ *          SDL_AtomicUnlock(&tls_lock);
+ *      }
+ *      SDL_TLSSet(thread_local_storage, value, 0);
+ *  }
+ *  
+ *  void *GetMyThreadData(void)
+ *  {
+ *      return SDL_TLSGet(thread_local_storage);
+ *  }
+ *  \endcode
+ *
+ *  \sa SDL_TLSGet()
+ *  \sa SDL_TLSSet()
+ */
+extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void);
+
+/**
+ *  \brief Get the value associated with a thread local storage ID for the current thread.
+ *
+ *  \param id The thread local storage ID
+ *
+ *  \return The value associated with the ID for the current thread, or NULL if no value has been set.
+ *
+ *  \sa SDL_TLSCreate()
+ *  \sa SDL_TLSSet()
+ */
+extern DECLSPEC void * SDLCALL SDL_TLSGet(SDL_TLSID id);
+
+/**
+ *  \brief Set the value associated with a thread local storage ID for the current thread.
+ *
+ *  \param id The thread local storage ID
+ *  \param value The value to associate with the ID for the current thread
+ *  \param destructor A function called when the thread exits, to free the value.
+ *
+ *  \return 0 on success, -1 on error
+ *
+ *  \sa SDL_TLSCreate()
+ *  \sa SDL_TLSGet()
+ */
+extern DECLSPEC int SDLCALL SDL_TLSSet(SDL_TLSID id, const void *value, void (SDLCALL *destructor)(void*));
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_thread_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_timer.h
@@ -1,0 +1,115 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+#ifndef SDL_timer_h_
+#define SDL_timer_h_
+
+/**
+ *  \file SDL_timer.h
+ *
+ *  Header for the SDL time management routines.
+ */
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief Get the number of milliseconds since the SDL library initialization.
+ *
+ * \note This value wraps if the program runs for more than ~49 days.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void);
+
+/**
+ * \brief Compare SDL ticks values, and return true if A has passed B
+ *
+ * e.g. if you want to wait 100 ms, you could do this:
+ *  Uint32 timeout = SDL_GetTicks() + 100;
+ *  while (!SDL_TICKS_PASSED(SDL_GetTicks(), timeout)) {
+ *      ... do work until timeout has elapsed
+ *  }
+ */
+#define SDL_TICKS_PASSED(A, B)  ((Sint32)((B) - (A)) <= 0)
+
+/**
+ * \brief Get the current value of the high resolution counter
+ */
+extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void);
+
+/**
+ * \brief Get the count per second of the high resolution counter
+ */
+extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void);
+
+/**
+ * \brief Wait a specified number of milliseconds before returning.
+ */
+extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms);
+
+/**
+ *  Function prototype for the timer callback function.
+ *
+ *  The callback function is passed the current timer interval and returns
+ *  the next timer interval.  If the returned value is the same as the one
+ *  passed in, the periodic alarm continues, otherwise a new alarm is
+ *  scheduled.  If the callback returns 0, the periodic alarm is cancelled.
+ */
+typedef Uint32 (SDLCALL * SDL_TimerCallback) (Uint32 interval, void *param);
+
+/**
+ * Definition of the timer ID type.
+ */
+typedef int SDL_TimerID;
+
+/**
+ * \brief Add a new timer to the pool of timers already running.
+ *
+ * \return A timer ID, or 0 when an error occurs.
+ */
+extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval,
+                                                 SDL_TimerCallback callback,
+                                                 void *param);
+
+/**
+ * \brief Remove a timer knowing its ID.
+ *
+ * \return A boolean value indicating success or failure.
+ *
+ * \warning It is not safe to remove a timer multiple times.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_timer_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_touch.h
@@ -1,0 +1,102 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_touch.h
+ *
+ *  Include file for SDL touch event handling.
+ */
+
+#ifndef SDL_touch_h_
+#define SDL_touch_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_error.h"
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef Sint64 SDL_TouchID;
+typedef Sint64 SDL_FingerID;
+
+typedef enum
+{
+    SDL_TOUCH_DEVICE_INVALID = -1,
+    SDL_TOUCH_DEVICE_DIRECT,            /* touch screen with window-relative coordinates */
+    SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE, /* trackpad with absolute device coordinates */
+    SDL_TOUCH_DEVICE_INDIRECT_RELATIVE  /* trackpad with screen cursor-relative coordinates */
+} SDL_TouchDeviceType;
+
+typedef struct SDL_Finger
+{
+    SDL_FingerID id;
+    float x;
+    float y;
+    float pressure;
+} SDL_Finger;
+
+/* Used as the device ID for mouse events simulated with touch input */
+#define SDL_TOUCH_MOUSEID ((Uint32)-1)
+
+/* Used as the SDL_TouchID for touch events simulated with mouse input */
+#define SDL_MOUSE_TOUCHID ((Sint64)-1)
+
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the number of registered touch devices.
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void);
+
+/**
+ *  \brief Get the touch ID with the given index, or 0 if the index is invalid.
+ */
+extern DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice(int index);
+
+/**
+ * \brief Get the type of the given touch device.
+ */
+extern DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType(SDL_TouchID touchID);
+
+/**
+ *  \brief Get the number of active fingers for a given touch device.
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumTouchFingers(SDL_TouchID touchID);
+
+/**
+ *  \brief Get the finger object of the given touch, with the given index.
+ */
+extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int index);
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_touch_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_types.h
@@ -1,0 +1,29 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_types.h
+ *
+ *  \deprecated
+ */
+
+/* DEPRECATED */
+#include "SDL_stdinc.h"
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_version.h
@@ -1,0 +1,162 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_version.h
+ *
+ *  This header defines the current SDL version.
+ */
+
+#ifndef SDL_version_h_
+#define SDL_version_h_
+
+#include "SDL_stdinc.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief Information the version of SDL in use.
+ *
+ *  Represents the library's version as three levels: major revision
+ *  (increments with massive changes, additions, and enhancements),
+ *  minor revision (increments with backwards-compatible changes to the
+ *  major revision), and patchlevel (increments with fixes to the minor
+ *  revision).
+ *
+ *  \sa SDL_VERSION
+ *  \sa SDL_GetVersion
+ */
+typedef struct SDL_version
+{
+    Uint8 major;        /**< major version */
+    Uint8 minor;        /**< minor version */
+    Uint8 patch;        /**< update version */
+} SDL_version;
+
+/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL
+*/
+#define SDL_MAJOR_VERSION   2
+#define SDL_MINOR_VERSION   0
+#define SDL_PATCHLEVEL      10
+
+/**
+ *  \brief Macro to determine SDL version program was compiled against.
+ *
+ *  This macro fills in a SDL_version structure with the version of the
+ *  library you compiled against. This is determined by what header the
+ *  compiler uses. Note that if you dynamically linked the library, you might
+ *  have a slightly newer or older version at runtime. That version can be
+ *  determined with SDL_GetVersion(), which, unlike SDL_VERSION(),
+ *  is not a macro.
+ *
+ *  \param x A pointer to a SDL_version struct to initialize.
+ *
+ *  \sa SDL_version
+ *  \sa SDL_GetVersion
+ */
+#define SDL_VERSION(x)                          \
+{                                   \
+    (x)->major = SDL_MAJOR_VERSION;                 \
+    (x)->minor = SDL_MINOR_VERSION;                 \
+    (x)->patch = SDL_PATCHLEVEL;                    \
+}
+
+/**
+ *  This macro turns the version numbers into a numeric value:
+ *  \verbatim
+    (1,2,3) -> (1203)
+    \endverbatim
+ *
+ *  This assumes that there will never be more than 100 patchlevels.
+ */
+#define SDL_VERSIONNUM(X, Y, Z)                     \
+    ((X)*1000 + (Y)*100 + (Z))
+
+/**
+ *  This is the version number macro for the current SDL version.
+ */
+#define SDL_COMPILEDVERSION \
+    SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL)
+
+/**
+ *  This macro will evaluate to true if compiled with SDL at least X.Y.Z.
+ */
+#define SDL_VERSION_ATLEAST(X, Y, Z) \
+    (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))
+
+/**
+ *  \brief Get the version of SDL that is linked against your program.
+ *
+ *  If you are linking to SDL dynamically, then it is possible that the
+ *  current version will be different than the version you compiled against.
+ *  This function returns the current version, while SDL_VERSION() is a
+ *  macro that tells you what version you compiled with.
+ *
+ *  \code
+ *  SDL_version compiled;
+ *  SDL_version linked;
+ *
+ *  SDL_VERSION(&compiled);
+ *  SDL_GetVersion(&linked);
+ *  printf("We compiled against SDL version %d.%d.%d ...\n",
+ *         compiled.major, compiled.minor, compiled.patch);
+ *  printf("But we linked against SDL version %d.%d.%d.\n",
+ *         linked.major, linked.minor, linked.patch);
+ *  \endcode
+ *
+ *  This function may be called safely at any time, even before SDL_Init().
+ *
+ *  \sa SDL_VERSION
+ */
+extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
+
+/**
+ *  \brief Get the code revision of SDL that is linked against your program.
+ *
+ *  Returns an arbitrary string (a hash value) uniquely identifying the
+ *  exact revision of the SDL library in use, and is only useful in comparing
+ *  against other revisions. It is NOT an incrementing number.
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
+
+/**
+ *  \brief Get the revision number of SDL that is linked against your program.
+ *
+ *  Returns a number uniquely identifying the exact revision of the SDL
+ *  library in use. It is an incrementing number based on commits to
+ *  hg.libsdl.org.
+ */
+extern DECLSPEC int SDLCALL SDL_GetRevisionNumber(void);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_version_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_video.h
@@ -1,0 +1,1276 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_video.h
+ *
+ *  Header file for SDL video functions.
+ */
+
+#ifndef SDL_video_h_
+#define SDL_video_h_
+
+#include "SDL_stdinc.h"
+#include "SDL_pixels.h"
+#include "SDL_rect.h"
+#include "SDL_surface.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ *  \brief  The structure that defines a display mode
+ *
+ *  \sa SDL_GetNumDisplayModes()
+ *  \sa SDL_GetDisplayMode()
+ *  \sa SDL_GetDesktopDisplayMode()
+ *  \sa SDL_GetCurrentDisplayMode()
+ *  \sa SDL_GetClosestDisplayMode()
+ *  \sa SDL_SetWindowDisplayMode()
+ *  \sa SDL_GetWindowDisplayMode()
+ */
+typedef struct
+{
+    Uint32 format;              /**< pixel format */
+    int w;                      /**< width, in screen coordinates */
+    int h;                      /**< height, in screen coordinates */
+    int refresh_rate;           /**< refresh rate (or zero for unspecified) */
+    void *driverdata;           /**< driver-specific data, initialize to 0 */
+} SDL_DisplayMode;
+
+/**
+ *  \brief The type used to identify a window
+ *
+ *  \sa SDL_CreateWindow()
+ *  \sa SDL_CreateWindowFrom()
+ *  \sa SDL_DestroyWindow()
+ *  \sa SDL_GetWindowData()
+ *  \sa SDL_GetWindowFlags()
+ *  \sa SDL_GetWindowGrab()
+ *  \sa SDL_GetWindowPosition()
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_GetWindowTitle()
+ *  \sa SDL_HideWindow()
+ *  \sa SDL_MaximizeWindow()
+ *  \sa SDL_MinimizeWindow()
+ *  \sa SDL_RaiseWindow()
+ *  \sa SDL_RestoreWindow()
+ *  \sa SDL_SetWindowData()
+ *  \sa SDL_SetWindowFullscreen()
+ *  \sa SDL_SetWindowGrab()
+ *  \sa SDL_SetWindowIcon()
+ *  \sa SDL_SetWindowPosition()
+ *  \sa SDL_SetWindowSize()
+ *  \sa SDL_SetWindowBordered()
+ *  \sa SDL_SetWindowResizable()
+ *  \sa SDL_SetWindowTitle()
+ *  \sa SDL_ShowWindow()
+ */
+typedef struct SDL_Window SDL_Window;
+
+/**
+ *  \brief The flags on a window
+ *
+ *  \sa SDL_GetWindowFlags()
+ */
+typedef enum
+{
+    /* !!! FIXME: change this to name = (1<<x). */
+    SDL_WINDOW_FULLSCREEN = 0x00000001,         /**< fullscreen window */
+    SDL_WINDOW_OPENGL = 0x00000002,             /**< window usable with OpenGL context */
+    SDL_WINDOW_SHOWN = 0x00000004,              /**< window is visible */
+    SDL_WINDOW_HIDDEN = 0x00000008,             /**< window is not visible */
+    SDL_WINDOW_BORDERLESS = 0x00000010,         /**< no window decoration */
+    SDL_WINDOW_RESIZABLE = 0x00000020,          /**< window can be resized */
+    SDL_WINDOW_MINIMIZED = 0x00000040,          /**< window is minimized */
+    SDL_WINDOW_MAXIMIZED = 0x00000080,          /**< window is maximized */
+    SDL_WINDOW_INPUT_GRABBED = 0x00000100,      /**< window has grabbed input focus */
+    SDL_WINDOW_INPUT_FOCUS = 0x00000200,        /**< window has input focus */
+    SDL_WINDOW_MOUSE_FOCUS = 0x00000400,        /**< window has mouse focus */
+    SDL_WINDOW_FULLSCREEN_DESKTOP = ( SDL_WINDOW_FULLSCREEN | 0x00001000 ),
+    SDL_WINDOW_FOREIGN = 0x00000800,            /**< window not created by SDL */
+    SDL_WINDOW_ALLOW_HIGHDPI = 0x00002000,      /**< window should be created in high-DPI mode if supported.
+                                                     On macOS NSHighResolutionCapable must be set true in the
+                                                     application's Info.plist for this to have any effect. */
+    SDL_WINDOW_MOUSE_CAPTURE = 0x00004000,      /**< window has mouse captured (unrelated to INPUT_GRABBED) */
+    SDL_WINDOW_ALWAYS_ON_TOP = 0x00008000,      /**< window should always be above others */
+    SDL_WINDOW_SKIP_TASKBAR  = 0x00010000,      /**< window should not be added to the taskbar */
+    SDL_WINDOW_UTILITY       = 0x00020000,      /**< window should be treated as a utility window */
+    SDL_WINDOW_TOOLTIP       = 0x00040000,      /**< window should be treated as a tooltip */
+    SDL_WINDOW_POPUP_MENU    = 0x00080000,      /**< window should be treated as a popup menu */
+    SDL_WINDOW_VULKAN        = 0x10000000       /**< window usable for Vulkan surface */
+} SDL_WindowFlags;
+
+/**
+ *  \brief Used to indicate that you don't care what the window position is.
+ */
+#define SDL_WINDOWPOS_UNDEFINED_MASK    0x1FFF0000u
+#define SDL_WINDOWPOS_UNDEFINED_DISPLAY(X)  (SDL_WINDOWPOS_UNDEFINED_MASK|(X))
+#define SDL_WINDOWPOS_UNDEFINED         SDL_WINDOWPOS_UNDEFINED_DISPLAY(0)
+#define SDL_WINDOWPOS_ISUNDEFINED(X)    \
+            (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK)
+
+/**
+ *  \brief Used to indicate that the window position should be centered.
+ */
+#define SDL_WINDOWPOS_CENTERED_MASK    0x2FFF0000u
+#define SDL_WINDOWPOS_CENTERED_DISPLAY(X)  (SDL_WINDOWPOS_CENTERED_MASK|(X))
+#define SDL_WINDOWPOS_CENTERED         SDL_WINDOWPOS_CENTERED_DISPLAY(0)
+#define SDL_WINDOWPOS_ISCENTERED(X)    \
+            (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK)
+
+/**
+ *  \brief Event subtype for window events
+ */
+typedef enum
+{
+    SDL_WINDOWEVENT_NONE,           /**< Never used */
+    SDL_WINDOWEVENT_SHOWN,          /**< Window has been shown */
+    SDL_WINDOWEVENT_HIDDEN,         /**< Window has been hidden */
+    SDL_WINDOWEVENT_EXPOSED,        /**< Window has been exposed and should be
+                                         redrawn */
+    SDL_WINDOWEVENT_MOVED,          /**< Window has been moved to data1, data2
+                                     */
+    SDL_WINDOWEVENT_RESIZED,        /**< Window has been resized to data1xdata2 */
+    SDL_WINDOWEVENT_SIZE_CHANGED,   /**< The window size has changed, either as
+                                         a result of an API call or through the
+                                         system or user changing the window size. */
+    SDL_WINDOWEVENT_MINIMIZED,      /**< Window has been minimized */
+    SDL_WINDOWEVENT_MAXIMIZED,      /**< Window has been maximized */
+    SDL_WINDOWEVENT_RESTORED,       /**< Window has been restored to normal size
+                                         and position */
+    SDL_WINDOWEVENT_ENTER,          /**< Window has gained mouse focus */
+    SDL_WINDOWEVENT_LEAVE,          /**< Window has lost mouse focus */
+    SDL_WINDOWEVENT_FOCUS_GAINED,   /**< Window has gained keyboard focus */
+    SDL_WINDOWEVENT_FOCUS_LOST,     /**< Window has lost keyboard focus */
+    SDL_WINDOWEVENT_CLOSE,          /**< The window manager requests that the window be closed */
+    SDL_WINDOWEVENT_TAKE_FOCUS,     /**< Window is being offered a focus (should SetWindowInputFocus() on itself or a subwindow, or ignore) */
+    SDL_WINDOWEVENT_HIT_TEST        /**< Window had a hit test that wasn't SDL_HITTEST_NORMAL. */
+} SDL_WindowEventID;
+
+/**
+ *  \brief Event subtype for display events
+ */
+typedef enum
+{
+    SDL_DISPLAYEVENT_NONE,          /**< Never used */
+    SDL_DISPLAYEVENT_ORIENTATION    /**< Display orientation has changed to data1 */
+} SDL_DisplayEventID;
+
+typedef enum
+{
+    SDL_ORIENTATION_UNKNOWN,            /**< The display orientation can't be determined */
+    SDL_ORIENTATION_LANDSCAPE,          /**< The display is in landscape mode, with the right side up, relative to portrait mode */
+    SDL_ORIENTATION_LANDSCAPE_FLIPPED,  /**< The display is in landscape mode, with the left side up, relative to portrait mode */
+    SDL_ORIENTATION_PORTRAIT,           /**< The display is in portrait mode */
+    SDL_ORIENTATION_PORTRAIT_FLIPPED    /**< The display is in portrait mode, upside down */
+} SDL_DisplayOrientation;
+
+/**
+ *  \brief An opaque handle to an OpenGL context.
+ */
+typedef void *SDL_GLContext;
+
+/**
+ *  \brief OpenGL configuration attributes
+ */
+typedef enum
+{
+    SDL_GL_RED_SIZE,
+    SDL_GL_GREEN_SIZE,
+    SDL_GL_BLUE_SIZE,
+    SDL_GL_ALPHA_SIZE,
+    SDL_GL_BUFFER_SIZE,
+    SDL_GL_DOUBLEBUFFER,
+    SDL_GL_DEPTH_SIZE,
+    SDL_GL_STENCIL_SIZE,
+    SDL_GL_ACCUM_RED_SIZE,
+    SDL_GL_ACCUM_GREEN_SIZE,
+    SDL_GL_ACCUM_BLUE_SIZE,
+    SDL_GL_ACCUM_ALPHA_SIZE,
+    SDL_GL_STEREO,
+    SDL_GL_MULTISAMPLEBUFFERS,
+    SDL_GL_MULTISAMPLESAMPLES,
+    SDL_GL_ACCELERATED_VISUAL,
+    SDL_GL_RETAINED_BACKING,
+    SDL_GL_CONTEXT_MAJOR_VERSION,
+    SDL_GL_CONTEXT_MINOR_VERSION,
+    SDL_GL_CONTEXT_EGL,
+    SDL_GL_CONTEXT_FLAGS,
+    SDL_GL_CONTEXT_PROFILE_MASK,
+    SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
+    SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
+    SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
+    SDL_GL_CONTEXT_RESET_NOTIFICATION,
+    SDL_GL_CONTEXT_NO_ERROR
+} SDL_GLattr;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_PROFILE_CORE           = 0x0001,
+    SDL_GL_CONTEXT_PROFILE_COMPATIBILITY  = 0x0002,
+    SDL_GL_CONTEXT_PROFILE_ES             = 0x0004 /**< GLX_CONTEXT_ES2_PROFILE_BIT_EXT */
+} SDL_GLprofile;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_DEBUG_FLAG              = 0x0001,
+    SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 0x0002,
+    SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG      = 0x0004,
+    SDL_GL_CONTEXT_RESET_ISOLATION_FLAG    = 0x0008
+} SDL_GLcontextFlag;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE   = 0x0000,
+    SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH  = 0x0001
+} SDL_GLcontextReleaseFlag;
+
+typedef enum
+{
+    SDL_GL_CONTEXT_RESET_NO_NOTIFICATION = 0x0000,
+    SDL_GL_CONTEXT_RESET_LOSE_CONTEXT    = 0x0001
+} SDL_GLContextResetNotification;
+
+/* Function prototypes */
+
+/**
+ *  \brief Get the number of video drivers compiled into SDL
+ *
+ *  \sa SDL_GetVideoDriver()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumVideoDrivers(void);
+
+/**
+ *  \brief Get the name of a built in video driver.
+ *
+ *  \note The video drivers are presented in the order in which they are
+ *        normally checked during initialization.
+ *
+ *  \sa SDL_GetNumVideoDrivers()
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetVideoDriver(int index);
+
+/**
+ *  \brief Initialize the video subsystem, optionally specifying a video driver.
+ *
+ *  \param driver_name Initialize a specific driver by name, or NULL for the
+ *                     default video driver.
+ *
+ *  \return 0 on success, -1 on error
+ *
+ *  This function initializes the video subsystem; setting up a connection
+ *  to the window manager, etc, and determines the available display modes
+ *  and pixel formats, but does not initialize a window or graphics mode.
+ *
+ *  \sa SDL_VideoQuit()
+ */
+extern DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name);
+
+/**
+ *  \brief Shuts down the video subsystem.
+ *
+ *  This function closes all windows, and restores the original video mode.
+ *
+ *  \sa SDL_VideoInit()
+ */
+extern DECLSPEC void SDLCALL SDL_VideoQuit(void);
+
+/**
+ *  \brief Returns the name of the currently initialized video driver.
+ *
+ *  \return The name of the current video driver or NULL if no driver
+ *          has been initialized
+ *
+ *  \sa SDL_GetNumVideoDrivers()
+ *  \sa SDL_GetVideoDriver()
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetCurrentVideoDriver(void);
+
+/**
+ *  \brief Returns the number of available video displays.
+ *
+ *  \sa SDL_GetDisplayBounds()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumVideoDisplays(void);
+
+/**
+ *  \brief Get the name of a display in UTF-8 encoding
+ *
+ *  \return The name of a display, or NULL for an invalid display index.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC const char * SDLCALL SDL_GetDisplayName(int displayIndex);
+
+/**
+ *  \brief Get the desktop area represented by a display, with the primary
+ *         display located at 0,0
+ *
+ *  \return 0 on success, or -1 if the index is out of range.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayBounds(int displayIndex, SDL_Rect * rect);
+
+/**
+ *  \brief Get the usable desktop area represented by a display, with the
+ *         primary display located at 0,0
+ *
+ *  This is the same area as SDL_GetDisplayBounds() reports, but with portions
+ *  reserved by the system removed. For example, on Mac OS X, this subtracts
+ *  the area occupied by the menu bar and dock.
+ *
+ *  Setting a window to be fullscreen generally bypasses these unusable areas,
+ *  so these are good guidelines for the maximum space available to a
+ *  non-fullscreen window.
+ *
+ *  \return 0 on success, or -1 if the index is out of range.
+ *
+ *  \sa SDL_GetDisplayBounds()
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rect * rect);
+
+/**
+ *  \brief Get the dots/pixels-per-inch for a display
+ *
+ *  \note Diagonal, horizontal and vertical DPI can all be optionally
+ *        returned if the parameter is non-NULL.
+ *
+ *  \return 0 on success, or -1 if no DPI information is available or the index is out of range.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi);
+
+/**
+ *  \brief Get the orientation of a display
+ *
+ *  \return The orientation of the display, or SDL_ORIENTATION_UNKNOWN if it isn't available.
+ *
+ *  \sa SDL_GetNumVideoDisplays()
+ */
+extern DECLSPEC SDL_DisplayOrientation SDLCALL SDL_GetDisplayOrientation(int displayIndex);
+
+/**
+ *  \brief Returns the number of available display modes.
+ *
+ *  \sa SDL_GetDisplayMode()
+ */
+extern DECLSPEC int SDLCALL SDL_GetNumDisplayModes(int displayIndex);
+
+/**
+ *  \brief Fill in information about a specific display mode.
+ *
+ *  \note The display modes are sorted in this priority:
+ *        \li bits per pixel -> more colors to fewer colors
+ *        \li width -> largest to smallest
+ *        \li height -> largest to smallest
+ *        \li refresh rate -> highest to lowest
+ *
+ *  \sa SDL_GetNumDisplayModes()
+ */
+extern DECLSPEC int SDLCALL SDL_GetDisplayMode(int displayIndex, int modeIndex,
+                                               SDL_DisplayMode * mode);
+
+/**
+ *  \brief Fill in information about the desktop display mode.
+ */
+extern DECLSPEC int SDLCALL SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode * mode);
+
+/**
+ *  \brief Fill in information about the current display mode.
+ */
+extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(int displayIndex, SDL_DisplayMode * mode);
+
+
+/**
+ *  \brief Get the closest match to the requested display mode.
+ *
+ *  \param displayIndex The index of display from which mode should be queried.
+ *  \param mode The desired display mode
+ *  \param closest A pointer to a display mode to be filled in with the closest
+ *                 match of the available display modes.
+ *
+ *  \return The passed in value \c closest, or NULL if no matching video mode
+ *          was available.
+ *
+ *  The available display modes are scanned, and \c closest is filled in with the
+ *  closest mode matching the requested mode and returned.  The mode format and
+ *  refresh_rate default to the desktop mode if they are 0.  The modes are
+ *  scanned with size being first priority, format being second priority, and
+ *  finally checking the refresh_rate.  If all the available modes are too
+ *  small, then NULL is returned.
+ *
+ *  \sa SDL_GetNumDisplayModes()
+ *  \sa SDL_GetDisplayMode()
+ */
+extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode * mode, SDL_DisplayMode * closest);
+
+/**
+ *  \brief Get the display index associated with a window.
+ *
+ *  \return the display index of the display containing the center of the
+ *          window, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowDisplayIndex(SDL_Window * window);
+
+/**
+ *  \brief Set the display mode used when a fullscreen window is visible.
+ *
+ *  By default the window's dimensions and the desktop format and refresh rate
+ *  are used.
+ *
+ *  \param window The window for which the display mode should be set.
+ *  \param mode The mode to use, or NULL for the default mode.
+ *
+ *  \return 0 on success, or -1 if setting the display mode failed.
+ *
+ *  \sa SDL_GetWindowDisplayMode()
+ *  \sa SDL_SetWindowFullscreen()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowDisplayMode(SDL_Window * window,
+                                                     const SDL_DisplayMode
+                                                         * mode);
+
+/**
+ *  \brief Fill in information about the display mode used when a fullscreen
+ *         window is visible.
+ *
+ *  \sa SDL_SetWindowDisplayMode()
+ *  \sa SDL_SetWindowFullscreen()
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_Window * window,
+                                                     SDL_DisplayMode * mode);
+
+/**
+ *  \brief Get the pixel format associated with the window.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window);
+
+/**
+ *  \brief Create a window with the specified position, dimensions, and flags.
+ *
+ *  \param title The title of the window, in UTF-8 encoding.
+ *  \param x     The x position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param y     The y position of the window, ::SDL_WINDOWPOS_CENTERED, or
+ *               ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param w     The width of the window, in screen coordinates.
+ *  \param h     The height of the window, in screen coordinates.
+ *  \param flags The flags for the window, a mask of any of the following:
+ *               ::SDL_WINDOW_FULLSCREEN,    ::SDL_WINDOW_OPENGL,
+ *               ::SDL_WINDOW_HIDDEN,        ::SDL_WINDOW_BORDERLESS,
+ *               ::SDL_WINDOW_RESIZABLE,     ::SDL_WINDOW_MAXIMIZED,
+ *               ::SDL_WINDOW_MINIMIZED,     ::SDL_WINDOW_INPUT_GRABBED,
+ *               ::SDL_WINDOW_ALLOW_HIGHDPI, ::SDL_WINDOW_VULKAN.
+ *
+ *  \return The created window, or NULL if window creation failed.
+ *
+ *  If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size
+ *  in pixels may differ from its size in screen coordinates on platforms with
+ *  high-DPI support (e.g. iOS and Mac OS X). Use SDL_GetWindowSize() to query
+ *  the client area's size in screen coordinates, and SDL_GL_GetDrawableSize(),
+ *  SDL_Vulkan_GetDrawableSize(), or SDL_GetRendererOutputSize() to query the
+ *  drawable size in pixels.
+ *
+ *  If the window is created with any of the SDL_WINDOW_OPENGL or
+ *  SDL_WINDOW_VULKAN flags, then the corresponding LoadLibrary function
+ *  (SDL_GL_LoadLibrary or SDL_Vulkan_LoadLibrary) is called and the
+ *  corresponding UnloadLibrary function is called by SDL_DestroyWindow().
+ *
+ *  If SDL_WINDOW_VULKAN is specified and there isn't a working Vulkan driver,
+ *  SDL_CreateWindow() will fail because SDL_Vulkan_LoadLibrary() will fail.
+ *
+ *  \note On non-Apple devices, SDL requires you to either not link to the
+ *        Vulkan loader or link to a dynamic library version. This limitation
+ *        may be removed in a future version of SDL.
+ *
+ *  \sa SDL_DestroyWindow()
+ *  \sa SDL_GL_LoadLibrary()
+ *  \sa SDL_Vulkan_LoadLibrary()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindow(const char *title,
+                                                      int x, int y, int w,
+                                                      int h, Uint32 flags);
+
+/**
+ *  \brief Create an SDL window from an existing native window.
+ *
+ *  \param data A pointer to driver-dependent window creation data
+ *
+ *  \return The created window, or NULL if window creation failed.
+ *
+ *  \sa SDL_DestroyWindow()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindowFrom(const void *data);
+
+/**
+ *  \brief Get the numeric ID of a window, for logging purposes.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetWindowID(SDL_Window * window);
+
+/**
+ *  \brief Get a window from a stored ID, or NULL if it doesn't exist.
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetWindowFromID(Uint32 id);
+
+/**
+ *  \brief Get the window flags.
+ */
+extern DECLSPEC Uint32 SDLCALL SDL_GetWindowFlags(SDL_Window * window);
+
+/**
+ *  \brief Set the title of a window, in UTF-8 format.
+ *
+ *  \sa SDL_GetWindowTitle()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowTitle(SDL_Window * window,
+                                                const char *title);
+
+/**
+ *  \brief Get the title of a window, in UTF-8 format.
+ *
+ *  \sa SDL_SetWindowTitle()
+ */
+extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_Window * window);
+
+/**
+ *  \brief Set the icon for a window.
+ *
+ *  \param window The window for which the icon should be set.
+ *  \param icon The icon for the window.
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Window * window,
+                                               SDL_Surface * icon);
+
+/**
+ *  \brief Associate an arbitrary named pointer with a window.
+ *
+ *  \param window   The window to associate with the pointer.
+ *  \param name     The name of the pointer.
+ *  \param userdata The associated pointer.
+ *
+ *  \return The previous value associated with 'name'
+ *
+ *  \note The name is case-sensitive.
+ *
+ *  \sa SDL_GetWindowData()
+ */
+extern DECLSPEC void* SDLCALL SDL_SetWindowData(SDL_Window * window,
+                                                const char *name,
+                                                void *userdata);
+
+/**
+ *  \brief Retrieve the data pointer associated with a window.
+ *
+ *  \param window   The window to query.
+ *  \param name     The name of the pointer.
+ *
+ *  \return The value associated with 'name'
+ *
+ *  \sa SDL_SetWindowData()
+ */
+extern DECLSPEC void *SDLCALL SDL_GetWindowData(SDL_Window * window,
+                                                const char *name);
+
+/**
+ *  \brief Set the position of a window.
+ *
+ *  \param window   The window to reposition.
+ *  \param x        The x coordinate of the window in screen coordinates, or
+ *                  ::SDL_WINDOWPOS_CENTERED or ::SDL_WINDOWPOS_UNDEFINED.
+ *  \param y        The y coordinate of the window in screen coordinates, or
+ *                  ::SDL_WINDOWPOS_CENTERED or ::SDL_WINDOWPOS_UNDEFINED.
+ *
+ *  \note The window coordinate origin is the upper left of the display.
+ *
+ *  \sa SDL_GetWindowPosition()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowPosition(SDL_Window * window,
+                                                   int x, int y);
+
+/**
+ *  \brief Get the position of a window.
+ *
+ *  \param window   The window to query.
+ *  \param x        Pointer to variable for storing the x position, in screen
+ *                  coordinates. May be NULL.
+ *  \param y        Pointer to variable for storing the y position, in screen
+ *                  coordinates. May be NULL.
+ *
+ *  \sa SDL_SetWindowPosition()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window * window,
+                                                   int *x, int *y);
+
+/**
+ *  \brief Set the size of a window's client area.
+ *
+ *  \param window   The window to resize.
+ *  \param w        The width of the window, in screen coordinates. Must be >0.
+ *  \param h        The height of the window, in screen coordinates. Must be >0.
+ *
+ *  \note Fullscreen windows automatically match the size of the display mode,
+ *        and you should use SDL_SetWindowDisplayMode() to change their size.
+ *
+ *  The window size in screen coordinates may differ from the size in pixels, if
+ *  the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with
+ *  high-dpi support (e.g. iOS or OS X). Use SDL_GL_GetDrawableSize() or
+ *  SDL_GetRendererOutputSize() to get the real client area size in pixels.
+ *
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_SetWindowDisplayMode()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowSize(SDL_Window * window, int w,
+                                               int h);
+
+/**
+ *  \brief Get the size of a window's client area.
+ *
+ *  \param window   The window to query.
+ *  \param w        Pointer to variable for storing the width, in screen
+ *                  coordinates. May be NULL.
+ *  \param h        Pointer to variable for storing the height, in screen
+ *                  coordinates. May be NULL.
+ *
+ *  The window size in screen coordinates may differ from the size in pixels, if
+ *  the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with
+ *  high-dpi support (e.g. iOS or OS X). Use SDL_GL_GetDrawableSize() or
+ *  SDL_GetRendererOutputSize() to get the real client area size in pixels.
+ *
+ *  \sa SDL_SetWindowSize()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window * window, int *w,
+                                               int *h);
+
+/**
+ *  \brief Get the size of a window's borders (decorations) around the client area.
+ *
+ *  \param window The window to query.
+ *  \param top Pointer to variable for storing the size of the top border. NULL is permitted.
+ *  \param left Pointer to variable for storing the size of the left border. NULL is permitted.
+ *  \param bottom Pointer to variable for storing the size of the bottom border. NULL is permitted.
+ *  \param right Pointer to variable for storing the size of the right border. NULL is permitted.
+ *
+ *  \return 0 on success, or -1 if getting this information is not supported.
+ *
+ *  \note if this function fails (returns -1), the size values will be
+ *        initialized to 0, 0, 0, 0 (if a non-NULL pointer is provided), as
+ *        if the window in question was borderless.
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowBordersSize(SDL_Window * window,
+                                                     int *top, int *left,
+                                                     int *bottom, int *right);
+
+/**
+ *  \brief Set the minimum size of a window's client area.
+ *
+ *  \param window    The window to set a new minimum size.
+ *  \param min_w     The minimum width of the window, must be >0
+ *  \param min_h     The minimum height of the window, must be >0
+ *
+ *  \note You can't change the minimum size of a fullscreen window, it
+ *        automatically matches the size of the display mode.
+ *
+ *  \sa SDL_GetWindowMinimumSize()
+ *  \sa SDL_SetWindowMaximumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window,
+                                                      int min_w, int min_h);
+
+/**
+ *  \brief Get the minimum size of a window's client area.
+ *
+ *  \param window   The window to query.
+ *  \param w        Pointer to variable for storing the minimum width, may be NULL
+ *  \param h        Pointer to variable for storing the minimum height, may be NULL
+ *
+ *  \sa SDL_GetWindowMaximumSize()
+ *  \sa SDL_SetWindowMinimumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window,
+                                                      int *w, int *h);
+
+/**
+ *  \brief Set the maximum size of a window's client area.
+ *
+ *  \param window    The window to set a new maximum size.
+ *  \param max_w     The maximum width of the window, must be >0
+ *  \param max_h     The maximum height of the window, must be >0
+ *
+ *  \note You can't change the maximum size of a fullscreen window, it
+ *        automatically matches the size of the display mode.
+ *
+ *  \sa SDL_GetWindowMaximumSize()
+ *  \sa SDL_SetWindowMinimumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window * window,
+                                                      int max_w, int max_h);
+
+/**
+ *  \brief Get the maximum size of a window's client area.
+ *
+ *  \param window   The window to query.
+ *  \param w        Pointer to variable for storing the maximum width, may be NULL
+ *  \param h        Pointer to variable for storing the maximum height, may be NULL
+ *
+ *  \sa SDL_GetWindowMinimumSize()
+ *  \sa SDL_SetWindowMaximumSize()
+ */
+extern DECLSPEC void SDLCALL SDL_GetWindowMaximumSize(SDL_Window * window,
+                                                      int *w, int *h);
+
+/**
+ *  \brief Set the border state of a window.
+ *
+ *  This will add or remove the window's SDL_WINDOW_BORDERLESS flag and
+ *  add or remove the border from the actual window. This is a no-op if the
+ *  window's border already matches the requested state.
+ *
+ *  \param window The window of which to change the border state.
+ *  \param bordered SDL_FALSE to remove border, SDL_TRUE to add border.
+ *
+ *  \note You can't change the border state of a fullscreen window.
+ *
+ *  \sa SDL_GetWindowFlags()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowBordered(SDL_Window * window,
+                                                   SDL_bool bordered);
+
+/**
+ *  \brief Set the user-resizable state of a window.
+ *
+ *  This will add or remove the window's SDL_WINDOW_RESIZABLE flag and
+ *  allow/disallow user resizing of the window. This is a no-op if the
+ *  window's resizable state already matches the requested state.
+ *
+ *  \param window The window of which to change the resizable state.
+ *  \param resizable SDL_TRUE to allow resizing, SDL_FALSE to disallow.
+ *
+ *  \note You can't change the resizable state of a fullscreen window.
+ *
+ *  \sa SDL_GetWindowFlags()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowResizable(SDL_Window * window,
+                                                    SDL_bool resizable);
+
+/**
+ *  \brief Show a window.
+ *
+ *  \sa SDL_HideWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_ShowWindow(SDL_Window * window);
+
+/**
+ *  \brief Hide a window.
+ *
+ *  \sa SDL_ShowWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_HideWindow(SDL_Window * window);
+
+/**
+ *  \brief Raise a window above other windows and set the input focus.
+ */
+extern DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_Window * window);
+
+/**
+ *  \brief Make a window as large as possible.
+ *
+ *  \sa SDL_RestoreWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_MaximizeWindow(SDL_Window * window);
+
+/**
+ *  \brief Minimize a window to an iconic representation.
+ *
+ *  \sa SDL_RestoreWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_MinimizeWindow(SDL_Window * window);
+
+/**
+ *  \brief Restore the size and position of a minimized or maximized window.
+ *
+ *  \sa SDL_MaximizeWindow()
+ *  \sa SDL_MinimizeWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_RestoreWindow(SDL_Window * window);
+
+/**
+ *  \brief Set a window's fullscreen state.
+ *
+ *  \return 0 on success, or -1 if setting the display mode failed.
+ *
+ *  \sa SDL_SetWindowDisplayMode()
+ *  \sa SDL_GetWindowDisplayMode()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowFullscreen(SDL_Window * window,
+                                                    Uint32 flags);
+
+/**
+ *  \brief Get the SDL surface associated with the window.
+ *
+ *  \return The window's framebuffer surface, or NULL on error.
+ *
+ *  A new surface will be created with the optimal format for the window,
+ *  if necessary. This surface will be freed when the window is destroyed.
+ *
+ *  \note You may not combine this with 3D or the rendering API on this window.
+ *
+ *  \sa SDL_UpdateWindowSurface()
+ *  \sa SDL_UpdateWindowSurfaceRects()
+ */
+extern DECLSPEC SDL_Surface * SDLCALL SDL_GetWindowSurface(SDL_Window * window);
+
+/**
+ *  \brief Copy the window surface to the screen.
+ *
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_GetWindowSurface()
+ *  \sa SDL_UpdateWindowSurfaceRects()
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateWindowSurface(SDL_Window * window);
+
+/**
+ *  \brief Copy a number of rectangles on the window surface to the screen.
+ *
+ *  \return 0 on success, or -1 on error.
+ *
+ *  \sa SDL_GetWindowSurface()
+ *  \sa SDL_UpdateWindowSurface()
+ */
+extern DECLSPEC int SDLCALL SDL_UpdateWindowSurfaceRects(SDL_Window * window,
+                                                         const SDL_Rect * rects,
+                                                         int numrects);
+
+/**
+ *  \brief Set a window's input grab mode.
+ *
+ *  \param window The window for which the input grab mode should be set.
+ *  \param grabbed This is SDL_TRUE to grab input, and SDL_FALSE to release input.
+ *
+ *  If the caller enables a grab while another window is currently grabbed,
+ *  the other window loses its grab in favor of the caller's window.
+ *
+ *  \sa SDL_GetWindowGrab()
+ */
+extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
+                                               SDL_bool grabbed);
+
+/**
+ *  \brief Get a window's input grab mode.
+ *
+ *  \return This returns SDL_TRUE if input is grabbed, and SDL_FALSE otherwise.
+ *
+ *  \sa SDL_SetWindowGrab()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab(SDL_Window * window);
+
+/**
+ *  \brief Get the window that currently has an input grab enabled.
+ *
+ *  \return This returns the window if input is grabbed, and NULL otherwise.
+ *
+ *  \sa SDL_SetWindowGrab()
+ */
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetGrabbedWindow(void);
+
+/**
+ *  \brief Set the brightness (gamma correction) for a window.
+ *
+ *  \return 0 on success, or -1 if setting the brightness isn't supported.
+ *
+ *  \sa SDL_GetWindowBrightness()
+ *  \sa SDL_SetWindowGammaRamp()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowBrightness(SDL_Window * window, float brightness);
+
+/**
+ *  \brief Get the brightness (gamma correction) for a window.
+ *
+ *  \return The last brightness value passed to SDL_SetWindowBrightness()
+ *
+ *  \sa SDL_SetWindowBrightness()
+ */
+extern DECLSPEC float SDLCALL SDL_GetWindowBrightness(SDL_Window * window);
+
+/**
+ *  \brief Set the opacity for a window
+ *
+ *  \param window The window which will be made transparent or opaque
+ *  \param opacity Opacity (0.0f - transparent, 1.0f - opaque) This will be
+ *                 clamped internally between 0.0f and 1.0f.
+ *
+ *  \return 0 on success, or -1 if setting the opacity isn't supported.
+ *
+ *  \sa SDL_GetWindowOpacity()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowOpacity(SDL_Window * window, float opacity);
+
+/**
+ *  \brief Get the opacity of a window.
+ *
+ *  If transparency isn't supported on this platform, opacity will be reported
+ *  as 1.0f without error.
+ *
+ *  \param window The window in question.
+ *  \param out_opacity Opacity (0.0f - transparent, 1.0f - opaque)
+ *
+ *  \return 0 on success, or -1 on error (invalid window, etc).
+ *
+ *  \sa SDL_SetWindowOpacity()
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window * window, float * out_opacity);
+
+/**
+ *  \brief Sets the window as a modal for another window (TODO: reconsider this function and/or its name)
+ *
+ *  \param modal_window The window that should be modal
+ *  \param parent_window The parent window
+ *
+ *  \return 0 on success, or -1 otherwise.
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowModalFor(SDL_Window * modal_window, SDL_Window * parent_window);
+
+/**
+ *  \brief Explicitly sets input focus to the window.
+ *
+ *  You almost certainly want SDL_RaiseWindow() instead of this function. Use
+ *  this with caution, as you might give focus to a window that's completely
+ *  obscured by other windows.
+ *
+ *  \param window The window that should get the input focus
+ *
+ *  \return 0 on success, or -1 otherwise.
+ *  \sa SDL_RaiseWindow()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowInputFocus(SDL_Window * window);
+
+/**
+ *  \brief Set the gamma ramp for a window.
+ *
+ *  \param window The window for which the gamma ramp should be set.
+ *  \param red The translation table for the red channel, or NULL.
+ *  \param green The translation table for the green channel, or NULL.
+ *  \param blue The translation table for the blue channel, or NULL.
+ *
+ *  \return 0 on success, or -1 if gamma ramps are unsupported.
+ *
+ *  Set the gamma translation table for the red, green, and blue channels
+ *  of the video hardware.  Each table is an array of 256 16-bit quantities,
+ *  representing a mapping between the input and output for that channel.
+ *  The input is the index into the array, and the output is the 16-bit
+ *  gamma value at that index, scaled to the output color precision.
+ *
+ *  \sa SDL_GetWindowGammaRamp()
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowGammaRamp(SDL_Window * window,
+                                                   const Uint16 * red,
+                                                   const Uint16 * green,
+                                                   const Uint16 * blue);
+
+/**
+ *  \brief Get the gamma ramp for a window.
+ *
+ *  \param window The window from which the gamma ramp should be queried.
+ *  \param red   A pointer to a 256 element array of 16-bit quantities to hold
+ *               the translation table for the red channel, or NULL.
+ *  \param green A pointer to a 256 element array of 16-bit quantities to hold
+ *               the translation table for the green channel, or NULL.
+ *  \param blue  A pointer to a 256 element array of 16-bit quantities to hold
+ *               the translation table for the blue channel, or NULL.
+ *
+ *  \return 0 on success, or -1 if gamma ramps are unsupported.
+ *
+ *  \sa SDL_SetWindowGammaRamp()
+ */
+extern DECLSPEC int SDLCALL SDL_GetWindowGammaRamp(SDL_Window * window,
+                                                   Uint16 * red,
+                                                   Uint16 * green,
+                                                   Uint16 * blue);
+
+/**
+ *  \brief Possible return values from the SDL_HitTest callback.
+ *
+ *  \sa SDL_HitTest
+ */
+typedef enum
+{
+    SDL_HITTEST_NORMAL,  /**< Region is normal. No special properties. */
+    SDL_HITTEST_DRAGGABLE,  /**< Region can drag entire window. */
+    SDL_HITTEST_RESIZE_TOPLEFT,
+    SDL_HITTEST_RESIZE_TOP,
+    SDL_HITTEST_RESIZE_TOPRIGHT,
+    SDL_HITTEST_RESIZE_RIGHT,
+    SDL_HITTEST_RESIZE_BOTTOMRIGHT,
+    SDL_HITTEST_RESIZE_BOTTOM,
+    SDL_HITTEST_RESIZE_BOTTOMLEFT,
+    SDL_HITTEST_RESIZE_LEFT
+} SDL_HitTestResult;
+
+/**
+ *  \brief Callback used for hit-testing.
+ *
+ *  \sa SDL_SetWindowHitTest
+ */
+typedef SDL_HitTestResult (SDLCALL *SDL_HitTest)(SDL_Window *win,
+                                                 const SDL_Point *area,
+                                                 void *data);
+
+/**
+ *  \brief Provide a callback that decides if a window region has special properties.
+ *
+ *  Normally windows are dragged and resized by decorations provided by the
+ *  system window manager (a title bar, borders, etc), but for some apps, it
+ *  makes sense to drag them from somewhere else inside the window itself; for
+ *  example, one might have a borderless window that wants to be draggable
+ *  from any part, or simulate its own title bar, etc.
+ *
+ *  This function lets the app provide a callback that designates pieces of
+ *  a given window as special. This callback is run during event processing
+ *  if we need to tell the OS to treat a region of the window specially; the
+ *  use of this callback is known as "hit testing."
+ *
+ *  Mouse input may not be delivered to your application if it is within
+ *  a special area; the OS will often apply that input to moving the window or
+ *  resizing the window and not deliver it to the application.
+ *
+ *  Specifying NULL for a callback disables hit-testing. Hit-testing is
+ *  disabled by default.
+ *
+ *  Platforms that don't support this functionality will return -1
+ *  unconditionally, even if you're attempting to disable hit-testing.
+ *
+ *  Your callback may fire at any time, and its firing does not indicate any
+ *  specific behavior (for example, on Windows, this certainly might fire
+ *  when the OS is deciding whether to drag your window, but it fires for lots
+ *  of other reasons, too, some unrelated to anything you probably care about
+ *  _and when the mouse isn't actually at the location it is testing_).
+ *  Since this can fire at any time, you should try to keep your callback
+ *  efficient, devoid of allocations, etc.
+ *
+ *  \param window The window to set hit-testing on.
+ *  \param callback The callback to call when doing a hit-test.
+ *  \param callback_data An app-defined void pointer passed to the callback.
+ *  \return 0 on success, -1 on error (including unsupported).
+ */
+extern DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window * window,
+                                                 SDL_HitTest callback,
+                                                 void *callback_data);
+
+/**
+ *  \brief Destroy a window.
+ */
+extern DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window * window);
+
+
+/**
+ *  \brief Returns whether the screensaver is currently enabled (default off).
+ *
+ *  \sa SDL_EnableScreenSaver()
+ *  \sa SDL_DisableScreenSaver()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled(void);
+
+/**
+ *  \brief Allow the screen to be blanked by a screensaver
+ *
+ *  \sa SDL_IsScreenSaverEnabled()
+ *  \sa SDL_DisableScreenSaver()
+ */
+extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void);
+
+/**
+ *  \brief Prevent the screen from being blanked by a screensaver
+ *
+ *  \sa SDL_IsScreenSaverEnabled()
+ *  \sa SDL_EnableScreenSaver()
+ */
+extern DECLSPEC void SDLCALL SDL_DisableScreenSaver(void);
+
+
+/**
+ *  \name OpenGL support functions
+ */
+/* @{ */
+
+/**
+ *  \brief Dynamically load an OpenGL library.
+ *
+ *  \param path The platform dependent OpenGL library name, or NULL to open the
+ *              default OpenGL library.
+ *
+ *  \return 0 on success, or -1 if the library couldn't be loaded.
+ *
+ *  This should be done after initializing the video driver, but before
+ *  creating any OpenGL windows.  If no OpenGL library is loaded, the default
+ *  library will be loaded upon creation of the first OpenGL window.
+ *
+ *  \note If you do this, you need to retrieve all of the GL functions used in
+ *        your program from the dynamic library using SDL_GL_GetProcAddress().
+ *
+ *  \sa SDL_GL_GetProcAddress()
+ *  \sa SDL_GL_UnloadLibrary()
+ */
+extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path);
+
+/**
+ *  \brief Get the address of an OpenGL function.
+ */
+extern DECLSPEC void *SDLCALL SDL_GL_GetProcAddress(const char *proc);
+
+/**
+ *  \brief Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().
+ *
+ *  \sa SDL_GL_LoadLibrary()
+ */
+extern DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void);
+
+/**
+ *  \brief Return true if an OpenGL extension is supported for the current
+ *         context.
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_GL_ExtensionSupported(const char
+                                                           *extension);
+
+/**
+ *  \brief Reset all previously set OpenGL context attributes to their default values
+ */
+extern DECLSPEC void SDLCALL SDL_GL_ResetAttributes(void);
+
+/**
+ *  \brief Set an OpenGL window attribute before window creation.
+ *
+ *  \return 0 on success, or -1 if the attribute could not be set.
+ */
+extern DECLSPEC int SDLCALL SDL_GL_SetAttribute(SDL_GLattr attr, int value);
+
+/**
+ *  \brief Get the actual value for an attribute from the current context.
+ *
+ *  \return 0 on success, or -1 if the attribute could not be retrieved.
+ *          The integer at \c value will be modified in either case.
+ */
+extern DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int *value);
+
+/**
+ *  \brief Create an OpenGL context for use with an OpenGL window, and make it
+ *         current.
+ *
+ *  \sa SDL_GL_DeleteContext()
+ */
+extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_CreateContext(SDL_Window *
+                                                           window);
+
+/**
+ *  \brief Set up an OpenGL context for rendering into an OpenGL window.
+ *
+ *  \note The context must have been created with a compatible window.
+ */
+extern DECLSPEC int SDLCALL SDL_GL_MakeCurrent(SDL_Window * window,
+                                               SDL_GLContext context);
+
+/**
+ *  \brief Get the currently active OpenGL window.
+ */
+extern DECLSPEC SDL_Window* SDLCALL SDL_GL_GetCurrentWindow(void);
+
+/**
+ *  \brief Get the currently active OpenGL context.
+ */
+extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
+
+/**
+ *  \brief Get the size of a window's underlying drawable in pixels (for use
+ *         with glViewport).
+ *
+ *  \param window   Window from which the drawable size should be queried
+ *  \param w        Pointer to variable for storing the width in pixels, may be NULL
+ *  \param h        Pointer to variable for storing the height in pixels, may be NULL
+ *
+ * This may differ from SDL_GetWindowSize() if we're rendering to a high-DPI
+ * drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a
+ * platform with high-DPI support (Apple calls this "Retina"), and not disabled
+ * by the SDL_HINT_VIDEO_HIGHDPI_DISABLED hint.
+ *
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_CreateWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_GL_GetDrawableSize(SDL_Window * window, int *w,
+                                                    int *h);
+
+/**
+ *  \brief Set the swap interval for the current OpenGL context.
+ *
+ *  \param interval 0 for immediate updates, 1 for updates synchronized with the
+ *                  vertical retrace. If the system supports it, you may
+ *                  specify -1 to allow late swaps to happen immediately
+ *                  instead of waiting for the next retrace.
+ *
+ *  \return 0 on success, or -1 if setting the swap interval is not supported.
+ *
+ *  \sa SDL_GL_GetSwapInterval()
+ */
+extern DECLSPEC int SDLCALL SDL_GL_SetSwapInterval(int interval);
+
+/**
+ *  \brief Get the swap interval for the current OpenGL context.
+ *
+ *  \return 0 if there is no vertical retrace synchronization, 1 if the buffer
+ *          swap is synchronized with the vertical retrace, and -1 if late
+ *          swaps happen immediately instead of waiting for the next retrace.
+ *          If the system can't determine the swap interval, or there isn't a
+ *          valid current context, this will return 0 as a safe default.
+ *
+ *  \sa SDL_GL_SetSwapInterval()
+ */
+extern DECLSPEC int SDLCALL SDL_GL_GetSwapInterval(void);
+
+/**
+ * \brief Swap the OpenGL buffers for a window, if double-buffering is
+ *        supported.
+ */
+extern DECLSPEC void SDLCALL SDL_GL_SwapWindow(SDL_Window * window);
+
+/**
+ *  \brief Delete an OpenGL context.
+ *
+ *  \sa SDL_GL_CreateContext()
+ */
+extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context);
+
+/* @} *//* OpenGL support functions */
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_video_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/SDL_vulkan.h
@@ -1,0 +1,278 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 2017, Mark Callow
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file SDL_vulkan.h
+ *
+ *  Header file for functions to creating Vulkan surfaces on SDL windows.
+ */
+
+#ifndef SDL_vulkan_h_
+#define SDL_vulkan_h_
+
+#include "SDL_video.h"
+
+#include "begin_code.h"
+/* Set up for C function definitions, even when using C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Avoid including vulkan.h, don't define VkInstance if it's already included */
+#ifdef VULKAN_H_
+#define NO_SDL_VULKAN_TYPEDEFS
+#endif
+#ifndef NO_SDL_VULKAN_TYPEDEFS
+#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
+
+#if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
+#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object;
+#else
+#define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object;
+#endif
+
+VK_DEFINE_HANDLE(VkInstance)
+VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSurfaceKHR)
+
+#endif /* !NO_SDL_VULKAN_TYPEDEFS */
+
+typedef VkInstance SDL_vulkanInstance;
+typedef VkSurfaceKHR SDL_vulkanSurface; /* for compatibility with Tizen */
+
+/**
+ *  \name Vulkan support functions
+ *
+ *  \note SDL_Vulkan_GetInstanceExtensions & SDL_Vulkan_CreateSurface API
+ *        is compatable with Tizen's implementation of Vulkan in SDL.
+ */
+/* @{ */
+
+/**
+ *  \brief Dynamically load a Vulkan loader library.
+ *
+ *  \param [in] path The platform dependent Vulkan loader library name, or
+ *              \c NULL.
+ *
+ *  \return \c 0 on success, or \c -1 if the library couldn't be loaded.
+ *
+ *  If \a path is NULL SDL will use the value of the environment variable
+ *  \c SDL_VULKAN_LIBRARY, if set, otherwise it loads the default Vulkan
+ *  loader library.
+ *
+ *  This should be called after initializing the video driver, but before
+ *  creating any Vulkan windows. If no Vulkan loader library is loaded, the
+ *  default library will be loaded upon creation of the first Vulkan window.
+ *
+ *  \note It is fairly common for Vulkan applications to link with \a libvulkan
+ *        instead of explicitly loading it at run time. This will work with
+ *        SDL provided the application links to a dynamic library and both it
+ *        and SDL use the same search path.
+ *
+ *  \note If you specify a non-NULL \c path, an application should retrieve all
+ *        of the Vulkan functions it uses from the dynamic library using
+ *        \c SDL_Vulkan_GetVkGetInstanceProcAddr() unless you can guarantee
+ *        \c path points to the same vulkan loader library the application
+ *        linked to.
+ *
+ *  \note On Apple devices, if \a path is NULL, SDL will attempt to find
+ *        the vkGetInstanceProcAddr address within all the mach-o images of
+ *        the current process. This is because it is fairly common for Vulkan
+ *        applications to link with libvulkan (and historically MoltenVK was
+ *        provided as a static library). If it is not found then, on macOS, SDL
+ *        will attempt to load \c vulkan.framework/vulkan, \c libvulkan.1.dylib,
+ *        followed by \c libvulkan.dylib, in that order.
+ *        On iOS SDL will attempt to load \c libvulkan.dylib only. Applications
+ *        using a dynamic framework or .dylib must ensure it is included in its
+ *        application bundle.
+ *
+ *  \note On non-Apple devices, application linking with a static libvulkan is
+ *        not supported. Either do not link to the Vulkan loader or link to a
+ *        dynamic library version.
+ *
+ *  \note This function will fail if there are no working Vulkan drivers
+ *        installed.
+ *
+ *  \sa SDL_Vulkan_GetVkGetInstanceProcAddr()
+ *  \sa SDL_Vulkan_UnloadLibrary()
+ */
+extern DECLSPEC int SDLCALL SDL_Vulkan_LoadLibrary(const char *path);
+
+/**
+ *  \brief Get the address of the \c vkGetInstanceProcAddr function.
+ *
+ *  \note This should be called after either calling SDL_Vulkan_LoadLibrary
+ *        or creating an SDL_Window with the SDL_WINDOW_VULKAN flag.
+ */
+extern DECLSPEC void *SDLCALL SDL_Vulkan_GetVkGetInstanceProcAddr(void);
+
+/**
+ *  \brief Unload the Vulkan loader library previously loaded by
+ *         \c SDL_Vulkan_LoadLibrary().
+ *
+ *  \sa SDL_Vulkan_LoadLibrary()
+ */
+extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void);
+
+/**
+ *  \brief Get the names of the Vulkan instance extensions needed to create
+ *         a surface with \c SDL_Vulkan_CreateSurface().
+ *
+ *  \param [in]     \c NULL or window Window for which the required Vulkan instance
+ *                  extensions should be retrieved
+ *  \param [in,out] pCount pointer to an \c unsigned related to the number of
+ *                  required Vulkan instance extensions
+ *  \param [out]    pNames \c NULL or a pointer to an array to be filled with the
+ *                  required Vulkan instance extensions
+ *
+ *  \return \c SDL_TRUE on success, \c SDL_FALSE on error.
+ *
+ *  If \a pNames is \c NULL, then the number of required Vulkan instance
+ *  extensions is returned in pCount. Otherwise, \a pCount must point to a
+ *  variable set to the number of elements in the \a pNames array, and on
+ *  return the variable is overwritten with the number of names actually
+ *  written to \a pNames. If \a pCount is less than the number of required
+ *  extensions, at most \a pCount structures will be written. If \a pCount
+ *  is smaller than the number of required extensions, \c SDL_FALSE will be
+ *  returned instead of \c SDL_TRUE, to indicate that not all the required
+ *  extensions were returned.
+ *
+ *  \note If \c window is not NULL, it will be checked against its creation
+ *        flags to ensure that the Vulkan flag is present. This parameter
+ *        will be removed in a future major release.
+ *
+ *  \note The returned list of extensions will contain \c VK_KHR_surface
+ *        and zero or more platform specific extensions
+ *
+ *  \note The extension names queried here must be enabled when calling
+ *        VkCreateInstance, otherwise surface creation will fail.
+ *
+ *  \note \c window should have been created with the \c SDL_WINDOW_VULKAN flag
+ *        or be \c NULL
+ *
+ *  \code
+ *  unsigned int count;
+ *  // get count of required extensions
+ *  if(!SDL_Vulkan_GetInstanceExtensions(NULL, &count, NULL))
+ *      handle_error();
+ *
+ *  static const char *const additionalExtensions[] =
+ *  {
+ *      VK_EXT_DEBUG_REPORT_EXTENSION_NAME, // example additional extension
+ *  };
+ *  size_t additionalExtensionsCount = sizeof(additionalExtensions) / sizeof(additionalExtensions[0]);
+ *  size_t extensionCount = count + additionalExtensionsCount;
+ *  const char **names = malloc(sizeof(const char *) * extensionCount);
+ *  if(!names)
+ *      handle_error();
+ *
+ *  // get names of required extensions
+ *  if(!SDL_Vulkan_GetInstanceExtensions(NULL, &count, names))
+ *      handle_error();
+ *
+ *  // copy additional extensions after required extensions
+ *  for(size_t i = 0; i < additionalExtensionsCount; i++)
+ *      names[i + count] = additionalExtensions[i];
+ *
+ *  VkInstanceCreateInfo instanceCreateInfo = {};
+ *  instanceCreateInfo.enabledExtensionCount = extensionCount;
+ *  instanceCreateInfo.ppEnabledExtensionNames = names;
+ *  // fill in rest of instanceCreateInfo
+ *
+ *  VkInstance instance;
+ *  // create the Vulkan instance
+ *  VkResult result = vkCreateInstance(&instanceCreateInfo, NULL, &instance);
+ *  free(names);
+ *  \endcode
+ *
+ *  \sa SDL_Vulkan_CreateSurface()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Vulkan_GetInstanceExtensions(
+														SDL_Window *window,
+														unsigned int *pCount,
+														const char **pNames);
+
+/**
+ *  \brief Create a Vulkan rendering surface for a window.
+ *
+ *  \param [in]  window   SDL_Window to which to attach the rendering surface.
+ *  \param [in]  instance handle to the Vulkan instance to use.
+ *  \param [out] surface  pointer to a VkSurfaceKHR handle to receive the
+ *                        handle of the newly created surface.
+ *
+ *  \return \c SDL_TRUE on success, \c SDL_FALSE on error.
+ *
+ *  \code
+ *  VkInstance instance;
+ *  SDL_Window *window;
+ *
+ *  // create instance and window
+ *
+ *  // create the Vulkan surface
+ *  VkSurfaceKHR surface;
+ *  if(!SDL_Vulkan_CreateSurface(window, instance, &surface))
+ *      handle_error();
+ *  \endcode
+ *
+ *  \note \a window should have been created with the \c SDL_WINDOW_VULKAN flag.
+ *
+ *  \note \a instance should have been created with the extensions returned
+ *        by \c SDL_Vulkan_CreateSurface() enabled.
+ *
+ *  \sa SDL_Vulkan_GetInstanceExtensions()
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Vulkan_CreateSurface(
+												SDL_Window *window,
+												VkInstance instance,
+												VkSurfaceKHR* surface);
+
+/**
+ *  \brief Get the size of a window's underlying drawable in pixels (for use
+ *         with setting viewport, scissor & etc).
+ *
+ *  \param window   SDL_Window from which the drawable size should be queried
+ *  \param w        Pointer to variable for storing the width in pixels,
+ *                  may be NULL
+ *  \param h        Pointer to variable for storing the height in pixels,
+ *                  may be NULL
+ *
+ * This may differ from SDL_GetWindowSize() if we're rendering to a high-DPI
+ * drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a
+ * platform with high-DPI support (Apple calls this "Retina"), and not disabled
+ * by the \c SDL_HINT_VIDEO_HIGHDPI_DISABLED hint.
+ *
+ *  \note On macOS high-DPI support must be enabled for an application by
+ *        setting NSHighResolutionCapable to true in its Info.plist.
+ *
+ *  \sa SDL_GetWindowSize()
+ *  \sa SDL_CreateWindow()
+ */
+extern DECLSPEC void SDLCALL SDL_Vulkan_GetDrawableSize(SDL_Window * window,
+                                                        int *w, int *h);
+
+/* @} *//* Vulkan support functions */
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+#include "close_code.h"
+
+#endif /* SDL_vulkan_h_ */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/begin_code.h
@@ -1,0 +1,170 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file begin_code.h
+ *
+ *  This file sets things up for C dynamic library function definitions,
+ *  static inlined functions, and structures aligned at 4-byte alignment.
+ *  If you don't like ugly C preprocessor code, don't look at this file. :)
+ */
+
+/* This shouldn't be nested -- included it around code only. */
+#ifdef _begin_code_h
+#error Nested inclusion of begin_code.h
+#endif
+#define _begin_code_h
+
+#ifndef SDL_DEPRECATED
+#  if (__GNUC__ >= 4)  /* technically, this arrived in gcc 3.1, but oh well. */
+#    define SDL_DEPRECATED __attribute__((deprecated))
+#  else
+#    define SDL_DEPRECATED
+#  endif
+#endif
+
+#ifndef SDL_UNUSED
+#  ifdef __GNUC__
+#    define SDL_UNUSED __attribute__((unused))
+#  else
+#    define SDL_UNUSED
+#  endif
+#endif
+
+/* Some compilers use a special export keyword */
+#ifndef DECLSPEC
+# if defined(__WIN32__) || defined(__WINRT__)
+#  ifdef __BORLANDC__
+#   ifdef BUILD_SDL
+#    define DECLSPEC
+#   else
+#    define DECLSPEC    __declspec(dllimport)
+#   endif
+#  else
+#   define DECLSPEC __declspec(dllexport)
+#  endif
+# elif defined(__OS2__)
+#   ifdef BUILD_SDL
+#    define DECLSPEC    __declspec(dllexport)
+#   else
+#    define DECLSPEC
+#   endif
+# else
+#  if defined(__GNUC__) && __GNUC__ >= 4
+#   define DECLSPEC __attribute__ ((visibility("default")))
+#  else
+#   define DECLSPEC
+#  endif
+# endif
+#endif
+
+/* By default SDL uses the C calling convention */
+#ifndef SDLCALL
+#if (defined(__WIN32__) || defined(__WINRT__)) && !defined(__GNUC__)
+#define SDLCALL __cdecl
+#elif defined(__OS2__) || defined(__EMX__)
+#define SDLCALL _System
+# if defined (__GNUC__) && !defined(_System)
+#  define _System /* for old EMX/GCC compat.  */
+# endif
+#else
+#define SDLCALL
+#endif
+#endif /* SDLCALL */
+
+/* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */
+#ifdef __SYMBIAN32__
+#undef DECLSPEC
+#define DECLSPEC
+#endif /* __SYMBIAN32__ */
+
+/* Force structure packing at 4 byte alignment.
+   This is necessary if the header is included in code which has structure
+   packing set to an alternate value, say for loading structures from disk.
+   The packing is reset to the previous value in close_code.h
+ */
+#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
+#ifdef _MSC_VER
+#pragma warning(disable: 4103)
+#endif
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wpragma-pack"
+#endif
+#ifdef __BORLANDC__
+#pragma nopackwarning
+#endif
+#ifdef _M_X64
+/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
+#pragma pack(push,8)
+#else
+#pragma pack(push,4)
+#endif
+#endif /* Compiler needs structure packing set */
+
+#ifndef SDL_INLINE
+#if defined(__GNUC__)
+#define SDL_INLINE __inline__
+#elif defined(_MSC_VER) || defined(__BORLANDC__) || \
+      defined(__DMC__) || defined(__SC__) || \
+      defined(__WATCOMC__) || defined(__LCC__) || \
+      defined(__DECC) || defined(__CC_ARM)
+#define SDL_INLINE __inline
+#ifndef __inline__
+#define __inline__ __inline
+#endif
+#else
+#define SDL_INLINE inline
+#ifndef __inline__
+#define __inline__ inline
+#endif
+#endif
+#endif /* SDL_INLINE not defined */
+
+#ifndef SDL_FORCE_INLINE
+#if defined(_MSC_VER)
+#define SDL_FORCE_INLINE __forceinline
+#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
+#define SDL_FORCE_INLINE __attribute__((always_inline)) static __inline__
+#else
+#define SDL_FORCE_INLINE static SDL_INLINE
+#endif
+#endif /* SDL_FORCE_INLINE not defined */
+
+#ifndef SDL_NORETURN
+#if defined(__GNUC__)
+#define SDL_NORETURN __attribute__((noreturn))
+#elif defined(_MSC_VER)
+#define SDL_NORETURN __declspec(noreturn)
+#else
+#define SDL_NORETURN
+#endif
+#endif /* SDL_NORETURN not defined */
+
+/* Apparently this is needed by several Windows compilers */
+#if !defined(__MACH__)
+#ifndef NULL
+#ifdef __cplusplus
+#define NULL 0
+#else
+#define NULL ((void *)0)
+#endif
+#endif /* NULL */
+#endif /* ! Mac OS X - breaks precompiled headers */
--- /dev/null
+++ b/vs2019_project/ft2-clone/sdl/include/SDL2/close_code.h
@@ -1,0 +1,40 @@
+/*
+  Simple DirectMedia Layer
+  Copyright (C) 1997-2019 Sam Lantinga <[email protected]>
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+*/
+
+/**
+ *  \file close_code.h
+ *
+ *  This file reverses the effects of begin_code.h and should be included
+ *  after you finish any function and structure declarations in your headers
+ */
+
+#ifndef _begin_code_h
+#error close_code.h included without matching begin_code.h
+#endif
+#undef _begin_code_h
+
+/* Reset structure packing at previous byte alignment */
+#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
+#ifdef __BORLANDC__
+#pragma nopackwarning
+#endif
+#pragma pack(pop)
+#endif /* Compiler needs structure packing set */
binary files /dev/null b/vs2019_project/ft2-clone/sdl/lib/SDL2.lib differ
binary files /dev/null b/vs2019_project/ft2-clone/sdl/lib/SDL2main.lib differ
binary files /dev/null b/vs2019_project/ft2-clone/sdl/lib64/SDL2.lib differ
binary files /dev/null b/vs2019_project/ft2-clone/sdl/lib64/SDL2main.lib differ
binary files /dev/null b/vs2019_project/x64/Debug/SDL2.dll differ
binary files /dev/null b/vs2019_project/x64/SDL2.dll differ