Commit graph

338 commits

Author SHA1 Message Date
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
ehouse
f7cd22a4b3 add slot to store old win coords value 2004-03-16 05:28:40 +00:00
ehouse
8a251c6f0c progress toward highres stuff, esp. tweaking positionBoard 2004-03-16 05:28:14 +00:00
ehouse
d395d429ac progress toward highres stuff 2004-03-16 05:25:23 +00:00
ehouse
d3caabcb8d add commented-out FEATURE_HIGHRES 2004-03-13 14:37:30 +00:00
ehouse
0cbb90963d experimental hires changes (to positionBoard) 2004-03-13 14:37:00 +00:00
ehouse
e294e8ff9c only accept dicts whose version == 1 (allows for later changes) 2004-03-13 14:21:45 +00:00
ehouse
82ce4e8962 start hi-res work 2004-03-13 14:18:54 +00:00
ehouse
fa6186739a start hi-res work; fix for API changes 2004-03-13 14:18:28 +00:00
ehouse
5c7912588e optimize prefs dialog with and without tray picking on 2004-03-04 03:05:49 +00:00
ehouse
1b90bda4b1 fix dialog 2004-03-03 05:47:38 +00:00
ehouse
27ed828f1e formatting 2004-03-03 05:45:55 +00:00
ehouse
8613525de1 add FEATURE_TRAY_EDIT 2004-03-03 05:45:37 +00:00
ehouse
514575ed2c catch up with changes 2004-03-03 02:20:34 +00:00
ehouse
addb138891 cleanup 2004-03-03 02:17:26 +00:00
ehouse
b88dddbe94 pull dead strings; update copyright and address; add comments where
translation needed and new strings
2004-03-03 02:15:34 +00:00
ehouse
236397358e pull dead strings; update copyright and address; add comments where
translation needed
2004-03-03 02:14:10 +00:00
ehouse
685cc8e224 pull dead objects; protect IP-connections dlg 2004-03-03 02:12:29 +00:00
ehouse
2519ca0e4f pull dead strings; update copyright and address 2004-03-03 02:10:32 +00:00
ehouse
72b72f35b4 first checked in. Won't work yet. 2004-03-02 06:18:10 +00:00
ehouse
3f7a8cce61 add LAUNCHERCATEGORY 2004-03-02 06:16:54 +00:00
ehouse
9dd482e8b9 #ifdef hint config feature; version now beta 1 2004-03-02 06:00:52 +00:00
ehouse
c04c94fb61 #ifdef hint config feature 2004-03-02 06:00:29 +00:00
ehouse
1550aefc06 fix reverse-highlighting of cells 2004-03-01 02:31:25 +00:00
ehouse
354bd96db4 make util_userQuery return bool 2004-02-17 04:00:12 +00:00
ehouse
4c693e0bb8 drawBegin sig change 2004-02-13 13:54:52 +00:00
ehouse
f761201e75 Eliminate recursive search of VFS file system in attempt to speed
search for dicts.
2004-02-10 05:22:39 +00:00
ehouse
759309f434 confirm each dict converted from old format 2004-01-17 19:34:34 +00:00
ehouse
314a5d682b confirm each dict converted from old format; recover from open when
none avail.
2004-01-17 19:34:25 +00:00
ehouse
5cb1aea0f9 set new dict variable 2003-12-14 17:55:45 +00:00
ehouse
a188a0f98b need to switch two bits in every node when converting old-format
dicts.
2003-12-14 17:55:30 +00:00
ehouse
240b314ff8 remove turn-on-option part of picking tiles into tray. If you enable
it for a game you're stuck with it.  Less complex UI is better.
2003-12-13 18:40:17 +00:00
ehouse
3251a8d1d8 experiment over 2003-12-13 16:44:14 +00:00
ehouse
9550b84236 meant '==', not '=' 2003-12-12 10:24:06 +00:00
ehouse
a73f140c55 add dict conversion confirm string 2003-12-12 10:21:37 +00:00
ehouse
4dbd9fb639 complete conversion of old format dicts to new, including for those on
SD cards.  Works now unless there are same-named files on both, in
which case SD card one doesn't get converted but the question keeps
getting asked.
2003-12-12 10:21:09 +00:00
ehouse
3ad97ebf6a turn off IP stuff, and on new dict format stuff 2003-12-12 10:19:21 +00:00
ehouse
c0d6fdc52c it's ok for there to be no form yet 2003-12-12 10:18:39 +00:00
ehouse
d5810ad278 call offerConvertOldDicts; fix palmask to work pre/without globals. 2003-12-12 10:17:59 +00:00
ehouse
8c65e5a0b6 prototype for offerConvertOldDicts 2003-12-11 06:01:50 +00:00
ehouse
6367412206 return null when unknown dict flags found 2003-12-11 05:59:09 +00:00
ehouse
d91c7591e9 rough code to convert dicts. untested 2003-12-11 05:58:24 +00:00
ehouse
9949b2cadb build dict from NODE_CAN_4 form of dawg 2003-12-10 05:57:54 +00:00
ehouse
20caab4873 NODE_CAN_4 form of dawg is of type Xwr4 2003-12-10 05:56:16 +00:00
ehouse
be28dce9bd define (commented-out) NODE_CAN_4 2003-12-10 05:52:39 +00:00
ehouse
a2a2da865e turn ntiles dialog into hint config dialog (experimental) 2003-12-01 14:34:09 +00:00
ehouse
c8147e6627 turn ntiles dialog into hint config dialog (experimental); <cr>
dismisses tile pick dialog
2003-12-01 14:32:47 +00:00
ehouse
6cb0f359ad new form for picking nTiles used in hint 2003-11-30 22:03:02 +00:00
ehouse
d392c42590 add button for count-limited hint; tweak pick-blank dialog 2003-11-30 19:02:03 +00:00
ehouse
398fd8a2fb first checkin; still very rough! 2003-11-30 19:01:19 +00:00
ehouse
5c91fb7c48 name changes; add button for count-limited hint 2003-11-30 19:00:39 +00:00
ehouse
79be685d73 name changes; drop control enter on pick enabled when not new game 2003-11-30 18:59:03 +00:00
ehouse
ace0a33335 new state variable 2003-11-30 18:58:17 +00:00
ehouse
41801ea74e show current tray in pick dialog; begin work of letting user specify
how many tiles to use in hint.
2003-11-30 18:57:57 +00:00
ehouse
3475c93952 post prefsChangedEvent before newGameOkEvent 2003-11-30 18:55:29 +00:00
ehouse
cdd76a7f58 new button for limited hint 2003-11-30 18:54:49 +00:00
ehouse
d3c06219c1 dicts are read-only: use query rather than get 2003-11-30 09:32:25 +00:00
ehouse
ab2033a07b ifdef code requiring ifdef'd constant 2003-11-19 04:51:09 +00:00
ehouse
8d1bd6d50e nuke unused vars (for compiler warnings) 2003-11-19 04:50:29 +00:00
ehouse
b229549323 Add UI to support turning on/off picking tiles 2003-11-19 04:09:15 +00:00
ehouse
e0caca7b39 checkin from personal archive 2003-11-16 19:49:04 +00:00
ehouse
56af07456c get rid of DIRECT_PALMOS_CALLS 2003-11-16 19:46:51 +00:00
ehouse
a49c9b053d checkin from personal archive 2003-11-16 19:37:12 +00:00
ehouse
7f17376766 checked in from personal archive 2003-11-16 19:23:48 +00:00
ehouse
b3d53f1bd8 copied in from personal archive 2003-11-16 19:17:54 +00:00
ehouse
aafffc08b5 first checked in 2003-11-16 17:30:19 +00:00