Browse Source

easiest way to fix some file names after win->linux migration

Denis Muratshin 12 years ago
parent
commit
c9a5508cda
100 changed files with 0 additions and 7272 deletions
  1. 0 5
      .hg_archival.txt
  2. 0 88
      .hgignore
  3. 0 4
      .oxbuild
  4. 0 55
      3rdPartyTools/BMFont/bmfont.bmfc
  5. BIN
      3rdPartyTools/BMFont/bmfont.com
  6. BIN
      3rdPartyTools/BMFont/bmfont.exe
  7. 0 29
      3rdPartyTools/BMFont/doc/command_line.html
  8. 0 103
      3rdPartyTools/BMFont/doc/export_options.html
  9. BIN
      3rdPartyTools/BMFont/doc/export_options.png
  10. 0 206
      3rdPartyTools/BMFont/doc/file_format.html
  11. 0 55
      3rdPartyTools/BMFont/doc/font_settings.html
  12. BIN
      3rdPartyTools/BMFont/doc/font_settings.png
  13. 0 49
      3rdPartyTools/BMFont/doc/known_issues.html
  14. 0 44
      3rdPartyTools/BMFont/doc/pixel_shader.html
  15. 0 24
      3rdPartyTools/BMFont/documentation.html
  16. 0 204
      3rdPartyTools/BMFont/readme.txt
  17. BIN
      3rdPartyTools/BMFont/uninstall.exe
  18. BIN
      3rdPartyTools/PVRTexToolCL.exe
  19. BIN
      3rdPartyTools/bin2h.exe
  20. 0 66
      Android.mk
  21. 0 114
      CMakeLists.txt
  22. 0 1828
      Doxyfile
  23. 0 14
      change_log.txt
  24. 0 3
      cmake/FindSDL2.cmake
  25. 0 1
      doc.bat
  26. BIN
      doc.zip
  27. 0 1
      examples/.oxbuild
  28. 0 15
      examples/CMakeLists.txt
  29. 0 1
      examples/Demo/.oxbuild
  30. 0 40
      examples/Demo/AndroidManifest.xml
  31. 0 26
      examples/Demo/CMakeLists.txt
  32. 0 10
      examples/Demo/data/app.config.txt
  33. 0 19
      examples/Demo/data/app.icf
  34. 0 55
      examples/Demo/data/demo/big.bmfc
  35. BIN
      examples/Demo/data/demo/button.png
  36. BIN
      examples/Demo/data/demo/eng.txt
  37. 0 6
      examples/Demo/data/demo/fonts.xml
  38. BIN
      examples/Demo/data/demo/loading.png
  39. BIN
      examples/Demo/data/demo/logo2.png
  40. 0 55
      examples/Demo/data/demo/main.bmfc
  41. 0 9
      examples/Demo/data/demo/res_ui.xml
  42. 0 107
      examples/Demo/data/development.icf
  43. 0 103
      examples/Demo/data/ext/fonts.xml.ox/bmfc_font/big.fnt
  44. BIN
      examples/Demo/data/ext/fonts.xml.ox/bmfc_font/big_0.png
  45. 0 103
      examples/Demo/data/ext/fonts.xml.ox/bmfc_font/main.fnt
  46. BIN
      examples/Demo/data/ext/fonts.xml.ox/bmfc_font/main_0.png
  47. 0 1
      examples/Demo/data/ext/fonts.xml.ox/meta.xml
  48. BIN
      examples/Demo/data/images/anim1.png
  49. BIN
      examples/Demo/data/images/batterfly.png
  50. BIN
      examples/Demo/data/images/batterfly2.png
  51. BIN
      examples/Demo/data/images/bg.jpg
  52. BIN
      examples/Demo/data/images/blob.png
  53. BIN
      examples/Demo/data/images/box9.png
  54. BIN
      examples/Demo/data/images/brush.png
  55. BIN
      examples/Demo/data/images/grad.png
  56. BIN
      examples/Demo/data/images/gray.png
  57. BIN
      examples/Demo/data/images/gray_alpha.png
  58. BIN
      examples/Demo/data/images/logo2.png
  59. BIN
      examples/Demo/data/images/palette.png
  60. BIN
      examples/Demo/data/images/slide.png
  61. BIN
      examples/Demo/data/images/snow.png
  62. BIN
      examples/Demo/data/images/t2p.png
  63. 0 37
      examples/Demo/data/xmls/res.xml
  64. 0 34
      examples/Demo/demo.mkb
  65. BIN
      examples/Demo/demo_release_android.zip
  66. BIN
      examples/Demo/demo_release_win32.zip
  67. BIN
      examples/Demo/flash/AGAL.abc
  68. 0 342
      examples/Demo/flash/AGAL.h
  69. BIN
      examples/Demo/flash/AGAL.o
  70. 0 594
      examples/Demo/flash/AGAL_internal.h
  71. BIN
      examples/Demo/flash/Console.abc
  72. 0 216
      examples/Demo/flash/Console.as
  73. 0 36
      examples/Demo/flash/Makefile
  74. 0 29
      examples/Demo/flash/Makefile.common
  75. 0 14
      examples/Demo/flash/exports.txt
  76. 0 667
      examples/Demo/flash/fcc_sscanf.c
  77. 0 5
      examples/Demo/flash/fcc_sscanf.h
  78. 0 67
      examples/Demo/flash/index.html
  79. 0 3
      examples/Demo/flash/swfobject.js
  80. 0 631
      examples/Demo/ios/OxygineDemo/OxygineDemo.xcodeproj/project.pbxproj
  81. 0 96
      examples/Demo/ios/OxygineDemo/OxygineDemo.xcodeproj/xcuserdata/Mac.xcuserdatad/xcschemes/OxygineDemo.xcscheme
  82. 0 27
      examples/Demo/ios/OxygineDemo/OxygineDemo.xcodeproj/xcuserdata/Mac.xcuserdatad/xcschemes/xcschememanagement.plist
  83. 0 47
      examples/Demo/ios/OxygineDemo/OxygineDemo/OxygineDemo-Info.plist
  84. 0 16
      examples/Demo/ios/OxygineDemo/OxygineDemo/OxygineDemo-Prefix.pch
  85. 0 2
      examples/Demo/ios/OxygineDemo/OxygineDemo/en.lproj/InfoPlist.strings
  86. 0 3
      examples/Demo/prepare_res.bat
  87. 0 3
      examples/Demo/prepare_res_etc1.bat
  88. 0 3
      examples/Demo/prepare_res_low.bat
  89. 0 3
      examples/Demo/prepare_res_pvrtc.bat
  90. 0 27
      examples/Demo/src/TestBox9Sprite.h
  91. 0 56
      examples/Demo/src/TestClipRect.h
  92. 0 61
      examples/Demo/src/TestComplexDrag.h
  93. 0 148
      examples/Demo/src/TestDrag.h
  94. 0 97
      examples/Demo/src/TestManageRes.h
  95. 0 114
      examples/Demo/src/TestMask.h
  96. 0 129
      examples/Demo/src/TestPerf.h
  97. 0 46
      examples/Demo/src/TestProgressBar.h
  98. 0 78
      examples/Demo/src/TestRender2Texture.h
  99. 0 18
      examples/Demo/src/TestTexel2Pixel.h
  100. 0 180
      examples/Demo/src/TestText.h

+ 0 - 5
.hg_archival.txt

@@ -1,5 +0,0 @@
-repo: b6d71054df5712e643a0685bc3ba54b123db5729
-node: bc13d0178e86dc16a27550b5de8cdcf92f632aa2
-branch: default
-latesttag: null
-latesttagdistance: 258

+ 0 - 88
.hgignore

@@ -1,88 +0,0 @@
-syntax: glob
-.DS_Store
-._*
-*.xcodeproj/*.pbxuser
-*.xcodeproj/*.perspective*
-*.xcodeproj/*.mode*
-oxygine/marmalade/build_oxygine_lib_vc10/
-examples/Example/build_example1_vc10/
-tools/PatchMarmalade
-examples/Example2/build_example2_lib_vc10
-examples/Example2/build_example2_vc10
-examples/Example/build_example1_lib_vc10
-build/
-oxygine.zip
-*.pyc
-oxygine/sdl/oxygine/Debug/
-*.ncb
-*.user
-*.suo
-oxygine/cocos2dx/win32/Debug/
-oxygine/template/oxygine/Debug/
-oxygine/greenlets/greenlets/Debug/
-oxygine/greenlets/greenlets/greenlets.sdf
-*.ipch
-*.opensdf
-oxygine/greenlets/greenlets_xcode/
-oxygine/cocos2dx/android/obj/
-examples/Match3/build_match3_vc10
-oxygine/greenlets/android/obj/
-*.sdf
-oxygine/cocos2dx/win32/Release/
-examples/HelloWorld/build_helloworld_vc10/
-oxygine/SDL/android/obj/
-examples/SDL/HelloWorld/win32/Debug/
-oxygine/SDL/win32/Debug/
-examples/DemoBox2D/box2d/build_box2d_vc10
-examples/DemoBox2D/build_box2d_vc10/
-examples/GameTemplate/build_gametemplate_vc10/
-examples/DemoBox2D/build_box2d_lib_vc10
-examples/HelloWorld/build_helloworld_lib_vc10/
-examples/Match3/build_match3_lib_vc10/
-examples/GameTemplate/build_gametemplate_lib_vc10/
-examples/GameTemplate/build_gametemplate_lib_vc10
-examples/HelloWorld/data-ram/log.txt
-examples/HelloWorld/data-ram/log.txt
-tools/out.xml
-examples/SDL/HelloWorld/win32/
-oxygine/SDL/win32/Release/
-oxygine/marmalade/lib/
-oxygine/SDL/lib/
-examples/HelloWorld/build_helloworld_src_vc10
-examples/DemoBox2D/build_box2d_src_vc10
-examples/GameTemplate/build_gametemplate_src_vc10/
-examples/Match3/build_match3_src_vc10
-examples/GameTemplate/data-ram/
-_oxygine.zip
-lib/
-oxygine/marmalade/build_oxygine_lib_xcode
-
-doc/html/
-temp/
-
-examples/Demo/build_demo_src_vc10
-examples/Demo/win32/Debug
-examples/Demo/data/*.dll
-examples/Demo/win32/Release/
-fccbuild
-examples/Demo/flash/vfsRootFSBackingStore.as
-examples/Demo/flash/VFS.abc
-*.orig
-oxygine/system_data/data2
-examples/Demo/build_demo_src_vc11
-examples/Demo/build_demo_vc10
-examples/HelloWorld/build_helloworld_src_vc11
-examples/DemoBox2D/build_box2d_src_vc11
-examples/GameTemplate/build_gametemplate_src_vc11
-examples/Match3/build_match3_src_vc11/
-
-oxygine-framework.zip
-examples/TutorialResources/build_tutorialresources_vc11/
-oxygine/system_data/system.zip
-examples/Demo/data/ext/res_ui.xml.ox/
-examples/Demo/data/ext/res.xml.ox/
-oxygine/system_data/data/
-examples/Demo/win32/My Inspector XE Results *
-examples/DemoBox2D/build_box2d_vc11/
-syntax: regexp
-^build/

+ 0 - 4
.oxbuild

@@ -1,4 +0,0 @@
-.hgignore
-.hg_archival.txt
-doc.bat
-doxyfile

+ 0 - 55
3rdPartyTools/BMFont/bmfont.bmfc

@@ -1,55 +0,0 @@
-# AngelCode Bitmap Font Generator configuration file
-fileVersion=1
-
-# font settings
-fontName=Arial
-fontFile=
-charSet=177
-fontSize=-20
-aa=1
-scaleH=100
-useSmoothing=1
-isBold=1
-isItalic=0
-useUnicode=1
-disableBoxChars=1
-outputInvalidCharGlyph=0
-dontIncludeKerningPairs=0
-useHinting=0
-renderFromOutline=1
-useClearType=0
-
-# character alignment
-paddingDown=0
-paddingUp=0
-paddingRight=0
-paddingLeft=0
-spacingHoriz=1
-spacingVert=1
-useFixedHeight=1
-forceZero=1
-
-# output file
-outWidth=512
-outHeight=256
-outBitDepth=32
-fontDescFormat=1
-fourChnlPacked=0
-textureFormat=png
-textureCompression=0
-alphaChnl=1
-redChnl=0
-greenChnl=0
-blueChnl=0
-invA=0
-invR=0
-invG=0
-invB=0
-
-# outline
-outlineThickness=1
-
-# selected chars
-chars=160
-
-# imported icon images

BIN
3rdPartyTools/BMFont/bmfont.com


BIN
3rdPartyTools/BMFont/bmfont.exe


+ 0 - 29
3rdPartyTools/BMFont/doc/command_line.html

@@ -1,29 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p><a href="../documentation.html">Back to main page</a></p>
-
-<h2>Command line parameters</h2>
-
-<p>The application can be used from the command line, to performed automated generation of font files. The 
-prerequisite is a font configuration file, that you can save from the application, or even generate yourself. 
-The command line parameters are:</p>
-
-<ul>
-<li>-c fontconfig.bmfc : Names the configuration file with the options for generating the font.
-<li>-o outputfile.fnt : Names of the output font file.
-<li>-t textfile.txt : Optional argument that names a text file. All characters present in the text file will be 
-added to the font.
-</ul>
-
-<p>When running the application from the command line and you want the generation to complete before returning
-control to the console the bmfont.com application should be used rather than the bmfont.exe application.</p>
-
-
-</body>
-</html>

+ 0 - 103
3rdPartyTools/BMFont/doc/export_options.html

@@ -1,103 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p><a href="../documentation.html">Back to main page</a></p>
-
-<h2>Export options</h2>
-
-<p><img src="export_options.png" align="right"></p>
-
-<p>You can open the export options dialog by going to the Options menu and 
-choosing Export options, or you can just press T on the keyboard.</p>
-
-<p>This dialog controls how the font will be stored, i.e. texture layout, file format, etc.</p>
-
-<h3>Padding</h3>
-
-<p>Padding is useful when you want to add some post processing effects in another 
-paint program. For example, if you want to add a blurring effect that uses a 5x5 kernel,
-you would add a padding of 2 on all sides. Similarly if you want to add a drop shadow, you
-would add a bit of padding below and to the right of the characters (assuming that's the 
-direction of the drop shadow that you want).
-
-<h3>Spacing</h3>
-
-<p>The spacing controls how much minimum space is left between characters in the font 
-texture. If you're using mipmapping to scale the font texture when drawing the font, you'll 
-need to add spacing to avoid bleeding when the texture is downscaled. The more mipmap levels
-you use the more spacing you need.</p>
-
-<p>Bilinear filtering may also cause bleeding, so unless you use pixel perfect drawing, where
-each texel is perfectly mapped to a pixel on the screen with a 1-to-1 releation ship you'll
-want to use at least 1 for vertical and horizontal spacing.</p>
-
-<h3>Equalize the cell heights</h3>
-
-<p>When this option is checked, all the font characters will be exported into cells of equal height. 
-This option is especially useful when you workflow for producing the final font includes a post 
-processing step where the characters are 'painted' based on the height of character, e.g. when
-applying a gradient.</p>
-
-<p>The drawback is that less characters will fit in the texture, and the font renderer will draw larger
-rectangles.</p>
-
-<h3>Force offsets to zero</h3>
-
-<p>This option was created to improve support for font renderers that don't handle xoffset, yoffset, and xadvance. 
-When the option is checked the glyph images will be padded so that xoffset and yoffset will be 0 
-and xadvance will be equal to the width. This option also forces the equalization of the cell heights.</p>
-
-<p>Observe, that this will modify the final spacing between characters if the original TrueType font uses negative 
-xoffsets, or xadvance that is smaller than the glyph width, i.e. if the characters have any overhang.</p>
-
-<h3>Texture</h3>
-
-<p>BMFont supports several different texture layouts. The width and height, of course control
-the size of the texture. You'll want to keep the texture as small as possible, while 
-still allowing all characters to fit in one texture.</p>
-
-<p>If you're importing colored icons, or planning on using post processing to add colors to the
-characters, then you'll want to choose the 32bit format, otherwise the 8bit format may be sufficient.</p>
-
-<p>If you choose the 32bit format, you may still optimize the usage of the texture memory if you
-choose to pack characters in each channel, though that will require a special <a href="pixel_shader.html">pixel shader</a> to 
-decode during drawing. In this mode you can still import colored icons, the characters will be
-properly packed around them.</p>
-
-<p>The font outline can also be encoded together with the character in 8 bits, allowing you to
-store many more characters in the same space than if you had stored the outlined characters as
-colored images. This too require a special <a href="pixel_shader.html">pixel shader</a> to 
-decode during drawing.</p>
-
-<p><b>Channel options</b></p>
-
-<ul>
-<li><i>glyph</i> : The channel will be set according to the glyph geometry. A value of 1 means the pixel is within the glyph.
-<li><i>outline</i> : The channel will be set according to the outline geometry. A value of 1 means the pixel is within the outline or glyph.
-<li><i>glyph + outline</i> : The value is encoded to allow separation of glyph and outline. A value of 0.5 means the pixel is within the outline, but not within the glyph. A value of 1 means the pixel is within the glyph.
-<li><i>one</i> : All pixels in the channel will be set to 1.
-<li><i>zero</i> : All pixels in the channel will be set to 0.
-</ul>
-
-<p>Some of the more common choices are:</p>
-
-<ul>
-<li>32bit white glyphs with black outline: alpha = <i>outline</i>, red = green = blue = <i>glyph</i>
-<li>32bit white glyphs without outline: alpha = <i>glyph</i>, red = green = blue = <i>one</i>
-<li>packed textures with glyph and outline encoded in 8 bits: alpha = <i>glyph + outline</i>
-<li>packed textures with glyphs without outline: alpha = <i>glyph</i>
-</ul>
-
-<h3>File format</h3>
-
-<p>Finally you can choose the file format for both the font descriptor and textures. This is mostly
-a matter of choice, rather than one having more benefits than the other. Though if you want to save
-disc space, you may want to choose binary file descriptor with png textures.</p>
-
-</body>
-</html>

BIN
3rdPartyTools/BMFont/doc/export_options.png


+ 0 - 206
3rdPartyTools/BMFont/doc/file_format.html

@@ -1,206 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p><a href="../documentation.html">Back to main page</a></p>
-
-<h2>File format</h2>
-
-<li><a href="#tags">File tags</a>
-<li><a href="#bin">Binary file layout</a>
-
-<a name="#tags"></a>
-<h2>File tags</h2>
-
-<h3>info</h3>
-
-<p>This tag holds information on how the font was generated.</p>
-
-<table>
-<tr><td width=100>face</td><td>This is the name of the true type font.</td></tr>
-<tr><td>size</td><td>The size of the true type font.</td></tr>
-<tr><td>bold</td><td>The font is bold.</td></tr>
-<tr><td>italic</td><td>The font is italic.</td></tr>
-<tr><td>charset</td><td>The name of the OEM charset used (when not unicode).</td></tr>
-<tr><td>unicode</td><td>Set to 1 if it is the unicode charset.</td></tr>
-<tr><td>stretchH</td><td>The font height stretch in percentage. 100% means no stretch.</td></tr>
-<tr><td>smooth</td><td>Set to 1 if smoothing was turned on.</td></tr>
-<tr><td>aa</td><td>The supersampling level used. 1 means no supersampling was used.</td></tr>
-<tr><td>padding</td><td>The padding for each character (up, right, down, left).</td></tr>
-<tr><td>spacing</td><td>The spacing for each character (horizontal, vertical).</td></tr>
-<tr><td>outline</td><td>The outline thickness for the characters.</td></tr>
-</table>
-
-<h3>common</h3>
-
-<p>This tag holds information common to all characters.</p>
-
-<table>
-<tr><td width=100>lineHeight</td><td>This is the distance in pixels between each line of text.</td></tr>
-<tr><td>base</td><td>The number of pixels from the absolute top of the line to the base of the characters.</td></tr>
-<tr><td>scaleW</td><td>The width of the texture, normally used to scale the x pos of the character image.</td></tr>
-<tr><td>scaleH</td><td>The height of the texture, normally used to scale the y pos of the character image.</td></tr>
-<tr><td>pages</td><td>The number of texture pages included in the font.</td></tr>
-<tr><td>packed</td><td>Set to 1 if the monochrome characters have been packed into each of the texture channels. In this case alphaChnl describes what is stored in each channel.</td></tr>
-<tr><td>alphaChnl</td><td>Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one.</td></tr>
-<tr><td>redChnl</td><td>Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one.</td></tr>
-<tr><td>greenChnl</td><td>Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one.</td></tr>
-<tr><td>blueChnl</td><td>Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one.</td></tr>
-</table>
-
-<h3>page</h3>
-
-<p>This tag gives the name of a texture file. There is one for each page in the font.</p>
-
-<table>
-<tr><td width=100>id</td><td>The page id.</td></tr>
-<tr><td>file</td><td>The texture file name.</td></tr>
-</table>
-
-<h3>char</h3>
-
-<p>This tag describes on character in the font. There is one for each included character in the font.</p>
-
-<table>
-<tr><td width=100>id</td><td>The character id.</td></tr>
-<tr><td>x</td><td>The left position of the character image in the texture.</td></tr>
-<tr><td>y</td><td>The top position of the character image in the texture.</td></tr>
-<tr><td>width</td><td>The width of the character image in the texture.</td></tr>
-<tr><td>height</td><td>The height of the character image in the texture.</td></tr>
-<tr><td>xoffset</td><td>How much the current position should be offset when copying the image from the texture to 
-the screen.</td></tr>
-<tr><td>yoffset</td><td>How much the current position should be offset when copying the image from the texture to 
-the screen.</td></tr>
-<tr><td>xadvance</td><td>How much the current position should be advanced after drawing the character.</td></tr>
-<tr><td>page</td><td>The texture page where the character image is found.</td></tr>
-<tr><td>chnl</td><td>The texture channel where the character image is found 
-(1 = blue, 2 = green, 4 = red, 8 = alpha, 15 = all channels).</td></tr>
-</table>
-
-<h3>kerning</h3>
-
-<p>The kerning information is used to adjust the distance between certain characters, e.g. some characters should 
-be placed closer to each other than others.</p>
-
-<table>
-<tr><td width=100>first</td><td>The first character id.</td></tr>
-<tr><td>second</td><td>The second character id.</td></tr>
-<tr><td>amount</td><td>How much the x position should be adjusted when drawing the second character immediately 
-following the first.</td></tr>
-</table>
-
-
-<a name="#bin"></A>
-<h2>Binary file layout</h2>
-
-<p>This section describes the layout of the tags in the binary file format. To understand what each tag means refer 
-to the <a href="#tags">file tags</A> section.</p>
-
-<p>The first three bytes are the file identifier and must always be 66, 77, 70, or "BMF". The fourth byte gives 
-the format version, currently it must be 3.</p>
-
-<ul>
-<li>Version 1 (introduced with application version 1.8).
-<li>Version 2 (introduced with application version 1.9) added the outline field in the infoBlock and the encoded 
-    field in the commonBlock.
-<li>Version 3 (introduced with application version 1.10) removed the encoded field in the commonBlock, and 
-    added the alphaChnl, redChnl, greenChnl, blueChnl instead. The size of each block is now stored without 
-    accounting for the size field itself. The character id in the charsBlock and the kerningPairsBlock was increased 
-    to 4 bytes to support the full unicode range. 
-</ul>
-
-<p>Following the first four bytes is a series of blocks with information. Each block starts with a one byte block 
-type identifier, followed by a 4 byte integer that gives the size of the block, not including the block type identifier 
-and the size value.</p>
-
-<h3>Block type 1: info</h3>
-
-<table>
-<tr><td width=100><b>field</b></td><td width=30><b>size</b></td><td width=40><b>type</b></td><td width=30><b>pos</b></td><td><b>comment</b></td></tr>
-<tr><td>fontSize</td>    <td>2</td>         <td>int</td>     <td>0</td> <td></td></tr>
-<tr><td>bitField</td>    <td>1</td>         <td>bits</td>    <td>2</td> <td>bit 0: smooth, bit 1: unicode, bit 2: italic, bit 3: bold, bit 4: fixedHeigth, bits 5-7: reserved</td></tr>
-<tr><td>charSet</td>     <td>1</td>         <td>uint</td>    <td>3</td> <td></td></tr>
-<tr><td>stretchH</td>    <td>2</td>         <td>uint</td>    <td>4</td> <td></td></tr>
-<tr><td>aa</td>          <td>1</td>         <td>uint</td>    <td>6</td> <td></td></tr>
-<tr><td>paddingUp</td>   <td>1</td>         <td>uint</td>    <td>7</td> <td></td></tr>
-<tr><td>paddingRight</td><td>1</td>         <td>uint</td>    <td>8</td> <td></td></tr>
-<tr><td>paddingDown</td> <td>1</td>         <td>uint</td>    <td>9</td> <td></td></tr>
-<tr><td>paddingLeft</td> <td>1</td>         <td>uint</td>    <td>10</td><td></td></tr>
-<tr><td>spacingHoriz</td><td>1</td>         <td>uint</td>    <td>11</td><td></td></tr>
-<tr><td>spacingVert</td> <td>1</td>         <td>uint</td>    <td>12</td><td></td></tr>
-<tr><td>outline</td>     <td>1</td>         <td>uint</td>    <td>13</td><td>added with version 2</td></tr>
-<tr><td>fontName</td>    <td><i>n</i>+1</td><td>string</td>  <td>14</td><td>null terminated string with length <i>n</i></td></tr>
-</table>
-
-<p>This structure gives the layout of the fields. Remember that there should be no 
-padding between members. Allocate the size of the block using the blockSize, as 
-following the block comes the font name, including the terminating null char. 
-Most of the time this block can simply be ignored.</p>
-
-<h3>Block type 2: common</h3>
-
-<table>
-<tr><td width=100><b>field</b></td><td width=30><b>size</b></td><td width=40><b>type</b></td><td width=30><b>pos</b></td><td><b>comment</b></td></tr>
-<tr><td>lineHeight</td>    <td>2</td>     <td>uint</td>    <td>0</td>  <td></td></tr>
-<tr><td>base</td>          <td>2</td>     <td>uint</td>    <td>2</td>  <td></td></tr>
-<tr><td>scaleW</td>        <td>2</td>     <td>uint</td>    <td>4</td>  <td></td></tr>
-<tr><td>scaleH</td>        <td>2</td>     <td>uint</td>    <td>6</td>  <td></td></tr>
-<tr><td>pages</td>         <td>2</td>     <td>uint</td>    <td>8</td>  <td></td></tr>
-<tr><td>bitField</td>      <td>1</td>     <td>bits</td>    <td>10</td> <td>bits 0-6: reserved, bit 7: packed</td></tr>
-<tr><td>alphaChnl</td>     <td>1</td>     <td>uint</td>    <td>11</td> <td></td></tr>
-<tr><td>redChnl</td>       <td>1</td>     <td>uint</td>    <td>12</td> <td></td></tr>
-<tr><td>greenChnl</td>     <td>1</td>     <td>uint</td>    <td>13</td> <td></td></tr>
-<tr><td>blueChnl</td>      <td>1</td>     <td>uint</td>    <td>14</td> <td></td></tr>
-</table>
-
-<h3>Block type 3: pages</h3>
-
-<table>
-<tr><td width=100><b>field</b></td><td width=70><b>size</b></td><td width=40><b>type</b></td><td width=30><b>pos</b></td><td><b>comment</b></td></tr>
-<tr><td>pageNames</td>    <td><i>p</i>*(<i>n</i>+1)</td>     <td>strings</td>    <td>0</td>  <td><i>p</i> null terminated strings, each with length <i>n</i></td></tr>
-</table>
-
-<p>This block gives the name of each texture file with the image data for the characters. 
-The string pageNames holds the names separated and terminated by null chars. Each filename 
-has the same length, so once you know the size of the first name, you can easily determine 
-the position of each of the names. The id of each page is the zero-based index of the string name.</p>
-
-<h3>Block type 4: chars</h3>
-
-<table>
-<tr><td width=100><b>field</b></td><td width=30><b>size</b></td><td width=40><b>type</b></td><td width=70><b>pos</b></td><td><b>comment</b></td></tr>
-<tr><td>id</td>       <td>4</td>     <td>uint</td>    <td>0+<i>c</i>*20</td>   <td>These fields are repeated until all characters have been described</td></tr>
-<tr><td>x</td>        <td>2</td>     <td>uint</td>    <td>4+<i>c</i>*20</td>   <td></td></tr>
-<tr><td>y</td>        <td>2</td>     <td>uint</td>    <td>6+<i>c</i>*20</td>   <td></td></tr>
-<tr><td>width</td>    <td>2</td>     <td>uint</td>    <td>8+<i>c</i>*20</td>   <td></td></tr>
-<tr><td>height</td>   <td>2</td>     <td>uint</td>    <td>10+<i>c</i>*20</td>   <td></td></tr>
-<tr><td>xoffset</td>  <td>2</td>     <td>int</td>     <td>12+<i>c</i>*20</td>  <td></td></tr>
-<tr><td>yoffset</td>  <td>2</td>     <td>int</td>     <td>14+<i>c</i>*20</td>  <td></td></tr>
-<tr><td>xadvance</td> <td>2</td>     <td>int</td>     <td>16+<i>c</i>*20</td>  <td></td></tr>
-<tr><td>page</td>     <td>1</td>     <td>uint</td>    <td>18+<i>c</i>*20</td>  <td></td></tr>
-<tr><td>chnl</td>     <td>1</td>     <td>uint</td>    <td>19+<i>c</i>*20</td>  <td></td></tr>
-</table>
-
-<p>The number of characters in the file can be computed by taking the size of the block 
-and dividing with the size of the charInfo structure, i.e.: numChars = charsBlock.blockSize/20.</p>
-
-<h3>Block type 5: kerning pairs</h3>
-
-<table>
-<tr><td width=100><b>field</b></td><td width=30><b>size</b></td><td width=40><b>type</b></td><td width=60><b>pos</b></td><td><b>comment</b></td></tr>
-<tr><td>first</td>     <td>4</td>    <td>uint</td>     <td>0+<i>c</i>*10</td>  <td>These fields are repeated until all kerning pairs have been described</td></tr>
-<tr><td>second</td>    <td>4</td>    <td>uint</td>     <td>4+<i>c</i>*10</td>  <td></td></tr>
-<tr><td>amount</td>    <td>2</td>    <td>int</td>      <td>8+<i>c</i>*6</td>  <td></td></tr>
-</table>
-
-
-<p>This block is only in the file if there are any kerning pairs with amount differing from 0.</p>
-
-
-
-</body>
-</html>

+ 0 - 55
3rdPartyTools/BMFont/doc/font_settings.html

@@ -1,55 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p><a href="../documentation.html">Back to main page</a></p>
-
-<h2>Font settings</h2>
-
-<p><img src="font_settings.png" align="right"></p>
-
-<p>You can open the font settings dialog by going to the Options menu and choosing Font 
-settings, or you can just press F on the keyboard.</p>
-
-<p>This dialog controls the properties of the font, i.e. the character
-set, and looks.</p>
-
-<h2>Font graphics</h2>
-
-<p>These settings will let you choose the font face to use, and a few other options, such as whether 
-the unicode or OEM character set is to be used. 
-
-<p>The invalid character glyph is the glyph that is used by the font as fallback when there is no appropriate 
-glyph in the TrueType font for a specific character. 
-
-<p>The option to not include kerning pairs is useful when the application that will use the generated 
-bitmap font doesn't support kerning pairs, or when the source TrueType font has incorrect kerning pairs.
-
-<h2>Rasterizing</h3>
-
-<p>The option to render from TrueType outline was added because the native font engine in Windows clips glyphs that go above or below the cell height. 
-Normally this isn't a problem and in most cases you probably won't notice much difference between the two forms of rasterizing the glyphs.</p>
-
-<p>TrueType hinting is something that makes the text more readable when rendered in small sizes by lining up the edges to the screen pixels. In the 
-native font engine this is always turned on, but when rendering from the outline you have the option to turn this off, thus getting the exact forms of the 
-characters. Be aware that for small fonts it might turn thin lines invisible thus making the glyphs unreadable.</p>
-
-<p>ClearType is an option that the native font engine provides which takes advantage of the LCD/LED screens' pixel layouts to use subpixel 
-smoothing. When rasterizing the glyphs to the texture the subpixel smoothing is lost, but it can still give a nice antialiasing effect so this 
-option is made available to be used as desired.</p>
-
-<p>When fonts are generated with font smoothing it is recommended that only font smoothing is used. If super sampling is used the resulting font may
-loose a bit of its sharpness due to averaging when down sampling. This is especially noticeable when small fonts are generated. Supersampling may be useful
-for raster fonts where font smoothing doesn't work.</p>
-
-<h2>Effects</h2>
-
-<p>The fonts can optionally be generated with a baked-in outline of variable width. If outline is used the font will take up a bit more texture space, but on the other hand the outline doesn't have to be generated at run-time when drawing the text.</p>
-
-
-</body>
-</html>

BIN
3rdPartyTools/BMFont/doc/font_settings.png


+ 0 - 49
3rdPartyTools/BMFont/doc/known_issues.html

@@ -1,49 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p><a href="../documentation.html">Back to main page</a></p>
-
-<h2>Known issues</h2>
-
-<h3>Rotated characters</h3>
-
-<p>Some font files have some but not all subsets with characters rotated by 90 degrees. For example @Arial Unicode MS, 
-with subset Enclosed Alphanumerics. This is not an error, but a feature of that font file. With the font rotated 
-like this it permits writing texts in normal text editors as if they were in vertical lines.</p>
-
-<p>As of version 1.13 the rotated fonts are no longer displayed in the font selection list.</p>
-
-<h3>Large bitmap fonts switch to Arial</h3>
-
-<p>Some bitmap fonts, e.g. FixedSys, may switch to Arial when generating very large fonts. This is a side effect of
-BMFont using GDI for rasterizing the fonts. As GDI doesn't support rendering these bitmap fonts at very large sizes it 
-automatically switches to the default TrueType font, Arial, instead.</p>
-
-<h3>When executing BMFont from the command line the application returns before completing</h3>
-
-<p>This happens because BMFont is a GUI application and Windows automatically returns the control to the console 
-after initiating the application. A console application, bmfont.com, has been created to allow the execution of the
-tool from the command line without immediate return to the console.</p>
-
-<h3>The bitmap font is generated with incorrect kerning pairs</h3>
-
-<p>For some TrueType fonts the kerning pairs that are saved into the bitmap font is obviously wrong, e.g. with 
-duplicate entries, or offsets that are really large. This is usually a problem with the TrueType font itself, and not 
-a bug in BMFont, as BMFont simply saves the kerning pairs it extracts from the TrueType font.</p>
-
-<p>BMFont provides an option to skip the kerning pairs when saving the bitmap font, which can be used when they are defunct and unusable.</p>
-
-<h3>Cropped character glyphs</h3>
-
-<p>When rendering the bitmap font using the Windows native font renderer, some TrueType fonts present cropped glyphs. This happens
-when the TrueType font has glyphs that go above or below the fonts cell height.</p>
-
-<p>To work around this, render the font from the TrueType outline instead.</p>
-
-</body>
-</html>

+ 0 - 44
3rdPartyTools/BMFont/doc/pixel_shader.html

@@ -1,44 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p><a href="../documentation.html">Back to main page</a></p>
-
-<h2>Pixel shader example</h2>
-
-<p>This pixel shader shows how to decode the color from a font texture with characters packed 
-into all 4 channels, and each channel using special encoding to store the character with the 
-outline. The texture is also allowed to store full 32bit images for some characters.</p>
-
-<pre>
-// DirectX 9 pixel shader
-float4 PixScene( float4 color : COLOR0,
-                 int4   chnl  : TEXCOORD1,
-                 float2 tex0  : TEXCOORD0 ) : COLOR0
-{
-  float4 pixel = tex2D(g_samScene, tex0);
-    
-  if( dot(vector(1,1,1,1), chnl) )
-  {
-    float val = dot(pixel, chnl);
-		
-    pixel.rgb = val > 0.5 ? 2*val-1 : 0;
-    pixel.a   = val > 0.5 ? 1 : 2*val;
-  }
-    
-  return pixel * color;
-}
-</pre>
-
-<p>The chnl texture coordinate is a 4D vector that shows which channel the character should be read 
-from. If this is (0,0,0,0) the character is interpreted as a 32 bit image. The texture coordinate 
-can be stored in a UBYTE4 type, so it doesn't require much bandwidth when being sent to the video card.</p>
-
-
-
-</body>
-</html>

+ 0 - 24
3rdPartyTools/BMFont/documentation.html

@@ -1,24 +0,0 @@
-<html>
-<head>
-<title>Bitmap Font Generator - Documentation</title>
-</head>
-<body>
-
-<h1>Bitmap Font Generator - Documentation</h1>
-
-<p>The Bitmap Font Generator is a free program to generate bitmap fonts from true type fonts. 
-The bitmaps are generated in such a way as to leave as little unused space as possible. The
-position of the characters in the bitmap is not regular so you'll need the generated font
-descriptor file to determine how to draw each character.</p>
-
-<ul>
-<li><a href="doc/font_settings.html">Font settings</a>
-<li><a href="doc/export_options.html">Export options</a>
-<li><a href="doc/command_line.html">Command line parameters</a>
-<li><a href="doc/file_format.html">File format</a>
-<li><a href="doc/pixel_shader.html">Pixel shader sample</a>
-<li><a href="doc/known_issues.html">Known issues</a>
-</ul>
-
-</body>
-</html>

+ 0 - 204
3rdPartyTools/BMFont/readme.txt

@@ -1,204 +0,0 @@
-Bitmap Font Generator v1.14 beta by Andreas Jönsson (www.AngelCode.com)
-----------------------------------------------------------------------------------------
-This program will allow you to generate bitmap fonts from TrueType and other Windows fonts. The application generates both image files and character descriptions that can be read by a game for easy rendering of fonts.
-
-Disclaimer
-------------------------------
-This program is provided 'as-is' and no responsibility for any type of damage taken to your system as a consequence of installing or using this program is taken by the author.
-
-Freeware
--------------------------------
-This program is freeware and may be used freely without charge. If you wish to distribute this program contact the author for his permission.
-
-Support
---------------------------------
-This program has very limited support as it is freeware, but you are welcome to send your suggestions and questions to the author.
-
-Contact
---------------------------------
-The program and any possible upgrades can be found at www.AngelCode.com. The author may also be contacted through this site.
-
-Changes
--------------------------------
-1.14 beta - 2013/10/08
-- Fixed crash with large fonts when Windows API incorrectly reported negative width for glyphs.
-- Improved handling of out-of-memory conditions.
-- Fixed crash that could occur when exporting unicode characters above 0x10000 with kerning pairs.
-- Fixed crash when command line argument -c was a relative path and the configuration included font file or image files.
-- Fixed crash when saving configuration file with added font file from the same directory.
-- Corrected the cell height when using fixed height and supersampling.
-- Added support for Unicode 6.2.
-- Fixed compatibility with Windows XP.
-- Fixed scaling issues and cropping when using height scale with render from outline.
-
-1.13 - 2012/08/12
-- Added option to export fonts using fixed cell heights for easier post processing.
-- Improved support for exporting kerning pairs for true types that use the GPOS table instead of KERN table.
-- Kerning pairs are no longer exported for char ids that have been overridden with imported icons.
-- Improved glyph packing when there are large out of proportion images.
-- The final texture no longer has boxes around glyphs when a channel is inverted or set to one.
-- Fixed subpixel clipping in supersampled glyphs.
-- Implemented an alternative glyph rasterization based on the true type outline.
-- The rasterization from true type outline doesn't clip glyphs that extend above or below cell height.
-- Allow disabling hinting when rasterizing from true type outline.
-- Re-added option for rendering with ClearType with native Windows font engine.
-- Fixed bug where saved XML format sometimes didn't close the 'kernings' tag if there were no kerning pairs.
-- Fixed bug with duplicate kerning pairs in non-unicode font output.
-- Fixed problem where double-clicking in file dialog would sometimes change the selected characters under the mouse.
-- Enabled run-length encoding for TGA output.
-- Added option to force xoffset and yoffset to 0, and xadvance to width.
-- It's now possible to open the app directly with a configuration file from the file explorer.
-- When loading a bmfc file the characters are now selected accordingly.
-- The font dialog no longer lists rotated fonts, i.e. those prefixed with @.
-- Added support for working with a font from a file so it is no longer necessary to install it first.
-- Imported images are now stored with a relative path in the configuration file.
-- Fixed clipping that could occur on left and right edges when generating a font in italic mode.
-- Kerning pairs can now be optionally left out in case they are defunct in the TrueType font.
-- The save and load configuration dialogs will now initiate where the last configuration file was loaded or saved.
-
-1.12 - 2009/08/02
-- Added presets to the export options to aid choosing the correct values for the texture channels.
-- Fixed bug when generating font from command line where the page files in the font descriptor would have the incorrect name.
-- Added ability to invert individual texture channels for more export options.
-- Added command line tool that will wait for the generation to complete before exiting.
-- Fixed the yoffset when the font height was scaled.
-- Fixed bug in select chars from file for non-unicode with characters above ASCII 127.
-- The number of digits for the page id in the texture files is now adapted to the number of generated pages.
-- Added support for adjusting xoffset, yoffset, and advance for imported icons.
-
-1.11b - 2009/03/08
-- Fixed a bug in the select chars from file with UTF16 encoded files.
-- Fixed a bug in the packing routine that could make characters overlap in rare situations.
-- Fixed the selection of unicode ranges by clicking on the check mark in the list.
-
-1.11a - 2008/12/06
-- Fixed the subpixel misalignment in the glyph height caused by supersampling.
-- Worked around a bug in GDI where the returned glyph height is smaller than the actual glyph bitmap.
-
-1.11 - 2008/10/11
-- Fixed a freeze that could happen while selecting characters from file.
-- Fixed cropping in some true type fonts.
-- Fixed the 'Select All Chars' option in ASCII mode.
-- Added option 'Output invalid char glyph'.
-- Removed the 'Disable unavailable chars' option.
-- Fixed problem where characters not defined in the unicode standard could be selected when selecting chars from file.
-- An indicator is now displayed in the character grid where images are imported.
-- Fixed bug where main window is moved behind other windows when closing image manager.
-- Fixed bug where cancelling the icon image dialog would still effectivate the changes.
-- It's now possible to select font size by character height, rather than line height.
-
-1.10b - 2008/06/15
-- Fixed the channel indicator in the font descriptor for colored icons.
-- Fixed cropping of characters in small fonts.
-- Fixed bug with black 8bit textures when the check box for pack chars is checked.
-
-1.10a - 2008/06/08
-- Corrected the documentation in regards to the block size value in the binary file format.
-- Fixed a bug with the 'Select chars from file' where some character might be skipped between reading blocks of 1kb.
-- Fixed a rounding problem with supersampling that made the exported line height be one less than the largest character height.
-- Removed the external dependency on the Microsoft DLLs.
-- Upgraded libpng to 1.2.29.
-
-1.10 - 2008/05/11
-- Selecting characters from file now supports both UTF-8 and UTF-16, with automatic detection via byte-order-mark.
-- Fixed a bug where unicode subsets where not shown when disable undefined characters was unselected.
-- Status bar shows character id for the character under the mouse cursor.
-- Added "clear all" option.
-- Preview window is now automatically resized to fit the texture when scaling.
-- Added support for unicode characters above 0xFFFF.
-- Added support for generating textures with DXT1, DXT3, and DXT5 compression.
-- Split the font settings dialog in two dialogs, one for the font graphics and one for export options.
-- The content of each texture channel can now be customized.
-- File format updated to accomodate new feature.
-
-1.9c - 2007/11/16
-- Fixed the reversed spacing values in the font settings dialog.
-- The font generation can now be aborted while the characters are being added to the texture.
-- Greatly improved the speed of generating textures.
-
-1.9b - 2007/10/28
-- Fixed the padding.
-- Improved documentation.
-
-1.9a - 2007/09/16
-- Allowing unicode for all fonts, even fonts that have only one code page.
-- Fixed the status messages when generating fonts.
-
-1.9 - 2007/08/19
-- Added support for importing colored icons.
-- Supported input image formats are: bmp, tga, png, jpg, dds.
-- Added support for giving a black outline to characters.
-- Characters with outline may be encoded in 1 channel to save space.
-- Outline is generated with rounded corners.
-- Increased the binary file version because there is new information.
-
-1.8c - 2007/01/25
-- Fixed a bug where the font saver got confused with the 4 chnl packed flag set, even though saving in 8bit format.
-
-1.8b - 2007/01/06
-- Fixed kerning amount in binary file format when using super sampling.
-
-1.8a - 2006/11/23
-- Fixed alignment bug with 8bit TGA and DDS files with non-power-of-4 widths.
-- Fixed crash on Windows with installed Input Method Editors, e.g. Japanese and Chinese Windows.
-
-1.8 - 2006/11/11
-- Added support for binary font descriptor file.
-- Added support for saving PNG texture files.
-- The application now remembers the configuration from last execution.
-- Improved useability for selecting characters in unicode mode.
-- Added option to select all characters from a text file.
-- Kerning pairs with amount 0 are no longer output.
-- XML font descriptor file now groups the pages, chars, and kerning pairs.
-- The font configuration can be saved to disk, and later reloaded.
-- Added support for generating fonts via command line using a saved configuration. 
-- Added support for saving DDS texture files (no compression).
-
-1.7a - 2006/09/12
-- Fixed the creation of non-unicode fonts.
-
-1.7 - 2006/09/08
-- Added the standard xml header.
-- Added support for unicode charsets.
-- Added the option to pack monochrome characters into each of the 4 channels of a 32 bit texture.
-- Added tag with texture file names in the font descriptor file.
-- The generation of textures is now done in a background thread.
-
-1.6 - 2006/02/18
-- It's now possible to choose between XML and text for the format of the font descriptor file.
-- Fixed kerning sizes with super-sampling.
-
-1.5 - 2005/10/01
-- Implemented stretching so that fonts can now be non-uniformly scaled (only works on Win2K or later).
-
-1.4a - 2005/08/26
-- Non-TrueType fonts, such as Script and System, are now supported as well.
-- Minor fix to rendering when padding is used.
-
-1.4 - 2005/07/17
-- The preview window now shows the page number in the title.
-- Characters without a defined glyph may now be automatically removed (only works on Win2K or later).
-- Kerning pairs are now saved as well.
-- Added support for chooseable charset, e.g. arabic and hebrew fonts.
-
-1.3 - 2005/05/08
-- Added support for italic fonts.
-- Application no longer crashes when visualizing with no characters selected.
-
-1.2 - 2005/03/09
-- User can now choose to generate the bitmap font with or without font smoothing.
-- Font smoothing is now done without ClearType, so that artifacts are no longer generated in the output texture.
-- Added program icon.
-
-1.1 - 2005/03/05 
-- User can now choose to save in 32bit and 8bit TGAs.
-- The spacing between characters can now be manually set.
-- Fixed the bug where some fonts weren't visible in the font list.
-
-1.0a - 2004/11/27 
-- Fixed a problem with values that where not adjusted to compensate for antialiasing level.
-
-1.0 - 2004/02/14 
-- First public version.
-
-copyright (c) 2004-2013 Andreas Jönsson

BIN
3rdPartyTools/BMFont/uninstall.exe


BIN
3rdPartyTools/PVRTexToolCL.exe


BIN
3rdPartyTools/bin2h.exe


+ 0 - 66
Android.mk

@@ -1,66 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-OXYGINE_LIBS := $(LOCAL_PATH)/oxygine/third_party/android/libraries/$(TARGET_ARCH_ABI)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := ox_libpng_static
-LOCAL_MODULE_FILENAME := png
-LOCAL_SRC_FILES := $(OXYGINE_LIBS)/libpng.a
-include $(PREBUILT_STATIC_LIBRARY) 
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := ox_libjpeg_static
-LOCAL_MODULE_FILENAME := jpeg
-LOCAL_SRC_FILES := $(OXYGINE_LIBS)/libjpeg.a
-include $(PREBUILT_STATIC_LIBRARY) 
-
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE    := oxygine-framework_static
-LOCAL_MODULE_FILENAME := liboxygine-framework
-LOCAL_CPP_EXTENSION := .cpp
-
-OXYGINE_SRC := $(LOCAL_PATH)/oxygine/src
-
-
-LOCAL_SRC_FILES := \
-				$(subst $(LOCAL_PATH)/,, \
-				$(wildcard $(OXYGINE_SRC)/closure/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/core/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/math/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/pugixml/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/res/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/text_utils/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/dev_tools/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/utils/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/winnie_alloc/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/minizip/*.c) \
-				$(wildcard $(OXYGINE_SRC)/*.cpp) \
-				$(wildcard $(OXYGINE_SRC)/../greenlets/src/*.c) \
-				)
-
-LOCAL_SRC_FILES += \
-				$(OXYGINE_SRC)/core/gl/NativeTextureGLES.cpp \
-				$(OXYGINE_SRC)/core/gl/oxgl.cpp \
-				$(OXYGINE_SRC)/core/gl/VertexDeclarationGL.cpp \
-				$(OXYGINE_SRC)/core/gl/VideoDriverGL.cpp \
-				$(OXYGINE_SRC)/core/gl/VideoDriverGLES20.cpp \
-
-SDL_PATH := $(LOCAL_PATH)/../SDL/include/
-THIRD_PARTY := $(LOCAL_PATH)/oxygine/third_party/android/
-
-LOCAL_C_INCLUDES := $(OXYGINE_SRC)/ \
-					$(OXYGINE_SRC)/../greenlets/src/ \
-					$(SDL_PATH) \
-					$(THIRD_PARTY)/libjpeg/ \
-					$(THIRD_PARTY)/libpng/
-
-LOCAL_C_FLAGS := -DUSE_FILE32API
-LOCAL_EXPORT_C_FLAGS := $(LOCAL_C_FLAGS)
-LOCAL_EXPORT_LDLIBS += -lGLESv2 -llog -lz
-LOCAL_EXPORT_C_INCLUDES += $(LOCAL_C_INCLUDES)
-LOCAL_WHOLE_STATIC_LIBRARIES := ox_libpng_static ox_libjpeg_static
-					
-include $(BUILD_STATIC_LIBRARY)
-
-$(call import-module, SDL)

+ 0 - 114
CMakeLists.txt

@@ -1,114 +0,0 @@
-cmake_minimum_required (VERSION 2.6)
-project (OXYGINE)
-
-
-message(STATUS ${SDL2_INCLUDE_DIRS})
-#set(SDL2_INCLUDE_DIRS SDL2)
-
-if (MSVC)
-	set(OXYGINE_DEFINITIONS	
-		-D_CRT_SECURE_NO_WARNINGS)
-	set(SDL2_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../SDL/include)
-else(MSVC)
-	#set(OXYGINE_DEFINITIONS	
-	#	-D_REENTRANT) #linux pthreads
-	find_path(SDL2_INCLUDE_DIRS NAMES SDL2/SDL.h)
-	set(SDL2_INCLUDE_DIRS ${SDL2_INCLUDE_DIRS}/SDL2)
-endif(MSVC)
-
-set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/oxygine/greenlets/src/greenlet.c)
-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/oxygine/greenlets/src/)
-
-
-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-	set(THIRD_PARTY ${CMAKE_CURRENT_SOURCE_DIR}/oxygine/third_party/linux)
-else()
-	set(THIRD_PARTY ${CMAKE_CURRENT_SOURCE_DIR}/oxygine/third_party/win32)
-endif()
-
-
-set(OXYGINE_ROOT_SRC ${CMAKE_CURRENT_SOURCE_DIR}/oxygine/src)
-set(FOLDERS . closure minizip core core/gl dev_tools minizip math pugixml res text_utils utils winnie_alloc)
-foreach(F ${FOLDERS})
-	file(GLOB FLS #RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/
-		${OXYGINE_ROOT_SRC}/${F}/*.cpp
-		${OXYGINE_ROOT_SRC}/${F}/*.c
-		${OXYGINE_ROOT_SRC}/${F}/*.h)
-	set(SOURCES ${SOURCES} ${FLS})
-	source_group(${F} FILES ${FLS})
-endforeach(F)
-
-
-
-set(OXYGINE_INCLUDE_DIRS 
-	${OXYGINE_ROOT_SRC}
-	${SDL2_INCLUDE_DIRS}
-	${THIRD_PARTY}/glew
-	${THIRD_PARTY}/zlib)
-
-include_directories(${OXYGINE_INCLUDE_DIRS})
-
-
-find_package(OpenGL)
-include_directories(
-		${THIRD_PARTY}/libjpeg
-		${THIRD_PARTY}/libpng
-		)
-
-add_definitions(${OXYGINE_DEFINITIONS})
-add_library(oxygine-framework STATIC ${SOURCES})
-
-
-set(OXYGINE_LIBRARY_DIRS
-	${OXYGINE_LIBRARY_DIRS}
-	${OXYGINE_SOURCE_DIR}/libs
-	${THIRD_PARTY}/libraries)
-
-set(OXYGINE_CORE_LIBS 
-	${OXYGINE_CORE_LIBS}
-	oxygine-framework
-	SDL2
-	SDL2main	
-	${OPENGL_LIBRARIES}		
-)
-
-
-if (MSVC)
-	set(OXYGINE_CORE_LIBS
-		${OXYGINE_CORE_LIBS}
-		glew32
-		libpng
-		libjpeg
-		libzlib)
-else(MSVC)
-	set(OXYGINE_CORE_LIBS
-		${OXYGINE_CORE_LIBS}
-		z
-		png
-		jpeg		
-	)
-endif(MSVC)
-
-#foreach(lib ${STATIC_LIB_NAMES})
-#	set(OXYGINE_CORE_LIBS 
-#		${OXYGINE_CORE_LIBS}
-#		${lib}${CMAKE_STATIC_LIBRARY_SUFFIX})
-#endforeach(lib)
-
-
-set(OXYGINE_LIBRARY_DIRS
-	${OXYGINE_LIBRARY_DIRS}
-	PARENT_SCOPE)
-
-set(OXYGINE_CORE_LIBS	
-	${OXYGINE_CORE_LIBS} 
-	PARENT_SCOPE)
-
-set(OXYGINE_DEFINITIONS
-	${OXYGINE_DEFINITIONS}
-	PARENT_SCOPE)
-
-set(OXYGINE_INCLUDE_DIRS
-	${OXYGINE_INCLUDE_DIRS}
-	PARENT_SCOPE)
-

+ 0 - 1828
Doxyfile

@@ -1,1828 +0,0 @@
-# Doxyfile 1.7.6.1
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project
-#
-# All text after a hash (#) is considered a comment and will be ignored
-# The format is:
-#       TAG = value [value, ...]
-# For lists items can also be appended using:
-#       TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (" ")
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file 
-# that follow. The default is UTF-8 which is also the encoding used for all 
-# text before the first occurrence of this tag. Doxygen uses libiconv (or the 
-# iconv built into libc) for the transcoding. See 
-# http://www.gnu.org/software/libiconv for the list of possible encodings.
-
-DOXYFILE_ENCODING      = UTF-8
-
-# The PROJECT_NAME tag is a single word (or sequence of words) that should 
-# identify the project. Note that if you do not use Doxywizard you need 
-# to put quotes around the project name if it contains spaces.
-
-PROJECT_NAME           = Oxygine
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. 
-# This could be handy for archiving the generated documentation or 
-# if some version control system is used.
-
-PROJECT_NUMBER         = 1
-
-# Using the PROJECT_BRIEF tag one can provide an optional one line description 
-# for a project that appears at the top of each page and should give viewer 
-# a quick idea about the purpose of the project. Keep the description short.
-
-PROJECT_BRIEF          = "2g game engine"
-
-# With the PROJECT_LOGO tag one can specify an logo or icon that is 
-# included in the documentation. The maximum height of the logo should not 
-# exceed 55 pixels and the maximum width should not exceed 200 pixels. 
-# Doxygen will copy the logo to the output directory.
-
-PROJECT_LOGO           = 
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
-# base path where the generated documentation will be put. 
-# If a relative path is entered, it will be relative to the location 
-# where doxygen was started. If left blank the current directory will be used.
-
-OUTPUT_DIRECTORY       = doc
-
-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 
-# 4096 sub-directories (in 2 levels) under the output directory of each output 
-# format and will distribute the generated files over these directories. 
-# Enabling this option can be useful when feeding doxygen a huge amount of 
-# source files, where putting all generated files in the same directory would 
-# otherwise cause performance problems for the file system.
-
-CREATE_SUBDIRS         = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all 
-# documentation generated by doxygen is written. Doxygen will use this 
-# information to generate all constant output in the proper language. 
-# The default language is English, other supported languages are: 
-# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, 
-# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, 
-# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English 
-# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, 
-# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, 
-# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
-
-OUTPUT_LANGUAGE        = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 
-# include brief member descriptions after the members that are listed in 
-# the file and class documentation (similar to JavaDoc). 
-# Set to NO to disable this.
-
-BRIEF_MEMBER_DESC      = YES
-
-# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 
-# the brief description of a member or function before the detailed description. 
-# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the 
-# brief descriptions will be completely suppressed.
-
-REPEAT_BRIEF           = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator 
-# that is used to form the text in various listings. Each string 
-# in this list, if found as the leading text of the brief description, will be 
-# stripped from the text and the result after processing the whole list, is 
-# used as the annotated text. Otherwise, the brief description is used as-is. 
-# If left blank, the following values are used ("$name" is automatically 
-# replaced with the name of the entity): "The $name class" "The $name widget" 
-# "The $name file" "is" "provides" "specifies" "contains" 
-# "represents" "a" "an" "the"
-
-ABBREVIATE_BRIEF       = "The $name class" \
-                         "The $name widget" \
-                         "The $name file" \
-                         is \
-                         provides \
-                         specifies \
-                         contains \
-                         represents \
-                         a \
-                         an \
-                         the
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then 
-# Doxygen will generate a detailed section even if there is only a brief 
-# description.
-
-ALWAYS_DETAILED_SEC    = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all 
-# inherited members of a class in the documentation of that class as if those 
-# members were ordinary class members. Constructors, destructors and assignment 
-# operators of the base classes will not be shown.
-
-INLINE_INHERITED_MEMB  = NO
-
-# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full 
-# path before files name in the file list and in the header files. If set 
-# to NO the shortest path that makes the file name unique will be used.
-
-FULL_PATH_NAMES        = YES
-
-# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag 
-# can be used to strip a user-defined part of the path. Stripping is 
-# only done if one of the specified strings matches the left-hand part of 
-# the path. The tag can be used to show relative paths in the file list. 
-# If left blank the directory from which doxygen is run is used as the 
-# path to strip.
-
-STRIP_FROM_PATH        = 
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of 
-# the path mentioned in the documentation of a class, which tells 
-# the reader which header file to include in order to use a class. 
-# If left blank only the name of the header file containing the class 
-# definition is used. Otherwise one should specify the include paths that 
-# are normally passed to the compiler using the -I flag.
-
-STRIP_FROM_INC_PATH    = 
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter 
-# (but less readable) file names. This can be useful if your file system 
-# doesn't support long names like on DOS, Mac, or CD-ROM.
-
-SHORT_NAMES            = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen 
-# will interpret the first line (until the first dot) of a JavaDoc-style 
-# comment as the brief description. If set to NO, the JavaDoc 
-# comments will behave just like regular Qt-style comments 
-# (thus requiring an explicit @brief command for a brief description.)
-
-JAVADOC_AUTOBRIEF      = NO
-
-# If the QT_AUTOBRIEF tag is set to YES then Doxygen will 
-# interpret the first line (until the first dot) of a Qt-style 
-# comment as the brief description. If set to NO, the comments 
-# will behave just like regular Qt-style comments (thus requiring 
-# an explicit \brief command for a brief description.)
-
-QT_AUTOBRIEF           = NO
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen 
-# treat a multi-line C++ special comment block (i.e. a block of //! or /// 
-# comments) as a brief description. This used to be the default behaviour. 
-# The new default is to treat a multi-line C++ comment block as a detailed 
-# description. Set this tag to YES if you prefer the old behaviour instead.
-
-MULTILINE_CPP_IS_BRIEF = NO
-
-# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented 
-# member inherits the documentation from any documented member that it 
-# re-implements.
-
-INHERIT_DOCS           = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce 
-# a new page for each member. If set to NO, the documentation of a member will 
-# be part of the file/class/namespace that contains it.
-
-SEPARATE_MEMBER_PAGES  = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab. 
-# Doxygen uses this value to replace tabs by spaces in code fragments.
-
-TAB_SIZE               = 4
-
-# This tag can be used to specify a number of aliases that acts 
-# as commands in the documentation. An alias has the form "name=value". 
-# For example adding "sideeffect=\par Side Effects:\n" will allow you to 
-# put the command \sideeffect (or @sideeffect) in the documentation, which 
-# will result in a user-defined paragraph with heading "Side Effects:". 
-# You can put \n's in the value part of an alias to insert newlines.
-
-ALIASES                = 
-
-# This tag can be used to specify a number of word-keyword mappings (TCL only). 
-# A mapping has the form "name=value". For example adding 
-# "class=itcl::class" will allow you to use the command class in the 
-# itcl::class meaning.
-
-TCL_SUBST              = 
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C 
-# sources only. Doxygen will then generate output that is more tailored for C. 
-# For instance, some of the names that are used will be different. The list 
-# of all members will be omitted, etc.
-
-OPTIMIZE_OUTPUT_FOR_C  = NO
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java 
-# sources only. Doxygen will then generate output that is more tailored for 
-# Java. For instance, namespaces will be presented as packages, qualified 
-# scopes will look different, etc.
-
-OPTIMIZE_OUTPUT_JAVA   = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran 
-# sources only. Doxygen will then generate output that is more tailored for 
-# Fortran.
-
-OPTIMIZE_FOR_FORTRAN   = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL 
-# sources. Doxygen will then generate output that is tailored for 
-# VHDL.
-
-OPTIMIZE_OUTPUT_VHDL   = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it 
-# parses. With this tag you can assign which parser to use for a given extension. 
-# Doxygen has a built-in mapping, but you can override or extend it using this 
-# tag. The format is ext=language, where ext is a file extension, and language 
-# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C, 
-# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make 
-# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C 
-# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions 
-# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
-
-EXTENSION_MAPPING      = 
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want 
-# to include (a tag file for) the STL sources as input, then you should 
-# set this tag to YES in order to let doxygen match functions declarations and 
-# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. 
-# func(std::string) {}). This also makes the inheritance and collaboration 
-# diagrams that involve STL classes more complete and accurate.
-
-BUILTIN_STL_SUPPORT    = NO
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to 
-# enable parsing support.
-
-CPP_CLI_SUPPORT        = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. 
-# Doxygen will parse them like normal C++ but will assume all classes use public 
-# instead of private inheritance when no explicit protection keyword is present.
-
-SIP_SUPPORT            = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate getter 
-# and setter methods for a property. Setting this option to YES (the default) 
-# will make doxygen replace the get and set methods by a property in the 
-# documentation. This will only work if the methods are indeed getting or 
-# setting a simple type. If this is not the case, or you want to show the 
-# methods anyway, you should set this option to NO.
-
-IDL_PROPERTY_SUPPORT   = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC 
-# tag is set to YES, then doxygen will reuse the documentation of the first 
-# member in the group (if any) for the other members of the group. By default 
-# all members of a group must be documented explicitly.
-
-DISTRIBUTE_GROUP_DOC   = NO
-
-# Set the SUBGROUPING tag to YES (the default) to allow class member groups of 
-# the same type (for instance a group of public functions) to be put as a 
-# subgroup of that type (e.g. under the Public Functions section). Set it to 
-# NO to prevent subgrouping. Alternatively, this can be done per class using 
-# the \nosubgrouping command.
-
-SUBGROUPING            = YES
-
-# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and 
-# unions are shown inside the group in which they are included (e.g. using 
-# @ingroup) instead of on a separate page (for HTML and Man pages) or 
-# section (for LaTeX and RTF).
-
-INLINE_GROUPED_CLASSES = NO
-
-# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and 
-# unions with only public data fields will be shown inline in the documentation 
-# of the scope in which they are defined (i.e. file, namespace, or group 
-# documentation), provided this scope is documented. If set to NO (the default), 
-# structs, classes, and unions are shown on a separate page (for HTML and Man 
-# pages) or section (for LaTeX and RTF).
-
-INLINE_SIMPLE_STRUCTS  = NO
-
-# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum 
-# is documented as struct, union, or enum with the name of the typedef. So 
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct 
-# with name TypeT. When disabled the typedef will appear as a member of a file, 
-# namespace, or class. And the struct will be named TypeS. This can typically 
-# be useful for C code in case the coding convention dictates that all compound 
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-
-TYPEDEF_HIDES_STRUCT   = NO
-
-# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to 
-# determine which symbols to keep in memory and which to flush to disk. 
-# When the cache is full, less often used symbols will be written to disk. 
-# For small to medium size projects (<1000 input files) the default value is 
-# probably good enough. For larger projects a too small cache size can cause 
-# doxygen to be busy swapping symbols to and from disk most of the time 
-# causing a significant performance penalty. 
-# If the system has enough physical memory increasing the cache will improve the 
-# performance by keeping more symbols in memory. Note that the value works on 
-# a logarithmic scale so increasing the size by one will roughly double the 
-# memory usage. The cache size is given by this formula: 
-# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 
-# corresponding to a cache size of 2^16 = 65536 symbols.
-
-SYMBOL_CACHE_SIZE      = 0
-
-# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be 
-# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given 
-# their name and scope. Since this can be an expensive process and often the 
-# same symbol appear multiple times in the code, doxygen keeps a cache of 
-# pre-resolved symbols. If the cache is too small doxygen will become slower. 
-# If the cache is too large, memory is wasted. The cache size is given by this 
-# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0, 
-# corresponding to a cache size of 2^16 = 65536 symbols.
-
-LOOKUP_CACHE_SIZE      = 0
-
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in 
-# documentation are documented, even if no documentation was available. 
-# Private class members and static file members will be hidden unless 
-# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
-
-EXTRACT_ALL            = NO
-
-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class 
-# will be included in the documentation.
-
-EXTRACT_PRIVATE        = NO
-
-# If the EXTRACT_STATIC tag is set to YES all static members of a file 
-# will be included in the documentation.
-
-EXTRACT_STATIC         = NO
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) 
-# defined locally in source files will be included in the documentation. 
-# If set to NO only classes defined in header files are included.
-
-EXTRACT_LOCAL_CLASSES  = YES
-
-# This flag is only useful for Objective-C code. When set to YES local 
-# methods, which are defined in the implementation section but not in 
-# the interface are included in the documentation. 
-# If set to NO (the default) only methods in the interface are included.
-
-EXTRACT_LOCAL_METHODS  = NO
-
-# If this flag is set to YES, the members of anonymous namespaces will be 
-# extracted and appear in the documentation as a namespace called 
-# 'anonymous_namespace{file}', where file will be replaced with the base 
-# name of the file that contains the anonymous namespace. By default 
-# anonymous namespaces are hidden.
-
-EXTRACT_ANON_NSPACES   = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all 
-# undocumented members of documented classes, files or namespaces. 
-# If set to NO (the default) these members will be included in the 
-# various overviews, but no documentation section is generated. 
-# This option has no effect if EXTRACT_ALL is enabled.
-
-HIDE_UNDOC_MEMBERS     = NO
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all 
-# undocumented classes that are normally visible in the class hierarchy. 
-# If set to NO (the default) these classes will be included in the various 
-# overviews. This option has no effect if EXTRACT_ALL is enabled.
-
-HIDE_UNDOC_CLASSES     = NO
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all 
-# friend (class|struct|union) declarations. 
-# If set to NO (the default) these declarations will be included in the 
-# documentation.
-
-HIDE_FRIEND_COMPOUNDS  = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any 
-# documentation blocks found inside the body of a function. 
-# If set to NO (the default) these blocks will be appended to the 
-# function's detailed documentation block.
-
-HIDE_IN_BODY_DOCS      = NO
-
-# The INTERNAL_DOCS tag determines if documentation 
-# that is typed after a \internal command is included. If the tag is set 
-# to NO (the default) then the documentation will be excluded. 
-# Set it to YES to include the internal documentation.
-
-INTERNAL_DOCS          = NO
-
-# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate 
-# file names in lower-case letters. If set to YES upper-case letters are also 
-# allowed. This is useful if you have classes or files whose names only differ 
-# in case and if your file system supports case sensitive file names. Windows 
-# and Mac users are advised to set this option to NO.
-
-CASE_SENSE_NAMES       = NO
-
-# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen 
-# will show members with their full class and namespace scopes in the 
-# documentation. If set to YES the scope will be hidden.
-
-HIDE_SCOPE_NAMES       = NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen 
-# will put a list of the files that are included by a file in the documentation 
-# of that file.
-
-SHOW_INCLUDE_FILES     = YES
-
-# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen 
-# will list include files with double quotes in the documentation 
-# rather than with sharp brackets.
-
-FORCE_LOCAL_INCLUDES   = NO
-
-# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] 
-# is inserted in the documentation for inline members.
-
-INLINE_INFO            = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen 
-# will sort the (detailed) documentation of file and class members 
-# alphabetically by member name. If set to NO the members will appear in 
-# declaration order.
-
-SORT_MEMBER_DOCS       = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the 
-# brief documentation of file, namespace and class members alphabetically 
-# by member name. If set to NO (the default) the members will appear in 
-# declaration order.
-
-SORT_BRIEF_DOCS        = NO
-
-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen 
-# will sort the (brief and detailed) documentation of class members so that 
-# constructors and destructors are listed first. If set to NO (the default) 
-# the constructors will appear in the respective orders defined by 
-# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. 
-# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO 
-# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
-
-SORT_MEMBERS_CTORS_1ST = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the 
-# hierarchy of group names into alphabetical order. If set to NO (the default) 
-# the group names will appear in their defined order.
-
-SORT_GROUP_NAMES       = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be 
-# sorted by fully-qualified names, including namespaces. If set to 
-# NO (the default), the class list will be sorted only by class name, 
-# not including the namespace part. 
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. 
-# Note: This option applies only to the class list, not to the 
-# alphabetical list.
-
-SORT_BY_SCOPE_NAME     = NO
-
-# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to 
-# do proper type resolution of all parameters of a function it will reject a 
-# match between the prototype and the implementation of a member function even 
-# if there is only one candidate or it is obvious which candidate to choose 
-# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen 
-# will still accept a match between prototype and implementation in such cases.
-
-STRICT_PROTO_MATCHING  = NO
-
-# The GENERATE_TODOLIST tag can be used to enable (YES) or 
-# disable (NO) the todo list. This list is created by putting \todo 
-# commands in the documentation.
-
-GENERATE_TODOLIST      = YES
-
-# The GENERATE_TESTLIST tag can be used to enable (YES) or 
-# disable (NO) the test list. This list is created by putting \test 
-# commands in the documentation.
-
-GENERATE_TESTLIST      = YES
-
-# The GENERATE_BUGLIST tag can be used to enable (YES) or 
-# disable (NO) the bug list. This list is created by putting \bug 
-# commands in the documentation.
-
-GENERATE_BUGLIST       = YES
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or 
-# disable (NO) the deprecated list. This list is created by putting 
-# \deprecated commands in the documentation.
-
-GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional 
-# documentation sections, marked by \if sectionname ... \endif.
-
-ENABLED_SECTIONS       = 
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines 
-# the initial value of a variable or macro consists of for it to appear in 
-# the documentation. If the initializer consists of more lines than specified 
-# here it will be hidden. Use a value of 0 to hide initializers completely. 
-# The appearance of the initializer of individual variables and macros in the 
-# documentation can be controlled using \showinitializer or \hideinitializer 
-# command in the documentation regardless of this setting.
-
-MAX_INITIALIZER_LINES  = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated 
-# at the bottom of the documentation of classes and structs. If set to YES the 
-# list will mention the files that were used to generate the documentation.
-
-SHOW_USED_FILES        = YES
-
-# If the sources in your project are distributed over multiple directories 
-# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy 
-# in the documentation. The default is NO.
-
-SHOW_DIRECTORIES       = NO
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page. 
-# This will remove the Files entry from the Quick Index and from the 
-# Folder Tree View (if specified). The default is YES.
-
-SHOW_FILES             = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the 
-# Namespaces page.  This will remove the Namespaces entry from the Quick Index 
-# and from the Folder Tree View (if specified). The default is YES.
-
-SHOW_NAMESPACES        = YES
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that 
-# doxygen should invoke to get the current version for each file (typically from 
-# the version control system). Doxygen will invoke the program by executing (via 
-# popen()) the command <command> <input-file>, where <command> is the value of 
-# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file 
-# provided by doxygen. Whatever the program writes to standard output 
-# is used as the file version. See the manual for examples.
-
-FILE_VERSION_FILTER    = 
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed 
-# by doxygen. The layout file controls the global structure of the generated 
-# output files in an output format independent way. The create the layout file 
-# that represents doxygen's defaults, run doxygen with the -l option. 
-# You can optionally specify a file name after the option, if omitted 
-# DoxygenLayout.xml will be used as the name of the layout file.
-
-LAYOUT_FILE            = 
-
-# The CITE_BIB_FILES tag can be used to specify one or more bib files 
-# containing the references data. This must be a list of .bib files. The 
-# .bib extension is automatically appended if omitted. Using this command 
-# requires the bibtex tool to be installed. See also 
-# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style 
-# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this 
-# feature you need bibtex and perl available in the search path.
-
-CITE_BIB_FILES         = 
-
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated 
-# by doxygen. Possible values are YES and NO. If left blank NO is used.
-
-QUIET                  = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are 
-# generated by doxygen. Possible values are YES and NO. If left blank 
-# NO is used.
-
-WARNINGS               = YES
-
-# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings 
-# for undocumented members. If EXTRACT_ALL is set to YES then this flag will 
-# automatically be disabled.
-
-WARN_IF_UNDOCUMENTED   = YES
-
-# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for 
-# potential errors in the documentation, such as not documenting some 
-# parameters in a documented function, or documenting parameters that 
-# don't exist or using markup commands wrongly.
-
-WARN_IF_DOC_ERROR      = YES
-
-# The WARN_NO_PARAMDOC option can be enabled to get warnings for 
-# functions that are documented, but have no documentation for their parameters 
-# or return value. If set to NO (the default) doxygen will only warn about 
-# wrong or incomplete parameter documentation, but not about the absence of 
-# documentation.
-
-WARN_NO_PARAMDOC       = NO
-
-# The WARN_FORMAT tag determines the format of the warning messages that 
-# doxygen can produce. The string should contain the $file, $line, and $text 
-# tags, which will be replaced by the file and line number from which the 
-# warning originated and the warning text. Optionally the format may contain 
-# $version, which will be replaced by the version of the file (if it could 
-# be obtained via FILE_VERSION_FILTER)
-
-WARN_FORMAT            = "$file:$line: $text"
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning 
-# and error messages should be written. If left blank the output is written 
-# to stderr.
-
-WARN_LOGFILE           = 
-
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-
-# The INPUT tag can be used to specify the files and/or directories that contain 
-# documented source files. You may enter file names like "myfile.cpp" or 
-# directories like "/usr/src/myproject". Separate the files or directories 
-# with spaces.
-
-INPUT                  = oxygine/src
-
-# This tag can be used to specify the character encoding of the source files 
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is 
-# also the default input encoding. Doxygen uses libiconv (or the iconv built 
-# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for 
-# the list of possible encodings.
-
-INPUT_ENCODING         = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the 
-# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
-# and *.h) to filter out the source-files in the directories. If left 
-# blank the following patterns are tested: 
-# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh 
-# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py 
-# *.f90 *.f *.for *.vhd *.vhdl
-
-FILE_PATTERNS          = *.cc \
-                         *.cxx \
-                         *.c++ \
-                         *.d \
-                         *.java \
-                         *.ii \
-                         *.ixx \
-                         *.ipp \
-                         *.i++ \
-                         *.inl \
-                         *.h \
-                         *.hh \
-                         *.hxx \
-                         *.hpp \
-                         *.h++ \
-                         *.idl \
-                         *.odl \
-                         *.cs \
-                         *.php \
-                         *.php3 \
-                         *.inc \
-                         *.m \
-                         *.mm \
-                         *.dox \
-                         *.py \
-                         *.f90 \
-                         *.f \
-                         *.for \
-                         *.vhd \
-                         *.vhdl
-
-# The RECURSIVE tag can be used to turn specify whether or not subdirectories 
-# should be searched for input files as well. Possible values are YES and NO. 
-# If left blank NO is used.
-
-RECURSIVE              = YES
-
-# The EXCLUDE tag can be used to specify files and/or directories that should be 
-# excluded from the INPUT source files. This way you can easily exclude a 
-# subdirectory from a directory tree whose root is specified with the INPUT tag. 
-# Note that relative paths are relative to the directory from which doxygen is 
-# run.
-
-EXCLUDE                = oxygine/src/text_utils/ \
-                         oxygine/src/test/
-
-# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or 
-# directories that are symbolic links (a Unix file system feature) are excluded 
-# from the input.
-
-EXCLUDE_SYMLINKS       = NO
-
-# If the value of the INPUT tag contains directories, you can use the 
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude 
-# certain files from those directories. Note that the wildcards are matched 
-# against the file with absolute path, so to exclude all test directories 
-# for example use the pattern */test/*
-
-EXCLUDE_PATTERNS       = 
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names 
-# (namespaces, classes, functions, etc.) that should be excluded from the 
-# output. The symbol name can be a fully qualified name, a word, or if the 
-# wildcard * is used, a substring. Examples: ANamespace, AClass, 
-# AClass::ANamespace, ANamespace::*Test
-
-EXCLUDE_SYMBOLS        = detail:* \
-                         pugi:* \
-                         Closure \
-                         AffineTransformT \
-                         GetSet \
-                         Pixel* \
-                         xml_string_writer \
-                         DrawContext \
-                         glPixel \
-                         glyph \
-                         PVR_Texture_Header \
-                         TextTest \
-						 Winnie \
-						 TreeInspectorPreview \
-						 TreeInspectorLine \
-						 TreeInspectorPage
-						 
-
-# The EXAMPLE_PATH tag can be used to specify one or more files or 
-# directories that contain example code fragments that are included (see 
-# the \include command).
-
-EXAMPLE_PATH           = 
-
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the 
-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
-# and *.h) to filter out the source-files in the directories. If left 
-# blank all files are included.
-
-EXAMPLE_PATTERNS       = *
-
-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be 
-# searched for input files to be used with the \include or \dontinclude 
-# commands irrespective of the value of the RECURSIVE tag. 
-# Possible values are YES and NO. If left blank NO is used.
-
-EXAMPLE_RECURSIVE      = NO
-
-# The IMAGE_PATH tag can be used to specify one or more files or 
-# directories that contain image that are included in the documentation (see 
-# the \image command).
-
-IMAGE_PATH             = 
-
-# The INPUT_FILTER tag can be used to specify a program that doxygen should 
-# invoke to filter for each input file. Doxygen will invoke the filter program 
-# by executing (via popen()) the command <filter> <input-file>, where <filter> 
-# is the value of the INPUT_FILTER tag, and <input-file> is the name of an 
-# input file. Doxygen will then use the output that the filter program writes 
-# to standard output.  If FILTER_PATTERNS is specified, this tag will be 
-# ignored.
-
-INPUT_FILTER           = 
-
-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern 
-# basis.  Doxygen will compare the file name with each pattern and apply the 
-# filter if there is a match.  The filters are a list of the form: 
-# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further 
-# info on how filters are used. If FILTER_PATTERNS is empty or if 
-# non of the patterns match the file name, INPUT_FILTER is applied.
-
-FILTER_PATTERNS        = 
-
-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using 
-# INPUT_FILTER) will be used to filter the input files when producing source 
-# files to browse (i.e. when SOURCE_BROWSER is set to YES).
-
-FILTER_SOURCE_FILES    = NO
-
-# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file 
-# pattern. A pattern will override the setting for FILTER_PATTERN (if any) 
-# and it is also possible to disable source filtering for a specific pattern 
-# using *.ext= (so without naming a filter). This option only has effect when 
-# FILTER_SOURCE_FILES is enabled.
-
-FILTER_SOURCE_PATTERNS = 
-
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-
-# If the SOURCE_BROWSER tag is set to YES then a list of source files will 
-# be generated. Documented entities will be cross-referenced with these sources. 
-# Note: To get rid of all source code in the generated output, make sure also 
-# VERBATIM_HEADERS is set to NO.
-
-SOURCE_BROWSER         = NO
-
-# Setting the INLINE_SOURCES tag to YES will include the body 
-# of functions and classes directly in the documentation.
-
-INLINE_SOURCES         = NO
-
-# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct 
-# doxygen to hide any special comment blocks from generated source code 
-# fragments. Normal C and C++ comments will always remain visible.
-
-STRIP_CODE_COMMENTS    = YES
-
-# If the REFERENCED_BY_RELATION tag is set to YES 
-# then for each documented function all documented 
-# functions referencing it will be listed.
-
-REFERENCED_BY_RELATION = NO
-
-# If the REFERENCES_RELATION tag is set to YES 
-# then for each documented function all documented entities 
-# called/used by that function will be listed.
-
-REFERENCES_RELATION    = NO
-
-# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) 
-# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from 
-# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will 
-# link to the source code.  Otherwise they will link to the documentation.
-
-REFERENCES_LINK_SOURCE = YES
-
-# If the USE_HTAGS tag is set to YES then the references to source code 
-# will point to the HTML generated by the htags(1) tool instead of doxygen 
-# built-in source browser. The htags tool is part of GNU's global source 
-# tagging system (see http://www.gnu.org/software/global/global.html). You 
-# will need version 4.8.6 or higher.
-
-USE_HTAGS              = NO
-
-# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen 
-# will generate a verbatim copy of the header file for each class for 
-# which an include is specified. Set to NO to disable this.
-
-VERBATIM_HEADERS       = YES
-
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-
-# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index 
-# of all compounds will be generated. Enable this if the project 
-# contains a lot of classes, structs, unions or interfaces.
-
-ALPHABETICAL_INDEX     = YES
-
-# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then 
-# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns 
-# in which this list will be split (can be a number in the range [1..20])
-
-COLS_IN_ALPHA_INDEX    = 5
-
-# In case all classes in a project start with a common prefix, all 
-# classes will be put under the same header in the alphabetical index. 
-# The IGNORE_PREFIX tag can be used to specify one or more prefixes that 
-# should be ignored while generating the index headers.
-
-IGNORE_PREFIX          = 
-
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_HTML tag is set to YES (the default) Doxygen will 
-# generate HTML output.
-
-GENERATE_HTML          = YES
-
-# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. 
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
-# put in front of it. If left blank `html' will be used as the default path.
-
-HTML_OUTPUT            = html
-
-# The HTML_FILE_EXTENSION tag can be used to specify the file extension for 
-# each generated HTML page (for example: .htm,.php,.asp). If it is left blank 
-# doxygen will generate files with .html extension.
-
-HTML_FILE_EXTENSION    = .html
-
-# The HTML_HEADER tag can be used to specify a personal HTML header for 
-# each generated HTML page. If it is left blank doxygen will generate a 
-# standard header. Note that when using a custom header you are responsible  
-# for the proper inclusion of any scripts and style sheets that doxygen 
-# needs, which is dependent on the configuration options used. 
-# It is advised to generate a default header using "doxygen -w html 
-# header.html footer.html stylesheet.css YourConfigFile" and then modify 
-# that header. Note that the header is subject to change so you typically 
-# have to redo this when upgrading to a newer version of doxygen or when 
-# changing the value of configuration settings such as GENERATE_TREEVIEW!
-
-HTML_HEADER            = 
-
-# The HTML_FOOTER tag can be used to specify a personal HTML footer for 
-# each generated HTML page. If it is left blank doxygen will generate a 
-# standard footer.
-
-HTML_FOOTER            = 
-
-# The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
-# style sheet that is used by each HTML page. It can be used to 
-# fine-tune the look of the HTML output. If the tag is left blank doxygen 
-# will generate a default style sheet. Note that doxygen will try to copy 
-# the style sheet file to the HTML output directory, so don't put your own 
-# style sheet in the HTML output directory as well, or it will be erased!
-
-HTML_STYLESHEET        = 
-
-# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or 
-# other source files which should be copied to the HTML output directory. Note 
-# that these files will be copied to the base HTML output directory. Use the 
-# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these 
-# files. In the HTML_STYLESHEET file, use the file name only. Also note that 
-# the files will be copied as-is; there are no commands or markers available.
-
-HTML_EXTRA_FILES       = 
-
-# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. 
-# Doxygen will adjust the colors in the style sheet and background images 
-# according to this color. Hue is specified as an angle on a colorwheel, 
-# see http://en.wikipedia.org/wiki/Hue for more information. 
-# For instance the value 0 represents red, 60 is yellow, 120 is green, 
-# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. 
-# The allowed range is 0 to 359.
-
-HTML_COLORSTYLE_HUE    = 220
-
-# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of 
-# the colors in the HTML output. For a value of 0 the output will use 
-# grayscales only. A value of 255 will produce the most vivid colors.
-
-HTML_COLORSTYLE_SAT    = 100
-
-# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to 
-# the luminance component of the colors in the HTML output. Values below 
-# 100 gradually make the output lighter, whereas values above 100 make 
-# the output darker. The value divided by 100 is the actual gamma applied, 
-# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, 
-# and 100 does not change the gamma.
-
-HTML_COLORSTYLE_GAMMA  = 80
-
-# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML 
-# page will contain the date and time when the page was generated. Setting 
-# this to NO can help when comparing the output of multiple runs.
-
-HTML_TIMESTAMP         = YES
-
-# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, 
-# files or namespaces will be aligned in HTML using tables. If set to 
-# NO a bullet list will be used.
-
-HTML_ALIGN_MEMBERS     = YES
-
-# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML 
-# documentation will contain sections that can be hidden and shown after the 
-# page has loaded. For this to work a browser that supports 
-# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox 
-# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
-
-HTML_DYNAMIC_SECTIONS  = NO
-
-# If the GENERATE_DOCSET tag is set to YES, additional index files 
-# will be generated that can be used as input for Apple's Xcode 3 
-# integrated development environment, introduced with OSX 10.5 (Leopard). 
-# To create a documentation set, doxygen will generate a Makefile in the 
-# HTML output directory. Running make will produce the docset in that 
-# directory and running "make install" will install the docset in 
-# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find 
-# it at startup. 
-# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html 
-# for more information.
-
-GENERATE_DOCSET        = NO
-
-# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the 
-# feed. A documentation feed provides an umbrella under which multiple 
-# documentation sets from a single provider (such as a company or product suite) 
-# can be grouped.
-
-DOCSET_FEEDNAME        = "Doxygen generated docs"
-
-# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that 
-# should uniquely identify the documentation set bundle. This should be a 
-# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen 
-# will append .docset to the name.
-
-DOCSET_BUNDLE_ID       = org.doxygen.Project
-
-# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify 
-# the documentation publisher. This should be a reverse domain-name style 
-# string, e.g. com.mycompany.MyDocSet.documentation.
-
-DOCSET_PUBLISHER_ID    = org.doxygen.Publisher
-
-# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
-
-DOCSET_PUBLISHER_NAME  = Publisher
-
-# If the GENERATE_HTMLHELP tag is set to YES, additional index files 
-# will be generated that can be used as input for tools like the 
-# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) 
-# of the generated HTML documentation.
-
-GENERATE_HTMLHELP      = NO
-
-# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can 
-# be used to specify the file name of the resulting .chm file. You 
-# can add a path in front of the file if the result should not be 
-# written to the html output directory.
-
-CHM_FILE               = 
-
-# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can 
-# be used to specify the location (absolute path including file name) of 
-# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run 
-# the HTML help compiler on the generated index.hhp.
-
-HHC_LOCATION           = 
-
-# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag 
-# controls if a separate .chi index file is generated (YES) or that 
-# it should be included in the master .chm file (NO).
-
-GENERATE_CHI           = NO
-
-# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING 
-# is used to encode HtmlHelp index (hhk), content (hhc) and project file 
-# content.
-
-CHM_INDEX_ENCODING     = 
-
-# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag 
-# controls whether a binary table of contents is generated (YES) or a 
-# normal table of contents (NO) in the .chm file.
-
-BINARY_TOC             = NO
-
-# The TOC_EXPAND flag can be set to YES to add extra items for group members 
-# to the contents of the HTML help documentation and to the tree view.
-
-TOC_EXPAND             = NO
-
-# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and 
-# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated 
-# that can be used as input for Qt's qhelpgenerator to generate a 
-# Qt Compressed Help (.qch) of the generated HTML documentation.
-
-GENERATE_QHP           = NO
-
-# If the QHG_LOCATION tag is specified, the QCH_FILE tag can 
-# be used to specify the file name of the resulting .qch file. 
-# The path specified is relative to the HTML output folder.
-
-QCH_FILE               = 
-
-# The QHP_NAMESPACE tag specifies the namespace to use when generating 
-# Qt Help Project output. For more information please see 
-# http://doc.trolltech.com/qthelpproject.html#namespace
-
-QHP_NAMESPACE          = org.doxygen.Project
-
-# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating 
-# Qt Help Project output. For more information please see 
-# http://doc.trolltech.com/qthelpproject.html#virtual-folders
-
-QHP_VIRTUAL_FOLDER     = doc
-
-# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to 
-# add. For more information please see 
-# http://doc.trolltech.com/qthelpproject.html#custom-filters
-
-QHP_CUST_FILTER_NAME   = 
-
-# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the 
-# custom filter to add. For more information please see 
-# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters"> 
-# Qt Help Project / Custom Filters</a>.
-
-QHP_CUST_FILTER_ATTRS  = 
-
-# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this 
-# project's 
-# filter section matches. 
-# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes"> 
-# Qt Help Project / Filter Attributes</a>.
-
-QHP_SECT_FILTER_ATTRS  = 
-
-# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can 
-# be used to specify the location of Qt's qhelpgenerator. 
-# If non-empty doxygen will try to run qhelpgenerator on the generated 
-# .qhp file.
-
-QHG_LOCATION           = 
-
-# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files  
-# will be generated, which together with the HTML files, form an Eclipse help 
-# plugin. To install this plugin and make it available under the help contents 
-# menu in Eclipse, the contents of the directory containing the HTML and XML 
-# files needs to be copied into the plugins directory of eclipse. The name of 
-# the directory within the plugins directory should be the same as 
-# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before 
-# the help appears.
-
-GENERATE_ECLIPSEHELP   = NO
-
-# A unique identifier for the eclipse help plugin. When installing the plugin 
-# the directory name containing the HTML and XML files should also have 
-# this name.
-
-ECLIPSE_DOC_ID         = org.doxygen.Project
-
-# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) 
-# at top of each HTML page. The value NO (the default) enables the index and 
-# the value YES disables it. Since the tabs have the same information as the 
-# navigation tree you can set this option to NO if you already set 
-# GENERATE_TREEVIEW to YES.
-
-DISABLE_INDEX          = NO
-
-# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index 
-# structure should be generated to display hierarchical information. 
-# If the tag value is set to YES, a side panel will be generated 
-# containing a tree-like index structure (just like the one that 
-# is generated for HTML Help). For this to work a browser that supports 
-# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). 
-# Windows users are probably better off using the HTML help feature. 
-# Since the tree basically has the same information as the tab index you 
-# could consider to set DISABLE_INDEX to NO when enabling this option.
-
-GENERATE_TREEVIEW      = NO
-
-# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values 
-# (range [0,1..20]) that doxygen will group on one line in the generated HTML 
-# documentation. Note that a value of 0 will completely suppress the enum 
-# values from appearing in the overview section.
-
-ENUM_VALUES_PER_LINE   = 4
-
-# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, 
-# and Class Hierarchy pages using a tree view instead of an ordered list.
-
-USE_INLINE_TREES       = NO
-
-# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be 
-# used to set the initial width (in pixels) of the frame in which the tree 
-# is shown.
-
-TREEVIEW_WIDTH         = 250
-
-# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open 
-# links to external symbols imported via tag files in a separate window.
-
-EXT_LINKS_IN_WINDOW    = NO
-
-# Use this tag to change the font size of Latex formulas included 
-# as images in the HTML documentation. The default is 10. Note that 
-# when you change the font size after a successful doxygen run you need 
-# to manually remove any form_*.png images from the HTML output directory 
-# to force them to be regenerated.
-
-FORMULA_FONTSIZE       = 10
-
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images 
-# generated for formulas are transparent PNGs. Transparent PNGs are 
-# not supported properly for IE 6.0, but are supported on all modern browsers. 
-# Note that when changing this option you need to delete any form_*.png files 
-# in the HTML output before the changes have effect.
-
-FORMULA_TRANSPARENT    = YES
-
-# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax 
-# (see http://www.mathjax.org) which uses client side Javascript for the 
-# rendering instead of using prerendered bitmaps. Use this if you do not 
-# have LaTeX installed or if you want to formulas look prettier in the HTML 
-# output. When enabled you also need to install MathJax separately and 
-# configure the path to it using the MATHJAX_RELPATH option.
-
-USE_MATHJAX            = NO
-
-# When MathJax is enabled you need to specify the location relative to the 
-# HTML output directory using the MATHJAX_RELPATH option. The destination 
-# directory should contain the MathJax.js script. For instance, if the mathjax 
-# directory is located at the same level as the HTML output directory, then 
-# MATHJAX_RELPATH should be ../mathjax. The default value points to the 
-# mathjax.org site, so you can quickly see the result without installing 
-# MathJax, but it is strongly recommended to install a local copy of MathJax 
-# before deployment.
-
-MATHJAX_RELPATH        = http://www.mathjax.org/mathjax
-
-# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension 
-# names that should be enabled during MathJax rendering.
-
-MATHJAX_EXTENSIONS     = 
-
-# When the SEARCHENGINE tag is enabled doxygen will generate a search box 
-# for the HTML output. The underlying search engine uses javascript 
-# and DHTML and should work on any modern browser. Note that when using 
-# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets 
-# (GENERATE_DOCSET) there is already a search function so this one should 
-# typically be disabled. For large projects the javascript based search engine 
-# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
-
-SEARCHENGINE           = YES
-
-# When the SERVER_BASED_SEARCH tag is enabled the search engine will be 
-# implemented using a PHP enabled web server instead of at the web client 
-# using Javascript. Doxygen will generate the search PHP script and index 
-# file to put on the web server. The advantage of the server 
-# based approach is that it scales better to large projects and allows 
-# full text search. The disadvantages are that it is more difficult to setup 
-# and does not have live searching capabilities.
-
-SERVER_BASED_SEARCH    = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will 
-# generate Latex output.
-
-GENERATE_LATEX         = NO
-
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. 
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
-# put in front of it. If left blank `latex' will be used as the default path.
-
-LATEX_OUTPUT           = latex
-
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be 
-# invoked. If left blank `latex' will be used as the default command name. 
-# Note that when enabling USE_PDFLATEX this option is only used for 
-# generating bitmaps for formulas in the HTML output, but not in the 
-# Makefile that is written to the output directory.
-
-LATEX_CMD_NAME         = latex
-
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to 
-# generate index for LaTeX. If left blank `makeindex' will be used as the 
-# default command name.
-
-MAKEINDEX_CMD_NAME     = makeindex
-
-# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact 
-# LaTeX documents. This may be useful for small projects and may help to 
-# save some trees in general.
-
-COMPACT_LATEX          = NO
-
-# The PAPER_TYPE tag can be used to set the paper type that is used 
-# by the printer. Possible values are: a4, letter, legal and 
-# executive. If left blank a4wide will be used.
-
-PAPER_TYPE             = a4
-
-# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX 
-# packages that should be included in the LaTeX output.
-
-EXTRA_PACKAGES         = 
-
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for 
-# the generated latex document. The header should contain everything until 
-# the first chapter. If it is left blank doxygen will generate a 
-# standard header. Notice: only use this tag if you know what you are doing!
-
-LATEX_HEADER           = 
-
-# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for 
-# the generated latex document. The footer should contain everything after 
-# the last chapter. If it is left blank doxygen will generate a 
-# standard footer. Notice: only use this tag if you know what you are doing!
-
-LATEX_FOOTER           = 
-
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated 
-# is prepared for conversion to pdf (using ps2pdf). The pdf file will 
-# contain links (just like the HTML output) instead of page references 
-# This makes the output suitable for online browsing using a pdf viewer.
-
-PDF_HYPERLINKS         = YES
-
-# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of 
-# plain latex in the generated Makefile. Set this option to YES to get a 
-# higher quality PDF documentation.
-
-USE_PDFLATEX           = YES
-
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. 
-# command to the generated LaTeX files. This will instruct LaTeX to keep 
-# running if errors occur, instead of asking the user for help. 
-# This option is also used when generating formulas in HTML.
-
-LATEX_BATCHMODE        = NO
-
-# If LATEX_HIDE_INDICES is set to YES then doxygen will not 
-# include the index chapters (such as File Index, Compound Index, etc.) 
-# in the output.
-
-LATEX_HIDE_INDICES     = NO
-
-# If LATEX_SOURCE_CODE is set to YES then doxygen will include 
-# source code with syntax highlighting in the LaTeX output. 
-# Note that which sources are shown also depends on other settings 
-# such as SOURCE_BROWSER.
-
-LATEX_SOURCE_CODE      = NO
-
-# The LATEX_BIB_STYLE tag can be used to specify the style to use for the 
-# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See 
-# http://en.wikipedia.org/wiki/BibTeX for more info.
-
-LATEX_BIB_STYLE        = plain
-
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output 
-# The RTF output is optimized for Word 97 and may not look very pretty with 
-# other RTF readers or editors.
-
-GENERATE_RTF           = NO
-
-# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. 
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
-# put in front of it. If left blank `rtf' will be used as the default path.
-
-RTF_OUTPUT             = rtf
-
-# If the COMPACT_RTF tag is set to YES Doxygen generates more compact 
-# RTF documents. This may be useful for small projects and may help to 
-# save some trees in general.
-
-COMPACT_RTF            = NO
-
-# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated 
-# will contain hyperlink fields. The RTF file will 
-# contain links (just like the HTML output) instead of page references. 
-# This makes the output suitable for online browsing using WORD or other 
-# programs which support those fields. 
-# Note: wordpad (write) and others do not support links.
-
-RTF_HYPERLINKS         = NO
-
-# Load style sheet definitions from file. Syntax is similar to doxygen's 
-# config file, i.e. a series of assignments. You only have to provide 
-# replacements, missing definitions are set to their default value.
-
-RTF_STYLESHEET_FILE    = 
-
-# Set optional variables used in the generation of an rtf document. 
-# Syntax is similar to doxygen's config file.
-
-RTF_EXTENSIONS_FILE    = 
-
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_MAN tag is set to YES (the default) Doxygen will 
-# generate man pages
-
-GENERATE_MAN           = NO
-
-# The MAN_OUTPUT tag is used to specify where the man pages will be put. 
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
-# put in front of it. If left blank `man' will be used as the default path.
-
-MAN_OUTPUT             = man
-
-# The MAN_EXTENSION tag determines the extension that is added to 
-# the generated man pages (default is the subroutine's section .3)
-
-MAN_EXTENSION          = .3
-
-# If the MAN_LINKS tag is set to YES and Doxygen generates man output, 
-# then it will generate one additional man file for each entity 
-# documented in the real man page(s). These additional files 
-# only source the real man page, but without them the man command 
-# would be unable to find the correct page. The default is NO.
-
-MAN_LINKS              = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_XML tag is set to YES Doxygen will 
-# generate an XML file that captures the structure of 
-# the code including all documentation.
-
-GENERATE_XML           = NO
-
-# The XML_OUTPUT tag is used to specify where the XML pages will be put. 
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
-# put in front of it. If left blank `xml' will be used as the default path.
-
-XML_OUTPUT             = xml
-
-# The XML_SCHEMA tag can be used to specify an XML schema, 
-# which can be used by a validating XML parser to check the 
-# syntax of the XML files.
-
-XML_SCHEMA             = 
-
-# The XML_DTD tag can be used to specify an XML DTD, 
-# which can be used by a validating XML parser to check the 
-# syntax of the XML files.
-
-XML_DTD                = 
-
-# If the XML_PROGRAMLISTING tag is set to YES Doxygen will 
-# dump the program listings (including syntax highlighting 
-# and cross-referencing information) to the XML output. Note that 
-# enabling this will significantly increase the size of the XML output.
-
-XML_PROGRAMLISTING     = YES
-
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will 
-# generate an AutoGen Definitions (see autogen.sf.net) file 
-# that captures the structure of the code including all 
-# documentation. Note that this feature is still experimental 
-# and incomplete at the moment.
-
-GENERATE_AUTOGEN_DEF   = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_PERLMOD tag is set to YES Doxygen will 
-# generate a Perl module file that captures the structure of 
-# the code including all documentation. Note that this 
-# feature is still experimental and incomplete at the 
-# moment.
-
-GENERATE_PERLMOD       = NO
-
-# If the PERLMOD_LATEX tag is set to YES Doxygen will generate 
-# the necessary Makefile rules, Perl scripts and LaTeX code to be able 
-# to generate PDF and DVI output from the Perl module output.
-
-PERLMOD_LATEX          = NO
-
-# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be 
-# nicely formatted so it can be parsed by a human reader.  This is useful 
-# if you want to understand what is going on.  On the other hand, if this 
-# tag is set to NO the size of the Perl module output will be much smaller 
-# and Perl will parse it just the same.
-
-PERLMOD_PRETTY         = YES
-
-# The names of the make variables in the generated doxyrules.make file 
-# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. 
-# This is useful so different doxyrules.make files included by the same 
-# Makefile don't overwrite each other's variables.
-
-PERLMOD_MAKEVAR_PREFIX = 
-
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor
-#---------------------------------------------------------------------------
-
-# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will 
-# evaluate all C-preprocessor directives found in the sources and include 
-# files.
-
-ENABLE_PREPROCESSING   = YES
-
-# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro 
-# names in the source code. If set to NO (the default) only conditional 
-# compilation will be performed. Macro expansion can be done in a controlled 
-# way by setting EXPAND_ONLY_PREDEF to YES.
-
-MACRO_EXPANSION        = NO
-
-# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES 
-# then the macro expansion is limited to the macros specified with the 
-# PREDEFINED and EXPAND_AS_DEFINED tags.
-
-EXPAND_ONLY_PREDEF     = NO
-
-# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files 
-# pointed to by INCLUDE_PATH will be searched when a #include is found.
-
-SEARCH_INCLUDES        = YES
-
-# The INCLUDE_PATH tag can be used to specify one or more directories that 
-# contain include files that are not input files but should be processed by 
-# the preprocessor.
-
-INCLUDE_PATH           = 
-
-# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard 
-# patterns (like *.h and *.hpp) to filter out the header-files in the 
-# directories. If left blank, the patterns specified with FILE_PATTERNS will 
-# be used.
-
-INCLUDE_FILE_PATTERNS  = 
-
-# The PREDEFINED tag can be used to specify one or more macro names that 
-# are defined before the preprocessor is started (similar to the -D option of 
-# gcc). The argument of the tag is a list of macros of the form: name 
-# or name=definition (no spaces). If the definition and the = are 
-# omitted =1 is assumed. To prevent a macro definition from being 
-# undefined via #undef or recursively expanded use the := operator 
-# instead of the = operator.
-
-PREDEFINED             = 
-
-# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then 
-# this tag can be used to specify a list of macro names that should be expanded. 
-# The macro definition that is found in the sources will be used. 
-# Use the PREDEFINED tag if you want to use a different macro definition that 
-# overrules the definition found in the source code.
-
-EXPAND_AS_DEFINED      = 
-
-# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then 
-# doxygen's preprocessor will remove all references to function-like macros 
-# that are alone on a line, have an all uppercase name, and do not end with a 
-# semicolon, because these will confuse the parser if not removed.
-
-SKIP_FUNCTION_MACROS   = YES
-
-#---------------------------------------------------------------------------
-# Configuration::additions related to external references
-#---------------------------------------------------------------------------
-
-# The TAGFILES option can be used to specify one or more tagfiles. 
-# Optionally an initial location of the external documentation 
-# can be added for each tagfile. The format of a tag file without 
-# this location is as follows: 
-#   TAGFILES = file1 file2 ... 
-# Adding location for the tag files is done as follows: 
-#   TAGFILES = file1=loc1 "file2 = loc2" ... 
-# where "loc1" and "loc2" can be relative or absolute paths or 
-# URLs. If a location is present for each tag, the installdox tool 
-# does not have to be run to correct the links. 
-# Note that each tag file must have a unique name 
-# (where the name does NOT include the path) 
-# If a tag file is not located in the directory in which doxygen 
-# is run, you must also specify the path to the tagfile here.
-
-TAGFILES               = 
-
-# When a file name is specified after GENERATE_TAGFILE, doxygen will create 
-# a tag file that is based on the input files it reads.
-
-GENERATE_TAGFILE       = 
-
-# If the ALLEXTERNALS tag is set to YES all external classes will be listed 
-# in the class index. If set to NO only the inherited external classes 
-# will be listed.
-
-ALLEXTERNALS           = NO
-
-# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed 
-# in the modules index. If set to NO, only the current project's groups will 
-# be listed.
-
-EXTERNAL_GROUPS        = YES
-
-# The PERL_PATH should be the absolute path and name of the perl script 
-# interpreter (i.e. the result of `which perl').
-
-PERL_PATH              = /usr/bin/perl
-
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool
-#---------------------------------------------------------------------------
-
-# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will 
-# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base 
-# or super classes. Setting the tag to NO turns the diagrams off. Note that 
-# this option also works with HAVE_DOT disabled, but it is recommended to 
-# install and use dot, since it yields more powerful graphs.
-
-CLASS_DIAGRAMS         = YES
-
-# You can define message sequence charts within doxygen comments using the \msc 
-# command. Doxygen will then run the mscgen tool (see 
-# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the 
-# documentation. The MSCGEN_PATH tag allows you to specify the directory where 
-# the mscgen tool resides. If left empty the tool is assumed to be found in the 
-# default search path.
-
-MSCGEN_PATH            = 
-
-# If set to YES, the inheritance and collaboration graphs will hide 
-# inheritance and usage relations if the target is undocumented 
-# or is not a class.
-
-HIDE_UNDOC_RELATIONS   = YES
-
-# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is 
-# available from the path. This tool is part of Graphviz, a graph visualization 
-# toolkit from AT&T and Lucent Bell Labs. The other options in this section 
-# have no effect if this option is set to NO (the default)
-
-HAVE_DOT               = NO
-
-# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is 
-# allowed to run in parallel. When set to 0 (the default) doxygen will 
-# base this on the number of processors available in the system. You can set it 
-# explicitly to a value larger than 0 to get control over the balance 
-# between CPU load and processing speed.
-
-DOT_NUM_THREADS        = 0
-
-# By default doxygen will use the Helvetica font for all dot files that 
-# doxygen generates. When you want a differently looking font you can specify 
-# the font name using DOT_FONTNAME. You need to make sure dot is able to find 
-# the font, which can be done by putting it in a standard location or by setting 
-# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the 
-# directory containing the font.
-
-DOT_FONTNAME           = Helvetica
-
-# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. 
-# The default size is 10pt.
-
-DOT_FONTSIZE           = 10
-
-# By default doxygen will tell dot to use the Helvetica font. 
-# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to 
-# set the path where dot can find it.
-
-DOT_FONTPATH           = 
-
-# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen 
-# will generate a graph for each documented class showing the direct and 
-# indirect inheritance relations. Setting this tag to YES will force the 
-# CLASS_DIAGRAMS tag to NO.
-
-CLASS_GRAPH            = YES
-
-# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen 
-# will generate a graph for each documented class showing the direct and 
-# indirect implementation dependencies (inheritance, containment, and 
-# class references variables) of the class with other documented classes.
-
-COLLABORATION_GRAPH    = YES
-
-# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen 
-# will generate a graph for groups, showing the direct groups dependencies
-
-GROUP_GRAPHS           = YES
-
-# If the UML_LOOK tag is set to YES doxygen will generate inheritance and 
-# collaboration diagrams in a style similar to the OMG's Unified Modeling 
-# Language.
-
-UML_LOOK               = NO
-
-# If set to YES, the inheritance and collaboration graphs will show the 
-# relations between templates and their instances.
-
-TEMPLATE_RELATIONS     = NO
-
-# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT 
-# tags are set to YES then doxygen will generate a graph for each documented 
-# file showing the direct and indirect include dependencies of the file with 
-# other documented files.
-
-INCLUDE_GRAPH          = YES
-
-# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and 
-# HAVE_DOT tags are set to YES then doxygen will generate a graph for each 
-# documented header file showing the documented files that directly or 
-# indirectly include this file.
-
-INCLUDED_BY_GRAPH      = YES
-
-# If the CALL_GRAPH and HAVE_DOT options are set to YES then 
-# doxygen will generate a call dependency graph for every global function 
-# or class method. Note that enabling this option will significantly increase 
-# the time of a run. So in most cases it will be better to enable call graphs 
-# for selected functions only using the \callgraph command.
-
-CALL_GRAPH             = NO
-
-# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then 
-# doxygen will generate a caller dependency graph for every global function 
-# or class method. Note that enabling this option will significantly increase 
-# the time of a run. So in most cases it will be better to enable caller 
-# graphs for selected functions only using the \callergraph command.
-
-CALLER_GRAPH           = NO
-
-# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen 
-# will generate a graphical hierarchy of all classes instead of a textual one.
-
-GRAPHICAL_HIERARCHY    = YES
-
-# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES 
-# then doxygen will show the dependencies a directory has on other directories 
-# in a graphical way. The dependency relations are determined by the #include 
-# relations between the files in the directories.
-
-DIRECTORY_GRAPH        = YES
-
-# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images 
-# generated by dot. Possible values are svg, png, jpg, or gif. 
-# If left blank png will be used. If you choose svg you need to set 
-# HTML_FILE_EXTENSION to xhtml in order to make the SVG files 
-# visible in IE 9+ (other browsers do not have this requirement).
-
-DOT_IMAGE_FORMAT       = png
-
-# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to 
-# enable generation of interactive SVG images that allow zooming and panning. 
-# Note that this requires a modern browser other than Internet Explorer. 
-# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you 
-# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files 
-# visible. Older versions of IE do not have SVG support.
-
-INTERACTIVE_SVG        = NO
-
-# The tag DOT_PATH can be used to specify the path where the dot tool can be 
-# found. If left blank, it is assumed the dot tool can be found in the path.
-
-DOT_PATH               = 
-
-# The DOTFILE_DIRS tag can be used to specify one or more directories that 
-# contain dot files that are included in the documentation (see the 
-# \dotfile command).
-
-DOTFILE_DIRS           = 
-
-# The MSCFILE_DIRS tag can be used to specify one or more directories that 
-# contain msc files that are included in the documentation (see the 
-# \mscfile command).
-
-MSCFILE_DIRS           = 
-
-# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of 
-# nodes that will be shown in the graph. If the number of nodes in a graph 
-# becomes larger than this value, doxygen will truncate the graph, which is 
-# visualized by representing a node as a red box. Note that doxygen if the 
-# number of direct children of the root node in a graph is already larger than 
-# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note 
-# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-
-DOT_GRAPH_MAX_NODES    = 50
-
-# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the 
-# graphs generated by dot. A depth value of 3 means that only nodes reachable 
-# from the root by following a path via at most 3 edges will be shown. Nodes 
-# that lay further from the root node will be omitted. Note that setting this 
-# option to 1 or 2 may greatly reduce the computation time needed for large 
-# code bases. Also note that the size of a graph can be further restricted by 
-# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-
-MAX_DOT_GRAPH_DEPTH    = 0
-
-# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent 
-# background. This is disabled by default, because dot on Windows does not 
-# seem to support this out of the box. Warning: Depending on the platform used, 
-# enabling this option may lead to badly anti-aliased labels on the edges of 
-# a graph (i.e. they become hard to read).
-
-DOT_TRANSPARENT        = NO
-
-# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output 
-# files in one run (i.e. multiple -o and -T options on the command line). This 
-# makes dot run faster, but since only newer versions of dot (>1.8.10) 
-# support this, this feature is disabled by default.
-
-DOT_MULTI_TARGETS      = NO
-
-# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will 
-# generate a legend page explaining the meaning of the various boxes and 
-# arrows in the dot generated graphs.
-
-GENERATE_LEGEND        = YES
-
-# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will 
-# remove the intermediate dot files that are used to generate 
-# the various graphs.
-
-DOT_CLEANUP            = YES

+ 0 - 14
change_log.txt

@@ -1,14 +0,0 @@
-Updates between v1.02 and v 1.03
-=================
-- reworked CMake build
-- added filesystem
-- added zip support
-- removed system folder
-
-
-
-Updates between v1.01 and v 1.02
-=================
-- Headers "files_ui.h" and "logging.h" were deprecated. Replace all includes with "file.h" and "log.h"
-- Optimized shaders loading
-

+ 0 - 3
cmake/FindSDL2.cmake

@@ -1,3 +0,0 @@
-SET(SDL2_FOUND TRUE)
-set(SDL2_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../sdl/include)
-set(SDL2_LIBRARIES sdl2)

+ 0 - 1
doc.bat

@@ -1 +0,0 @@
-doxygen

BIN
doc.zip


+ 0 - 1
examples/.oxbuild

@@ -1 +0,0 @@
-SDL

+ 0 - 15
examples/CMakeLists.txt

@@ -1,15 +0,0 @@
-cmake_minimum_required (VERSION 2.6)
-project (EXAMPLES)
-
-add_subdirectory(../ oxygine-framework)
-
-add_definitions(${OXYGINE_DEFINITIONS})
-include_directories(${OXYGINE_INCLUDE_DIRS})
-link_directories(${OXYGINE_LIBRARY_DIRS})
-
-
-add_subdirectory(Demo)
-add_subdirectory(HelloWorld)
-add_subdirectory(Match3)
-add_subdirectory(GameTemplate)
-add_subdirectory(DemoBox2D)

+ 0 - 1
examples/Demo/.oxbuild

@@ -1 +0,0 @@
-test1_src.mkb

+ 0 - 40
examples/Demo/AndroidManifest.xml

@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
-      package="${PACKAGENAME}"
-      android:versionCode="${VERSIONCODE}"
-      android:versionName="${VERSIONNAME}"
-      android:installLocation="${INSTALLLOCATION}"
-      >
-    <application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"${EXTRA_ATTRIBS}>
-        <activity android:name=".${CLASSNAME}"
-                  android:label="@string/app_name"
-                  android:configChanges="locale|keyboardHidden|orientation"
-                  android:launchMode="singleTask">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN"/>
-                <category android:name="android.intent.category.LAUNCHER"/>
-            </intent-filter>
-        </activity>
-        <provider android:name="com.ideaworks3d.marmalade.VFSProvider"
-                  android:authorities="zzzz${HASHNAME}.VFSProvider"
-                  android:exported="false"
-                  android:multiprocess="true"
-        >
-        </provider>
-        ${EXTRA_APPLICATION_MANIFESTS}
-    </application>
-    <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="8"/>
-	<!-- Required by Marmalade internally. -->
-    <!--uses-permission android:name="android.permission.WAKE_LOCK"/>
-    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
-    <uses-permission android:name="android.permission.BATTERY_STATS"/>
-    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
-    <uses-permission android:name="android.permission.SET_ORIENTATION"/>
-    <uses-permission android:name="android.permission.DEVICE_POWER"/>
-    <uses-permission android:name="android.permission.INTERNET"/>
-    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
-    <uses-permission android:name="android.permission.VIBRATE"/!-->
-
-    ${SUPPORTS_GL_TEXTURE}
-    ${EXTRA_MANIFESTS}
-</manifest>

+ 0 - 26
examples/Demo/CMakeLists.txt

@@ -1,26 +0,0 @@
-cmake_minimum_required (VERSION 2.6)
-project (DEMO)
-
-add_executable(Demo 
-	src/entry_point.cpp
-	src/example.cpp
-	src/example.h
-	src/test.cpp
-	src/test.h
-	src/TestBox9Sprite.h
-	src/TestClipRect.h
-	src/TestComplexDrag.h
-	src/TestDrag.h
-	src/TestManageRes.h
-	src/TestMask.h
-	src/TestPerf.h
-	src/TestProgressBar.h
-	src/TestRender2Texture.h
-	src/TestTexel2Pixel.h
-	src/TestText.h
-	src/TestTextureFormat.h
-	src/TestTweens.h
-	src/TestUserShader.h
-	)
-
-target_link_libraries(Demo ${OXYGINE_CORE_LIBS})

+ 0 - 10
examples/Demo/data/app.config.txt

@@ -1,10 +0,0 @@
-# This .config.txt file documents configuration settings for your
-# application
-# The syntax is similar to that in .icf files:
-#
-# [GroupName]
-# Setting     Documentation for setting
-#
-# e.g.
-# [MyApplicationGroup]
-# MySetting   Description of what MySetting is for, its default values, etc

+ 0 - 19
examples/Demo/data/app.icf

@@ -1,19 +0,0 @@
-[S3E]
-MemSize = 64777216
-DispFixRot=2
-SysGlesVersion=2
-SysStackSize=131072
-
-[Trace]
-ALL=0
-EXT=0
-NONE=0
-DEVICE=0
-FIBRE=0
-THREAD=0
-LOADER=0
-SOUND=0
-FILE=0
-SURFACE=0
-MEMORY=0
-ERROR=0

+ 0 - 55
examples/Demo/data/demo/big.bmfc

@@ -1,55 +0,0 @@
-# AngelCode Bitmap Font Generator configuration file
-fileVersion=1
-
-# font settings
-fontName=Arial
-fontFile=
-charSet=177
-fontSize=-26
-aa=1
-scaleH=100
-useSmoothing=1
-isBold=1
-isItalic=1
-useUnicode=1
-disableBoxChars=1
-outputInvalidCharGlyph=0
-dontIncludeKerningPairs=0
-useHinting=0
-renderFromOutline=1
-useClearType=0
-
-# character alignment
-paddingDown=0
-paddingUp=0
-paddingRight=0
-paddingLeft=0
-spacingHoriz=1
-spacingVert=1
-useFixedHeight=1
-forceZero=1
-
-# output file
-outWidth=512
-outHeight=256
-outBitDepth=32
-fontDescFormat=1
-fourChnlPacked=0
-textureFormat=png
-textureCompression=0
-alphaChnl=0
-redChnl=0
-greenChnl=0
-blueChnl=0
-invA=0
-invR=0
-invG=0
-invB=0
-
-# outline
-outlineThickness=2
-
-# selected chars
-chars=160
-
-# imported icon images

BIN
examples/Demo/data/demo/button.png


BIN
examples/Demo/data/demo/eng.txt


+ 0 - 6
examples/Demo/data/demo/fonts.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<resources>
-	<set path = "demo" />
-	<bmfc_font file="main.bmfc" chars="eng.txt"/>	
-	<bmfc_font file="big.bmfc" chars="eng.txt"/>
-</resources>

BIN
examples/Demo/data/demo/loading.png


BIN
examples/Demo/data/demo/logo2.png


+ 0 - 55
examples/Demo/data/demo/main.bmfc

@@ -1,55 +0,0 @@
-# AngelCode Bitmap Font Generator configuration file
-fileVersion=1
-
-# font settings
-fontName=Arial
-fontFile=
-charSet=177
-fontSize=-16
-aa=1
-scaleH=100
-useSmoothing=1
-isBold=1
-isItalic=0
-useUnicode=1
-disableBoxChars=1
-outputInvalidCharGlyph=0
-dontIncludeKerningPairs=0
-useHinting=0
-renderFromOutline=1
-useClearType=0
-
-# character alignment
-paddingDown=0
-paddingUp=0
-paddingRight=0
-paddingLeft=0
-spacingHoriz=1
-spacingVert=1
-useFixedHeight=1
-forceZero=1
-
-# output file
-outWidth=512
-outHeight=256
-outBitDepth=32
-fontDescFormat=1
-fourChnlPacked=0
-textureFormat=png
-textureCompression=0
-alphaChnl=1
-redChnl=0
-greenChnl=0
-blueChnl=0
-invA=0
-invR=0
-invG=0
-invB=0
-
-# outline
-outlineThickness=0
-
-# selected chars
-chars=160
-
-# imported icon images

+ 0 - 9
examples/Demo/data/demo/res_ui.xml

@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<resources>
-	<set path = "demo" />
-	<atlas>
-		<image file="loading.png"/>		
-		<image file="logo2.png"/>		
-		<image file="button.png" cols = "3" />	
-	</atlas>	
-</resources>

+ 0 - 107
examples/Demo/data/development.icf

@@ -1,107 +0,0 @@
-# Settings ICF file automatically generated by S3E development environment
-
-AccelEnabled                   = Type=bool, Default="true", Value = "true"
-AudioAAC                       = Type=bool, Default="false", Value = "true"
-AudioAACPlus                   = Type=bool, Default="false", Value = "true"
-AudioMIDI                      = Type=bool, Default="true", Value = "true"
-AudioMP3                       = Type=bool, Default="true", Value = "true"
-AudioPCM                       = Type=bool, Default="true", Value = "true"
-AudioQCP                       = Type=bool, Default="false", Value = "true"
-AudioVolumeDefault             = Type=int, Min=0.000000, Max=256.000000, Default="256", Value = "256"
-BacklightTimeout               = Type=int, Min=0.000000, Max=120000.000000, Default="10000", Value = "100000"
-CompassEnabled                 = Type=bool, Default="true", Value = "true"
-ContactsFromAddrBook           = Type=bool, Default="false", Value = "false"
-DeviceAdvanceSoftkeyPosition   = Type=string, Allowed="Bottom Left" "Bottom Right" "Top Right" "Top Left", Default="Bottom Left", Value = "Bottom Left"
-DeviceArch                     = Type=string, Allowed="<Use Native Architecture>" "ARM4T" "ARM4" "ARM5T" "ARM5TE" "ARM5TEJ" "ARM6" "ARM6K" "ARM6T2" "ARM6Z" "X86" "PPC" "AMD64" "ARM7", Default="<Use Native Architecture>", Value = "<Use Native Architecture>"
-DeviceBackSoftkeyPosition      = Type=string, Allowed="Bottom Left" "Bottom Right" "Top Right" "Top Left", Default="Bottom Right", Value = "Bottom Right"
-DeviceBatteryLevel             = Type=int, Min=0.000000, Max=100.000000, Default="50", Value = "50"
-DeviceClass                    = Type=string, Allowed="UNKNOWN" "SYMBIAN_GENERIC" "SYMBIAN_SERIES60" "SYMBIAN_SERIES60_EMULATOR" "SYMBIAN_UIQ" "SYMBIAN_UIQ_EMULATOR" "BREW_GENERIC" "BREW_QCIF_3D" "BREW_QCIF_25G" "BREW_SQCIF_256" "BREW_QVGA_3G" "WINDOWS_GENERIC" "WINMOBILE_GENERIC" "WINMOBILE_SP" "WINMOBILE_PPC" "LINUX_GENERIC" "LINUX_DESKTOP" "LINUX_EMBED" "WIPI_GENERIC" "NDS_GENERIC" "ARM_SEMIH_GENERIC" "NULCUES_GENERIC" "NGI_GENERIC", Default="WINDOWS_GENERIC", Value = "WINDOWS_GENERIC"
-DeviceFPU                      = Type=string, Allowed="None" "VFP Present", Default="VFP Present", Value = "VFP Present"
-DeviceFreeRAM                  = Type=int, Min=0.000000, Max=2097151.000000, Default="1048576", Value = "1048576"
-DeviceIDInt                    = Type=int, Default="0", Value = "0"
-DeviceIDString                 = Type=string, Default="", Value = ""
-DeviceIMSI                     = Type=string, Default="SIMULATOR_IMSI", Value = "SIMULATOR_IMSI"
-DeviceLSKIsBack                = Type=bool, Default="false", Value = "false"
-DeviceLanguage                 = Type=string, Allowed="UNKNOWN" "ENGLISH" "FRENCH" "GERMAN" "SPANISH" "ITALIAN" "PORTUGUESE" "DUTCH" "TURKISH" "CROATIAN" "CZECH" "DANISH" "FINNISH" "HUNGARIAN" "NORWEGIAN" "POLISH" "RUSSIAN" "SERBIAN" "SLOVAK" "SLOVENIAN" "SWEDISH" "UKRAINIAN" "GREEK" "JAPANESE" "SIMPL_CHINESE" "TRAD_CHINESE" "KOREAN" "ICELANDIC" "FLEMISH" "THAI" "AFRIKAANS" "ALBANIAN" "AMHARIC" "ARABIC" "ARMENIAN" "AZERBAIJANI" "TAGALOG" "BELARUSSIAN" "BENGALI" "BULGARIAN" "BURMESE" "CATALAN" "ESTONIAN" "FARSI" "GAELIC" "GEORGIAN" "GUJARATI" "HEBREW" "HINDI" "INDONESIAN" "IRISH" "KANNADA" "KAZAKH" "KHMER" "LAO" "LATVIAN" "LITHUANIAN" "MACEDONIAN" "MALAY" "MALAYALAM" "MARATHI" "MOLDOVIAN" "MONGOLIAN" "PUNJABI" "ROMANIAN" "SINHALESE" "SOMALI" "SWAHILI" "TAJIK" "TAMIL" "TELUGU" "TIBETAN" "TIGRINYA" "TURKMEN" "URDU" "UZBEK" "VIETNAMESE" "WELSH" "ZULU" "<Use Native Language>", Default="<Use Native Language>", Value = "<Use Native Language>"
-DeviceMainsPower               = Type=bool, Default="false", Value = "false"
-DeviceName                     = Type=string, Default="My Computer", Value = "My Computer"
-DeviceOS                       = Type=string, Allowed="NONE" "SYMBIAN" "BREW" "WINDOWS" "WINMOBILE" "LINUX" "WIPI" "NDS" "ARM_SEMIH" "NUCLEUS" "NGI" "WINCE" "SHARPEMP" "OSX" "IPHONE" "UIQ" "PS3" "X360" "BADA" "ANDROID" "WEBOS" "QNX", Default="NONE", Value = "NONE"
-DeviceOSVersion                = Type=string, Default="", Value = ""
-DeviceOSVersionNumber          = Type=int, Default="0", Value = "0"
-DevicePhoneNumber              = Type=string, Default="0044123456789", Value = "0044123456789"
-DeviceTimezone                 = Type=string, Default="SYSTEM", Value = "SYSTEM"
-DeviceTotalRAM                 = Type=int, Min=0.000000, Max=2097151.000000, Default="1048576", Value = "1048576"
-DeviceUniqueID                 = Type=string, Default="SIMULATOR_ID", Value = "SIMULATOR_ID"
-DeviceUniqueIDInt              = Type=int, Default="01234567890", Value = "01234567890"
-FileTotalStorageSize           = Type=int, Min=0.000000, Max=2147483648.000000, Default="67108864", Value = "67108864"
-FileUseSeparateRomRam          = Type=bool, Default="true", Value = "true"
-FileUseTotalStorageSize        = Type=bool, Default="false", Value = "false"
-GLAPI                          = Type=string, Allowed="None" "GLES 1.0 Common-Lite Profile from Imagination POWERVR(TM)" "GLES 1.1 Common-Lite Profile from Imagination POWERVR(TM)" "GLES 1.0 Common Profile from Imagination POWERVR(TM)" "GLES 1.1 Common Profile from Imagination POWERVR(TM)" "GLES 2.0 from Imagination POWERVR(TM)" "Obey [S3E] SysGlesVersion .icf setting" "GLES 1.1 Common Profile from Qualcomm Snapdragon(TM)" "GLES 2.0 from Qualcomm Snapdragon(TM)" "GLES 2.0 ANGLE" "GLES 2.0 ANGLE DirectX 11", Default="Obey [S3E] SysGlesVersion .icf setting", Value = "GLES 2.0 from Imagination POWERVR(TM)"
-GLDontUseHiddenWindow          = Type=bool, Default="false", Value = "false"
-GLTerminateOnSuspend           = Type=bool, Default="false", Value = "false"
-GLUsePVRVFrame                 = Type=bool, Default="false", Value = "false"
-KeyboardHasAlpha               = Type=bool, Default="true", Value = "true"
-KeyboardHasDirection           = Type=bool, Default="true", Value = "true"
-KeyboardHasKeypad              = Type=bool, Default="true", Value = "true"
-KeyboardNumpadRotation         = Type=string, Allowed="Rot0" "Rot90" "Rot180" "Rot270", Default="Rot0", Value = "Rot0"
-LicenseExpiryDate              = Type=int, Min=0.000000, Max=999999995904.000000, Default="0", Value = "0"
-LicenseMinutesRemaining        = Type=int, Min=0.000000, Max=10000000.000000, Default="0", Value = "0"
-LicenseStatus                  = Type=string, Allowed="EXPIRED" "DEMO" "USECOUNT" "EXPIRYDATE" "EXPIRYMINSUSE" "PURCHASE" "SUBSCRIPTION" "UPGRADE" "NONCOMMERCIAL", Default="NONCOMMERCIAL", Value = "NONCOMMERCIAL"
-LicenseUsesRemaining           = Type=int, Min=0.000000, Max=10000000.000000, Default="0", Value = "0"
-LocationAltitude               = Type=float, Min=-2000.000000, Max=100000.000000, Default="60.0", Value = "60.0"
-LocationAvailable              = Type=bool, Default="true", Value = "true"
-LocationHeading                = Type=float, Min=0.000000, Max=359.000000, Default="0.0", Value = "0.0"
-LocationHorizontalAccuracy     = Type=float, Min=0.000000, Max=100000.000000, Default="20.0", Value = "20.0"
-LocationLatitude               = Type=float, Min=-90.000000, Max=90.000000, Default="51.511791", Value = "51.511791"
-LocationLongitude              = Type=float, Min=-180.000000, Max=180.000000, Default="-0.191084", Value = "-0.191084"
-LocationSpeed                  = Type=float, Min=0.000000, Max=10000.000000, Default="0", Value = "0"
-LocationVerticalAccuracy       = Type=float, Min=0.000000, Max=100000.000000, Default="100.0", Value = "100.0"
-MacOSSimulatorCustomSettings   = Type=string, Default="", Value = ""
-MacOSSimulatorDevices_ANDROID  = Type=string, Allowed="Samsung Galaxy S:480x800:512" "HTC Sensation XL:480x800:768" "Samsung Galaxy Note:800x1280:1024" "Motorola Droid Razr:540x960:1024" "Kindle Fire:1024x600:512" "Samsung Galaxy Tab:1024x600:512", Default="Samsung Galaxy S:480x800:512", Value = "Samsung Galaxy S:480x800:512"
-MacOSSimulatorDevices_IPHONE   = Type=string, Allowed="iPhone 3GS:320x480:256" "iPhone 4:640x960:512" "iPhone 5:640x1136:1024" "iPad:768x1024:256" "iPad 2:768x1024:512" "iPad 3:1536x2048:1024", Default="iPhone 3GS:320x480:256", Value = "iPhone 3GS:320x480:256"
-MacOSSimulatorPlatforms        = Type=string, Allowed="IPHONE" "ANDROID", Default="IPHONE", Value = "IPHONE"
-MacOSSimulatorUseCustomSettings = Type=bool, Default="true", Value = "true"
-MemoryPoison                   = Type=bool, Default="true", Value = "true"
-MemoryPoisonAlloc              = Type=int, Min=0.000000, Max=255.000000, Default="170", Value = "170"
-MemoryPoisonFree               = Type=int, Min=0.000000, Max=255.000000, Default="221", Value = "221"
-MemoryPoisonInit               = Type=int, Min=0.000000, Max=255.000000, Default="204", Value = "204"
-PointerAvailable               = Type=bool, Default="true", Value = "true"
-PointerMultiSimulationMode     = Type=bool, Default="false", Value = "false"
-PointerMultiTouchAvailable     = Type=bool, Default="false", Value = "false"
-PointerStylusType              = Type=string, Allowed="INVALID" "STYLUS" "FINGER", Default="INVALID", Value = "INVALID"
-PointerType                    = Type=string, Allowed="INVALID" "MOUSE" "STYLUS", Default="MOUSE", Value = "MOUSE"
-SMSEnabled                     = Type=bool, Default="true", Value = "true"
-SMSReceiveEnabled              = Type=bool, Default="true", Value = "true"
-SocketDNSDelay                 = Type=int, Min=0.000000, Max=30000.000000, Default="0", Value = "0"
-SocketHTTPProxy                = Type=string, Default="", Value = ""
-SocketHostName                 = Type=string, Default="", Value = ""
-SocketNetworkAvailable         = Type=bool, Default="true", Value = "true"
-SocketNetworkLoss              = Type=bool, Default="false", Value = "false"
-SocketNetworkType              = Type=string, Allowed="NONE" "UNKNOWN" "LAN" "WLAN" "GPRS" "UMTS" "EVDO" "CDMA2000" "HSDPA" "WIMAX" "BLUETOOTH" "EDGE" "CDMA" "IDEN" "LTE" "EHRPD" "HSPAPLUS", Default="LAN", Value = "LAN"
-SocketRecvLimit                = Type=int, Min=0.000000, Max=1000000.000000, Default="0", Value = "0"
-SocketSendLimit                = Type=int, Min=0.000000, Max=1000000.000000, Default="0", Value = "0"
-SoundEnabled                   = Type=bool, Default="true", Value = "true"
-SoundRecordEnabled             = Type=bool, Default="true", Value = "true"
-SoundSampleRate                = Type=int, Allowed="8192" "11025" "16000" "22050" "44100", Default="22050", Value = "22050"
-SoundStereo                    = Type=bool, Default="true", Value = "true"
-SoundVolumeDefault             = Type=int, Min=0.000000, Max=256.000000, Default="256", Value = "256"
-SurfaceDisableWhenGLIsActive   = Type=bool, Default="false", Value = "false"
-SurfaceDoubleBuffer            = Type=bool, Default="false", Value = "false"
-SurfaceHeight                  = Type=int, Min=128.000000, Max=4096.000000, Default="480", Value = "640"
-SurfacePitch                   = Type=int, Min=0.000000, Max=8192.000000, Default="0", Value = "0"
-SurfacePixelType               = Type=string, Allowed="RGB444" "RGB555" "RGB565" "RGB666" "RGB888" "BGR444" "BGR555" "BGR565" "BGR666" "BGR888", Default="RGB565", Value = "RGB565"
-SurfacePredefinedResolution    = Type=string, Allowed="176x200" "176x208" "240x320 (QVGA Portrait)" "240x400" "320x240 (QVGA Landscape)" "320x400" "320x480 (iPhone Portrait)" "400x240" "480x320 (iPhone Landscape)" "360x640 (qHD Portrait)" "640x360 (qHD Landscape)" "480x640 (VGA Portrait)" "480x800 (WVGA Portrait)" "640x480 (VGA Landscape)" "800x400" "800x480 (WVGA Landscape)" "640x960 (iPhone 4 Portrait)" "960x640 (iPhone 4 Landscape)" "640x1136 (iPhone 5 Portrait)" "1136x640 (iPhone 5 Landscape)" "1024x600 (Playbook Landscape)" "600x1024 (Playbook Portrait)" "768x1024 (iPad Portrait)" "1024x768 (iPad Landscape)" "2048x1536 (iPad Retina Landscape)" "1536x2048 (iPad Retina Portrait)", Default="320x480 (iPhone Portrait)", Value = "176x200"
-SurfaceRotation                = Type=string, Allowed="Rot0" "Rot90" "Rot180" "Rot270", Default="Rot0", Value = "Rot0"
-SurfaceUnalign                 = Type=bool, Default="true", Value = "true"
-SurfaceUseMultiBuffers         = Type=bool, Default="true", Value = "true"
-SurfaceWidth                   = Type=int, Min=128.000000, Max=4096.000000, Default="320", Value = "960"
-SymbianSoundLatency            = Type=int, Min=20.000000, Max=1400.000000, Default="120", Value = "120"
-ThreadEnabled                  = Type=bool, Default="true", Value = "true"
-TimerAccuracy                  = Type=int, Min=0.000000, Max=1000.000000, Default="0", Value = "0"
-TimerHiRes                     = Type=bool, Default="false", Value = "false"
-TimerLocaltimeOffsetHours      = Type=string, Allowed="-12" "-11" "-10" "-9" "-8" "-7" "-6" "-5" "-4" "-3" "-2" "-1" "0" "+1" "+2" "+3" "+4" "+5" "+6" "+7" "+8" "+9" "+10" "+11" "+12" "+13" "SYSTEM", Default="SYSTEM", Value = "SYSTEM"
-VibraEnabled                   = Type=bool, Default="true", Value = "true"
-Video3GPP                      = Type=bool, Default="false", Value = "true"
-VideoJPEG                      = Type=bool, Default="true", Value = "true"
-VideoMPEG4                     = Type=bool, Default="true", Value = "true"
-VideoVolumeDefault             = Type=int, Min=0.000000, Max=256.000000, Default="256", Value = "256"

+ 0 - 103
examples/Demo/data/ext/fonts.xml.ox/bmfc_font/big.fnt

@@ -1,103 +0,0 @@
-<?xml version="1.0" ?><font>
-  <info aa="1" bold="1" charset="" face="Arial" italic="1" outline="2" padding="0,0,0,0" size="-26" smooth="1" spacing="1,1" stretchH="100" unicode="1"/>
-  <common alphaChnl="0" base="24" blueChnl="0" greenChnl="0" lineHeight="30" packed="0" pages="1" redChnl="0" scaleH="256" scaleW="512"/>
-  <pages>
-    <page file="big_0.png" id="0"/>
-  </pages>
-  <chars count="93">
-    <char chnl="15" height="34" id="32" page="0" width="11" x="357" xadvance="7" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="33" page="0" width="14" x="216" xadvance="10" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="34" page="0" width="18" x="38" xadvance="14" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="35" page="0" width="20" x="482" xadvance="16" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="36" page="0" width="19" x="210" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="37" page="0" width="27" x="101" xadvance="23" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="38" page="0" width="23" x="169" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="39" page="0" width="13" x="302" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="40" page="0" width="16" x="183" xadvance="12" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="41" page="0" width="14" x="231" xadvance="10" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="42" page="0" width="16" x="166" xadvance="12" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="43" page="0" width="20" x="84" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="44" page="0" width="11" x="381" xadvance="7" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="45" page="0" width="13" x="274" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="46" page="0" width="11" x="369" xadvance="7" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="47" page="0" width="17" x="94" xadvance="13" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="48" page="0" width="19" x="230" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="49" page="0" width="18" x="0" xadvance="14" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="50" page="0" width="19" x="250" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="51" page="0" width="19" x="270" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="52" page="0" width="19" x="290" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="53" page="0" width="19" x="310" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="54" page="0" width="19" x="430" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="55" page="0" width="20" x="21" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="56" page="0" width="19" x="330" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="57" page="0" width="19" x="350" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="58" page="0" width="13" x="246" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="59" page="0" width="13" x="316" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="60" page="0" width="19" x="370" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="61" page="0" width="20" x="0" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="62" page="0" width="19" x="410" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="63" page="0" width="21" x="285" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="64" page="0" width="31" x="69" xadvance="27" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="65" page="0" width="23" x="49" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="66" page="0" width="23" x="73" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="67" page="0" width="24" x="470" xadvance="20" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="68" page="0" width="23" x="97" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="69" page="0" width="23" x="145" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="70" page="0" width="22" x="216" xadvance="18" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="71" page="0" width="25" x="239" xadvance="21" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="72" page="0" width="24" x="395" xadvance="20" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="73" page="0" width="13" x="288" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="74" page="0" width="20" x="42" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="75" page="0" width="25" x="291" xadvance="21" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="76" page="0" width="20" x="63" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="77" page="0" width="27" x="157" xadvance="23" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="78" page="0" width="24" x="445" xadvance="20" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="79" page="0" width="25" x="265" xadvance="21" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="80" page="0" width="23" x="25" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="81" page="0" width="25" x="343" xadvance="21" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="82" page="0" width="24" x="420" xadvance="20" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="83" page="0" width="22" x="239" xadvance="18" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="84" page="0" width="23" x="121" xadvance="19" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="85" page="0" width="24" x="0" xadvance="20" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="86" page="0" width="25" x="317" xadvance="21" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="87" page="0" width="32" x="36" xadvance="28" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="88" page="0" width="26" x="212" xadvance="22" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="89" page="0" width="25" x="369" xadvance="21" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="90" page="0" width="22" x="262" xadvance="18" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="92" page="0" width="12" x="344" xadvance="8" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="94" page="0" width="19" x="450" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="95" page="0" width="20" x="168" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="97" page="0" width="18" x="19" xadvance="14" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="98" page="0" width="20" x="461" xadvance="16" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="99" page="0" width="19" x="470" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="100" page="0" width="22" x="193" xadvance="18" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="101" page="0" width="19" x="490" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="102" page="0" width="17" x="76" xadvance="13" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="103" page="0" width="21" x="307" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="104" page="0" width="20" x="189" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="105" page="0" width="13" x="330" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="106" page="0" width="16" x="495" xadvance="12" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="107" page="0" width="20" x="105" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="108" page="0" width="13" x="260" xadvance="9" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="109" page="0" width="27" x="129" xadvance="23" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="110" page="0" width="20" x="126" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="111" page="0" width="20" x="147" xadvance="16" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="112" page="0" width="21" x="329" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="113" page="0" width="21" x="373" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="114" page="0" width="17" x="112" xadvance="13" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="115" page="0" width="19" x="390" xadvance="15" xoffset="-2" y="70" yoffset="-2"/>
-    <char chnl="15" height="34" id="116" page="0" width="15" x="200" xadvance="11" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="117" page="0" width="21" x="395" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="118" page="0" width="21" x="417" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="119" page="0" width="26" x="185" xadvance="22" xoffset="-2" y="0" yoffset="-2"/>
-    <char chnl="15" height="34" id="120" page="0" width="21" x="439" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="121" page="0" width="21" x="351" xadvance="17" xoffset="-2" y="35" yoffset="-2"/>
-    <char chnl="15" height="34" id="122" page="0" width="18" x="57" xadvance="14" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="123" page="0" width="17" x="130" xadvance="13" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="124" page="0" width="11" x="393" xadvance="7" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="125" page="0" width="17" x="148" xadvance="13" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="160" page="0" width="11" x="405" xadvance="7" xoffset="-2" y="105" yoffset="-2"/>
-    <char chnl="15" height="34" id="8470" page="0" width="35" x="0" xadvance="31" xoffset="-2" y="0" yoffset="-2"/>
-  </chars>
-  
-</font>

BIN
examples/Demo/data/ext/fonts.xml.ox/bmfc_font/big_0.png


+ 0 - 103
examples/Demo/data/ext/fonts.xml.ox/bmfc_font/main.fnt

@@ -1,103 +0,0 @@
-<?xml version="1.0" ?><font>
-  <info aa="1" bold="1" charset="" face="Arial" italic="0" outline="0" padding="0,0,0,0" size="-16" smooth="1" spacing="1,1" stretchH="100" unicode="1"/>
-  <common alphaChnl="1" base="15" blueChnl="0" greenChnl="0" lineHeight="19" packed="0" pages="1" redChnl="0" scaleH="64" scaleW="512"/>
-  <pages>
-    <page file="main_0.png" id="0"/>
-  </pages>
-  <chars count="93">
-    <char chnl="15" height="19" id="32" page="0" width="4" x="407" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="33" page="0" width="5" x="369" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="34" page="0" width="8" x="271" xadvance="8" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="35" page="0" width="9" x="121" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="36" page="0" width="9" x="131" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="37" page="0" width="14" x="53" xadvance="14" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="38" page="0" width="12" x="151" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="39" page="0" width="4" x="397" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="40" page="0" width="5" x="351" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="41" page="0" width="5" x="345" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="42" page="0" width="6" x="311" xadvance="6" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="43" page="0" width="9" x="101" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="44" page="0" width="4" x="387" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="45" page="0" width="6" x="304" xadvance="6" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="46" page="0" width="4" x="507" xadvance="4" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="47" page="0" width="5" x="381" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="48" page="0" width="9" x="141" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="49" page="0" width="9" x="161" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="50" page="0" width="9" x="171" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="51" page="0" width="9" x="181" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="52" page="0" width="9" x="191" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="53" page="0" width="9" x="201" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="54" page="0" width="9" x="61" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="55" page="0" width="9" x="221" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="56" page="0" width="9" x="241" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="57" page="0" width="9" x="11" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="58" page="0" width="5" x="375" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="59" page="0" width="5" x="363" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="60" page="0" width="9" x="21" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="61" page="0" width="9" x="31" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="62" page="0" width="9" x="41" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="63" page="0" width="10" x="430" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="64" page="0" width="16" x="19" xadvance="16" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="65" page="0" width="12" x="177" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="66" page="0" width="12" x="190" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="67" page="0" width="12" x="216" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="68" page="0" width="12" x="255" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="69" page="0" width="11" x="281" xadvance="11" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="70" page="0" width="10" x="364" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="71" page="0" width="12" x="164" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="72" page="0" width="12" x="138" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="73" page="0" width="4" x="402" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="74" page="0" width="9" x="51" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="75" page="0" width="12" x="268" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="76" page="0" width="10" x="0" xadvance="10" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="77" page="0" width="13" x="111" xadvance="13" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="78" page="0" width="12" x="203" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="79" page="0" width="12" x="125" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="80" page="0" width="11" x="293" xadvance="11" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="81" page="0" width="13" x="97" xadvance="13" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="82" page="0" width="12" x="242" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="83" page="0" width="11" x="341" xadvance="11" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="84" page="0" width="10" x="375" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="85" page="0" width="12" x="229" xadvance="12" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="86" page="0" width="11" x="329" xadvance="11" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="87" page="0" width="16" x="36" xadvance="16" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="88" page="0" width="11" x="317" xadvance="11" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="89" page="0" width="11" x="305" xadvance="11" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="90" page="0" width="10" x="386" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="92" page="0" width="5" x="357" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="94" page="0" width="9" x="71" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="95" page="0" width="10" x="441" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="97" page="0" width="9" x="81" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="98" page="0" width="10" x="353" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="99" page="0" width="9" x="91" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="100" page="0" width="10" x="397" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="101" page="0" width="9" x="111" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="102" page="0" width="6" x="297" xadvance="6" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="103" page="0" width="10" x="408" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="104" page="0" width="10" x="419" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="105" page="0" width="4" x="422" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="106" page="0" width="5" x="339" xadvance="5" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="107" page="0" width="9" x="151" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="108" page="0" width="4" x="392" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="109" page="0" width="14" x="68" xadvance="14" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="110" page="0" width="10" x="452" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="111" page="0" width="10" x="463" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="112" page="0" width="10" x="474" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="113" page="0" width="10" x="485" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="114" page="0" width="7" x="289" xadvance="7" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="115" page="0" width="9" x="211" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="116" page="0" width="6" x="318" xadvance="6" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="117" page="0" width="10" x="496" xadvance="10" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="118" page="0" width="9" x="231" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="119" page="0" width="13" x="83" xadvance="13" xoffset="0" y="0" yoffset="0"/>
-    <char chnl="15" height="19" id="120" page="0" width="9" x="251" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="121" page="0" width="9" x="261" xadvance="9" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="122" page="0" width="8" x="280" xadvance="8" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="123" page="0" width="6" x="325" xadvance="6" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="124" page="0" width="4" x="412" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="125" page="0" width="6" x="332" xadvance="6" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="160" page="0" width="4" x="417" xadvance="4" xoffset="0" y="20" yoffset="0"/>
-    <char chnl="15" height="19" id="8470" page="0" width="18" x="0" xadvance="18" xoffset="0" y="0" yoffset="0"/>
-  </chars>
-  
-</font>

BIN
examples/Demo/data/ext/fonts.xml.ox/bmfc_font/main_0.png


+ 0 - 1
examples/Demo/data/ext/fonts.xml.ox/meta.xml

@@ -1 +0,0 @@
-<resources><bmfc_font sf="1.0" size="16"/><bmfc_font sf="1.0" size="26"/></resources>

BIN
examples/Demo/data/images/anim1.png


BIN
examples/Demo/data/images/batterfly.png


BIN
examples/Demo/data/images/batterfly2.png


BIN
examples/Demo/data/images/bg.jpg


BIN
examples/Demo/data/images/blob.png


BIN
examples/Demo/data/images/box9.png


BIN
examples/Demo/data/images/brush.png


BIN
examples/Demo/data/images/grad.png


BIN
examples/Demo/data/images/gray.png


BIN
examples/Demo/data/images/gray_alpha.png


BIN
examples/Demo/data/images/logo2.png


BIN
examples/Demo/data/images/palette.png


BIN
examples/Demo/data/images/slide.png


BIN
examples/Demo/data/images/snow.png


BIN
examples/Demo/data/images/t2p.png


+ 0 - 37
examples/Demo/data/xmls/res.xml

@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<resources>
-	<set path = "images" />
-	<atlas id = "primary" format="8888">
-		<image file="gray.png"/>
-		<image file="logo2.png" /> <!-- border=2 adds 2 pixel border from each side of image in atlas to avoid problem with mask -->
-		<image file="brush.png"/>
-		<image file="palette.png"/>		
-		<image file="snow.png"/>
-		
-		<image id="anim" file="anim1.png" cols = "7" /> <!-- 'id' is optional -->
-		<image file="batterfly.png"/>
-		<image file="batterfly2.png"/>
-		<image file="bg.jpg" data-custom = "custom user data per xml resource defined in xml"/>
-		<image file="grad.png"/>
-		<image file="t2p.png"/>
-		<image file="slide.png"/>
-		<image file="box9.png"/>
-	</atlas>
-	
-	<set load = "false" /> <!--do not load next atlasses by default-->
-	<atlas format="4444">
-		<image id="bg_4444" file="bg.jpg"/>
-		<image id="logo2_4444" file="logo2.png"/>
-	</atlas>
-	
-	<atlas format="5551">
-		<image id="bg_5551" file="bg.jpg"/>
-		<image id="logo2_5551" file="logo2.png"/>
-	</atlas>
-	
-	<atlas format="565">
-		<image id="bg_565" file="bg.jpg"/>
-		<image id="logo2_565" file="logo2.png"/>
-	</atlas>	
-	
-</resources>

+ 0 - 34
examples/Demo/demo.mkb

@@ -1,34 +0,0 @@
-#!/usr/bin/env mkb
-
-options
-{
-	module_path="../../oxygine/marmalade/"
-	enable-exceptions=1
-}
-
-includepath src
-
-files
-{
-	[src]
-	(src)
-	"*.h"
-	"*.cpp"
-}
-
-subprojects
-{
-	oxygine-framework
-	iwgl 
-}
-
-assets
-{
-	(data)
-}
-#### AUTO GENERATED deployment settings from DeployTool.exe. Do not edit below this line ####
-deployments
-{
-	["Default"]
-	android-manifest='AndroidManifest.xml'
-}

BIN
examples/Demo/demo_release_android.zip


BIN
examples/Demo/demo_release_win32.zip


BIN
examples/Demo/flash/AGAL.abc


+ 0 - 342
examples/Demo/flash/AGAL.h

@@ -1,342 +0,0 @@
-/*
-** ADOBE SYSTEMS INCORPORATED
-** Copyright 2012 Adobe Systems Incorporated. All Rights Reserved.
-**
-** NOTICE:  Adobe permits you to use, modify, and distribute this file in
-** accordance with the terms of the Adobe license agreement accompanying it.
-** If you have received this file from a source other than Adobe, then your use,
-** modification, or distribution of it requires the prior written permission of Adobe.
-*/
-
-#include <AS3/AVM2.h>
-#include <AS3/AS3.h>
-#include <AS3/AS3++.h>
-
-#ifndef AS3WIG_BOILERPLATE
-#define AS3WIG_BOILERPLATE
-
-#define AS3_GET_ID(X) (((AS3::local::internal::id_holder *)&(X))->_id)
-#define AS3_ARG_SIZE(X) ((sizeof(X) + 3) & ~3)
-static inline void *AS3_FPTR_(char c, ...) { __builtin_va_list ap; __builtin_va_start(ap, c); void *r = __builtin_va_arg(ap, void *); __builtin_va_end(ap); return r; }
-#define AS3_FPTR(X) AS3_FPTR_(-1, (X))
-
-struct AS3_DELEGATE_REQ
-{
-  void *proc;
-  void *args;
-  int size;
-  struct __avm2_retdata retdata;
-};
-
-static void *AS3_DELEGATE_THUNK(void *data)
-{
-  AS3_DELEGATE_REQ *req = (AS3_DELEGATE_REQ *)data;
-  try
-  {
-    void *ret = __avm2_apply(req->proc, req->args, req->size);
-    memcpy(&req->retdata, ret, sizeof(struct __avm2_retdata));
-  }
-  catch(AS3::ui::var &v)
-  {
-    unsigned eid = AS3_GET_ID(v);
-    AS3_GET_ID(v) = 0;
-    return (void *)eid;
-  }
-  return (void *)-1;
-}
-
-#define AS3_MAYBE_DELEGATE(X, Y) if(AS3_UI && !avm2_is_ui_worker()) { \
-  AS3_DELEGATE_REQ req = { AS3_FPTR(X), __avm2_apply_args(), (Y) }; \
-  unsigned eid = (unsigned)avm2_ui_thunk(AS3_DELEGATE_THUNK, &req);\
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  __avm2_return(&req.retdata); \
-}
-
-#define AS3_BASE_DEF(N, D) \
-  N() { _id = AS3_NS::var::internal::D; } \
-  N(const N &); \
-  N(var) __attribute__((noinline)); \
-  N &operator=(const N &) __attribute__((noinline)); \
-  N &operator=(var) __attribute__((noinline))
-
-#define AS3_IPROP_SET_DEF(T, N) \
-class iprop_##N { \
-public: \
-  iprop_##N &operator=(T) __attribute__((noinline)); \
-}
-#define AS3_IPROP_GET_DEF(T, N) \
-class iprop_##N { \
-public: \
-  operator T() __attribute__((noinline)); \
-}
-#define AS3_IPROP_SET_GET_DEF(T, N) \
-class iprop_##N { \
-public: \
-  operator T() __attribute__((noinline)); \
-  iprop_##N &operator=(T) __attribute__((noinline)); \
-}
-
-#define AS3_PROP_SET_DEF(T, N) \
-class prop_##N { \
-public: \
-  prop_##N &operator=(T) __attribute__((noinline)); \
-}
-#define AS3_PROP_GET_DEF(T, N) \
-class prop_##N { \
-public: \
-  operator T() __attribute__((noinline)); \
-}
-#define AS3_PROP_SET_GET_DEF(T, N) \
-class prop_##N { \
-public: \
-  operator T() __attribute__((noinline)); \
-  prop_##N &operator=(T) __attribute__((noinline)); \
-}
-
-#define AS3_METH_DEF(R, N, A) \
-  R N A __attribute__((noinline))
-
-#define AS3_CONSTR_DEF(N, A) static N _new A
-
-#define AS3_PROP(N) internal::prop_##N N
-#define AS3_IPROP(N) internal::iprop_##N N
-
-#define AS3_PROP_IMPL(N, NS) /* NS::internal::prop_##N NS::N */
-
-#define AS3_BASE_IMPL(NS, N, NS3, N3) \
-AS3_NS::Class NS N::internal::getClosure() { \
-  AS3_MAYBE_DELEGATE((AS3_NS::Class (*)())(&NS N::internal::getClosure), 4); \
-  unsigned eid; \
-  unsigned id; \
-  inline_as3 ("try { import " NS3 N3 "; %1 = as3_valAcquireId(" NS3 N3 "); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid), "=r"(id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  AS3_NS::Class res; \
-  ((AS3_NS::internal::id_holder *)&res)->_id = id; \
-  return res; \
-} \
-NS N::N(const NS N &val) { \
-  _id = ((AS3_NS::internal::id_holder *)&val)->_id; \
-  AS3_NS::var::internal::acquire(_id); \
-} \
-NS N::N(var val) { \
-  operator=(val); \
-} \
-NS N &NS N::operator=(const NS N &val) { \
-  unsigned id = ((AS3_NS::internal::id_holder *)&val)->_id; \
-  AS3_NS::var::internal::acquire(id); \
-  AS3_NS::var::internal::release(_id); \
-  _id = id; \
-  return *this; \
-} \
-NS N &NS N::operator=(var val) { \
-  AS3_MAYBE_DELEGATE((NS N &(NS N::*)(var))(&NS N::operator=), 8); \
-  unsigned eid; \
-  unsigned id; \
-  inline_as3 ("try { import " NS3 N3 "; var val:" N3 " = as3_id2rcv[%2].val; %1 = as3_valAcquireId(val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid), "=r"(id) : "r"(((AS3_NS::internal::id_holder *)&val)->_id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  AS3_NS::var::internal::release(_id); \
-  _id = id; \
-  return *this; \
-}
-
-#define AS3_PROP_SET_SIMPL_(T, N, NS, N3, NS3) \
-NS::internal::prop_##N &NS::internal::prop_##N::operator=(T val) { \
-  AS3_MAYBE_DELEGATE((NS::internal::prop_##N &(NS::internal::prop_##N::*)(T))(&NS::internal::prop_##N::operator=), 4 + AS3_ARG_SIZE(T)); \
-  unsigned eid; \
-  inline_as3 ("try { import " NS3 "; " N3 " = %1; %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid) : "r"(val)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  return *this; \
-}
-#define AS3_PROP_SET_SIMPL(T, N, NS, N3, NS3) \
-AS3_PROP_SET_SIMPL_(T, N, NS, N3, NS3); \
-NS::internal::prop_##N NS::N
-#define AS3_PROP_GET_SIMPL_(T, N, NS, N3, NS3) \
-NS::internal::prop_##N::operator T() { \
-  AS3_MAYBE_DELEGATE((T (NS::internal::prop_##N::*)())(&NS::internal::prop_##N::operator T), 4); \
-  unsigned eid; \
-  T res; \
-  inline_as3 ("try { import " NS3 "; %1 = " N3 "; %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid), "=r"(res)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  return res; \
-}
-#define AS3_PROP_GET_SIMPL(T, N, NS, N3, NS3) \
-AS3_PROP_GET_SIMPL_(T, N, NS, N3, NS3); \
-NS::internal::prop_##N NS::N
-#define AS3_PROP_SET_GET_SIMPL_(T, N, NS, N3, NS3) \
-AS3_PROP_SET_SIMPL_(T, N, NS, N3, NS3); \
-AS3_PROP_GET_SIMPL_(T, N, NS, N3, NS3)
-#define AS3_PROP_SET_GET_SIMPL(T, N, NS, N3, NS3) \
-AS3_PROP_SET_GET_SIMPL_(T, N, NS, N3, NS3); \
-NS::internal::prop_##N NS::N
-
-#define AS3_PROP_SET_IMPL_(T, N, NS, N3, NS3) \
-NS::internal::prop_##N &NS::internal::prop_##N::operator=(T val) { \
-  AS3_MAYBE_DELEGATE((NS::internal::prop_##N &(NS::internal::prop_##N::*)(T))(&NS::internal::prop_##N::operator=), 8); \
-  unsigned eid; \
-  unsigned id = ((AS3_NS::internal::id_holder *)&val)->_id; \
-  inline_as3 ("try { import " NS3 "; " N3 " = as3_id2rcv[%1].val; %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid) : "r"(id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  return *this; \
-}
-#define AS3_PROP_GET_IMPL_(T, N, NS, N3, NS3) \
-NS::internal::prop_##N::operator T() { \
-  AS3_MAYBE_DELEGATE((T (NS::internal::prop_##N::*)())(&NS::internal::prop_##N::operator T), 8); \
-  unsigned eid; \
-  unsigned id; \
-  inline_as3 ("try { import " NS3 "; %1 = as3_valAcquireId(" N3 "); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid), "=r"(id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  T res; \
-  ((AS3_NS::internal::id_holder *)&res)->_id = id; \
-  return res; \
-}
-#define AS3_PROP_SET_IMPL(T, N, NS, N3, NS3) \
-AS3_PROP_SET_IMPL_(T, N, NS, N3, NS3); \
-NS::internal::prop_##N NS::N
-#define AS3_PROP_GET_IMPL(T, N, NS, N3, NS3) \
-AS3_PROP_GET_IMPL_(T, N, NS, N3, NS3); \
-NS::internal::prop_##N NS::N
-#define AS3_PROP_SET_GET_IMPL_(T, N, NS, N3, NS3) \
-AS3_PROP_SET_IMPL_(T, N, NS, N3, NS3); \
-AS3_PROP_GET_IMPL_(T, N, NS, N3, NS3)
-#define AS3_PROP_SET_GET_IMPL(T, N, NS, N3, NS3) \
-AS3_PROP_SET_GET_IMPL_(T, N, NS, N3, NS3); \
-NS::internal::prop_##N NS::N
-
-#define AS3_IMETH_IMPL(T, NS, C, N, A, I, AS) T NS C::internal::instance::N A { \
-  AS3_MAYBE_DELEGATE((T (NS C::internal::instance::*)A)(&NS C::internal::instance::N), AS); \
-I \
-}
-#define AS3_METH_IMPL(T, N, A, I, AS) T N A { \
-  AS3_MAYBE_DELEGATE((T (*)A)(&N), AS); \
-I \
-}
-#define AS3_CONSTR_IMPL(NS, N, A, I, AS) NS N NS N::_new A { \
-  AS3_MAYBE_DELEGATE((NS N (*)A)(&NS N::_new), AS); \
-I \
-}
-
-#define AS3_IPROP_TO_ID(NS, C, N) \
-  ((AS3_NS::internal::id_holder *)((char *)this - __builtin_offsetof(NS C::internal::instance, N)))->_id
-
-#define AS3_IPROP_SET_SIMPL(T, N, NS, C, N3) \
-NS C::internal::iprop_##N &NS C::internal::iprop_##N::operator=(T val) { \
-  AS3_MAYBE_DELEGATE((NS C::internal::iprop_##N &(NS C::internal::iprop_##N::*)(T))(&NS C::internal::iprop_##N::operator=), 4 + AS3_ARG_SIZE(T)); \
-  unsigned eid; \
-  unsigned _id = ((AS3_NS::internal::id_holder *)((char *)this - __builtin_offsetof(NS C::internal::instance, N)))->_id; \
-  inline_as3 ("try { as3_id2rcv[%1].val." N3 " = %2; %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid) : "r"(_id), "r"(val)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  return *this; \
-}
-#define AS3_IPROP_GET_SIMPL(T, N, NS, C, N3) \
-NS C::internal::iprop_##N::operator T() { \
-  AS3_MAYBE_DELEGATE((T (NS C::internal::iprop_##N::*)())(&NS C::internal::iprop_##N::operator T), 4); \
-  unsigned eid; \
-  unsigned _id = ((AS3_NS::internal::id_holder *)((char *)this - __builtin_offsetof(NS C::internal::instance, N)))->_id; \
-  T res; \
-  inline_as3 ("try { %1 = as3_id2rcv[%2].val." N3 "; %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid), "=r"(res) : "r"(_id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  return res; \
-}
-#define AS3_IPROP_SET_GET_SIMPL(T, N, NS, C, N3) \
-AS3_IPROP_SET_SIMPL(T, N, NS, C, N3); \
-AS3_IPROP_GET_SIMPL(T, N, NS, C, N3)
-
-#define AS3_IPROP_SET_IMPL(T, N, NS, C, N3) \
-NS C::internal::iprop_##N &NS C::internal::iprop_##N::operator=(T val) { \
-  AS3_MAYBE_DELEGATE((NS C::internal::iprop_##N &(NS C::internal::iprop_##N::*)(T))(&NS C::internal::iprop_##N::operator=), 8); \
-  unsigned eid; \
-  unsigned _id = ((AS3_NS::internal::id_holder *)((char *)this - __builtin_offsetof(NS C::internal::instance, N)))->_id; \
-  unsigned id = ((AS3_NS::internal::id_holder *)&val)->_id; \
-  inline_as3 ("try { as3_id2rcv[%1].val." N3 " = as3_id2rcv[%2].val; %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid) : "r"(_id), "r"(id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  return *this; \
-}
-#define AS3_IPROP_GET_IMPL(T, N, NS, C, N3) \
-NS C::internal::iprop_##N::operator T() { \
-  AS3_MAYBE_DELEGATE((T (NS C::internal::iprop_##N::*)())(&NS C::internal::iprop_##N::operator T), 8); \
-  unsigned eid; \
-  unsigned _id = ((AS3_NS::internal::id_holder *)((char *)this - __builtin_offsetof(NS C::internal::instance, N)))->_id; \
-  unsigned id; \
-  inline_as3 ("try { %1 = as3_valAcquireId(as3_id2rcv[%2].val." N3 "); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : \
-      "=r"(eid), "=r"(id) : "r"(_id)); \
-  if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; } \
-  T res; \
-  ((AS3_NS::internal::id_holder *)&res)->_id = id; \
-  return res; \
-}
-#define AS3_IPROP_SET_GET_IMPL(T, N, NS, C, N3) \
-AS3_IPROP_SET_IMPL(T, N, NS, C, N3); \
-AS3_IPROP_GET_IMPL(T, N, NS, C, N3)
-
-#endif
-
-#define AS3_UI 1
-#define AS3_NS AS3::ui
-
-namespace AS3 {
-namespace ui {
-#ifdef AS3_IMPL
-#define _AS3_IMPL
-#undef AS3_IMPL
-#endif
-#ifdef AS3WIG_USE_BUILTIN_DEFS
-  #include <AS3++/builtin.h>
-  #include <AS3++/playerglobal.h>
-#else
-  #include "AGAL_internal.h"
-#endif
-#ifdef _AS3_IMPL
-#define AS3_IMPL
-#undef _AS3_IMPL
-#ifdef AS3WIG_USE_BUILTIN_DEFS
-  #include <AS3++/builtin.h>
-  #include <AS3++/playerglobal.h>
-#else
-  #include "AGAL_internal.h"
-#endif
-#endif
-}
-}
-
-#undef AS3_NS
-#undef AS3_UI
-
-#define AS3_UI 0
-#define AS3_NS AS3::local
-
-namespace AS3 {
-namespace local {
-#ifdef AS3_IMPL
-#define _AS3_IMPL 
-#undef AS3_IMPL
-#endif
-#ifdef AS3WIG_USE_BUILTIN_DEFS
-  #include <AS3++/builtin.h>
-  #include <AS3++/playerglobal.h>
-#else
-  #include "AGAL_internal.h"
-#endif
-#ifdef _AS3_IMPL
-#define AS3_IMPL
-#undef _AS3_IMPL
-#ifdef AS3WIG_USE_BUILTIN_DEFS
-  #include <AS3++/builtin.h>
-  #include <AS3++/playerglobal.h>
-#else
-  #include "AGAL_internal.h"
-#endif
-#endif
-}
-}
-
-#undef AS3_NS
-#undef AS3_UI

BIN
examples/Demo/flash/AGAL.o


+ 0 - 594
examples/Demo/flash/AGAL_internal.h

@@ -1,594 +0,0 @@
-#ifndef AS3_IMPL // class interfaces
-#pragma GCC diagnostic ignored "-Wdiv-by-zero" push
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class VM;
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class Expression;
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class ExpressionParser;
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class AGALVar;
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class AGALPreAssembler;
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-class PerspectiveMatrix3D;
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-class AGALMiniAssembler;
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-class AGALMacroAssembler;
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class VM : public AS3_NS::Object {
-protected:
-	explicit VM(unsigned id) : AS3_NS::Object(id) {}
-public:
-	AS3_BASE_DEF(VM, kNull);
-	class internal {
-		AS3_IPROP_SET_GET_DEF(AS3_NS::Array, stack);
-		AS3_IPROP_SET_GET_DEF(AS3_NS::flash::utils::Dictionary, vars);
-	public:
-		static Class getClosure();
-		class instance : public AS3_NS::Object::internal::instance {
-		public:
-			AS3_IPROP(stack);
-			AS3_IPROP(vars);
-			AS3_METH_DEF(void, pushIf, ());
-			AS3_METH_DEF(void, popEndif, ());
-			AS3_METH_DEF(void, setIf, ( double));
-			AS3_METH_DEF(bool, ifWasTrue, ());
-			AS3_METH_DEF(bool, ifIsTrue, ());
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	AS3_CONSTR_DEF(VM, ());
-};
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class Expression : public AS3_NS::Object {
-protected:
-	explicit Expression(unsigned id) : AS3_NS::Object(id) {}
-public:
-	AS3_BASE_DEF(Expression, kNull);
-	class internal {
-	public:
-		static Class getClosure();
-		class instance : public AS3_NS::Object::internal::instance {
-		public:
-			AS3_METH_DEF(void, print, ( int));
-			AS3_METH_DEF(void, exec, ( AS3_NS::com::adobe::utils::macro::VM));
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	AS3_CONSTR_DEF(Expression, ());
-};
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class ExpressionParser : public AS3_NS::Object {
-protected:
-	explicit ExpressionParser(unsigned id) : AS3_NS::Object(id) {}
-public:
-	AS3_BASE_DEF(ExpressionParser, kNull);
-	class internal {
-	public:
-		static Class getClosure();
-		class instance : public AS3_NS::Object::internal::instance {
-		public:
-			AS3_METH_DEF(AS3_NS::com::adobe::utils::macro::Expression, parse, ( AS3_NS::var, AS3_NS::String));
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	AS3_CONSTR_DEF(ExpressionParser, ());
-};
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class AGALVar : public AS3_NS::Object {
-protected:
-	explicit AGALVar(unsigned id) : AS3_NS::Object(id) {}
-public:
-	AS3_BASE_DEF(AGALVar, kNull);
-	class internal {
-		AS3_IPROP_SET_GET_DEF(AS3_NS::String, name);
-		AS3_IPROP_SET_GET_DEF(AS3_NS::String, target);
-		AS3_IPROP_SET_GET_DEF(double, w);
-		AS3_IPROP_SET_GET_DEF(double, x);
-		AS3_IPROP_SET_GET_DEF(double, y);
-		AS3_IPROP_SET_GET_DEF(double, z);
-	public:
-		static Class getClosure();
-		class instance : public AS3_NS::Object::internal::instance {
-		public:
-			AS3_IPROP(name);
-			AS3_IPROP(target);
-			AS3_IPROP(w);
-			AS3_IPROP(x);
-			AS3_IPROP(y);
-			AS3_IPROP(z);
-			AS3_METH_DEF(bool, isConstant, ());
-			AS3_METH_DEF(AS3_NS::String, toString, ());
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	AS3_CONSTR_DEF(AGALVar, ());
-};
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-namespace macro {
-class AGALPreAssembler : public AS3_NS::Object {
-protected:
-	explicit AGALPreAssembler(unsigned id) : AS3_NS::Object(id) {}
-public:
-	AS3_BASE_DEF(AGALPreAssembler, kNull);
-	class internal {
-	public:
-		static Class getClosure();
-		AS3_PROP_GET_DEF(bool, TRACE_AST);
-		AS3_PROP_GET_DEF(bool, TRACE_PREPROC);
-		AS3_PROP_GET_DEF(bool, TRACE_VM);
-		class instance : public AS3_NS::Object::internal::instance {
-		public:
-			AS3_METH_DEF(bool, processLine, ( AS3_NS::var, AS3_NS::String));
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	static AS3_PROP(TRACE_AST);
-	static AS3_PROP(TRACE_PREPROC);
-	static AS3_PROP(TRACE_VM);
-	AS3_CONSTR_DEF(AGALPreAssembler, ());
-};
-} //macro
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-class PerspectiveMatrix3D : public AS3_NS::flash::geom::Matrix3D {
-protected:
-	explicit PerspectiveMatrix3D(unsigned id) : AS3_NS::flash::geom::Matrix3D(id) {}
-public:
-	AS3_BASE_DEF(PerspectiveMatrix3D, kNull);
-	class internal {
-	public:
-		static Class getClosure();
-		class instance : public AS3_NS::flash::geom::Matrix3D::internal::instance {
-		public:
-			AS3_METH_DEF(void, lookAtLH, ( AS3_NS::flash::geom::Vector3D, AS3_NS::flash::geom::Vector3D, AS3_NS::flash::geom::Vector3D));
-			AS3_METH_DEF(void, lookAtRH, ( AS3_NS::flash::geom::Vector3D, AS3_NS::flash::geom::Vector3D, AS3_NS::flash::geom::Vector3D));
-			AS3_METH_DEF(void, perspectiveLH, ( double, double, double, double));
-			AS3_METH_DEF(void, perspectiveRH, ( double, double, double, double));
-			AS3_METH_DEF(void, perspectiveFieldOfViewLH, ( double, double, double, double));
-			AS3_METH_DEF(void, perspectiveFieldOfViewRH, ( double, double, double, double));
-			AS3_METH_DEF(void, perspectiveOffCenterLH, ( double, double, double, double, double, double));
-			AS3_METH_DEF(void, perspectiveOffCenterRH, ( double, double, double, double, double, double));
-			AS3_METH_DEF(void, orthoLH, ( double, double, double, double));
-			AS3_METH_DEF(void, orthoRH, ( double, double, double, double));
-			AS3_METH_DEF(void, orthoOffCenterLH, ( double, double, double, double, double, double));
-			AS3_METH_DEF(void, orthoOffCenterRH, ( double, double, double, double, double, double));
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	AS3_CONSTR_DEF(PerspectiveMatrix3D, ( AS3_NS::var = *(AS3_NS::var*)&AS3_NS::internal::_null));
-};
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-class AGALMiniAssembler : public AS3_NS::Object {
-protected:
-	explicit AGALMiniAssembler(unsigned id) : AS3_NS::Object(id) {}
-public:
-	AS3_BASE_DEF(AGALMiniAssembler, kNull);
-	class internal {
-		AS3_IPROP_GET_DEF(AS3_NS::flash::utils::ByteArray, agalcode);
-		AS3_IPROP_GET_DEF(AS3_NS::String, error);
-		AS3_IPROP_SET_GET_DEF(bool, verbose);
-	public:
-		static Class getClosure();
-		class instance : public AS3_NS::Object::internal::instance {
-		public:
-			AS3_IPROP(agalcode);
-			AS3_IPROP(error);
-			AS3_IPROP(verbose);
-			AS3_METH_DEF(AS3_NS::flash::utils::ByteArray, assemble, ( AS3_NS::String, AS3_NS::String));
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	AS3_CONSTR_DEF(AGALMiniAssembler, ( bool = false));
-};
-} //utils
-} //adobe
-} //com
-namespace com {
-namespace adobe {
-namespace utils {
-class AGALMacroAssembler : public AS3_NS::com::adobe::utils::AGALMiniAssembler {
-protected:
-	explicit AGALMacroAssembler(unsigned id) : AS3_NS::com::adobe::utils::AGALMiniAssembler(id) {}
-public:
-	AS3_BASE_DEF(AGALMacroAssembler, kNull);
-	class internal {
-		AS3_IPROP_SET_GET_DEF(AS3_NS::flash::utils::Dictionary, aliases);
-		AS3_IPROP_SET_GET_DEF(AS3_NS::String, asmCode);
-		AS3_IPROP_SET_GET_DEF(bool, profile);
-		AS3_IPROP_SET_GET_DEF(AS3_NS::String, profileTrace);
-	public:
-		static Class getClosure();
-		AS3_PROP_GET_DEF(AS3_NS::RegExp, IDENTIFIER);
-		AS3_PROP_GET_DEF(AS3_NS::RegExp, NUMBER);
-		AS3_PROP_GET_DEF(AS3_NS::RegExp, OPERATOR);
-		AS3_PROP_GET_DEF(AS3_NS::RegExp, PREPROC);
-		AS3_PROP_GET_DEF(AS3_NS::RegExp, SEPERATOR);
-		AS3_PROP_GET_DEF(AS3_NS::String, STDLIB);
-		AS3_PROP_GET_DEF(AS3_NS::RegExp, TOKEN);
-		class instance : public AS3_NS::com::adobe::utils::AGALMiniAssembler::internal::instance {
-		public:
-			AS3_IPROP(aliases);
-			AS3_IPROP(asmCode);
-			AS3_IPROP(profile);
-			AS3_IPROP(profileTrace);
-			AS3_METH_DEF(AS3_NS::flash::utils::ByteArray, assemble, ( AS3_NS::String, AS3_NS::String));
-		};
-	};
-	internal::instance *operator->() { return (internal::instance *)this; }
-	static AS3_PROP(IDENTIFIER);
-	static AS3_PROP(NUMBER);
-	static AS3_PROP(OPERATOR);
-	static AS3_PROP(PREPROC);
-	static AS3_PROP(SEPERATOR);
-	static AS3_PROP(STDLIB);
-	static AS3_PROP(TOKEN);
-	static AS3_METH_DEF(AS3_NS::String, joinTokens, ( AS3_NS::var));
-	AS3_CONSTR_DEF(AGALMacroAssembler, ( bool = false));
-};
-} //utils
-} //adobe
-} //com
-#pragma GCC diagnostic ignored "-Wdiv-by-zero" pop
-#else // class implementations
-AS3_BASE_IMPL(com::adobe::utils::macro::, VM, "com.adobe.utils.macro.", "VM");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::Array, stack, com::adobe::utils::macro::, VM, "stack");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::flash::utils::Dictionary, vars, com::adobe::utils::macro::, VM, "vars");
-AS3_IMETH_IMPL(void, com::adobe::utils::macro::, VM, pushIf, (), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.macro.VM; var thiz:VM = as3_id2rcv[%1].val; try { thiz.pushIf(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 4)
-AS3_IMETH_IMPL(void, com::adobe::utils::macro::, VM, popEndif, (), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.macro.VM; var thiz:VM = as3_id2rcv[%1].val; try { thiz.popEndif(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 4)
-AS3_IMETH_IMPL(void, com::adobe::utils::macro::, VM, setIf, ( double arg0), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.macro.VM; var thiz:VM = as3_id2rcv[%1].val; try { thiz.setIf(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 12)
-AS3_IMETH_IMPL(bool, com::adobe::utils::macro::, VM, ifWasTrue, (), {
-	unsigned eid;
-	bool res;
-	inline_as3 ("import com.adobe.utils.macro.VM; var thiz:VM = as3_id2rcv[%2].val; try { %1 = thiz.ifWasTrue(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	return res;
-}, 4)
-AS3_IMETH_IMPL(bool, com::adobe::utils::macro::, VM, ifIsTrue, (), {
-	unsigned eid;
-	bool res;
-	inline_as3 ("import com.adobe.utils.macro.VM; var thiz:VM = as3_id2rcv[%2].val; try { %1 = thiz.ifIsTrue(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	return res;
-}, 4)
-AS3_CONSTR_IMPL(com::adobe::utils::macro::, VM, (), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.VM; try { %1 = as3_valAcquireId(new VM()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::macro::VM res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 4)
-AS3_BASE_IMPL(com::adobe::utils::macro::, Expression, "com.adobe.utils.macro.", "Expression");
-AS3_IMETH_IMPL(void, com::adobe::utils::macro::, Expression, print, ( int arg0), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.macro.Expression; var thiz:Expression = as3_id2rcv[%1].val; try { thiz.print(%2); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 8)
-AS3_IMETH_IMPL(void, com::adobe::utils::macro::, Expression, exec, ( AS3_NS::com::adobe::utils::macro::VM arg0), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.macro.Expression; var thiz:Expression = as3_id2rcv[%1].val; try { thiz.exec(as3_id2rcv[%2].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 8)
-AS3_CONSTR_IMPL(com::adobe::utils::macro::, Expression, (), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.Expression; try { %1 = as3_valAcquireId(new Expression()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::macro::Expression res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 4)
-AS3_BASE_IMPL(com::adobe::utils::macro::, ExpressionParser, "com.adobe.utils.macro.", "ExpressionParser");
-AS3_IMETH_IMPL(AS3_NS::com::adobe::utils::macro::Expression, com::adobe::utils::macro::, ExpressionParser, parse, ( AS3_NS::var arg0, AS3_NS::String arg1), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.ExpressionParser; var thiz:ExpressionParser = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.parse(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::macro::Expression res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 16)
-AS3_CONSTR_IMPL(com::adobe::utils::macro::, ExpressionParser, (), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.ExpressionParser; try { %1 = as3_valAcquireId(new ExpressionParser()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::macro::ExpressionParser res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 4)
-AS3_BASE_IMPL(com::adobe::utils::macro::, AGALVar, "com.adobe.utils.macro.", "AGALVar");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::String, name, com::adobe::utils::macro::, AGALVar, "name");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::String, target, com::adobe::utils::macro::, AGALVar, "target");
-AS3_IPROP_SET_GET_SIMPL(double, w, com::adobe::utils::macro::, AGALVar, "w");
-AS3_IPROP_SET_GET_SIMPL(double, x, com::adobe::utils::macro::, AGALVar, "x");
-AS3_IPROP_SET_GET_SIMPL(double, y, com::adobe::utils::macro::, AGALVar, "y");
-AS3_IPROP_SET_GET_SIMPL(double, z, com::adobe::utils::macro::, AGALVar, "z");
-AS3_IMETH_IMPL(bool, com::adobe::utils::macro::, AGALVar, isConstant, (), {
-	unsigned eid;
-	bool res;
-	inline_as3 ("import com.adobe.utils.macro.AGALVar; var thiz:AGALVar = as3_id2rcv[%2].val; try { %1 = thiz.isConstant(); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	return res;
-}, 4)
-AS3_IMETH_IMPL(AS3_NS::String, com::adobe::utils::macro::, AGALVar, toString, (), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.AGALVar; var thiz:AGALVar = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.toString()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::String res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 8)
-AS3_CONSTR_IMPL(com::adobe::utils::macro::, AGALVar, (), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.AGALVar; try { %1 = as3_valAcquireId(new AGALVar()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::macro::AGALVar res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 4)
-AS3_BASE_IMPL(com::adobe::utils::macro::, AGALPreAssembler, "com.adobe.utils.macro.", "AGALPreAssembler");
-AS3_PROP_GET_SIMPL(bool, TRACE_AST, com::adobe::utils::macro::AGALPreAssembler, "com.adobe.utils.macro.AGALPreAssembler.TRACE_AST", "com.adobe.utils.macro.AGALPreAssembler");
-AS3_PROP_GET_SIMPL(bool, TRACE_PREPROC, com::adobe::utils::macro::AGALPreAssembler, "com.adobe.utils.macro.AGALPreAssembler.TRACE_PREPROC", "com.adobe.utils.macro.AGALPreAssembler");
-AS3_PROP_GET_SIMPL(bool, TRACE_VM, com::adobe::utils::macro::AGALPreAssembler, "com.adobe.utils.macro.AGALPreAssembler.TRACE_VM", "com.adobe.utils.macro.AGALPreAssembler");
-AS3_IMETH_IMPL(bool, com::adobe::utils::macro::, AGALPreAssembler, processLine, ( AS3_NS::var arg0, AS3_NS::String arg1), {
-	unsigned eid;
-	bool res;
-	inline_as3 ("import com.adobe.utils.macro.AGALPreAssembler; var thiz:AGALPreAssembler = as3_id2rcv[%2].val; try { %1 = thiz.processLine(as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(res) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	return res;
-}, 12)
-AS3_CONSTR_IMPL(com::adobe::utils::macro::, AGALPreAssembler, (), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.macro.AGALPreAssembler; try { %1 = as3_valAcquireId(new AGALPreAssembler()); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::macro::AGALPreAssembler res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 4)
-AS3_BASE_IMPL(com::adobe::utils::, PerspectiveMatrix3D, "com.adobe.utils.", "PerspectiveMatrix3D");
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, lookAtLH, ( AS3_NS::flash::geom::Vector3D arg0, AS3_NS::flash::geom::Vector3D arg1, AS3_NS::flash::geom::Vector3D arg2), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.lookAtLH(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 16)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, lookAtRH, ( AS3_NS::flash::geom::Vector3D arg0, AS3_NS::flash::geom::Vector3D arg1, AS3_NS::flash::geom::Vector3D arg2), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.lookAtRH(as3_id2rcv[%2].val, as3_id2rcv[%3].val, as3_id2rcv[%4].val); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)), "r"(AS3_GET_ID(arg2)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 16)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, perspectiveLH, ( double arg0, double arg1, double arg2, double arg3), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.perspectiveLH(%2, %3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 36)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, perspectiveRH, ( double arg0, double arg1, double arg2, double arg3), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.perspectiveRH(%2, %3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 36)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, perspectiveFieldOfViewLH, ( double arg0, double arg1, double arg2, double arg3), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.perspectiveFieldOfViewLH(%2, %3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 36)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, perspectiveFieldOfViewRH, ( double arg0, double arg1, double arg2, double arg3), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.perspectiveFieldOfViewRH(%2, %3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 36)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, perspectiveOffCenterLH, ( double arg0, double arg1, double arg2, double arg3, double arg4, double arg5), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.perspectiveOffCenterLH(%2, %3, %4, %5, %6, %7); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3), "r"(arg4), "r"(arg5));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 52)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, perspectiveOffCenterRH, ( double arg0, double arg1, double arg2, double arg3, double arg4, double arg5), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.perspectiveOffCenterRH(%2, %3, %4, %5, %6, %7); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3), "r"(arg4), "r"(arg5));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 52)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, orthoLH, ( double arg0, double arg1, double arg2, double arg3), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.orthoLH(%2, %3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 36)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, orthoRH, ( double arg0, double arg1, double arg2, double arg3), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.orthoRH(%2, %3, %4, %5); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 36)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, orthoOffCenterLH, ( double arg0, double arg1, double arg2, double arg3, double arg4, double arg5), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.orthoOffCenterLH(%2, %3, %4, %5, %6, %7); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3), "r"(arg4), "r"(arg5));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 52)
-AS3_IMETH_IMPL(void, com::adobe::utils::, PerspectiveMatrix3D, orthoOffCenterRH, ( double arg0, double arg1, double arg2, double arg3, double arg4, double arg5), {
-	unsigned eid;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; var thiz:PerspectiveMatrix3D = as3_id2rcv[%1].val; try { thiz.orthoOffCenterRH(%2, %3, %4, %5, %6, %7); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid) : "r"(_id), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3), "r"(arg4), "r"(arg5));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-}, 52)
-AS3_CONSTR_IMPL(com::adobe::utils::, PerspectiveMatrix3D, ( AS3_NS::var arg0), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.PerspectiveMatrix3D; try { %1 = as3_valAcquireId(new PerspectiveMatrix3D(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::PerspectiveMatrix3D res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 8)
-AS3_BASE_IMPL(com::adobe::utils::, AGALMiniAssembler, "com.adobe.utils.", "AGALMiniAssembler");
-AS3_IPROP_GET_IMPL(AS3_NS::flash::utils::ByteArray, agalcode, com::adobe::utils::, AGALMiniAssembler, "agalcode");
-AS3_IPROP_GET_IMPL(AS3_NS::String, error, com::adobe::utils::, AGALMiniAssembler, "error");
-AS3_IPROP_SET_GET_SIMPL(bool, verbose, com::adobe::utils::, AGALMiniAssembler, "verbose");
-AS3_IMETH_IMPL(AS3_NS::flash::utils::ByteArray, com::adobe::utils::, AGALMiniAssembler, assemble, ( AS3_NS::String arg0, AS3_NS::String arg1), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.AGALMiniAssembler; var thiz:AGALMiniAssembler = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.assemble(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::flash::utils::ByteArray res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 16)
-AS3_CONSTR_IMPL(com::adobe::utils::, AGALMiniAssembler, ( bool arg0), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.AGALMiniAssembler; try { %1 = as3_valAcquireId(new AGALMiniAssembler(%2)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(arg0));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::AGALMiniAssembler res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 8)
-AS3_BASE_IMPL(com::adobe::utils::, AGALMacroAssembler, "com.adobe.utils.", "AGALMacroAssembler");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::flash::utils::Dictionary, aliases, com::adobe::utils::, AGALMacroAssembler, "aliases");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::String, asmCode, com::adobe::utils::, AGALMacroAssembler, "asmCode");
-AS3_IPROP_SET_GET_SIMPL(bool, profile, com::adobe::utils::, AGALMacroAssembler, "profile");
-AS3_IPROP_SET_GET_IMPL(AS3_NS::String, profileTrace, com::adobe::utils::, AGALMacroAssembler, "profileTrace");
-AS3_PROP_GET_IMPL(AS3_NS::RegExp, IDENTIFIER, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.IDENTIFIER", "com.adobe.utils.AGALMacroAssembler");
-AS3_PROP_GET_IMPL(AS3_NS::RegExp, NUMBER, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.NUMBER", "com.adobe.utils.AGALMacroAssembler");
-AS3_PROP_GET_IMPL(AS3_NS::RegExp, OPERATOR, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.OPERATOR", "com.adobe.utils.AGALMacroAssembler");
-AS3_PROP_GET_IMPL(AS3_NS::RegExp, PREPROC, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.PREPROC", "com.adobe.utils.AGALMacroAssembler");
-AS3_PROP_GET_IMPL(AS3_NS::RegExp, SEPERATOR, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.SEPERATOR", "com.adobe.utils.AGALMacroAssembler");
-AS3_PROP_GET_IMPL(AS3_NS::String, STDLIB, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.STDLIB", "com.adobe.utils.AGALMacroAssembler");
-AS3_PROP_GET_IMPL(AS3_NS::RegExp, TOKEN, com::adobe::utils::AGALMacroAssembler, "com.adobe.utils.AGALMacroAssembler.TOKEN", "com.adobe.utils.AGALMacroAssembler");
-AS3_IMETH_IMPL(AS3_NS::flash::utils::ByteArray, com::adobe::utils::, AGALMacroAssembler, assemble, ( AS3_NS::String arg0, AS3_NS::String arg1), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.AGALMacroAssembler; var thiz:AGALMacroAssembler = as3_id2rcv[%2].val; try { %1 = as3_valAcquireId(thiz.assemble(as3_id2rcv[%3].val, as3_id2rcv[%4].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(_id), "r"(AS3_GET_ID(arg0)), "r"(AS3_GET_ID(arg1)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::flash::utils::ByteArray res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 16)
-AS3_METH_IMPL(AS3_NS::String, com::adobe::utils::AGALMacroAssembler::joinTokens, ( AS3_NS::var arg0), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.AGALMacroAssembler; try { %1 = as3_valAcquireId(AGALMacroAssembler.joinTokens(as3_id2rcv[%2].val)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(AS3_GET_ID(arg0)));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::String res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 8)
-AS3_CONSTR_IMPL(com::adobe::utils::, AGALMacroAssembler, ( bool arg0), {
-	unsigned eid;
-	unsigned id;
-	inline_as3 ("import com.adobe.utils.AGALMacroAssembler; try { %1 = as3_valAcquireId(new AGALMacroAssembler(%2)); %0 = -1 } catch(e:*) { %0 = as3_valAcquireId(e) }" : "=r"(eid), "=r"(id) : "r"(arg0));
-	if(eid != -1U) { var e; AS3_GET_ID(e) = eid; throw e; }
-	AS3_NS::com::adobe::utils::AGALMacroAssembler res;
-	AS3_GET_ID(res) = id;
-	return res;
-}, 8)
-#endif // classes 
-#ifndef AS3_IMPL // function interfaces
-#else // function implementations
-#endif // functions
-#ifndef AS3_IMPL // property interfaces
-#else // property implementations
-#endif // properties

BIN
examples/Demo/flash/Console.abc


+ 0 - 216
examples/Demo/flash/Console.as

@@ -1,216 +0,0 @@
-/*
-** ADOBE SYSTEMS INCORPORATED
-** Copyright 2012 Adobe Systems Incorporated. All Rights Reserved.
-**
-** NOTICE:  Adobe permits you to use, modify, and distribute this file in
-** accordance with the terms of the Adobe license agreement accompanying it.
-** If you have received this file from a source other than Adobe, then your use,
-** modification, or distribution of it requires the prior written permission of Adobe.
-*/
-
-package com.adobe.flascc
-{
-  import flash.display.DisplayObjectContainer; 
-  import flash.display.Sprite;
-  import flash.display.StageScaleMode;
-  import flash.events.Event;
-  import flash.net.LocalConnection;
-  import flash.net.URLRequest;
-  import flash.text.TextField;
-  import flash.utils.ByteArray;
-
-  import com.adobe.flascc.vfs.ISpecialFile;
-  import com.adobe.flascc.vfs.RootFSBackingStore;
-
-  /**
-  * A basic implementation of a console for FlasCC apps.
-  * The PlayerKernel class delegates to this for things like read/write,
-  * so that console output can be displayed in a TextField on the Stage.
-  */
-  public class Console extends Sprite implements ISpecialFile
-  {
-    private var enableConsole:Boolean = true
-    private var _tf:TextField
-    private var inputContainer:DisplayObjectContainer
-
-    /**
-    * To Support the preloader case you might want to have the Console
-    * act as a child of some other DisplayObjectContainer.
-    */
-    public function Console(container:DisplayObjectContainer = null)
-    {
-      CModule.rootSprite = container ? container.root : this
-
-      if(CModule.runningAsWorker()) {
-        return;
-      }
-
-      if(container) {
-        container.addChild(this)
-        init(null)
-      } else {
-        addEventListener(Event.ADDED_TO_STAGE, init)
-      }
-    }
-
-    /**
-    * All of the real FlasCC init happens in this method,
-    * which is either run on startup or once the SWF has
-    * been added to the stage.
-    */
-    protected function init(e:Event):void
-    {
-      inputContainer = new Sprite()
-      addChild(inputContainer)
-
-      addEventListener(Event.ENTER_FRAME, enterFrame)
-
-      stage.frameRate = 60
-      stage.scaleMode = StageScaleMode.NO_SCALE
-
-      if(enableConsole) {
-        _tf = new TextField
-        _tf.multiline = true
-        _tf.width = stage.stageWidth
-        _tf.height = stage.stageHeight 
-        inputContainer.addChild(_tf)
-      }
-
-      try
-      {
-        // change to false to prevent running main in the background
-        // when Workers are supported
-        const runMainBg:Boolean = true
-
-        // PlayerKernel will delegate read/write requests to the "/dev/tty"
-        // file to the object specified with this API.
-        CModule.vfs.console = this
-
-        CModule.vfs.addBackingStore(new RootFSBackingStore(), null)
-
-        // By default we run "main" on a background worker so that
-        // console updates show up in real time. Otherwise "startAsync"
-        // causes main to run on the UI worker
-        if(runMainBg && CModule.canUseWorkers) // start in bg if we have workers 
-        {
-          consoleWrite("startBackground\n")
-          CModule.startBackground(this, new <String>[], new <String>[])
-        }
-        else
-        {
-          consoleWrite("startAsync\n")
-          CModule.startAsync(this)
-        }
-      }
-      catch(e:*)
-      {
-        // If main gives any exceptions make sure we get a full stack trace
-        // in our console
-        consoleWrite(e.toString() + "\n" + e.getStackTrace().toString())
-        throw e
-      }
-    }
-
-    /**
-    * The callback to call when FlasCC code calls the <code>posix exit()</code> function. Leave null to exit silently.
-    * @private
-    */
-    public var exitHook:Function;
-
-    /**
-    * The PlayerKernel implementation will use this function to handle
-    * C process exit requests
-    */
-    public function exit(code:int):Boolean
-    {
-      // default to unhandled
-      if (exitHook)
-        return exitHook(code)
-      else
-        throw new Error("exit() called.")
-    }
-
-    /**
-    * The PlayerKernel implementation uses this function to handle
-    * C IO write requests to the file "/dev/tty" (for example, output from
-    * printf will pass through this function). See the ISpecialFile
-    * documentation for more information about the arguments and return value.
-    */
-    public function write(fd:int, bufPtr:int, nbyte:int, errnoPtr:int):int
-    {
-      var str:String = CModule.readString(bufPtr, nbyte)
-      consoleWrite(str)
-      return nbyte
-    }
-
-    /**
-    * The PlayerKernel implementation uses this function to handle
-    * C IO read requests to the file "/dev/tty" (for example, reads from stdin
-    * will expect this function to provide the data). See the ISpecialFile
-    * documentation for more information about the arguments and return value.
-    */
-    public function read(fd:int, bufPtr:int, nbyte:int, errnoPtr:int):int
-    {
-      return 0
-    }
-
-    /**
-    * The PlayerKernel implementation uses this function to handle
-    * C fcntl requests to the file "/dev/tty." 
-    * See the ISpecialFile documentation for more information about the
-    * arguments and return value.
-    */
-    public function fcntl(fd:int, com:int, data:int, errnoPtr:int):int
-    {
-      return 0
-    }
-
-    /**
-    * The PlayerKernel implementation uses this function to handle
-    * C ioctl requests to the file "/dev/tty." 
-    * See the ISpecialFile documentation for more information about the
-    * arguments and return value.
-    */
-    public function ioctl(fd:int, com:int, data:int, errnoPtr:int):int
-    {
-      return 0;// CModule.callI(CModule.getPublicSymbol("vglttyioctl"), new <int>[fd, com, data, errnoPtr]);
-    }
-
-    /**
-    * Helper function that traces to the flashlog text file and also
-    * displays output in the on-screen textfield console.
-    */
-    protected function consoleWrite(s:String):void
-    {
-      trace(s)
-      if(enableConsole) {
-        _tf.appendText(s)
-        //_tf.text = s
-        _tf.scrollV = _tf.maxScrollV
-      }
-    }
-
-    /**
-    * The enterFrame callback is run once every frame. UI thunk requests should be handled
-    * here by calling <code>CModule.serviceUIRequests()</code> (see CModule ASdocs for more information on the UI thunking functionality).
-    */
-    protected function enterFrame(e:Event):void
-    {
-      CModule.serviceUIRequests()
-    }
-
-    /**
-    * Provide a way to get the TextField's text.
-    */
-    public function get consoleText():String
-    {
-        var txt:String = null;
-
-        if(_tf != null){
-            txt = _tf.text;
-        }
-        
-        return txt;
-    }
-  }
-}

+ 0 - 36
examples/Demo/flash/Makefile

@@ -1,36 +0,0 @@
-T07: check
-	@echo "-------- Sample 7 --------"
-
-	"$(FLASCC)/usr/bin/genfs" ../data vfs
-	#cp "$(FLASCC)/usr/share/HTTPBackingStore.as" .
-	#cp "$(FLASCC)/usr/share/LSOBackingStore.as" .
-	#"$(FLASCC)/usr/bin/genfs" --type=http webvfs testwebvfs
-	#mv testwebvfs_manifest.as manifest.as
-
-	$(AS3COMPILERARGS)	-import $(call nativepath,$(FLASCC)/usr/lib/builtin.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/playerglobal.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/BinaryData.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/ISpecialFile.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/IBackingStore.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/IVFS.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/InMemoryBackingStore.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/PlayerKernel.abc) \
-				vfsRootFSBackingStore.as -outdir . -out VFS
-
-	$(AS3COMPILERARGS)	-import $(call nativepath,$(FLASCC)/usr/lib/builtin.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/playerglobal.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/BinaryData.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/ISpecialFile.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/IBackingStore.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/IVFS.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/InMemoryBackingStore.abc) \
-				-import $(call nativepath,$(FLASCC)/usr/lib/PlayerKernel.abc) \
-				-import VFS.abc \
-				Console.as -outdir . -out Console
-
-	#"$(FLASCC)/usr/bin/g++" $(BASE_CFLAGS) -O3 vfstest.cpp VFS.abc $(FLASCC)/usr/lib/AlcVFSZip.abc -symbol-abc=Console.abc -emit-swf -swf-version=17 -swf-size=800x600 -o vfstest.swf
-
-include ./Makefile.common
-
-clean:
-	rm -f *.swf *.bc *.abc testvfs* HTTPBackingStore.as LSOBackingStore.as testwebvfs*

+ 0 - 29
examples/Demo/flash/Makefile.common

@@ -1,29 +0,0 @@
-FLASCC:=/cygdrive/d/flash/flascc/sdk
-FLEX:=/cygdrive/d/flash/flex_sdk
-AS3COMPILER:=asc2.jar
-BASE_CFLAGS:=-Werror -Wno-write-strings -Wno-trigraphs
-
-$?UNAME=$(shell uname -s)
-ifneq (,$(findstring CYGWIN,$(UNAME)))
-	$?nativepath=$(shell cygpath -at mixed $(1))
-	$?unixpath=$(shell cygpath -at unix $(1))
-else
-	$?nativepath=$(abspath $(1))
-	$?unixpath=$(abspath $(1))
-endif
-
-ifneq (,$(findstring "asc2.jar","$(AS3COMPILER)"))
-	$?AS3COMPILERARGS=java $(JVMARGS) -jar $(call nativepath,$(FLASCC)/usr/lib/$(AS3COMPILER)) -merge -md 
-else
-	echo "ASC is no longer supported" ; exit 1 ;
-endif
-
-check:
-	@if [ -d $(FLASCC)/usr/bin ] ; then true ; \
-	else echo "Couldn't locate FLASCC sdk directory, please invoke make with \"make FLASCC=/path/to/FLASCC/sdk ...\"" ; exit 1 ; \
-	fi
-
-	@if [ -d "$(FLEX)/bin" ] ; then true ; \
-	else echo "Couldn't locate Flex sdk directory, please invoke make with \"make FLEX=/path/to/flex  ...\"" ; exit 1 ; \
-	fi
-

+ 0 - 14
examples/Demo/flash/exports.txt

@@ -1,14 +0,0 @@
-# built in symbols that must always be preserved
-_start1
-malloc
-free
-memcpy
-memmove
-flascc_uiTickProc
-_sync_synchronize
-
-# symbols for C++ exception handling
-_Unwind_SjLj_Register
-_Unwind_SjLj_Resume
-_Unwind_SjLj_Unregister
-_Unwind_SjLj_RaiseException

+ 0 - 667
examples/Demo/flash/fcc_sscanf.c

@@ -1,667 +0,0 @@
-/*
- * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
- *
- * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
- * 
- * This file contains Original Code and/or Modifications of Original Code
- * as defined in and that are subject to the Apple Public Source License
- * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. The rights granted to you under the License
- * may not be used to create, or enable the creation or redistribution of,
- * unlawful or unlicensed copies of an Apple operating system, or to
- * circumvent, violate, or enable the circumvention or violation of, any
- * terms of an Apple operating system software license agreement.
- * 
- * Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this file.
- * 
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
- * limitations under the License.
- * 
- * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
- */
-/*-
- * Copyright (c) 1990, 1993
- *	The Regents of the University of California.  All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Chris Torek.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. 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.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *	This product includes software developed by the University of
- *	California, Berkeley and its contributors.
- * 4. Neither the name of the University 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 REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#include <sys/cdefs.h>
-
-#if 0 /* XXX coming soon */
-#include <ctype.h>
-#else
- 
-static inline int
-fcc_isspace(char c)
-{
-	return (c == ' ' || c == '\t' || c == '\n' || c == '\12');
-}
-
-#endif
-#include <stdarg.h>
-#include <string.h>
-#include <sys/param.h>
-//#include <sys/systm.h>
-
-#define	BUF		32 	/* Maximum length of numeric string. */
-
-/*
- * Flags used during conversion.
- */
-#define	LONG		0x01	/* l: long or double */
-#define	SHORT		0x04	/* h: short */
-#define	SUPPRESS	0x08	/* *: suppress assignment */
-#define	POINTER		0x10	/* p: void * (as hex) */
-#define	NOSKIP		0x20	/* [ or c: do not skip blanks */
-#define	LONGLONG	0x400	/* ll: long long (+ deprecated q: quad) */
-#define	SHORTSHORT	0x4000	/* hh: char */
-#define	UNSIGNED	0x8000	/* %[oupxX] conversions */
-
-/*
- * The following are used in numeric conversions only:
- * SIGNOK, NDIGITS, DPTOK, and EXPOK are for floating point;
- * SIGNOK, NDIGITS, PFXOK, and NZDIGITS are for integral.
- */
-#define	SIGNOK		0x40	/* +/- is (still) legal */
-#define	NDIGITS		0x80	/* no digits detected */
-
-#define	DPTOK		0x100	/* (float) decimal point is still legal */
-#define	EXPOK		0x200	/* (float) exponent (e+3, etc) still legal */
-
-#define	PFXOK		0x100	/* 0x prefix is (still) legal */
-#define	NZDIGITS	0x200	/* no zero digits detected */
-
-/*
- * Conversion types.
- */
-#define	CT_CHAR		0	/* %c conversion */
-#define	CT_CCL		1	/* %[...] conversion */
-#define	CT_STRING	2	/* %s conversion */
-#define	CT_INT		3	/* %[dioupxX] conversion */
-
-static const u_char *fcc___sccl(char *, const u_char *);
-
-int
-fcc_sscanf(const char *ibuf, const char *fmt, ...)
-{
-	va_list ap;
-	int ret;
-	
-	va_start(ap, fmt);
-	ret = fcc_vsscanf(ibuf, fmt, ap);
-	va_end(ap);
-	return(ret);
-}
-
-int
-fcc_vsscanf(const char *inp, char const *fmt0, va_list ap)
-{
-	int inr;
-	const u_char *fmt = (const u_char *)fmt0;
-	int c;			/* character from format, or conversion */
-	size_t width;		/* field width, or 0 */
-	char *p;		/* points into all kinds of strings */
-	int n;			/* handy integer */
-	int flags;		/* flags as defined above */
-	char *p0;		/* saves original value of p when necessary */
-	int nassigned;		/* number of fields assigned */
-	int nconversions;	/* number of conversions */
-	int nread;		/* number of characters consumed from fp */
-	int base;		/* base argument to conversion function */
-	char ccltab[256];	/* character class table for %[...] */
-	char buf[BUF];		/* buffer for numeric conversions */
-
-	/* `basefix' is used to avoid `if' tests in the integer scanner */
-	static short basefix[17] =
-		{ 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
-
-	inr = strlen(inp);
-	
-	nassigned = 0;
-	nconversions = 0;
-	nread = 0;
-	base = 0;		/* XXX just to keep gcc happy */
-	for (;;) {
-		c = *fmt++;
-		if (c == 0)
-			return (nassigned);
-		if (fcc_isspace(c)) {
-			while (inr > 0 && fcc_isspace(*inp))
-				nread++, inr--, inp++;
-			continue;
-		}
-		if (c != '%')
-			goto literal;
-		width = 0;
-		flags = 0;
-		/*
-		 * switch on the format.  continue if done;
-		 * break once format type is derived.
-		 */
-again:		c = *fmt++;
-		switch (c) {
-		case '%':
-literal:
-			if (inr <= 0)
-				goto input_failure;
-			if (*inp != c)
-				goto match_failure;
-			inr--, inp++;
-			nread++;
-			continue;
-
-		case '*':
-			flags |= SUPPRESS;
-			goto again;
-		case 'l':
-			if (flags & LONG) {
-				flags &= ~LONG;
-				flags |= LONGLONG;
-			} else
-				flags |= LONG;
-			goto again;
-		case 'q':
-			flags |= LONGLONG;	/* not quite */
-			goto again;
-		case 'h':
-			if (flags & SHORT) {
-				flags &= ~SHORT;
-				flags |= SHORTSHORT;
-			} else
-				flags |= SHORT;
-			goto again;
-
-		case '0': case '1': case '2': case '3': case '4':
-		case '5': case '6': case '7': case '8': case '9':
-			width = width * 10 + c - '0';
-			goto again;
-
-		/*
-		 * Conversions.
-		 */
-		case 'd':
-			c = CT_INT;
-			base = 10;
-			break;
-
-		case 'i':
-			c = CT_INT;
-			base = 0;
-			break;
-
-		case 'o':
-			c = CT_INT;
-			flags |= UNSIGNED;
-			base = 8;
-			break;
-
-		case 'u':
-			c = CT_INT;
-			flags |= UNSIGNED;
-			base = 10;
-			break;
-
-		case 'X':
-		case 'x':
-			flags |= PFXOK;	/* enable 0x prefixing */
-			c = CT_INT;
-			flags |= UNSIGNED;
-			base = 16;
-			break;
-
-		case 's':
-			c = CT_STRING;
-			break;
-
-		case '[':
-			fmt = fcc___sccl(ccltab, fmt);
-			flags |= NOSKIP;
-			c = CT_CCL;
-			break;
-
-		case 'c':
-			flags |= NOSKIP;
-			c = CT_CHAR;
-			break;
-
-		case 'p':	/* pointer format is like hex */
-			flags |= POINTER | PFXOK;
-			c = CT_INT;
-			flags |= UNSIGNED;
-			base = 16;
-			break;
-
-		case 'n':
-			nconversions++;
-			if (flags & SUPPRESS)	/* ??? */
-				continue;
-			if (flags & SHORTSHORT)
-				*va_arg(ap, char *) = nread;
-			else if (flags & SHORT)
-				*va_arg(ap, short *) = nread;
-			else if (flags & LONG)
-				*va_arg(ap, long *) = nread;
-			else if (flags & LONGLONG)
-				*va_arg(ap, long long *) = nread;
-			else
-				*va_arg(ap, int *) = nread;
-			continue;
-		}
-
-		/*
-		 * We have a conversion that requires input.
-		 */
-		if (inr <= 0)
-			goto input_failure;
-
-		/*
-		 * Consume leading white space, except for formats
-		 * that suppress this.
-		 */
-		if ((flags & NOSKIP) == 0) {
-			while (fcc_isspace(*inp)) {
-				nread++;
-				if (--inr > 0)
-					inp++;
-				else 
-					goto input_failure;
-			}
-			/*
-			 * Note that there is at least one character in
-			 * the buffer, so conversions that do not set NOSKIP
-			 * can no longer result in an input failure.
-			 */
-		}
-
-		/*
-		 * Do the conversion.
-		 */
-		switch (c) {
-
-		case CT_CHAR:
-			/* scan arbitrary characters (sets NOSKIP) */
-			if (width == 0)
-				width = 1;
-			if (flags & SUPPRESS) {
-				size_t sum = 0;
-				for (;;) {
-					if ((n = inr) < (int)width) {
-						sum += n;
-						width -= n;
-						inp += n;
-						if (sum == 0)
-							goto input_failure;
-						break;
-					} else {
-						sum += width;
-						inr -= width;
-						inp += width;
-						break;
-					}
-				}
-				nread += sum;
-			} else {
-				bcopy(inp, va_arg(ap, char *), width);
-				inr -= width;
-				inp += width;
-				nread += width;
-				nassigned++;
-			}
-			nconversions++;
-			break;
-
-		case CT_CCL:
-			/* scan a (nonempty) character class (sets NOSKIP) */
-			if (width == 0)
-				width = (size_t)~0;	/* `infinity' */
-			/* take only those things in the class */
-			if (flags & SUPPRESS) {
-				n = 0;
-				while (ccltab[(unsigned char)*inp]) {
-					n++, inr--, inp++;
-					if (--width == 0)
-						break;
-					if (inr <= 0) {
-						if (n == 0)
-							goto input_failure;
-						break;
-					}
-				}
-				if (n == 0)
-					goto match_failure;
-			} else {
-				p0 = p = va_arg(ap, char *);
-				while (ccltab[(unsigned char)*inp]) {
-					inr--;
-					*p++ = *inp++;
-					if (--width == 0)
-						break;
-					if (inr <= 0) {
-						if (p == p0)
-							goto input_failure;
-						break;
-					}
-				}
-				n = p - p0;
-				if (n == 0)
-					goto match_failure;
-				*p = 0;
-				nassigned++;
-			}
-			nread += n;
-			nconversions++;
-			break;
-
-		case CT_STRING:
-			/* like CCL, but zero-length string OK, & no NOSKIP */
-			if (width == 0)
-				width = (size_t)~0;
-			if (flags & SUPPRESS) {
-				n = 0;
-				while (!fcc_isspace(*inp)) {
-					n++, inr--, inp++;
-					if (--width == 0)
-						break;
-					if (inr <= 0)
-						break;
-				}
-				nread += n;
-			} else {
-				p0 = p = va_arg(ap, char *);
-				while (!fcc_isspace(*inp)) {
-					inr--;
-					*p++ = *inp++;
-					if (--width == 0)
-						break;
-					if (inr <= 0)
-						break;
-				}
-				*p = 0;
-				nread += p - p0;
-				nassigned++;
-			}
-			nconversions++;
-			continue;
-
-		case CT_INT:
-			/* scan an integer as if by the conversion function */
-#ifdef hardway
-			if (width == 0 || width > sizeof(buf) - 1)
-				width = sizeof(buf) - 1;
-#else
-			/* size_t is unsigned, hence this optimisation */
-			if (--width > sizeof(buf) - 2)
-				width = sizeof(buf) - 2;
-			width++;
-#endif
-			flags |= SIGNOK | NDIGITS | NZDIGITS;
-			for (p = buf; width; width--) {
-				c = *inp;
-				/*
-				 * Switch on the character; `goto ok'
-				 * if we accept it as a part of number.
-				 */
-				switch (c) {
-
-				/*
-				 * The digit 0 is always legal, but is
-				 * special.  For %i conversions, if no
-				 * digits (zero or nonzero) have been
-				 * scanned (only signs), we will have
-				 * base==0.  In that case, we should set
-				 * it to 8 and enable 0x prefixing.
-				 * Also, if we have not scanned zero digits
-				 * before this, do not turn off prefixing
-				 * (someone else will turn it off if we
-				 * have scanned any nonzero digits).
-				 */
-				case '0':
-					if (base == 0) {
-						base = 8;
-						flags |= PFXOK;
-					}
-					if (flags & NZDIGITS)
-					    flags &= ~(SIGNOK|NZDIGITS|NDIGITS);
-					else
-					    flags &= ~(SIGNOK|PFXOK|NDIGITS);
-					goto ok;
-
-				/* 1 through 7 always legal */
-				case '1': case '2': case '3':
-				case '4': case '5': case '6': case '7':
-					base = basefix[base];
-					flags &= ~(SIGNOK | PFXOK | NDIGITS);
-					goto ok;
-
-				/* digits 8 and 9 ok iff decimal or hex */
-				case '8': case '9':
-					base = basefix[base];
-					if (base <= 8)
-						break;	/* not legal here */
-					flags &= ~(SIGNOK | PFXOK | NDIGITS);
-					goto ok;
-
-				/* letters ok iff hex */
-				case 'A': case 'B': case 'C':
-				case 'D': case 'E': case 'F':
-				case 'a': case 'b': case 'c':
-				case 'd': case 'e': case 'f':
-					/* no need to fix base here */
-					if (base <= 10)
-						break;	/* not legal here */
-					flags &= ~(SIGNOK | PFXOK | NDIGITS);
-					goto ok;
-
-				/* sign ok only as first character */
-				case '+': case '-':
-					if (flags & SIGNOK) {
-						flags &= ~SIGNOK;
-						goto ok;
-					}
-					break;
-
-				/* x ok iff flag still set & 2nd char */
-				case 'x': case 'X':
-					if (flags & PFXOK && p == buf + 1) {
-						base = 16;	/* if %i */
-						flags &= ~PFXOK;
-						goto ok;
-					}
-					break;
-				}
-
-				/*
-				 * If we got here, c is not a legal character
-				 * for a number.  Stop accumulating digits.
-				 */
-				break;
-		ok:
-				/*
-				 * c is legal: store it and look at the next.
-				 */
-				*p++ = c;
-				if (--inr > 0)
-					inp++;
-				else 
-					break;		/* end of input */
-			}
-			/*
-			 * If we had only a sign, it is no good; push
-			 * back the sign.  If the number ends in `x',
-			 * it was [sign] '0' 'x', so push back the x
-			 * and treat it as [sign] '0'.
-			 */
-			if (flags & NDIGITS) {
-				if (p > buf) {
-					inp--;
-					inr++;
-				}
-				goto match_failure;
-			}
-			c = ((u_char *)p)[-1];
-			if (c == 'x' || c == 'X') {
-				--p;
-				inp--;
-				inr++;
-			}
-			if ((flags & SUPPRESS) == 0) {
-				u_quad_t res;
-
-				*p = 0;
-				if ((flags & UNSIGNED) == 0)
-				    res = strtoq(buf, (char **)NULL, base);
-				else
-				    res = strtouq(buf, (char **)NULL, base);
-				if (flags & POINTER)
-					*va_arg(ap, void **) =
-						(void *)(uintptr_t)res;
-				else if (flags & SHORTSHORT)
-					*va_arg(ap, char *) = res;
-				else if (flags & SHORT)
-					*va_arg(ap, short *) = res;
-				else if (flags & LONG)
-					*va_arg(ap, long *) = res;
-				else if (flags & LONGLONG)
-					*va_arg(ap, long long *) = res;
-				else
-					*va_arg(ap, int *) = res;
-				nassigned++;
-			}
-			nread += p - buf;
-			nconversions++;
-			break;
-
-		}
-	}
-input_failure:
-	return (nconversions != 0 ? nassigned : -1);
-match_failure:
-	return (nassigned);
-}
-
-/*
- * Fill in the given table from the scanset at the given format
- * (just after `[').  Return a pointer to the character past the
- * closing `]'.  The table has a 1 wherever characters should be
- * considered part of the scanset.
- */
-static const u_char *
-fcc___sccl(char *tab, const u_char *fmt)
-{
-	int c, n, v;
-
-	/* first `clear' the whole table */
-	c = *fmt++;		/* first char hat => negated scanset */
-	if (c == '^') {
-		v = 1;		/* default => accept */
-		c = *fmt++;	/* get new first char */
-	} else
-		v = 0;		/* default => reject */
-
-	/* XXX: Will not work if sizeof(tab*) > sizeof(char) */
-	(void) memset(tab, v, 256);
-
-	if (c == 0)
-		return (fmt - 1);/* format ended before closing ] */
-
-	/*
-	 * Now set the entries corresponding to the actual scanset
-	 * to the opposite of the above.
-	 *
-	 * The first character may be ']' (or '-') without being special;
-	 * the last character may be '-'.
-	 */
-	v = 1 - v;
-	for (;;) {
-		tab[c] = v;		/* take character c */
-doswitch:
-		n = *fmt++;		/* and examine the next */
-		switch (n) {
-
-		case 0:			/* format ended too soon */
-			return (fmt - 1);
-
-		case '-':
-			/*
-			 * A scanset of the form
-			 *	[01+-]
-			 * is defined as `the digit 0, the digit 1,
-			 * the character +, the character -', but
-			 * the effect of a scanset such as
-			 *	[a-zA-Z0-9]
-			 * is implementation defined.  The V7 Unix
-			 * scanf treats `a-z' as `the letters a through
-			 * z', but treats `a-a' as `the letter a, the
-			 * character -, and the letter a'.
-			 *
-			 * For compatibility, the `-' is not considerd
-			 * to define a range if the character following
-			 * it is either a close bracket (required by ANSI)
-			 * or is not numerically greater than the character
-			 * we just stored in the table (c).
-			 */
-			n = *fmt;
-			if (n == ']' || n < c) {
-				c = '-';
-				break;	/* resume the for(;;) */
-			}
-			fmt++;
-			/* fill in the range */
-			do {
-			    tab[++c] = v;
-			} while (c < n);
-			c = n;
-			/*
-			 * Alas, the V7 Unix scanf also treats formats
-			 * such as [a-c-e] as `the letters a through e'.
-			 * This too is permitted by the standard....
-			 */
-			goto doswitch;
-			break;
-
-		case ']':		/* end of scanset */
-			return (fmt);
-
-		default:		/* just another character */
-			c = n;
-			break;
-		}
-	}
-	/* NOTREACHED */
-}

+ 0 - 5
examples/Demo/flash/fcc_sscanf.h

@@ -1,5 +0,0 @@
-#pragma once
-extern "C"
-{
-	int fcc_sscanf(const char *ibuf, const char *fmt, ...);
-}

+ 0 - 67
examples/Demo/flash/index.html

@@ -1,67 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="utf-8">
-    <title>Oxygine Demo</title>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <meta name="description" content="">
-    <meta name="author" content="">
-
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
-    <!--[if lt IE 9]>
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
-    <![endif]-->
-
-    <!-- Le styles -->
-    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
-    <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
-    <link href="bootstrap/css/docs.css" rel="stylesheet">
-    <link href="bootstrap/js/google-code-prettify/prettify.css" rel="stylesheet">
-
-    <script type="text/javascript" src="swfobject.js"></script>
-    <script type="text/javascript">
-    swfobject.registerObject("stage3dswf", "11.3.0", "expressInstall.swf");
-    swfobject.registerObject("spacetriangleswf", "11.3.0", "expressInstall.swf");
- </script>
-</head>
-  <body data-spy="scroll" data-target=".subnav" data-offset="50">
-    <div class="container">
-      <section id="content">
-        <div class="page-header">
-          <h1>Oxygine Demo</h1>
-        </div>
-        <div>
-          <table><tr><td>
-            <object id="stage3dswf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600">
-              <param name="movie" value="../fccbuild/demo.exe" />
-              <!--[if !IE]>-->
-              <object type="application/x-shockwave-flash" data="../fccbuild/demo.exe" width="800" height="600">
-              <!--<![endif]-->
-                <param name="wmode" value="direct" />
-                <param name="allowScriptAccess" value="sameDomain" />
-                <param name="bgcolor" value="CCCCCC" /> 
-                <div>
-                  <h1>You need to update flash:</h1>
-                  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
-                </div>
-              <!--[if !IE]>-->
-              </object>
-              <!--<![endif]-->
-            </object>
-          </td><td>
-            
-          </td></tr></table>
-        </div>
-      </section>
-    </div>
-
-    <!-- Le javascript
-    ================================================== -->
-    <!-- Placed at the end of the document so the pages load faster -->
-    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-    <script src="bootstrap/js/bootstrap.min.js"></script>
-    <script src="assets/js/bootstrap-tab.js"></script>
-        
-  </body>
-</html>

File diff suppressed because it is too large
+ 0 - 3
examples/Demo/flash/swfobject.js


+ 0 - 631
examples/Demo/ios/OxygineDemo/OxygineDemo.xcodeproj/project.pbxproj

@@ -1,631 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		048B7AAD17FDEC3D00AE2D0B /* shader.glsl in Resources */ = {isa = PBXBuildFile; fileRef = 048B7AAC17FDEC3D00AE2D0B /* shader.glsl */; };
-		04998CFA17F8A933003441C3 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 04998CF817F8A933003441C3 /* InfoPlist.strings */; };
-		04998D2B17F8A94F003441C3 /* demo in Resources */ = {isa = PBXBuildFile; fileRef = 04998D2717F8A94F003441C3 /* demo */; };
-		04998D2C17F8A94F003441C3 /* ext in Resources */ = {isa = PBXBuildFile; fileRef = 04998D2817F8A94F003441C3 /* ext */; };
-		04998D2D17F8A94F003441C3 /* images in Resources */ = {isa = PBXBuildFile; fileRef = 04998D2917F8A94F003441C3 /* images */; };
-		04998D2E17F8A94F003441C3 /* xmls in Resources */ = {isa = PBXBuildFile; fileRef = 04998D2A17F8A94F003441C3 /* xmls */; };
-		04998D3617F8A97D003441C3 /* libSDL2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998D3517F8A96E003441C3 /* libSDL2.a */; };
-		04998D3F17F8A9B2003441C3 /* liboxygine.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998D3E17F8A9AA003441C3 /* liboxygine.a */; };
-		04998D5817F8A9FC003441C3 /* entry_point.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04998D4517F8A9FC003441C3 /* entry_point.cpp */; };
-		04998D5917F8A9FC003441C3 /* example.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04998D4617F8A9FC003441C3 /* example.cpp */; };
-		04998D5A17F8A9FC003441C3 /* test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04998D4817F8A9FC003441C3 /* test.cpp */; };
-		04998EE617F8ADB4003441C3 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EE117F8ADB4003441C3 /* libz.dylib */; };
-		04998EE717F8ADB4003441C3 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EE217F8ADB4003441C3 /* QuartzCore.framework */; };
-		04998EE817F8ADB4003441C3 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EE317F8ADB4003441C3 /* AudioToolbox.framework */; };
-		04998EE917F8ADB4003441C3 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EE417F8ADB4003441C3 /* CoreAudio.framework */; };
-		04998EEA17F8ADB4003441C3 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EE517F8ADB4003441C3 /* OpenGLES.framework */; };
-		04998EEE17F8ADD4003441C3 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EEB17F8ADD4003441C3 /* UIKit.framework */; };
-		04998EEF17F8ADD4003441C3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EEC17F8ADD4003441C3 /* Foundation.framework */; };
-		04998EF017F8ADD4003441C3 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EED17F8ADD4003441C3 /* CoreGraphics.framework */; };
-		04998EF717F8B6F3003441C3 /* libpng.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EF517F8B6F3003441C3 /* libpng.a */; };
-		04998EF817F8B6F3003441C3 /* libjpeg.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 04998EF617F8B6F3003441C3 /* libjpeg.a */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		04998D1517F8A933003441C3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 04998CE417F8A933003441C3 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 04998CEB17F8A933003441C3;
-			remoteInfo = OxygineDemo;
-		};
-		04998D3417F8A96E003441C3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 04998D2F17F8A96E003441C3 /* SDL.xcodeproj */;
-			proxyType = 2;
-			remoteGlobalIDString = FD6526630DE8FCCB002AD96B;
-			remoteInfo = libSDL;
-		};
-		04998D3717F8A982003441C3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 04998D2F17F8A96E003441C3 /* SDL.xcodeproj */;
-			proxyType = 1;
-			remoteGlobalIDString = FD6526620DE8FCCB002AD96B;
-			remoteInfo = libSDL;
-		};
-		04998D3D17F8A9AA003441C3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 04998D3917F8A9AA003441C3 /* oxygine.xcodeproj */;
-			proxyType = 2;
-			remoteGlobalIDString = C3E86F4C16EBC8A500052915;
-			remoteInfo = oxygine;
-		};
-		04998D4017F8A9B6003441C3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 04998D3917F8A9AA003441C3 /* oxygine.xcodeproj */;
-			proxyType = 1;
-			remoteGlobalIDString = C3E86F4B16EBC8A500052915;
-			remoteInfo = oxygine;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		048B7AAC17FDEC3D00AE2D0B /* shader.glsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = shader.glsl; path = "/Users/Mac/dev/oxygine-framework/oxygine/SDL/oxygine_xcode/oxygine/../../../system_data/original/system/shader.glsl"; sourceTree = "<absolute>"; };
-		04998CEC17F8A933003441C3 /* OxygineDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OxygineDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		04998CF717F8A933003441C3 /* OxygineDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OxygineDemo-Info.plist"; sourceTree = "<group>"; };
-		04998CF917F8A933003441C3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
-		04998CFD17F8A933003441C3 /* OxygineDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OxygineDemo-Prefix.pch"; sourceTree = "<group>"; };
-		04998D1017F8A933003441C3 /* OxygineDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OxygineDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		04998D2717F8A94F003441C3 /* demo */ = {isa = PBXFileReference; lastKnownFileType = folder; name = demo; path = ../../../data/demo; sourceTree = "<group>"; };
-		04998D2817F8A94F003441C3 /* ext */ = {isa = PBXFileReference; lastKnownFileType = folder; name = ext; path = ../../../data/ext; sourceTree = "<group>"; };
-		04998D2917F8A94F003441C3 /* images */ = {isa = PBXFileReference; lastKnownFileType = folder; name = images; path = ../../../data/images; sourceTree = "<group>"; };
-		04998D2A17F8A94F003441C3 /* xmls */ = {isa = PBXFileReference; lastKnownFileType = folder; name = xmls; path = ../../../data/xmls; sourceTree = "<group>"; };
-		04998D2F17F8A96E003441C3 /* SDL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SDL.xcodeproj; path = "../../../../../SDL/Xcode-iOS/SDL/SDL.xcodeproj"; sourceTree = "<group>"; };
-		04998D3917F8A9AA003441C3 /* oxygine.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = oxygine.xcodeproj; path = ../../../../oxygine/SDL/oxygine_xcode/oxygine/oxygine.xcodeproj; sourceTree = "<group>"; };
-		04998D4517F8A9FC003441C3 /* entry_point.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = entry_point.cpp; path = ../../../src/entry_point.cpp; sourceTree = "<group>"; };
-		04998D4617F8A9FC003441C3 /* example.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = example.cpp; path = ../../../src/example.cpp; sourceTree = "<group>"; };
-		04998D4717F8A9FC003441C3 /* example.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = example.h; path = ../../../src/example.h; sourceTree = "<group>"; };
-		04998D4817F8A9FC003441C3 /* test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = test.cpp; path = ../../../src/test.cpp; sourceTree = "<group>"; };
-		04998D4917F8A9FC003441C3 /* test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = test.h; path = ../../../src/test.h; sourceTree = "<group>"; };
-		04998D4A17F8A9FC003441C3 /* TestBox9Sprite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestBox9Sprite.h; path = ../../../src/TestBox9Sprite.h; sourceTree = "<group>"; };
-		04998D4B17F8A9FC003441C3 /* TestClipRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestClipRect.h; path = ../../../src/TestClipRect.h; sourceTree = "<group>"; };
-		04998D4C17F8A9FC003441C3 /* TestComplexDrag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestComplexDrag.h; path = ../../../src/TestComplexDrag.h; sourceTree = "<group>"; };
-		04998D4D17F8A9FC003441C3 /* TestDrag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestDrag.h; path = ../../../src/TestDrag.h; sourceTree = "<group>"; };
-		04998D4E17F8A9FC003441C3 /* TestManageRes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestManageRes.h; path = ../../../src/TestManageRes.h; sourceTree = "<group>"; };
-		04998D4F17F8A9FC003441C3 /* TestMask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestMask.h; path = ../../../src/TestMask.h; sourceTree = "<group>"; };
-		04998D5017F8A9FC003441C3 /* TestPerf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestPerf.h; path = ../../../src/TestPerf.h; sourceTree = "<group>"; };
-		04998D5117F8A9FC003441C3 /* TestProgressBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestProgressBar.h; path = ../../../src/TestProgressBar.h; sourceTree = "<group>"; };
-		04998D5217F8A9FC003441C3 /* TestRender2Texture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestRender2Texture.h; path = ../../../src/TestRender2Texture.h; sourceTree = "<group>"; };
-		04998D5317F8A9FC003441C3 /* TestTexel2Pixel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestTexel2Pixel.h; path = ../../../src/TestTexel2Pixel.h; sourceTree = "<group>"; };
-		04998D5417F8A9FC003441C3 /* TestText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestText.h; path = ../../../src/TestText.h; sourceTree = "<group>"; };
-		04998D5517F8A9FC003441C3 /* TestTextureFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestTextureFormat.h; path = ../../../src/TestTextureFormat.h; sourceTree = "<group>"; };
-		04998D5617F8A9FC003441C3 /* TestTweens.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestTweens.h; path = ../../../src/TestTweens.h; sourceTree = "<group>"; };
-		04998D5717F8A9FC003441C3 /* TestUserShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestUserShader.h; path = ../../../src/TestUserShader.h; sourceTree = "<group>"; };
-		04998EE117F8ADB4003441C3 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
-		04998EE217F8ADB4003441C3 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
-		04998EE317F8ADB4003441C3 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
-		04998EE417F8ADB4003441C3 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
-		04998EE517F8ADB4003441C3 /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
-		04998EEB17F8ADD4003441C3 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
-		04998EEC17F8ADD4003441C3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
-		04998EED17F8ADD4003441C3 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
-		04998EF517F8B6F3003441C3 /* libpng.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpng.a; path = ../../../../oxygine/third_party/ios/libraries/libpng.a; sourceTree = "<group>"; };
-		04998EF617F8B6F3003441C3 /* libjpeg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libjpeg.a; path = ../../../../oxygine/third_party/ios/libraries/libjpeg.a; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		04998CE917F8A933003441C3 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				04998D3F17F8A9B2003441C3 /* liboxygine.a in Frameworks */,
-				04998D3617F8A97D003441C3 /* libSDL2.a in Frameworks */,
-				04998EF017F8ADD4003441C3 /* CoreGraphics.framework in Frameworks */,
-				04998EEF17F8ADD4003441C3 /* Foundation.framework in Frameworks */,
-				04998EE617F8ADB4003441C3 /* libz.dylib in Frameworks */,
-				04998EE917F8ADB4003441C3 /* CoreAudio.framework in Frameworks */,
-				04998EF817F8B6F3003441C3 /* libjpeg.a in Frameworks */,
-				04998EEE17F8ADD4003441C3 /* UIKit.framework in Frameworks */,
-				04998EE817F8ADB4003441C3 /* AudioToolbox.framework in Frameworks */,
-				04998EE717F8ADB4003441C3 /* QuartzCore.framework in Frameworks */,
-				04998EEA17F8ADB4003441C3 /* OpenGLES.framework in Frameworks */,
-				04998EF717F8B6F3003441C3 /* libpng.a in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		04998D0D17F8A933003441C3 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		045D531C17F8BD5E00CC2C64 /* dependencies */ = {
-			isa = PBXGroup;
-			children = (
-				04998EE117F8ADB4003441C3 /* libz.dylib */,
-				04998EF617F8B6F3003441C3 /* libjpeg.a */,
-				04998EF517F8B6F3003441C3 /* libpng.a */,
-			);
-			name = dependencies;
-			sourceTree = "<group>";
-		};
-		04998CE317F8A933003441C3 = {
-			isa = PBXGroup;
-			children = (
-				045D531C17F8BD5E00CC2C64 /* dependencies */,
-				04998D3917F8A9AA003441C3 /* oxygine.xcodeproj */,
-				04998D2F17F8A96E003441C3 /* SDL.xcodeproj */,
-				04998CF517F8A933003441C3 /* OxygineDemo */,
-				04998CEE17F8A933003441C3 /* Frameworks */,
-				04998CED17F8A933003441C3 /* Products */,
-			);
-			sourceTree = "<group>";
-		};
-		04998CED17F8A933003441C3 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				04998CEC17F8A933003441C3 /* OxygineDemo.app */,
-				04998D1017F8A933003441C3 /* OxygineDemoTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		04998CEE17F8A933003441C3 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				04998EEB17F8ADD4003441C3 /* UIKit.framework */,
-				04998EEC17F8ADD4003441C3 /* Foundation.framework */,
-				04998EED17F8ADD4003441C3 /* CoreGraphics.framework */,
-				04998EE217F8ADB4003441C3 /* QuartzCore.framework */,
-				04998EE317F8ADB4003441C3 /* AudioToolbox.framework */,
-				04998EE417F8ADB4003441C3 /* CoreAudio.framework */,
-				04998EE517F8ADB4003441C3 /* OpenGLES.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		04998CF517F8A933003441C3 /* OxygineDemo */ = {
-			isa = PBXGroup;
-			children = (
-				04998D4417F8A9ED003441C3 /* src */,
-				04998CF617F8A933003441C3 /* Supporting Files */,
-			);
-			path = OxygineDemo;
-			sourceTree = "<group>";
-		};
-		04998CF617F8A933003441C3 /* Supporting Files */ = {
-			isa = PBXGroup;
-			children = (
-				048B7AAC17FDEC3D00AE2D0B /* shader.glsl */,
-				04998D2717F8A94F003441C3 /* demo */,
-				04998D2817F8A94F003441C3 /* ext */,
-				04998D2917F8A94F003441C3 /* images */,
-				04998D2A17F8A94F003441C3 /* xmls */,
-				04998CF717F8A933003441C3 /* OxygineDemo-Info.plist */,
-				04998CF817F8A933003441C3 /* InfoPlist.strings */,
-				04998CFD17F8A933003441C3 /* OxygineDemo-Prefix.pch */,
-			);
-			name = "Supporting Files";
-			sourceTree = "<group>";
-		};
-		04998D3017F8A96E003441C3 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				04998D3517F8A96E003441C3 /* libSDL2.a */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		04998D3A17F8A9AA003441C3 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				04998D3E17F8A9AA003441C3 /* liboxygine.a */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		04998D4417F8A9ED003441C3 /* src */ = {
-			isa = PBXGroup;
-			children = (
-				04998D4517F8A9FC003441C3 /* entry_point.cpp */,
-				04998D4617F8A9FC003441C3 /* example.cpp */,
-				04998D4717F8A9FC003441C3 /* example.h */,
-				04998D4817F8A9FC003441C3 /* test.cpp */,
-				04998D4917F8A9FC003441C3 /* test.h */,
-				04998D4A17F8A9FC003441C3 /* TestBox9Sprite.h */,
-				04998D4B17F8A9FC003441C3 /* TestClipRect.h */,
-				04998D4C17F8A9FC003441C3 /* TestComplexDrag.h */,
-				04998D4D17F8A9FC003441C3 /* TestDrag.h */,
-				04998D4E17F8A9FC003441C3 /* TestManageRes.h */,
-				04998D4F17F8A9FC003441C3 /* TestMask.h */,
-				04998D5017F8A9FC003441C3 /* TestPerf.h */,
-				04998D5117F8A9FC003441C3 /* TestProgressBar.h */,
-				04998D5217F8A9FC003441C3 /* TestRender2Texture.h */,
-				04998D5317F8A9FC003441C3 /* TestTexel2Pixel.h */,
-				04998D5417F8A9FC003441C3 /* TestText.h */,
-				04998D5517F8A9FC003441C3 /* TestTextureFormat.h */,
-				04998D5617F8A9FC003441C3 /* TestTweens.h */,
-				04998D5717F8A9FC003441C3 /* TestUserShader.h */,
-			);
-			name = src;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		04998CEB17F8A933003441C3 /* OxygineDemo */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 04998D2117F8A933003441C3 /* Build configuration list for PBXNativeTarget "OxygineDemo" */;
-			buildPhases = (
-				04998CE817F8A933003441C3 /* Sources */,
-				04998CE917F8A933003441C3 /* Frameworks */,
-				04998CEA17F8A933003441C3 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				04998D4117F8A9B6003441C3 /* PBXTargetDependency */,
-				04998D3817F8A982003441C3 /* PBXTargetDependency */,
-			);
-			name = OxygineDemo;
-			productName = OxygineDemo;
-			productReference = 04998CEC17F8A933003441C3 /* OxygineDemo.app */;
-			productType = "com.apple.product-type.application";
-		};
-		04998D0F17F8A933003441C3 /* OxygineDemoTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 04998D2417F8A933003441C3 /* Build configuration list for PBXNativeTarget "OxygineDemoTests" */;
-			buildPhases = (
-				04998D0C17F8A933003441C3 /* Sources */,
-				04998D0D17F8A933003441C3 /* Frameworks */,
-				04998D0E17F8A933003441C3 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				04998D1617F8A933003441C3 /* PBXTargetDependency */,
-			);
-			name = OxygineDemoTests;
-			productName = OxygineDemoTests;
-			productReference = 04998D1017F8A933003441C3 /* OxygineDemoTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		04998CE417F8A933003441C3 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastUpgradeCheck = 0500;
-				ORGANIZATIONNAME = Mac;
-				TargetAttributes = {
-					04998CEB17F8A933003441C3 = {
-						DevelopmentTeam = 2U7CSGG8AH;
-					};
-					04998D0F17F8A933003441C3 = {
-						TestTargetID = 04998CEB17F8A933003441C3;
-					};
-				};
-			};
-			buildConfigurationList = 04998CE717F8A933003441C3 /* Build configuration list for PBXProject "OxygineDemo" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 04998CE317F8A933003441C3;
-			productRefGroup = 04998CED17F8A933003441C3 /* Products */;
-			projectDirPath = "";
-			projectReferences = (
-				{
-					ProductGroup = 04998D3A17F8A9AA003441C3 /* Products */;
-					ProjectRef = 04998D3917F8A9AA003441C3 /* oxygine.xcodeproj */;
-				},
-				{
-					ProductGroup = 04998D3017F8A96E003441C3 /* Products */;
-					ProjectRef = 04998D2F17F8A96E003441C3 /* SDL.xcodeproj */;
-				},
-			);
-			projectRoot = "";
-			targets = (
-				04998CEB17F8A933003441C3 /* OxygineDemo */,
-				04998D0F17F8A933003441C3 /* OxygineDemoTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXReferenceProxy section */
-		04998D3517F8A96E003441C3 /* libSDL2.a */ = {
-			isa = PBXReferenceProxy;
-			fileType = archive.ar;
-			path = libSDL2.a;
-			remoteRef = 04998D3417F8A96E003441C3 /* PBXContainerItemProxy */;
-			sourceTree = BUILT_PRODUCTS_DIR;
-		};
-		04998D3E17F8A9AA003441C3 /* liboxygine.a */ = {
-			isa = PBXReferenceProxy;
-			fileType = archive.ar;
-			path = liboxygine.a;
-			remoteRef = 04998D3D17F8A9AA003441C3 /* PBXContainerItemProxy */;
-			sourceTree = BUILT_PRODUCTS_DIR;
-		};
-/* End PBXReferenceProxy section */
-
-/* Begin PBXResourcesBuildPhase section */
-		04998CEA17F8A933003441C3 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				048B7AAD17FDEC3D00AE2D0B /* shader.glsl in Resources */,
-				04998D2E17F8A94F003441C3 /* xmls in Resources */,
-				04998D2C17F8A94F003441C3 /* ext in Resources */,
-				04998D2B17F8A94F003441C3 /* demo in Resources */,
-				04998D2D17F8A94F003441C3 /* images in Resources */,
-				04998CFA17F8A933003441C3 /* InfoPlist.strings in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		04998D0E17F8A933003441C3 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		04998CE817F8A933003441C3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				04998D5917F8A9FC003441C3 /* example.cpp in Sources */,
-				04998D5817F8A9FC003441C3 /* entry_point.cpp in Sources */,
-				04998D5A17F8A9FC003441C3 /* test.cpp in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		04998D0C17F8A933003441C3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		04998D1617F8A933003441C3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 04998CEB17F8A933003441C3 /* OxygineDemo */;
-			targetProxy = 04998D1517F8A933003441C3 /* PBXContainerItemProxy */;
-		};
-		04998D3817F8A982003441C3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = libSDL;
-			targetProxy = 04998D3717F8A982003441C3 /* PBXContainerItemProxy */;
-		};
-		04998D4117F8A9B6003441C3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = oxygine;
-			targetProxy = 04998D4017F8A9B6003441C3 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		04998CF817F8A933003441C3 /* InfoPlist.strings */ = {
-			isa = PBXVariantGroup;
-			children = (
-				04998CF917F8A933003441C3 /* en */,
-			);
-			name = InfoPlist.strings;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		04998D1F17F8A933003441C3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 7.0;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../../../oxygine/src";
-			};
-			name = Debug;
-		};
-		04998D2017F8A933003441C3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = YES;
-				ENABLE_NS_ASSERTIONS = NO;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 7.0;
-				SDKROOT = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../../../oxygine/src";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		04998D2217F8A933003441C3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
-				CODE_SIGN_IDENTITY = "iPhone Developer";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "OxygineDemo/OxygineDemo-Prefix.pch";
-				GCC_WARN_UNUSED_VALUE = YES;
-				GCC_WARN_UNUSED_VARIABLE = NO;
-				INFOPLIST_FILE = "OxygineDemo/OxygineDemo-Info.plist";
-				LIBRARY_SEARCH_PATHS = (
-					"$(inherited)",
-					"/Users/Mac/dev/oxygine-framework/oxygine/third_party/ios/libraries",
-					"/Volumes/VMware\\ Shared\\ Folders/shared",
-				);
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				PROVISIONING_PROFILE = "A34F5D84-E1EB-47B5-AD4B-67D0FA4A5BE6";
-				USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../../../oxygine/src $(PROJECT_DIR)/../../../../../SDL/include";
-				WRAPPER_EXTENSION = app;
-			};
-			name = Debug;
-		};
-		04998D2317F8A933003441C3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
-				CODE_SIGN_IDENTITY = "iPhone Developer";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "OxygineDemo/OxygineDemo-Prefix.pch";
-				GCC_WARN_UNUSED_VALUE = YES;
-				GCC_WARN_UNUSED_VARIABLE = NO;
-				INFOPLIST_FILE = "OxygineDemo/OxygineDemo-Info.plist";
-				LIBRARY_SEARCH_PATHS = (
-					"$(inherited)",
-					"/Users/Mac/dev/oxygine-framework/oxygine/third_party/ios/libraries",
-					"/Volumes/VMware\\ Shared\\ Folders/shared",
-				);
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				PROVISIONING_PROFILE = "A34F5D84-E1EB-47B5-AD4B-67D0FA4A5BE6";
-				USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../../../oxygine/src $(PROJECT_DIR)/../../../../../SDL/include";
-				WRAPPER_EXTENSION = app;
-			};
-			name = Release;
-		};
-		04998D2517F8A933003441C3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
-				BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/OxygineDemo.app/OxygineDemo";
-				FRAMEWORK_SEARCH_PATHS = (
-					"$(SDKROOT)/Developer/Library/Frameworks",
-					"$(inherited)",
-					"$(DEVELOPER_FRAMEWORKS_DIR)",
-				);
-				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "OxygineDemo/OxygineDemo-Prefix.pch";
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				INFOPLIST_FILE = "OxygineDemoTests/OxygineDemoTests-Info.plist";
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUNDLE_LOADER)";
-				WRAPPER_EXTENSION = xctest;
-			};
-			name = Debug;
-		};
-		04998D2617F8A933003441C3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
-				BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/OxygineDemo.app/OxygineDemo";
-				FRAMEWORK_SEARCH_PATHS = (
-					"$(SDKROOT)/Developer/Library/Frameworks",
-					"$(inherited)",
-					"$(DEVELOPER_FRAMEWORKS_DIR)",
-				);
-				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "OxygineDemo/OxygineDemo-Prefix.pch";
-				INFOPLIST_FILE = "OxygineDemoTests/OxygineDemoTests-Info.plist";
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUNDLE_LOADER)";
-				WRAPPER_EXTENSION = xctest;
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		04998CE717F8A933003441C3 /* Build configuration list for PBXProject "OxygineDemo" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				04998D1F17F8A933003441C3 /* Debug */,
-				04998D2017F8A933003441C3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		04998D2117F8A933003441C3 /* Build configuration list for PBXNativeTarget "OxygineDemo" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				04998D2217F8A933003441C3 /* Debug */,
-				04998D2317F8A933003441C3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		04998D2417F8A933003441C3 /* Build configuration list for PBXNativeTarget "OxygineDemoTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				04998D2517F8A933003441C3 /* Debug */,
-				04998D2617F8A933003441C3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = 04998CE417F8A933003441C3 /* Project object */;
-}

+ 0 - 96
examples/Demo/ios/OxygineDemo/OxygineDemo.xcodeproj/xcuserdata/Mac.xcuserdatad/xcschemes/OxygineDemo.xcscheme

@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0500"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "04998CEB17F8A933003441C3"
-               BuildableName = "OxygineDemo.app"
-               BlueprintName = "OxygineDemo"
-               ReferencedContainer = "container:OxygineDemo.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "04998D0F17F8A933003441C3"
-               BuildableName = "OxygineDemoTests.xctest"
-               BlueprintName = "OxygineDemoTests"
-               ReferencedContainer = "container:OxygineDemo.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "04998CEB17F8A933003441C3"
-            BuildableName = "OxygineDemo.app"
-            BlueprintName = "OxygineDemo"
-            ReferencedContainer = "container:OxygineDemo.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-   </TestAction>
-   <LaunchAction
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      buildConfiguration = "Debug"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "04998CEB17F8A933003441C3"
-            BuildableName = "OxygineDemo.app"
-            BlueprintName = "OxygineDemo"
-            ReferencedContainer = "container:OxygineDemo.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      buildConfiguration = "Release"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "04998CEB17F8A933003441C3"
-            BuildableName = "OxygineDemo.app"
-            BlueprintName = "OxygineDemo"
-            ReferencedContainer = "container:OxygineDemo.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>

+ 0 - 27
examples/Demo/ios/OxygineDemo/OxygineDemo.xcodeproj/xcuserdata/Mac.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -1,27 +0,0 @@
-<?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>SchemeUserState</key>
-	<dict>
-		<key>OxygineDemo.xcscheme</key>
-		<dict>
-			<key>orderHint</key>
-			<integer>3</integer>
-		</dict>
-	</dict>
-	<key>SuppressBuildableAutocreation</key>
-	<dict>
-		<key>04998CEB17F8A933003441C3</key>
-		<dict>
-			<key>primary</key>
-			<true/>
-		</dict>
-		<key>04998D0F17F8A933003441C3</key>
-		<dict>
-			<key>primary</key>
-			<true/>
-		</dict>
-	</dict>
-</dict>
-</plist>

+ 0 - 47
examples/Demo/ios/OxygineDemo/OxygineDemo/OxygineDemo-Info.plist

@@ -1,47 +0,0 @@
-<?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>UIViewControllerBasedStatusBarAppearance</key>
-	<false/>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleDisplayName</key>
-	<string>${PRODUCT_NAME}</string>
-	<key>CFBundleExecutable</key>
-	<string>${EXECUTABLE_NAME}</string>
-	<key>CFBundleIdentifier</key>
-	<string>oxygine.${PRODUCT_NAME:rfc1034identifier}</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>${PRODUCT_NAME}</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1.0</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UIStatusBarHidden</key>
-	<true/>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-</dict>
-</plist>

+ 0 - 16
examples/Demo/ios/OxygineDemo/OxygineDemo/OxygineDemo-Prefix.pch

@@ -1,16 +0,0 @@
-//
-//  Prefix header
-//
-//  The contents of this file are implicitly included at the beginning of every source file.
-//
-
-#import <Availability.h>
-
-#ifndef __IPHONE_5_0
-#warning "This project uses features only available in iOS SDK 5.0 and later."
-#endif
-
-#ifdef __OBJC__
-    #import <UIKit/UIKit.h>
-    #import <Foundation/Foundation.h>
-#endif

+ 0 - 2
examples/Demo/ios/OxygineDemo/OxygineDemo/en.lproj/InfoPlist.strings

@@ -1,2 +0,0 @@
-/* Localized versions of Info.plist keys */
-

+ 0 - 3
examples/Demo/prepare_res.bat

@@ -1,3 +0,0 @@
-python ..\..\tools\process_xml2.py -x xmls/res.xml --src_data data --dest_data data/ext
-python ..\..\tools\process_xml2.py -x demo/res_ui.xml --src_data data --dest_data data/ext
-python ..\..\tools\process_xml2.py -x demo/fonts.xml --src_data data --dest_data data/ext

+ 0 - 3
examples/Demo/prepare_res_etc1.bat

@@ -1,3 +0,0 @@
-python ..\..\tools\process_xml2.py -x xmls/res.xml --src_data data --dest_data data/ext --compress etc1
-python ..\..\tools\process_xml2.py -x demo/res_ui.xml --src_data data --dest_data data/ext --compress etc1
-python ..\..\tools\process_xml2.py -x demo/fonts.xml --src_data data --dest_data data/ext --compress etc1

+ 0 - 3
examples/Demo/prepare_res_low.bat

@@ -1,3 +0,0 @@
-python ..\..\tools\process_xml2.py -x xmls/res.xml --src_data data --dest_data data/ext -s 0.5 -r
-python ..\..\tools\process_xml2.py -x demo/res_ui.xml --src_data data --dest_data data/ext -s 0.5 -r
-python ..\..\tools\process_xml2.py -x demo/fonts.xml --src_data data --dest_data data/ext -s 0.5 -r

+ 0 - 3
examples/Demo/prepare_res_pvrtc.bat

@@ -1,3 +0,0 @@
-python ..\..\tools\process_xml2.py -x xmls/res.xml --src_data data --dest_data data/ext --compress pvrtc
-python ..\..\tools\process_xml2.py -x demo/res_ui.xml --src_data data --dest_data data/ext --compress pvrtc
-python ..\..\tools\process_xml2.py -x demo/fonts.xml --src_data data --dest_data data/ext --compress pvrtc

+ 0 - 27
examples/Demo/src/TestBox9Sprite.h

@@ -1,27 +0,0 @@
-#pragma once
-#include "test.h"
-#include "Box9Sprite.h"
-class TestBox9Sprite: public Test
-{
-public:
-	TestBox9Sprite()
-	{
-		ResAnim *rs = resources.getResAnim("box9");
-		spSprite original = new Sprite;
-		original->setPosition(10, 70);
-		original->setResAnim(rs);
-		addChild(original);
-
-		spBox9Sprite sprite = new Box9Sprite;			
-		sprite->setPosition(270, 70);
-		sprite->setResAnim(rs);
-		sprite->setSize(300, 400);
-		//sprite->setVerticalMode(Box9Sprite::TILING_FULL);
-		//sprite->setHorizontalMode(Box9Sprite::TILING);
-
-		//you could also define guides from xml  
-		//<image file="box9.png" guideX1="50" guideX2="210" guideY1="50" guideY2="125" />
-		sprite->setGuides(50, 210, 50, 125);
-		addChild(sprite);
-	}
-};

+ 0 - 56
examples/Demo/src/TestClipRect.h

@@ -1,56 +0,0 @@
-#pragma once
-#include "test.h"
-#include "ClipRectActor.h"
-class TestClipRect: public Test
-{
-public:
-	TestClipRect()
-	{
-		spClipRectActor clp = createClipRect(250, 250, 4.0f);
-		clp->attachTo(content);
-		clp->setPosition(content->getSize()/2 - clp->getSize()/2);
-
-		spClipRectActor childClp = createClipRect(100, 100, 2.0f);
-		childClp->setPosition(-40.0f, -40.0f);
-		childClp->attachTo(clp);
-
-		spSprite spr = new Sprite;
-		spr->setAnimFrame(resources.getResAnim("batterfly"));
-		spr->setX(200.0f);
-		spr->attachTo(clp);
-	}
-	
-	spClipRectActor createClipRect(int w, int h, float sc)
-	{
-		spClipRectActor clp = new ClipRectActor;
-		clp->setSize((float)w, (float)h);
-		
-
-		spSprite spr = new Sprite;
-		spr->setPosition(w/2.0f, h/2.0f);
-		spr->setAnimFrame(resources.getResAnim("batterfly"));
-		spr->attachTo(clp);
-		spr->setAnchor(0.5f, 0.5f);
-		spr->setScale(sc);
-		spr->addTween(Actor::TweenRotation(MATH_PI * 2), 5000, -1);
-
-		return clp;
-	}
-
-	void onMouseDown(Event *event)
-	{
-		spActor actor = safeSpCast<Actor>(event->currentTarget);
-
-		int new_priority = actor->getParent()->getLastChild()->getPriority() + 1;
-		actor->setPriority(new_priority);
-
-		actor->addTween(createTween(Sprite::TweenColor(Color(255,0,0,255)), 300, -1, true));
-	}
-
-	void onMouseUp(Event *event)
-	{
-		spSprite actor = safeSpCast<Sprite>(event->currentTarget);
-		actor->removeTweens();		
-		actor->setColor(Color(255,255,255,255));
-	}
-};

+ 0 - 61
examples/Demo/src/TestComplexDrag.h

@@ -1,61 +0,0 @@
-#pragma once
-#include "test.h"
-#include "ClipRectActor.h"
-#include "PointerState.h"
-#include "SlidingActor.h"
-
-class TestComplexDrag: public Test
-{
-public:
-	TestComplexDrag()
-	{
-		spSprite innerContent = new Sprite;
-		innerContent->setAnimFrame(resources.getResAnim("slide"));
-
-		float x = 0;
-		for (int i = 0; i < 5; ++i)
-		{
-			spButton button = new Button;			
-			button->setResAnim(resourcesUI.getResAnim("button"));
-
-			Vector2 pos(x, 100);
-			pos.y = 0;
-			button->setPosition(pos);
-			button->attachTo(innerContent);
-			button->setName("button");
-			button->addEventListener(TouchEvent::CLICK, CLOSURE(this, &TestComplexDrag::testClick));
-			x += 200;
-		}
-
-		spSlidingActor frame = new SlidingActor();
-		frame->setSize(Vector2(400, innerContent->getHeight()));
-		frame->setContent(innerContent);
-		frame->setPosition(getWidth()/2 - frame->getWidth()/2, 50.0f);
-		frame->attachTo(this->content);
-
-		spColorRectSprite innerContent2 = new ColorRectSprite();
-		innerContent2->setSize(800, 200);
-		innerContent2->setColor(Color(128,128,128,255));
-		for (int i = 0; i < 8; i++)
-		{
-			spColorRectSprite c = new ColorRectSprite;
-			c->setSize(100, 100);
-			c->setX(i * 100.0f);
-			c->setY((i % 2) * 100.0f);
-			c->attachTo(innerContent2);
-
-		}
-
-		frame = new SlidingActor();
-		frame->setSnapPageSize(Vector2(100, 100));
-		frame->setSize(Vector2(400, 100));
-		frame->setContent(innerContent2);
-		frame->setPosition(getWidth()/2 - frame->getWidth()/2, 400.0f);
-		frame->attachTo(this->content);
-	}
-
-	void testClick(Event *event)
-	{
-		showPopup("clicked");
-	}
-};

+ 0 - 148
examples/Demo/src/TestDrag.h

@@ -1,148 +0,0 @@
-#pragma once
-#include "test.h"
-#include "Draggable.h"
-class DraggableSprite: public Sprite
-{
-public:
-	DraggableSprite()
-	{
-		drag.init(this);
-	}
-
-	Draggable drag;
-};
-
-class DragTest: public Test
-{
-public:
-	DragTest()
-	{
-		for (int i = 0; i < 3; ++i)
-		{
-			spSprite sprite = new DraggableSprite;			
-			Vector2 pos(100.0f * (i + 1), 150.0f);
-			sprite->setPosition(pos);
-			sprite->setAnimFrame(resources.getResAnim("batterfly"));
-			sprite->attachTo(content);
-
-			sprite->setRotation(scalar::randFloat(0, (float)MATH_PI * 2));
-			sprite->setScale(scalar::randFloat(1.0f, 2.0f));
-
-			/*
-			for (int n = 0; n < 3; ++n)
-			{
-				DraggableSprite *child = new DraggableSprite;
-				float scale = 0.5f;
-				child->drag.setDragBounds(Rect(0,0, sprite->getWidth(), sprite->getHeight()));
-				child->setScale(scale);
-				child->setAnimFrame(resources.getResAnim("batterfly2"));
-				child->attachTo(sprite);
-				child->setX(n * 30.0f);
-			}
-			*/
-		}
-	}
-
-	void onMouseDown(Event *event)
-	{
-		spActor actor = safeSpCast<Actor>(event->currentTarget);
-
-		int new_priority = actor->getParent()->getLastChild()->getPriority() + 1;
-		actor->setPriority(new_priority);
-
-		actor->addTween(createTween(Sprite::TweenColor(Color(255,0,0,255)), 300, -1, true));
-	}
-
-	void onMouseUp(Event *event)
-	{
-		spSprite actor = safeSpCast<Sprite>(event->currentTarget);
-		actor->removeTweens();		
-		actor->setColor(Color(255,255,255,255));
-	}
-};
-
-
-class Drag2Test: public Test
-{
-public:
-	spSprite basket;
-	spSprite ball;
-	spSprite dragging;
-
-	timeMS timeLeft;
-	const PointerState *touchedBy;
-	Draggable drag;
-	
-	Drag2Test():touchedBy(0), timeLeft(0)
-	{
-		basket = initActor(new Sprite,
-			arg_name = "basket",
-			arg_resAnim = resources.getResAnim("batterfly"),
-			arg_attachTo= content,
-			arg_x = content->getWidth() * 3 / 4,
-			arg_y = content->getHeight() / 2);
-
-		ball = initActor(new Sprite,
-			arg_name = "ball",
-			arg_resAnim = resources.getResAnim("batterfly"),
-			arg_attachTo= content,
-			arg_x = content->getWidth() * 1 / 4,
-			arg_y = content->getHeight() / 2);
-
-		ball->addEventListener(TouchEvent::TOUCH_DOWN, CLOSURE(this,  &Drag2Test::ballTouchDown));
-		ball->addEventListener(TouchEvent::TOUCH_UP, CLOSURE(this,  &Drag2Test::ballTouchUp));
-		content->addEventListener(TouchEvent::TOUCH_UP, CLOSURE(this, &Drag2Test::touchUp));
-	}
-
-	
-	void ballTouchUp(Event *event)
-	{
-		touchedBy = 0;
-	}
-
-	void touchUp(Event *event)
-	{
-		if (!dragging)
-			return;
-		if (event->currentTarget.get() != content)
-			return;
-
-		dragging->setColor(Color(0xffffffff));
-		spTween t;
-		if (event->target == basket)
-			t = dragging->addTween(Actor::TweenPosition(basket->getPosition()), 500);
-		else
-			t = dragging->addTween(Actor::TweenPosition(ball->getPosition()), 500);
-		t->setDetachActor(true);
-		dragging = 0;
-	}
-
-
-	void ballTouchDown(Event* ev)
-	{
-		TouchEvent *te = safeCast<TouchEvent*>(ev);
-		touchedBy = te->getPointer();
-		timeLeft = 500;		
-	}
-
-	void doUpdate(const UpdateState &us)
-	{
-		if (!timeLeft)
-			return;
-		if (!touchedBy)
-			return;
-
-		timeLeft -= us.dt;
-		if (timeLeft <= 0)
-		{
-			timeLeft = 0;
-			dragging = initActor(ball->clone(),
-				arg_name = "dragging",
-				arg_attachTo = ball->getParent(),
-				arg_color = Color(0xff0000ff),
-				arg_input = false);
-			drag.start(touchedBy, dragging.get(), dragging->getSize()/2);
-		}
-	}
-private:
-};

+ 0 - 97
examples/Demo/src/TestManageRes.h

@@ -1,97 +0,0 @@
-#pragma once
-#include "test.h"
-#include "Multithreading.h"
-class ManageResTest: public Test
-{
-public:
-	bool loaded;
-
-	ManageResTest()
-	{
-		loaded = true;
-		addButton("switch", "Load/Unload resources");
-		addButton("mt", "Multithreading loading");
-		addButton("mt_slow", "MT loading (slow demo)");
-
-
-		for (int i = 0; i < resources.getCount(); ++i)
-		{
-			ResAnim *ra = dynamic_cast<ResAnim *>(resources.get(i));
-			if (!ra)
-				continue;
-			if (ra->getName().find("_") != string::npos)
-				continue;
-			spSprite sprite = new Sprite;
-			sprite->setAnimFrame(ra);
-			sprite->addTween(createTween(TweenAnim(ra), 500, -1));
-			sprite->setPosition(scalar::randFloat(50.0f, getWidth() - 100.0f), scalar::randFloat(50.0f, getHeight() - 100.0f));
-			sprite->attachTo(content);	
-
-			if (ra->isName("bg"))
-			{
-				sprite->setPosition(0,0);
-				sprite->setScale(getWidth()/(float)sprite->getWidth());
-				sprite->setPriority(-1);
-			}
-			else
-			{
-				//sprite->addEventHandler(new DragHandler);
-			}
-		}
-
-		spTextActor text = new TextActor;
-		text->attachTo(content);
-
-		text->setSize(300, 200);
-		text->setPosition(140.0f, (float)getHeight() - text->getHeight());
-
-		TextStyle st;
-		st.font = resourcesUI.getResFont("big")->getFont();
-		st.vAlign = TextStyle::VALIGN_TOP;
-		st.color = Color(0xffffffff);
-		st.multiline = true;
-		text->setStyle(st);
-		text->setText("The quick brown fox jumps over the lazy dog. 1234567890");
-		//text->addEventHandler(new DragHandler);
-	}
-
-	void _loaded(Event *event)
-	{
-		showPopup("Loaded!");
-		ui->getChild("loading")->addTween(createTween(Sprite::TweenAlpha(0), 400))->setDetachActor(true);
-	}
-
-	void clicked(string id)
-	{
-		if (id == "switch")
-		{
-			if (loaded)
-				resources.unload();
-			else
-				resources.load();
-
-			loaded = !loaded;
-		}
-
-		if (id == "mt" || id == "mt_slow")
-		{
-			resources.unload();
-
-			spSprite sp = new Sprite;
-			sp->setName("loading");
-			sp->setAnimFrame(resourcesUI.getResAnim("loading"));
-			sp->attachTo(ui);
-			sp->setAnchor(Vector2(0.5f, 0.5f));
-			sp->setPosition(getSize() - sp->getSize()/4);
-			sp->setScale(0.5f);
-			sp->addTween(createTween(Actor::TweenRotation(-(float)MATH_PI * 2), 1500, -1));
-
-			spThreadLoading l = new ThreadLoading;
-			l->addEventListener(ThreadLoading::COMPLETE, CLOSURE(this, &ManageResTest::_loaded));
-			l->add(&resources);
-			if (id == "mt_slow")
-				l->setUpdateSize(128);
-			l->start(getRoot());
-		}
-	}
-};

+ 0 - 114
examples/Demo/src/TestMask.h

@@ -1,114 +0,0 @@
-#pragma once
-#include "test.h"
-#include "initActor.h"
-
-class TestMask: public Test
-{
-public:
-	timeMS _lastSnow;
-
-	spMaskedSprite _masked;
-	spSprite _mask;
-
-	TestMask():_lastSnow(0)
-	{		
-		_mask = initActor(new Sprite, 
-			arg_scale = 3,
-			arg_alpha = 64,
-			arg_x = 100,
-			arg_y = 50,
-			arg_anchor = Vector2(0.5f, 0.5f),
-			arg_resAnim = resources.getResAnim("logo2"),
-			arg_attachTo = content);
-
-		_mask->addTween(Actor::TweenRotation(MATH_PI * 2), 15000, -1, true);
-		_mask->addTween(Actor::TweenX(content->getWidth() - 100), 10000, -1, true);
-		_mask->addTween(Actor::TweenY(content->getHeight() - 50), 12000, -1, true);
-
-		_masked = initActor(new MaskedSprite,
-			arg_attachTo = content);
-
-		_masked->setMask(_mask);
-
-
-		TextStyle style;
-		style.font = resourcesUI.getResFont("main")->getFont();
-		style.color = Color(0, 255, 50, 255);
-		style.vAlign = TextStyle::VALIGN_MIDDLE;
-		style.hAlign = TextStyle::HALIGN_CENTER;
-		style.multiline = true;
-
-		spTextActor text = initActor(new TextActor(), 
-			arg_attachTo = _masked,
-			arg_scale = 2,
-			arg_pos = content->getSize()/2,
-			arg_text = "Oxygine. Masked text",
-			arg_style = style);		
-
-
-
-		addButton("show_mask", "hide mask");
-		addButton("change_mask1", "change mask");
-		addButton("disable_mask", "disable mask");
-		addButton("pause", "pause");
-	}
-
-	void clicked(string id)
-	{
-		if (id == "pause")
-		{
-			spClock clock = getRoot()->getClock();
-			if (!clock->getPauseCounter())
-				clock->pause();
-			else
-				clock->resume();
-		}
-		if (id == "show_mask")
-		{
-			_mask->setVisible(!_mask->getVisible());
-			if (_mask->getVisible())
-				updateText("show_mask", "hide mask");
-			else
-				updateText("show_mask", "show mask");
-		}
-
-		if (id == "change_mask1") 
-		{			
-			_mask->addTween(TweenAnim(resources.getResAnim("anim")), 600, -1, false);
-		}
-
-
-		if (id == "disable_mask") 
-		{
-			if (_masked->getMask())
-			{
-				updateText("disable_mask", "enable mask");
-				_masked->setMask(0);
-			}
-			else
-			{
-				updateText("disable_mask", "disable mask");
-				_masked->setMask(_mask);
-			}
-		}
-	}
-
-	void doUpdate(const UpdateState &us)
-	{
-		if (_lastSnow  + 40 < us.time)
-		{
-			_lastSnow = us.time;
-			spSprite snow = initActor(new Sprite,
-				arg_anchor = Vector2(0.5f, 0.5f),
-				arg_resAnim = resources.getResAnim("snow"),
-				arg_attachTo = _masked,
-				arg_rotation = scalar::randFloat(0, MATH_PI * 2),
-				arg_y = -50,
-				arg_scale = scalar::randFloat(0.4f, 1.0f),
-				arg_x = scalar::randFloat(0, content->getWidth()));
-
-			snow->addTween(Actor::TweenY(content->getHeight() + 50), 6000)->setDetachActor(true);
-			snow->addTween(Actor::TweenRotation(scalar::randFloat(0, MATH_PI * 2)), 10000);
-		}
-	}
-};

+ 0 - 129
examples/Demo/src/TestPerf.h

@@ -1,129 +0,0 @@
-#pragma once
-#include "test.h"
-
-class PerfTest: public Test
-{
-public:
-	spButton button;
-	int count;
-	bool _tweenAnim;
-	bool _tweenRot;
-	bool _tweenScale;
-
-	PerfTest()
-	{
-		_tweenAnim = false;
-		_tweenRot = false;
-		_tweenScale = false;
-		count = 0;
-		addButton("add", "add 250");
-		addButton("animate", "animate");
-		addButton("scale0.01", "scale=0.01");
-		addButton("scale0.2", "scale=0.2");
-		addButton("scale0.5", "scale=0.5");
-		addButton("driver", "driver=null");
-
-		content->setInputEnabled(false);
-		content->setInputChildrenEnabled(false);
-	}
-
-	void clicked(string id)
-	{
-		if (id == "driver")
-		{
-			if (content->driver)
-			{
-				delete content->driver;
-				content->driver = 0;
-			}
-			else
-				content->driver = new VideoDriverNull;
-
-			updateText(id, !content->driver ? "driver=null" : "driver=default");
-		}
-
-		if (id == "add")
-		{
-			int a = 250;
-			count += a;
-			for (int i = 0; i < a; ++i)
-			{
-				spSprite sprite = new Sprite;
-				sprite->setAnimFrame(resources.getResAnim("anim"));
-				sprite->setAnchor(Vector2(0.5f, 0.5f));
-				sprite->setScale(0.05f);
-				sprite->setPosition(scalar::randFloat(0, (float)getWidth()), scalar::randFloat(0, (float)getHeight()));
-				content->addChild(sprite);
-			}
-
-			char str[255];
-			sprintf(str, "add 250 (%d)", count);			
-			updateText(id, str);
-		}
-		if (id == "scale0.01")
-		{
-			spActor child = content->getFirstChild();
-			while(child)
-			{
-				child->setScale(Vector2(1,1) * 0.01f);
-				child = child->getNextSibling();
-			}
-		}
-		if (id == "scale0.2")
-		{
-			spActor child = content->getFirstChild();
-			while(child)
-			{
-				child->setScale(Vector2(1,1) * 0.2f);
-				child = child->getNextSibling();
-			}
-		}
-
-		if (id == "scale0.5")
-		{
-			spActor child = content->getFirstChild();
-			while(child)
-			{
-				child->setScale(Vector2(1,1) * 0.5f);
-				child = child->getNextSibling();
-			}
-		}
-
-		if (id == "animate")
-		{
-			spActor child = content->getFirstChild();
-			while(child)
-			{
-				spTween t = 0;
-				if (!_tweenAnim)
-					t = createTween(TweenAnim(resources.getResAnim("anim")), 500, -1);
-				else
-				if (!_tweenRot)
-					t = createTween(Actor::TweenRotation((float)MATH_PI * 2.0f), 3000, -1);
-				else
-				if (!_tweenScale)
-					t = createTween(Actor::TweenScale(Vector2(0.2f, 0.2f)), 3000, -1, true);
-
-
-				if (t)
-					child->addTween(t);
-				child = child->getNextSibling();
-			}
-
-			if (!_tweenAnim)
-				_tweenAnim = true;
-			else
-			{
-				if (!_tweenRot)
-					_tweenRot = true;
-				else
-					if (!_tweenScale)
-					{
-						updateText(id, "");
-						_tweenScale = true;
-					}
-			}
-		}
-	}
-
-};

+ 0 - 46
examples/Demo/src/TestProgressBar.h

@@ -1,46 +0,0 @@
-#pragma once
-#include "test.h"
-#include "ProgressBar.h"
-
-class TestProgressBar: public Test
-{
-public:
-	spProgressBar bar;
-	TestProgressBar()
-	{
-		addButton("0", "dir: 0");
-		addButton("90", "dir: 90");
-		addButton("180", "dir: 180");
-		addButton("270", "dir: 270");
-
-		bar = new ProgressBar();
-		bar->setAnimFrame(resources.getResAnim("logo2"));
-		bar->setAnchor(Vector2(0.5f, 0.5f));
-		bar->setPosition(getSize()/2);
-		bar->setScale(2);
-		content->addChild(bar);
-	}
-
-	void clicked(string id)
-	{		
-		bar->setProgress(0);
-		if (id == "0")
-		{			
-			bar->setDirection(ProgressBar::dir_0);			
-		}
-		if (id == "90")
-		{			
-			bar->setDirection(ProgressBar::dir_90);
-		}
-		if (id == "180")
-		{			
-			bar->setDirection(ProgressBar::dir_180);
-		}
-		if (id == "270")
-		{			
-			bar->setDirection(ProgressBar::dir_270);
-		}
-
-		bar->addTween(createTween(ProgressBar::TweenProgress(1.0f), 1000));
-	}
-};

+ 0 - 78
examples/Demo/src/TestRender2Texture.h

@@ -1,78 +0,0 @@
-#pragma once
-#include "test.h"
-
-class TestRender2Texture: public Test
-{
-public:
-	spNativeTexture texture;
-	Color color;
-	spSprite preview;
-
-	TestRender2Texture()
-	{
-		showPopup("touch to draw", 100000);
-
-		color = Color(255,255,255,32);
-
-		Vector2 size = content->getSize();
-
-		texture = IVideoDriver::instance->createTexture();
-		texture->init((int)size.x, (int)size.y, TF_R8G8B8A8, true);
-
-		preview = new Sprite;
-		preview->attachTo(content);
-		
-
-		AnimationFrame frame;
-		Diffuse df;
-		df.base = texture;
-		frame.init(0, df,
-			RectF(0, 0, size.x/texture->getWidth(), size.y/texture->getHeight()), 
-			RectF(Vector2(0,0), size), size);
-		preview->setAnimFrame(frame);		
-
-		content->addEventListener(TouchEvent::MOVE, CLOSURE(this, &TestRender2Texture::onMove));
-		content->addEventListener(TouchEvent::TOUCH_DOWN, CLOSURE(this, &TestRender2Texture::onDown));
-	}
-
-	void onDown(Event *ev)
-	{
-		color = Color(rand() % 255, rand() % 255, rand() % 255, 32);
-		onMove(ev);
-	}
-
-	void onMove(Event *ev)
-	{
-		TouchEvent *te = (TouchEvent *)ev;
-		if (!te->getPointer()->isPressed())
-			return;
-
-		Renderer r;
-		RenderState rs;
-		rs.renderer = &r;
-
-
-		Point size = content->getSize().cast<Point>();
-		Matrix view = makeViewMatrix(size.x, size.y, true);
-		rs.renderer->setViewTransform(view);
-
-		Matrix proj;
-		Matrix::orthoLH(proj, (float)size.x, (float)size.y, 0.0f, 1.0f);
-		rs.renderer->setProjTransform(proj);
-
-		Rect vp(Point(0, 0), size);
-
-		r.begin(texture, vp, 0);
-		ResAnim *brush = resources.getResAnim("brush");
-		AnimationFrame frame = brush->getFrame(0,0);
-		const Diffuse &df = frame.getDiffuse();
-		r.setDiffuse(df);
-		r.setPrimaryColor(color);
-		float pressure =  te->pressure;
-		//log::messageln("pressure %.2f", pressure);
-		//pressure = pressure * pressure;
-		r.draw(frame.getSrcRect(), 
-			RectF(te->localPosition - Vector2(16, 16) * pressure, Vector2(32, 32)  * pressure));
-		r.end();
-	}
-};

+ 0 - 18
examples/Demo/src/TestTexel2Pixel.h

@@ -1,18 +0,0 @@
-#pragma once
-#include "test.h"
-class TestTexel2Pixel: public Test
-{
-public:
-	TestTexel2Pixel()
-	{
-		spSprite sprite = new Sprite;			
-		Vector2 pos(0, 0);
-		sprite->setPosition(pos);
-		sprite->setAnimFrame(resources.getResAnim("t2p"));
-		sprite->attachTo(content);
-		float scale = 1.0f/getRoot()->getScaleX();
-		sprite->setScale(scale);
-		Vector2 displaySpriteSize = sprite->getSize() * scale;
-		sprite->setPosition((content->getSize() - displaySpriteSize)/2.0f);
-	}
-};

+ 0 - 180
examples/Demo/src/TestText.h

@@ -1,180 +0,0 @@
-#pragma once
-#include "test.h"
-#include "oxygine-framework.h"
-#include <sstream>
-
-struct text_test
-{
-	text_test(
-		string str, 
-		TextStyle::HorizontalAlign Align, 
-		TextStyle::VerticalAlign VAlign, 
-		Vector2 Size,
-		bool Multiline = true, int Scale2size = 0, bool Html = true):text(str), hAlign(Align), vAlign(VAlign), multiline(Multiline), size(Size), scale2size(Scale2size), html(Html)
-	{}
-
-	string text;
-	TextStyle::HorizontalAlign hAlign;
-	TextStyle::VerticalAlign vAlign;
-	bool multiline;
-	Vector2 size;
-	int scale2size;
-	bool html;
-};
-
-
-
-class TestText: public Test
-{
-public:
-	vector<text_test> tests;
-	int current;
-
-	spColorRectSprite bg;
-	spColorRectSprite spriteTextRect;
-	spTextActor text;
-
-	spTextActor textDetails;
-
-	TestText()
-	{
-		current = 0;		
-
-		addButton("next", "Next Test");
-		addButton("prev", "Prev Test");		
-
-		textDetails = new TextActor;
-		textDetails->attachTo(ui);
-		textDetails->setSize(Vector2(300, 0));
-		textDetails->setPosition(200.0f, getRoot()->getHeight() - 10);
-		
-		TextStyle st;
-		st.font = resourcesUI.getResFont("main")->getFont();
-		st.vAlign = TextStyle::VALIGN_BOTTOM;
-		st.color = Color(0xffffffff);
-		st.multiline = true;
-		textDetails->setStyle(st);
-
-		bg = new ColorRectSprite();
-		bg->attachTo(content);
-		bg->setColor(Color(64, 64, 64, 255));
-
-		/*
-		spDragHandler dh = new DragHandler;
-		bg->addEventHandler(dh);
-		*/
-
-		spriteTextRect = new ColorRectSprite();
-		spriteTextRect->attachTo(bg);
-		spriteTextRect->setColor(Color(255, 0, 0, 80));
-
-		text = new TextActor;
-		text->attachTo(bg);
-
-		Vector2 size(420, 300);
-
-
-		tests.push_back(text_test( "It is html style tagged text. <div c='ffff00'>It could be colored.  It <div c='0000ff'>supports</div> <div c='00ff00AA'>nested tags</div> and  <br/> broken lines.</div><br/>It supports CDATA and xml escape sequences:\n<![CDATA[<div c='00ffff'>it is CDATA</div>]]>", 
-			TextStyle::HALIGN_CENTER, TextStyle::VALIGN_MIDDLE, size, true));
-
-		for (int h = TextStyle::HALIGN_LEFT; h <= TextStyle::HALIGN_RIGHT; ++h)
-		{
-			tests.push_back(text_test( "<div c='00ff00'>Scaled Font test<br/></div> The quick brown fox jumps over the lazy dog. 1234567890. The quick brown fox jumps over the lazy dog. 1234567890. The quick brown fox jumps over the lazy dog. 1234567890. The quick brown fox jumps over the lazy dog. 1234567890. ", TextStyle::HALIGN_CENTER, TextStyle::VALIGN_MIDDLE, size, true, 10 * h  + 20));
-		}
-
-
-		tests.push_back(text_test( "<div c='00ff00'>Using '\\n' new line test</div>\nnew line\nnew line\nnew line", TextStyle::HALIGN_CENTER, TextStyle::VALIGN_TOP, size));
-		
-		for (int h = TextStyle::HALIGN_LEFT; h <= TextStyle::HALIGN_RIGHT; ++h)
-		{
-			tests.push_back(text_test( "<div c='00ff00'>Singleline Test</div> The quick brown fox.", TextStyle::HorizontalAlign(h), TextStyle::VALIGN_TOP, size, false));
-		}
-
-		for (int h = TextStyle::HALIGN_LEFT; h <= TextStyle::HALIGN_RIGHT; ++h)
-		{
-			tests.push_back(text_test( "<div c='00ff00'>Multiline Test with spaces inside</div> The   quick    brown    fox   jumps    over   the    lazy dog.", TextStyle::HorizontalAlign(h), TextStyle::VALIGN_TOP, size));
-		}
-
-		
-
-		for (int v = TextStyle::VALIGN_BASELINE; v <= TextStyle::VALIGN_BOTTOM; ++v)
-		{
-			for (int h = TextStyle::HALIGN_LEFT; h <= TextStyle::HALIGN_RIGHT; ++h)
-			{
-				tests.push_back(text_test( "It is html style tagged text. <div c='ffff00'>It could be colored.  It <div c='0000ff'>supports</div> <div c='00ff00AA'>nested tags</div> and  <br/> broken lines.</div><br/>It supports CDATA and xml escape sequences:\n<![CDATA[<div c='00ffff'>it is CDATA</div>]]>", 
-					TextStyle::HorizontalAlign(h), TextStyle::VerticalAlign(v), size, true));
-				//tests.push_back(text_test( "<div c='00ff00'>Aligment Test</div> The quick brown fox jumps over the lazy dog. 1234567890. The quick brown fox jumps over the lazy dog. 1234567890. ", TextStyle::HorizontalAlign(h), TextStyle::VerticalAlign(v), size));
-			}
-		}
-
-		size = Vector2(200, 100);
-		for (int v = TextStyle::VALIGN_BASELINE; v <= TextStyle::VALIGN_BOTTOM; ++v)
-		{
-			for (int h = TextStyle::HALIGN_LEFT; h <= TextStyle::HALIGN_RIGHT; ++h)
-			{
-				tests.push_back(text_test( "<div c='00ff00'>Aligment Test with limited size</div> The quick brown fox jumps over the lazy dog. 1234567890.", TextStyle::HorizontalAlign(h), TextStyle::VerticalAlign(v), size));
-			}
-		}
-
-		size = Vector2(380, 300);
-		for (int h = TextStyle::HALIGN_LEFT; h <= TextStyle::HALIGN_RIGHT; ++h)
-		{
-			tests.push_back(text_test( "<div c='00ff00'>Long string and aligment test</div> The_quick_brownfox_jumps_over_the lazy dog. 1234567890.", TextStyle::HorizontalAlign(h), TextStyle::VALIGN_TOP, size));
-		}	
-
-		updateTest(current);
-	}
-
-	void updateTest(int i)
-	{
-		const text_test &test = tests[i];
-		TextStyle style;
-		style.multiline = test.multiline;
-		style.vAlign = test.vAlign;
-		style.hAlign = test.hAlign;
-		style.font = resourcesUI.getResFont("big")->getFont();
-		style.color = Color(0xffffffff);
-		style.fontSize2Scale = test.scale2size;
-		text->setStyle(style);
-
-		text->setSize(test.size);
-		if (test.html)
-			text->setHtmlText(test.text);
-		else
-			text->setText(test.text);
-
-		//text->setText("<a>a</a>");
-
-		const Rect &rect = text->getTextRect();
-		spriteTextRect->setPosition(rect.pos);
-		spriteTextRect->setSize(rect.size);
-
-		bg->setSize(test.size);
-		bg->setPosition(getSize()/2 - bg->getSize()/2);
-
-
-		style.font = 0;
-		stringstream stream;
-		stream << i << ") ";
-		stream << dumpStyle(style, false);
-		stream << " size=(" << test.size.x << "," << test.size.y << ")";
-		textDetails->setText(stream.str());
-	}
-
-	void clicked(string id)
-	{
-		if(id == "next")
-		{
-			current += 1;
-		}
-		if(id == "prev")
-		{
-			current -= 1;
-		}
-
-		current += tests.size();
-		current %= tests.size();
-		updateTest(current);
-	}
-	
-};

Some files were not shown because too many files changed in this diff