Crossfire JXClient, Trunk
|
Public Member Functions | |
String | getDebugKeyboardFilename () |
String | getDebugMouseFilename () |
String | getDebugProtocolFilename () |
String | getDebugScreenFilename () |
String | getDebugSoundFilename () |
float | getFontScaleFactor () |
Resolution | getResolution () |
String | getServer () |
String | getSkin () |
int | getTileSize () |
boolean | isAvoidCopyArea () |
boolean | isDebugGui () |
boolean | isFullScreen () |
void | parse (@NotNull final String @NotNull[] args) |
Static Public Attributes | |
static final String | DEFAULT_SKIN = "ragnorok" |
Private Attributes | |
boolean | avoidCopyArea |
boolean | debugGui |
String | debugKeyboardFilename |
String | debugMouseFilename |
String | debugProtocolFilename |
String | debugScreenFilename |
String | debugSoundFilename |
float | fontScaleFactor = 1.0F |
boolean | fullScreen |
Resolution | resolution |
String | server |
String | skin = DEFAULT_SKIN |
int | tileSize = DEFAULT_TILE_SIZE |
Static Private Attributes | |
static final int | DEFAULT_TILE_SIZE = 64 |
Command line argument parser.
Definition at line 34 of file Options.java.
String com.realtime.crossfire.jxclient.main.Options.getDebugKeyboardFilename | ( | ) |
Returns the filename for keyboard debug logs.
Definition at line 248 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.debugKeyboardFilename.
String com.realtime.crossfire.jxclient.main.Options.getDebugMouseFilename | ( | ) |
Returns the filename for mouse debug logs.
Definition at line 257 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.debugMouseFilename.
String com.realtime.crossfire.jxclient.main.Options.getDebugProtocolFilename | ( | ) |
Returns the filename for Crossfire protocol debug logs.
Definition at line 239 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.debugProtocolFilename.
String com.realtime.crossfire.jxclient.main.Options.getDebugScreenFilename | ( | ) |
Returns the filename for screen debug logs.
Definition at line 266 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.debugScreenFilename.
String com.realtime.crossfire.jxclient.main.Options.getDebugSoundFilename | ( | ) |
Returns the filename for sound debug logs.
Definition at line 275 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.debugSoundFilename.
float com.realtime.crossfire.jxclient.main.Options.getFontScaleFactor | ( | ) |
Returns the font scale factor.
Definition at line 317 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.fontScaleFactor.
Resolution com.realtime.crossfire.jxclient.main.Options.getResolution | ( | ) |
Returns the resolution.
Definition at line 292 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.resolution.
String com.realtime.crossfire.jxclient.main.Options.getServer | ( | ) |
Returns the Crossfire server to connect to.
Definition at line 334 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.server.
String com.realtime.crossfire.jxclient.main.Options.getSkin | ( | ) |
Returns the skin name.
Definition at line 301 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.skin.
int com.realtime.crossfire.jxclient.main.Options.getTileSize | ( | ) |
Returns the size of a tile in the map view.
Definition at line 309 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.tileSize.
boolean com.realtime.crossfire.jxclient.main.Options.isAvoidCopyArea | ( | ) |
Returns whether map scrolling is done by copying pixel areas. If unset, always repaint all map squares.
Definition at line 343 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.avoidCopyArea.
boolean com.realtime.crossfire.jxclient.main.Options.isDebugGui | ( | ) |
Returns whether debugging of GUI elements is enabled.
Definition at line 283 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.debugGui.
boolean com.realtime.crossfire.jxclient.main.Options.isFullScreen | ( | ) |
Returns whether full-screen mode should be enabled.
Definition at line 325 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.fullScreen.
void com.realtime.crossfire.jxclient.main.Options.parse | ( | @NotNull final String @NotNull[] | args | ) |
Parse command line arguments.
args | the command line arguments |
Definition at line 130 of file Options.java.
References com.realtime.crossfire.jxclient.main.Options.avoidCopyArea, com.realtime.crossfire.jxclient.main.Options.debugGui, com.realtime.crossfire.jxclient.main.Options.debugKeyboardFilename, com.realtime.crossfire.jxclient.main.Options.debugMouseFilename, com.realtime.crossfire.jxclient.main.Options.debugProtocolFilename, com.realtime.crossfire.jxclient.main.Options.debugScreenFilename, com.realtime.crossfire.jxclient.main.Options.debugSoundFilename, com.realtime.crossfire.jxclient.main.Options.DEFAULT_SKIN, com.realtime.crossfire.jxclient.main.Options.fontScaleFactor, com.realtime.crossfire.jxclient.main.Options.fullScreen, com.realtime.crossfire.jxclient.util.Resolution.parse(), com.realtime.crossfire.jxclient.main.Options.resolution, com.realtime.crossfire.jxclient.main.Options.server, com.realtime.crossfire.jxclient.main.Options.skin, and com.realtime.crossfire.jxclient.main.Options.tileSize.
Referenced by com.realtime.crossfire.jxclient.main.JXClient.main().
|
private |
Whether map scrolling is done by copying pixel areas. If unset, always repaint all map squares.
Definition at line 124 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.isAvoidCopyArea(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
Enable debugging of GUI elements.
Definition at line 56 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.isDebugGui(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The filename for keyboard debug logs or
to not log keyboard input.
Definition at line 70 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getDebugKeyboardFilename(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The filename for mouse debug logs or
to not log mouse input.
Definition at line 77 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getDebugMouseFilename(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The filename for Crossfire protocol message logs or
to not log protocol messages.
Definition at line 63 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getDebugProtocolFilename(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The filename for screen debug logs or
to not log screen logs.
Definition at line 84 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getDebugScreenFilename(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The filename for sound debug logs or
to not log sound logs.
Definition at line 90 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getDebugSoundFilename(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
static |
The default skin name.
Definition at line 118 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.JXClient.JXClient(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
staticprivate |
The default size of tiles in the map view in pixels.
Definition at line 39 of file Options.java.
|
private |
The scale factor for font sizes.
Definition at line 112 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getFontScaleFactor(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
Whether full-screen mode should be enabled.
Definition at line 44 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.isFullScreen(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The resolution to use or
for default.
Definition at line 96 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getResolution(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The Crossfire server to connect to or
to show the server selections screen.
Definition at line 51 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getServer(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The skin name to load.
Definition at line 102 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getSkin(), and com.realtime.crossfire.jxclient.main.Options.parse().
|
private |
The size of tiles in the map view in pixels.
Definition at line 107 of file Options.java.
Referenced by com.realtime.crossfire.jxclient.main.Options.getTileSize(), and com.realtime.crossfire.jxclient.main.Options.parse().