Toggle power SW cursors can't be customized

Bug #896075 reported by FS-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
Fix Released
Medium
AlexB

Bug Description

Ares: trunk v0.1.973 & ft-superweapons branch v0.1.972
Currently Toggle Power SW is hardcoded to use (always as valid & not valid cursors) the 384 frame in mouse.sha & it ignores the Ares cursors customization in Super weapons.

##### STEPS TO REPRODUCE #####
I tried with this code:

[TogglePowerSpecial]
UIName=NOSTR:Toggle Power
Name=Toggle Power
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=0.001
Action=TogglePower
SidebarImage=
ShowTimer=no
DisableableFromShell=no ; gs this determines which superweapons are turned off by the checkbox
FlashSidebarTabFrames=0
AIDefendAgainst=no
; Toggle Power Cursor
Cursor.Frame=684 ; added new cursors for mouse.sha
Cursor.Count=9
Cursor.Interval=5
Cursor.MiniFrame=63
Cursor.MiniCount=-1
Cursor.HotSpot=Center,Middle
; "Not possible" cursor
NoCursor.Frame=693
NoCursor.Count=1
NoCursor.Interval=5
NoCursor.MiniFrame=52
NoCursor.MiniCount=-1
NoCursor.HotSpot=Center,Middle

Revision history for this message
AlexB (alexander-b) wrote :

TogglePower is not an actual SW and it will ignore all SW settings, so this is to be expected. There are many problems with TogglePower, and most of them can be fixed by making it a proper command, but the cursor issue would still be there.

Revision history for this message
AlexB (alexander-b) wrote :

New cursor tags are called [General]TogglePowerCursor and [General]TogglePowerNoCursor.

Changed in ares:
assignee: nobody → AlexB (alexander-b)
milestone: none → 0.8
status: New → Fix Committed
AlexB (alexander-b)
Changed in ares:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.