Commit graph

672 commits

Author SHA1 Message Date
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
ehouse
7f38e98a0b fix cast 2004-09-24 01:37:30 +00:00
ehouse
650ccbf0ca no robots for a while 2004-09-24 01:35:54 +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
27dc6ce932 add pno-related obj dir 2004-09-19 03:32: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
e9a9125d41 add palm-style patterns for bonus squares (via compile-time option) 2004-07-29 06:56:48 +00:00
ehouse
67ac5c9ba0 add parens so test for dict flags works. 2004-07-29 06:55:21 +00:00
ehouse
b4840b6916 add new string constants 2004-07-25 00:43:54 +00:00
ehouse
edf6fdc116 add XP_STRCAT 2004-07-25 00:43:23 +00:00
ehouse
5f681eb5c1 fix formatting 2004-07-25 00:43:04 +00:00
ehouse
7586bf5013 up version string; fix formatting. 2004-07-25 00:42:39 +00:00
ehouse
810c3475be change signature to fit API changes (but don't use new params yet);
add new strings; fix formatting.
2004-07-25 00:42:18 +00:00
ehouse
7dbcdf4ca5 change signature to fit API changes (but don't use new params yet);
fix formatting.
2004-07-25 00:39:47 +00:00
ehouse
22460e4e6d accept dicts with new-format flags 2004-07-25 00:38:52 +00:00
ehouse
e19e47e0a8 nuke constant 2004-07-25 00:37:25 +00:00
ehouse
2af1705f1c Add warning when ARCH not defined -- it doesn't belong in your default
ENV if you compile Linux kernel 2.6.x -- and turn on new features.
2004-07-25 00:36:45 +00:00
ehouse
dfd4da9947 accept new-format dictionaries. Tested with BasEnglish2to8.xwd.
Should still work for old-format, and for 4-byte, but untested.
2004-07-25 00:35:13 +00:00
ehouse
f091ea2a53 just copied from ../English 2004-07-21 14:36:00 +00:00
ehouse
b92e531300 print letters as well as tiles when dieing because words out of order. 2004-07-21 14:34:10 +00:00
ehouse
6043e8c544 rule for building main dict from public commons list 2004-07-21 02:07:48 +00:00
ehouse
337bdea8a6 track last word for debugging purposes. 2004-07-21 02:06:24 +00:00
ehouse
a2db305526 print words up to 99 letters long 2004-07-21 02:04:57 +00:00
ehouse
8a4b9eed3a remove dead code 2004-07-20 15:13:54 +00:00
ehouse
b8af3a6e79 remove masking that was breaking blanks in Polish and I THINK was
redundant.  Add assert to make sure.
2004-07-20 15:08:45 +00:00
ehouse
1b603f2124 fix filters with the help of a localized Polish system. 2004-07-20 14:57:05 +00:00
ehouse
dba0aed84e add CHARSET attribute 2004-07-20 01:05:46 +00:00
ehouse
a66d508eeb first checkin; may not work 2004-07-19 13:55:58 +00:00
ehouse
6143e80c2b Friendlier warning when CAB builder file not found. 2004-07-11 16:52:29 +00:00
ehouse
a5fbad009f change binary name to Crosswords.exe 2004-07-11 16:32:22 +00:00
ehouse
0f373beadb change app title to Crosswords 2004-07-11 16:31:11 +00:00
ehouse
3a5ba82339 first checkin; works 2004-07-11 16:27:28 +00:00
ehouse
aec9469c6d fix so can build on windoze; add step to build .CAB files from dicts for Wince 2004-07-11 16:25:43 +00:00
ehouse
ebc986bd8b cannot binmode(STDOUT) 2004-07-11 16:24:12 +00:00
ehouse
67ba5461c5 fix problems introduced with WINCE_ONLY definition. Apparently you
can't redifine a makefile var and have the new value used on
subsequent lines.
2004-07-11 15:03:03 +00:00
ehouse
6e53150418 always hide arrow when undoing partial move, not just when done from
tray.
2004-07-10 22:57:17 +00:00
ehouse
665ff7b4c4 make < 80 columns 2004-07-10 22:56:20 +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
bb291f1e75 Hide cursor arrow when pen in empty tray region returns tiles to tray. 2004-07-10 22:40:50 +00:00
ehouse
898d0bf9ed protect with ifdef 2004-07-10 17:51:42 +00:00
ehouse
2c6412448b support and turn on hintlimits features 2004-07-10 17:49:31 +00:00
ehouse
74a934c50f add tray limits for hint dlg 2004-07-10 17:47:30 +00:00
ehouse
16a0f1248a support hint limits feature 2004-07-10 17:46:36 +00:00
ehouse
21085f1dcc add askTrayLimits var 2004-07-10 17:43:15 +00:00
ehouse
ee16a0f07f remove unused var 2004-07-10 17:42:16 +00:00
ehouse
d51014a45e first checked in; works 2004-07-10 17:40:16 +00:00
ehouse
e320ae9617 output the right string 2004-07-10 14:17:07 +00:00
ehouse
0cfa51e04a handle DOS EOL 2004-07-09 04:02:48 +00:00
ehouse
2b8dd6a805 cleanup 2004-07-08 14:26:42 +00:00
ehouse
13e33c181a deal with DOS EOL chars 2004-07-08 14:07:15 +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
857873dc83 first checkin 2004-06-27 14:23:50 +00:00
ehouse
39f563cffb turn on new features by default 2004-06-27 05:03:48 +00:00
ehouse
00c1f802fc cleanup; use new API for limiting tile use from tray. 2004-06-27 05:01:18 +00:00
ehouse
d9efe4258b cleanup for no hintlimit feature case 2004-06-27 04:35:42 +00:00
ehouse
2d63cdeda0 cleanup for no hintlimit feature case; add new param 2004-06-27 04:35:20 +00:00
ehouse
9c8159110b incorporate API changes; cleanup timer code 2004-06-25 07:19:05 +00:00
ehouse
ccd17bd59d version change 2004-06-25 07:09:38 +00:00
ehouse
9e1391af32 missed name change 2004-06-25 07:09:08 +00:00
ehouse
8e8e6896c1 framework for smarter inval of hint rect during drag 2004-06-25 06:56:58 +00:00
ehouse
4e6b8f4c76 engine is now responsile for asking for and tracking how many tiles in
the tray should be used in hints.
2004-06-25 06:51:24 +00:00
ehouse
c6c6d38dfc engine is now responsile for asking for and tracking how many tiles in
the tray should be used in hints.  Moved responsibility here from
platform because platform doesn't know when a turn ends, and end of a
turn (engine reset) is the right place to reset the values.
2004-06-25 06:49:49 +00:00
ehouse
f900988bcc pass to engine boolean telling it whether to ask for tray hint limits;
address, 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:47:35 +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
ca490374e5 add util_getTraySearchLimits 2004-06-25 06:39:24 +00:00
ehouse
338bda1e5b name change 2004-06-25 06:27:48 +00:00
ehouse
620b8752cf add #ifdef to fix compile 2004-06-24 05:20:28 +00:00
ehouse
18023ecab3 remove unused variable 2004-06-24 05:19:52 +00:00
ehouse
173eba64e3 version now part of stream 2004-06-24 05:19:31 +00:00
ehouse
6e5067c01d version now part of stream; fix VERSION defines 2004-06-24 05:18:46 +00:00
ehouse
6c14b290eb preserve hint limits 2004-06-24 05:17:59 +00:00
ehouse
9523cf30d5 remove non-working code 2004-06-23 04:37:44 +00:00
ehouse
fe681ddf86 move some actions to penUp from penDown 2004-06-23 03:33:06 +00:00
ehouse
63c860d31e nuke unused param 2004-06-23 03:30:12 +00:00
ehouse
004ec05a64 add checkbox for hint rect 2004-06-22 06:30:58 +00:00
ehouse
59ac0e42ef up stream version to include hintrect boolean 2004-06-22 06:29:19 +00:00
ehouse
debca15ba5 scroll as part of hint rect drag 2004-06-22 06:28:22 +00:00
ehouse
1568a27e3f hint-rect on by default (until UI or cli option added) 2004-06-18 13:52:49 +00:00
ehouse
dce8eb2ea5 remove dead code and bogus assert 2004-06-18 13:52:12 +00:00
ehouse
afdf26db81 add checkbox for hint rect; version change 2004-06-18 13:29:19 +00:00
ehouse
3608849636 add checkbox for hint rect 2004-06-18 13:28:31 +00:00
ehouse
2a9d5b7832 polish hintrect stuff; fix inval, etc 2004-06-18 13:25:57 +00:00
ehouse
ee184e2cf1 add allowHintRect 2004-06-18 13:16:40 +00:00
ehouse
f1dd28387c draw hint rect borders 2004-06-16 04:17:08 +00:00
ehouse
d5b3dd6551 kill timers after firing once 2004-06-16 04:16:22 +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
e3f57eed44 make hint rect per-player; hide when tray not visible; make upward
drag remove it.
2004-06-16 04:06:02 +00:00
ehouse
7914876294 Change engine to, when given a rect that's a subset of the board,
constrain the search for moves to those that involve filling only
tiles within the rect -- while still using the rest of the board as
context for the moves.  Robot moves use the whole board.
2004-06-15 01:58:09 +00:00
ehouse
da4fe889f1 Track drag on board to form a rect whose borders are drawn via
attributes on cells; pass that rect to engine when hint requested.
Still rough, and needs to be made per-user.  Also needs a way to hide
the rect.
2004-06-15 01:56:01 +00:00
ehouse
7efcdc80fe draw borders on cells that are part of hint-constraint rect 2004-06-15 01:44:39 +00:00
ehouse
8164f918f7 only call board_handlePenMove when mouse button is down. 2004-06-15 01:41:39 +00:00
ehouse
7e174b428f first checked in 2004-06-10 13:02:20 +00:00
ehouse
2b13efd72c tweaks for BYOD 2004-06-10 13:01:08 +00:00
ehouse
6f382e116c fix prototype error 2004-06-10 03:27:58 +00:00
ehouse
dd0a98a48e cleanup. Everything works now AFAIK. 2004-06-10 03:27:40 +00:00
ehouse
5a222f10b7 get working for spanish .xwd. .pdb remains. 2004-06-09 04:09:19 +00:00
ehouse
5402fdeae8 progress: works for .pdbs too (but not with specials) 2004-06-09 03:55:45 +00:00
ehouse
ff811344ad first checked in. Seems to work on .xwd format but not yet for .pdb. 2004-06-08 08:13:17 +00:00
ehouse
cb8d98a370 remove pre-ship designation from version string 2004-06-04 12:47:39 +00:00
ehouse
1324d81bb9 fix compile error 2004-05-29 14:26:36 +00:00
ehouse
4c5344e67b version string to rc1 2004-05-29 14:15:27 +00:00
ehouse
08bd6cc160 removed commented out code 2004-05-28 02:47:27 +00:00
ehouse
95efad0cb2 bug: disable some items when not starting a game 2004-05-28 02:46:42 +00:00
ehouse
f9f2c38901 turn coloring tiles on by default 2004-05-28 02:45:49 +00:00
ehouse
fcc719b8f8 always build with color editing 2004-05-26 04:51:48 +00:00
ehouse
fb043982ba check flags before recognizing dict so shipping versions will not try to open newer format dicts 2004-05-26 04:50:30 +00:00
ehouse
d347407ee9 no drawing until board inited; redraw after colors changed in new game creation 2004-05-26 04:48:25 +00:00
ehouse
6b641fc73b clean up dialog init 2004-05-26 04:46:57 +00:00
ehouse
633d5cea62 always build with color editing 2004-05-26 04:43:53 +00:00
ehouse
c8545a3cb7 always build with color editing; version change 2004-05-26 04:43:18 +00:00
ehouse
def1f19e02 clean up dialog init 2004-05-26 04:39:29 +00:00
ehouse
566d21fc7b position Spanish bitmaps better 2004-05-22 15:23:38 +00:00
ehouse
526869c4d2 quick hack to not require franklin seb stuff 2004-05-20 02:18:17 +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
f8c8e0067a left out a filter step 2004-05-20 02:15:20 +00:00
ehouse
8869fdcfcc first checkin (from personal repository) 2004-05-18 05:24:51 +00:00