Would someone be interested in programming....
Moderators: hgm, Rebel, chrisw
-
- Posts: 4556
- Joined: Tue Jul 03, 2007 4:30 am
Re: Would someone be interested in programming....
So, does it only support ttf files?
Your beliefs create your reality, so be careful what you wish for.
-
- Posts: 27809
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Would someone be interested in programming....
I guess so. I did not change anything in the basic mechanism for accessing and interpreting the fonts; it is still as Allessandro Scotti made it. I just expanded the number of piece types Winboard can support. In the native bitmap mode of Winboard the Queen-side alternatives for Rook, Knight and Bishop just show up as copies of of their King-side counterparts.
Perhaps I should have a go now at changing the board size as well. I have no idea how difficult this will be; one problem is that Winboard defines board width and height though the same constant BOARD_SIZE. So I would have to go through the entire code to decide in every place where this constant is used if it refers to the height or width of the board, and specify it accordingly...
Perhaps I should have a go now at changing the board size as well. I have no idea how difficult this will be; one problem is that Winboard defines board width and height though the same constant BOARD_SIZE. So I would have to go through the entire code to decide in every place where this constant is used if it refers to the height or width of the board, and specify it accordingly...
Re: Would someone be interested in programming....
You could also leave the constant and just make it uniformly bigger, and somehow invalidate the extra squares. Just a hacker's thought.hgm wrote:I guess so. I did not change anything in the basic mechanism for accessing and interpreting the fonts; it is still as Allessandro Scotti made it. I just expanded the number of piece types Winboard can support. In the native bitmap mode of Winboard the Queen-side alternatives for Rook, Knight and Bishop just show up as copies of of their King-side counterparts.
Perhaps I should have a go now at changing the board size as well. I have no idea how difficult this will be; one problem is that Winboard defines board width and height though the same constant BOARD_SIZE. So I would have to go through the entire code to decide in every place where this constant is used if it refers to the height or width of the board, and specify it accordingly...
-
- Posts: 27809
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Would someone be interested in programming....
Wow! I have a user-selectable board size now, through command-line options /boardWidth and /boardHeight.