Commit graph

66 commits

Author SHA1 Message Date
ehouse
1e8966c6f7 Fix compile errors due to missing UNUSED macros 2006-08-17 01:31:49 +00:00
ehouse
4daabf6fe5 Set -Wunused-parameter for those versions of gcc that support it, and
deal with the output by removing params where possible and elsewhere
by adding XP_UNUSED macro wrapping __attribute__((unused)).  There
should be NO change in function in spite of the large number of files.
2006-08-16 13:44:44 +00:00
ehouse
504f9641ea remove parameter following API change 2006-06-28 03:11:26 +00:00
ehouse
19414ae505 Finish scrollbar work by passing number of visible rows to
util_trayHiddenChange, which means an API change.  In board, calculate
bottom of board based on bottom of tray when tray is hidden, and round
so that it's an exact multiple of cell height.  In wince, take
advantage of the new parameter to fix the scrollbar so that very
constrained boards can be scrolled even when the tray is hidden.
2006-05-19 13:44:05 +00:00
ehouse
3a4c5dfff6 catch up with API change 2006-05-09 04:04:56 +00:00
ehouse
3388fc9f7b Remove HIGHRES compile-time tests: all palm releases will have HIGHRES
support now; build in different directories.
2006-03-31 10:57:01 +00:00
ehouse
92485783af update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
57ccb08528 fix for when BEYOND_IR not defined 2005-09-17 19:49:53 +00:00
ehouse
75b8f5342a add error messages 2005-09-04 20:34:16 +00:00
ehouse
c0bdfb54c9 constant name changed 2005-08-21 14:18:56 +00:00
ehouse
ae91d38e45 Clean up and fix timer code. 2005-08-03 01:14:49 +00:00
ehouse
1b40b1956e add const to match new signature 2005-07-30 02:44:42 +00:00
ehouse
bc3515272c Get rid of unused param 2005-07-14 02:54:47 +00:00
ehouse
84ec7e38f2 Get rid of WinCopyRect-based method of drawing letters and values in
tray tiles, since it seems not to work on all versions of PalmOS.
Simply drawing seems fine where tested; will try close clipping if
erasure happens elsewhere.  Draw board-top stuff one pixel higher on
highres devices, and fix scoreboard being too narrow on high-res
devices.
2005-07-14 02:45:10 +00:00
ehouse
e92234b324 cleanup: make module-local functions static 2005-06-25 05:43:56 +00:00
ehouse
684697216d fix timer not getting drawn on highres screens; handle heartbeat timer
and change to util_setTimer
2005-06-23 04:22:27 +00:00
ehouse
b485deb357 add palm_util_addrChange; track whether running on POSE to work around
NetLibSelect bug.
2005-04-03 16:54:54 +00:00
ehouse
8af072f8d9 move generic send/receive stuff from palmir.c. 2005-04-03 01:59:57 +00:00
ehouse
472f159245 catch up with API changes; make buffer bigger so crash doesn't happen
in tile picker for long-named players.
2005-01-24 05:21:45 +00:00
ehouse
c0efcd6b00 util function sig change 2005-01-13 04:37:36 +00:00
ehouse
5dd17b4729 fix non-high-res build so compiles again 2004-11-17 03:54:35 +00:00
ehouse
8219e62b83 use XP_MALLOC rather than MemPtrNew 2004-11-13 17:43:31 +00:00
ehouse
f57dbc0a5f don't scroll when menu's frontmost 2004-11-13 16:01:30 +00:00
ehouse
045383f7dd pass globals to palm_dictionary_make; handle five-way up/down in ask
dialog scrolling
2004-11-13 05:20:07 +00:00
ehouse
0433e3cc66 check that there's a form up before calling FrmCustomAlert (when
warning about missing dict)
2004-11-11 15:11:54 +00:00
ehouse
0664c9b089 bug: use ce's rule for hiding tray; works with always-visible case now
expected on high-res
2004-11-09 02:13:43 +00:00
ehouse
53f7ebe068 wrap launch-68K option in compile-time flag off by default 2004-11-08 14:44:52 +00:00
ehouse
6c22698ca8 add wrapper makeSimpleStream; handle new TILES_LEFT menuitem; server
now writes dict name to counts/values stream
2004-11-06 02:33:43 +00:00
ehouse
6a18321387 palmaskFromStrId changed as part of proving "Yes" and "No" buttons to
queries by default.  "Ok" becomes the answer only when there's a title
and (it's assumed) only one button needed.
2004-11-05 14:35:28 +00:00
ehouse
8080280ccc apply human-count test when hiding tray when quitting. No replaces
Cancel.
2004-11-04 02:01:47 +00:00
ehouse
fd93e1c13a tweaks on tray position 2004-11-03 03:58:46 +00:00
ehouse
1b0dc2cfbf tray can be in two positions/have two sizes only, either scrunched for
highres or square as it's always been.  Initial position is for
highres; at app startup, relocate if device is low-res. Also, fix
glitch in tile picker.
2004-11-02 06:20:29 +00:00
ehouse
5d7c608c61 report missing dicts; don't hide tray on close when only one human in
game
2004-10-30 04:51:46 +00:00
ehouse
affb392d8d relaunch app when switching from ARM to 68K 2004-10-13 01:05:53 +00:00
ehouse
f20f51abb7 deal with older app prefs version 2004-10-09 00:17:29 +00:00
ehouse
d7b82f905a engineStarting takes number of blanks; in ARM case show progress only
when non-zero.
2004-10-07 13:58:42 +00:00
ehouse
76ce9bae9c put randomness back in; bring up as ARM by default 2004-10-05 02:29:31 +00:00
ehouse
4081b11c6f remove dead field 2004-10-02 03:52:46 +00:00
ehouse
cceb68c831 separate highres support from screen resizing so can do only the former now 2004-10-01 01:40:47 +00:00
ehouse
c50fc5f37a swap shorts in prefs; workaround wierd codegen/pose bug; put break
back where accidentally removed.
2004-09-29 13:23:06 +00:00
ehouse
7f17483c89 tweaks to aid ARM debugging 2004-09-24 01:33:48 +00:00
ehouse
1cb340cf95 don't save prefs (for now) 2004-09-23 02:20:53 +00:00
ehouse
4843df586d cleanup unrelated to pnolet work 2004-09-21 04:57:00 +00:00
ehouse
748b316187 Temp code for PilotMain when pno; unrelated cleanup. 2004-09-19 03:27:13 +00:00
ehouse
1788752939 fix signed bug that broke scrolling in ask dialog 2004-08-31 13:27:28 +00:00
ehouse
a4198e4ddd add palm_util_getTraySearchLimits; addressed, for penDown only,
confusion between whether pen events are handled and whether the
handling means a redraw is required.  Might need to do same for
penMoved and penUp.
2004-06-25 06:43:46 +00:00
ehouse
42c4acd29e tweak board to right by one so gets bigger border in highres case 2004-05-16 15:02:41 +00:00
ehouse
09fb750eb1 double scale after reducing for border size 2004-05-16 14:32:24 +00:00
ehouse
b50c6f0b1d Inval whole board in hires case too; fix part of problem with vertical
scoreboard.
2004-05-15 01:14:51 +00:00
ehouse
e1d3b222a4 Allow deletion of picked tiles during face-up picking; add string for
attempt to undo tile assignment.
2004-05-14 08:59:10 +00:00