Commit Graph

51 Commits

Author SHA1 Message Date
Doublestrike
43ed145663 Minor fix. 2012-02-16 10:42:05 +00:00
Doublestrike
dd91eb2c66 "Pretty names" for skin names in settings submenu. 2012-02-16 05:38:15 +00:00
Doublestrike
9bace55ddd Renamed darkascension skin to dark_ascension (will be prettifying file names in settings soon).
Added better DNE degredation in FSkin.
2012-02-16 05:05:31 +00:00
Doublestrike
ac6b9206d3 Improved error handling in FSkin. 2012-02-13 12:35:18 +00:00
Doublestrike
668839a528 Massive removal of old UI code:
Easy accessors added FView and FControl to various components throughout UI.
Mishmash of methods in "Display" interface attached as appropriate to singletons.
AllZone updated to remove display and one or two others in favor of singletons, for future deprecation.
Some renaming for consistency.
Skins folder moved out of "images", which will be deprecated soon.
FControl refactored to reuse single instance of each UI state.
2012-02-13 12:13:47 +00:00
Doublestrike
570bef10f0 Avatar selection enabled in settings submenu. 2012-02-12 04:06:53 +00:00
Doublestrike
5d18d21409 FRoundedPanel consolidated into FPanel.
FPanels now support background textures and foreground images.
FPanels now have a stretch foreground image option.
FPanels now have optional hover and select behavior.
Slight performance improvement over previous FPanel versions (paintComponent trimmed down).
2012-02-11 08:47:43 +00:00
Doublestrike
84c1ae6b5f Enforced singleton pattern in FSkin.
Converted FSkin to static factory.
Updated all uses of FSkin as appropriate.
Removed all extra references/storages to FSkin.
2012-02-06 13:51:02 +00:00
Doublestrike
14bd09a91f Added "theme2" to skin palette. 2012-02-05 04:58:39 +00:00
Doublestrike
b542329961 New UI for bazaar.
Selling price added to interface and abstract for quest bazaar items.
Can now sell life back to the Alchemist.
2012-02-05 02:53:52 +00:00
Doublestrike
4119f18a1c Removed "creatures" sprite from default skin (since they're included with tokens from CardForge).
Reverted bazaar creatures accordingly.
2012-02-02 00:33:50 +00:00
Doublestrike
f84c0184c2 Various updates to detail labels in player field. 2012-02-01 13:10:50 +00:00
moomarc
3f5d67e231 Corrected some quest items pointing to the wrong icon.
Made some small fixes to the rebel skin's sprite that might have caused mana symbol problems.
Replaced the low resolution card state icons in the default sprite_icons with higher res ones.
2012-02-01 11:13:34 +00:00
Doublestrike
064c8e803a Bugfix: Random foil 2012-02-01 08:29:30 +00:00
Doublestrike
bd67faeb06 Fixed coords on win/loss icons. 2012-02-01 00:33:54 +00:00
Doublestrike
77fb8346e7 Organization: variable renaming for clarity in FSkin and related. 2012-01-31 01:42:28 +00:00
Doublestrike
0b9f58463d Re-hooked up phase labels to skin color palette. 2012-01-31 01:32:40 +00:00
Doublestrike
d32b3c8e32 Thread safety: Tightened up conditions in FProgressBar, made a few changes to skin loading as appropriate. 2012-01-31 00:08:56 +00:00
Doublestrike
0eb128f948 Performance tweak: Cleared buffers on skin source images, unreferenced skin source images. 2012-01-30 13:05:17 +00:00
Doublestrike
ff329b1897 Sprites/skins: Everything except deck editor icons now in a sprite, and fully accessed using skin enums. This includes foils, creatures, and all icons in game.
Skin enums sub-categorized to allow clearer access. 
Default coordinates added to skin enums, so declaration and positioning happen simultaneously (in one place).
Removed old icons.
2012-01-30 05:29:37 +00:00
Doublestrike
bdeb80efca FSkin enums reorganized to smaller groups, implementing the SkinProp interface. This will facilitate the change to fully-skinnable symbols and icons in the near future. 2012-01-29 09:35:25 +00:00
slapshot5
027e56bde0 change the Colorless mana label back to the X thing it was before the Skin Enum changes (instead of the current U/B) 2012-01-23 04:47:08 +00:00
slapshot5
624ed2de02 fix Flashback displaying the incorrect icon. 2012-01-23 02:17:46 +00:00
Doublestrike
47d647bc24 FProgressBar created and applied to splash frame.
Various parts of preload process detailed in progress bar.

Further organization of FView to remove this-shouldn't-be-here stuff.
2012-01-22 01:21:00 +00:00
slapshot5
a2e9401e9d fix the Blue and White mana symbols in the Mana Pool area (Colorless changed, but I don't know if it was intended or not, so I left it.) 2012-01-21 14:53:22 +00:00
Doublestrike
d33c27a339 Big changes to skin:
- All symbols now included in sprite (but not accessible yet)
- Default symbols will load if preferred skin does not have that symbol
- Phase color swatch added (also not accessed yet)
- All skins updated to reflect this
2012-01-21 09:36:23 +00:00
Doublestrike
f0b66717b1 Refactored FSkin to use enums for access to its various elements. 2012-01-21 05:59:53 +00:00
Doublestrike
f90382b54a Solved splash swatch switch snafu. 2012-01-18 09:38:16 +00:00
Doublestrike
f7dc3eac58 Optimization: lightweight splash sprite loads before rest of skin (which soon will occur in preload bar). 2012-01-17 09:51:13 +00:00
Doublestrike
00545e0983 Small update to FSkin font derivations. 2012-01-16 01:28:33 +00:00
Doublestrike
ed06fa4acf Performance enhancement: fonts used in UI are now pre-derived once in skin. 2012-01-15 08:49:27 +00:00
Doublestrike
ef9dcd24df Added start button and logo to image sprites in each skin, and updated FSkin and home screen code to match. 2012-01-12 08:39:00 +00:00
slapshot5
08cea388dc filter out .DS_Store file name when looking for skins (created by Mac OS X Finder) 2011-12-27 02:11:25 +00:00
slapshot5
4ba2edfd75 FSkin was reading the wrong image coordinates for End Turn and Game Settings. fixed. 2011-12-18 06:46:38 +00:00
Doublestrike
ead16601a3 Settings submenu finished.
Multiple instances of oa2sa method consolidated into GuiUtils.
2011-12-15 08:51:14 +00:00
Doublestrike
ff4f136742 Fixed skin autodetect bug. 2011-12-15 01:32:03 +00:00
jendave
2236176d71 Checkstyle 2011-12-08 22:25:09 +00:00
Doublestrike
83ffea0787 Added focus, toggle, and disabled states to FButton and skins.
Note: Keyboard functionality had already been lost _before_ this commit.
2011-12-08 07:34:37 +00:00
slapshot5
2de0997e5f GUI updates:
1) remove LAF stuff
2) add a Chooser for Skin from the GuiHomeScreen (not fully functional yet)
3) hook up the GuiHomeScreen to use the New GUI (currently no option to use the old GUI)
2011-12-08 04:15:32 +00:00
Doublestrike
e539d97433 WompWomp's icons added.
FSkin fully streamlined for better memory management and easier
file access.

FButtons added into sprite.
2011-12-07 08:52:10 +00:00
Doublestrike
56194eda6e Minor update to FSkin. 2011-12-07 07:40:54 +00:00
Doublestrike
7710f9075e FSkin updated for better data storage and handling for icons, colors, and images. Now uses maps instead of mutators. 2011-12-07 07:30:41 +00:00
Doublestrike
658a136cce Modified dock buttons to wrap on smaller dock sizes. 2011-12-07 06:53:41 +00:00
slapshot5
fcb2b485c2 icons for Concede Game and View DeckList were switched in the Skin. This is now fixed. 2011-12-06 13:47:28 +00:00
Doublestrike
195f1141cb Added dock icons to icon map in FSkin. 2011-12-06 09:03:43 +00:00
Doublestrike
d354a97223 Removed unused icons in FSkin. 2011-12-06 08:59:08 +00:00
Doublestrike
a4d68f2bf2 Added mana icon versions to each skin.
Renamed texture1.jpg to bg_texture.jpg.

Removed old icon versions.

Added icon and font resize adapters to all pool labels.
2011-12-06 07:20:09 +00:00
Doublestrike
620924fd29 Enabled layout size saves.
A few aesthetic modifications.

Added "smith" skin.
2011-12-04 00:52:57 +00:00
slapshot5
c0b4aceb85 add the View Deck List option to the dock. Added this to the skin, but still need an actual icon for it. Not sure how to add the image itself to the skin in sprite.png? 2011-12-02 08:46:13 +00:00
jendave
b5aa6c7d03 Add License header to each file 2011-11-28 19:56:47 +00:00