Commit graph

739 commits

Author SHA1 Message Date
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
b60d605ea4 add remaining tiles dialog 2004-11-09 02:51:22 +00:00
ehouse
e826824935 add tiles left menuitem 2004-11-09 02:46:38 +00:00
ehouse
3eb12c918d catch up with api changes; add remaining tiles dialog 2004-11-09 02:40:36 +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
4971a622ce Make linux compile with latest changes 2004-11-09 02:06:32 +00:00
ehouse
fbc2f86187 Don't use Palm APIs in common code! 2004-11-09 02:03:28 +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
47b4de73e7 add board_formatRemainingTiles 2004-11-06 02:54:25 +00:00
ehouse
7a84f7f425 add param to model_countAllTrayTiles 2004-11-06 02:50:01 +00:00
ehouse
a4938db8fe server_formatRemainingTiles and server_formatDictCounts 2004-11-06 02:46:08 +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
1d2c533094 add .xwd 2004-11-05 14:37:38 +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
0f557c3e73 nuke tmpModel earlier 2004-11-05 14:29:17 +00:00
ehouse
6ca65b261e first checked in 2004-11-05 14:26:25 +00:00
ehouse
b24837669d TARGET_TYPE to PALM; use env variable to locate input wordlist 2004-11-05 14:24:47 +00:00
ehouse
d890b0c892 TARGET_TYPE to PALM 2004-11-05 14:20:25 +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
90920a51ca add comment 2004-11-02 06:27:47 +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
3046815907 another move-summary bug 2004-10-31 00:54:21 +00:00
ehouse
2866ccfc95 fix bug summarizing score for one-tile moves; remove return from
middle of function.
2004-10-31 00:53:26 +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
03eeac1d30 fix bug with printing last move score. Undo on the tmp model wasn't
working and so tiles added later got included.
2004-10-30 18:22:39 +00:00
ehouse
00cc411f39 fix linux build: set up super's vtable 2004-10-30 17:01:20 +00:00
ehouse
7afe70569c fix linux build: add missing param 2004-10-30 16:59:07 +00:00
ehouse
68b5a6371f cleanup 2004-10-30 16:55:59 +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
e89b7da54a add gi_countHumans 2004-10-30 04:50:33 +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
7fb7e404a2 util_engineStarting takes new param (ignored) 2004-10-16 04:46:08 +00:00
ehouse
fef519fde0 call dict_super_init 2004-10-16 04:45:30 +00:00
ehouse
24dc43055c remove dead code 2004-10-16 04:45:00 +00:00
ehouse
299b6020af turn on use of pattern rather than shaded of gray for bonus squares 2004-10-16 04:44:40 +00:00
ehouse
f0e5fac581 call new dict_super_init 2004-10-16 04:41:23 +00:00
ehouse
eb168cf1f2 add -raw option to dump DAWG in way useful for debugging engine and
dawgshow.
2004-10-15 04:01:22 +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
ec19669d4f always include slots that are only used in conditional builds to
simplify converting between saved versions.
2004-10-08 23:57:24 +00:00
ehouse
71142255d6 deal with older stream version 2004-10-08 23:54:57 +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
fd75f3324e Pass number of blanks to util_engineStarting 2004-10-07 13:51:03 +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
b8fb47ea6c add .xwd and .pdb 2004-10-05 02:34:36 +00:00
ehouse
b7dd4fd50c bug: hide arrow when it can't be moved in case where tile comes via keyboard 2004-10-05 02:32:58 +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
00b53c233a ignore dicts 2004-10-02 03:58:47 +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
1586797fef remove tabs indenting lines between ifdef and endif. For some reason
this was blocking some assignments.
2004-10-02 03:48:14 +00:00
ehouse
f13c0a3473 fix arm<->68K save/open problem by not relying on sizeof and saving
each field explicitly (as I already do everywhere else.)
2004-10-02 03:47:24 +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
96a241c7d3 reject message with wrong connID 2004-10-01 01:25:55 +00:00
ehouse
5eea4644e2 first player robot again by default 2004-09-30 13:51:29 +00:00
ehouse
80cc53eb11 fix endienness problem for game id 2004-09-30 13:43:07 +00:00
ehouse
b7f847194e fix help message 2004-09-30 01:49:46 +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
77f543e863 fix for 4-byte nodes on ARM 2004-09-28 01:03:48 +00:00
ehouse
38a4170fe0 cleanup; fix for 4-byte nodes on ARM 2004-09-28 01:03:07 +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