repeat click question

General Modding Information/Questions; support/discussion/questions

Moderator: thunderchero

Forum rules
:idea: Please search before starting new topic. :idea:
There is a good chance it has already been asked.
Post Reply
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7851
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

repeat click question

Post by thunderchero »

Hi Everyone,

I was looking at wdf files and buttons example the "turn" has option to be able to have "repeat click" and "repeat rate" this does work.

I was hoping to add this function to list box example build box to add ships without repeatedly clicking over and over.

I have found very little info in ida but here is what I have found

offset of push button entry 2Ah 4 byte is for repeat click, 0 = off 1 = on
offset of push button entry 2Eh 4 byte is for repeat rate, value = rate
at 52D770 "Push Button Create From WDF" sub these 2 offsets are read before "Push Button Create" sub is called.
at 52D7D0 "Push Button Create" sub

the listbox does not look to use these offsets Dcer had them listed for color and unknown.
at 5461B0 "List Box Create From WDF" sub
at 546210 "List Box Create" sub

I figure this would first need to force "List Box Create From WDF" to read the offsets for 2Ah 4 byte is for repeat click and 2Eh 4 byte is for repeat rate.
but after that is where I am getting lost I have not been able to see how those offsets are used in Push Button Create 52D7D0.

any thoughts?
Post Reply

Return to “General Modding Information/Questions”