melvin
|
50b1cd699a
|
replaced Exception with IOException
|
2011-08-03 14:41:40 +08:00 |
melvin
|
2b203def0d
|
simplified logic, needs testing
|
2011-08-03 14:39:21 +08:00 |
melvin
|
c57f9dd0ee
|
ensure inputStream is closed
|
2011-08-03 13:54:29 +08:00 |
melvin
|
b946291ac8
|
replaced Exception with IOException, check that file exists
|
2011-08-03 13:47:12 +08:00 |
melvin
|
321c75b207
|
replaced Exception with IOException
|
2011-08-03 13:46:27 +08:00 |
melvin
|
502074c0ba
|
replaced Exception with more specfic subclass
|
2011-08-03 13:46:05 +08:00 |
melvin
|
84d6fb5502
|
replaced Exception with IOException
|
2011-08-03 13:45:13 +08:00 |
melvin
|
7e83160efa
|
replaced Exception with IOException
|
2011-08-03 13:44:44 +08:00 |
melvin
|
1ab8981c61
|
simplified deck loader
|
2011-08-03 13:30:53 +08:00 |
melvin
|
026370ec64
|
remove handler for out of memory error
|
2011-08-03 13:30:22 +08:00 |
melvin
|
53f4a59371
|
simplified error handling
|
2011-08-03 13:30:01 +08:00 |
melvin
|
090cec6cf7
|
print blocking options if it is more than 1e5, use fast option if blocking options is more than 1e6
|
2011-08-03 13:29:28 +08:00 |
melvin
|
845bb10cd8
|
reduce threshold for warning from 2s to 1s
|
2011-08-03 13:28:49 +08:00 |
melvin
|
87105dd86f
|
removed empty lines
|
2011-08-03 13:28:22 +08:00 |
melvin
|
34ca39e2b1
|
simplified the constructor, added exception to getIcon
|
2011-08-03 13:27:59 +08:00 |
melvin
|
baf4879aad
|
manage origImages cache and scaledImages cache separately
|
2011-08-03 10:55:42 +08:00 |
melvin
|
3a85959cbf
|
check that image is in both caches
|
2011-08-03 09:41:27 +08:00 |
melvin
|
024ada7717
|
made constructor empty, moved code to initializer
|
2011-08-02 16:02:55 +08:00 |
melvin
|
3ac4259ddb
|
scale now checks if scaling is really needed
|
2011-08-02 15:39:17 +08:00 |
melvin
|
b59887ae36
|
removed empty lines
|
2011-08-01 16:29:48 +08:00 |
melvin
|
0bc5ae7bdf
|
merged with magarena_gold branch, no changes
|
2011-08-01 11:43:55 +08:00 |
melvin
|
a790c7e4d2
|
include version at top of log, read pw from file
|
2011-08-01 11:38:47 +08:00 |
melvin
|
7ad0882902
|
made methods in AvatarImages synchronized as they may need to load images
|
2011-07-30 12:36:10 +08:00 |
melvin
|
baac395022
|
scale helper method alway rendered square images, fixed
|
2011-07-30 11:01:07 +08:00 |
melvin
|
e36e2f4531
|
remove no args shuffle and smartShuffle, MagicShuffleIntoLibraryAction uses
incTime to get the seed for the shuffle.
|
2011-07-29 16:31:17 +08:00 |
melvin
|
c1bf09a26b
|
time added back to game state hash
|
2011-07-29 14:56:20 +08:00 |
melvin
|
3b7136af14
|
shuffle uses incTime, doAction no longer calls incTime as it breaks caching of game states, time remove from game state
|
2011-07-29 14:54:55 +08:00 |
melvin
|
1515bb6cd5
|
removed debug message
|
2011-07-29 14:37:44 +08:00 |
melvin
|
b4b4fd4bd0
|
renamed EMPTY to UNKNOWN
|
2011-07-29 14:36:34 +08:00 |
melvin
|
6dda4dd904
|
simplfied the logic and added debug messages
|
2011-07-29 14:28:48 +08:00 |
melvin
|
a3aa69f9ba
|
if dir is already present, print WARNING instead of ERROR
|
2011-07-29 14:20:00 +08:00 |
melvin
|
092e1c551b
|
shuffle() using game time instead of deck size
|
2011-07-29 14:17:09 +08:00 |
melvin
|
6c7aa7dd42
|
doAction increases the time
|
2011-07-29 14:16:37 +08:00 |
melvin
|
60f240b724
|
corrected wording of Lightning Helix's effect, it used to read Lightning Bolt
fixes issue 34
|
2011-07-29 13:53:17 +08:00 |
melvin
|
8cd5b32925
|
use scale method to rescale images
|
2011-07-29 11:09:10 +08:00 |
melvin
|
e45a0a5b13
|
added rule to download GraphicsUtilities.java
|
2011-07-29 10:44:02 +08:00 |
melvin
|
62f9f990e0
|
replaced Image with BufferedImage
|
2011-07-29 10:43:03 +08:00 |
melvin
|
d0c02ea7cb
|
load image using ImageIO.read
|
2011-07-29 10:42:44 +08:00 |
melvin
|
ad08fa48be
|
replaced Image with BufferedImage
|
2011-07-29 10:41:15 +08:00 |
melvin
|
2bbf606bd7
|
replaced getScaled with createCompatible
|
2011-07-29 10:41:01 +08:00 |
melvin
|
567fe4aacc
|
replace getScaledInstance with createCompatibleImage
|
2011-07-29 10:37:57 +08:00 |
melvin
|
82e281f34c
|
replaced Image with BufferedImage
|
2011-07-29 10:37:14 +08:00 |
melvin
|
ca0901d030
|
replaced Image with BufferedImage
|
2011-07-29 10:36:56 +08:00 |
melvin
|
ecb78f7fcd
|
replaced Image with BufferedImage
|
2011-07-29 10:36:42 +08:00 |
melvin
|
da11365068
|
replaced Image with BufferedImage
|
2011-07-29 10:36:27 +08:00 |
melvin
|
f349e9bea9
|
replaced Image with BufferedImage
|
2011-07-29 10:35:22 +08:00 |
melvin
|
4f0298c145
|
read from file directly
|
2011-07-29 10:34:55 +08:00 |
melvin
|
11dddc9c9b
|
added GraphicsUtilities from swingx
|
2011-07-29 10:32:55 +08:00 |
melvin
|
4871f9e73d
|
renamed nextFile to rndFile and make it synchronized as it is not thread safe
|
2011-07-28 16:49:43 +08:00 |
melvin
|
9ce6e33b6f
|
wrapped long lines
|
2011-07-28 16:43:26 +08:00 |