Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring.

This commit is contained in:
Caspian Rychlik-Prince 2004-04-04 12:53:45 +00:00
parent a538d84eb1
commit 85130ebd90
17 changed files with 113 additions and 368 deletions

View file

@ -229,7 +229,7 @@ public class PositionTest extends BasicTest {
Window.update();
// render and paint if !minimized and not dirty
if(!Window.isMinimized()) {
if(Window.isVisible()) {
render();
} else {
// sleeeeeep
@ -237,7 +237,7 @@ public class PositionTest extends BasicTest {
}
// act on pause mode
paused(Window.isMinimized() || !Window.isFocused());
paused(!(Window.isVisible() || Window.isActive()));
// start sound after first paint, since we don't want
// the delay before something is painted on the screen