Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8471 - Little fixes for the snake2 plugin

Attached to Project: Rockbox
Opened by Dima Ryazanov (Dima) - Thursday, 17 January 2008, 20:04 GMT+2
Last edited by Andree Buschmann (Buschel) - Sunday, 20 February 2011, 20:45 GMT+2
Task Type Patches
Category Games
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

A few little changes:

1) Use fb_data as the type of bitmap data - simpler and more portable.
2) read_line returns -1 on error - handle that.
3) Bitmap sizes might not match the screen size exactly. If the screen is a little wider, then snake2_right image would show up all the way on the right of the screen, instead of adjacent to the rest of the game.
   snake2-fixes.patch (2.5 KiB)
 apps/plugins/snake2.c |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

This task depends upon

Closed by  Andree Buschmann (Buschel)
Sunday, 20 February 2011, 20:45 GMT+2
Reason for closing:  Out of Date
Additional comments about closing:  Patch cannot be applied anymore. Also it seems like the proposed changed are either in or solved in another way. I cannot see any issue with svn on larger screens.

Loading...