OSDN Git Service
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.
christoph.widulle [Sun, 14 Nov 2010 21:36:57 +0000 (21:36 +0000)]
[changed] added final when usefull
christoph.widulle [Sun, 14 Nov 2010 21:35:15 +0000 (21:35 +0000)]
[added] added other contructor options
christoph.widulle [Sun, 14 Nov 2010 19:48:29 +0000 (19:48 +0000)]
[changed] made AndroidFiles suitable to be inherited
badlogicgames [Sun, 14 Nov 2010 18:51:55 +0000 (18:51 +0000)]
[changed] VBOVATEst to also test indexed geometry. It
badlogicgames [Sun, 14 Nov 2010 18:50:55 +0000 (18:50 +0000)]
[added] IndexBufferObjectSubData, same as VertexBufferObjectSubData
badlogicgames [Sun, 14 Nov 2010 15:49:10 +0000 (15:49 +0000)]
[added] VBOVATest, testing static and dynamic VBOs/VAs.
badlogicgames [Sun, 14 Nov 2010 15:44:07 +0000 (15:44 +0000)]
[added] VertexBufferObjectSubData class that uses glBufferSubData instead of glBufferData. Works faster on the Droid.
badlogicgames [Sun, 14 Nov 2010 11:34:23 +0000 (11:34 +0000)]
[fixed?] AndroidGraphics.drawFrame() had a synch on the Gdx.input instance. I have no idea why that was in there as Input.processEvents() contains such a synch internally. Might be a cause for the hangs while a game runs as that is the only place where we synch with the UI thread. Pause/Resume/Destroy are a different story.
nathan.sweet [Sun, 14 Nov 2010 11:03:45 +0000 (11:03 +0000)]
[changed] Minor stuff.
badlogicgames [Sun, 14 Nov 2010 10:56:41 +0000 (10:56 +0000)]
[fixed] setVertices bound the VA. wtf?
badlogicgames [Sun, 14 Nov 2010 10:45:26 +0000 (10:45 +0000)]
[fixed] issue 61. Thanks lefthand
badlogicgames [Sun, 14 Nov 2010 00:02:56 +0000 (00:02 +0000)]
[fixed] nasty foreach in AndroidInput. Thanks lefthand
nathan.sweet [Sat, 13 Nov 2010 22:47:17 +0000 (22:47 +0000)]
[fixed] Reloading TextureData on Android.
nathan.sweet [Sat, 13 Nov 2010 22:34:38 +0000 (22:34 +0000)]
[fixed] All warnings. No more checking in warnings or you'll get a severe talking to!
[added] TextureData, for loading custom image data for managed textures.
nathan.sweet [Sat, 13 Nov 2010 21:26:35 +0000 (21:26 +0000)]
[added] OpenAL native to LWJGL.
[removed] newTexture method that takes a ByteBuffer. It's all going away anyway.
nathan.sweet [Sat, 13 Nov 2010 21:00:14 +0000 (21:00 +0000)]
[fixed] Canvas sizing too small.
badlogicgames [Sat, 13 Nov 2010 12:40:32 +0000 (12:40 +0000)]
[applied] patch from issue 59 to LwjglMusic
[added] loading of openal to lwjgl backend
[changed] natives now get extracted to tmp directory.
badlogicgames [Sat, 13 Nov 2010 12:37:42 +0000 (12:37 +0000)]
[applied] patch from issue 59. will merge with LwjglMusic
christoph.widulle [Sat, 13 Nov 2010 01:40:34 +0000 (01:40 +0000)]
[changed] leading "/" in resourcePath is optional now
badlogicgames [Fri, 12 Nov 2010 10:59:45 +0000 (10:59 +0000)]
[changed] BitmapFontTest uses origin upper left corner coordinate system...
badlogicgames [Wed, 10 Nov 2010 12:26:30 +0000 (12:26 +0000)]
[added] shotgun.wav, fuck you subclipse...
badlogicgames [Wed, 10 Nov 2010 12:25:28 +0000 (12:25 +0000)]
[fixed] SoundPool.play(volume) on Android. Updated normalized shotgun.wav in all projects
christoph.widulle [Tue, 9 Nov 2010 21:06:21 +0000 (21:06 +0000)]
[changed] Mesh in SpriteBatch changed from privat -> protected
badlogicgames [Tue, 9 Nov 2010 20:38:53 +0000 (20:38 +0000)]
[fixed] catching Throwables now in XXXAudio on desktop. You never know...
badlogicgames [Tue, 9 Nov 2010 20:36:15 +0000 (20:36 +0000)]
[fixed] issue 54 (sort off). Checking for null pointers in XXXAudio.dispose() now. Will happen if no audio device is installed. XXXMusic will still crap out though. Just catch the GdxRuntimeException.
badlogicgames [Tue, 9 Nov 2010 02:52:57 +0000 (02:52 +0000)]
[fixed] bug in AndroidInput. added wrong keycode to keys map. Total fuck up o_O
badlogicgames [Tue, 9 Nov 2010 02:51:27 +0000 (02:51 +0000)]
[changed] rtm projects classpath points to gdx and gdx-backend-xxx for testing
badlogicgames [Tue, 9 Nov 2010 01:34:10 +0000 (01:34 +0000)]
[added] support for all gl mipmap filters to TextureFilter.
badlogicgames [Tue, 9 Nov 2010 00:37:45 +0000 (00:37 +0000)]
[removed] layout xml file.
badlogicgames [Mon, 8 Nov 2010 10:20:23 +0000 (10:20 +0000)]
[fixed] added stubs for new Graphics.newTexture() method. NAAATTEEEE! :p
nathan.sweet [Sun, 7 Nov 2010 21:50:40 +0000 (21:50 +0000)]
[fixed] Hiero clipping glyphs if a glyph is larger than the page size.
nathan.sweet [Sun, 7 Nov 2010 21:46:36 +0000 (21:46 +0000)]
[fixed] Hiero not getting bounds right for native rendering.