Skip to content
This repository has been archived by the owner on Apr 22, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1 from edipo2s/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
edipo2s authored May 15, 2017
2 parents 8faba17 + 4428eab commit 3ad0883
Show file tree
Hide file tree
Showing 104 changed files with 1,704 additions and 1,078 deletions.
90 changes: 45 additions & 45 deletions .idea/modules/WabbaTrack.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'

testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'com.google.truth', name: 'truth', version: '0.31'
testCompile group: 'com.google.truth', name: 'truth', version: '0.32'
}
7 changes: 6 additions & 1 deletion pHashCalc/src/kotlin/com/ediposouza/CalcPHashs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ object CalcPHashs {

val CROP_FOLDER_ARENA = "Arena"
val CROP_FOLDER_CARDS = "Cards"
val CROP_FOLDER_DECK = "Deck"
val CROP_FOLDER_GAME = "Game"
val CROP_FOLDER_SCREENS = "Screens"

Expand All @@ -32,10 +33,13 @@ object CalcPHashs {
getDHashFile("/Screens/MainModePratice.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenMainModeCrop)
getDHashFile("/Screens/MainModePratice2.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenMainModeCrop)
getDHashFile("/Screens/Game.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenGameCrop)
getDHashFile("/Game/CardGenerated.png", CROP_FOLDER_GAME, BufferedImage::getGameCardGenerateCrop)
getDHashFile("/Screens/ArenaClasses.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenArenaClassesCrop)
getDHashFile("/Screens/ArenaPicks.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenArenaPicksCrop)
getDHashFile("/Screens/ArenaDash.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenArenaDashboardCrop)
getDHashFile("/Screens/DeckBuilder.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenDeckBuilderCrop)
getDHashFile("/Screens/DeckBuilderEmpty.png", CROP_FOLDER_SCREENS, BufferedImage::getScreenDeckBuilderEmptyCrop)
getDHashFile("/Deck/CollectionEmpty.png", CROP_FOLDER_DECK) { it.getDeckBuilderFirstLineCardCrop(1) }
getDHashFile("/Deck/DeckBuilderNoneLeft.png", CROP_FOLDER_DECK) { it.getDeckBuilderNoneLeftCardCrop(2) }

Logger.d("--Arena Class Select--")
getDHashFolderFiles("/ArenaClass", CROP_FOLDER_ARENA, BufferedImage::getArenaPickClassCrop)
Expand All @@ -47,6 +51,7 @@ object CalcPHashs {
getDHashFile("/Game/Win2.png", CROP_FOLDER_GAME, BufferedImage::getGameWin2Crop)
getDHashFile("/Game/Loss.png", CROP_FOLDER_GAME, BufferedImage::getGameLossCrop)
getDHashFile("/Game/Loss2.png", CROP_FOLDER_GAME, BufferedImage::getGameLoss2Crop)
getDHashFile("/Game/CardGenerated.png", CROP_FOLDER_GAME, BufferedImage::getGameCardGenerateCrop)
getDHashFolderFiles("/Game/PlayerRank", CROP_FOLDER_GAME, BufferedImage::getGameOpponentRankCrop)
getDHashFolderFiles("/Game/PlayerClass", CROP_FOLDER_GAME, BufferedImage::getGamePlayerClassCrop)
getDHashFolderFiles("/Game/OpponentClass", CROP_FOLDER_GAME, BufferedImage::getGameOpponentClassCrop)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pHashCalc/src/resources/Deck/CollectionEmpty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pHashCalc/src/resources/Deck/CollectionRarity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pHashCalc/src/resources/Deck/CollectionSets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pHashCalc/src/resources/Deck/DeckName.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pHashCalc/src/resources/Screens/DeckBuilder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3ad0883

Please sign in to comment.