OSDN Git Service
MobiDevelop [Sun, 2 Jun 2013 19:09:44 +0000 (12:09 -0700)]
Merge pull request #430 from dylanetaft/master
Add support for GID attribute & Issue 1477 Fix
Dylan Taft [Sun, 2 Jun 2013 17:45:49 +0000 (13:45 -0400)]
Avoid potential precision loss during conversion from long millis time to float seconds time by subtracting intial time in millis in updateAnimationBaseTime function
Dylan Taft [Sun, 2 Jun 2013 04:20:39 +0000 (00:20 -0400)]
Issue 1477 - AnimatedTiledMapsTile should use an interval of float seconds, not float ms
Dylan Taft [Sun, 2 Jun 2013 00:51:50 +0000 (20:51 -0400)]
Add support for Tiled map GID object property in AtlasTmxMapLoader
NathanSweet [Sun, 2 Jun 2013 13:56:59 +0000 (15:56 +0200)]
TableLayout updates.
* Don't invalidate in computeSize, which would cause another layout.
* Don't apply toolkit width/height to widget sizes, as this doesn't work for nested tables. Eg, the outer table would double the inner table's prefwidth, which has already been doubled by the inner table.
NathanSweet [Sun, 2 Jun 2013 13:47:40 +0000 (15:47 +0200)]
Updates for the max selectbox list feature.
Nathan Sweet [Sun, 2 Jun 2013 13:36:27 +0000 (06:36 -0700)]
Merge pull request #454 from SG57/patch-1
SelectBox: added set max # items to display in dropdown
Cord Rehn [Sun, 2 Jun 2013 13:11:00 +0000 (07:11 -0600)]
SelectBox: added set max # items to display in dropdown
Added backwards compatible functionality for configuring the max # of items to display in the dropdown SelectList.
You set the maximum number of items you want displayed in the dropdown box until scrolling is required, or <= 0 to have it list them all, but should it reach the bottom/top of the screen then scrolling is required.
This is also a solution to an API defect. There was no previous easy way to modify the inner SelectList's prefHeight() to adjust the dropdown list's displayed height.
NathanSweet [Sun, 2 Jun 2013 12:35:32 +0000 (14:35 +0200)]
No need to set button size when it doesn't contain children.
Nathan Sweet [Sun, 2 Jun 2013 08:23:57 +0000 (01:23 -0700)]
Merge pull request #452 from SG57/patch-1
TextField bug: DELETE char not notifying listener
SG57 [Sun, 2 Jun 2013 01:34:23 +0000 (19:34 -0600)]
TextField bug: DELETE char not notifying listener
Quick fix.
When the DELETE key was pressed, it was returning before notifying the attached TextFieldListener that its respective TextField was changed.
If this is intended behavior (which I pray it isn't...), then we should at least be consistent and handle the BACKSPACE case the same as well.
Mario Zechner [Sat, 1 Jun 2013 22:07:53 +0000 (15:07 -0700)]
Merge pull request #449 from frustaci/patch-1
Update Shape.java
NathanSweet [Sat, 1 Jun 2013 19:40:58 +0000 (21:40 +0200)]
Allow setting your own TableToolkit.
frustaci [Sat, 1 Jun 2013 13:28:14 +0000 (10:28 -0300)]
Update Shape.java
Small ordinal fix in shape as per jniGetType().
Now Shape.Type.Polygon.ordinal()returns 2 as expected.
NathanSweet [Sat, 1 Jun 2013 12:49:16 +0000 (14:49 +0200)]
Fixed right command key on Mac.
NathanSweet [Sat, 1 Jun 2013 12:34:58 +0000 (14:34 +0200)]
Fixed actions on an actor being cleared by an action.
NathanSweet [Sat, 1 Jun 2013 12:17:32 +0000 (14:17 +0200)]
Minor changes to match other scene2d.ui code.
Nathan Sweet [Sat, 1 Jun 2013 12:13:32 +0000 (05:13 -0700)]
Merge pull request #446 from SG57/patch-1
List: select 'nothing', and disable item selection
Nathan Sweet [Sat, 1 Jun 2013 11:35:28 +0000 (04:35 -0700)]
Merge pull request #447 from Yonsh/patch-1
Add ObjectFloatMap to gwt module definition
Yonsh [Sat, 1 Jun 2013 08:50:37 +0000 (16:50 +0800)]
Add ObjectFloatMap
SG57 [Sat, 1 Jun 2013 06:40:01 +0000 (00:40 -0600)]
List: added ability to select 'nothing', and ability to disable item selection (+ bug/defect fix)
This adds functionality to the List Actor so it may behave like that of a ListView akin to Android's. This is backwards compatible.
This is essential in situations where you may not always want to have an item selected (like a touch-based file browser), or where you may not want items even selectable at all (like during a tutorial).
The bug/defect fix was if you look in the old setSelection(String name) method, you'll see it sets the selectedIndex to -1, then tries to find an item with that name. When it doesn't, it leaves the selectedIndex at -1 which essentially sets it to nothing.
*Note*
When the List is NOT selectable, it will no longer eat its touch event meaning they will still propagate down.
I'm not 100% sure if that is the behavior you want versus the contrary where it eats the touch event despite not doing anything. Regardless, I have a note of this behavior change in the setSelectable comment.
badlogic [Fri, 31 May 2013 21:30:50 +0000 (23:30 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Fri, 31 May 2013 21:30:38 +0000 (23:30 +0200)]
added diffusecolortexture sub shader
Nathan Sweet [Fri, 31 May 2013 21:28:41 +0000 (14:28 -0700)]
Merge pull request #445 from Jadems/master
GestureDetector no longer consumes events.
NathanSweet [Fri, 31 May 2013 21:05:10 +0000 (23:05 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Fri, 31 May 2013 21:02:43 +0000 (23:02 +0200)]
Removed JsonValue boxing, boolean field, and addChild. Updated JsonReader.
badlogic [Fri, 31 May 2013 20:53:04 +0000 (22:53 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Fri, 31 May 2013 20:52:56 +0000 (22:52 +0200)]
added diffuse texture sub shader
Matthew Williamson [Fri, 31 May 2013 20:43:13 +0000 (15:43 -0500)]
GestureDetector no longer consumes any events
Reverting a previous change of mine. On closer inspection, having the
GestureDetector consume touch up or drag likely causes more trouble than
good.
NathanSweet [Fri, 31 May 2013 20:29:28 +0000 (22:29 +0200)]
Merge remote-tracking branch 'origin/master'
Nathan Sweet [Fri, 31 May 2013 20:28:14 +0000 (13:28 -0700)]
Merge pull request #444 from xoppa/3dapi2
Faster load ubjson
Xoppa [Fri, 31 May 2013 20:23:41 +0000 (22:23 +0200)]
Faster load ubjson
badlogic [Fri, 31 May 2013 20:19:57 +0000 (22:19 +0200)]
more fixes
badlogic [Fri, 31 May 2013 20:06:56 +0000 (22:06 +0200)]
more changes to composite shader
badlogic [Fri, 31 May 2013 20:02:39 +0000 (22:02 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Fri, 31 May 2013 20:02:24 +0000 (22:02 +0200)]
added initial draft of composite shader and transform subshader
NathanSweet [Fri, 31 May 2013 19:20:55 +0000 (21:20 +0200)]
Javadocs.
Mario Zechner [Fri, 31 May 2013 18:21:17 +0000 (11:21 -0700)]
Merge pull request #443 from xoppa/3dapi2
Add transform to calculateBounds, fix transform
Xoppa [Fri, 31 May 2013 17:13:17 +0000 (19:13 +0200)]
Add transform to calculateBounds, fix transform
badlogic [Fri, 31 May 2013 16:24:14 +0000 (18:24 +0200)]
fixed ios check in iosgl20.cpp
badlogic [Fri, 31 May 2013 11:55:01 +0000 (13:55 +0200)]
fixed fetch script to pull in ios robovm natives into proper location
badlogic [Fri, 31 May 2013 11:17:11 +0000 (13:17 +0200)]
added gdx-invaders robovm project
badlogic [Fri, 31 May 2013 10:58:46 +0000 (12:58 +0200)]
fixed robovm backend graphics initialization, create was called at an unfortunate time :p, super jumper et al are working
badlogic [Fri, 31 May 2013 10:28:15 +0000 (12:28 +0200)]
added vector pinball and super jumper robovm projects. not working
badlogic [Fri, 31 May 2013 02:39:39 +0000 (04:39 +0200)]
fixed more stuff, working
badlogic [Fri, 31 May 2013 02:26:33 +0000 (04:26 +0200)]
minor ios fixups
badlogic [Fri, 31 May 2013 02:07:36 +0000 (04:07 +0200)]
added robovm backend, initial commit
badlogic [Fri, 31 May 2013 00:18:58 +0000 (02:18 +0200)]
fixed a super nasty bug in AssetManager, concurrency is hard :)
Mario Zechner [Thu, 30 May 2013 23:07:48 +0000 (16:07 -0700)]
Merge pull request #441 from xoppa/3dapi2
Update ModelLoaderTest
Xoppa [Thu, 30 May 2013 18:08:56 +0000 (20:08 +0200)]
Update ModelLoaderTest
badlogic [Thu, 30 May 2013 17:26:58 +0000 (19:26 +0200)]
and one more update
badlogic [Thu, 30 May 2013 17:23:35 +0000 (19:23 +0200)]
more updates
badlogic [Thu, 30 May 2013 17:21:00 +0000 (19:21 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Thu, 30 May 2013 17:20:51 +0000 (19:20 +0200)]
small change to model loader test
Mario Zechner [Thu, 30 May 2013 17:19:01 +0000 (10:19 -0700)]
Merge pull request #440 from xoppa/3dapi2
Add BasicScene3DTest
badlogic [Thu, 30 May 2013 17:16:02 +0000 (19:16 +0200)]
added simple cube with two textures, added ModelLoaderTest to reproduce loader issue
Xoppa [Thu, 30 May 2013 16:55:08 +0000 (18:55 +0200)]
Add BasicScene3DTest
badlogic [Thu, 30 May 2013 16:43:10 +0000 (18:43 +0200)]
fixed pax britannica, vectorpinball png crush settings et. al.
badlogic [Thu, 30 May 2013 16:25:28 +0000 (18:25 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Thu, 30 May 2013 16:25:17 +0000 (18:25 +0200)]
updated libobjectal.dll, fixed vector-pinball png crush settings
NathanSweet [Thu, 30 May 2013 16:15:51 +0000 (18:15 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 30 May 2013 16:15:32 +0000 (18:15 +0200)]
Added clamp() to allow a min/max range outside the slider's range.
badlogic [Thu, 30 May 2013 16:10:13 +0000 (18:10 +0200)]
fixed pax-britannica png crush settings
badlogic [Thu, 30 May 2013 16:06:51 +0000 (18:06 +0200)]
fixed super jumper png crush settings
badlogic [Thu, 30 May 2013 15:34:46 +0000 (17:34 +0200)]
updated CHANGES
badlogic [Thu, 30 May 2013 15:34:10 +0000 (17:34 +0200)]
removed File#file(), removed box2d-editor
badlogic [Thu, 30 May 2013 15:18:55 +0000 (17:18 +0200)]
fixed issue 1456, Intersector#intersectRayBounds had a bug
badlogic [Thu, 30 May 2013 15:06:58 +0000 (17:06 +0200)]
fixed issue 1459, Decal#setScaleY was wrong
NathanSweet [Thu, 30 May 2013 12:31:36 +0000 (14:31 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Thu, 30 May 2013 12:31:27 +0000 (14:31 +0200)]
Added int rgba methods for easier setting using 0x11223344.
NathanSweet [Thu, 30 May 2013 12:30:53 +0000 (14:30 +0200)]
Fixed pref width.
NathanSweet [Thu, 30 May 2013 12:30:42 +0000 (14:30 +0200)]
Format.
Nathan Sweet [Thu, 30 May 2013 06:04:33 +0000 (23:04 -0700)]
Merge pull request #438 from Jadems/master
Fixed long presses being handled incorrectly.
Matthew Williamson [Thu, 30 May 2013 03:23:23 +0000 (22:23 -0500)]
Fixed long presses behaving incorrectly.
Fixed long presses causing events not to be consumed by the
GestureDetector. This issue was causing the GestureDetector to return
false in touchDragged and touchUp whenever a longPress returned true
resulting in unexpected behavior which one would likely only notice when
chaining InputProcessors in an InputMultiplexer.
badlogic [Thu, 30 May 2013 00:53:59 +0000 (02:53 +0200)]
Merge branch 'master' of https://github.com/libgdx/libgdx
badlogic [Thu, 30 May 2013 00:52:11 +0000 (02:52 +0200)]
fixed cuboc
Xoppa [Wed, 29 May 2013 21:09:50 +0000 (14:09 -0700)]
Merge pull request #437 from xoppa/3dapi2
Fix opacity on models
Xoppa [Wed, 29 May 2013 21:08:29 +0000 (23:08 +0200)]
Fix opacity on models
Mario Zechner [Wed, 29 May 2013 20:48:45 +0000 (13:48 -0700)]
Merge pull request #434 from moly/androidaudiofix
AndroidSound#play/loop now returns -1 on failure, to match other backends
Mario Zechner [Wed, 29 May 2013 20:31:40 +0000 (13:31 -0700)]
Merge pull request #436 from justinbowes/1470_osx_backspace_causes_forward_delete
Fix for Issue 1470: On OS X TextField deletes symbols from the right side
Justin Bowes [Wed, 29 May 2013 19:38:06 +0000 (15:38 -0400)]
Fix OSX backspace behaving like delete key due to bug in LWJGL Keyboard.getEventCharacter()
Mario Zechner [Wed, 29 May 2013 15:48:38 +0000 (08:48 -0700)]
Merge pull request #429 from xoppa/3dapi2
Add skeletontest and various fixes
Xoppa [Wed, 29 May 2013 15:17:17 +0000 (17:17 +0200)]
Fix GLES10 shader
NathanSweet [Wed, 29 May 2013 02:42:07 +0000 (04:42 +0200)]
Added viewport settings to Stage.
Xoppa [Tue, 28 May 2013 23:45:57 +0000 (01:45 +0200)]
Fix MeshBuilder#box
NathanSweet [Tue, 28 May 2013 22:41:41 +0000 (00:41 +0200)]
Allow nested calls to begin().
NathanSweet [Tue, 28 May 2013 21:43:24 +0000 (23:43 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Tue, 28 May 2013 21:42:25 +0000 (23:42 +0200)]
Improved generics and fixed removeAll. Thanks Javier J. <javierj@us.es>!
Nathan Sweet [Tue, 28 May 2013 21:20:25 +0000 (14:20 -0700)]
Merge pull request #433 from MoopsLC/master
draw substring of BitmapFontCache
NathanSweet [Tue, 28 May 2013 20:34:52 +0000 (22:34 +0200)]
Merge remote-tracking branch 'origin/master'
NathanSweet [Tue, 28 May 2013 20:19:12 +0000 (22:19 +0200)]
Fixed pooling cells.
MoopsLC [Tue, 28 May 2013 17:50:38 +0000 (14:50 -0300)]
Update BitmapFontCache.java
allow for drawing a substring of the cache for letter-by-letter text scrolling
Xoppa [Tue, 28 May 2013 17:44:46 +0000 (19:44 +0200)]
Default to GL_REPEAT, add mtl shininess and opacity, fix BlendingAttribute constructor
moly [Tue, 28 May 2013 17:22:34 +0000 (18:22 +0100)]
AndroidSound#play/loop now returns -1 on failure, to match other backends
Nathan Sweet [Tue, 28 May 2013 14:54:36 +0000 (07:54 -0700)]
Merge pull request #427 from veger/master
ImageTextButtonStyle: Do not set fields twice and add constructor
NathanSweet [Tue, 28 May 2013 14:40:04 +0000 (16:40 +0200)]
Added getPressedButton.
NathanSweet [Tue, 28 May 2013 14:39:54 +0000 (16:39 +0200)]
Pooled cells.
Dylan Taft [Tue, 28 May 2013 01:05:49 +0000 (20:05 -0500)]
Add support for Tiled map GID object property
Xoppa [Mon, 27 May 2013 22:05:46 +0000 (00:05 +0200)]
Add skeletontest
NathanSweet [Mon, 27 May 2013 20:53:43 +0000 (22:53 +0200)]
Disabled debug.