$Id: ChangeLog,v 1.1.2.10 2004/01/17 20:20:21 sparrow_hawk Exp $ 2004_01_17: Released mancala-gui 0.1.0! Makefile: - Added 'make install' and 'make uninstall' targets. graphics.c: - Fixed a bug valgrind found in the text-drawing code. 2004_01_12: graphics.c: - Fixed a memory leak. :-$ - Coded function to dim opponent's side of the board. - Fixed glaring bug in board-drawing code. main.c: - Fixed memory leak. 2004_01_08: graphics.c: - Cleaned up FillHole() in preparation for development of DrawBoard(). - Extracted DrawBoard() from main.c and cleaned it up substantially. - DrawBoard now works, centers the text, and otherwise looks really freaking good. I'm so totally modest. ;) graphics.h: - Added DrawBoard(), internalized FillHole(). main.c: - Removed DrawBoard(). - Centered the title. 2004_01_07: graphics.c: - Now prints stone numbers above 10 in text. - Added int->string conversion and size-checking. - Code centers text. - Tried to blit it, having problems with alpha transparency. graphics.[ch], main.c: - Modified FillHole() call. - Modified NewSurfaceFrom() call. 2004_01_06: graphics.c: - Abstracted code to create new surface using old as a model. - Tore out random stone-positioning code, wrote new code to reflect new stone graphics. graphics.h: - Fixed typo. main.c: - Added code to initialize SDL_ttf, load a font, and render the title. main.h: - #define'd the location of the Bitstream Vera fonts temporarily. - #define'd various font sizes. Makefile: - Added compiler flags to compile with SDL_ttf. stone[00-10].png: - Graphics now show the full number of stones instead of a single one. 2004_01_05: main.c: - Extracted specialized graphics routines to graphics.c, now called through graphics.h. - Kludged in code to display stones. Makefile: - Added graphics.c. graphics.c, graphics.h: - Added. - Wrote function to populate hole with random stones. 2004_01_04: Wrote code to load and display the board. 2003_12_28: Began graphical branch. ------------------------------------------------------------------------------- Pre-graphics Changes Makefile: - Modified to make more easily extensible and added ai-init. - May have solved the problem which necessitates two Makefiles. - Rewrote Makefiles to compile ai-test with ultimate. - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - Resynched Makefile with Makefile.bsd. Not pretty. Need a ./configure script. - Added recursive and "ultimate" ai modules; updated the Makefile to compensate. main.c: - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - Housekeeping and a dev-log update. - Have a nasty recursion bug partway squashed. Adding printf's and, more importantly, fprintf's, which should help me debug any future issues. - More minor bugfixes... rand_btw() got moved to the mancala common libs because I'm now using it in the recursive algorithm. - Latest revisions, mostly for portability issues. (Added new rules for building on BSD, fixed a long-standing bug with the BOARD ARRAYS.) Otherwise, pretty mundane. mancala.c: - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - More minor bugfixes... rand_btw() got moved to the mancala common libs because I'm now using it in the recursive algorithm. mancala.h: - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - More minor bugfixes... rand_btw() got moved to the mancala common libs because I'm now using it in the recursive algorithm. ai-init.c: - Added needed #include. - Abstracted the ai initialization routines. ai-init.h: Abstracted the ai initialization routines. ai-recurse.c: - Now uses ai-init routine. - Finished removing ptCount. Persistent bugger. - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - Deprecated ptCount. - Bug still isn't squashed... back to the way it was. - Cleaned up the code and added comments. - I squashed the bug's head, but his legs are still squirming. - Nasty infinite loop bug solved. Added code that recognizes when the game has been won. - Added more fprintf's, only to discover that C doesn't really appreciate my trying to open the same file handle with *every* iteration of the recursive function. Blast. Will need to move logging to wrapper, and pass the file handle on down. - Have a nasty recursion bug partway squashed. Adding printf's and, more importantly, fprintf's, which should help me debug any future issues. - Swatting bugs, added some printf's to try to discover where the problem lies. Yay. - Couple more small modifications... still hunting the big bug. - Fixed a big, should-have-been-obvious bug where the recursive function was actually modifying the boards for the main program. Added a layer of "insulation" (ie. another set of temporary boards) to the stub API function. - Pegged a couple obvious bugs. Loops weren't considering the last position in the *Board[] arrays. - Added depth-perception. Still chasing bugs. - Added random move feature to recursive algorithm. Discovered new bugs. - More minor bugfixes... rand_btw() got moved to the mancala common libs because I'm now using it in the recursive algorithm. - Ironed out some more bugs in the recursive algorithm. It's beginning to take shape. :) - Minor bugfixes. Recursive AI compiles... now to make it actually *work*. Heh. - Latest revisions, mostly for portability issues. (Added new rules for building on BSD, fixed a long-standing bug with the BOARD ARRAYS.) Otherwise, pretty mundane. - Added recursive and "ultimate" ai modules; updated the Makefile to compensate. ai-test.c: - ai-test now takes board layouts on the command line. - Merged ai-test-headless into trunk. Adding code to accept board data in three different formats. Direct input and file input work, now need to make command-line options work. - Cleaning up ai.h interitance broke ai-test. Added the relevant #include. - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - Messing with my test suite again. - More minor bugfixes. (...be vewy qwiet, ve are hunting a big wone...) ai-ultimate.c: - Working on the ai code... @#$%. - Now uses ai-init routine. - More progress -- working on the figuring-out-the-best-move code. - Function now prints outcome table. - In progress... - Ditching old code and rewriting... - Added logging to ultimate's API function. - Coded API function, cleaned up some "pseudocode". - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - Latest revisions, mostly for portability issues. (Added new rules for building on BSD, fixed a long-standing bug with the BOARD ARRAYS.) Otherwise, pretty mundane. - Added recursive and "ultimate" ai modules; updated the Makefile to compensate. ai.c: - Reworking inheritence broke ai.c -- fixed now. - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - More minor bugfixes... rand_btw() got moved to the mancala common libs because I'm now using it in the recursive algorithm. ai.h: - Eliminated inheritence cruftiness. - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. blankfile: (template) - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. README: - Added ai initialization routine to the AI API, updated dev-log. - Deprecated and removed Makefile.bsd; updated dev-log. - Added SF.net URL and $Source: /cvsroot/cmancala/mancala/src/Attic/ChangeLog,v $ directive to headers. - Added ai-test-headless branch, updated dev-log with additional info. - "bug" fixed. - Updated dev-log. - I squashed the bug's head, but his legs are still squirming. - Housekeeping and a dev-log update. - Not sure why the README file had a zero at its beginning, but it did. Gone. - Added random move feature to recursive algorithm. Discovered new bugs. - Updated DEV-LOG. :) - Ironed out some more bugs in the recursive algorithm. - Added recursive and "ultimate" ai modules; updated the Makefile to compensate. - First commit in SourceForge CVS. Lost the log off my system -- check README for development history up to this point.