OSDN Git Service
NathanSweet [Sun, 19 May 2013 00:40:19 +0000 (02:40 +0200)]
Added click to toggle selection, more firing of selection changed, and methods to get/restore expanded nodes.
NathanSweet [Sun, 19 May 2013 00:39:37 +0000 (02:39 +0200)]
Fixed a couple checkSegments calls.
NathanSweet [Fri, 17 May 2013 04:58:06 +0000 (06:58 +0200)]
Removed javadocs for params that had no actual text.
Reduces noise.
NathanSweet [Fri, 17 May 2013 04:57:24 +0000 (06:57 +0200)]
Merge remote-tracking branch 'origin/master'
Conflicts:
gdx/src/com/badlogic/gdx/graphics/glutils/ShapeRenderer.java
NathanSweet [Fri, 17 May 2013 04:51:52 +0000 (06:51 +0200)]
Finally smoked these deprecated classes.
NathanSweet [Fri, 17 May 2013 04:50:49 +0000 (06:50 +0200)]
Added methods that take offset and count for polyline and polygon.
ShapeRenderer got formatted. Damned messy contributors! :p
Stefan Bachmann [Thu, 16 May 2013 16:33:04 +0000 (17:33 +0100)]
Added two color line drawing to ShapeRenderer.
Mario Zechner [Wed, 15 May 2013 22:46:59 +0000 (15:46 -0700)]
Merge pull request #406 from Maescool/master
Added some extra OUYA mappings
Mario Zechner [Wed, 15 May 2013 22:44:31 +0000 (15:44 -0700)]
Merge pull request #403 from sluglit/master
Add JNI wrappers for Box2d's conveyor belt functions
Gareth [Wed, 15 May 2013 20:18:46 +0000 (22:18 +0200)]
Implement Contact GWT Backend (SetTangentSpeed/GetTangentSpeed methods)
Gareth [Wed, 15 May 2013 18:29:04 +0000 (20:29 +0200)]
Box2d Conveyor tests
Pieter Maes [Wed, 15 May 2013 14:11:00 +0000 (16:11 +0200)]
Added some extra OUYA mappings
Mario Zechner [Tue, 14 May 2013 22:33:32 +0000 (15:33 -0700)]
Merge pull request #401 from semtiko/patch-1
Rectangle, add setSize methods
Gareth [Tue, 14 May 2013 20:01:26 +0000 (22:01 +0200)]
Remove windows extension from ant scripts
Gareth [Tue, 14 May 2013 19:54:32 +0000 (21:54 +0200)]
Merge branch 'master' of https://github.com/sluglit/libgdx.git
Gareth [Tue, 14 May 2013 19:37:10 +0000 (21:37 +0200)]
Added Box2d support for conveyers
Gareth [Tue, 14 May 2013 19:37:10 +0000 (21:37 +0200)]
Merge branch 'master' of https://github.com/sluglit/libgdx.git
Gareth [Tue, 14 May 2013 19:06:33 +0000 (21:06 +0200)]
Added Box2d support for conveyers
NathanSweet [Tue, 14 May 2013 19:15:21 +0000 (21:15 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Tue, 14 May 2013 19:15:08 +0000 (21:15 +0200)]
List selection now width of list, not prefWidth.
NathanSweet [Tue, 14 May 2013 19:14:48 +0000 (21:14 +0200)]
Get methods for transform and projection matrixes, to match SpriteBatch.
Gareth [Tue, 14 May 2013 19:06:33 +0000 (21:06 +0200)]
Added Box2d support for conveyers
Justin Shapcott [Tue, 14 May 2013 12:47:21 +0000 (05:47 -0700)]
Add style to default GWT preloading.
Alex Vega [Tue, 14 May 2013 09:05:26 +0000 (13:05 +0400)]
Rectangle, add setSize methods
For more flexibility
NathanSweet [Mon, 13 May 2013 19:31:16 +0000 (21:31 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Mon, 13 May 2013 19:30:51 +0000 (21:30 +0200)]
Added resourcefiles to build. Fixed hack with hardcoded font files for gdx-core. Put assets files into gdx-tools.jar.
badlogic [Mon, 13 May 2013 09:38:04 +0000 (11:38 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Mon, 13 May 2013 09:37:57 +0000 (11:37 +0200)]
fixed issue 1368, lwjgl can't handle null for data supplied via glBufferData...
badlogic [Mon, 13 May 2013 09:01:28 +0000 (11:01 +0200)]
fixed issue 1426, spritebatch should check size limit, we use shorts for indexing...
badlogic [Mon, 13 May 2013 08:54:08 +0000 (10:54 +0200)]
fixed issue 1434, ImmediateModeRenderer20 didn't handle texture coordinates correctly
Justin Shapcott [Sun, 12 May 2013 21:12:23 +0000 (14:12 -0700)]
Update for AtlasTiledMapLoader name change
Justin Shapcott [Sun, 12 May 2013 21:06:18 +0000 (14:06 -0700)]
Add GWT emulation of AtlasTmxMapLoader
Justin Shapcott [Sun, 12 May 2013 21:05:24 +0000 (14:05 -0700)]
Sync AtlasTmxMapLoader with TmxMapLoader changes
Justin Shapcott [Sun, 12 May 2013 20:58:18 +0000 (13:58 -0700)]
Sync GWT emulation of TmxMapLoader to core changes
Justin Shapcott [Sun, 12 May 2013 20:53:55 +0000 (13:53 -0700)]
Rename AtlasTiledMapLoader to AtlasTmxMapLoader
Since this loader specifically loads .tmx maps it should be named
accordingly. In LibGDX, a TiledMap is not intrinsically tied to the Tiled
application or its tmx format. This name clarifies that the loader
specifically loads tmx files.
MobiDevelop [Sun, 12 May 2013 20:31:26 +0000 (13:31 -0700)]
Merge pull request #396 from manuelbua/gdx-tiled-packer-redux-gles2
Get back the gdx-tiled-preprocessor
Manuel Bua [Sun, 12 May 2013 15:36:22 +0000 (17:36 +0200)]
Update CHANGES
NathanSweet [Sun, 12 May 2013 14:06:04 +0000 (16:06 +0200)]
Fixed JSON parsing of a single non-object, non-array.
Manuel Bua [Sun, 12 May 2013 13:16:48 +0000 (15:16 +0200)]
Avoid duplicate aliases in TexturePacker2
Test resource updated
Manuel Bua [Sun, 12 May 2013 13:01:28 +0000 (15:01 +0200)]
Fix javadoc, avoid use of nested iterator, ensure use alias and indexes
NathanSweet [Sun, 12 May 2013 11:04:17 +0000 (13:04 +0200)]
Javadocs.
NathanSweet [Sat, 11 May 2013 19:59:34 +0000 (21:59 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Sat, 11 May 2013 19:59:22 +0000 (21:59 +0200)]
Cache JsonValue size.
Who calls size() every iteration on 100k elements, anway? :p
Manuel Bua [Sat, 11 May 2013 17:05:55 +0000 (19:05 +0200)]
Merge remote-tracking branch 'upstream/master' into gdx-tiled-packer-redux-gles2
Manuel Bua [Sat, 11 May 2013 16:45:19 +0000 (18:45 +0200)]
Fix NPE due to checking Null parameters
Manuel Bua [Sat, 11 May 2013 16:44:46 +0000 (18:44 +0200)]
Remove Gdx.files dependency by using a custom FileHandleResolver
Update javadocs accordingly.
Now only graphics resources impose the creation of a LwjglApplication: this
is probably subject to change in the future, where loading both maps
metadata and graphics resources should be made conditional.
Manuel Bua [Sat, 11 May 2013 15:42:45 +0000 (17:42 +0200)]
Fixed, effectively set blended tiles
Manuel Bua [Sat, 11 May 2013 14:12:44 +0000 (16:12 +0200)]
Add back the "blended tiles" property
The rendering will introduce blending optimizations at some point.
Justin Shapcott [Fri, 10 May 2013 21:06:17 +0000 (14:06 -0700)]
Change GWT preloader to load assets concurrently.
NathanSweet [Fri, 10 May 2013 12:49:40 +0000 (14:49 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Fri, 10 May 2013 12:49:23 +0000 (14:49 +0200)]
Use listener class name if title is null.
Mario Zechner [Fri, 10 May 2013 08:25:37 +0000 (01:25 -0700)]
Merge pull request #384 from noblemaster/master
iOS Bugfix: playing music files that are not in the assets folder!
Manuel Bua [Thu, 9 May 2013 19:25:11 +0000 (21:25 +0200)]
Do not add "blended tile" property anymore, more javadocs
NathanSweet [Thu, 9 May 2013 16:23:00 +0000 (18:23 +0200)]
ShapreRenderer x method.
I used it all the time.
NathanSweet [Thu, 9 May 2013 12:57:27 +0000 (14:57 +0200)]
Nothing to see here.
NathanSweet [Thu, 9 May 2013 12:00:20 +0000 (14:00 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 9 May 2013 12:00:06 +0000 (14:00 +0200)]
Fixed TextField
(which I broke because I don't test all the things).
Nathan Sweet [Thu, 9 May 2013 11:51:57 +0000 (04:51 -0700)]
Merge pull request #391 from tommycli/master
Make LwjglAWTCanvas clean up its created resources on exit
Tommy C. Li [Thu, 9 May 2013 02:37:39 +0000 (19:37 -0700)]
Run eclipse formatter
Tommy C. Li [Thu, 9 May 2013 02:36:09 +0000 (19:36 -0700)]
Make LwjglAWTCanvas clean up its created resources on exit
NathanSweet [Thu, 9 May 2013 00:27:49 +0000 (02:27 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 9 May 2013 00:27:30 +0000 (02:27 +0200)]
TextField setting to support storing but not displaying chars not in the font.
Manuel Bua [Wed, 8 May 2013 20:52:22 +0000 (22:52 +0200)]
Various fixes
Uses better name for packed tilesets
Update preprocessed test resources.
Do not create a new StaticTiledMapTile if it's of no use
Remove unneeded references
Manuel Bua [Wed, 8 May 2013 20:27:01 +0000 (22:27 +0200)]
Merge remote-tracking branch 'upstream/master' into gdx-tiled-packer-redux-gles2
Nathan Sweet [Wed, 8 May 2013 20:21:08 +0000 (13:21 -0700)]
Merge pull request #390 from manuelbua/fix-reformat
Perform automatic formatting
Manuel Bua [Wed, 8 May 2013 20:16:00 +0000 (22:16 +0200)]
Perform automatic formatting
Got owned by Nate!
Nathan Sweet [Wed, 8 May 2013 20:00:40 +0000 (13:00 -0700)]
Merge pull request #389 from manuelbua/fix-javadoc
Ouch, fix missing javadocs for null parameter
Manuel Bua [Wed, 8 May 2013 19:57:57 +0000 (21:57 +0200)]
Ouch, fix missing javadocs for null parameter
Nathan Sweet [Wed, 8 May 2013 19:46:45 +0000 (12:46 -0700)]
Merge pull request #388 from manuelbua/texturepacker2-addimage
Add support for ImageProcessor to accept BufferedImage objects as input
Manuel Bua [Wed, 8 May 2013 19:28:29 +0000 (21:28 +0200)]
Add support for ImageProcessor to accept BufferedImage objects as input
Update TexturePacker2 to accommodate ImageProcessor changes and exposes new
constructor and method.
Manuel Bua [Wed, 8 May 2013 19:01:17 +0000 (21:01 +0200)]
Merge remote-tracking branch 'upstream/master' into gdx-tiled-packer-redux-gles2
Manuel Bua [Mon, 6 May 2013 20:06:48 +0000 (22:06 +0200)]
Alternative version that builds one single TextureAtlas for all the tiles
across all tilesets, for any processed map instead of splitting the result
into multiple atlases.
Nathan Sweet [Mon, 6 May 2013 18:17:15 +0000 (11:17 -0700)]
Merge pull request #387 from semtiko/patch-1
Stage. Add clear() in dispose()
Alex Vega [Mon, 6 May 2013 18:07:23 +0000 (22:07 +0400)]
Add clear() in dispose()
Without clear() even after "stage = null;" click listeners still work eveb on another screens.
NathanSweet [Sun, 5 May 2013 21:26:57 +0000 (23:26 +0200)]
Fixed texture packer alias names (that I just broke).
NathanSweet [Sun, 5 May 2013 19:31:18 +0000 (21:31 +0200)]
A little clean up for sorting rects by name.
Nathan Sweet [Sun, 5 May 2013 19:26:30 +0000 (12:26 -0700)]
Merge pull request #386 from veger/master
Fix issue 1377, Sort Texture atlas regions by their name
NathanSweet [Sun, 5 May 2013 19:25:42 +0000 (21:25 +0200)]
Changes.
NathanSweet [Sun, 5 May 2013 19:20:59 +0000 (21:20 +0200)]
Refactored parentToLocalCoordinates.
I tested this via GroupTest and it seems to work. Not sure why we were doing two rotations for origin? If there was a good reason I'd like to include a test case in GroupTest. I wrote localToParentCoordinates with only a single rotation, so if we really do need two rotations that would also be broken.
Besides using a single rotation, I removed branching where we only saved a couple subtractions.
NathanSweet [Sun, 5 May 2013 19:13:08 +0000 (21:13 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Sun, 5 May 2013 19:13:00 +0000 (21:13 +0200)]
Wrote a proper localToParentCoordinates without the unscaled, unrotated restriction.
GroupTest is a test for it.
Manuel Bua [Sun, 5 May 2013 18:51:37 +0000 (20:51 +0200)]
Better resource management when the AssetManager is not used
This permit the removal of AtlasTiledMap whose reason to exist was to track
resource usage only.
Changes propagated to other loader and tests as needed.
Manuel Bua [Sat, 4 May 2013 23:37:36 +0000 (01:37 +0200)]
Respect filter settings also in synchronous loading
Minor refactoring
Manuel Bua [Sat, 4 May 2013 23:26:38 +0000 (01:26 +0200)]
Fixed setting texture filters on a non-rendering thread
Manuel Bua [Sat, 4 May 2013 22:58:22 +0000 (00:58 +0200)]
Add new tests for TiledMapAtlas direct loading and AssetManager loading
Add resources (+preprocessed) to be able to run tests on checkout.
Note about resources: the "tiled-atlas-src" directory contains the source
used to build the "tiled-atlas-processed" resources: you can build the
preprocessor by running "ant -f build.xml gdx-tiled-preprocessor" in the
root libgdx/ directory.
Once built, run it against the source data, specifying an input and an
output directory:
<packer> <libgdx/.../tiled-atlas-src> <libgdx/.../tiled-atlas-processed>
Note that at this time the preprocessor will NOT overwrite the destination
folder if it already contains the same data, so make sure it's clean.
Manuel Bua [Sat, 4 May 2013 22:54:33 +0000 (00:54 +0200)]
Add null parameter check before use
Manuel Bua [Sat, 4 May 2013 22:34:33 +0000 (00:34 +0200)]
Add new Tiled map loader with TextureAtlas support
Initial code from Justin Shapcott, thanks for sharing!
Port all changes from latest TmxMapLoader, load more map properties, check
for correct encoding
Minor refactoring
Add support for force-enabling custom texture filters
Add support for multiple TextureAtlases
Manuel Bua [Sat, 4 May 2013 22:27:39 +0000 (00:27 +0200)]
Packing tilesets should walk all used tilesets, not only the last one
Previously the last loaded Map object was used to walk the tilesets and
pack them, now tilesets are being tracked consistently and enumerated
correctly.
Minor refactoring.
Add support for packing and loading multiple atlases in a single map,
adding a custom map property "atlas_<tilesetname>" to link a tileset to its
atlas.
Manuel Bua [Sat, 4 May 2013 22:21:53 +0000 (00:21 +0200)]
Minor refactoring
Manuel Bua [Sat, 4 May 2013 14:18:21 +0000 (16:18 +0200)]
Fixed tile removal feature, track usedIds per-tileset spawning across
different maps
Also refactored and removed old unused code.
Manuel Bua [Sat, 4 May 2013 11:51:49 +0000 (13:51 +0200)]
Bring back the gdx-tiled-preprocessor tool
Add tool back to the ant build script
Reset org.eclipse settings to the same as gdx-tools (formatter profile)
Reimport test data
Refactored to use the new TexturePacker2.
Add support for ImageProcessor to accept BufferedImage objects as input
Update TexturePacker2 to accommodate ImageProcessor changes and exposes new
constructor and method.
Added me to CONTRIBUTORS file
Christoph Aschwanden [Sun, 5 May 2013 06:36:51 +0000 (15:36 +0900)]
Bugfix: allows playing music files outside the assets folder.
MobiDevelop [Sun, 5 May 2013 04:38:34 +0000 (21:38 -0700)]
Merge pull request #383 from seroperson/math
Setter methods in Ellipse and Circle
seroperson [Sun, 5 May 2013 00:36:08 +0000 (03:36 +0300)]
#set(Circle) & #set(Ellipse)
Maarten Bezemer [Sun, 5 May 2013 00:14:46 +0000 (00:14 +0000)]
Fix issue 1377, Sort Texture atlas regions by their name
Maarten Bezemer [Sun, 5 May 2013 00:11:49 +0000 (00:11 +0000)]
Add method that returns the name of the Rect atlas region
Justin Shapcott [Sat, 4 May 2013 22:01:34 +0000 (15:01 -0700)]
Audit and organize GWT module def.
Additional small changes for GWT compatibility.
badlogic [Sat, 4 May 2013 19:03:57 +0000 (21:03 +0200)]
'fixed' issue 1337 by adding javadoc :/
badlogic [Sat, 4 May 2013 18:59:26 +0000 (20:59 +0200)]
fixed issue 1366, glCompressedTexImage2D implemented. will only work with desktop texture formats
badlogic [Sat, 4 May 2013 18:46:08 +0000 (20:46 +0200)]
fixed issue 1393, polygon region constructor taking region + vertices was calculating uvs incorrectly