🕸📝Fergus Duniho wrote on Sat, Mar 28, 2020 11:09 PM UTC:
I just made some modifications to Gross Chess and the fairychess include file to use aliases for alternate piece names. Instead of the code I just showed you before, you can use this code:
alias Archbishop Cardinal;
setconst A Archbishop;
setconst a Archbishop;
But you will also have to copy some code from the Post-Move sections. The main change is that I added realname in front of const in expressions where I needed the function or subroutine name. Where I want to use the alias for display purposes, I did not use realname.
I just made some modifications to Gross Chess and the fairychess include file to use aliases for alternate piece names. Instead of the code I just showed you before, you can use this code:
But you will also have to copy some code from the Post-Move sections. The main change is that I added realname in front of const in expressions where I needed the function or subroutine name. Where I want to use the alias for display purposes, I did not use realname.