In the VASL module users have access to a Mark Moved preference under the general tab in Preferences.
This preference seems to have disappeared between 3.6.11 and 3.6.12.
The mark moved functionality continues to work . . . which is the problem. There is no longer the capacity to turn it off which some players like to do.
I have tested this with various combinations of VASL and VASSL from VASL6.6.2 to VASL6.6.6 and from VASSAL3.6.7 to VASSAL.3.6.14. In those tests, moving from 3.6.11 to 3.6.12 is what caused the difference.
I am having an issue getting the Show Marked Moved preference to work.
I have downloaded 3.7.0-beta3. I have edited my VASL module and saved it using 3.7.0-beta3. When in Editor mode, I check Main Map properties and for “Mark Pieces that Move” I select Use Preferences Setting.
When I run VASL and go to preferences, the preference shows up in the General Tab. I deselect it. I restart VASSAL and VASL. I open a game and move a unit; it shows the Moved tab.
I check my VASSAL preferences file in AppData. . . . It shows markMoved = true; showMarkMoved = false.
I booted up one of my modules to check, and I had no problems using the exact same settings (the map set to “Use Preferences Setting” and then flipping on and off the “Show when pieces have been marked as moved (if module supports)” preference – with the preference on I see the “moved” tabs, when I turn the preference off the moved tabs disappear.
Can you send me the specific copy of the module you were working with so that I can see if I can reproduce it?
Oh I see – you guys aren’t actually using our MovementMarkable trait, you have your own custom code trait (MarkMoved.java) you use instead.
You’d just need to update your trait to check the preference in its “draw” and “boundingBox” methods. Shouldn’t be hard, see the code snappy below. (Obviously you will need to be compiling VASL with 3.7 code for that to be visible for you)
Eyeballing it I’m not actually sure why you guys have a forked Mark Moved trait because yours doesn’t seem to do anything “special” it’s just old? Though I imagine swapping back takes a bit of care and diligence that may not be what anybody wants to actually do.
I made the changes, including compiling the 3.7.0-beta3. When I run it in my IDE, I get the following:
java: cannot find symbol
symbol: method isShowMarkMoved()
location: class VASSAL.build.module.GlobalOptions
When I build VASL using Maven, it builds fine, using 3.7.0-beta3. I then run it using 3.7.0-beta3. It loads and opens a game. I move a unit, no MarkMoved tab, regardless of preference setting.
So, I still don’t have it set quite right. I don’t know what is causing the “cannot find symbol” error message. The MarkMoved.java class clearly imports VASSAL.build.module.GlobalOptions. The IDE has no problem recognizing the method call to isShowMarkMoved() until build time and then it goes AWOL.