Commit Graph

21 Commits

Author SHA1 Message Date
Sloth
7adc31890c - Fixed copying modal spells. 2013-07-30 11:31:55 +00:00
Chris
3e4323d10c Updated the org.eclipse.jdt.core.prefs and .classpath files to make them Java 7 compatible. 2013-06-22 12:09:49 +00:00
Hellfish
f63c516683 *Readded Optional Trigger autoaccept/decline/ask, moved to PlayerController.
*Removed deprecated exception throwing in method body template.
*Fixed Deathgreeters trigger not being optional.
2013-04-29 18:13:07 +00:00
myk
8fdf5a9636 remove svn:ignore tags for generated data 2013-02-28 18:22:35 +00:00
myk
b007e3943c - fixed resize cursor not appearing when hovering between columns in table headers
- added forge-specific spinner widget (FSpinner)
- allowed labels to have their toggle state read externally and added configuration to set whether the onClick command is executed on mouse button down or mouse button up (FLabel)
- added builder pattern to FTextField and autoset properties to common values
- fixed header comments in WrapLayout
- renamed DialogCustomFormat to the more generic DialogChooseSets since I use it now from the filters too; extended its functionality to run a specified command on ok button click
- removed Filters dockable panel
- added old filters functionality to the stats buttons above the catalog table (stats can no longer be removed via a preference setting)
- combined scattered metadata about the filters (e.g. icon, label, filter predicate) into a single enum
- rewrote filter utility functions to not have any side effects (they now use no global data/singletons)
- added "Owned" column to spell shop catalog, indicating number of cards already owned by player (can remove column with preference)
- don't count the "click" as a sort command when resizing a column
- exposed top-level main world custom format in QuestController -- other format-retrieving methods would be masked by the current world selection
- added utility fn to TextUtils to create a (locale-independent) Title out of an ENUM
- added a templated Pair<T, V> utility class for ad-hoc two-value parameter returning
- prevented invalid enum values in editor_preferred.xml from causing errors
2013-01-30 22:04:21 +00:00
jendave
1a389a576b Fix license headers 2012-03-19 15:23:55 +00:00
jendave
5ebdfd259e Add GPL header for code grabbed from the Arcane project 2011-11-28 21:26:40 +00:00
jendave
b5aa6c7d03 Add License header to each file 2011-11-28 19:56:47 +00:00
jendave
a212aedbef fix header 2011-11-20 23:44:12 +00:00
jendave
51962d8c01 Add jautodoc prefs for Eclipse 2011-11-02 22:36:55 +00:00
Braids
1e0d9cb937 Fix default comment and body of setters to improve readability. Added TODO marker in body to remind programmer to change parameter's name. 2011-08-27 23:24:14 +00:00
Braids
6274d5dbb4 Change default Eclipse project settings to automatically generate code and comments that are more consistent with CheckStyle.
These are all up for debate, so I can revert anything someone particularly hates.
2011-08-27 22:38:29 +00:00
jendave
d9a785ee3a init2 2011-08-09 19:34:12 +00:00
jendave
41c0f4f24d finish cleanup 2011-08-09 19:07:02 +00:00
jendave
f753e95178 upload 2011-08-07 06:51:32 +00:00
jendave
20a3b0b6d3 Checking 1.5 compatibility
SwingBuilder caused a couple other problems. It is also contained in ord.jdesktop, so I replaced it with that one
Preferences also contained stringPropertyNames(), which only exists since 1.6
2011-08-06 05:57:44 +00:00
jendave
e6fcccea92 Code cleanup:
-removed obsolete image-related classes
-resolved all warnings in the forge packages
2011-08-06 03:26:49 +00:00
jendave
7c23c0bb3f Big change that should solve the memory leak
-replaced the old ImageCache class with ImageCache2
-extracted the card picture- and detail code from GuiDisplay/DeckEditor into separate classes (in forge.gui.game). therefore, CardDetailUtil and forge.CardPanel were deleted. GuiDisplayUtil is no longer used to create the card panels.

TESTS:
-confirmed all changed GUIs (but the quest deck editor - changes are the same as normal deck editor) to show details and pictures.
-I played a game with reduced heap size (-Xmx200M). Occasionally the image cache size shrinked along with the used memory.
-In a game without reduced heap size (memory usage ~500M, over 1000 cached images), i noticed slowdown when some images were missing.
-I noticed the stack elements now having a border with the card's color; this doesn't hurt IMO.

NOT WORKING
I wasn't able to adapt one thing: GUI_PictureHQ, i just didn't know what it does. for everything else to work, some code sections were commented out and tagged with "TODO reenable"
2011-08-06 03:25:05 +00:00
jendave
ada770f7ac - LQ images shouldn't scale higher than a ratio of 1 anymore.
- AI should consider Bushido now when declaring attackers / blockers.
- Fixed a bug which would sometimes bring up an error report when a static effect left play.
- Fixed Ensnare text.
2011-08-06 03:23:48 +00:00
jendave
1f38fb8894 Deleted the old ErrorViewer class in the default package, added imports for forge.gui.ErrorViewer in many of the classes that used it.
Fixed a bug in forge.gui.ListChooser that threw a NullPointerException when trying to convert Integer to int

Replaced Font.MONOSPACED by "Monospaced" in forge.error.ErrorViewer for better Java 1.5 compatibility
2011-08-06 02:38:46 +00:00
jendave
e0224bd465 2011-08-06 02:37:41 +00:00