Commit graph

491 commits

Author SHA1 Message Date
ehouse
c7d851ca18 don't use arm-palmos* tools if arm-elf* tools available. Current
version on debian testing builds bad code.
2006-01-08 22:19:24 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
2719bb39b2 fix for when BEYOND_IR not defined 2005-09-17 19:49:53 +00:00
ehouse
685adf53ad use comms_setAddr rather than modifying const to set resolved address. 2005-09-04 20:34:52 +00:00
ehouse
c319711cb1 add error messages 2005-09-04 20:34:16 +00:00
ehouse
6c1f8c4bcc TALL_FONTS (support for Danish tall letters) now on by default 2005-09-04 20:32:16 +00:00
ehouse
df5c274c31 constant name changed 2005-08-21 14:18:56 +00:00
ehouse
1fd6afcaf9 Clean up and fix timer code. 2005-08-03 01:14:49 +00:00
ehouse
c67c8054b0 add const to match new signature 2005-07-30 02:44:42 +00:00
ehouse
0a8b5bb563 Get rid of unused param 2005-07-14 02:54:47 +00:00
ehouse
b015224188 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
1cc517cca3 don't use %c on ARM. Crashes due to my bad StrPrintF implementation. 2005-07-08 08:30:42 +00:00
ehouse
591e43d752 new functions for measuring glyphs 2005-07-08 08:29:37 +00:00
ehouse
b77e2999b8 Moving glyph-measuring code to drawing; fix for highres case. 2005-07-08 03:14:43 +00:00
ehouse
ff5ea1cb44 Moving glyph-measuring code to drawing 2005-07-08 03:10:21 +00:00
ehouse
c672b00afa remove glyph-measuring API just added (since it belongs in drawing,
not dict)
2005-07-08 03:08:16 +00:00
ehouse
3d067ccbbc (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
a7eba95a25 update copyright year in about box 2005-06-27 06:05:14 +00:00
ehouse
d29698c1b0 put back functions that never should have been removed. 2005-06-27 05:45:28 +00:00
ehouse
2abb6fe77f cleanup: make module-local functions static 2005-06-25 05:43:56 +00:00
ehouse
2c0a818ada add default compile command 2005-06-25 05:43:04 +00:00
ehouse
e404d77f87 version to 4.2x 2005-06-23 04:23:06 +00:00
ehouse
b1536b6d38 handle heartbeat timer and change to util_setTimer 2005-06-23 04:22:46 +00:00
ehouse
45cc7595cd 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
e0f5a64399 fix timer not getting drawn on highres screens 2005-06-23 04:21:35 +00:00
ehouse
d4dd21fc42 BEYOND_IR now the default 2005-06-23 04:20:46 +00:00
ehouse
1e03b53d1d add NetLibGetHostByName 2005-05-01 18:23:28 +00:00
ehouse
1925e769a2 modify TARGET .prc name based on ARCH 2005-05-01 17:39:09 +00:00
ehouse
68dbf2560f NetLibGetHostByName 2005-05-01 17:36:33 +00:00
ehouse
2dbf014118 add types for netlib funcs 2005-05-01 17:34:39 +00:00
ehouse
4c587df9f3 enable network-aware PNO build 2005-05-01 17:19:50 +00:00
ehouse
f58a885ce2 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
88f4c3749b add palm_util_addrChange; track whether running on POSE to work around
NetLibSelect bug.
2005-04-03 16:54:54 +00:00
ehouse
83e24bb9fa remove unneeded param 2005-04-03 16:53:32 +00:00
ehouse
b5f09c1dd2 deal with address change, esp of hostname, and separate name
resolution from socket opening.
2005-04-03 16:52:51 +00:00
ehouse
b64c359075 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
75b0e6cf11 needn't open netlib from here! 2005-04-03 02:47:46 +00:00
ehouse
1c38bcf6ed first checked in. Works, but error recovery not done yet. 2005-04-03 02:46:31 +00:00
ehouse
0a0bea17ed move generic send/receive stuff from palmir.c; tweak data structures
for relay scheme.
2005-04-03 02:00:44 +00:00
ehouse
803371ef5a move generic send/receive stuff from palmir.c. 2005-04-03 01:59:57 +00:00
ehouse
8e5f222fe6 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
d8f23ba643 add XP_LD 2005-04-03 01:53:07 +00:00
ehouse
52bf5f3e8f remove ip-related stuff to new files 2005-04-03 01:47:34 +00:00
ehouse
5539c05080 add palmip.c; change how upload works 2005-04-03 01:39:08 +00:00
ehouse
3b18ba9605 correct spelling 2005-03-15 06:27:21 +00:00
ehouse
89c1ba92c3 move playerNum into dsi so can be used in formatting score 2005-03-15 06:26:58 +00:00
ehouse
81583e30b5 merge from palm 1.4 branch changes to allow arm-only, etc builds from
commandline.
2005-03-08 05:36:33 +00:00
ehouse
34462d05d6 fix from branch: position tray buttons correctly in highres case 2005-02-23 14:18:22 +00:00
ehouse
f161c2b31e fix VERSION id 2005-02-20 18:22:21 +00:00
ehouse
51f7adb650 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
be8b96424a util function sig change 2005-01-13 04:37:36 +00:00
ehouse
91d9e9b65b fix non-high-res build so compiles again 2004-11-17 03:54:35 +00:00
ehouse
39f10f0f67 use old default locations for tray buttons in non-highres case 2004-11-17 03:50:47 +00:00
ehouse
cfbc11cbb4 ship this mutha! 2004-11-16 04:10:26 +00:00
ehouse
e9b945de9a 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
09f044a0d4 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
f063ef165b get spanish and catalan compiling again (translation of changed strings needed) 2004-11-14 20:01:29 +00:00
ehouse
9289b81dba version string -> rc2 2004-11-14 16:31:10 +00:00
ehouse
4d1473d2fc 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
e363cddf6a var name change 2004-11-14 16:17:47 +00:00
ehouse
87c1d16f0e "Explain robot scores" -- same as on Wince 2004-11-14 14:33:18 +00:00
ehouse
532a514b22 Change to "Pick tiles face-up" to match PPC version. 2004-11-14 00:19:45 +00:00
ehouse
cd0b87027a 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
549b89049c use XP_MALLOC rather than MemPtrNew 2004-11-13 17:43:31 +00:00
ehouse
055311ed49 comment 2004-11-13 16:03:15 +00:00
ehouse
fbb08f7d84 don't scroll when menu's frontmost 2004-11-13 16:01:30 +00:00
ehouse
4dd83e59dd add string shown when copying dictionary 2004-11-13 05:22:33 +00:00
ehouse
734d951472 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
221ba3d907 pass globals to palm_dictionary_make 2004-11-13 05:20:35 +00:00
ehouse
30bf7512fb pass globals to palm_dictionary_make; handle five-way up/down in ask
dialog scrolling
2004-11-13 05:20:07 +00:00
ehouse
3bbf872406 add comment 2004-11-11 15:21:50 +00:00
ehouse
244d5b6833 check that there's a form up before calling FrmCustomAlert (when
warning about missing dict)
2004-11-11 15:11:54 +00:00
ehouse
953f580554 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
1c08a0318d 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
ed6f0ea65f wrap launch-68K option in compile-time flag off by default 2004-11-08 14:50:05 +00:00
ehouse
fe72b3ae9c In about screen point users at sourceforge site for manual. 2004-11-08 14:48:19 +00:00
ehouse
a8491beaf6 wrap launch-68K option in compile-time flag off by default; version to
rc1
2004-11-08 14:46:22 +00:00
ehouse
5122a003b6 wrap launch-68K option in compile-time flag off by default 2004-11-08 14:44:52 +00:00
ehouse
ea4a948c04 add new tiles left menuitem 2004-11-06 02:40:53 +00:00
ehouse
0ffa557a88 new string for remaining tiles dlg; include dict name in values dialog
string.
2004-11-06 02:39:30 +00:00
ehouse
c0f7dbfb5a new constants for new menuitem 2004-11-06 02:37:38 +00:00
ehouse
2e15ffd6f9 ifdef out likely-dead code 2004-11-06 02:36:23 +00:00
ehouse
fe8636f4d7 use symbolic constant 2004-11-06 02:34:49 +00:00
ehouse
ea98508e43 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
b49a134fb0 palmaskFromStrId changed 2004-11-05 14:48:06 +00:00
ehouse
751ec48489 Change button strings and constants to YES,NO 2004-11-05 14:46:47 +00:00
ehouse
dc01186302 Tweak strings in reponse to user comments. 2004-11-05 14:44:55 +00:00
ehouse
671856469d Change constants to YES,NO; beta5 2004-11-05 14:43:05 +00:00
ehouse
ac6a51dfc7 add fitButtonToString 2004-11-05 14:40:37 +00:00
ehouse
92bcab58c7 palmaskFromStrId changed 2004-11-05 14:37:38 +00:00
ehouse
2ab5ffe0d7 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
080676b89f palmaskFromStrId changed 2004-11-05 14:30:31 +00:00
ehouse
8a4ebebe5a apply human-count test when hiding tray when quitting. No replaces
Cancel.
2004-11-04 02:01:47 +00:00
ehouse
eff5ed5fc6 shorten button by one row of pixels 2004-11-03 03:59:19 +00:00
ehouse
48afd331ef tweaks on tray position 2004-11-03 03:58:46 +00:00
ehouse
51b55f4979 skip Pts string if doing highres without small font capability 2004-11-03 03:57:07 +00:00
ehouse
aaaa414d6f Remove main form since needn't be localized 2004-11-02 06:29:45 +00:00
ehouse
f7b0ba508f Remove main form since needn't be localized; tweak tile picker
buttons.
2004-11-02 06:26:50 +00:00
ehouse
747132db2c first checked in. 2004-11-02 06:25:16 +00:00
ehouse
6a207d2981 move "1" to left 2004-11-02 06:24:14 +00:00
ehouse
2558456d09 add .bin files 2004-11-02 06:23:22 +00:00
ehouse
a97db5cd93 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
ec679f0fb9 stop spewing progress info 2004-11-02 06:21:03 +00:00
ehouse
81c7cfbb62 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
20fe639146 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
b3da969a47 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
81d8978226 put bitmaps into families with high-res members 2004-10-31 17:14:44 +00:00
ehouse
ed5960d4bf first checked in 2004-10-31 17:08:35 +00:00
ehouse
cddb31c22d change undo menu text 2004-10-30 20:20:13 +00:00
ehouse
1bdd32e816 version now b3 2004-10-30 19:54:51 +00:00
ehouse
67ccd839f0 fix to compiler with FEATURE_HIGHRES undefined 2004-10-30 19:29:33 +00:00
ehouse
a6abf8ae49 add FntBaseLine and WinSetScalingMode 2004-10-30 19:26:02 +00:00
ehouse
574f994ea4 Draw tray tile value very small in highres case. 2004-10-30 19:25:23 +00:00
ehouse
5e9df36f43 string for reporting missing dicts 2004-10-30 04:52:17 +00:00
ehouse
32e40baa04 report missing dicts; don't hide tray on close when only one human in
game
2004-10-30 04:51:46 +00:00
ehouse
3e4097e9b3 up version to b2 2004-10-26 01:07:53 +00:00
ehouse
c119ccee02 do ExgDBWrite manually 2004-10-26 01:07:13 +00:00
ehouse
4d3e296532 change default board pattern 2004-10-26 01:03:51 +00:00
ehouse
860d0ddb6d dual arm/68k build is the default 2004-10-16 05:05:27 +00:00
ehouse
a7826bd165 relaunch app when switching from ARM to 68K 2004-10-13 01:34:55 +00:00
ehouse
c8f14f534a write to screen when loading PNOlet (temporary) 2004-10-13 01:31:00 +00:00
ehouse
8d0f022886 plug leak when same dict found on both card and device 2004-10-13 01:25:23 +00:00
ehouse
fab8a59add relaunch app when switching from ARM to 68K 2004-10-13 01:05:53 +00:00
ehouse
9c7e71504e add SysUIAppSwitch 2004-10-13 01:00:09 +00:00
ehouse
049952090e pass appname through 2004-10-13 00:59:01 +00:00
ehouse
aae594857a always include slots that are only used in conditional builds to
simplify converting between saved versions.
2004-10-09 00:18:40 +00:00
ehouse
82927d7169 deal with older app prefs version 2004-10-09 00:17:29 +00:00
ehouse
429bd5a4f3 fix flipDateTimeToArm 2004-10-09 00:01:14 +00:00
ehouse
1de7183c7a Take endienness into account when converting dicts so can do from ARM
too.
2004-10-08 23:59:32 +00:00
ehouse
f210af7da3 add FtrPtrFree 2004-10-08 01:13:30 +00:00
ehouse
513c15eb4f use symbolic constant 2004-10-08 01:03:43 +00:00
ehouse
d0bfff0d46 change type to signed as part of not showing engine feedback when (on
ARM) search won't take long enough to matter.
2004-10-08 01:02:15 +00:00
ehouse
963a5a760b spanish support in ARM 2004-10-08 01:00:44 +00:00
ehouse
151ae0e0f0 engineStarting takes number of blanks; in ARM case show progress only
when non-zero.
2004-10-07 13:58:42 +00:00
ehouse
e243454fd4 don't use palm's all-uppercase tradition for PNOlet resource. 2004-10-07 13:27:58 +00:00
ehouse
58f5f7b38c add option when memory's available for dict to store all of its data
in a single FtrPtr so that lookup can be faster.  Still need to
confirm that there's a noticable speedup this way....
2004-10-07 13:23:20 +00:00
ehouse
619444594d add swap info for const version too 2004-10-05 04:35:52 +00:00
ehouse
4bc72a2dac name changes; implement user alert 2004-10-05 02:31:05 +00:00
ehouse
27556d8c43 name changes; add cast to macro 2004-10-05 02:30:19 +00:00
ehouse
f931d76db0 put randomness back in; bring up as ARM by default 2004-10-05 02:29:31 +00:00
ehouse
1339ed3211 add comment around pending work (for Spanish) 2004-10-05 02:28:43 +00:00
ehouse
1aedbaa043 swapping of EventType and DateTimeType now generated 2004-10-05 02:27:30 +00:00
ehouse
8baa446550 go back to generating EventType functions 2004-10-05 02:25:27 +00:00
ehouse
65bf15b257 Don't call startup code when PilotMain is called reentrantly; flip
ExgSocketType when passed into PilotMain; stop warning from
getStorageLoc; remove old screen drawing for debugging.
2004-10-02 03:57:36 +00:00
ehouse
2bbbc14acc Add field to track when PilotMain is called reentrantly 2004-10-02 03:54:30 +00:00
ehouse
f420f4420e change version to 4.1 2004-10-02 03:53:52 +00:00
ehouse
61219787f7 add logmem debugging utility 2004-10-02 03:53:23 +00:00
ehouse
d9dc930e51 remove dead field 2004-10-02 03:52:46 +00:00
ehouse
c1e945cc17 include header 2004-10-02 03:51:58 +00:00
ehouse
a4651784b6 add declarations 2004-10-02 03:51:39 +00:00
ehouse
13d84b555c Fix ExgSocketType flip bugs; add casts to remove warnings; suppport
format numbers in StrVPrintF.
2004-10-02 03:51:03 +00:00
ehouse
46286be177 Track when PilotMain is called reentrantly (as when beaming via
ExgMgr) and don't unload pnolet when exiting inner invocation.  Also
remove printfs no longer needed.
2004-10-02 03:49:55 +00:00
ehouse
ba98a256e5 HIRES is now on for both 2004-10-01 06:32:04 +00:00
ehouse
1ecbccd523 flip rect before passing to list draw proc 2004-10-01 06:29:28 +00:00
ehouse
cf9c4320bd separate highres support from screen resizing so can do only the former now 2004-10-01 01:40:47 +00:00
ehouse
a9e4fb8125 handle LstSetDrawFunction manually 2004-10-01 01:35:22 +00:00
ehouse
2c63a52de1 handle highres trap 2004-10-01 01:33:02 +00:00
ehouse
a2bdf00b88 add highres functions; handle LstSetDrawFunction manually 2004-10-01 01:32:10 +00:00
ehouse
3dbc295cc5 turn on HIGHRES 2004-10-01 01:27:18 +00:00
ehouse
ef5c142c93 handle SysNotifyRegister manually (including 68K stub, but without
converting fields of structs pointed to by notifyDetailsP; also remove
excess logging.
2004-09-30 01:12:43 +00:00
ehouse
34093a0d5b handle SysNotifyRegister manually 2004-09-30 01:06:37 +00:00
ehouse
57d4377f7d swap shorts in prefs; workaround wierd codegen/pose bug; put break
back where accidentally removed.
2004-09-29 13:23:06 +00:00
ehouse
4494339d72 pad struct to 4 bytes so ARM and 68K size are the same 2004-09-29 13:17:15 +00:00
ehouse
ba71b65016 restore warnings; don't reserve r8 since we don't use it 2004-09-29 01:09:13 +00:00
ehouse
6027888932 cleanup; don't touch string ptrs after pass to LstSetListChoices;
store strings in single block so can dispose.
2004-09-29 01:07:53 +00:00
ehouse
2409b10375 handle LstSetListChoices manually 2004-09-29 01:03:49 +00:00
ehouse
14b414586e cleanup 2004-09-29 00:59:48 +00:00
ehouse
6acb9014a6 don't auto-swap FieldAttrType 2004-09-28 01:13:09 +00:00
ehouse
768e91ffcf silence warning 2004-09-28 01:11:55 +00:00
ehouse
84b4934b4b fix sizeof crash on ARM 2004-09-28 01:09:22 +00:00
ehouse
65ff0fc071 work around prc-tools problem by adding entry point without GOT reference. 2004-09-28 01:06:14 +00:00
ehouse
3b4f49e9f2 switch to prc-tools; re-enable show-progress 2004-09-28 01:05:18 +00:00
ehouse
9ed0a8bc17 cleanup 2004-09-24 01:47:34 +00:00
ehouse
47931d4f60 build with 68K and ARM in same .prc (menu allows choice) 2004-09-24 01:38:36 +00:00
ehouse
adf8566959 tweaks to aid ARM debugging 2004-09-24 01:33:48 +00:00
ehouse
9029b4ac44 new function 2004-09-24 01:28:11 +00:00
ehouse
6dd6abe546 build with 68K and ARM in same .prc 2004-09-24 01:27:41 +00:00
ehouse
c08a95ee26 build with 68K and ARM in same .prc (menu allows choice) 2004-09-24 01:22:25 +00:00
ehouse
0471650f88 build with 68K and ARM in same .prc 2004-09-24 01:21:42 +00:00
ehouse
6a11effd47 pass -w to arm-elf-gcc to stop Palm header warnings (temp!) 2004-09-24 01:16:08 +00:00
ehouse
5c5f481428 remove unused gadget 2004-09-23 02:28:47 +00:00
ehouse
2a67256fc6 add ntohl etc for ARM 2004-09-23 02:27:49 +00:00
ehouse
415c71155d very preliminary logging to debug 2004-09-23 02:26:50 +00:00
ehouse
991e2b94c1 don't save prefs (for now) 2004-09-23 02:20:53 +00:00
ehouse
81397a6194 use Ftr for globals rather than gadget 2004-09-23 02:19:04 +00:00
ehouse
bb494cf250 write copiers for structs used in APIs; add name of func following
code in debug build Mac-style
2004-09-23 02:15:15 +00:00
ehouse
12b4e7c5cc write copiers for structs used in APIs 2004-09-23 02:13:53 +00:00
ehouse
3ec5cde355 major rewrite. Covers nearly all functions now. 2004-09-23 02:11:29 +00:00
ehouse
5d7198ee38 two new functions 2004-09-23 02:05:53 +00:00
ehouse
8c226f0844 better -D passing 2004-09-23 02:05:07 +00:00
ehouse
05533d9ddf new syntax for gen_pace.pl 2004-09-23 01:59:53 +00:00
ehouse
49fc7ec61d for debugging, print stack ptr at entry 2004-09-21 05:00:57 +00:00
ehouse
50598c3293 cleanup unrelated to pnolet work 2004-09-21 04:57:00 +00:00
ehouse
0f71b4fb61 add event-related functions. And general cleanup. 2004-09-21 04:49:27 +00:00
ehouse
03377593fa emit param-passing code as functions rather than byte-by-byte
assignment for a 15-20% reduction in code size (and likely some slight
slowdown.)
2004-09-21 04:39:51 +00:00
ehouse
fe10d97986 handle event-related functions manually 2004-09-21 04:38:07 +00:00
ehouse
3dec101e96 add pace_man.o to OBJS 2004-09-21 04:31:49 +00:00
ehouse
dc2f88181c Handle VFSMGR_TRAP; swap a small set of pass-by-ref parameters. 2004-09-19 15:52:55 +00:00
ehouse
794a707253 generate mapfile (though it only included non-static functions and so
is pretty useless)
2004-09-19 15:50:28 +00:00
ehouse
efcd6dc833 turn off highres for pnolet (for now) 2004-09-19 15:49:34 +00:00