OSDN Git Service
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.
nathan.sweet [Wed, 24 Nov 2010 08:38:56 +0000 (08:38 +0000)]
[fixed] SpriteCache using the wrong vertex count.
nathan.sweet [Wed, 24 Nov 2010 06:54:54 +0000 (06:54 +0000)]
[fixed] Clear screen for SpriteCacheOffsetTest.
nathan.sweet [Wed, 24 Nov 2010 05:42:36 +0000 (05:42 +0000)]
[added] SpriteCacheOffsetTest.
nathan.sweet [Tue, 23 Nov 2010 18:15:11 +0000 (18:15 +0000)]
[fixed] draw(handle, offset, length) in SpriteCache.
nathan.sweet [Tue, 23 Nov 2010 17:45:11 +0000 (17:45 +0000)]
[added] draw(handle, offset, length) to SpriteCache.
nathan.sweet [Tue, 23 Nov 2010 08:45:39 +0000 (08:45 +0000)]
[fixed] Using BitmapFont with Sprite.
[added] Ability to redefine a cache with SpriteCache.
davedx [Mon, 22 Nov 2010 11:24:01 +0000 (11:24 +0000)]
[re-added] .trn methods to add translation component to matrix. Very useful, please don't remove! :)
nathan.sweet [Mon, 22 Nov 2010 02:55:20 +0000 (02:55 +0000)]
[changed] BitmapFont to be backed by a Sprite and not a Texture, so packed fonts are possible.
[changed] Eclipse project source dirs to exclude **/.svn/*.
[fixed] SpriteSheetTest.
nathan.sweet [Sun, 21 Nov 2010 11:41:38 +0000 (11:41 +0000)]
[fixed] SpriteSheet flipping for rotated packed images.
nathan.sweet [Sun, 21 Nov 2010 06:27:17 +0000 (06:27 +0000)]
[fixed] SpriteSheet/SpriteSheetPacker bugs.
[changed] ParticleEmitter to take Sprite rather than Texture.
[added] Sprite copy constructor.
[fixed] Sprite scale bug.
badlogicgames [Sat, 20 Nov 2010 13:22:41 +0000 (13:22 +0000)]
[added] Application.getJavaHeap()/getNativeHeap().
badlogicgames [Sat, 20 Nov 2010 01:17:53 +0000 (01:17 +0000)]
[updated] mesh test to test indexed rendering.
badlogicgames [Sat, 20 Nov 2010 01:02:34 +0000 (01:02 +0000)]
[fixed] bug in Mesh, affected indexed rendering with offsetting. doh.
davedx [Fri, 19 Nov 2010 15:09:11 +0000 (15:09 +0000)]
Added scene3d folder (test commit really)
badlogicgames [Fri, 19 Nov 2010 01:50:02 +0000 (01:50 +0000)]
[fixed] readme, as reported in issue 64
badlogicgames [Fri, 19 Nov 2010 01:32:47 +0000 (01:32 +0000)]
[fixed] issue 67, javadoc of Pool class.
christoph.widulle [Fri, 19 Nov 2010 01:16:28 +0000 (01:16 +0000)]
[change] minor internal change: SpriteBatch#renderMesh, private -> protected
christoph.widulle [Fri, 19 Nov 2010 01:16:00 +0000 (01:16 +0000)]
[change] added final when useful
nathan.sweet [Thu, 18 Nov 2010 23:21:06 +0000 (23:21 +0000)]
[changed] SpriteSheetPacker to support texture filters, settings, default filtering and format.
nathan.sweet [Thu, 18 Nov 2010 11:21:23 +0000 (11:21 +0000)]
[added] Command line args to SpriteSheetPacker.
badlogicgames [Thu, 18 Nov 2010 11:04:12 +0000 (11:04 +0000)]
[added] get/setUserData() to Fixture
nathan.sweet [Thu, 18 Nov 2010 10:43:39 +0000 (10:43 +0000)]
[added] Sprite#rotate90.
[changed] Added checks to avoid math in Sprite#getVertices.
[added] Ability for SpriteSheetPacker/SpriteSheet to rotate images to fit. Added rotated image to SpriteSheetTest.
[changed] SpriteSheetPacker file format.
[fixed] PartileEmitter image loading.
nathan.sweet [Thu, 18 Nov 2010 07:36:52 +0000 (07:36 +0000)]
[fixed] Removed input synchronization.
[fixed] Files bugs, added more tests.
badlogicgames [Thu, 18 Nov 2010 03:47:42 +0000 (03:47 +0000)]
[added] Mesh.forceVBO for benchmarking to force VBO creation in SpriteBatch etc.
[added] SpriteBatch.maxSpritesInBatch, keeps track of the maximum number of sprites rendered in one batch so far. Useful to figure out the optimal size of the SpriteBatch (and maybe the number of buffers as well)
badlogicgames [Thu, 18 Nov 2010 03:09:08 +0000 (03:09 +0000)]
1000th COMMIT! FIRST! LOLZ! ROFLCOPTER!
badlogicgames [Thu, 18 Nov 2010 03:02:32 +0000 (03:02 +0000)]
[added] "unnecessary" synchronize blocks in touch handlers.
badlogicgames [Thu, 18 Nov 2010 02:39:43 +0000 (02:39 +0000)]
[added] SpriteBatch can do n-buffering now for low sprites/batch ratios.
christoph.widulle [Thu, 18 Nov 2010 02:22:44 +0000 (02:22 +0000)]
[fix] getScreenToWorldX and getScreenToWorldY return wrong translation if screensize != viewport
badlogicgames [Wed, 17 Nov 2010 22:55:47 +0000 (22:55 +0000)]
[changed] added VBO SpriteBatch. Uses VA otherwise.
badlogicgames [Wed, 17 Nov 2010 22:38:15 +0000 (22:38 +0000)]
[added] SpritePerformanceTest
nathan.sweet [Wed, 17 Nov 2010 22:10:40 +0000 (22:10 +0000)]
Changed internal for the desktop to look in the classpath if not found on the filesystem. This enables JWS and applets.
badlogicgames [Wed, 17 Nov 2010 13:14:56 +0000 (13:14 +0000)]
[removed] ImageIO from PixmapBlendingTest
badlogicgames [Wed, 17 Nov 2010 13:12:57 +0000 (13:12 +0000)]
[renamed] PixmapBlendingTest
badlogicgames [Wed, 17 Nov 2010 13:10:58 +0000 (13:10 +0000)]
[fixed] JoglPixmap compositing now works like LwjglCompositing...
[added] PixmapBlendingTest
nathan.sweet [Wed, 17 Nov 2010 11:05:29 +0000 (11:05 +0000)]
[added] FileHandle.FileType.Classpath so that Internal is not overloaded.
[fixed] A bunch of file related bugs.
badlogicgames [Wed, 17 Nov 2010 09:44:27 +0000 (09:44 +0000)]
[fixed] rtm file handling.
badlogicgames [Wed, 17 Nov 2010 09:38:43 +0000 (09:38 +0000)]
[fixed] minor javadoc update.
nathan.sweet [Wed, 17 Nov 2010 06:28:53 +0000 (06:28 +0000)]
[added] SpriteSheetPacker, SpriteSheet, and SpriteSheetTest.
nathan.sweet [Wed, 17 Nov 2010 05:55:19 +0000 (05:55 +0000)]
[changed] Forgot to update JOGL with the files changes.
nathan.sweet [Wed, 17 Nov 2010 05:41:46 +0000 (05:41 +0000)]
[changed] Everything about files!
[changed] BitmapFontTest back to using y-up coords. There is a BitmapFontFlippedTest for a reason!
badlogicgames [Tue, 16 Nov 2010 15:53:48 +0000 (15:53 +0000)]
[fixed] AndroidFileHandle badlogicgames.com/forum/viewtopic.php?f=11&t=113&p=613#p613
[added] Files.getExternalStoragePath() and Files.isExternalStoragetPathAvailable()
[added] FilesTest
nathan.sweet [Tue, 16 Nov 2010 11:21:48 +0000 (11:21 +0000)]
[removed] Unnecessary synchronize blocks in touch handlers.
badlogicgames [Tue, 16 Nov 2010 10:58:48 +0000 (10:58 +0000)]
[fixed] if InputProcessor sets Input.setInputProcessor(null) in one of the InputProcessor methods we get a nullpointer exception. Thanks Lefthand!
badlogicgames [Tue, 16 Nov 2010 10:53:48 +0000 (10:53 +0000)]
[applied] patch from issue 63, adds actor swapping support. Thanks a bunch Lefthand!
nathan.sweet [Tue, 16 Nov 2010 03:00:59 +0000 (03:00 +0000)]
[removed] Unnecessary synchronize blocks in touch handlers.
[changed] SpriteBatch handles to int, simplified the class, added javadocs.
badlogicgames [Mon, 15 Nov 2010 21:36:01 +0000 (21:36 +0000)]
[fixed] warning in Application.
badlogicgames [Mon, 15 Nov 2010 21:34:22 +0000 (21:34 +0000)]
WARNING!!! Input and InputProcessor HAVE CHANGED! No more Input.processEvents(). You have to register an InputProcessor via Input.setInputProcessor(processor)! It will be called before each Application.render() call!#
[fixed] changing API back to input listener concept. You can only register one listener at a time. Use InputMultiplexer if you want to have more. See documentation of Input and InputProcessor for more info or check out the tests in tests/gdx-tests/
christoph.widulle [Mon, 15 Nov 2010 19:49:56 +0000 (19:49 +0000)]
[removed] removed empty folders
badlogicgames [Mon, 15 Nov 2010 18:11:03 +0000 (18:11 +0000)]
[fixed] LwjglGL11.glBufferData would not reseve memory for vbos in case data was null.
badlogicgames [Mon, 15 Nov 2010 11:44:54 +0000 (11:44 +0000)]
[fixed] Group.toChildCoordinates, issue 62. Thanks lefthand
badlogicgames [Mon, 15 Nov 2010 10:49:27 +0000 (10:49 +0000)]
[reverted] changes in onresume behaviour.
badlogicgames [Mon, 15 Nov 2010 10:35:33 +0000 (10:35 +0000)]
[experimental] resume in AndroidGraphics.surfaceCreated(). Let's see how that sucker works out.
badlogicgames [Mon, 15 Nov 2010 10:27:30 +0000 (10:27 +0000)]
[added] MyFirstTriangle test.
nathan.sweet [Mon, 15 Nov 2010 08:47:48 +0000 (08:47 +0000)]
nathan.sweet [Mon, 15 Nov 2010 04:29:14 +0000 (04:29 +0000)]
[fixed] Getting num vertices/indices that I fucked up.
[fixed] Flipping ByteBuffers and FloatBuffers so getting num vertices/indices works before setVertices/etc.
[fixed] SpriteCache using wrong VBO offset.
badlogicgames [Mon, 15 Nov 2010 03:39:15 +0000 (03:39 +0000)]
[fixed] all glutils buffer objects now set byteBuffer.limit to buffer.limit if external client messed with FloatBuffer/ShortBuffer. should also take position into account.
[fixed] reset byteBuffer position in VA after rendering is done
nathan.sweet [Mon, 15 Nov 2010 03:03:13 +0000 (03:03 +0000)]
[fixed] SpriteCache to not use autobind. Messes up the test tho!
badlogicgames [Mon, 15 Nov 2010 02:51:38 +0000 (02:51 +0000)]
[added] lockless thread queue. Thanks lefthand!
nathan.sweet [Mon, 15 Nov 2010 02:34:26 +0000 (02:34 +0000)]
[changed] SpriteCacheTest, made slightly more interesting.
[fixed] ParticleEmitterTest, was broken from particle file format change (s to ms).
nathan.sweet [Mon, 15 Nov 2010 02:11:13 +0000 (02:11 +0000)]
[changed] Very slightly more efficient SpriteBatch.
[added] Sprite#getVertices.
[changed] Mesh to use VBOs for static and VAs for dynamic.
[fixed] VertexBufferObject to return correct vertex count before vertices are set.
[added] SpriteCache which uses a VBO mesh to cache static geometry.
badlogicgames [Mon, 15 Nov 2010 01:11:14 +0000 (01:11 +0000)]
[added] Graphics.getPpiX()/getPpiY()/getPpcX()/getPpcY(). Returns pixels per inch/centimeters for each axis.
[fixed] Group.toChildCoordinates() had a sever bug in one of the branches. Thanks Jason!
[added] PixelsPerInch test.
christoph.widulle [Sun, 14 Nov 2010 22:34:03 +0000 (22:34 +0000)]
[changed] minor changes. making classes and member variables public/protected instead of package private. suitable to be extended now.