Commit graph

376 commits

Author SHA1 Message Date
ehouse
58728ae00d remove glyph-measuring API just added (since it belongs in drawing,
not dict)
2005-07-08 03:08:16 +00:00
ehouse
9e76871306 (conditionally) modify dicts to support getting height of platform
glyphs, pass into drawing code so can be fetched and cached, and
implement for Palm.  This is to allow drawing glyphs (like Danish's
A-with-circle) that are taller than normal without the visual padding
the rest can have.  So far works for 68K/non-highres.  Will not
compile for ARM yet.
2005-07-07 03:46:07 +00:00
ehouse
4701ee8c34 update copyright year in about box 2005-06-27 06:05:14 +00:00
ehouse
978d840df7 put back functions that never should have been removed. 2005-06-27 05:45:28 +00:00
ehouse
e92234b324 cleanup: make module-local functions static 2005-06-25 05:43:56 +00:00
ehouse
8faf6a670c add default compile command 2005-06-25 05:43:04 +00:00
ehouse
e6b5d2d0e4 version to 4.2x 2005-06-23 04:23:06 +00:00
ehouse
fa945f74aa handle heartbeat timer and change to util_setTimer 2005-06-23 04:22:46 +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
3ab25c843b fix timer not getting drawn on highres screens 2005-06-23 04:21:35 +00:00
ehouse
5385c9f7dc BEYOND_IR now the default 2005-06-23 04:20:46 +00:00
ehouse
37dd97edf6 add NetLibGetHostByName 2005-05-01 18:23:28 +00:00
ehouse
af10fa0425 modify TARGET .prc name based on ARCH 2005-05-01 17:39:09 +00:00
ehouse
aef5cc3fc9 NetLibGetHostByName 2005-05-01 17:36:33 +00:00
ehouse
c56d76d743 add types for netlib funcs 2005-05-01 17:34:39 +00:00
ehouse
b1b9e96142 enable network-aware PNO build 2005-05-01 17:19:50 +00:00
ehouse
62b994e32e track whether running on POSE to work around NetLibSelect bug; track
whether addr needs re-resolving.
2005-04-03 16:55:38 +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
84cdcc8d30 remove unneeded param 2005-04-03 16:53:32 +00:00
ehouse
f5320a46bd deal with address change, esp of hostname, and separate name
resolution from socket opening.
2005-04-03 16:52:51 +00:00
ehouse
45621dffdb turn off linger on new sockets; use long enough timeout on name
resolution that can succeed on device.
2005-04-03 06:24:55 +00:00
ehouse
abc866af74 needn't open netlib from here! 2005-04-03 02:47:46 +00:00
ehouse
930b320011 first checked in. Works, but error recovery not done yet. 2005-04-03 02:46:31 +00:00
ehouse
3add8ccbf4 move generic send/receive stuff from palmir.c; tweak data structures
for relay scheme.
2005-04-03 02:00:44 +00:00
ehouse
8af072f8d9 move generic send/receive stuff from palmir.c. 2005-04-03 01:59:57 +00:00
ehouse
656bcac3aa modify ip-params dialog for new relay-based scheme, using new struct
fields and dialog objects.
2005-04-03 01:58:02 +00:00
ehouse
b6d3ad8a07 add XP_LD 2005-04-03 01:53:07 +00:00
ehouse
0839ce0337 remove ip-related stuff to new files 2005-04-03 01:47:34 +00:00
ehouse
b56b4f7b37 add palmip.c; change how upload works 2005-04-03 01:39:08 +00:00
ehouse
38bd3d4528 correct spelling 2005-03-15 06:27:21 +00:00
ehouse
5e547eb8b0 move playerNum into dsi so can be used in formatting score 2005-03-15 06:26:58 +00:00
ehouse
68d6d04459 merge from palm 1.4 branch changes to allow arm-only, etc builds from
commandline.
2005-03-08 05:36:33 +00:00
ehouse
b652a2952d fix from branch: position tray buttons correctly in highres case 2005-02-23 14:18:22 +00:00
ehouse
ff276276e3 fix VERSION id 2005-02-20 18:22:21 +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
c23ca0c1f6 use old default locations for tray buttons in non-highres case 2004-11-17 03:50:47 +00:00
ehouse
cce9086e6b ship this mutha! 2004-11-16 04:10:26 +00:00
ehouse
f72c757fa0 At user's suggestion, provide 'R' as the shortcut for "tiles left"
(and so change to "remaining tiles")
2004-11-16 04:09:35 +00:00
ehouse
b4afa129cb fix bug on (high-res screens that can't do tiny font) where value was
drawn too low.
2004-11-16 04:08:41 +00:00
ehouse
d94d6d715a get spanish and catalan compiling again (translation of changed strings needed) 2004-11-14 20:01:29 +00:00
ehouse
6a517c254c version string -> rc2 2004-11-14 16:31:10 +00:00
ehouse
edd2c61976 add HintAtts param to draw_drawBoardArrow; in tiles, draw letter after
number so on those OS versions where winOverlay flag is ignored what's
erased will be part of the value rather than of the letter; use
nativeFormat in offscreenWindow so highres will work.
2004-11-14 16:19:21 +00:00
ehouse
81595bcb06 var name change 2004-11-14 16:17:47 +00:00
ehouse
188fabce40 "Explain robot scores" -- same as on Wince 2004-11-14 14:33:18 +00:00
ehouse
70dfd97628 Change to "Pick tiles face-up" to match PPC version. 2004-11-14 00:19:45 +00:00
ehouse
f45de1395d draw hint rect segments a line at a time to avoid overwriting
blank-marking erasures.  Just doing the erasing after doesn't work
because it's really a circle and too much shows up.
2004-11-14 00:19:13 +00:00
ehouse
8219e62b83 use XP_MALLOC rather than MemPtrNew 2004-11-13 17:43:31 +00:00
ehouse
6eda5326d8 comment 2004-11-13 16:03:15 +00:00
ehouse
f57dbc0a5f don't scroll when menu's frontmost 2004-11-13 16:01:30 +00:00
ehouse
5c43414073 add string shown when copying dictionary 2004-11-13 05:22:33 +00:00
ehouse
dc07e33c50 pass globals to palm_dictionary_make, and use it to draw a crude
string on board when copying dictionaries from card to memory -- since
that can take several seconds.
2004-11-13 05:21:59 +00:00
ehouse
774b5a27cc pass globals to palm_dictionary_make 2004-11-13 05:20:35 +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
b0fd07a571 add comment 2004-11-11 15:21:50 +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
efc1800f87 Add string resource giving a path in addition to /palm/Launcher where
we'll search for dictionaries so users can unclutter the default dir.
2004-11-11 07:49:48 +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
6b212d60d9 wrap launch-68K option in compile-time flag off by default 2004-11-08 14:50:05 +00:00
ehouse
1e964a1211 In about screen point users at sourceforge site for manual. 2004-11-08 14:48:19 +00:00
ehouse
9d7e7b6f4b wrap launch-68K option in compile-time flag off by default; version to
rc1
2004-11-08 14:46:22 +00:00
ehouse
53f7ebe068 wrap launch-68K option in compile-time flag off by default 2004-11-08 14:44:52 +00:00
ehouse
a80a8dd431 add new tiles left menuitem 2004-11-06 02:40:53 +00:00
ehouse
2ed865a388 new string for remaining tiles dlg; include dict name in values dialog
string.
2004-11-06 02:39:30 +00:00
ehouse
d5acba0345 new constants for new menuitem 2004-11-06 02:37:38 +00:00
ehouse
815b2a0b3e ifdef out likely-dead code 2004-11-06 02:36:23 +00:00
ehouse
df691a5403 use symbolic constant 2004-11-06 02:34:49 +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
9575cdc08b palmaskFromStrId changed 2004-11-05 14:48:06 +00:00
ehouse
042e02723e Change button strings and constants to YES,NO 2004-11-05 14:46:47 +00:00
ehouse
057d4b8505 Tweak strings in reponse to user comments. 2004-11-05 14:44:55 +00:00
ehouse
5c24ed2b40 Change constants to YES,NO; beta5 2004-11-05 14:43:05 +00:00
ehouse
b1b8e3efd3 add fitButtonToString 2004-11-05 14:40:37 +00:00
ehouse
4453db94d0 palmaskFromStrId changed 2004-11-05 14:37:38 +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
766aa6ecbf palmaskFromStrId changed 2004-11-05 14:30:31 +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
b5f2ebcddf shorten button by one row of pixels 2004-11-03 03:59:19 +00:00
ehouse
fd93e1c13a tweaks on tray position 2004-11-03 03:58:46 +00:00
ehouse
4b37b0dc94 skip Pts string if doing highres without small font capability 2004-11-03 03:57:07 +00:00
ehouse
e96013f4c9 Remove main form since needn't be localized 2004-11-02 06:29:45 +00:00
ehouse
7bc78dc264 Remove main form since needn't be localized; tweak tile picker
buttons.
2004-11-02 06:26:50 +00:00
ehouse
d3d1b11209 first checked in. 2004-11-02 06:25:16 +00:00
ehouse
4bc0c52ed7 move "1" to left 2004-11-02 06:24:14 +00:00
ehouse
6e8a9e0314 add .bin files 2004-11-02 06:23:22 +00:00
ehouse
9f2f93d439 add high density arrow icons. Move main form in from localized file
since it has no strings, and make tray buttons' default positions those
for highres.
2004-11-02 06:23:02 +00:00
ehouse
efb12fe68d stop spewing progress info 2004-11-02 06:21:03 +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
f55cf52162 tray can be in two positions/have two sizes only, either scrunched for
highres or square as it's always been.
2004-11-02 06:07:07 +00:00
ehouse
be480dba5b more tweaks to high-res drawing -- and don't call WinSetScalingMode
when it's not available!
2004-11-02 06:05:23 +00:00
ehouse
e589127516 put bitmaps into families with high-res members 2004-10-31 17:14:44 +00:00
ehouse
93073bd29a first checked in 2004-10-31 17:08:35 +00:00
ehouse
e8ec608fd2 change undo menu text 2004-10-30 20:20:13 +00:00
ehouse
3843769913 version now b3 2004-10-30 19:54:51 +00:00
ehouse
7a03036e48 fix to compiler with FEATURE_HIGHRES undefined 2004-10-30 19:29:33 +00:00
ehouse
d8db652dca add FntBaseLine and WinSetScalingMode 2004-10-30 19:26:02 +00:00
ehouse
881e81425c Draw tray tile value very small in highres case. 2004-10-30 19:25:23 +00:00
ehouse
0fe2c7adb4 string for reporting missing dicts 2004-10-30 04:52:17 +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