Commit graph

2141 commits

Author SHA1 Message Date
ehouse
f3197b00e3 Make a couple of dialogs format for narrower screen and respect keypad buttons. 2008-02-02 20:58:44 +00:00
ehouse
b39063237e fix perimeter focus clearing and board size setting. 2008-02-02 17:21:57 +00:00
ehouse
caf7a38672 Move toward running curses on a small screen: replace omnipresent menu
with one drawn on demand; change size and location of scoreboard and
tray if needed; use wgetch rather than reading stdin to support keypad
keys for navigation.  Also stick g_ in front of some frequently used
global names.
2008-02-02 16:56:20 +00:00
ehouse
3b449f3211 fix to build without Bluetooth headers 2008-02-02 16:53:36 +00:00
ehouse
19ea3e1f6e change name of field. No code change. Pending on symbian and franklin which don't compile. 2008-02-02 15:17:53 +00:00
ehouse
2386ab6b31 Add full-screen mode and menu to get to it (leaving the cmdbar/softkey
area in place until I figure out how to work a UI without a visible
menu); rework menu to launch new-style from a single softkey; remove
cmdbuttons and associated resources; limited progress on handling
return key/timeouts for keyboard navigation.
2008-01-20 15:36:17 +00:00
ehouse
fc3dcc3586 Turn off experimental multi-device features; up copyright; define XP_UCHAR as signed char to fix lots of warnings. 2008-01-19 16:34:21 +00:00
ehouse
a05f869472 Fix to compile and run standalone 2008-01-19 16:04:48 +00:00
ehouse
b25ffefb88 Fix to compile and run standalone 2008-01-19 16:03:53 +00:00
ehouse
2d629a3cb1 Latest strings translated. 2008-01-08 14:35:41 +00:00
ehouse
202e73ae27 Tweak text around locating host device 2008-01-07 13:56:53 +00:00
ehouse
9011b25907 fix so non-debug builds compile 2008-01-07 13:56:20 +00:00
ehouse
d96709dffb remove newly-added palm_bt_nameForAddr 2008-01-07 13:36:00 +00:00
ehouse
b3c30161be Add method to lookup hostname without access to btlib state. Some cleanup. 2008-01-07 01:27:45 +00:00
ehouse
bf5a1f1487 Log unusual case. 2008-01-07 01:19:47 +00:00
ehouse
b53a1e8b4d Get rid of unused enum. 2008-01-07 01:19:24 +00:00
ehouse
d7cfc5acdf Error code used with method to check consistency of BT address. 2008-01-07 01:18:51 +00:00
ehouse
174e5a8a9e non-code change to make debugging easier 2008-01-07 01:17:42 +00:00
ehouse
c6d20489b4 Revert to default values for conType-specific fields for all types but
the current.  This prevents random-string hostnames when switching
from IR to BT.  Also some code cleanup.
2008-01-07 01:15:18 +00:00
ehouse
a2f5108a57 Error string used with method to check consistency of BT address. 2008-01-07 01:12:12 +00:00
ehouse
0c459e007d Error code used with method to check consistency of BT address. 2008-01-07 01:11:29 +00:00
ehouse
880fb716c6 Unify lookup by address and by channelNo; add method to check consistency of BT address. 2008-01-07 01:10:43 +00:00
ehouse
a9d1697c7b Update to use modified newg_store 2008-01-05 16:37:49 +00:00
ehouse
dfee56609a Warn user, and refuse to continue, when new game is as host and has no remote players. API
changes, so other platforms won't compile until changed.
2008-01-04 14:47:52 +00:00
ehouse
a25de221e9 when variables in callback indicate we're running in another app's context, do nothing 2008-01-02 01:46:35 +00:00
ehouse
93cb20214e log date on startup; don't always put up about dialog on first boot; remove excessive logging 2008-01-02 01:45:58 +00:00
ehouse
c8ead8477e add target for dict2dawg 2008-01-02 01:44:12 +00:00
ehouse
4f65e023e3 fix unused param warning 2008-01-02 01:43:45 +00:00
ehouse
3e05965b93 up copyright date and beta version number 2008-01-02 01:28:30 +00:00
ehouse
d658c29c88 test for duplicate initial client message and if so drop it; add const keyword; add assertion in addr comparion in attempt to learn why duplicates are getting through. 2007-12-31 20:00:13 +00:00
ehouse
81598477a1 ignore timers if state changes after they're set; take down links when resetting 2007-12-31 01:22:03 +00:00
ehouse
a6e3df1ad4 draw hint borders wider on high-res devices so they're actually visible (part 2) 2007-12-19 05:31:53 +00:00
ehouse
45e57a7d86 Add what may be final French translations; remove pre-release part of aboutbox text. 2007-12-19 05:30:51 +00:00
ehouse
eafec70d01 draw hint borders wider on high-res devices so they're actually visible 2007-12-19 05:29:53 +00:00
ehouse
ef8a5d0b11 Make initial value of confirmBTConnect true. 2007-12-15 18:55:32 +00:00
ehouse
84b707990e Substitute name of remote host into request for connection
initialization confirmation.
2007-12-15 07:22:12 +00:00
ehouse
d82f47f60d Catch French up with change for BT connect confirmation (pending
translation.)
2007-12-14 13:37:12 +00:00
ehouse
1872928530 Don't end game when player has no tiles left in tray but still
tentative tiles on board.
2007-12-14 13:25:40 +00:00
ehouse
9d42d1b902 Fix compilation errors due to constant name changes -- no change to binary. 2007-12-14 13:06:44 +00:00
ehouse
c8bbfc5432 Instead of warning user on failure to connect via BT, add preference
to allow user to confirm before every attempt.  Users will learn to
set this when T650s are in the mix.  Save a new preference, and up the
stream version.  Up beta version.  Add the preference both to the prefs
dialog and to the bluetooth connection (for guest) dialog, with both
impacting the same field in gamePrefs.
2007-12-14 03:38:55 +00:00
ehouse
d482a9d57b fix bug using same string and code to warn and to reject phonies. 2007-12-14 03:21:46 +00:00
ehouse
02360238ef fix bug introduced by what was supposed to be risk-free change: send prefsChangedEvent rather than the wrong one so preferences get honored again. 2007-12-13 14:44:29 +00:00
ehouse
fbc2535979 Change Resend menu text, and to make it clearer put up an error message when it's used in a standalone game. 2007-12-12 04:23:42 +00:00
ehouse
3dc9f327f8 Substitute French translations of new BT-related strings; since this
results in overlapping buttons, add code to space them evenly across
window.
2007-12-11 04:36:50 +00:00
ehouse
385423f695 Add non-sf.net contact options; make params const. 2007-12-09 23:37:47 +00:00
ehouse
bc5423b3fe Add strings and make other changes needed for compilation with BT on
for French, marked for translation.  Fix formatting and add emacs
compile string for English.
2007-12-09 04:02:24 +00:00
ehouse
63ccaed46e cleanup; replace a bunch of EvtAddEventToQueue calls with
postEmptyEvent; pass transport type with incoming packets so they can
be rejected if not on expected channel (to stop IR, which is always
on, from injecting into a BT game); do BT work and fire timers even
when menu is down; don't let robot run until after board is drawn for
the first time; on startup, don't let robot run until after board is
drawn once.  Up version to b3.
2007-12-09 01:59:15 +00:00
ehouse
c72d0fec65 Fix crash on restart when app had been exited with some form other
than main on top.  focusOwner was saved based on front form but on
startup I tried to set it in the main form.  This will need to be
merged into a branch based on the 4.2.1 release for a 4.2.1.
2007-12-08 21:04:44 +00:00
ehouse
693eeb6863 Remove unused code and constants; fix to compile with relay; don't
show connection type dialog unless more than IR is available and
supported, and then build the dropdown dynamically based on what's
compiled-in and available on the device.  This means you don't see the
BT option at all if you don't have BT.
2007-12-08 18:11:42 +00:00
ehouse
bf3ccf1bad Remove unused FindTrustedDevice calls; don't try to become master or slave
until we know which we'll be.  This likely fixes the problem where devices
have trouble connecting after switching roles.
2007-12-07 09:50:48 +00:00