Commit graph

634 commits

Author SHA1 Message Date
ehouse
3866d898f4 Better handling of disconnect and reconnect; esp. slave will keep
trying to connect after losing contact with server.  With this
checkin, a game between palm and linux can be interrupted by either or
both and restarted, with either in either role.  Haven't tested
palm-on-palm yet.  App stop speed is much better now too.
2006-09-14 01:38:09 +00:00
ehouse
4b953e8891 Add debug-only menus to toggle logging to file and memopad 2006-09-14 01:34:22 +00:00
ehouse
7cf02f322e Don't typedef array; make array field of struct. 2006-09-14 01:31:13 +00:00
ehouse
7d1d4d23c4 tweaks to re/connect logic; process incoming data from main event loop
and enqueue more than one at a time; wipe existing queue when reinited.
2006-09-10 18:34:57 +00:00
ehouse
c4b0f350e1 Lots of changes aimed at allowing to quit and restart in the middle of
a BT game: track states so can shutdown cleanly; transition from
master to slave; mechanism to defer work from callbacks to the main
loop.  Can now quit and restart as guest against host on linux.  Have
not tested between two Treos.
2006-09-08 07:06:21 +00:00
ehouse
148e711e54 init address field with current bt_adddr 2006-09-08 07:02:16 +00:00
ehouse
96dd01cbe5 cleanup: add missing consts. 2006-09-08 06:43:59 +00:00
ehouse
22f4edfd89 add ability to log to non-Memo db (to be read off device). 2006-09-08 06:39:35 +00:00
ehouse
5d043e349e add __FUNCTION__ to assert macro 2006-09-01 04:39:56 +00:00
ehouse
9aa0e41eed hardcode psm (for now), and remove spd lookup stuff. Was needed to
connect to linux server which doesn't add spd records yet.
2006-08-29 13:23:00 +00:00
ehouse
74c6b241d7 Put up BT device browser while user is picking connection method
rather than when trying to send for first time, then pass address
through from conns dialog to bt code.
2006-08-26 21:12:10 +00:00
ehouse
0c915e61b0 First shot at bluetooth support (turned off in Makefile by default).
A full robot vs. robot game now works between two Treos.  Added UI to
choose BT as transport mechanism, and added new send proc to establish
socket connection between host and guest.  Works only for two devices:
no piconet yet.  No error recovery, ability to quit game in middle,
start new game, etc.
2006-08-23 04:44:55 +00:00
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
d493502714 tweak button location 2006-07-28 08:04:00 +00:00
ehouse
8903c2ad3f fix change between Local players/Total players when device role changes in newgame dlg 2006-07-28 08:03:33 +00:00
ehouse
e4493c2255 better compile-command in header 2006-07-28 07:53:18 +00:00
ehouse
8c7624fe7d cleanup: remove overly verbose logging 2006-07-28 07:51:49 +00:00
ehouse
58bb0734b8 round up when determining top coord of letter in cell. Fixes "Q"
getting drawn higher than other ascii chars, and does not break even
taller chars in Danish or Portuguese.
2006-07-04 00:16:08 +00:00
ehouse
63a948cbd4 Exclude high-res bitmaps from lowres build 2006-07-03 23:45:18 +00:00
ehouse
a1fcd56d55 on low-res screens, don't expand timer's clip rect to avoid erasing cell border below. 2006-07-03 23:44:51 +00:00
ehouse
dfb8104eb8 ppm files no longer used. Remove. 2006-07-03 23:06:25 +00:00
ehouse
e0072c9b87 UI compromise on juggle: force something to happen, so the user sees a
change, then juggle again so the outcome is random.  This works on Palm
because draws are not cached: if two players wind up not moving you still
see them move then move back.
2006-07-01 14:18:00 +00:00
ehouse
504f9641ea remove parameter following API change 2006-06-28 03:11:26 +00:00
ehouse
a08dc22023 Use new xplatform newgame logic to replace palm's in newgame.c, and make other
changes (shifting util functions around) that follow from that.  Back
version number down to 4.1.5 since that'll be the next shipped from this
branch.  Add juggle button to newgame -- the whole point of this.
2006-06-22 04:57:46 +00:00
ehouse
037bce2196 Use new xplatform newgame logic to replace palm's in newgame.c, and make other
changes (shifting util functions around) that follow from that.  Back
version number down to 4.1.5 since that'll be the next shipped from this
branch.  Add juggle button to newgame -- the whole point of this.
2006-06-22 04:57:08 +00:00
ehouse
cdc74b668a turn off advanced networking by default for push to release 2006-06-22 04:52:33 +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
fd5355b627 Include output of svnversion in Palm version's About dialog. For
Catalan and Spanish as well as English.  There's also some character
conversion in the former two that may be linked to my local LANG
setting now being en_US.utf8.  May need to revisit if there are
problems.
2006-05-15 04:24:30 +00:00
ehouse
36993ba258 catch up with API change 2006-05-09 04:05:19 +00:00
ehouse
3a4c5dfff6 catch up with API change 2006-05-09 04:04:56 +00:00
ehouse
08e8c4a858 Get rid of TALL_FONT macro, since it's permanently on anyway. 2006-04-01 21:25:58 +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
300c29be35 add a couple of missing icon images 2006-03-18 03:34:15 +00:00
ehouse
90412fe9d4 bring in transparant small icon change from 4.1 branch 2006-02-26 23:56:06 +00:00
ehouse
eb2a4d513e up alpha version 2006-02-26 23:53:55 +00:00
ehouse
fb0d471dae add const decls to draw.h and dictnry.h functions where appropriate,
and modify "subclass" methods to match.  Should be no code change, but
this makes the intent of the APIs clearer.
2006-02-18 06:39:40 +00:00
ehouse
dde823a5ca update help target 2006-02-18 06:37:01 +00:00
ehouse
b03db750b5 merge transparant large-icon from 411-branch 2006-01-22 17:50:47 +00:00
ehouse
301d854c25 don't show "loading ARM" except on debug versions. It's fast enough now. 2006-01-21 19:16:39 +00:00
ehouse
95eaac50dd tell folks where to get dictionaries. 2006-01-21 19:12:37 +00:00
ehouse
146a4f1d4d -Os instead of -O2 2006-01-16 06:08:16 +00:00
ehouse
834a5e0411 make default build arm_only, and don't require multilink to build the
68k stub.
2006-01-16 06:07:33 +00:00
ehouse
4e49a4c008 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
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
7803fead80 use comms_setAddr rather than modifying const to set resolved address. 2005-09-04 20:34:52 +00:00
ehouse
75b8f5342a add error messages 2005-09-04 20:34:16 +00:00
ehouse
6d0b23a8e8 TALL_FONTS (support for Danish tall letters) now on by default 2005-09-04 20:32: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
e1d3eeaf2a don't use %c on ARM. Crashes due to my bad StrPrintF implementation. 2005-07-08 08:30:42 +00:00
ehouse
e537e29e87 new functions for measuring glyphs 2005-07-08 08:29:37 +00:00
ehouse
a16505727a Moving glyph-measuring code to drawing; fix for highres case. 2005-07-08 03:14:43 +00:00
ehouse
d3249d93ae Moving glyph-measuring code to drawing 2005-07-08 03:10:21 +00:00
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
ehouse
4c64bb282d up version to b2 2004-10-26 01:07:53 +00:00
ehouse
853a537114 do ExgDBWrite manually 2004-10-26 01:07:13 +00:00
ehouse
7159ed40b5 change default board pattern 2004-10-26 01:03:51 +00:00
ehouse
988eb7566f dual arm/68k build is the default 2004-10-16 05:05:27 +00:00
ehouse
807201ec62 relaunch app when switching from ARM to 68K 2004-10-13 01:34:55 +00:00
ehouse
04aec8a021 write to screen when loading PNOlet (temporary) 2004-10-13 01:31:00 +00:00
ehouse
4b0db5ece3 plug leak when same dict found on both card and device 2004-10-13 01:25:23 +00:00
ehouse
affb392d8d relaunch app when switching from ARM to 68K 2004-10-13 01:05:53 +00:00
ehouse
09b84286a3 add SysUIAppSwitch 2004-10-13 01:00:09 +00:00
ehouse
dab8149775 pass appname through 2004-10-13 00:59:01 +00:00
ehouse
36bbedfe90 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
f20f51abb7 deal with older app prefs version 2004-10-09 00:17:29 +00:00
ehouse
374e21b6ff fix flipDateTimeToArm 2004-10-09 00:01:14 +00:00
ehouse
036856d9b0 Take endienness into account when converting dicts so can do from ARM
too.
2004-10-08 23:59:32 +00:00
ehouse
4cc7788fd2 add FtrPtrFree 2004-10-08 01:13:30 +00:00
ehouse
5d22cb998b use symbolic constant 2004-10-08 01:03:43 +00:00
ehouse
4ce6751b42 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
274c77c255 spanish support in ARM 2004-10-08 01:00:44 +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
a187ca99a9 don't use palm's all-uppercase tradition for PNOlet resource. 2004-10-07 13:27:58 +00:00
ehouse
698c71fc06 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
b804927e1a add swap info for const version too 2004-10-05 04:35:52 +00:00
ehouse
a5e3f3de24 name changes; implement user alert 2004-10-05 02:31:05 +00:00
ehouse
02d575f068 name changes; add cast to macro 2004-10-05 02:30:19 +00:00
ehouse
76ce9bae9c put randomness back in; bring up as ARM by default 2004-10-05 02:29:31 +00:00
ehouse
39ac117558 add comment around pending work (for Spanish) 2004-10-05 02:28:43 +00:00
ehouse
cf9a93a59b swapping of EventType and DateTimeType now generated 2004-10-05 02:27:30 +00:00
ehouse
eccdbd145f go back to generating EventType functions 2004-10-05 02:25:27 +00:00
ehouse
44b836717f 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
0b17bb9b30 Add field to track when PilotMain is called reentrantly 2004-10-02 03:54:30 +00:00
ehouse
862b42a4b0 change version to 4.1 2004-10-02 03:53:52 +00:00
ehouse
7097bf321c add logmem debugging utility 2004-10-02 03:53:23 +00:00
ehouse
4081b11c6f remove dead field 2004-10-02 03:52:46 +00:00
ehouse
6f2a9f0a89 include header 2004-10-02 03:51:58 +00:00
ehouse
1648dfa0b3 add declarations 2004-10-02 03:51:39 +00:00
ehouse
088870cab7 Fix ExgSocketType flip bugs; add casts to remove warnings; suppport
format numbers in StrVPrintF.
2004-10-02 03:51:03 +00:00
ehouse
6344be1b75 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
1f2b523958 HIRES is now on for both 2004-10-01 06:32:04 +00:00
ehouse
4b1924d9ee flip rect before passing to list draw proc 2004-10-01 06:29:28 +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
aa85f6f9c3 handle LstSetDrawFunction manually 2004-10-01 01:35:22 +00:00
ehouse
12f2f35416 handle highres trap 2004-10-01 01:33:02 +00:00
ehouse
0edf2d970f add highres functions; handle LstSetDrawFunction manually 2004-10-01 01:32:10 +00:00
ehouse
d954366332 turn on HIGHRES 2004-10-01 01:27:18 +00:00
ehouse
f2f45e3e28 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
f14f1acfe9 handle SysNotifyRegister manually 2004-09-30 01:06:37 +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
c73525aed8 pad struct to 4 bytes so ARM and 68K size are the same 2004-09-29 13:17:15 +00:00
ehouse
57b7d411fe restore warnings; don't reserve r8 since we don't use it 2004-09-29 01:09:13 +00:00
ehouse
c6d2bbc38f 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
57c05dc8c0 handle LstSetListChoices manually 2004-09-29 01:03:49 +00:00
ehouse
e5e304ccca cleanup 2004-09-29 00:59:48 +00:00
ehouse
a21894c1e2 don't auto-swap FieldAttrType 2004-09-28 01:13:09 +00:00
ehouse
98f07c2ca6 silence warning 2004-09-28 01:11:55 +00:00
ehouse
c1c5dd3266 fix sizeof crash on ARM 2004-09-28 01:09:22 +00:00
ehouse
1f79b176ea work around prc-tools problem by adding entry point without GOT reference. 2004-09-28 01:06:14 +00:00
ehouse
38c638d671 switch to prc-tools; re-enable show-progress 2004-09-28 01:05:18 +00:00
ehouse
71e9d715f3 cleanup 2004-09-24 01:47:34 +00:00
ehouse
baabc47f48 build with 68K and ARM in same .prc (menu allows choice) 2004-09-24 01:38:36 +00:00
ehouse
7f17483c89 tweaks to aid ARM debugging 2004-09-24 01:33:48 +00:00
ehouse
7157768632 new function 2004-09-24 01:28:11 +00:00
ehouse
a44cc2df3c build with 68K and ARM in same .prc 2004-09-24 01:27:41 +00:00
ehouse
d5e42b8a73 build with 68K and ARM in same .prc (menu allows choice) 2004-09-24 01:22:25 +00:00
ehouse
229ec88ef3 build with 68K and ARM in same .prc 2004-09-24 01:21:42 +00:00
ehouse
2f5cf27880 pass -w to arm-elf-gcc to stop Palm header warnings (temp!) 2004-09-24 01:16:08 +00:00
ehouse
f25ecbed9c remove unused gadget 2004-09-23 02:28:47 +00:00
ehouse
018aa34fd6 add ntohl etc for ARM 2004-09-23 02:27:49 +00:00
ehouse
342e375626 very preliminary logging to debug 2004-09-23 02:26:50 +00:00
ehouse
1cb340cf95 don't save prefs (for now) 2004-09-23 02:20:53 +00:00
ehouse
3b5222d5f6 use Ftr for globals rather than gadget 2004-09-23 02:19:04 +00:00
ehouse
8a83f36368 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
b142d52545 write copiers for structs used in APIs 2004-09-23 02:13:53 +00:00
ehouse
4898c89748 major rewrite. Covers nearly all functions now. 2004-09-23 02:11:29 +00:00
ehouse
90427fe1dc two new functions 2004-09-23 02:05:53 +00:00
ehouse
5a9bd351be better -D passing 2004-09-23 02:05:07 +00:00
ehouse
638112600d new syntax for gen_pace.pl 2004-09-23 01:59:53 +00:00
ehouse
2298f959e4 for debugging, print stack ptr at entry 2004-09-21 05:00:57 +00:00
ehouse
4843df586d cleanup unrelated to pnolet work 2004-09-21 04:57:00 +00:00
ehouse
e35d2603e1 add event-related functions. And general cleanup. 2004-09-21 04:49:27 +00:00
ehouse
d0ef9e0800 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
b80226d923 handle event-related functions manually 2004-09-21 04:38:07 +00:00
ehouse
a0040132c3 add pace_man.o to OBJS 2004-09-21 04:31:49 +00:00
ehouse
1b7864cf91 Handle VFSMGR_TRAP; swap a small set of pass-by-ref parameters. 2004-09-19 15:52:55 +00:00
ehouse
312a81d368 generate mapfile (though it only included non-static functions and so
is pretty useless)
2004-09-19 15:50:28 +00:00
ehouse
32169413c9 turn off highres for pnolet (for now) 2004-09-19 15:49:34 +00:00
ehouse
92a7673286 fix order for 1-byte args 2004-09-19 14:43:43 +00:00
ehouse
e59b44a7d1 add pno-related temp files 2004-09-19 03:31:32 +00:00
ehouse
7d5117e42c first checked in. Seems to be working. 2004-09-19 03:31:10 +00:00
ehouse
53cea797aa cleanup 2004-09-19 03:30:37 +00:00
ehouse
cd45d48787 add PilotMain params 2004-09-19 03:28:45 +00:00
ehouse
748b316187 Temp code for PilotMain when pno; unrelated cleanup. 2004-09-19 03:27:13 +00:00
ehouse
096de88c4c 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
aca63b1e8f Use macro. 2004-09-19 03:21:31 +00:00
ehouse
a6913a2ce3 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
4607696900 CALLBACK_PROLOGUE goes away for pnolet case 2004-09-19 03:20:32 +00:00
ehouse
361704f66e 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
6e8dacc1b5 more work on pnolet 2004-09-19 03:17:27 +00:00
ehouse
02396298f0 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
8243c4fa0d 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
c16a64adb6 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
379acc7320 first checked in. Works for dummy pnolet at least. 2004-09-17 07:11:33 +00:00
ehouse
ca86336496 first checked in. 2004-09-17 07:11:15 +00:00
ehouse
2d16a04c52 add pnolet version as option 2004-09-17 07:09:40 +00:00
ehouse
1788752939 fix signed bug that broke scrolling in ask dialog 2004-08-31 13:27:28 +00:00
ehouse
bcf48a4a40 add logEvent 2004-08-31 13:19:28 +00:00
ehouse
8d967d53e3 up version to b6 2004-07-10 22:43:46 +00:00
ehouse
1f4203e89d Turn on search limit feature; set version number in prc file. 2004-07-10 22:43:21 +00:00
ehouse
c3cc51f965 add XWFEATURE_SEARCHLIMIT 2004-07-01 01:15:15 +00:00
ehouse
faca5cf3f6 move function for GREMLINs build 2004-07-01 01:13:51 +00:00
ehouse
abdde18b6e unify hintconfig and searchlimits 2004-07-01 01:12:55 +00:00
ehouse
ccd17bd59d version change 2004-06-25 07:09:38 +00:00
ehouse
ecc48fde1c rearrange hint menuitems 2004-06-25 06:45:31 +00:00
ehouse
a5b920e8f6 remove tray limits; add boolen for tracking whether to ask for 'em. 2004-06-25 06:44:55 +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
620b8752cf add #ifdef to fix compile 2004-06-24 05:20:28 +00:00
ehouse
004ec05a64 add checkbox for hint rect 2004-06-22 06:30:58 +00:00
ehouse
cb54bb1c6f version num 2004-06-16 04:06:54 +00:00
ehouse
8238ca20f4 draw hint-rect borders 2004-06-16 04:06:43 +00:00
ehouse
1324d81bb9 fix compile error 2004-05-29 14:26:36 +00:00
ehouse
7ec9c33137 turn off recursive dict search -- it's too slow 2004-05-20 02:17:16 +00:00
ehouse
2efc063e71 ready for b3 2004-05-20 02:16:41 +00:00
ehouse
f8160b07b6 start search at default dir. 2004-05-20 02:16:19 +00:00
ehouse
589f423198 move Xav translations 2004-05-17 05:27:31 +00:00
ehouse
e16b4a1f91 scoreboard changes to fix no-grid highres case 2004-05-16 15:06:39 +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
32d80fcbad tweak buttons sizes 2004-05-16 05:39:19 +00:00
ehouse
66c2b6d064 Xav's latest changes 2004-05-16 04:50:07 +00:00
ehouse
9cdc8da005 fold in Xav's latest translations; remove unused dialog 2004-05-15 01:31:58 +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
911d8efeff HIGHRES stuff on by default 2004-05-15 01:13:18 +00:00
ehouse
1c8851152c version string -> b2 2004-05-15 01:12:56 +00:00
ehouse
c331b7e829 add del button for tile picker 2004-05-14 09:16:43 +00:00
ehouse
6e159ac6f5 add del button for tile picker; fix button sizes in saved games dlg. 2004-05-14 09:13:34 +00:00
ehouse
2a06396062 add string for attempt to undo tile assignment. 2004-05-14 09:13:01 +00:00
ehouse
3b7644be58 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
0d88383706 pass version sought in vfs case too. 2004-05-14 09:01:18 +00:00
ehouse
1fa79026a4 Fix compile error. 2004-05-14 08:59:38 +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
ehouse
b07b947c44 Allow deletion of picked tiles during face-up picking. 2004-05-14 08:57:38 +00:00
ehouse
b3b56ce7ae catch up with constant changes 2004-05-07 03:57:23 +00:00
ehouse
3a6e0f707e remove graffiti state indicator for numbers-only field 2004-05-07 03:56:43 +00:00