瀏覽代碼

[iOS]fixed problem with orientation on iOS 6(Apple, fuck you!)

git-svn-id: http://zengl.googlecode.com/svn/branches/0.3.x@1923 6573c10b-8653-0410-9706-d32479e959fb
dr.andru 13 年之前
父節點
當前提交
745c36d12f

+ 5 - 0
demos/Delphi 7/06 - Text/demo06.dpr

@@ -49,6 +49,11 @@ procedure Draw;
 begin
   batch2d_Begin();
 
+  // RU: ZenGL ðàáîòàåò èñêëþ÷èòåëüíî ñ êîäèðîâêîé UTF-8, ïîýòîìó âåñü òåêñò äîëæåí áûòü â UTF-8. Åñëè íåîáõîäèìî âûâåñòè êàêîé-ëèáî òåêñò(íå àíãëèéñêèé)
+  //     èñïîëüçóÿ ñòðîêè âíóòðè pas-ôàéëîâ è Delphi âåðñèè íèæå 2009, íåîáõîäèìî èñïîëüçîâàòü ôóíêöèþ AnsiToUtf8.
+  // EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8. If you want to write some text(not English) using strings
+  //     inside pas-files and version of Delphi is lower than 2009, then you need to use function AnsiToUtf8.
+
   text_Draw( fntMain, 400, 25, 'String with center alignment', TEXT_HALIGN_CENTER );
 
   text_DrawEx( fntMain, 400, 65, 2, 0, 'Scaling', 255, $FFFFFF, TEXT_HALIGN_CENTER );

+ 3 - 0
demos/Delphi XE 2/06 - Text/demo06.dpr

@@ -49,6 +49,9 @@ procedure Draw;
 begin
   batch2d_Begin();
 
+  // RU: ZenGL ðàáîòàåò èñêëþ÷èòåëüíî ñ êîäèðîâêîé UTF-8, ïîýòîìó âåñü òåêñò äîëæåí áûòü â UTF-8.
+  // EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
   text_Draw( fntMain, 400, 25, 'String with center alignment', TEXT_HALIGN_CENTER );
 
   text_DrawEx( fntMain, 400, 65, 2, 0, 'Scaling', 255, $FFFFFF, TEXT_HALIGN_CENTER );

+ 3 - 0
demos/FreePascal/06 - Text/demo06.pas

@@ -47,6 +47,9 @@ procedure Draw;
 begin
   batch2d_Begin();
 
+  // RU: ZenGL работает исключительно с кодировкой UTF-8, поэтому весь текст должен быть в UTF-8.
+  // EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
   text_Draw( fntMain, 400, 25, 'String with center alignment', TEXT_HALIGN_CENTER );
 
   text_DrawEx( fntMain, 400, 65, 2, 0, 'Scaling', 255, $FFFFFF, TEXT_HALIGN_CENTER );

+ 3 - 0
demos/GCC/06 - Text/demo06.c

@@ -39,6 +39,9 @@ void Draw()
 
   batch2d_Begin();
 
+  // RU: ZenGL работает исключительно с кодировкой UTF-8, поэтому весь текст должен быть в UTF-8.
+  // EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
   text_Draw( fntMain, 400, 25, "String with center alignment", TEXT_HALIGN_CENTER );
 
   text_DrawEx( fntMain, 400, 65, 2, 0, "Scaling", 255, 0xFFFFFF, TEXT_HALIGN_CENTER );

+ 21 - 21
demos/GCC/Makefile

@@ -25,12 +25,12 @@ all:
 	make -C $(DEMO07)
 	make -C $(DEMO08)
 #	make -C $(DEMO09)
-#	make -C $(DEMO10)
+	make -C $(DEMO10)
 	make -C $(DEMO11)
 	make -C $(DEMO12)
-#	make -C $(DEMO13)
+	make -C $(DEMO13)
 	make -C $(DEMO14)
-#	make -C $(DEMO15)
+	make -C $(DEMO15)
 #	make -C $(DEMO16)
 
 linux32:
@@ -43,12 +43,12 @@ linux32:
 	make -C $(DEMO07) linux32
 	make -C $(DEMO08) linux32
 #	make -C $(DEMO09) linux32
-#	make -C $(DEMO10) linux32
+	make -C $(DEMO10) linux32
 	make -C $(DEMO11) linux32
 	make -C $(DEMO12) linux32
-#	make -C $(DEMO13) linux32
+	make -C $(DEMO13) linux32
 	make -C $(DEMO14) linux32
-#	make -C $(DEMO15) linux32
+	make -C $(DEMO15) linux32
 #	make -C $(DEMO16) linux32
 
 win32:
@@ -61,12 +61,12 @@ win32:
 	make -C $(DEMO07) win32
 	make -C $(DEMO08) win32
 #	make -C $(DEMO09) win32
-#	make -C $(DEMO10) win32
+	make -C $(DEMO10) win32
 	make -C $(DEMO11) win32
 	make -C $(DEMO12) win32
-#	make -C $(DEMO13) win32
+	make -C $(DEMO13) win32
 	make -C $(DEMO14) win32
-#	make -C $(DEMO15) win32
+	make -C $(DEMO15) win32
 #	make -C $(DEMO16) win32
 
 win64:
@@ -79,12 +79,12 @@ win64:
 	make -C $(DEMO07) win64
 	make -C $(DEMO08) win64
 #	make -C $(DEMO09) win64
-#	make -C $(DEMO10) win64
+	make -C $(DEMO10) win64
 	make -C $(DEMO11) win64
 	make -C $(DEMO12) win64
-#	make -C $(DEMO13) win64
+	make -C $(DEMO13) win64
 	make -C $(DEMO14) win64
-#	make -C $(DEMO15) win64
+	make -C $(DEMO15) win64
 #	make -C $(DEMO16) win64
 
 macosx:
@@ -97,12 +97,12 @@ macosx:
 	make -C $(DEMO07) macosx
 	make -C $(DEMO08) macosx
 #	make -C $(DEMO09) macosx
-#	make -C $(DEMO10) macosx
+	make -C $(DEMO10) macosx
 	make -C $(DEMO11) macosx
 	make -C $(DEMO12) macosx
-#	make -C $(DEMO13) macosx
+	make -C $(DEMO13) macosx
 	make -C $(DEMO14) macosx
-#	make -C $(DEMO15) macosx
+	make -C $(DEMO15) macosx
 #	make -C $(DEMO16) macosx
 
 macosx_uni:
@@ -115,12 +115,12 @@ macosx_uni:
 	make -C $(DEMO07) macosx_uni
 	make -C $(DEMO08) macosx_uni
 #	make -C $(DEMO09) macosx_uni
-#	make -C $(DEMO10) macosx_uni
+	make -C $(DEMO10) macosx_uni
 	make -C $(DEMO11) macosx_uni
 	make -C $(DEMO12) macosx_uni
-#	make -C $(DEMO13) macosx_uni
+	make -C $(DEMO13) macosx_uni
 	make -C $(DEMO14) macosx_uni
-#	make -C $(DEMO15) macosx_uni
+	make -C $(DEMO15) macosx_uni
 #	make -C $(DEMO16) macosx_uni
 
 clean:
@@ -133,10 +133,10 @@ clean:
 	make -C $(DEMO07) clean
 	make -C $(DEMO08) clean
 #	make -C $(DEMO09) clean
-#	make -C $(DEMO10) clean
+	make -C $(DEMO10) clean
 	make -C $(DEMO11) clean
 	make -C $(DEMO12) clean
-#	make -C $(DEMO13) clean
+	make -C $(DEMO13) clean
 	make -C $(DEMO14) clean
-#	make -C $(DEMO15) clean
+	make -C $(DEMO15) clean
 #	make -C $(DEMO16) clean

+ 1 - 1
demos/Lazarus/01 - Initialization LCL/demo01.lfm

@@ -10,7 +10,7 @@ object Form1: TForm1
   OnActivate = FormActivate
   OnClose = FormClose
   Position = poScreenCenter
-  LCLVersion = '0.9.31'
+  LCLVersion = '1.0.1.4'
   object Panel1: TPanel
     Left = 5
     Height = 590

+ 3 - 0
demos/Lazarus/06 - Text/demo06.lpr

@@ -51,6 +51,9 @@ procedure Draw;
 begin
   batch2d_Begin();
 
+  // RU: ZenGL работает исключительно с кодировкой UTF-8, поэтому весь текст должен быть в UTF-8.
+  // EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
   text_Draw( fntMain, 400, 25, 'String with center alignment', TEXT_HALIGN_CENTER );
 
   text_DrawEx( fntMain, 400, 65, 2, 0, 'Scaling', 255, $FFFFFF, TEXT_HALIGN_CENTER );

+ 3 - 0
demos/Visual Studio 2005/06 - Text/demo06.cpp

@@ -35,6 +35,9 @@ void Draw()
 
 	batch2d_Begin();
 
+	// RU: ZenGL работает исключительно с кодировкой UTF-8, поэтому весь текст должен быть в UTF-8.
+	// EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
 	text_Draw( fntMain, 400, 25, "String with center alignment", TEXT_HALIGN_CENTER );
 
 	text_DrawEx( fntMain, 400, 65, 2, 0, "Scaling", 255, 0xFFFFFF, TEXT_HALIGN_CENTER );

+ 3 - 0
demos/Visual Studio 2008/06 - Text/demo06.cpp

@@ -35,6 +35,9 @@ void Draw()
 
 	batch2d_Begin();
 
+	// RU: ZenGL работает исключительно с кодировкой UTF-8, поэтому весь текст должен быть в UTF-8.
+	// EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
 	text_Draw( fntMain, 400, 25, "String with center alignment", TEXT_HALIGN_CENTER );
 
 	text_DrawEx( fntMain, 400, 65, 2, 0, "Scaling", 255, 0xFFFFFF, TEXT_HALIGN_CENTER );

+ 3 - 0
demos/Visual Studio 2010/06 - Text/demo06.cpp

@@ -35,6 +35,9 @@ void Draw()
 
 	batch2d_Begin();
 
+	// RU: ZenGL работает исключительно с кодировкой UTF-8, поэтому весь текст должен быть в UTF-8.
+	// EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8.
+
 	text_Draw( fntMain, 400, 25, "String with center alignment", TEXT_HALIGN_CENTER );
 
 	text_DrawEx( fntMain, 400, 65, 2, 0, "Scaling", 255, 0xFFFFFF, TEXT_HALIGN_CENTER );

+ 497 - 497
src/Lazarus/ZenGL-win.lpi

@@ -1,497 +1,497 @@
-<?xml version="1.0"?>
-<CONFIG>
-  <ProjectOptions>
-    <Version Value="9"/>
-    <General>
-      <Flags>
-        <MainUnitHasCreateFormStatements Value="False"/>
-        <MainUnitHasTitleStatement Value="False"/>
-        <Runnable Value="False"/>
-      </Flags>
-      <SessionStorage Value="InProjectDir"/>
-      <MainUnit Value="0"/>
-      <UseAppBundle Value="False"/>
-      <ResourceType Value="res"/>
-    </General>
-    <VersionInfo>
-      <UseVersionInfo Value="True"/>
-      <MinorVersionNr Value="3"/>
-      <RevisionNr Value="4"/>
-      <CharSet Value="04B0"/>
-      <StringTable CompanyName="Kemka Andrey aka Andru" FileDescription="Cross-platform game development library" InternalName="ZenGL" LegalCopyright="Kemka Andrey aka Andru" OriginalFilename="ZenGL" ProductName="ZenGL" ProductVersion="0.3.4"/>
-    </VersionInfo>
-    <BuildModes Count="4">
-      <Item1 Name="Release" Default="True"/>
-      <Item2 Name="Debug">
-        <CompilerOptions>
-          <Version Value="11"/>
-          <Target>
-            <Filename Value="./ZenGL.dll"/>
-          </Target>
-          <SearchPaths>
-            <IncludeFiles Value="$(ProjOutDir)"/>
-            <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
-            <UnitOutputDirectory Value="../tmp"/>
-          </SearchPaths>
-          <Parsing>
-            <SyntaxOptions>
-              <SyntaxMode Value="Delphi"/>
-              <CStyleOperator Value="False"/>
-              <CPPInline Value="False"/>
-              <UseAnsiStrings Value="False"/>
-            </SyntaxOptions>
-          </Parsing>
-          <Linking>
-            <Debugging>
-              <DebugInfoType Value="dsDwarf2Set"/>
-            </Debugging>
-            <Options>
-              <Win32>
-                <GraphicApplication Value="True"/>
-              </Win32>
-              <ExecutableType Value="Library"/>
-            </Options>
-          </Linking>
-          <Other>
-            <Verbosity>
-              <ShowNotes Value="False"/>
-              <ShowHints Value="False"/>
-              <ShowGenInfo Value="False"/>
-            </Verbosity>
-            <CompilerPath Value="$(CompPath)"/>
-          </Other>
-        </CompilerOptions>
-      </Item2>
-      <Item3 Name="C/C++ Support, Release">
-        <CompilerOptions>
-          <Version Value="11"/>
-          <Target>
-            <Filename Value="./ZenGL.dll"/>
-          </Target>
-          <SearchPaths>
-            <IncludeFiles Value="$(ProjOutDir)"/>
-            <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
-            <UnitOutputDirectory Value="../tmp"/>
-          </SearchPaths>
-          <Parsing>
-            <SyntaxOptions>
-              <SyntaxMode Value="Delphi"/>
-              <CStyleOperator Value="False"/>
-              <CPPInline Value="False"/>
-              <UseAnsiStrings Value="False"/>
-            </SyntaxOptions>
-          </Parsing>
-          <CodeGeneration>
-            <SmartLinkUnit Value="True"/>
-            <Optimizations>
-              <OptimizationLevel Value="3"/>
-            </Optimizations>
-          </CodeGeneration>
-          <Linking>
-            <Debugging>
-              <GenerateDebugInfo Value="False"/>
-              <UseLineInfoUnit Value="False"/>
-              <StripSymbols Value="True"/>
-            </Debugging>
-            <LinkSmart Value="True"/>
-            <Options>
-              <Win32>
-                <GraphicApplication Value="True"/>
-              </Win32>
-              <ExecutableType Value="Library"/>
-            </Options>
-          </Linking>
-          <Other>
-            <Verbosity>
-              <ShowNotes Value="False"/>
-              <ShowHints Value="False"/>
-              <ShowGenInfo Value="False"/>
-            </Verbosity>
-            <CustomOptions Value="-dUSE_EXPORT_C -Cccdecl"/>
-            <CompilerPath Value="$(CompPath)"/>
-          </Other>
-        </CompilerOptions>
-      </Item3>
-      <Item4 Name="C/C++ Support, Debug">
-        <CompilerOptions>
-          <Version Value="11"/>
-          <Target>
-            <Filename Value="./ZenGL.dll"/>
-          </Target>
-          <SearchPaths>
-            <IncludeFiles Value="$(ProjOutDir)"/>
-            <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
-            <UnitOutputDirectory Value="../tmp"/>
-          </SearchPaths>
-          <Parsing>
-            <SyntaxOptions>
-              <SyntaxMode Value="Delphi"/>
-              <CStyleOperator Value="False"/>
-              <CPPInline Value="False"/>
-              <UseAnsiStrings Value="False"/>
-            </SyntaxOptions>
-          </Parsing>
-          <Linking>
-            <Debugging>
-              <DebugInfoType Value="dsDwarf2Set"/>
-            </Debugging>
-            <Options>
-              <Win32>
-                <GraphicApplication Value="True"/>
-              </Win32>
-              <ExecutableType Value="Library"/>
-            </Options>
-          </Linking>
-          <Other>
-            <Verbosity>
-              <ShowNotes Value="False"/>
-              <ShowHints Value="False"/>
-              <ShowGenInfo Value="False"/>
-            </Verbosity>
-            <CustomOptions Value="-dUSE_EXPORT_C -Cccdecl"/>
-            <CompilerPath Value="$(CompPath)"/>
-          </Other>
-        </CompilerOptions>
-      </Item4>
-    </BuildModes>
-    <PublishOptions>
-      <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
-      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
-      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
-    </PublishOptions>
-    <RunParams>
-      <local>
-        <FormatVersion Value="1"/>
-        <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
-      </local>
-    </RunParams>
-    <Units Count="56">
-      <Unit0>
-        <Filename Value="../ZenGL.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="ZenGL"/>
-      </Unit0>
-      <Unit1>
-        <Filename Value="../zgl_application.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_application"/>
-      </Unit1>
-      <Unit2>
-        <Filename Value="../zgl_camera_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_camera_2d"/>
-      </Unit2>
-      <Unit3>
-        <Filename Value="../zgl_collision_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_collision_2d"/>
-      </Unit3>
-      <Unit4>
-        <Filename Value="../zgl_file.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_file"/>
-      </Unit4>
-      <Unit5>
-        <Filename Value="../zgl_font.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_font"/>
-      </Unit5>
-      <Unit6>
-        <Filename Value="../zgl_fx.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_fx"/>
-      </Unit6>
-      <Unit7>
-        <Filename Value="../zgl_ini.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_ini"/>
-      </Unit7>
-      <Unit8>
-        <Filename Value="../zgl_keyboard.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_keyboard"/>
-      </Unit8>
-      <Unit9>
-        <Filename Value="../zgl_log.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_log"/>
-      </Unit9>
-      <Unit10>
-        <Filename Value="../zgl_main.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_main"/>
-      </Unit10>
-      <Unit11>
-        <Filename Value="../zgl_math_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_math_2d"/>
-      </Unit11>
-      <Unit12>
-        <Filename Value="../zgl_memory.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_memory"/>
-      </Unit12>
-      <Unit13>
-        <Filename Value="../zgl_mouse.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_mouse"/>
-      </Unit13>
-      <Unit14>
-        <Filename Value="../zgl_opengl.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_opengl"/>
-      </Unit14>
-      <Unit15>
-        <Filename Value="../zgl_opengl_all.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_opengl_all"/>
-      </Unit15>
-      <Unit16>
-        <Filename Value="../zgl_render.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_render"/>
-      </Unit16>
-      <Unit17>
-        <Filename Value="../zgl_primitives_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_primitives_2d"/>
-      </Unit17>
-      <Unit18>
-        <Filename Value="../zgl_render_target.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_render_target"/>
-      </Unit18>
-      <Unit19>
-        <Filename Value="../zgl_screen.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_screen"/>
-      </Unit19>
-      <Unit20>
-        <Filename Value="../zgl_sound.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sound"/>
-      </Unit20>
-      <Unit21>
-        <Filename Value="../zgl_sound_dsound.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sound_dsound"/>
-      </Unit21>
-      <Unit22>
-        <Filename Value="../zgl_sound_ogg.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sound_ogg"/>
-      </Unit22>
-      <Unit23>
-        <Filename Value="../zgl_sound_openal.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sound_openal"/>
-      </Unit23>
-      <Unit24>
-        <Filename Value="../zgl_sound_wav.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sound_wav"/>
-      </Unit24>
-      <Unit25>
-        <Filename Value="../zgl_sprite_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sprite_2d"/>
-      </Unit25>
-      <Unit26>
-        <Filename Value="../zgl_text.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_text"/>
-      </Unit26>
-      <Unit27>
-        <Filename Value="../zgl_textures.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_textures"/>
-      </Unit27>
-      <Unit28>
-        <Filename Value="../zgl_textures_jpg.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_textures_jpg"/>
-      </Unit28>
-      <Unit29>
-        <Filename Value="../zgl_textures_png.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_textures_png"/>
-      </Unit29>
-      <Unit30>
-        <Filename Value="../zgl_textures_tga.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_textures_tga"/>
-      </Unit30>
-      <Unit31>
-        <Filename Value="../zgl_timers.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_timers"/>
-      </Unit31>
-      <Unit32>
-        <Filename Value="../zgl_types.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_types"/>
-      </Unit32>
-      <Unit33>
-        <Filename Value="../zgl_utils.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_utils"/>
-      </Unit33>
-      <Unit34>
-        <Filename Value="../zgl_window.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_window"/>
-      </Unit34>
-      <Unit35>
-        <Filename Value="../zgl_sengine_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_sengine_2d"/>
-      </Unit35>
-      <Unit36>
-        <Filename Value="../zgl_grid_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_grid_2d"/>
-      </Unit36>
-      <Unit37>
-        <Filename Value="../zgl_particles_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_particles_2d"/>
-      </Unit37>
-      <Unit38>
-        <Filename Value="../zgl_touch.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_touch"/>
-      </Unit38>
-      <Unit39>
-        <Filename Value="../zgl_joystick.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_joystick"/>
-      </Unit39>
-      <Unit40>
-        <Filename Value="../zgl_opengles.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_opengles"/>
-      </Unit40>
-      <Unit41>
-        <Filename Value="../zgl_opengles_all.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_opengles_all"/>
-      </Unit41>
-      <Unit42>
-        <Filename Value="../zgl_resources.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_resources"/>
-      </Unit42>
-      <Unit43>
-        <Filename Value="../zgl_lib_msvcrt.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_lib_msvcrt"/>
-      </Unit43>
-      <Unit44>
-        <Filename Value="../zgl_lib_zip.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_lib_zip"/>
-      </Unit44>
-      <Unit45>
-        <Filename Value="../zgl_config.cfg"/>
-        <IsPartOfProject Value="True"/>
-      </Unit45>
-      <Unit46>
-        <Filename Value="../zgl_export_c.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_export_c"/>
-      </Unit46>
-      <Unit47>
-        <Filename Value="../zgl_fpc.cfg"/>
-        <IsPartOfProject Value="True"/>
-      </Unit47>
-      <Unit48>
-        <Filename Value="../zgl_render_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_render_2d"/>
-      </Unit48>
-      <Unit49>
-        <Filename Value="../zgl_textures_pvr.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_textures_pvr"/>
-      </Unit49>
-      <Unit50>
-        <Filename Value="../zgl_video.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_video"/>
-      </Unit50>
-      <Unit51>
-        <Filename Value="../zgl_video_theora.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_video_theora"/>
-      </Unit51>
-      <Unit52>
-        <Filename Value="../zgl_lib_ogg.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_lib_ogg"/>
-      </Unit52>
-      <Unit53>
-        <Filename Value="../zgl_lib_theora.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_lib_theora"/>
-      </Unit53>
-      <Unit54>
-        <Filename Value="../zgl_threads.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_threads"/>
-      </Unit54>
-      <Unit55>
-        <Filename Value="../zgl_tiles_2d.pas"/>
-        <IsPartOfProject Value="True"/>
-        <UnitName Value="zgl_tiles_2d"/>
-      </Unit55>
-    </Units>
-  </ProjectOptions>
-  <CompilerOptions>
-    <Version Value="11"/>
-    <Target>
-      <Filename Value="./ZenGL.dll"/>
-    </Target>
-    <SearchPaths>
-      <IncludeFiles Value="$(ProjOutDir)"/>
-      <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
-      <UnitOutputDirectory Value="../tmp"/>
-    </SearchPaths>
-    <Parsing>
-      <SyntaxOptions>
-        <SyntaxMode Value="Delphi"/>
-        <CStyleOperator Value="False"/>
-        <CPPInline Value="False"/>
-        <UseAnsiStrings Value="False"/>
-      </SyntaxOptions>
-    </Parsing>
-    <CodeGeneration>
-      <SmartLinkUnit Value="True"/>
-      <TargetCPU Value="i386"/>
-      <TargetOS Value="win32"/>
-      <Optimizations>
-        <OptimizationLevel Value="3"/>
-      </Optimizations>
-    </CodeGeneration>
-    <Linking>
-      <Debugging>
-        <GenerateDebugInfo Value="False"/>
-        <UseLineInfoUnit Value="False"/>
-        <StripSymbols Value="True"/>
-      </Debugging>
-      <LinkSmart Value="True"/>
-      <Options>
-        <Win32>
-          <GraphicApplication Value="True"/>
-        </Win32>
-        <ExecutableType Value="Library"/>
-      </Options>
-    </Linking>
-    <Other>
-      <Verbosity>
-        <ShowSummary Value="True"/>
-      </Verbosity>
-      <CompilerPath Value="$(CompPath)"/>
-    </Other>
-  </CompilerOptions>
-</CONFIG>
+<?xml version="1.0"?>
+<CONFIG>
+  <ProjectOptions>
+    <Version Value="9"/>
+    <General>
+      <Flags>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <Runnable Value="False"/>
+      </Flags>
+      <SessionStorage Value="InProjectDir"/>
+      <MainUnit Value="0"/>
+      <UseAppBundle Value="False"/>
+      <ResourceType Value="res"/>
+    </General>
+    <VersionInfo>
+      <UseVersionInfo Value="True"/>
+      <MinorVersionNr Value="3"/>
+      <RevisionNr Value="4"/>
+      <CharSet Value="04B0"/>
+      <StringTable CompanyName="Kemka Andrey aka Andru" FileDescription="Cross-platform game development library" InternalName="ZenGL" LegalCopyright="Kemka Andrey aka Andru" OriginalFilename="ZenGL" ProductName="ZenGL" ProductVersion="0.3.4"/>
+    </VersionInfo>
+    <BuildModes Count="4">
+      <Item1 Name="Release" Default="True"/>
+      <Item2 Name="Debug">
+        <CompilerOptions>
+          <Version Value="11"/>
+          <Target>
+            <Filename Value="./ZenGL.dll"/>
+          </Target>
+          <SearchPaths>
+            <IncludeFiles Value="$(ProjOutDir)"/>
+            <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
+            <UnitOutputDirectory Value="../tmp"/>
+          </SearchPaths>
+          <Parsing>
+            <SyntaxOptions>
+              <SyntaxMode Value="Delphi"/>
+              <CStyleOperator Value="False"/>
+              <CPPInline Value="False"/>
+              <UseAnsiStrings Value="False"/>
+            </SyntaxOptions>
+          </Parsing>
+          <Linking>
+            <Debugging>
+              <DebugInfoType Value="dsDwarf2Set"/>
+            </Debugging>
+            <Options>
+              <Win32>
+                <GraphicApplication Value="True"/>
+              </Win32>
+              <ExecutableType Value="Library"/>
+            </Options>
+          </Linking>
+          <Other>
+            <Verbosity>
+              <ShowNotes Value="False"/>
+              <ShowHints Value="False"/>
+              <ShowGenInfo Value="False"/>
+            </Verbosity>
+            <CompilerPath Value="$(CompPath)"/>
+          </Other>
+        </CompilerOptions>
+      </Item2>
+      <Item3 Name="C/C++ Support, Release">
+        <CompilerOptions>
+          <Version Value="11"/>
+          <Target>
+            <Filename Value="./ZenGL.dll"/>
+          </Target>
+          <SearchPaths>
+            <IncludeFiles Value="$(ProjOutDir)"/>
+            <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
+            <UnitOutputDirectory Value="../tmp"/>
+          </SearchPaths>
+          <Parsing>
+            <SyntaxOptions>
+              <SyntaxMode Value="Delphi"/>
+              <CStyleOperator Value="False"/>
+              <CPPInline Value="False"/>
+              <UseAnsiStrings Value="False"/>
+            </SyntaxOptions>
+          </Parsing>
+          <CodeGeneration>
+            <SmartLinkUnit Value="True"/>
+            <Optimizations>
+              <OptimizationLevel Value="3"/>
+            </Optimizations>
+          </CodeGeneration>
+          <Linking>
+            <Debugging>
+              <GenerateDebugInfo Value="False"/>
+              <UseLineInfoUnit Value="False"/>
+              <StripSymbols Value="True"/>
+            </Debugging>
+            <LinkSmart Value="True"/>
+            <Options>
+              <Win32>
+                <GraphicApplication Value="True"/>
+              </Win32>
+              <ExecutableType Value="Library"/>
+            </Options>
+          </Linking>
+          <Other>
+            <Verbosity>
+              <ShowNotes Value="False"/>
+              <ShowHints Value="False"/>
+              <ShowGenInfo Value="False"/>
+            </Verbosity>
+            <CustomOptions Value="-dUSE_EXPORT_C -Cccdecl"/>
+            <CompilerPath Value="$(CompPath)"/>
+          </Other>
+        </CompilerOptions>
+      </Item3>
+      <Item4 Name="C/C++ Support, Debug">
+        <CompilerOptions>
+          <Version Value="11"/>
+          <Target>
+            <Filename Value="./ZenGL.dll"/>
+          </Target>
+          <SearchPaths>
+            <IncludeFiles Value="$(ProjOutDir)"/>
+            <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
+            <UnitOutputDirectory Value="../tmp"/>
+          </SearchPaths>
+          <Parsing>
+            <SyntaxOptions>
+              <SyntaxMode Value="Delphi"/>
+              <CStyleOperator Value="False"/>
+              <CPPInline Value="False"/>
+              <UseAnsiStrings Value="False"/>
+            </SyntaxOptions>
+          </Parsing>
+          <Linking>
+            <Debugging>
+              <DebugInfoType Value="dsDwarf2Set"/>
+            </Debugging>
+            <Options>
+              <Win32>
+                <GraphicApplication Value="True"/>
+              </Win32>
+              <ExecutableType Value="Library"/>
+            </Options>
+          </Linking>
+          <Other>
+            <Verbosity>
+              <ShowNotes Value="False"/>
+              <ShowHints Value="False"/>
+              <ShowGenInfo Value="False"/>
+            </Verbosity>
+            <CustomOptions Value="-dUSE_EXPORT_C -Cccdecl"/>
+            <CompilerPath Value="$(CompPath)"/>
+          </Other>
+        </CompilerOptions>
+      </Item4>
+    </BuildModes>
+    <PublishOptions>
+      <Version Value="2"/>
+      <IgnoreBinaries Value="False"/>
+      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
+      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
+    </PublishOptions>
+    <RunParams>
+      <local>
+        <FormatVersion Value="1"/>
+        <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
+      </local>
+    </RunParams>
+    <Units Count="56">
+      <Unit0>
+        <Filename Value="../ZenGL.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="ZenGL"/>
+      </Unit0>
+      <Unit1>
+        <Filename Value="../zgl_application.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_application"/>
+      </Unit1>
+      <Unit2>
+        <Filename Value="../zgl_camera_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_camera_2d"/>
+      </Unit2>
+      <Unit3>
+        <Filename Value="../zgl_collision_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_collision_2d"/>
+      </Unit3>
+      <Unit4>
+        <Filename Value="../zgl_file.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_file"/>
+      </Unit4>
+      <Unit5>
+        <Filename Value="../zgl_font.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_font"/>
+      </Unit5>
+      <Unit6>
+        <Filename Value="../zgl_fx.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_fx"/>
+      </Unit6>
+      <Unit7>
+        <Filename Value="../zgl_ini.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_ini"/>
+      </Unit7>
+      <Unit8>
+        <Filename Value="../zgl_keyboard.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_keyboard"/>
+      </Unit8>
+      <Unit9>
+        <Filename Value="../zgl_log.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_log"/>
+      </Unit9>
+      <Unit10>
+        <Filename Value="../zgl_main.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_main"/>
+      </Unit10>
+      <Unit11>
+        <Filename Value="../zgl_math_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_math_2d"/>
+      </Unit11>
+      <Unit12>
+        <Filename Value="../zgl_memory.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_memory"/>
+      </Unit12>
+      <Unit13>
+        <Filename Value="../zgl_mouse.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_mouse"/>
+      </Unit13>
+      <Unit14>
+        <Filename Value="../zgl_opengl.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_opengl"/>
+      </Unit14>
+      <Unit15>
+        <Filename Value="../zgl_opengl_all.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_opengl_all"/>
+      </Unit15>
+      <Unit16>
+        <Filename Value="../zgl_render.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_render"/>
+      </Unit16>
+      <Unit17>
+        <Filename Value="../zgl_primitives_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_primitives_2d"/>
+      </Unit17>
+      <Unit18>
+        <Filename Value="../zgl_render_target.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_render_target"/>
+      </Unit18>
+      <Unit19>
+        <Filename Value="../zgl_screen.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_screen"/>
+      </Unit19>
+      <Unit20>
+        <Filename Value="../zgl_sound.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sound"/>
+      </Unit20>
+      <Unit21>
+        <Filename Value="../zgl_sound_dsound.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sound_dsound"/>
+      </Unit21>
+      <Unit22>
+        <Filename Value="../zgl_sound_ogg.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sound_ogg"/>
+      </Unit22>
+      <Unit23>
+        <Filename Value="../zgl_sound_openal.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sound_openal"/>
+      </Unit23>
+      <Unit24>
+        <Filename Value="../zgl_sound_wav.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sound_wav"/>
+      </Unit24>
+      <Unit25>
+        <Filename Value="../zgl_sprite_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sprite_2d"/>
+      </Unit25>
+      <Unit26>
+        <Filename Value="../zgl_text.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_text"/>
+      </Unit26>
+      <Unit27>
+        <Filename Value="../zgl_textures.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_textures"/>
+      </Unit27>
+      <Unit28>
+        <Filename Value="../zgl_textures_jpg.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_textures_jpg"/>
+      </Unit28>
+      <Unit29>
+        <Filename Value="../zgl_textures_png.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_textures_png"/>
+      </Unit29>
+      <Unit30>
+        <Filename Value="../zgl_textures_tga.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_textures_tga"/>
+      </Unit30>
+      <Unit31>
+        <Filename Value="../zgl_timers.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_timers"/>
+      </Unit31>
+      <Unit32>
+        <Filename Value="../zgl_types.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_types"/>
+      </Unit32>
+      <Unit33>
+        <Filename Value="../zgl_utils.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_utils"/>
+      </Unit33>
+      <Unit34>
+        <Filename Value="../zgl_window.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_window"/>
+      </Unit34>
+      <Unit35>
+        <Filename Value="../zgl_sengine_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_sengine_2d"/>
+      </Unit35>
+      <Unit36>
+        <Filename Value="../zgl_grid_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_grid_2d"/>
+      </Unit36>
+      <Unit37>
+        <Filename Value="../zgl_particles_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_particles_2d"/>
+      </Unit37>
+      <Unit38>
+        <Filename Value="../zgl_touch.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_touch"/>
+      </Unit38>
+      <Unit39>
+        <Filename Value="../zgl_joystick.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_joystick"/>
+      </Unit39>
+      <Unit40>
+        <Filename Value="../zgl_opengles.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_opengles"/>
+      </Unit40>
+      <Unit41>
+        <Filename Value="../zgl_opengles_all.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_opengles_all"/>
+      </Unit41>
+      <Unit42>
+        <Filename Value="../zgl_resources.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_resources"/>
+      </Unit42>
+      <Unit43>
+        <Filename Value="../zgl_lib_msvcrt.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_lib_msvcrt"/>
+      </Unit43>
+      <Unit44>
+        <Filename Value="../zgl_lib_zip.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_lib_zip"/>
+      </Unit44>
+      <Unit45>
+        <Filename Value="../zgl_config.cfg"/>
+        <IsPartOfProject Value="True"/>
+      </Unit45>
+      <Unit46>
+        <Filename Value="../zgl_export_c.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_export_c"/>
+      </Unit46>
+      <Unit47>
+        <Filename Value="../zgl_fpc.cfg"/>
+        <IsPartOfProject Value="True"/>
+      </Unit47>
+      <Unit48>
+        <Filename Value="../zgl_render_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_render_2d"/>
+      </Unit48>
+      <Unit49>
+        <Filename Value="../zgl_textures_pvr.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_textures_pvr"/>
+      </Unit49>
+      <Unit50>
+        <Filename Value="../zgl_video.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_video"/>
+      </Unit50>
+      <Unit51>
+        <Filename Value="../zgl_video_theora.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_video_theora"/>
+      </Unit51>
+      <Unit52>
+        <Filename Value="../zgl_lib_ogg.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_lib_ogg"/>
+      </Unit52>
+      <Unit53>
+        <Filename Value="../zgl_lib_theora.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_lib_theora"/>
+      </Unit53>
+      <Unit54>
+        <Filename Value="../zgl_threads.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_threads"/>
+      </Unit54>
+      <Unit55>
+        <Filename Value="../zgl_tiles_2d.pas"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="zgl_tiles_2d"/>
+      </Unit55>
+    </Units>
+  </ProjectOptions>
+  <CompilerOptions>
+    <Version Value="11"/>
+    <Target>
+      <Filename Value="./ZenGL.dll"/>
+    </Target>
+    <SearchPaths>
+      <IncludeFiles Value="$(ProjOutDir)"/>
+      <OtherUnitFiles Value="../../lib/jpeg/$(TargetCPU)-$(TargetOS);../../lib/msvcrt/$(TargetCPU);../../lib/ogg/$(TargetCPU)-$(TargetOS);../../lib/theora/$(TargetCPU)-$(TargetOS);../../lib/zlib/$(TargetCPU)-$(TargetOS);../../lib/zip/$(TargetCPU)-$(TargetOS)"/>
+      <UnitOutputDirectory Value="../tmp"/>
+    </SearchPaths>
+    <Parsing>
+      <SyntaxOptions>
+        <SyntaxMode Value="Delphi"/>
+        <CStyleOperator Value="False"/>
+        <CPPInline Value="False"/>
+        <UseAnsiStrings Value="False"/>
+      </SyntaxOptions>
+    </Parsing>
+    <CodeGeneration>
+      <SmartLinkUnit Value="True"/>
+      <TargetCPU Value="i386"/>
+      <TargetOS Value="win32"/>
+      <Optimizations>
+        <OptimizationLevel Value="3"/>
+      </Optimizations>
+    </CodeGeneration>
+    <Linking>
+      <Debugging>
+        <GenerateDebugInfo Value="False"/>
+        <UseLineInfoUnit Value="False"/>
+        <StripSymbols Value="True"/>
+      </Debugging>
+      <LinkSmart Value="True"/>
+      <Options>
+        <Win32>
+          <GraphicApplication Value="True"/>
+        </Win32>
+        <ExecutableType Value="Library"/>
+      </Options>
+    </Linking>
+    <Other>
+      <Verbosity>
+        <ShowSummary Value="True"/>
+      </Verbosity>
+      <CompilerPath Value="$(CompPath)"/>
+    </Other>
+  </CompilerOptions>
+</CONFIG>

+ 7 - 0
src/zgl_application.pas

@@ -86,6 +86,7 @@ type
   public
     function shouldAutorotateToInterfaceOrientation( interfaceOrientation : UIInterfaceOrientation ) : Boolean; override;
     procedure didRotateFromInterfaceOrientation( fromInterfaceOrientation : UIInterfaceOrientation ); override;
+    function supportedInterfaceOrientations : LongWord; message 'supportedInterfaceOrientations';
   end;
 
 type
@@ -1324,6 +1325,12 @@ begin
             ( scrCanLandscape and ( ( interfaceOrientation = UIInterfaceOrientationLandscapeLeft ) or ( interfaceOrientation = UIInterfaceOrientationLandscapeRight ) ) );
 end;
 
+function zglCiOSViewController.supportedInterfaceOrientations : LongWord;
+begin
+  Result := ( 1 shl UIInterfaceOrientationPortrait + 1 shl UIInterfaceOrientationPortraitUpsideDown ) * Byte( scrCanPortrait ) +
+            ( 1 shl UIInterfaceOrientationLandscapeLeft + 1 shl UIInterfaceOrientationLandscapeRight ) * Byte( scrCanLandscape );
+end;
+
 procedure zglCiOSViewController.didRotateFromInterfaceOrientation( fromInterfaceOrientation : UIInterfaceOrientation );
 begin
   FillChar( touchActive[ 0 ], MAX_TOUCH, 0 );

+ 5 - 1
src/zgl_opengles.pas

@@ -328,7 +328,11 @@ begin
                                     utf8_GetNSString( 'kEAGLDrawablePropertyColorFormat' ),
                                     nil ) );
   wndViewCtrl.setView( eglView );
-  wndHandle.addSubview( eglView );
+  // Apple, fuck you!
+  if UIDevice.currentDevice.systemVersion.floatValue() >= 6.0 Then
+    wndHandle.setRootViewController( wndViewCtrl )
+  else
+    wndHandle.addSubview( eglView );
 
   eglContext := EAGLContext.alloc().initWithAPI( kEAGLRenderingAPIOpenGLES1 );
   EAGLContext.setCurrentContext( eglContext );

+ 2 - 2
tools/ZenFont(LCL)/uMain.lfm

@@ -4,7 +4,7 @@ object Form1: TForm1
   Top = 184
   Width = 800
   ActiveControl = Panel1
-  Caption = 'ZenFont 0.2.5(LCL)'
+  Caption = 'ZenFont 0.2.6(LCL)'
   ClientHeight = 600
   ClientWidth = 800
   Constraints.MinHeight = 600
@@ -13,7 +13,7 @@ object Form1: TForm1
   OnClose = FormClose
   OnResize = FormResize
   Position = poScreenCenter
-  LCLVersion = '0.9.31'
+  LCLVersion = '1.0.1.4'
   Visible = True
   object GroupBox1: TGroupBox
     Left = 0