So I have another bug for which I am trying to track down the cause. I think I may have found culprit but I need confirmation.
Is there a maximum value that can be processed by the "switch (id)" functions in clbkVCRedrawEvent and clbkVCMouseEvent?
As you know, Apollo Space craft had lots of buttons and switches, To keep track of them all and register them in the VC I've been using a simple 4 digit numerical code. The first switch on panel 2 is "0201" the second is "0202" and so on. This has worked well for me so far but now I'm on panel 12 (the LEM had a total of 14) and I'm getting odd errors where clicking on one switch activates another. I've investigated I suspect that my numbering system may have hit some sort of upper boundry that is causing allocation errors.
Note: I am aware the the index system works in base 8 and have already checked to make sure that my code contains no invalid values.
My suspiscion comes from the fact that rearranging the index order causes the probelem to effect different switches.
(Defining panel 12 before panel 1 causes panel 12 to function normally and panel 1 to act up and vice versa)
Is there a maximum value that can be processed by the "switch (id)" functions in clbkVCRedrawEvent and clbkVCMouseEvent?
As you know, Apollo Space craft had lots of buttons and switches, To keep track of them all and register them in the VC I've been using a simple 4 digit numerical code. The first switch on panel 2 is "0201" the second is "0202" and so on. This has worked well for me so far but now I'm on panel 12 (the LEM had a total of 14) and I'm getting odd errors where clicking on one switch activates another. I've investigated I suspect that my numbering system may have hit some sort of upper boundry that is causing allocation errors.
Note: I am aware the the index system works in base 8 and have already checked to make sure that my code contains no invalid values.
My suspiscion comes from the fact that rearranging the index order causes the probelem to effect different switches.
(Defining panel 12 before panel 1 causes panel 12 to function normally and panel 1 to act up and vice versa)