ehouse
00a45e0e77
fix ARM build so DEBUG setting is passed to compiler, and code so it
...
compiles that way.
2006-09-16 22:09:28 +00:00
ehouse
abd82e6e2f
pass debug -D options to .rcp files to to include debug menus
2006-09-16 16:08:33 +00:00
ehouse
ea2e1c3f0f
revert change 1593: FEATURE_HIGHRES is no longer defined. This brings
...
highres icons back.
2006-09-16 15:53:14 +00:00
ehouse
6c3ae78f81
strutils macro change
2006-09-15 07:43:21 +00:00
ehouse
e17a442964
strutils macro change; tweak so compiles non-DEBUG and without Bluetooth
2006-09-15 07:42:10 +00:00
ehouse
d06daad4f0
Names change only: it's actions, not events, that are postponed.
2006-09-14 01:57:40 +00:00
ehouse
2c0283ee31
Remove dead code
2006-09-14 01:48:22 +00:00
ehouse
ed06a20881
New addr param to checkAndDeliver so address can be passed back to
...
comms; Add debug-only menus to toggle logging to file and memopad.
2006-09-14 01:46:41 +00:00
ehouse
4f2468c61e
New addr param to checkAndDeliver so address can be passed back to
...
comms.
2006-09-14 01:41:37 +00:00
ehouse
3b98337eec
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
66d900b1fa
Add debug-only menus to toggle logging to file and memopad
2006-09-14 01:34:22 +00:00
ehouse
13aabdd2e7
Don't typedef array; make array field of struct.
2006-09-14 01:31:13 +00:00
ehouse
c068126c56
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
f46ae953e8
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
67b1c7c45a
init address field with current bt_adddr
2006-09-08 07:02:16 +00:00
ehouse
e471250e1e
cleanup: add missing consts.
2006-09-08 06:43:59 +00:00
ehouse
f73836a0ce
add ability to log to non-Memo db (to be read off device).
2006-09-08 06:39:35 +00:00
ehouse
fbe6da0ecd
add __FUNCTION__ to assert macro
2006-09-01 04:39:56 +00:00
ehouse
29c8b461b8
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
7d48f2e430
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
3c6405d0d1
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
62dd1091ca
Fix compile errors due to missing UNUSED macros
2006-08-17 01:31:49 +00:00
ehouse
f561989644
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
fbd3716fc3
tweak button location
2006-07-28 08:04:00 +00:00
ehouse
eacc930c31
fix change between Local players/Total players when device role changes in newgame dlg
2006-07-28 08:03:33 +00:00
ehouse
3b11f5ac1f
better compile-command in header
2006-07-28 07:53:18 +00:00
ehouse
468a8626bf
cleanup: remove overly verbose logging
2006-07-28 07:51:49 +00:00
ehouse
8e1291a4e6
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
83d8d8b9e8
Exclude high-res bitmaps from lowres build
2006-07-03 23:45:18 +00:00
ehouse
b2d326c2f5
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
9e5b4930b0
ppm files no longer used. Remove.
2006-07-03 23:06:25 +00:00
ehouse
d860e63e16
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
9ad529c6b6
remove parameter following API change
2006-06-28 03:11:26 +00:00
ehouse
8277d3736a
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
f4659b73b0
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
2d344c8c76
turn off advanced networking by default for push to release
2006-06-22 04:52:33 +00:00
ehouse
e8273bc9f0
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
6b80b3c0bc
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
4969c10445
catch up with API change
2006-05-09 04:05:19 +00:00
ehouse
dc0cdfc53a
catch up with API change
2006-05-09 04:04:56 +00:00
ehouse
01d7f9b344
Get rid of TALL_FONT macro, since it's permanently on anyway.
2006-04-01 21:25:58 +00:00
ehouse
cc6251b595
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
180c86cf0c
add a couple of missing icon images
2006-03-18 03:34:15 +00:00
ehouse
d98c3d64f2
bring in transparant small icon change from 4.1 branch
2006-02-26 23:56:06 +00:00
ehouse
ccb5ee87f8
up alpha version
2006-02-26 23:53:55 +00:00
ehouse
9ff5259d4e
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
de01f71058
update help target
2006-02-18 06:37:01 +00:00
ehouse
0693777599
merge transparant large-icon from 411-branch
2006-01-22 17:50:47 +00:00
ehouse
f833a5ef2c
don't show "loading ARM" except on debug versions. It's fast enough now.
2006-01-21 19:16:39 +00:00
ehouse
d2a32f7a95
tell folks where to get dictionaries.
2006-01-21 19:12:37 +00:00
ehouse
165174087c
-Os instead of -O2
2006-01-16 06:08:16 +00:00
ehouse
423c090c4c
make default build arm_only, and don't require multilink to build the
...
68k stub.
2006-01-16 06:07:33 +00:00
ehouse
c7d851ca18
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
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
2719bb39b2
fix for when BEYOND_IR not defined
2005-09-17 19:49:53 +00:00
ehouse
685adf53ad
use comms_setAddr rather than modifying const to set resolved address.
2005-09-04 20:34:52 +00:00
ehouse
c319711cb1
add error messages
2005-09-04 20:34:16 +00:00
ehouse
6c1f8c4bcc
TALL_FONTS (support for Danish tall letters) now on by default
2005-09-04 20:32:16 +00:00
ehouse
df5c274c31
constant name changed
2005-08-21 14:18:56 +00:00
ehouse
1fd6afcaf9
Clean up and fix timer code.
2005-08-03 01:14:49 +00:00
ehouse
c67c8054b0
add const to match new signature
2005-07-30 02:44:42 +00:00
ehouse
0a8b5bb563
Get rid of unused param
2005-07-14 02:54:47 +00:00
ehouse
b015224188
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
1cc517cca3
don't use %c on ARM. Crashes due to my bad StrPrintF implementation.
2005-07-08 08:30:42 +00:00
ehouse
591e43d752
new functions for measuring glyphs
2005-07-08 08:29:37 +00:00
ehouse
b77e2999b8
Moving glyph-measuring code to drawing; fix for highres case.
2005-07-08 03:14:43 +00:00
ehouse
ff5ea1cb44
Moving glyph-measuring code to drawing
2005-07-08 03:10:21 +00:00
ehouse
c672b00afa
remove glyph-measuring API just added (since it belongs in drawing,
...
not dict)
2005-07-08 03:08:16 +00:00
ehouse
3d067ccbbc
(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
a7eba95a25
update copyright year in about box
2005-06-27 06:05:14 +00:00
ehouse
d29698c1b0
put back functions that never should have been removed.
2005-06-27 05:45:28 +00:00
ehouse
2abb6fe77f
cleanup: make module-local functions static
2005-06-25 05:43:56 +00:00
ehouse
2c0a818ada
add default compile command
2005-06-25 05:43:04 +00:00
ehouse
e404d77f87
version to 4.2x
2005-06-23 04:23:06 +00:00
ehouse
b1536b6d38
handle heartbeat timer and change to util_setTimer
2005-06-23 04:22:46 +00:00
ehouse
45cc7595cd
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
e0f5a64399
fix timer not getting drawn on highres screens
2005-06-23 04:21:35 +00:00
ehouse
d4dd21fc42
BEYOND_IR now the default
2005-06-23 04:20:46 +00:00
ehouse
1e03b53d1d
add NetLibGetHostByName
2005-05-01 18:23:28 +00:00
ehouse
1925e769a2
modify TARGET .prc name based on ARCH
2005-05-01 17:39:09 +00:00
ehouse
68dbf2560f
NetLibGetHostByName
2005-05-01 17:36:33 +00:00
ehouse
2dbf014118
add types for netlib funcs
2005-05-01 17:34:39 +00:00
ehouse
4c587df9f3
enable network-aware PNO build
2005-05-01 17:19:50 +00:00
ehouse
f58a885ce2
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
88f4c3749b
add palm_util_addrChange; track whether running on POSE to work around
...
NetLibSelect bug.
2005-04-03 16:54:54 +00:00
ehouse
83e24bb9fa
remove unneeded param
2005-04-03 16:53:32 +00:00
ehouse
b5f09c1dd2
deal with address change, esp of hostname, and separate name
...
resolution from socket opening.
2005-04-03 16:52:51 +00:00
ehouse
b64c359075
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
75b0e6cf11
needn't open netlib from here!
2005-04-03 02:47:46 +00:00
ehouse
1c38bcf6ed
first checked in. Works, but error recovery not done yet.
2005-04-03 02:46:31 +00:00
ehouse
0a0bea17ed
move generic send/receive stuff from palmir.c; tweak data structures
...
for relay scheme.
2005-04-03 02:00:44 +00:00
ehouse
803371ef5a
move generic send/receive stuff from palmir.c.
2005-04-03 01:59:57 +00:00
ehouse
8e5f222fe6
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
d8f23ba643
add XP_LD
2005-04-03 01:53:07 +00:00
ehouse
52bf5f3e8f
remove ip-related stuff to new files
2005-04-03 01:47:34 +00:00
ehouse
5539c05080
add palmip.c; change how upload works
2005-04-03 01:39:08 +00:00
ehouse
3b18ba9605
correct spelling
2005-03-15 06:27:21 +00:00
ehouse
89c1ba92c3
move playerNum into dsi so can be used in formatting score
2005-03-15 06:26:58 +00:00
ehouse
81583e30b5
merge from palm 1.4 branch changes to allow arm-only, etc builds from
...
commandline.
2005-03-08 05:36:33 +00:00
ehouse
34462d05d6
fix from branch: position tray buttons correctly in highres case
2005-02-23 14:18:22 +00:00