camera: zoom slider tooltip & zoom constants
This commit also adds constants for: VarClientInt.CAMERA_ZOOM_FIXED_VIEWPORT = 73 VarClientInt.CAMERA_ZOOM_RESIZABLE_VIEWPORT = 74 WidgetID.Options.CAMERA_ZOOM_SLIDER_HANDLE = 15 WidgetInfo.OPTIONS_CAMERA_ZOOM_SLIDER_HANDLE
This commit is contained in:
@@ -162,8 +162,8 @@ public final class ScriptID
|
||||
*
|
||||
* Updates the VarClientInts (73, 74) to this same value
|
||||
* <ul>
|
||||
* <li> int Reset zoom position </li>
|
||||
* <li> int Reset zoom position </li>
|
||||
* <li> int Reset zoom position for fixed viewport mode</li>
|
||||
* <li> int Reset zoom position for resizable viewport mode</li>
|
||||
* </ul>
|
||||
*/
|
||||
@ScriptArguments(integer = 2)
|
||||
|
||||
@@ -52,6 +52,12 @@ public enum VarClientInt
|
||||
*/
|
||||
INPUT_TYPE(5),
|
||||
|
||||
/**
|
||||
* The game sets this to the same value as {@link #CAMERA_ZOOM_RESIZABLE_VIEWPORT}
|
||||
*/
|
||||
CAMERA_ZOOM_FIXED_VIEWPORT(73),
|
||||
CAMERA_ZOOM_RESIZABLE_VIEWPORT(74),
|
||||
|
||||
MEMBERSHIP_STATUS(103),
|
||||
|
||||
INVENTORY_TAB(171),
|
||||
|
||||
@@ -870,6 +870,7 @@ public class WidgetID
|
||||
|
||||
static class Options
|
||||
{
|
||||
static final int CAMERA_ZOOM_SLIDER_HANDLE = 15;
|
||||
static final int MUSIC_SLIDER = 37;
|
||||
static final int SOUND_EFFECT_SLIDER = 43;
|
||||
static final int AREA_SOUND_SLIDER = 49;
|
||||
|
||||
@@ -525,6 +525,7 @@ public enum WidgetInfo
|
||||
SEED_VAULT_ITEM_TEXT(WidgetID.SEED_VAULT_GROUP_ID, WidgetID.SeedVault.ITEM_TEXT),
|
||||
SEED_VAULT_INVENTORY_ITEMS_CONTAINER(WidgetID.SEED_VAULT_INVENTORY_GROUP_ID, WidgetID.SeedVault.INVENTORY_ITEM_CONTAINER),
|
||||
|
||||
OPTIONS_CAMERA_ZOOM_SLIDER_HANDLE(WidgetID.OPTIONS_GROUP_ID, WidgetID.Options.CAMERA_ZOOM_SLIDER_HANDLE),
|
||||
OPTIONS_MUSIC_SLIDER(WidgetID.OPTIONS_GROUP_ID, WidgetID.Options.MUSIC_SLIDER),
|
||||
OPTIONS_SOUND_EFFECT_SLIDER(WidgetID.OPTIONS_GROUP_ID, WidgetID.Options.SOUND_EFFECT_SLIDER),
|
||||
OPTIONS_AREA_SOUND_SLIDER(WidgetID.OPTIONS_GROUP_ID, WidgetID.Options.AREA_SOUND_SLIDER),
|
||||
|
||||
Reference in New Issue
Block a user