obj v0025 g_settings - cwtickle/danoniplus GitHub Wiki
â ãĒãã¸ã§ã¯ããĒããĄãŦãŗãšãĢæģã
g_settings
æĻčĻ
- č¨åŽįģéĸã§é¸æã§ãããĒããˇã§ãŗå(ããŧå)ã¨ã
åč¨åŽãŽãĢãŧãŊãĢäŊįŊŽãč¨åŽé įŽåĨãĢįŽĄįãããĒãã¸ã§ã¯ãã - ãĒããˇã§ãŗåãĢã¤ããĻã¯ããŽååãããŽãžãžčĄ¨į¤ēããããŽã§ã¯ãĒãã
g_lblNameObj.u_(ãĒããˇã§ãŗå)
ãĢ寞åŋããååã襨į¤ēãããã
ãã ããg_lblNameObj
å ãĢg_settings
å ã§æåŽãããĒããˇã§ãŗåãåå¨ããĒãå ´åã¯ã
ããŽãĒããˇã§ãŗåãããŽãžãžįģéĸ襨į¤ēãããã
įæãŋã¤ããŗã°
- ååčĩˇåæã
- ãã ããäģĨä¸ãŽãããããŖã¯åįãĢįæãããã
ãããããŖå | ããŧãšã¨ãĒãå¤æ°ãĒ㊠|
---|---|
speeds (éåēĻ) | maxSpeed, minSpeed (čéĸããããŧ) |
scrolls (ãšã¯ããŧãĢ) | g_keyObj.scrollDirX_Y |
gauges (ã˛ãŧã¸č¨åŽ) | customGauge, gaugeX (čéĸããããŧ), g_gaugeOptionObj |
autoPlays (ãĒãŧãããŦã¤) | g_keyObj.assistPosX_Y |
ãããããŖ
const g_settings = {
speeds: [...Array((C_MAX_SPEED - C_MIN_SPEED) * 20 + 1).keys()].map(i => C_MIN_SPEED + i / 20),
speedNum: 0,
motions: [C_FLG_OFF, `Boost`, `Brake`],
motionNum: 0,
reverses: [C_FLG_OFF, C_FLG_ON],
reverseNum: 0,
scrolls: [],
scrollNum: 0,
shuffles: [C_FLG_OFF, `Mirror`, `Asym-Mirror`, `Random`, `Random+`, `S-Random`, `S-Random+`],
shuffleNum: 0,
gauges: [],
gaugeNum: 0,
autoPlays: [C_FLG_OFF, C_FLG_ALL],
autoPlayNum: 0,
adjustments: [...Array(C_MAX_ADJUSTMENT * 20 + 1).keys()].map(i => (i - C_MAX_ADJUSTMENT * 10) / 10),
adjustmentNum: C_MAX_ADJUSTMENT * 10,
volumes: [0, 0.5, 1, 2, 5, 10, 25, 50, 75, 100],
appearances: [`Visible`, `Hidden`, `Hidden+`, `Sudden`, `Sudden+`, `Hid&Sud+`],
appearanceNum: 0,
filterLocks: [C_FLG_OFF, C_FLG_ON],
filterLockNum: 0,
opacitys: [10, 25, 50, 75, 100],
scoreDetails: [`Speed`, `Density`, `ToolDif`],
scoreDetailNum: 0,
};
g_settings.volumeNum = g_settings.volumes.length - 1;
g_settings.opacityNum = g_settings.opacitys.length - 1;