aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/Q2DataTest.java
blob: 5606b99fb9cd4ad447b9068212f44d2d02d8fd97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Q2DataTest.java
 * Copyright Bytonic Software (C) 2004
 *
 * $Id: Q2DataTest.java,v 1.2 2004-09-19 19:53:51 hzi Exp $
 */
package jake2.qcommon;

import jake2.Jake2;

/**
 * Q2DataTest
 */
public class Q2DataTest {

	static void run() {
		while (FS.LoadFile("pics/colormap.pcx") == null) {
			Jake2.Q2Dialog.showChooseDialog();
			
			try {
				synchronized(Jake2.Q2Dialog) {
					Jake2.Q2Dialog.wait();
				}
			} catch (InterruptedException e) {}
		}
		Jake2.Q2Dialog.showStatus();
	}
}