OSDN Git Service
Dounan Shi [Thu, 2 May 2013 01:41:01 +0000 (18:41 -0700)]
Update pointer1 and pointer2 during touchDragged no matter if pinching or not.
NathanSweet [Wed, 1 May 2013 15:23:22 +0000 (17:23 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Wed, 1 May 2013 15:23:03 +0000 (17:23 +0200)]
1403, ignore freeing objects not obtained.
NathanSweet [Wed, 1 May 2013 15:22:47 +0000 (17:22 +0200)]
Array ctors that take an array now also take offset and count. ArrayMap iterators toArray added.
MobiDevelop [Wed, 1 May 2013 13:31:18 +0000 (06:31 -0700)]
Merge pull request #364 from Yonsh/patch-1
Fixes issue #1408
badlogic [Tue, 30 Apr 2013 17:33:04 +0000 (19:33 +0200)]
more CHANGES
badlogic [Tue, 30 Apr 2013 17:31:25 +0000 (19:31 +0200)]
updated CHANGES file
badlogic [Tue, 30 Apr 2013 17:20:30 +0000 (19:20 +0200)]
updated lwjgl, only tested on mac so far
Justin Shapcott [Sat, 27 Apr 2013 13:25:48 +0000 (06:25 -0700)]
Add HexagonalTiledMapRenderer and associated test
NathanSweet [Fri, 26 Apr 2013 11:15:40 +0000 (13:15 +0200)]
Fixed skin in GWT again.
NathanSweet [Thu, 25 Apr 2013 20:24:06 +0000 (22:24 +0200)]
Merge remote-tracking branch 'origin/master'
Conflicts:
backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/scenes/scene2d/ui/Skin.java
NathanSweet [Thu, 25 Apr 2013 20:22:34 +0000 (22:22 +0200)]
Fixed GWT Skin.
Yonsh [Thu, 25 Apr 2013 20:13:56 +0000 (04:13 +0800)]
Update GwtFileHandle.java
bug fix:
http://badlogicgames.com/forum/viewtopic.php?f=11&t=5831#p39768
badlogic [Thu, 25 Apr 2013 19:14:12 +0000 (21:14 +0200)]
first attempt at fixing JSON in GWT backend...
NathanSweet [Thu, 25 Apr 2013 13:34:08 +0000 (15:34 +0200)]
Fixed round tripping floats.
NathanSweet [Thu, 25 Apr 2013 12:42:47 +0000 (14:42 +0200)]
Minor bug fixes.
NathanSweet [Thu, 25 Apr 2013 12:35:53 +0000 (14:35 +0200)]
Removed unused method.
NathanSweet [Thu, 25 Apr 2013 12:30:13 +0000 (14:30 +0200)]
Better "has no decimal" check.
NathanSweet [Thu, 25 Apr 2013 12:27:04 +0000 (14:27 +0200)]
Double in JsonReader.
NathanSweet [Thu, 25 Apr 2013 12:23:21 +0000 (14:23 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 25 Apr 2013 12:23:12 +0000 (14:23 +0200)]
JSON refactoring for JsonValue.
http://www.badlogicgames.com/wordpress/?p=2993
MobiDevelop [Wed, 24 Apr 2013 21:34:59 +0000 (14:34 -0700)]
Fix GET request missing parameters.
The `url` variable was updated with the parameters but then wasn't used.
NathanSweet [Wed, 24 Apr 2013 11:00:55 +0000 (13:00 +0200)]
Added getItems.
MobiDevelop [Tue, 23 Apr 2013 22:55:01 +0000 (15:55 -0700)]
Merge pull request #362 from SG57/patch-1
Update TiledMapTileSet - get TileSet tiles when TiledMapTile ID is unknown
SG57 [Tue, 23 Apr 2013 22:29:22 +0000 (15:29 -0700)]
Update TiledMapTileSet.java
Made TileSet's Tiles iterable.
SG57 [Tue, 23 Apr 2013 20:14:44 +0000 (13:14 -0700)]
Update TiledMapTileSet.java
Premise:
I am using Tiled Map Editor and giving properties, such as friction, to individual TileSet tiles as a template so that I may lay down 20 'ice' tiles and 20 'road' tiles without having to individually specify their respective properties (friction) for each tile laid as that would get cumbersome.
TileSets support properties for their Tiles, and libgdx allows access to these TileSets, however the TileSet class only allows access to their respective Tiles (and their respective properties) if you know the exact id of said Tile.
Current State:
[*]You may iterate through all the TiledMapTileSets for a given TileMap.
[*]For each TileSet, if you [b]do [/b]know the TiledMapTile's id, you may get TiledMapTile's from the TileSet using TileSet.getId(id).
[*]If you [b]do not [/b]know the id of the TiledMapTile, there is no way to iterate through all of its TiledMapTile's - such is my case since the user may make their own levels and the ids they may use are unknown to me
Nathan Sweet [Sun, 21 Apr 2013 13:10:09 +0000 (06:10 -0700)]
Merge pull request #360 from aspic/master
Fix for issue #1397
Kjetil Mehl [Sun, 21 Apr 2013 12:24:35 +0000 (14:24 +0200)]
Only update displayed text for password characters if password mode is
enabled.
Kjetil Mehl [Sun, 21 Apr 2013 12:15:56 +0000 (14:15 +0200)]
Update display text immediately after password character or password
mode has been enabled (issue 1397).
MobiDevelop [Sat, 20 Apr 2013 16:31:33 +0000 (09:31 -0700)]
Merge pull request #359 from siondream/master
Fixes issue #1395
David Saltares [Sat, 20 Apr 2013 14:42:29 +0000 (15:42 +0100)]
Fixes issue #1395
Justin Shapcott [Fri, 19 Apr 2013 21:30:50 +0000 (14:30 -0700)]
Fix javadoc for ellipse
Justin Shapcott [Fri, 19 Apr 2013 21:27:40 +0000 (14:27 -0700)]
Add ellipse rendering to ShapeRenderer
Mario Zechner [Fri, 19 Apr 2013 15:55:45 +0000 (08:55 -0700)]
Merge pull request #349 from aspic/decal-color
Added convenient setColor methods for decal.
Mario Zechner [Fri, 19 Apr 2013 15:55:10 +0000 (08:55 -0700)]
Merge pull request #355 from semtiko/patch-1
Fixed Live Wallpaper touch events
NathanSweet [Thu, 18 Apr 2013 12:57:20 +0000 (14:57 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 18 Apr 2013 12:57:13 +0000 (14:57 +0200)]
useIndexes setting.
Mario Zechner [Thu, 18 Apr 2013 12:20:24 +0000 (05:20 -0700)]
Merge pull request #354 from seroperson/master
Box2DDebugRenderer - correct color for contacts, some small changes
Justin Shapcott [Wed, 17 Apr 2013 15:22:46 +0000 (08:22 -0700)]
Add DataOutput to gdx.gwt.xml
MobiDevelop [Wed, 17 Apr 2013 14:52:29 +0000 (07:52 -0700)]
Merge pull request #357 from Microbius/master
Little fix on load() in TmxMapLoader
Microbius [Wed, 17 Apr 2013 14:22:44 +0000 (17:22 +0300)]
Little fix on loading TiledMap
seroperson [Tue, 16 Apr 2013 22:04:01 +0000 (01:04 +0300)]
flag for contacts
NathanSweet [Tue, 16 Apr 2013 09:20:01 +0000 (11:20 +0200)]
Doubled accuracy of MathUtils cos/sin at cost of one addition for cosine.
Alex Vega [Tue, 16 Apr 2013 09:00:23 +0000 (13:00 +0400)]
Fixed Live Wallpaper touch events on older API
NathanSweet [Tue, 16 Apr 2013 04:58:57 +0000 (06:58 +0200)]
Use update(false) since we call processMessages().
seroperson [Mon, 15 Apr 2013 21:46:55 +0000 (00:46 +0300)]
color for contacts, some others changes
NathanSweet [Mon, 15 Apr 2013 17:11:28 +0000 (19:11 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Mon, 15 Apr 2013 17:11:06 +0000 (19:11 +0200)]
Fixed JSON parsing that I broke...
Justin Shapcott [Mon, 15 Apr 2013 16:17:12 +0000 (09:17 -0700)]
Add TextureFilter to parameters for TmxMapLoader.
Mario Zechner [Mon, 15 Apr 2013 16:26:11 +0000 (09:26 -0700)]
Merge pull request #351 from seroperson/master
remove the use of deprecated #mul()
seroperson [Mon, 15 Apr 2013 16:00:25 +0000 (19:00 +0300)]
remove the use of deprecated #mul()
NathanSweet [Mon, 15 Apr 2013 13:31:22 +0000 (15:31 +0200)]
JSOn changes
Kjetil Mehl [Mon, 15 Apr 2013 13:31:09 +0000 (15:31 +0200)]
Removed auto-imports. Added setColor docs for Sprite and Decal.
NathanSweet [Mon, 15 Apr 2013 13:30:24 +0000 (15:30 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Mon, 15 Apr 2013 13:30:16 +0000 (15:30 +0200)]
1381, fixed Json round trip of longs.
Mario Zechner [Mon, 15 Apr 2013 13:13:06 +0000 (06:13 -0700)]
Merge pull request #346 from frustaci/patch-1
Fixed forceVBO in Mesh
Mario Zechner [Mon, 15 Apr 2013 13:11:36 +0000 (06:11 -0700)]
Merge pull request #344 from semtiko/patch-1
Fixed Live Wallpaper crash on Android 2.2
Kjetil Mehl [Mon, 15 Apr 2013 13:01:10 +0000 (15:01 +0200)]
Added convenient setColor methods for decal.
frustaci [Mon, 15 Apr 2013 03:22:17 +0000 (00:22 -0300)]
forceVBO in Mesh
At least one recent commit https://github.com/libgdx/libgdx/commit/
7020231ca8b1e14995d398603de525581e3d1282 has completely disabled VBO support in the SpriteBatch class for not so clear reasons.
My project uses GL20 for now only and I would like to use/test VBOs, so at least there's a way to bring back VBOs in spritebatch by using the forceVBO flag.
If someone could clarify why SpriteBatch was changed I would appreciate as well.
NathanSweet [Sun, 14 Apr 2013 05:54:24 +0000 (07:54 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Sun, 14 Apr 2013 05:54:12 +0000 (07:54 +0200)]
Added premultipliedAlpha setting.
NathanSweet [Sun, 14 Apr 2013 05:53:58 +0000 (07:53 +0200)]
Fixed when root directory is blank.
Alex Vega [Sat, 13 Apr 2013 18:34:11 +0000 (22:34 +0400)]
Fixed Live Wallpaper crash on Android 2.2
Maybe not only on 2.2, but i have 2 "engines" on HTC Hero with 2.2.1 and have a crash because view is not initialized, because can't be initialized if have more than 1 engine (see line 331).
So, i think it's just typo.
badlogic [Fri, 12 Apr 2013 22:18:47 +0000 (00:18 +0200)]
added #getVolume() to OpenALMusic...
Mario Zechner [Fri, 12 Apr 2013 20:32:50 +0000 (13:32 -0700)]
Merge pull request #339 from fivevsthree/master
Added getVolume to Music
Nathan Sweet [Fri, 12 Apr 2013 19:36:40 +0000 (12:36 -0700)]
Merge pull request #341 from frustaci/patch-1
Update ParticleEmitterBox2D.java
frustaci [Fri, 12 Apr 2013 13:29:07 +0000 (10:29 -0300)]
Update ParticleEmitterBox2D.java
The particleCollided check is just plain wrong and is making the whole particleemitter to react to the collisions happening instead of the single particle that collided.
NathanSweet [Thu, 11 Apr 2013 05:16:43 +0000 (07:16 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 11 Apr 2013 05:15:46 +0000 (07:15 +0200)]
Better fix for issue 1345.
NathanSweet [Thu, 11 Apr 2013 05:15:32 +0000 (07:15 +0200)]
Added boolean to turn off float color mask.
Steven Plude [Tue, 9 Apr 2013 16:37:14 +0000 (12:37 -0400)]
Updated CHANGES file
Steven Plude [Tue, 9 Apr 2013 15:56:55 +0000 (11:56 -0400)]
IOS and GWT backends use volume field
Steven Plude [Tue, 9 Apr 2013 14:59:54 +0000 (10:59 -0400)]
Added getVolume to Music
MobiDevelop [Mon, 8 Apr 2013 23:16:35 +0000 (16:16 -0700)]
Merge pull request #333 from kreymerman/gwt_theme
Changed default Gwt theme to edited Chrome theme with gwt-prefixed css classes only
Justin Shapcott [Mon, 8 Apr 2013 22:32:52 +0000 (15:32 -0700)]
Sync GWT emulation to changes in core.
NathanSweet [Mon, 8 Apr 2013 06:17:36 +0000 (08:17 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Mon, 8 Apr 2013 06:17:22 +0000 (08:17 +0200)]
Fixed OSX crash on 10.7.* when window is resized.
See JGLFW for other half of fix!
MobiDevelop [Mon, 8 Apr 2013 02:00:54 +0000 (19:00 -0700)]
Merge pull request #338 from jblambe/master
TMX Loader: Raise exceptions for unsupported formats
John Bernard Lambe [Sun, 7 Apr 2013 19:09:28 +0000 (20:09 +0100)]
Added error messages for unsupported formats:
Previously a NullPointerException was thrown if the 'map/layer/data' tag had no 'encoding' attribute.
No 'encoding' attribute means that XML encoding is used, and this is not supported by the loader.
I also added a different exception for when there is an 'encoding' value that the loader does not recognise (for future encodings).
I also added a minor comment.
Nathan Sweet [Sun, 7 Apr 2013 13:39:17 +0000 (06:39 -0700)]
Merge pull request #337 from TimeToPlay/feature
Issue #1376 Solution for ParticleEditor keyboard events handler.
TimeToPlay [Sun, 7 Apr 2013 09:58:39 +0000 (12:58 +0300)]
Issue #1376 Solution for ParticleEditor keyboard events handler.
NathanSweet [Sun, 7 Apr 2013 02:13:45 +0000 (04:13 +0200)]
Set default target FPS to 61.
Seems some drivers don't use vsync in windowed mode, so run flat out. This shouldn't hurt anything when vsync is working properly.
NathanSweet [Sun, 7 Apr 2013 02:12:20 +0000 (04:12 +0200)]
Fire an event on touchUp even if the value didn't change, so listeners can see when a drag ends via isDragging.
NathanSweet [Sun, 7 Apr 2013 00:11:26 +0000 (02:11 +0200)]
Fixed scrollpane padding.
NathanSweet [Sat, 6 Apr 2013 19:23:09 +0000 (21:23 +0200)]
Fixed list pref width.
NathanSweet [Sat, 6 Apr 2013 12:25:12 +0000 (14:25 +0200)]
Added time scale action.
NathanSweet [Sat, 6 Apr 2013 12:15:23 +0000 (14:15 +0200)]
1345, fixed primitive wrapper generic types.
NathanSweet [Sat, 6 Apr 2013 12:02:45 +0000 (14:02 +0200)]
Guard against nested iterator usage by throwing an exception. Issue 1361.
NathanSweet [Sat, 6 Apr 2013 11:16:19 +0000 (13:16 +0200)]
Another try at fixing applets.
NathanSweet [Fri, 5 Apr 2013 18:52:05 +0000 (20:52 +0200)]
#1290, native libs with applets.
NathanSweet [Fri, 5 Apr 2013 18:43:10 +0000 (20:43 +0200)]
#1357, fixed table getRow();
NathanSweet [Fri, 5 Apr 2013 18:12:36 +0000 (20:12 +0200)]
http://youtu.be/Ay9BWM8lwOA
NathanSweet [Fri, 5 Apr 2013 18:09:08 +0000 (20:09 +0200)]
Issue #1353, internal getters and setters.
Getters/setters were used internally for x, y, width, height, scalex, scaley and rotation to facilitate notification when those properties are retrieved or set. Turns out overriding these isn't really very useful, so we decided not to use the getters and setters internally. Other properties that might be useful to override were left alone, such as isVisible, setStage, setParent, etc.
Also, think of all zee performancez gained!
NathanSweet [Fri, 5 Apr 2013 17:38:25 +0000 (19:38 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Fri, 5 Apr 2013 17:37:19 +0000 (19:37 +0200)]
Detected usage of nested iterator() and throw exception.
NathanSweet [Fri, 5 Apr 2013 17:32:00 +0000 (19:32 +0200)]
Remove obsolete setWidget call.
NathanSweet [Fri, 5 Apr 2013 17:31:47 +0000 (19:31 +0200)]
Fire change event in setItems.
NathanSweet [Fri, 5 Apr 2013 17:31:36 +0000 (19:31 +0200)]
Close writer.
Justin Shapcott [Fri, 5 Apr 2013 13:58:59 +0000 (06:58 -0700)]
Change HttpParametersUtils emulation.
Instead of emulating HttpParametersUtils, emulate java.net.URLEncoder.
This allows the encoding to be set (amongst the limited options available
in GWT) and provides consistency across backends.
MobiDevelop [Fri, 5 Apr 2013 13:39:27 +0000 (06:39 -0700)]
Fix GwtGraphics.getDensity()
Previous commit changed to a double, which caused a type mismatch with the return type.