annotate game/G.java @ 185:28a40f23746b dev-0_87

Bump version.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 16 Mar 2017 13:29:41 +0200
parents cf0256f13612
children 189cd8fe2304
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
7bf508d363bd Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 162
diff changeset
1 /*
7bf508d363bd Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 162
diff changeset
2 * Ristipolku Game Engine
7bf508d363bd Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 162
diff changeset
3 * (C) Copyright 2011 Matti 'ccr' Hämäläinen <ccr@tnsp.org>
7bf508d363bd Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 162
diff changeset
4 */
75
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 package game;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 import java.awt.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 import java.awt.geom.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 import java.awt.event.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 import java.awt.image.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 import java.awt.event.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 import java.awt.font.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 import javax.imageio.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 import javax.swing.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 import java.util.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 import java.io.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 import game.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 import javax.sound.sampled.*;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19
167
7bf508d363bd Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 162
diff changeset
20
75
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 public class G
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 {
185
28a40f23746b Bump version.
Matti Hamalainen <ccr@tnsp.org>
parents: 183
diff changeset
23 public static final String version = "0.87";
105
75015dfd47ef Move version number info to G.java.
Matti Hamalainen <ccr@tnsp.org>
parents: 76
diff changeset
24
170
b9bc493ae53c Modularize and clean up code.
Matti Hamalainen <ccr@tnsp.org>
parents: 167
diff changeset
25 public static Font baseFont;
75
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 public static Font fonts[];
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 public static FontMetrics metrics[];
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 public static SoundManager smgr;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 public static Dimension screenDim;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 public static BufferedImage lautaBG = null, lautaBGScaled = null;
b586ce4f6d97 Large GUI code cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 }