diff --git a/lime.png b/lime.png deleted file mode 100644 index 5afb8060b..000000000 Binary files a/lime.png and /dev/null differ diff --git a/lime/Assets.hx b/lime/Assets.hx index 6b5584d10..37bf277b8 100644 --- a/lime/Assets.hx +++ b/lime/Assets.hx @@ -3,8 +3,8 @@ package lime; import haxe.Unserializer; -import lime.graphics.Image; import lime.graphics.Font; +import lime.media.Image; import lime.utils.ByteArray; diff --git a/lime/audio/Sound.hx b/lime/audio/Sound.hx deleted file mode 100644 index 706f4e39e..000000000 --- a/lime/audio/Sound.hx +++ /dev/null @@ -1,72 +0,0 @@ -package lime.audio; - - -import lime.system.System; -import lime.utils.ByteArray; - - -class Sound { - - - public var bitsPerSample:Int; - public var channels:Int; - public var data:ByteArray; - public var sampleRate:Int; - - - public function new () { - - - - } - - - public static function loadFromBytes (bytes:ByteArray):Sound { - - #if (cpp || neko) - - var data = lime_sound_load_bytes (bytes); - var sound = new Sound (); - sound.bitsPerSample = data.bitsPerSample; - sound.channels = data.channels; - sound.data = data.data; - sound.sampleRate = data.sampleRate; - return sound; - - #else - - return null; - - #end - - } - - - public static function loadFromFile (path:String):Sound { - - #if (cpp || neko) - - var data = lime_sound_load (path); - var sound = new Sound (); - sound.bitsPerSample = data.bitsPerSample; - sound.channels = data.channels; - sound.data = data.data; - sound.sampleRate = data.sampleRate; - return sound; - - #else - - return null; - - #end - - } - - - #if (cpp || neko) - private static var lime_sound_load = System.load ("lime", "lime_sound_load", 1); - private static var lime_sound_load_bytes = System.load ("lime", "lime_sound_load_bytes", 1); - #end - - -} \ No newline at end of file diff --git a/lime/graphics/Font.hx b/lime/graphics/Font.hx index b33c65360..97a3912a4 100644 --- a/lime/graphics/Font.hx +++ b/lime/graphics/Font.hx @@ -1,6 +1,7 @@ package lime.graphics; import haxe.ds.StringMap; +import lime.media.Image; import lime.utils.UInt8Array; import lime.system.System; #if js @@ -133,7 +134,7 @@ class Font { image.src = __canvas.toDataURL(); return { glyphs: glyphRects, - image: new lime.graphics.Image (image, __canvas.width, __canvas.height) + image: new lime.media.Image (image, __canvas.width, __canvas.height) } #elseif flash diff --git a/lime/graphics/GLRenderContext.hx b/lime/graphics/GLRenderContext.hx index a926824ae..9c4327610 100644 --- a/lime/graphics/GLRenderContext.hx +++ b/lime/graphics/GLRenderContext.hx @@ -1,7 +1,7 @@ package lime.graphics; #if !js -import lime.graphics.*; +import lime.graphics.opengl.*; import lime.utils.ArrayBuffer; import lime.utils.ArrayBufferView; import lime.utils.Float32Array; @@ -1334,16 +1334,16 @@ class GLRenderContext { #else -import lime.graphics.GLActiveInfo; -import lime.graphics.GLBuffer; -import lime.graphics.GLContextAttributes; -import lime.graphics.GLFramebuffer; -import lime.graphics.GLProgram; -import lime.graphics.GLRenderbuffer; -import lime.graphics.GLShader; -import lime.graphics.GLShaderPrecisionFormat; -import lime.graphics.GLTexture; -import lime.graphics.GLUniformLocation; +import lime.graphics.opengl.GLActiveInfo; +import lime.graphics.opengl.GLBuffer; +import lime.graphics.opengl.GLContextAttributes; +import lime.graphics.opengl.GLFramebuffer; +import lime.graphics.opengl.GLProgram; +import lime.graphics.opengl.GLRenderbuffer; +import lime.graphics.opengl.GLShader; +import lime.graphics.opengl.GLShaderPrecisionFormat; +import lime.graphics.opengl.GLTexture; +import lime.graphics.opengl.GLUniformLocation; @:native("WebGLRenderingContext") diff --git a/lime/graphics/JPG.hx b/lime/graphics/JPG.hx deleted file mode 100644 index 7ab713a41..000000000 --- a/lime/graphics/JPG.hx +++ /dev/null @@ -1,42 +0,0 @@ -package lime.graphics; - - -import lime.utils.ByteArray; - - -class JPG { - - - public static function encode (image:Image):ByteArray { - - return null; - - } - - - public static function decode (bytes:ByteArray):Image { - - return null; - - } - - - public static function isFormat (bytes:ByteArray):Bool { - - if (bytes != null) { - - var cachePosition = bytes.position; - bytes.position = 0; - var result = (bytes.readByte () == 0xFF && bytes.readByte () == 0xD8); - bytes.position = cachePosition; - - return result; - - } - - return false; - - } - - -} \ No newline at end of file diff --git a/lime/graphics/PNG.hx b/lime/graphics/PNG.hx deleted file mode 100644 index 5d892fe5b..000000000 --- a/lime/graphics/PNG.hx +++ /dev/null @@ -1,42 +0,0 @@ -package lime.graphics; - - -import lime.utils.ByteArray; - - -class PNG { - - - public static function encode (image:Image):ByteArray { - - return null; - - } - - - public static function decode (bytes:ByteArray):Image { - - return null; - - } - - - public static function isFormat (bytes:ByteArray):Bool { - - if (bytes != null) { - - var cachePosition = bytes.position; - bytes.position = 0; - var result = (bytes.readByte () == 0x89 && bytes.readByte () == 0x50 && bytes.readByte () == 0x4E && bytes.readByte () == 0x47 && bytes.readByte () == 0x0D && bytes.readByte () == 0x0A && bytes.readByte () == 0x1A && bytes.readByte () == 0x0A); - bytes.position = cachePosition; - - return result; - - } - - return false; - - } - - -} \ No newline at end of file diff --git a/lime/graphics/Renderer.hx b/lime/graphics/Renderer.hx index 917089135..d87398a53 100644 --- a/lime/graphics/Renderer.hx +++ b/lime/graphics/Renderer.hx @@ -3,7 +3,7 @@ package lime.graphics; import lime.app.Application; import lime.app.Event; -import lime.graphics.GL; +import lime.graphics.opengl.GL; import lime.graphics.GLRenderContext; import lime.system.System; import lime.ui.Window; @@ -15,7 +15,7 @@ import flash.Lib; #end -@:access(lime.graphics.GL) +@:access(lime.graphics.opengl.GL) @:access(lime.app.Application) @:allow(lime.app.Application) diff --git a/lime/graphics/GL.hx b/lime/graphics/opengl/GL.hx similarity index 99% rename from lime/graphics/GL.hx rename to lime/graphics/opengl/GL.hx index 7b0fb1678..be72a3135 100644 --- a/lime/graphics/GL.hx +++ b/lime/graphics/opengl/GL.hx @@ -1,4 +1,4 @@ -package lime.graphics; +package lime.graphics.opengl; import lime.utils.ArrayBuffer; diff --git a/lime/graphics/GLActiveInfo.hx b/lime/graphics/opengl/GLActiveInfo.hx similarity index 74% rename from lime/graphics/GLActiveInfo.hx rename to lime/graphics/opengl/GLActiveInfo.hx index 07ee4eaa1..eef699ca0 100644 --- a/lime/graphics/GLActiveInfo.hx +++ b/lime/graphics/opengl/GLActiveInfo.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLActiveInfo = js.html.webgl.ActiveInfo; -#else +package lime.graphics.opengl; #if !js typedef GLActiveInfo = { @@ -13,4 +10,6 @@ typedef GLActiveInfo = { } +#else +typedef GLActiveInfo = js.html.webgl.ActiveInfo; #end \ No newline at end of file diff --git a/lime/graphics/GLBuffer.hx b/lime/graphics/opengl/GLBuffer.hx similarity index 80% rename from lime/graphics/GLBuffer.hx rename to lime/graphics/opengl/GLBuffer.hx index b2b648731..b83f23bfe 100644 --- a/lime/graphics/GLBuffer.hx +++ b/lime/graphics/opengl/GLBuffer.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLBuffer = js.html.webgl.Buffer; -#else +package lime.graphics.opengl; #if !js class GLBuffer extends GLObject { @@ -17,4 +14,6 @@ class GLBuffer extends GLObject { } +#else +typedef GLBuffer = js.html.webgl.Buffer; #end \ No newline at end of file diff --git a/lime/graphics/GLContextAttributes.hx b/lime/graphics/opengl/GLContextAttributes.hx similarity index 84% rename from lime/graphics/GLContextAttributes.hx rename to lime/graphics/opengl/GLContextAttributes.hx index c80237b25..bdb9cbf0b 100644 --- a/lime/graphics/GLContextAttributes.hx +++ b/lime/graphics/opengl/GLContextAttributes.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLContextAttributes = js.html.webgl.ContextAttributes; -#else +package lime.graphics.opengl; #if !js typedef GLContextAttributes = { @@ -16,4 +13,6 @@ typedef GLContextAttributes = { } +#else +typedef GLContextAttributes = js.html.webgl.ContextAttributes; #end \ No newline at end of file diff --git a/lime/graphics/GLFramebuffer.hx b/lime/graphics/opengl/GLFramebuffer.hx similarity index 81% rename from lime/graphics/GLFramebuffer.hx rename to lime/graphics/opengl/GLFramebuffer.hx index 5cbeb2a6b..847df1870 100644 --- a/lime/graphics/GLFramebuffer.hx +++ b/lime/graphics/opengl/GLFramebuffer.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLFramebuffer = js.html.webgl.Framebuffer; -#else +package lime.graphics.opengl; #if !js class GLFramebuffer extends GLObject { @@ -17,4 +14,6 @@ class GLFramebuffer extends GLObject { } +#else +typedef GLFramebuffer = js.html.webgl.Framebuffer; #end \ No newline at end of file diff --git a/lime/graphics/GLObject.hx b/lime/graphics/opengl/GLObject.hx similarity index 97% rename from lime/graphics/GLObject.hx rename to lime/graphics/opengl/GLObject.hx index 0ec5d1b6b..c25c7088a 100644 --- a/lime/graphics/GLObject.hx +++ b/lime/graphics/opengl/GLObject.hx @@ -1,4 +1,4 @@ -package lime.graphics; +package lime.graphics.opengl; class GLObject { diff --git a/lime/graphics/GLProgram.hx b/lime/graphics/opengl/GLProgram.hx similarity index 92% rename from lime/graphics/GLProgram.hx rename to lime/graphics/opengl/GLProgram.hx index 4186e3d3c..ad31f7cad 100644 --- a/lime/graphics/GLProgram.hx +++ b/lime/graphics/opengl/GLProgram.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLProgram = js.html.webgl.Program; -#else +package lime.graphics.opengl; #if !js class GLProgram extends GLObject { @@ -42,4 +39,6 @@ class GLProgram extends GLObject { } +#else +typedef GLProgram = js.html.webgl.Program; #end \ No newline at end of file diff --git a/lime/graphics/GLRenderbuffer.hx b/lime/graphics/opengl/GLRenderbuffer.hx similarity index 82% rename from lime/graphics/GLRenderbuffer.hx rename to lime/graphics/opengl/GLRenderbuffer.hx index 31eccb4e3..1d68682e0 100644 --- a/lime/graphics/GLRenderbuffer.hx +++ b/lime/graphics/opengl/GLRenderbuffer.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLRenderbuffer = js.html.webgl.Renderbuffer; -#else +package lime.graphics.opengl; #if !js class GLRenderbuffer extends GLObject { @@ -17,4 +14,6 @@ class GLRenderbuffer extends GLObject { } +#else +typedef GLRenderbuffer = js.html.webgl.Renderbuffer; #end \ No newline at end of file diff --git a/lime/graphics/GLShader.hx b/lime/graphics/opengl/GLShader.hx similarity index 80% rename from lime/graphics/GLShader.hx rename to lime/graphics/opengl/GLShader.hx index 39cf423bd..9837adfe3 100644 --- a/lime/graphics/GLShader.hx +++ b/lime/graphics/opengl/GLShader.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLShader = js.html.webgl.Shader; -#else +package lime.graphics.opengl; #if !js class GLShader extends GLObject { @@ -17,4 +14,6 @@ class GLShader extends GLObject { } +#else +typedef GLShader = js.html.webgl.Shader; #end \ No newline at end of file diff --git a/lime/graphics/GLShaderPrecisionFormat.hx b/lime/graphics/opengl/GLShaderPrecisionFormat.hx similarity index 80% rename from lime/graphics/GLShaderPrecisionFormat.hx rename to lime/graphics/opengl/GLShaderPrecisionFormat.hx index 1eaeee949..8c2636595 100644 --- a/lime/graphics/GLShaderPrecisionFormat.hx +++ b/lime/graphics/opengl/GLShaderPrecisionFormat.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLShaderPrecisionFormat = js.html.webgl.ShaderPrecisionFormat; -#else +package lime.graphics.opengl; #if !js typedef GLShaderPrecisionFormat = { @@ -13,4 +10,6 @@ typedef GLShaderPrecisionFormat = { }; +#else +typedef GLShaderPrecisionFormat = js.html.webgl.ShaderPrecisionFormat; #end \ No newline at end of file diff --git a/lime/graphics/GLTexture.hx b/lime/graphics/opengl/GLTexture.hx similarity index 81% rename from lime/graphics/GLTexture.hx rename to lime/graphics/opengl/GLTexture.hx index e1d2d3077..91bf6c526 100644 --- a/lime/graphics/GLTexture.hx +++ b/lime/graphics/opengl/GLTexture.hx @@ -1,7 +1,4 @@ -package lime.graphics; -#if js -typedef GLTexture = js.html.webgl.Texture; -#else +package lime.graphics.opengl; #if !js class GLTexture extends GLObject { @@ -17,4 +14,6 @@ class GLTexture extends GLObject { } +#else +typedef GLTexture = js.html.webgl.Texture; #end \ No newline at end of file diff --git a/lime/graphics/GLUniformLocation.hx b/lime/graphics/opengl/GLUniformLocation.hx similarity index 70% rename from lime/graphics/GLUniformLocation.hx rename to lime/graphics/opengl/GLUniformLocation.hx index 5587672d2..4b2c7875e 100644 --- a/lime/graphics/GLUniformLocation.hx +++ b/lime/graphics/opengl/GLUniformLocation.hx @@ -1,10 +1,9 @@ -package lime.graphics; -#if js -typedef GLUniformLocation = js.html.webgl.UniformLocation; -#else +package lime.graphics.opengl; #if !js typedef GLUniformLocation = Int; +#else +typedef GLUniformLocation = js.html.webgl.UniformLocation; #end \ No newline at end of file diff --git a/lime/media/AudioBuffer.hx b/lime/media/AudioBuffer.hx new file mode 100644 index 000000000..f0b067d1b --- /dev/null +++ b/lime/media/AudioBuffer.hx @@ -0,0 +1,71 @@ +package lime.media; + + +import lime.system.System; +import lime.utils.ByteArray; + + +class AudioBuffer { + + + public var bitsPerSample:Int; + public var channels:Int; + public var data:ByteArray; + public var sampleRate:Int; + + + public function new () { + + + + } + + + public static function fromBytes (bytes:ByteArray):AudioBuffer { + + #if (cpp || neko) + + var data = lime_audio_load (bytes); + var audioBuffer = new AudioBuffer (); + audioBuffer.bitsPerSample = data.bitsPerSample; + audioBuffer.channels = data.channels; + audioBuffer.data = data.data; + audioBuffer.sampleRate = data.sampleRate; + return audioBuffer; + + #else + + return null; + + #end + + } + + + public static function fromFile (path:String):AudioBuffer { + + #if (cpp || neko) + + var data = lime_audio_load (path); + var audioBuffer = new AudioBuffer (); + audioBuffer.bitsPerSample = data.bitsPerSample; + audioBuffer.channels = data.channels; + audioBuffer.data = data.data; + audioBuffer.sampleRate = data.sampleRate; + return audioBuffer; + + #else + + return null; + + #end + + } + + + #if (cpp || neko) + private static var lime_audio_load:Dynamic = System.load ("lime", "lime_audio_load", 1); + #end + + +} \ No newline at end of file diff --git a/lime/graphics/Image.hx b/lime/media/Image.hx similarity index 77% rename from lime/graphics/Image.hx rename to lime/media/Image.hx index 7df5d1aa1..d866d7a87 100644 --- a/lime/graphics/Image.hx +++ b/lime/media/Image.hx @@ -1,4 +1,4 @@ -package lime.graphics; +package lime.media; import lime.utils.ByteArray; @@ -23,7 +23,7 @@ class Image { #end public var bpp:Int; - public var data (get, set):ImageData; + public var data (get, set):ImageBuffer; public var height:Int; public var offsetX:Int; public var offsetY:Int; @@ -34,7 +34,7 @@ class Image { public var textureWidth:Int; public var width:Int; - private var __data:ImageData; + private var __data:ImageBuffer; public function new (src:ImageSource = null, width:Int = 0, height:Int = 0, bpp:Int = 4) { @@ -85,7 +85,7 @@ class Image { __context.drawImage (src, 0, 0, width, height); var pixels = __context.getImageData (0, 0, textureWidth, textureHeight); - __data = new ImageData (pixels.data); + __data = new ImageBuffer (pixels.data); #elseif flash @@ -93,11 +93,11 @@ class Image { bitmapData.draw (src, null, null, null, true); var pixels = bitmapData.getPixels (bitmapData.rect); - __data = new ImageData (pixels); + __data = new ImageBuffer (pixels); #else - var newData = new ImageData (textureWidth * textureHeight * 4); + var newData = new ImageBuffer (textureWidth * textureHeight * 4); for (y in 0...height) { @@ -116,12 +116,12 @@ class Image { } - public static function loadFromBytes (bytes:ByteArray):Image { + public static function fromBytes (bytes:ByteArray):Image { #if (cpp || neko) - var imageData = lime_image_load_bytes (bytes); - return (imageData == null ? null : new Image (new UInt8Array (imageData.data), imageData.width, imageData.height, imageData.bpp)); + var imageData = lime_image_load (bytes); + return (imageData == null ? null : new Image (new ImageBuffer (imageData.data), imageData.width, imageData.height, imageData.bpp)); #else @@ -132,12 +132,12 @@ class Image { } - public static function loadFromFile (path:String) { + public static function fromFile (path:String) { #if (cpp || neko) var imageData = lime_image_load (path); - return (imageData == null ? null : new Image (new UInt8Array (imageData.data), imageData.width, imageData.height, imageData.bpp)); + return (imageData == null ? null : new Image (new ImageBuffer (imageData.data), imageData.width, imageData.height, imageData.bpp)); #else @@ -160,7 +160,7 @@ class Image { } - private function get_data ():ImageData { + private function get_data ():ImageBuffer { if (__data == null && src != null && width > 0 && height > 0) { @@ -178,12 +178,12 @@ class Image { __context.drawImage (src, 0, 0); var pixels = __context.getImageData (0, 0, width, height); - __data = new ImageData (pixels.data); + __data = new ImageBuffer (pixels.data); #elseif flash var pixels = src.getPixels (src.rect); - __data = new ImageData (pixels); + __data = new ImageBuffer (pixels); #end @@ -194,7 +194,7 @@ class Image { } - private function set_data (value:ImageData):ImageData { + private function set_data (value:ImageBuffer):ImageBuffer { return __data = value; @@ -209,8 +209,7 @@ class Image { #if (cpp || neko) - private static var lime_image_load = System.load ("lime", "lime_image_load", 1); - private static var lime_image_load_bytes = System.load ("lime", "lime_image_load_bytes", 1); + private static var lime_image_load:Dynamic = System.load ("lime", "lime_image_load", 1); #end diff --git a/lime/graphics/ImageData.hx b/lime/media/ImageBuffer.hx similarity index 93% rename from lime/graphics/ImageData.hx rename to lime/media/ImageBuffer.hx index 7cf709332..df6100239 100644 --- a/lime/graphics/ImageData.hx +++ b/lime/media/ImageBuffer.hx @@ -1,10 +1,10 @@ -package lime.graphics; +package lime.media; import lime.utils.UInt8Array; -abstract ImageData(UInt8Array) from UInt8Array to UInt8Array { +abstract ImageBuffer(UInt8Array) from UInt8Array to UInt8Array { public var length (get, never):Int; diff --git a/lime/audio/AL.hx b/lime/media/openal/AL.hx similarity index 99% rename from lime/audio/AL.hx rename to lime/media/openal/AL.hx index aae6d9fb8..42f7d57be 100644 --- a/lime/audio/AL.hx +++ b/lime/media/openal/AL.hx @@ -1,4 +1,4 @@ -package lime.audio; +package lime.media.openal; import lime.system.System; diff --git a/lime/audio/ALC.hx b/lime/media/openal/ALC.hx similarity index 99% rename from lime/audio/ALC.hx rename to lime/media/openal/ALC.hx index d2770eb3e..ac7e3d3e6 100644 --- a/lime/audio/ALC.hx +++ b/lime/media/openal/ALC.hx @@ -1,4 +1,4 @@ -package lime.audio; +package lime.media.openal; import lime.system.System; diff --git a/lime/audio/ALContext.hx b/lime/media/openal/ALContext.hx similarity index 61% rename from lime/audio/ALContext.hx rename to lime/media/openal/ALContext.hx index 6ce3f0939..89c70008f 100644 --- a/lime/audio/ALContext.hx +++ b/lime/media/openal/ALContext.hx @@ -1,8 +1,8 @@ -package lime.audio; +package lime.media.openal; -@:allow(lime.audio.AL) -@:allow(lime.audio.ALC) +@:allow(lime.media.openal.AL) +@:allow(lime.media.openal.ALC) abstract ALContext(Null) from Null to Null { diff --git a/lime/audio/ALDevice.hx b/lime/media/openal/ALDevice.hx similarity index 61% rename from lime/audio/ALDevice.hx rename to lime/media/openal/ALDevice.hx index a0f4336e6..12095e464 100644 --- a/lime/audio/ALDevice.hx +++ b/lime/media/openal/ALDevice.hx @@ -1,8 +1,8 @@ -package lime.audio; +package lime.media.openal; -@:allow(lime.audio.AL) -@:allow(lime.audio.ALC) +@:allow(lime.media.openal.AL) +@:allow(lime.media.openal.ALC) abstract ALDevice(Null) from Null to Null { diff --git a/lime/utils/GLUtils.hx b/lime/utils/GLUtils.hx index 8d19e7800..5585398d4 100644 --- a/lime/utils/GLUtils.hx +++ b/lime/utils/GLUtils.hx @@ -1,9 +1,9 @@ package lime.utils; -import lime.graphics.GLProgram; -import lime.graphics.GLShader; -import lime.graphics.GL; +import lime.graphics.opengl.GLProgram; +import lime.graphics.opengl.GLShader; +import lime.graphics.opengl.GL; class GLUtils { diff --git a/lime/geom/Matrix3.hx b/lime/utils/Matrix3.hx similarity index 99% rename from lime/geom/Matrix3.hx rename to lime/utils/Matrix3.hx index 480aebcbe..ff5d8c1b7 100644 --- a/lime/geom/Matrix3.hx +++ b/lime/utils/Matrix3.hx @@ -1,7 +1,7 @@ -package lime.geom; +package lime.utils; -import lime.geom.Vector2; +import lime.utils.Vector2; class Matrix3 { diff --git a/lime/geom/Matrix4.hx b/lime/utils/Matrix4.hx similarity index 99% rename from lime/geom/Matrix4.hx rename to lime/utils/Matrix4.hx index 05f17d467..902cd2a30 100644 --- a/lime/geom/Matrix4.hx +++ b/lime/utils/Matrix4.hx @@ -1,4 +1,4 @@ -package lime.geom; +package lime.utils; import lime.utils.Float32Array; diff --git a/lime/geom/Vector2.hx b/lime/utils/Vector2.hx similarity index 98% rename from lime/geom/Vector2.hx rename to lime/utils/Vector2.hx index 68b9ee5c9..34598b373 100644 --- a/lime/geom/Vector2.hx +++ b/lime/utils/Vector2.hx @@ -1,4 +1,4 @@ -package lime.geom; +package lime.utils; class Vector2 { diff --git a/lime/geom/Vector4.hx b/lime/utils/Vector4.hx similarity index 99% rename from lime/geom/Vector4.hx rename to lime/utils/Vector4.hx index 7d3e33ae9..6e9edf47f 100644 --- a/lime/geom/Vector4.hx +++ b/lime/utils/Vector4.hx @@ -1,4 +1,4 @@ -package lime.geom; +package lime.utils; class Vector4 { diff --git a/project/Build.xml b/project/Build.xml index 587032dc9..ea318194a 100644 --- a/project/Build.xml +++ b/project/Build.xml @@ -37,7 +37,7 @@ - + @@ -65,7 +65,7 @@ - + @@ -75,7 +75,7 @@ - + @@ -83,7 +83,7 @@ - + @@ -93,7 +93,7 @@ - + @@ -115,10 +115,10 @@ - - - + + + diff --git a/project/include/format/OGG.h b/project/include/format/OGG.h deleted file mode 100644 index 11d5e975a..000000000 --- a/project/include/format/OGG.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef LIME_FORMAT_OGG_H -#define LIME_FORMAT_OGG_H - - -#include