summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/Display.java
Commit message (Collapse)AuthorAgeFilesLines
* Engine: Fixed many potential bugsStarla Insigna2009-03-191-4/+8
| | | | Identified by FindBugs. http://findbugs.sourceforge.net/
* Engine: Added Event Thread cancellationStarla Insigna2009-02-231-27/+34
|
* Engine: Rewrote Database Transition storageStarla Insigna2009-02-221-1/+7
|
* Engine: Abstracted game state transitionsStarla Insigna2009-02-161-0/+33
| | | | Previously, every game state transition was manually executed with a thread, some exception handling and Display. Now, Display has a method that takes care of it without leaving all of the bulk in random classes.
* Engine: Tuned Full Screen ModeStarla Insigna2009-02-161-1/+30
| | | | | | Now, in full screen mode, the image is no longer stretched strangely, it's simply zoomed to the highest possible value. Plus, when returning to non-full-screen mode, decoration is returned so the X button is available. Refs #14
* Engine: Hid PuzzleApplication's gameFrameStarla Insigna2009-02-151-4/+4
|
* Engine: Fixed unstable transitionsStarla Insigna2009-02-151-2/+2
| | | | | | When a transition completed, the transition was supposed to be unset. However, there was a local variable that hid the correct variable so it wasn't being unset. This has been fixed with a class reference. Transitions do not appear to randomly not execute now. Fixes #9
* Engine: Refactored retieval of FontMetricsStarla Insigna2009-02-141-0/+22
|
* Engine: Compacted MessageWindowStarla Insigna2009-02-141-1/+1
| | | | | | MessageWindow is now shorter, and more compact. The font size has also been decreased to allow for more text. Closes #5
* Engine: Wrote Message SystemStarla Insigna2009-02-121-14/+38
| | | | | | | | MessageWindow now has a static method run by SpecialEvent that triggers the message box. This method blocks until the message is complete and renders via Display's new feature. The message box also now features the "next" arrow and the letters gradually appear. Display has also been re-worked to have a list of a new interface called Renderable, which is any object that can be rendered. Such objects (such as MessageWindow) can register to Display, which will render them onto the game frame after the GameState has been rendered. Closes #5.
* Engine: Added global fontStarla Insigna2009-02-111-4/+45
| | | | | | | | Converted RM2K's RMG2000.fon to a TrueType font using some long and difficult processes (involving first converting to a .bdf, then to a .ttf). With this standard font included in the package, there will be no worry of strange fonts, as TrueType is a standard. Also, probably because of the size of the new font, the white-tail bug has disappeared. This seems rickety, but because this is the only font that should be used, it should be ok. And if the problem ever arises again, the ticket can be reopened. Fixes #6 and #1.
* Added support for other System filesStarla Insigna2009-02-081-0/+0
| | | | | | Because the coordinates and transparent color previously used were tuned for the default System file, the coordinates were changed to be more forgiving and the color is picked from the last pixel of the first row from the graphic. Also, for some reason, every file in source control has been marked as modified, even though most haven't been. Don't know why this happened.
* Fixed a transition problemStarla Insigna2009-02-071-2/+0
|
* Implemented SlideTransitionStarla Insigna2009-02-061-1/+9
|
* Fixed Transition processingStarla Insigna2009-02-051-10/+28
|
* Started working on new TransitionsStarla Insigna2009-02-031-47/+90
| | | | The old transition implementation was old and patchy. The new one is planned to be extensible and to work properly with all transitions. Currently this is not so, but with work it hopefully will be.
* Replaced checked exceptions with RuntimeExceptionStarla Insigna2009-01-241-2/+2
|
* Imported sourcesStarla Insigna2009-01-171-0/+105