Commit graph

1685 commits

Author SHA1 Message Date
ehouse
b6de222fb5 Change LANG to XWLANG to avoid conflict with ENV variable. 2006-08-11 01:44:08 +00:00
ehouse
cfb5e57d07 fix broken ce build: remove ifdefs. 2006-08-11 01:33:19 +00:00
ehouse
cbddf0c194 Base the number of bytes used to store tiles on the number in the
current dictionary.  This allows us to continue to open games saved
with older code using older dictionaries while still supporting the
new format for up to 64 tiles.  Old versions may crash when opening
games created by new versions, but that's probably ok.
2006-08-10 01:21:31 +00:00
ehouse
e84cb5b8eb increase possible number of unique tiles from 32 to 64 in order to
support Slovak which has 40.  This change is preliminary: it seems to
work for both existing and dicts with >32 chars, but it breaks backwards
compatibility: existing saved games will crash this code.  I think the
fix is to deduce the number of bits per tile from the number in the
dictionary being used, but that's not in yet.
2006-08-09 04:56:34 +00:00
ehouse
7850b9e064 add another const 2006-08-09 04:52:43 +00:00
ehouse
897e50bf42 was being just a bit too cute 2006-08-09 04:49:17 +00:00
ehouse
7c61b21365 make some ptrs const 2006-08-09 04:48:34 +00:00
ehouse
3025df4646 ignore the usual files 2006-07-29 21:45:43 +00:00
ehouse
bb5bf58297 hide the rest of the files 2006-07-29 21:39:46 +00:00
ehouse
b1e50662ec hide dict files -- playing with svn:ignore 2006-07-29 21:36:24 +00:00
ehouse
fbd3716fc3 tweak button location 2006-07-28 08:04:00 +00:00
ehouse
eacc930c31 fix change between Local players/Total players when device role changes in newgame dlg 2006-07-28 08:03:33 +00:00
ehouse
3b11f5ac1f better compile-command in header 2006-07-28 07:53:18 +00:00
ehouse
b07854961e turn on flip menu for PPC build too 2006-07-28 07:52:40 +00:00
ehouse
468a8626bf cleanup: remove overly verbose logging 2006-07-28 07:51:49 +00:00
ehouse
0d57c2c8b2 Cleanup prior to adding Swedish to BYOD. 2006-07-22 16:05:45 +00:00
ehouse
24a124dd94 get symbian compiling. Untested. 2006-07-22 16:04:39 +00:00
ehouse
c0a5ce4401 check for remaining memory being < 0, not just <=, since we allocate exactly as much as we need. Fixes failure due to being out of memory at same time as having finished parsing stdin. 2006-07-22 16:03:14 +00:00
ehouse
d35f5100ab Compensate for OS' failure to deliver penup events by checking for
pendownness at critical points when an up event should have been
processed: when another pen down happens, when about to scroll, and
when events (menus and buttons) occur.  This seems to catch all the
lingering miniwindow problems. Add flip menuitem (win32 only for now).
2006-07-07 08:39:31 +00:00
ehouse
49a709f3db Replace a bunch of doMirror parameters with a single function, called
after a flip, that invalidates y,x for every x,y that's invalid.
2006-07-07 08:27:13 +00:00
ehouse
74e97d0bb9 remove rc3 from version: ready to ship 2006-07-05 00:16:18 +00:00
ehouse
8e1291a4e6 round up when determining top coord of letter in cell. Fixes "Q"
getting drawn higher than other ascii chars, and does not break even
taller chars in Danish or Portuguese.
2006-07-04 00:16:08 +00:00
ehouse
83d8d8b9e8 Exclude high-res bitmaps from lowres build 2006-07-03 23:45:18 +00:00
ehouse
b2d326c2f5 on low-res screens, don't expand timer's clip rect to avoid erasing cell border below. 2006-07-03 23:44:51 +00:00
ehouse
9e5b4930b0 ppm files no longer used. Remove. 2006-07-03 23:06:25 +00:00
ehouse
0d466f34b1 Enlarge Preferences... button by one pixel 2006-07-03 22:34:36 +00:00
ehouse
78dd247307 add more cases to messageToBuf. Effects debug build only. 2006-07-03 22:32:29 +00:00
ehouse
147c55ee43 up version to rc3; make all elements of prefs dlg the same height so they
line up when moving between global and local sets.
2006-07-02 01:08:45 +00:00
ehouse
00e4c06857 add messageToBuf (debug-only ); change newgame's J button to R (for
"rearrange"); tweak locations of various dialog widgets for better
layout.
2006-07-02 00:42:41 +00:00
ehouse
a71d2a6f33 keep calling newg_juggle until there's a change. 2006-07-02 00:40:16 +00:00
ehouse
762070e6a9 fix showing of timer field when timer disabled when switching from global
to local prefs; use num-getter utils rather than convert to/from text.
2006-07-02 00:39:31 +00:00
ehouse
ef2101f4f8 in juggle, need to adjust rows after swapping to get passwd fields enabled
in sync with passwd checkbox.
2006-07-02 00:34:41 +00:00
ehouse
a272ab15ef Get rid of param removed from board_handlePenUp. 2006-07-01 14:22:09 +00:00
ehouse
d860e63e16 UI compromise on juggle: force something to happen, so the user sees a
change, then juggle again so the outcome is random.  This works on Palm
because draws are not cached: if two players wind up not moving you still
see them move then move back.
2006-07-01 14:18:00 +00:00
ehouse
c9abae4abd juggle until something changes. This is better than there sometimes being
no change, until I figure out how to force drawing as on Palm.
2006-07-01 14:14:48 +00:00
ehouse
3188946364 default dict now gzipped (no real change) 2006-07-01 14:13:29 +00:00
ehouse
4fd379d663 newg_juggle returns bool indicating whether anything changed 2006-06-29 03:38:25 +00:00
ehouse
34a1f737e0 don't cast size to a char! 2006-06-28 14:11:46 +00:00
ehouse
644b57d22c A couple of tweaks so it works on byod with sample wordlist. 2006-06-28 03:38:42 +00:00
ehouse
9ad529c6b6 remove parameter following API change 2006-06-28 03:11:26 +00:00
ehouse
00d2c5c0ff Support for Portuguese based on info from user in Brazil 2006-06-28 03:08:22 +00:00
ehouse
46c5433b74 removed a param from board_handlePenUp 2006-06-27 06:31:36 +00:00
ehouse
c6598bef8a randIntArray runs once and returns whether array is modified. Tray calls
again until it is.  newgame calls once: it's possible that juggling won't
do anything.  Still pending: do we tell users when nothing changed, or
leave them to figure out that it's not a bug?
2006-06-27 06:30:44 +00:00
ehouse
99571a7580 remove unused parameter 2006-06-26 04:39:48 +00:00
ehouse
78b67f5200 Up version string to rc2. 2006-06-24 01:22:47 +00:00
ehouse
33c94620fb Turn on BitBlt scrolling. 2006-06-24 01:22:10 +00:00
ehouse
765638289b Rewrite juggle to just create a second set of players in juggled order.
The previous too-cute algorithm failed when any player wasn't moving.
2006-06-24 01:20:44 +00:00
ehouse
e8731492b4 implement vertical scrolling using BitBlt. It's faster and smoother, but
commented out for now since it may be better not to add so late in the cycle.
2006-06-22 04:59:18 +00:00
ehouse
8277d3736a Use new xplatform newgame logic to replace palm's in newgame.c, and make other
changes (shifting util functions around) that follow from that.  Back
version number down to 4.1.5 since that'll be the next shipped from this
branch.  Add juggle button to newgame -- the whole point of this.
2006-06-22 04:57:46 +00:00
ehouse
f4659b73b0 Use new xplatform newgame logic to replace palm's in newgame.c, and make other
changes (shifting util functions around) that follow from that.  Back
version number down to 4.1.5 since that'll be the next shipped from this
branch.  Add juggle button to newgame -- the whole point of this.
2006-06-22 04:57:08 +00:00