forked from len0rd/rockbox
puzzles: resync with upstream
This brings the code to upstream commit 3ece3d6 (I've made my own Rockbox- specific changes on top of that). Changes include using C99 `bool' throughout, and minor logic fixes for some puzzles. Change-Id: Ie823e73ae49a8ee1de411d6d406df2ba835af541
This commit is contained in:
parent
f08d218e67
commit
b3356e3aff
116 changed files with 8845 additions and 8423 deletions
|
|
@ -46,7 +46,7 @@ void free_keys(key_label *keys, int nkeys)
|
|||
* keyless, reversible, but visually completely obfuscatory masking
|
||||
* function to the mine bitmap.
|
||||
*/
|
||||
void obfuscate_bitmap(unsigned char *bmp, int bits, int decode)
|
||||
void obfuscate_bitmap(unsigned char *bmp, int bits, bool decode)
|
||||
{
|
||||
int bytes, firsthalf, secondhalf;
|
||||
struct step {
|
||||
|
|
@ -288,7 +288,7 @@ void draw_rect_corners(drawing *dr, int cx, int cy, int r, int col)
|
|||
draw_line(dr, cx + r, cy + r, cx + r/2, cy + r, col);
|
||||
}
|
||||
|
||||
void move_cursor(int button, int *x, int *y, int maxw, int maxh, int wrap)
|
||||
void move_cursor(int button, int *x, int *y, int maxw, int maxh, bool wrap)
|
||||
{
|
||||
int dx = 0, dy = 0;
|
||||
switch (button) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue