diff options
| author | Simon Tatham <anakin@pobox.com> | 2007-02-26 20:35:47 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2007-02-26 20:35:47 +0000 |
| commit | 15f70f527a0a753285e3fa871bd4018e547fbb05 (patch) | |
| tree | d34aebfc6c8e4ad48f0c1aeabbbaff7432e5cc24 /rect.c | |
| parent | 3bfe0fb32eae41dcc213e1cef860ec421cc2540c (diff) | |
| download | puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.zip puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.tar.gz puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.tar.bz2 puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.tar.xz | |
Dariusz Olszewski's changes to support compiling for PocketPC. This
is mostly done with ifdefs in windows.c; so mkfiles.pl generates a
new makefile (Makefile.wce) and Recipe enables it, but it's hardly
any different from Makefile.vc apart from a few definitions at the
top of the files.
Currently the PocketPC build is not enabled in the build script, but
with any luck I'll be able to do so reasonably soon.
[originally from svn r7337]
Diffstat (limited to 'rect.c')
| -rw-r--r-- | rect.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -60,7 +60,11 @@ struct game_params { #define PREFERRED_TILE_SIZE 24 #define TILE_SIZE (ds->tilesize) +#ifdef SMALL_SCREEN +#define BORDER (2) +#else #define BORDER (TILE_SIZE * 3 / 4) +#endif #define CORNER_TOLERANCE 0.15F #define CENTRE_TOLERANCE 0.15F @@ -102,8 +106,10 @@ static int game_fetch_preset(int i, char **name, game_params **params) case 2: w = 11, h = 11; break; case 3: w = 13, h = 13; break; case 4: w = 15, h = 15; break; +#ifndef SMALL_SCREEN case 5: w = 17, h = 17; break; case 6: w = 19, h = 19; break; +#endif default: return FALSE; } |