Commit graph

938 commits

Author SHA1 Message Date
ehouse
a74f9702ee add DoImmediateDraw 2005-01-20 02:42:51 +00:00
ehouse
f2f4b9107d library for file io 2005-01-20 02:40:34 +00:00
ehouse
6abaa53d86 new constant so clients can extend set of warnings 2005-01-20 02:37:13 +00:00
ehouse
bb7717096a test for file before opening 2005-01-19 15:15:04 +00:00
ehouse
997e030885 add Exists; improve unique name generation 2005-01-19 15:12:34 +00:00
ehouse
352231b854 confirm deletions 2005-01-19 15:11:07 +00:00
ehouse
42e680e574 don't try to copy null string 2005-01-19 15:08:57 +00:00
ehouse
68b38664d2 new method for external query 2005-01-19 15:07:37 +00:00
ehouse
7318254a46 add Exists() 2005-01-19 15:06:19 +00:00
ehouse
1d15213ec5 pass in view so its methods can be called 2005-01-19 15:05:19 +00:00
ehouse
ee95cc94cf new user-visible strings for delete confirmation 2005-01-19 15:04:17 +00:00
ehouse
12b8e0a593 save games and prefs 2005-01-18 16:01:29 +00:00
ehouse
e24ece10af create empty dicts 2005-01-18 15:11:46 +00:00
ehouse
3dc3f0e125 notify view when exiting 2005-01-18 15:09:45 +00:00
ehouse
5836e2fbe8 use constant for UID 2005-01-18 15:08:31 +00:00
ehouse
5e25ea1140 remove dead code 2005-01-18 15:07:00 +00:00
ehouse
62f49a0b59 add desc logging 2005-01-18 15:05:33 +00:00
ehouse
078b0ed8e5 save and restore games and prefs 2005-01-18 15:03:31 +00:00
ehouse
85fbaffd25 constants for saved games dlg 2005-01-18 15:00:49 +00:00
ehouse
07c7cdef1f add desc logging 2005-01-18 14:58:56 +00:00
ehouse
f619cc9434 add saved games dialog 2005-01-18 14:57:39 +00:00
ehouse
17c3f3e7e7 new source files and library 2005-01-18 14:55:57 +00:00
ehouse
9097728b2f first checked in 2005-01-18 14:53:30 +00:00
ehouse
1b0e38222e first checked in; works but confirm and rename pending 2005-01-18 14:49:23 +00:00
ehouse
9cbc3688dc separate info and query, and use the right one 2005-01-13 14:39:12 +00:00
ehouse
bc771cf3a1 default impl of getShortName 2005-01-13 14:36:42 +00:00
ehouse
c0efcd6b00 util function sig change 2005-01-13 04:37:36 +00:00
ehouse
f5a5d3d7a6 util function sig change 2005-01-13 04:30:50 +00:00
ehouse
8e656ad74a define OS_INITS_DRAW 2005-01-13 02:56:08 +00:00
ehouse
70266c075d don't call board_draw except in response to Draw() on Symbian 2005-01-13 02:52:45 +00:00
ehouse
26142ff074 fix crasher due to uninited var; add static util method 2005-01-13 02:31:15 +00:00
ehouse
ea28365c60 overload symReplaceStr 2005-01-13 02:26:05 +00:00
ehouse
aea7a28f97 stop compiler warnings 2005-01-13 02:25:01 +00:00
ehouse
e8eec6f5f0 keep a copy of dict name 2005-01-13 02:21:30 +00:00
ehouse
3bde62ee78 swap linefeeds into text so it wraps in EDWINs 2005-01-13 02:16:52 +00:00
ehouse
3f772057d5 clean up compile warnings; implement menuitems that use ask dlg 2005-01-13 02:13:17 +00:00
ehouse
f2f766d6a4 util methods for using NewGame 2005-01-13 02:08:35 +00:00
ehouse
79f93db91b tweaks for non-debug compilation 2005-01-13 02:06:59 +00:00
ehouse
dfc6934da5 overload symReplaceStr 2005-01-13 02:04:43 +00:00
ehouse
56536417d3 add static utility function 2005-01-13 02:01:31 +00:00
ehouse
72ad619ee8 tweak 2005-01-13 01:55:12 +00:00
ehouse
853ad798d0 make edwin work better for static data display 2005-01-13 01:54:22 +00:00
ehouse
c1a9619314 remove dup lib 2005-01-13 01:47:34 +00:00
ehouse
1fdbd39642 rearrange MACRO lines 2005-01-13 01:45:24 +00:00
ehouse
538113220f add missing gameID param 2005-01-13 01:43:02 +00:00
ehouse
e66180acb6 make switching between armi and wins easier 2005-01-10 01:43:26 +00:00
ehouse
d353d1eb85 pass key events to board 2005-01-10 01:41:38 +00:00
ehouse
5e7f0b6b02 first checked in; works 2005-01-09 21:59:03 +00:00
ehouse
2dbc132f9b call blanks dlg 2005-01-09 21:58:08 +00:00
ehouse
02fd546de0 remove logging 2005-01-09 21:54:20 +00:00
ehouse
834d1a9266 first checked in 2005-01-09 21:53:36 +00:00
ehouse
97267a0b00 add blanks picker dlg 2005-01-09 21:37:38 +00:00
ehouse
4612c37397 add symblank.cpp 2005-01-09 21:36:01 +00:00
ehouse
0bc0c53823 make params const 2005-01-09 21:33:48 +00:00
ehouse
3d8f693d8c get dialog working, use cur settings to load and save 'em out when closing. Does names and robot and dict only so far 2005-01-09 18:58:05 +00:00
ehouse
127c569d8f gather dicts manually; call game info dlg when no game saved (which is always still) and use dict chosen there 2005-01-09 18:55:41 +00:00
ehouse
8fbeaaa9b1 implement symReplaceStrIfDiff 2005-01-09 18:53:15 +00:00
ehouse
81b4f42bd0 tmp hack to run native 2005-01-09 18:51:57 +00:00
ehouse
d374d82799 param change 2005-01-09 18:50:19 +00:00
ehouse
fdd8b1de0c add class for tmp storage of game info; new dialog has only one pane for players 2005-01-09 18:47:05 +00:00
ehouse
503f8d8938 add and remove consts 2005-01-09 18:45:36 +00:00
ehouse
f4b75f1c7d use game info dlg to get initial game setting; make list of dicts without user 2005-01-09 18:43:27 +00:00
ehouse
b75b09d1a6 api change 2005-01-09 18:42:08 +00:00
ehouse
ee9a820444 first checked in 2005-01-09 18:41:45 +00:00
ehouse
20b787e028 better game info dialog 2005-01-09 18:40:33 +00:00
ehouse
75a5de7644 new library 2005-01-09 18:38:19 +00:00
ehouse
e583e32181 first stab at adding sis production 2005-01-09 18:37:22 +00:00
ehouse
ac9dd69308 remove STUBBED_DICT 2005-01-09 00:08:32 +00:00
ehouse
b2282b3e53 common lib must come before what it requires 2005-01-09 00:07:51 +00:00
ehouse
fbe614705b implement final scores 2005-01-08 18:27:50 +00:00
ehouse
f1b57e6a1f add option to take a TBuf16 2005-01-08 18:21:35 +00:00
ehouse
5f66c51e38 use bitmaps for arrows and star 2005-01-08 18:19:12 +00:00
ehouse
ca71bc4c04 larger tmp buf for faster copying 2005-01-08 18:14:36 +00:00
ehouse
f53ccf7580 first cut at game setup dialog 2005-01-08 18:13:30 +00:00
ehouse
290ff76587 DisplayFinalScoresL 2005-01-08 18:12:26 +00:00
ehouse
a0dd4547d7 80 vs 60 foo 2005-01-08 18:10:25 +00:00
ehouse
f7253e0465 add option to take a TBuf16 2005-01-08 18:09:32 +00:00
ehouse
473c2d5ed7 add stdlib.h 2005-01-08 18:08:44 +00:00
ehouse
cdea180f9d first checked in 2005-01-08 18:06:01 +00:00
ehouse
9231c960f1 add bitmaps 2005-01-08 18:00:37 +00:00
ehouse
19adc3055d add libc to include path 2005-01-08 17:59:26 +00:00
ehouse
f0d5b0b251 allow caller to assign COMMONDIR for cases where caller isn't where
expected.
2005-01-07 11:09:09 +00:00
ehouse
6d840fd2ce first checked in. Compile succeeds. May not run however! 2005-01-07 11:07:52 +00:00
ehouse
6f8318d073 Fix to compile for series 60 under Linux. Completely untested! 2005-01-07 11:06:54 +00:00
ehouse
cce9766a2b snapshot trivial but working tabbed dialog skeleton; replace flip hardware button with done 2005-01-06 14:16:59 +00:00
ehouse
8802805af4 replace uid with official one supplied by Symbian 2005-01-05 03:18:48 +00:00
ehouse
301883acfa draw cur player and highlighted tiles white-on-black 2005-01-05 02:54:05 +00:00
ehouse
d90c3bf80e remove unused vars 2005-01-04 15:11:00 +00:00
ehouse
1f5783cbf2 first checked in 2005-01-04 15:01:00 +00:00
ehouse
4fe5660bcb first checked in 2005-01-04 14:51:33 +00:00
ehouse
2cb6770042 first checked in; works but edit control way too small 2005-01-04 14:42:42 +00:00
ehouse
c97978911b first checked in 2005-01-04 14:34:36 +00:00
ehouse
ccee0fc65f first checked in 2005-01-04 04:31:36 +00:00
ehouse
536dfc2d1c first checkin 2005-01-04 04:14:59 +00:00
ehouse
4fef428808 first checked in 2005-01-04 04:12:11 +00:00
ehouse
dd019b576e remove unused constant 2005-01-04 04:07:38 +00:00
ehouse
a55d4c4435 add casts for symbian compiler 2005-01-04 04:06:37 +00:00
ehouse
c5e534680f formatting 2005-01-04 04:05:02 +00:00
ehouse
8b44ad1324 start cursor near middle of board 2005-01-04 03:23:12 +00:00
ehouse
bbd8d917bc up/down arrow keys move divider 2005-01-04 03:11:56 +00:00
ehouse
b9d411c708 turn on optimizations for ARM Release build; kill precompiled headers for all 2004-12-18 01:21:11 +00:00
ehouse
b77d8b8fbb use dict_getShortName 2004-12-18 01:06:47 +00:00
ehouse
718eb3f600 add dict_getShortName 2004-12-18 01:05:20 +00:00
ehouse
3394e20e9b add dict_getShortName, casts for symbian 2004-12-18 01:04:57 +00:00
ehouse
e847769650 version to b2 2004-12-18 01:04:19 +00:00
ehouse
ea9e897407 use _vsnprintf to fix buffer overflow 2004-12-18 01:03:26 +00:00
ehouse
f474ff3ba6 add bname 2004-12-18 01:02:54 +00:00
ehouse
99c4f0b15a dict_getShortName 2004-12-18 01:02:22 +00:00
ehouse
10b61b5bad remove bname 2004-12-18 01:01:47 +00:00
ehouse
cd4f97bd15 remove too-frequent logging 2004-12-17 15:17:20 +00:00
ehouse
45e60d831b turn on MY_COLOR_SEL for .rc file too 2004-12-17 15:15:12 +00:00
ehouse
f009b7a13d cover timer with scoreboard when no timer so region gets erased 2004-12-17 15:11:45 +00:00
ehouse
d6f8bd0631 beta 1 2004-12-17 15:09:09 +00:00
ehouse
67a5554d99 move scoreboard back to top 2004-12-17 15:08:00 +00:00
ehouse
6667fbf279 add aygshell.lib 2004-12-17 07:48:34 +00:00
ehouse
4e4123c0d3 init new-style menus 2004-12-17 07:45:30 +00:00
ehouse
23139bccce specify new-style menus 2004-12-17 07:42:25 +00:00
ehouse
a576baca78 expand board to fill space created by new-style menus 2004-12-17 07:27:46 +00:00
ehouse
24286777bf add aygshell struct for new-style menus 2004-12-17 07:24:52 +00:00
ehouse
cd6581bc19 constants for new-style menus 2004-12-17 07:23:23 +00:00
ehouse
afea0cf42b .cvsignore 2004-12-12 17:47:24 +00:00
ehouse
3d0eb0200a turn on features for code and resources 2004-12-12 17:45:44 +00:00
ehouse
d420241db4 version -> 4.1 2004-12-12 17:41:01 +00:00
ehouse
3e1dfcb1ac fix hint borders for arrowcursor 2004-12-12 17:39:59 +00:00
ehouse
4e6f6bc545 formatting change only 2004-12-12 17:33:52 +00:00
ehouse
5fb5008562 fix glitch in tile picker (same as palm) 2004-12-12 17:32:17 +00:00
ehouse
cf206900fd add note about use of iso-8859-2 character encoding 2004-12-12 06:29:16 +00:00
ehouse
abd8356964 catch up with the current Polish values (says a correspondent) 2004-12-11 05:36:31 +00:00
ehouse
51f1cec7c9 generated by evc4 in converting from evc3 2004-12-11 04:29:57 +00:00
ehouse
f9149e03b1 fix to compile without SEARCHLIMIT set 2004-12-11 04:25:45 +00:00
ehouse
6a569d5632 add missing param 2004-12-11 04:17:07 +00:00
ehouse
aa6e46d05f always set nTilesMax so works when XWFEATURE_SEARCHLIMIT not defined 2004-12-11 04:16:48 +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
ebec5b9b17 remove hint-drag logging (no change to non-debug code) 2004-11-14 16:29:13 +00:00
ehouse
28b98cfd79 add HintAtts param to draw_drawBoardArrow 2004-11-14 16:27:51 +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
47f81507af add HintAtts param to draw_drawBoardArrow 2004-11-14 16:06:30 +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
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