Updated dependencies.

- LWJGL is now at the final 2.x release version.
- Slick2D is now at the final (?) release version.
- Added dependency for org.tukaani.xz, since it becomes optional in commons-compress 1.9 and is needed for LZMA compression.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-07-07 18:37:03 -05:00
parent 47f682352d
commit 8b9e230fa7
2 changed files with 13 additions and 5 deletions

15
pom.xml
View File

@ -142,12 +142,12 @@
<dependency>
<groupId>org.lwjgl.lwjgl</groupId>
<artifactId>lwjgl</artifactId>
<version>2.9.1</version>
<version>2.9.3</version>
</dependency>
<dependency>
<groupId>org.slick2d</groupId>
<artifactId>slick2d-core</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.jcraft</groupId>
@ -197,17 +197,22 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>3.0.3</version>
<version>3.3.3</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>com.github.jponge</groupId>
<artifactId>lzma-java</artifactId>
<version>1.2</version>
<version>1.3</version>
</dependency>
</dependencies>
</project>

View File

@ -595,6 +595,7 @@ public class Image implements Renderable {
* @param y The y location to draw the image at
* @param filter The color to filter with when drawing
*/
@Override
public void draw(float x, float y, Color filter) {
init();
draw(x,y,width,height, filter);
@ -719,6 +720,7 @@ public class Image implements Renderable {
* @param height
* The height to render the image at
*/
@Override
public void draw(float x,float y,float width,float height) {
init();
draw(x,y,width,height,Color.white);
@ -797,6 +799,7 @@ public class Image implements Renderable {
* @param height The height to render the image at
* @param filter The color to filter with while drawing
*/
@Override
public void draw(float x,float y,float width,float height,Color filter) {
if (alpha != 1) {
if (filter == null) {