OSDN Git Service
nathan.sweet [Wed, 8 Dec 2010 04:28:02 +0000 (04:28 +0000)]
[changed] More array class fixes.
nathan.sweet [Wed, 8 Dec 2010 00:32:30 +0000 (00:32 +0000)]
[added] pop and pop(int) for the primitive array and bag classes.
nathan.sweet [Tue, 7 Dec 2010 21:11:14 +0000 (21:11 +0000)]
[removed] A sysout in TexturePacker. Oops.
nathan.sweet [Tue, 7 Dec 2010 20:58:18 +0000 (20:58 +0000)]
[changed] TexturePacker so images can be added manually.
nathan.sweet [Tue, 7 Dec 2010 07:43:50 +0000 (07:43 +0000)]
[changed] SpriteBatch, made fields private. Added convenience method draw(texture, x, y), also added to SpriteCache.
[changed] Sprite to derive from TextureRegion. Slightly cleaner because TextureRegion#flip modifies the Sprite position.
[changed] Sprite to update the TextureRegion u,v,u2,v2 fields. This isn't that big of a deal, and allows SpriteBatch and other internal classes to avoid the getters without unexpected results.
[changed] TextureAtlas.AtlasSprite to only handle the position offset due to whitespace stripping. This includes flip. Scaling a Sprite that has whitespace removed will not scale the offset. This was done for simplicity and removes some multiplies in setPosition/Bounds. Handle it yourself if needed.
[fixed] getColor in BitmapFont.
[added] getColor to SpriteBatch.
[changed] SpriteCache to handle colors the same way as SpriteBatch.
Still needs javadocs. That is next.
nathan.sweet [Tue, 7 Dec 2010 06:22:08 +0000 (06:22 +0000)]
[changed] FilesTest, added absolute.
badlogicgames [Sun, 5 Dec 2010 19:41:50 +0000 (19:41 +0000)]
nothing really...
badlogicgames [Sun, 5 Dec 2010 19:13:11 +0000 (19:13 +0000)]
[removed] LwjglTestStarter started SpriteCacheOffsetTest by default.
[added] IsometricTileTest to demonstrate that rendering iso tile maps is dead simple...
[added] isotile.png for IsometricTileTest
badlogicgames [Sun, 5 Dec 2010 14:32:52 +0000 (14:32 +0000)]
[added] a couple of examples from the OpenGL 2.0 Programmer's Guide.
nathan.sweet [Sun, 5 Dec 2010 06:08:47 +0000 (06:08 +0000)]
[changed] Renamed Sprite#getTextureRegion to just getRegion.
nathan.sweet [Sun, 5 Dec 2010 05:58:42 +0000 (05:58 +0000)]
[fixed] Flipping a TextureAtlas with the constructor param.
badlogicgames [Sun, 5 Dec 2010 05:29:13 +0000 (05:29 +0000)]
[changed] SpriteBatch uses vertex arrays if SpriteBatch() or SpriteBatch(int size) constructors are used. Tries to use n-buffered VBOs in case of SpriteBatch(int size, int buffers) is used and falls back to VAs if VBOs are not supported. It's funny that the commit comment is ca. 100x longer than the actual code it took to "implement" that. 20 characters...
badlogicgames [Sun, 5 Dec 2010 05:19:43 +0000 (05:19 +0000)]
[fixed] build-win32.xml, for some reason vorbis doesn'T compile anymore. Checking tomorrow. 6:19am, need sleep...
nathan.sweet [Sun, 5 Dec 2010 05:07:39 +0000 (05:07 +0000)]
[fixed] Flipping sprites that come from a TextureAtlas.
badlogicgames [Sun, 5 Dec 2010 05:06:20 +0000 (05:06 +0000)]
[updated] gdx-natives.jar
badlogicgames [Sun, 5 Dec 2010 05:00:59 +0000 (05:00 +0000)]
[changed] hudson ant script.
badlogicgames [Sun, 5 Dec 2010 04:58:47 +0000 (04:58 +0000)]
[fixed] build-win64.xml scripts
[fixed] Version loads gdx-64.dll on Winblows now.
nathan.sweet [Sun, 5 Dec 2010 04:25:28 +0000 (04:25 +0000)]
[changed] SpriteSheet to TextureAtlas and completed texture region / sprite refactoring (except javadocs).
badlogicgames [Sun, 5 Dec 2010 02:06:38 +0000 (02:06 +0000)]
[added] gdx-64.dll to be included in gdx-natives.jar in ant script
badlogicgames [Sun, 5 Dec 2010 01:57:44 +0000 (01:57 +0000)]
[added] win64 natives, not tested as i build this on a 32-bit machine...
badlogicgames [Sun, 5 Dec 2010 01:54:53 +0000 (01:54 +0000)]
[added] ant scripts for building windows natives. to be adapted for lunix and macosx in a minute. hurray...
badlogicgames [Sat, 4 Dec 2010 01:28:38 +0000 (01:28 +0000)]
[fixed] more referencing in gdx-vectorpinball :p
badlogicgames [Sat, 4 Dec 2010 01:26:36 +0000 (01:26 +0000)]
[fixed] vector pinball references gdx-natives.jar as well now
badlogicgames [Sat, 4 Dec 2010 01:25:46 +0000 (01:25 +0000)]
gahhhh svn
badlogicgames [Sat, 4 Dec 2010 01:23:33 +0000 (01:23 +0000)]
[removed] natives in plain form from demos. encapsulated in gdx-natives.jar now. works on win7 32-bit, linux 32-bit and linux-64bit. should work on mac as well, can't test though
badlogicgames [Sat, 4 Dec 2010 01:11:42 +0000 (01:11 +0000)]
[added] gdx-natives.jar included in nightlies now
badlogicgames [Sat, 4 Dec 2010 01:07:09 +0000 (01:07 +0000)]
[fixed] minor thingy
badlogicgames [Sat, 4 Dec 2010 01:06:34 +0000 (01:06 +0000)]
[fixed] README
badlogicgames [Sat, 4 Dec 2010 00:31:40 +0000 (00:31 +0000)]
[fixed] rtm uses gdx-natives now
badlogicgames [Sat, 4 Dec 2010 00:06:35 +0000 (00:06 +0000)]
[added] gdx-natives.jar as a dependency to gdx-tests-jogl and gdx-tests-lwjgl
badlogicgames [Sat, 4 Dec 2010 00:05:53 +0000 (00:05 +0000)]
[changed] Version.loadLibraries() will now first try to find the gdx natives in the classpath. If you added gdx-natives.jar as a dependency you are all set. Fallback will try to load it from the library path (on Android that's the default).
badlogicgames [Fri, 3 Dec 2010 23:42:32 +0000 (23:42 +0000)]
[added] gdx-natives.jar to dependencies project. include this and you won't have to specify the library path.
nathan.sweet [Fri, 3 Dec 2010 23:30:50 +0000 (23:30 +0000)]
[fixed] SpriteBatch not setting maxSpritesInBatch.
badlogicgames [Fri, 3 Dec 2010 22:55:40 +0000 (22:55 +0000)]
[changed] dist ant script to include mac binaries.
badlogicgames [Fri, 3 Dec 2010 22:55:13 +0000 (22:55 +0000)]
[changed] Hudson ant script to include mac binaries. Thanks Silvergate!
badlogicgames [Fri, 3 Dec 2010 22:53:21 +0000 (22:53 +0000)]
[added] and now the actualy MacOS binary...
badlogicgames [Fri, 3 Dec 2010 22:47:29 +0000 (22:47 +0000)]
[added] Mac natives. Thanks Simon! (Pirato if you read this get in touch with me :p).
nathan.sweet [Fri, 3 Dec 2010 12:46:06 +0000 (12:46 +0000)]
[added] Texture#setWrap.
[added] Bunch of functionality to TextureRegion.
[changed] Sprite, BitmapFont to use TextureRegion. Moved Sprite texture manipulating methods into TextureRegion. This is an API breaking change!
[changed] FileHandle, better exception trying to read/write a directory.
[added] getColor to BitmapFont.
[fixed] Sprite#rotate90.
[fixed] SpriteBatch draw method, javadocs were wrong and params were int when should be float.
[added] SpriteBatch and SpriteCache draw methods for TextureRegion.
[added] A packed font to SpriteSheetTest.
[added] Missing tiles.png from LWJGL backend.
Note: A few more refactoring items still remain: SpriteSheet is currently broken! TextureAtlas dies and SpriteSheet becomes TextureAtlas. TextureAtlas needs to provide Sprites that respect offset for proper position of whitespace stripped regions. SpriteSheetPacker becomes TexturePacker.
badlogicgames [Fri, 3 Dec 2010 12:20:05 +0000 (12:20 +0000)]
[changed] added Cylabs suggestion to handle jawt.dll loading with a property as well.
badlogicgames [Fri, 3 Dec 2010 05:12:52 +0000 (05:12 +0000)]
[changed] random tiles are used in TileTest now
badlogicgames [Fri, 3 Dec 2010 04:37:20 +0000 (04:37 +0000)]
[fixed] borked stuff in TileTest
badlogicgames [Fri, 3 Dec 2010 04:36:22 +0000 (04:36 +0000)]
[fixed] header in TileTest and a little typo :p
badlogicgames [Fri, 3 Dec 2010 04:33:39 +0000 (04:33 +0000)]
[added] whoops :p actual test
badlogicgames [Fri, 3 Dec 2010 04:31:36 +0000 (04:31 +0000)]
[added] tiles.png from tiled example and TileTest. We are pretty fast.
badlogicgames [Thu, 2 Dec 2010 23:51:33 +0000 (23:51 +0000)]
[removed] some tests (Mpg123Decoder, VorbisTest, FillrateTest)
badlogicgames [Thu, 2 Dec 2010 23:51:12 +0000 (23:51 +0000)]
[added] logging for egl and ogl configs.
badlogicgames [Thu, 2 Dec 2010 23:14:49 +0000 (23:14 +0000)]
[fixed] loading jawt.dll on Windows before anything else in JoglNativesLoader now. Crossing fingers :p (tested on Windows 7)
badlogicgames [Thu, 2 Dec 2010 23:12:02 +0000 (23:12 +0000)]
[added] lwjgl-natives.jar to nightlies. Damn it. Thanks Cylab
badlogicgames [Thu, 2 Dec 2010 03:00:55 +0000 (03:00 +0000)]
[changed] small improvement to Sprite, now with 4 multiplications less in case of rotation...
badlogicgames [Thu, 2 Dec 2010 03:00:22 +0000 (03:00 +0000)]
[added] AtomicQueue by Matthias
badlogicgames [Thu, 2 Dec 2010 02:23:41 +0000 (02:23 +0000)]
[added] a few changes to LifeCycleTest and MultiTouchTest, cosmetics & fps output
badlogicgames [Thu, 2 Dec 2010 02:06:29 +0000 (02:06 +0000)]
[fixed] busy wait in AndroidGraphics.pause()/destroy() magically transformed to something sane! (thanks Nate).
nathan.sweet [Thu, 2 Dec 2010 01:57:33 +0000 (01:57 +0000)]
[fixed] LwjglTexture mipmap quality.
badlogicgames [Wed, 1 Dec 2010 23:17:24 +0000 (23:17 +0000)]
[fixed] some changes to AndroidGraphics.destroy(). Also fixed order of applistener.resume()/render()/pause()/destroy() which is vital to how we do state synching with the UI thread now.
badlogicgames [Wed, 1 Dec 2010 23:08:30 +0000 (23:08 +0000)]
[fixed] synch block in onDrawFrame was way to big. Minimized it down to the minimum. More code but chances that the onPause() event will catch the pause state change are a lot higher (waiting time for thread closing is much smaller).
nathan.sweet [Wed, 1 Dec 2010 07:29:50 +0000 (07:29 +0000)]
[changed] javadoc CSS.
badlogicgames [Tue, 30 Nov 2010 22:29:06 +0000 (22:29 +0000)]
[added] missing natives to vector pinball
badlogicgames [Tue, 30 Nov 2010 22:20:08 +0000 (22:20 +0000)]
[added] Vector pinball port to demos/. Thanks Brian!
badlogicgames [Mon, 29 Nov 2010 23:49:53 +0000 (23:49 +0000)]
[changed] improved ImmediateModeRenderer by a factor of four by using BufferUtils.copy()...
nathan.sweet [Mon, 29 Nov 2010 02:53:26 +0000 (02:53 +0000)]
[fixed] LwjglTexture image loading problem (the buffer was getting expanded differently in two places).
nathan.sweet [Mon, 29 Nov 2010 02:17:14 +0000 (02:17 +0000)]
[added] BitmapFont constructor that takes just a BMFont file. Which image file to load is read from the BMFont file.
nathan.sweet [Mon, 29 Nov 2010 01:39:20 +0000 (01:39 +0000)]
[changed] BitmapFont to provide ascent.
[fixed] TWL font's now render in the correct position.
nathan.sweet [Mon, 29 Nov 2010 01:10:34 +0000 (01:10 +0000)]
[fixed] BitmapFont's wrapped text works much better now.
badlogicgames [Sun, 28 Nov 2010 19:01:11 +0000 (19:01 +0000)]
[updated] ant build script for distribution
[updated] native libs
[updated] demo libs
badlogicgames [Sun, 28 Nov 2010 19:00:05 +0000 (19:00 +0000)]
[fixed] more fun with hudson ant script
badlogicgames [Sun, 28 Nov 2010 18:57:05 +0000 (18:57 +0000)]
[fixed] hudson nightlies now include twl and lwjgl
badlogicgames [Sun, 28 Nov 2010 18:54:43 +0000 (18:54 +0000)]
[added] 64-bit natives for linux to demos
badlogicgames [Sun, 28 Nov 2010 18:51:22 +0000 (18:51 +0000)]
[fixed] gdx-invaders
[updated] libs for all demos
badlogicgames [Sun, 28 Nov 2010 15:16:37 +0000 (15:16 +0000)]
[fixed] hudson ant script, copies androidgl20.so to armeabi-v7a as well now
badlogicgames [Sun, 28 Nov 2010 15:10:58 +0000 (15:10 +0000)]
[removed] Mpg123Decoder from android build
badlogicgames [Sun, 28 Nov 2010 14:27:23 +0000 (14:27 +0000)]
[fixed] Color.toFloatBits() methods. Will half the precision of the alpha channel of 32-bit rgba colors. Nothing i can do about it. Problem is that Java only has a single canonical NaN value. Using Float.intBitsToFloat() will convert any signaling NaN to that canonical value, transforming colors like 0xfeaaeb3c to 0xfeeaeb3c. The fix just masks the 32-bit int via 0xfeffffff before it is passed ot Color.toFloatBits() effectively making it impossible to return canonical NaNs. This of course means that the least significant bit of the alpha component is always 0, so you only have 128 alpha values really :p. Darn Java. Darn FPUs.
nathan.sweet [Sun, 28 Nov 2010 03:47:03 +0000 (03:47 +0000)]
[fixed] TWL libs.
badlogicgames [Sun, 28 Nov 2010 02:13:00 +0000 (02:13 +0000)]
[updated] libgdx-64.so
badlogicgames [Sun, 28 Nov 2010 02:12:35 +0000 (02:12 +0000)]
[updated] libgdx-64.so
badlogicgames [Sun, 28 Nov 2010 01:44:15 +0000 (01:44 +0000)]
[removed] Mpg123 building from Android.mk
badlogicgames [Sun, 28 Nov 2010 01:42:08 +0000 (01:42 +0000)]
[removed] libmpg123 support for the time being.
badlogicgames [Sun, 28 Nov 2010 01:04:39 +0000 (01:04 +0000)]
[removed] mpg123 support for the time being. more trouble than it's worth.
badlogicgames [Sun, 28 Nov 2010 00:22:17 +0000 (00:22 +0000)]
[added] lwjgl and twl extension to ant script. awaiting changes by nate so we use a single twl.jar on android and desktop
[fixed] adding androidgl20.so to armeabi-v7a too now.
[fixed] README updated slightly.
badlogicgames [Sun, 28 Nov 2010 00:18:50 +0000 (00:18 +0000)]
[fixed] lwgjl natives will not be loaded from classpath in case the app is run via jnlp or as an applet
badlogicgames [Sat, 27 Nov 2010 16:22:16 +0000 (16:22 +0000)]
[fixed] license headers in extensions projects
[added] license files for code & content in extensions projects
badlogicgames [Sat, 27 Nov 2010 16:16:19 +0000 (16:16 +0000)]
[added] license file to core
badlogicgames [Sat, 27 Nov 2010 16:14:32 +0000 (16:14 +0000)]
[fixed] demo license headers and content license.
badlogicgames [Sat, 27 Nov 2010 16:04:19 +0000 (16:04 +0000)]
[added] CC license to backend test projects
badlogicgames [Sat, 27 Nov 2010 15:53:06 +0000 (15:53 +0000)]
[fixed] license headers in test projects
badlogicgames [Sat, 27 Nov 2010 15:42:49 +0000 (15:42 +0000)]
[added] apache 2 license file to backends
badlogicgames [Sat, 27 Nov 2010 15:40:56 +0000 (15:40 +0000)]
[fixed] license headers in lwjgl backend
badlogicgames [Sat, 27 Nov 2010 15:38:49 +0000 (15:38 +0000)]
[fixed] license headers for jogl backend
badlogicgames [Sat, 27 Nov 2010 15:35:33 +0000 (15:35 +0000)]
[fixed] license headers in android backend
badlogicgames [Sat, 27 Nov 2010 13:40:02 +0000 (13:40 +0000)]
[fixed] license headers everywhere
[fixed] all scene2d classes have public or protected members/methods. No more private as those are meant to be overwritten/derived from.
nathan.sweet [Sat, 27 Nov 2010 10:56:24 +0000 (10:56 +0000)]
[changed] ParticleEditor, moved text display.
nathan.sweet [Sat, 27 Nov 2010 10:47:15 +0000 (10:47 +0000)]
[added] Bag and array classes for int, long, float.
[changed] Hash map classes for int, long.
nathan.sweet [Sat, 27 Nov 2010 09:06:21 +0000 (09:06 +0000)]
[fixed] Demos broken by some API changes.
nathan.sweet [Sat, 27 Nov 2010 08:32:31 +0000 (08:32 +0000)]
[removed] Mario's aids.
nathan.sweet [Sat, 27 Nov 2010 02:51:19 +0000 (02:51 +0000)]
[changed] More BitmapFont refactoring. It is getting very nice now!
nathan.sweet [Fri, 26 Nov 2010 07:46:33 +0000 (07:46 +0000)]
[changed] BitmapFont to use cap height as origin rather than baseline. Named methods better. Added method to get text bounds.
[added] BitmapFontAlignmentTest.
nathan.sweet [Thu, 25 Nov 2010 08:39:21 +0000 (08:39 +0000)]
nathan.sweet [Thu, 25 Nov 2010 02:40:31 +0000 (02:40 +0000)]
[change] Core build script to include LWJGL backend.
[added] Build script to make extension JARs.
nathan.sweet [Thu, 25 Nov 2010 01:09:44 +0000 (01:09 +0000)]
[added] setEforcePotImages to LwjglGraphics so it can be turned of when using the ParticleEditor. The particle editor uses loose, probably non-POT images that are loaded from a SpriteSheet in game code.
nathan.sweet [Wed, 24 Nov 2010 23:35:05 +0000 (23:35 +0000)]
[changed] SpriteBatch, slightly relaxed size restrictions on redefining a cache.
nathan.sweet [Wed, 24 Nov 2010 23:18:55 +0000 (23:18 +0000)]
[changed] SpriteCache to support not using indexed geometry.
[added] toString to Color.