summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/gnuchess.c (follow)
Commit message (Collapse)AuthorAge
* Fix for Chessbox bug FS#10363William Wilgus2017-02-01
| | | | | | | | | | | | | | | | Chessbox was overflowing GameList[240] causing the board to flip + crash GameCnt changed to unsigned char which allows the array to roll over to 0 after 255 define MAX_GAME_CNT 256 and GameList[MAX_GAME_CNT] along with 1 byte GameCnt should fix this issue dbg save routine left in for now to help identify any other problems Added bounds checking to prevent second bug found when loading .pgn files Change-Id: I2b615c8ecbed4368724412f80ce07346f3cf30a7
* Remove Whitespaces from chessboxWilliam Wilgus2017-01-31
| | | | | | Remove 1616 Whitespaces from chessbox Change-Id: I84c0dbd4a177eba50b9f7427f5695ae4b266aa5e
* Fix marginal buffer overflow in chessbox.Steve Bavin2011-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30358 a1c6a512-1295-4272-9138-f99709370657
* chessbox: fix 'i = i++', based on gnuchess4.0-pl80Rafaël Carré2010-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27278 a1c6a512-1295-4272-9138-f99709370657
* Remove various ABS() definitions with a single one using typeof (if using ↵Thomas Martitz2009-08-03
| | | | | | gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* revert plugin_api part of r18830, as this was the wrong solution for thoseFrank Gevaerts2008-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18831 a1c6a512-1295-4272-9138-f99709370657
* code police : fix some multiply defined variablesFrank Gevaerts2008-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18830 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* Accept patch from FS#7174 by Mauricio Peccorini with canges by me and Igor ↵Nils Wallménius2007-09-02
| | | | | | Kuzmin, chessbox now saves played games in a pgn file called .rockbox/rocks/games/chessbox.pgn git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14575 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7209 by Mauricio Peccorini, Make chessbox able to view games ↵Nils Wallménius2007-05-29
| | | | | | stored in PGN format git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13515 a1c6a512-1295-4272-9138-f99709370657
* Chessbox: Patch #5052 by Miguel A. Arevalo: opening book. * Simplified ↵Jens Arnold2006-04-15
| | | | | | drawing of board borders, and fixed a graphical glitch only visible on targets where all 4 borders are visible (ipod mini). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9676 a1c6a512-1295-4272-9138-f99709370657
* latest update by Miguel ArevaloMarcoen Hirschberg2006-03-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9037 a1c6a512-1295-4272-9138-f99709370657
* Patch #4736 for Chessbox from Miguel A. Arévalo - Added support for user ↵Dave Chapman2006-03-03
| | | | | | interaction while thinking, you can force move now with PLAY and quit with OFF (iRiver example). Yield only on Search as any Evaluate will be preceded by a Search. Plus some minor code policing from me to remove tabs in both the patch and the original code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8896 a1c6a512-1295-4272-9138-f99709370657
* Static allocation of ttable.Jens Arnold2006-02-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8820 a1c6a512-1295-4272-9138-f99709370657
* Fixes to Chessclock from Miguel (to make it work again after we broke his ↵Dave Chapman2006-02-23
| | | | | | patch), plus iPod button mapping changes from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8816 a1c6a512-1295-4272-9138-f99709370657
* New chessbox plugin by Miguel A. ArГ©valo, based on GNU Chess v2Hristo Kovachev2006-02-22
Not built yet because of a missing dependancy with the pieces' bitmaps. Someone with Makefile knowledge, please, look at it! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8778 a1c6a512-1295-4272-9138-f99709370657