Commit graph

315 commits

Author SHA1 Message Date
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
ehouse
d680b3c888 fix order for 1-byte args 2004-09-19 14:43:43 +00:00
ehouse
37315ca463 add pno-related temp files 2004-09-19 03:31:32 +00:00
ehouse
19801a6732 first checked in. Seems to be working. 2004-09-19 03:31:10 +00:00
ehouse
15f51206ad cleanup 2004-09-19 03:30:37 +00:00
ehouse
92433cbbfa add PilotMain params 2004-09-19 03:28:45 +00:00
ehouse
2c5a1d4c40 Temp code for PilotMain when pno; unrelated cleanup. 2004-09-19 03:27:13 +00:00
ehouse
978e3fb55a first checked in. These files will get a lot bigger as I find the
auto-gen versions don't work.
2004-09-19 03:22:00 +00:00
ehouse
53be448688 Use macro. 2004-09-19 03:21:31 +00:00
ehouse
b45482b6ae first checked in. This came from the pnolet forum, and I have no idea
what it does.
2004-09-19 03:21:00 +00:00
ehouse
67dfbafbc2 CALLBACK_PROLOGUE goes away for pnolet case 2004-09-19 03:20:32 +00:00
ehouse
27cf1de9b4 first checked in. Builds a pnolet that launches and runs AS LONG AS
arm-elf tools are used.  arm-palmos versions produce a pnolet whose
entry point is not at the top.
2004-09-19 03:19:41 +00:00
ehouse
80654390c2 more work on pnolet 2004-09-19 03:17:27 +00:00
ehouse
cfbc7d9f0a first checked in. Many bodies generated this way work. Still to do
(at least): byte-swap in/out params before and after, and handle
selector dispatch methods other than SYS_TRAP
2004-09-19 02:41:50 +00:00
ehouse
98dd6c21ce first checked in. Enough to compile the whole app, though many will
be commented out as they turn out to require manual implementations.
2004-09-19 02:39:51 +00:00
ehouse
aa55e169cc flesh out, e.g. add PilotMain params to what's passed to pnolet; add
header to pnolet stored in Ftr for access to stuff like GOT address.
2004-09-19 02:38:13 +00:00
ehouse
0f505f966a first checked in. Works for dummy pnolet at least. 2004-09-17 07:11:33 +00:00
ehouse
e510fa2bb4 first checked in. 2004-09-17 07:11:15 +00:00
ehouse
7908e11f95 add pnolet version as option 2004-09-17 07:09:40 +00:00
ehouse
7ef601b48a fix signed bug that broke scrolling in ask dialog 2004-08-31 13:27:28 +00:00
ehouse
a898afdf44 add logEvent 2004-08-31 13:19:28 +00:00
ehouse
b5ee71b97b up version to b6 2004-07-10 22:43:46 +00:00
ehouse
3863e9a754 Turn on search limit feature; set version number in prc file. 2004-07-10 22:43:21 +00:00
ehouse
5df7a2bca4 add XWFEATURE_SEARCHLIMIT 2004-07-01 01:15:15 +00:00
ehouse
b93b8e544e move function for GREMLINs build 2004-07-01 01:13:51 +00:00
ehouse
10eef46020 unify hintconfig and searchlimits 2004-07-01 01:12:55 +00:00
ehouse
ed3810eb4c version change 2004-06-25 07:09:38 +00:00
ehouse
930fcbbb70 rearrange hint menuitems 2004-06-25 06:45:31 +00:00
ehouse
5b385c1c11 remove tray limits; add boolen for tracking whether to ask for 'em. 2004-06-25 06:44:55 +00:00
ehouse
42a8d69df9 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
4750280d44 add #ifdef to fix compile 2004-06-24 05:20:28 +00:00
ehouse
2afccf209a add checkbox for hint rect 2004-06-22 06:30:58 +00:00
ehouse
ea28e0c310 version num 2004-06-16 04:06:54 +00:00
ehouse
3b3ee0a3f6 draw hint-rect borders 2004-06-16 04:06:43 +00:00
ehouse
cbdfc8c0dc fix compile error 2004-05-29 14:26:36 +00:00
ehouse
cb68ae1dc7 turn off recursive dict search -- it's too slow 2004-05-20 02:17:16 +00:00
ehouse
fd7b0e04be ready for b3 2004-05-20 02:16:41 +00:00
ehouse
1a35f5b5dd start search at default dir. 2004-05-20 02:16:19 +00:00
ehouse
b89eb118c3 move Xav translations 2004-05-17 05:27:31 +00:00
ehouse
38d5732e8e scoreboard changes to fix no-grid highres case 2004-05-16 15:06:39 +00:00
ehouse
dc13281069 tweak board to right by one so gets bigger border in highres case 2004-05-16 15:02:41 +00:00
ehouse
4fb66b6518 double scale after reducing for border size 2004-05-16 14:32:24 +00:00
ehouse
742e03970d tweak buttons sizes 2004-05-16 05:39:19 +00:00
ehouse
6772d6cd03 Xav's latest changes 2004-05-16 04:50:07 +00:00
ehouse
7be5f93520 fold in Xav's latest translations; remove unused dialog 2004-05-15 01:31:58 +00:00
ehouse
ae91c3388a Inval whole board in hires case too; fix part of problem with vertical
scoreboard.
2004-05-15 01:14:51 +00:00
ehouse
da49ca4fdb HIGHRES stuff on by default 2004-05-15 01:13:18 +00:00
ehouse
f453c9e2e8 version string -> b2 2004-05-15 01:12:56 +00:00
ehouse
2f0dbe2715 add del button for tile picker 2004-05-14 09:16:43 +00:00
ehouse
2350857544 add del button for tile picker; fix button sizes in saved games dlg. 2004-05-14 09:13:34 +00:00
ehouse
d3589c1ac4 add string for attempt to undo tile assignment. 2004-05-14 09:13:01 +00:00
ehouse
59e82f14e8 Turn recursive VFS search back on. For some reason devices seem to be
calling / (rather than /palm/Launch/) the default directory for .pdb
and .prc files.  Recursion makes OS 4x devices amazingly slow to
startup, so I may need a better solution -- like recursing only when
the default dir is /.)
2004-05-14 09:03:17 +00:00
ehouse
3870d68856 pass version sought in vfs case too. 2004-05-14 09:01:18 +00:00
ehouse
2474fdb3a5 Fix compile error. 2004-05-14 08:59:38 +00:00
ehouse
ad2a5281e1 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
ehouse
140f6aaf53 Allow deletion of picked tiles during face-up picking. 2004-05-14 08:57:38 +00:00
ehouse
f2c322b1f6 catch up with constant changes 2004-05-07 03:57:23 +00:00
ehouse
7f122b05ae remove graffiti state indicator for numbers-only field 2004-05-07 03:56:43 +00:00
ehouse
c90c881b92 localized strings for move-summary 2004-05-07 03:56:16 +00:00
ehouse
18c1fc906a fix compile errors non-DEBUG case 2004-05-07 03:55:24 +00:00
ehouse
f4447e87fa make what's in scoreboard last-move summary localizable (en_US version) 2004-05-06 04:13:59 +00:00
ehouse
da3ef5ab6b fix hires scoreboard drawing 2004-05-06 04:11:04 +00:00
ehouse
2ab5de6ea7 cleanup 2004-05-06 04:10:48 +00:00
ehouse
ebe6dba738 put tray buttons at botton on 160x160 screens too 2004-05-01 13:23:41 +00:00
ehouse
6111d15406 fix problem with converting dicts 2004-05-01 13:23:00 +00:00
ehouse
67c69ca278 new string as part of displaying last turn when score tapped 2004-04-30 08:38:46 +00:00
ehouse
acddc7964f make name clearer 2004-04-30 08:38:28 +00:00
ehouse
cc611c0a44 add XP_STRCAT 2004-04-30 08:37:30 +00:00
ehouse
90a7e5ccc8 cleanup; fix hiding tray. 2004-04-30 08:37:13 +00:00
ehouse
26c6359475 fix so can draw multiline miniwindows. Not working for HIRES yet. 2004-04-30 08:35:51 +00:00
ehouse
2aff6e242a include sony headers; make debug version of separate type so can
co-exist with non-debug on device.
2004-04-20 04:11:57 +00:00
ehouse
7008125ec7 (rough) changes to make toggling work for 320x480 Clie with silkscreen 2004-04-20 04:10:15 +00:00
ehouse
bab5cc07f1 make progress inversions work for HIRES screens 2004-04-20 04:05:59 +00:00
ehouse
9fe2c54e9e make debug version different so can co-exist 2004-03-18 05:42:24 +00:00
ehouse
9dbe706089 more progress on hi-res (tray tiles); but seems to have broken 160x160 2004-03-18 05:41:59 +00:00
ehouse
bd9c2f890c more progress on hires: fix miniwindow; start fixing tray tiles 2004-03-17 04:57:09 +00:00
ehouse
354ba30804 switch to using 5.0 sdk 2004-03-16 05:31:34 +00:00