Minor cleanup
This commit is contained in:
parent
f1c0d4584f
commit
305752d319
@ -157,7 +157,7 @@ static id sSharedStickHandler = nil;
|
|||||||
// By using a function with a shallow gradient at the origin, we can make the stick less sensitive at the centre (and hence
|
// By using a function with a shallow gradient at the origin, we can make the stick less sensitive at the centre (and hence
|
||||||
// easier to make fine adjustments). The functions I've used below are ax^n+bx where a+b=1 and n in an odd power.
|
// easier to make fine adjustments). The functions I've used below are ax^n+bx where a+b=1 and n in an odd power.
|
||||||
|
|
||||||
- (double) axisTransform: (double)axisvalue;
|
- (double) axisTransform: (double)axisvalue
|
||||||
{
|
{
|
||||||
if (fabs(axisvalue) < deadzone) return 0.0;
|
if (fabs(axisvalue) < deadzone) return 0.0;
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ ConstTable gOOGUIScreenIDConstTable = TABLE(sOOGUIScreenIDTableEntries);
|
|||||||
ConstTable gOOScanClassConstTable = TABLE(sOOScanClassTableEntries);
|
ConstTable gOOScanClassConstTable = TABLE(sOOScanClassTableEntries);
|
||||||
ConstTable gOOViewIDConstTable = TABLE(sOOViewIDTableEntries);
|
ConstTable gOOViewIDConstTable = TABLE(sOOViewIDTableEntries);
|
||||||
ConstTable gOOShipDamageTypeConstTable = TABLE(sOOShipDamageTypeTableEntries);
|
ConstTable gOOShipDamageTypeConstTable = TABLE(sOOShipDamageTypeTableEntries);
|
||||||
ConstTable gOOLegalStatusReasonConstTable = TABLE(sOOLegalStatusReasonTableEntries);
|
ConstTable gOOLegalStatusReasonConstTable = TABLE(sOOLegalStatusReasonTableEntries);
|
||||||
|
|
||||||
static void InitTable(JSContext *context, ConstTable *table);
|
static void InitTable(JSContext *context, ConstTable *table);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user