Skip to content
Browse files

Merge branch 'GLES2-AnchorCenter' of github.com:nicolasgramlich/AndEn…

…gine into GLES2-AnchorCenter
2 parents ccb2a54 + 200a193 commit bf61a98e65e6eb8d1e02e526cea382cbf6953042 Nicolas Gramlich committed Mar 16, 2014
View
26 README.md
@@ -1,5 +1,29 @@
# AndEngine
+## Donations
+While developing AndEngine was a lot of fun, it also also consumed many(!) months of my life. It actually continues to cost me a significant amount of money to host the AndEngine forums.
+
+If you made profit using your game and can afford to spare a fraction of it to the developer of the game engine you used, I would be very grateful! =)
+
+### Bitcoin
+The easiest way of donating is via Bitcoin to the AndEngine funds wallet address:
+
+![Bitcoin](http://www.andengine.org/donate/bitcoin_16x16.png "Donate via Bitcoin")
+Bitcoin Wallet Address: ``1run6zViD16j2rP9evpayu8FqQ6mcRDqi`` ![Bitcoin Wallet](http://www.andengine.org/donate/bitcoin_wallet.png "Bitcoin Wallet")
+
+### Tip4Commit (Bitcoin)
+Tip the author (not the project itself) of the next commit to AndEngine:
+
+[![Bitcoin top for next commit](http://tip4commit.com/projects/192.svg)](http://tip4commit.com/projects/192)
+
+### PayPal
+Donation Email: donate@andengine.org
+
+
+Thank you!
+
+/Nicolas Gramlich
+
## Building
### Eclipse
@@ -66,4 +90,4 @@ public final class BuildConfig {
[URI_AndEngineScriptingExtensionGenerator]: https://github.com/nicolasgramlich/AndEngineScriptingExtensionGenerator
[URI_AndEngineSVGTextureRegionExtension]: https://github.com/nicolasgramlich/AndEngineSVGTextureRegionExtension
[URI_AndEngineTexturePackerExtension]: https://github.com/nicolasgramlich/AndEngineTexturePackerExtension
-[URI_AndEngineTMXTiledMapExtension]: https://github.com/nicolasgramlich/AndEngineTMXTiledMapExtension
+[URI_AndEngineTMXTiledMapExtension]: https://github.com/nicolasgramlich/AndEngineTMXTiledMapExtension
View
2 src/org/andengine/audio/sound/Sound.java
@@ -86,7 +86,7 @@ public int getPriority() {
return this.mPriority;
}
- public void setPrioriyt(final int pPriority) throws SoundReleasedException {
+ public void setPriority(final int pPriority) throws SoundReleasedException {
this.assertNotReleased();
this.mPriority = pPriority;
View
4 src/org/andengine/opengl/texture/Texture.java
@@ -91,7 +91,7 @@ public TextureOptions getTextureOptions() {
@Override
public int getTextureMemorySize() {
final int pixelCount = this.getWidth() * this.getHeight();
- final int bytesPerPixel = this.mPixelFormat.getBitsPerPixel() * DataConstants.BITS_PER_BYTE;
+ final int bytesPerPixel = this.mPixelFormat.getBitsPerPixel() / DataConstants.BITS_PER_BYTE;
return pixelCount * bytesPerPixel / DataConstants.BYTES_PER_KILOBYTE;
}
@@ -188,4 +188,4 @@ public void bind(final GLState pGLState, final int pGLActiveTexture) {
// ===========================================================
// Inner and Anonymous Classes
// ===========================================================
-}
+}
View
2 src/org/andengine/util/algorithm/path/astar/ManhattanHeuristic.java
@@ -32,7 +32,7 @@
@Override
public float getExpectedRestCost(final IPathFinderMap<T> pPathFinderMap, final T pEntity, final int pFromX, final int pFromY, final int pToX, final int pToY) {
- return Math.abs(pFromX - pToX) + Math.abs(pToX - pToY);
+ return Math.abs(pFromX - pToX) + Math.abs(pFromY - pToY);
}
// ===========================================================

0 comments on commit bf61a98

Please sign in to comment.
Something went wrong with that request. Please try again.