Search found 235 matches

by Look
Thu Nov 28, 2019 5:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing ancient style declaration from XBoard
Replies: 3
Views: 204

Re: Removing ancient style declaration from XBoard

Dann Corbit wrote:
Thu Nov 28, 2019 4:53 pm
If the symbol is set, the macro does that for you
Reading and understanding code with standard C is easier than these obsolete declarations.
by Look
Thu Nov 28, 2019 3:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing ancient style declaration from XBoard
Replies: 3
Views: 204

Removing ancient style declaration from XBoard

Hi, I want to run this code on XBoard source files. Note that it should be run in each sub-folder in XBoard since that seems safer to me. Also this works when there is a single line to be improved upon. Rest of correcting should be manual. Here is code so far : // This code corrects a P((args)) to (...
by Look
Mon Nov 11, 2019 6:48 pm
Forum: Computer Chess Club: General Topics
Topic: Fritz 17
Replies: 264
Views: 23590

Re: Fritz 17

HI,

without reading the whole thread , ChessBase article on Fritz17 is here.

Many GUI enhancements in my opinion.
by Look
Mon Nov 11, 2019 3:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

Sounds like you did not install it. Normally this is done by "sudo make install". This command would place the XBoard binary where it belongs, as well as the data files that XBoard needs in order to run. (The image files for the pieces, background bitmaps for the board, the master settings file, th...
by Look
Sat Nov 09, 2019 4:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

Also running xboard I get this :

Code: Select all

:~$ '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork/xboard' 
Gtk-Message: 19:48:28.871: Failed to load module "canberra-gtk-module"
No default pieces installed!
Select your own using '-pieceImageDirectory'. (Pawn)

by Look
Sat Nov 09, 2019 4:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

That is strange, because it says "0 errors", and warnings alone should not prevent creation of an executable. And I don't see any warnings from the linking phase (CCLD). Are you sure you are lookig for it in the right place? Do you see all the .o files that are produced by the CC commands? I am see...
by Look
Sat Nov 09, 2019 1:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

I am trying to compile XBoard in Code::Blocks IDE . I used ./configure command to generate Makefile . Now trying a rebuild I get : -------------- Clean: all in xboard_fork (compiler: GNU GCC Compiler)--------------- Executing clean command: make -f /home/mehdi/Documents/Code_Blocks_Projects/xboard_f...
by Look
Mon Nov 04, 2019 3:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

I have no idea how timers play any role in 'replay analysis'. But Xboard already display two timers, and has a dialog to specify time control that allows you to enter base time and increment. (Not sure how you could do such a thing with a button, though.) For instance imagine user set the training ...
by Look
Mon Nov 04, 2019 11:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

How does that need any new graphics? I thought it was just a matter of adding the played move(s) as a (parentheses-enclosed) 'comment' to the moves in training mode, as long as they differ from the move of the main line or from each other. That would be a pure back-end change (and thus work in XBoa...
by Look
Sun Nov 03, 2019 3:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 1568

Re: XBoard GTK

Version 2, IIRC. I don't know Glade. I suppose it is a tool for designing dialogs with GTK. XBoard does not use it; all its dialogs are generated dynamically from tables. It needed a routine to do that anyway for the Engine Settings dialogs, from the table of options it receives from the engine. I ...