Commit Graph

65 Commits

Author SHA1 Message Date
5dd35f38f5 I added the ExceptionHandler to GameListActivity 2012-07-18 15:02:13 -04:00
67c0bc11a1 Added the build incremeter
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-06-27 10:27:38 -04:00
7638f34290 I added a check to see if the database is open
before creating/showing the new game dialog.

closes #19

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-31 11:37:29 -04:00
522339f0c8 Added a check for the roll mod value, before tring to append it's
information onto the roll text view

closes #20

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-31 11:27:23 -04:00
23ea7b7e2d Proguard files
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-06 18:12:41 -04:00
a0e84b4665 Bumped version to 2.2b82
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-06 18:08:15 -04:00
4a21674f24 Game specific settings
a game's settings are now cleared when a game is deleted

closes #36

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-04 12:40:42 -04:00
49fb5a8774 Game specific settings
finished initial implmention of game specific settings. all that is left
to do is to delete settings files with games

refs #36

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-04 12:18:37 -04:00
64921d7304 Success After X
added a prefrence for the user to select what are counted as successes

closes #37

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-04 11:52:48 -04:00
55484786ec Ones Subtract
added the option for the user to enable one subtract

closes #35

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-05-04 11:22:48 -04:00
9c99a12335 Fixed google admod ads
closes #26

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 18:42:33 -04:00
aadbe9b836 Proguard files for 2.1b78
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 17:32:57 -04:00
5443462217 Updated build path
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 17:29:48 -04:00
70ac0b4cf1 Bumped version to 2.1b78
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 17:28:44 -04:00
f2c85f8eb8 Added proguard conf file
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 17:27:59 -04:00
cf4e242638 Fixed depreciated called for device api level
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-29 17:27:40 -04:00
b7df595c6c Increased build to 2.1b77
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-24 12:10:27 -04:00
e80845bc93 Enable use of keyboard to set number of dice
closes #14

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-24 12:08:49 -04:00
a48634bdc4 Increased build to 2.0b76
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-23 12:23:52 -04:00
6447d1d333 Increased build to 2.0b75
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-22 11:25:41 -04:00
5dfd9fa801 Updated exception handler props file
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-22 11:25:05 -04:00
1e77c8ab97 Updated to meet exception handler lib requirements
Change-Id: If543f6fa41123a09aabdc0241547cb83d91f488a
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-03-01 13:24:30 -05:00
f6cd5d3d56 Moved All menus to XML
Change-Id: I97a891d2da149aa107a1617a3a4afdfbe861ce08
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 11:27:02 -05:00
8ed7a2441b Removed dependency calc_successes from tens_roll_twice
Change-Id: I49bf7e022dadb972549fef8574478735ab5c19c2
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 11:11:42 -05:00
2a25a5fc2c Implemented Game Mode
added implementation loading of game modes

Change-Id: I0d92ed433577f3f7ec265eab4af8d328675b7d9b
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 10:56:29 -05:00
363686fd1c Fixed Database.getGameOptions()
this method was referencing the game history table

Change-Id: I4ce7fd0e60a4b89cf76e86e80e69212612c0d8d1
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 10:49:27 -05:00
29ea55bd28 Created Game Option "Game Mode"
This option allows the user to select their gaming system. This will
allow us to fine tune the UI of exalted dice to better suit the gaming
system of each particular game.

Note This only commit does not handle applying the game mode in
ExaltedDice.java

Change-Id: I035fe4441027e6536f6d89d038818dc939c26e55
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 10:09:05 -05:00
5c8540e0e2 Added delete game options to Database.deleteGame()
Change-Id: Icb97cddabc44b463066dac5dd10946b5d2803063
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 09:49:49 -05:00
b592403ffe Updated the database to have a game options table
Note this is not a database upgrade

Change-Id: Id2a9a41108d48140ed5ae35ff00132ce99a7b00e
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-12 09:10:29 -05:00
b434182db3 Added a null in Settings
added a null check for actionBar in onCreate() as it is null on my
tablet (3.1)

Change-Id: I13cac0a7b4c4dc076cc0400c73a4f07fd25fb8f5
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-11 14:12:56 -05:00
3102d485db Added custom number picker for api < 11 compatibility
Extracted number picker (non public) from older android source and
included it into this project to remain compatible with devices api
level < 11. Devices api level > 11 will use native number pickers as the
are public facing in the sdk

Change-Id: I7cf7cba066b25516e90bd9951f4de7964b7fd613
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-11 12:30:12 -05:00
3ee566c488 Updated Manifest
Updated the version to 2.0

removed read logs permission, as its no longer needed

Change-Id: Ifbe8ce39346a42914b318148a5683107076813e8
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-10 19:06:14 -05:00
f58616cfc8 Added Last Roll Highlighting
hightlights last roll base on custom color picked from the new color
picker pref

Change-Id: Iab790cd5103f955d0c8c8a0a83bcec0e7ca3a062
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-10 11:04:15 -05:00
c2ef86ea54 Fixed java.lang.IllegalStateException thrown by
RollHistortDatabaseAdapter

RollHistortDatabaseAdapter only updates the roll count in
notifyDataSetChanged()

re-added roll thread

added boolean isRolling to prevent multiple rolls at the same time
Change-Id: I47fea7af989d0b2239ad8c5082649022836a2263
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-10 00:42:54 -05:00
73b6ff3319 Removed Roll Thread
Until I can figure out how to avoid the IllegalStateException: The
content of the adapter has changed but ListView did not receive a
notification

Change-Id: I0d8314acdc5a7706479f30223d6097b096c717ff
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-09 11:40:07 -05:00
e69aa492bd Fixed Bug
java.lang.IllegalStateException: The content of the adapter has changed
but ListView did not receive a notification

Change-Id: I7618beebfcac228eeba704d9d7b9e985b4ceeb86
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-09 09:31:03 -05:00
6dbd1274b3 Added New Settings
Added modifier option

added success option: tens count twice

Change-Id: Ia978daee5fe86a8f167d0bfc32458f844bb255bd
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-09 09:08:56 -05:00
115cca1cad Updated UI
Added a progress bar (indeterminate circle) centered over the roll
button. It is shown only during rolls.

Moved rolling to another thread

Roll Button is disabled during a roll

Change-Id: I6a6bfb9723af3b1292eb3df2f8810fb738f83876
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-09 08:36:36 -05:00
daf387c343 Load roll presets from previous game.
updated ExaltedDice to load the roll presets from the previous roll
when loading an existing game.

updated ExaltedDice to load the mod preset to 0 for new games

Change-Id: I8e5d82d99f7d90bbe2e42697966fa0d06e6424de
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-08 12:58:52 -05:00
12a1d4c17d Updated roll history list UI
Made the list easier to read by making different parts of the information
bigger of smaller

Change-Id: I64482dfd8ec03ded60e96f7dd9916445ef8ee7fe
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-08 12:26:04 -05:00
a7ea1ed73b Added A Roll Modifier Picker
Currently the roll modifier is from -5 to + 50. This can be updated via
values/mod.xml
Change-Id: I32c5d7ed1c67e0d8bc1b1434025d14134f8bc583
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-08 12:06:41 -05:00
93d80bcb33 Integrated Roll Again and Calc Successes Settings
into Exalted Dice

Change-Id: I12cfc26e7bdb9abaa7eab54cd567db4520f51410
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-08 10:47:40 -05:00
108d3983d1 Fixed App Icon Navigation
by passing the extras passed to Exalted Dice to the settings activity,
and back again.

Change-Id: I6bd98cdbb6cab3db7233005bd0cd1dc1a7083adb
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-07 11:45:18 -05:00
e0cfaa2266 Added settings for roll again and calc successes
These changes are finished on the settings activity side, need to be
implemented on the application side

Change-Id: I8a2d3a027d21f3a62a0cb84eaa0b60d9bcc73ede
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-07 11:38:59 -05:00
38fd1e2d5d Added App Icon (back) Navigation to settings activity
Change-Id: Ia3ec8893abd52867af2f8c4c4b029103e2dfcdfe
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-07 11:25:05 -05:00
1d69dfffc0 Fixed database is closed bug, and added action bar app navigation
Change-Id: If09f348aa0d658bc5bee69de07801dbbe09b5978
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-07 11:02:02 -05:00
1fcf789219 Moved most Strings to xml
Change-Id: I7c460302d3efd1ffe4b1d7cb66789002bfa1ca33
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-06 11:01:50 -05:00
6502542853 Updated UI
Moved roll button in port layout to increase the size of the history
list view

Change-Id: Iff9360f6bf667d7bf59582ec2a725a788e4b9955
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-06 10:24:14 -05:00
de4f888d83 Updated Theme
updated theme to pick the standard android theme if < api 11 else Holo

Change-Id: I377442813ca0fe3a801c821d69f389f360fceeea
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-06 10:05:58 -05:00
4a0479ec01 Created Settings Activity
created a simple settings activity that we can add various settings to.

Change-Id: I304454bd5543083bf90d1357da2ca8b8d7f1e37a
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-06 01:21:05 -05:00