Eric House
|
e34cc9007d
|
fix problems with opening and using wordlists on 64-bit linux by
making XP_U32 32 rather than 64 bits. Duh. Do same on Android jni just
in case.
|
2014-01-07 06:58:20 -08:00 |
|
Eric House
|
b43855a313
|
fix curses build for 64bit compile and to use common layout (meaning
tray is now under the board unstead of to the right). Works on 64-bit
system at least for non-networked games.
|
2014-01-05 13:04:59 -08:00 |
|
Eric House
|
3f67afaefb
|
replace tabs with spaces; no code change
|
2014-01-05 12:57:46 -08:00 |
|
Eric House
|
f46f8ed560
|
cleanup
|
2013-12-30 07:08:42 -08:00 |
|
Eric House
|
b2b4c2a1f5
|
fix android compile errors
|
2013-12-27 19:32:56 -08:00 |
|
Eric House
|
762945857e
|
fix to work for standalone games too
|
2013-12-19 07:59:00 -08:00 |
|
Eric House
|
2a47c91a91
|
add gi_setNPlayers()
|
2013-12-17 21:54:02 -08:00 |
|
Eric House
|
de41802f54
|
rename variable so I don't trip up again
|
2013-12-17 21:08:27 -08:00 |
|
Eric House
|
f1f13c65a2
|
don't overwrite gameID
|
2013-12-16 08:05:56 -08:00 |
|
Eric House
|
4420049bd0
|
remove duplicate lines (added by merge?)
|
2013-12-16 08:05:35 -08:00 |
|
Eric House
|
b5d6c513a6
|
add canUndo to GameStateInfo and use to hide the undo menu
|
2013-12-03 07:06:48 -08:00 |
|
Eric House
|
94216a5fb9
|
add canTrade to GameStateInfo, pass through to java world, and use to
determine whether to show trade menuitem
|
2013-12-01 21:53:41 -08:00 |
|
Eric House
|
9fa9ba643f
|
fix linux crash when timers enabled: clear timer while taking down board
|
2013-12-01 18:50:18 -08:00 |
|
Eric House
|
fc6d6ec707
|
use local variable
|
2013-12-01 18:37:21 -08:00 |
|
Eric House
|
6875eaa10a
|
don't draw timer if it has an empty rect
|
2013-12-01 18:32:51 -08:00 |
|
Eric House
|
9f22386bf6
|
another assert
|
2013-11-29 10:15:22 -08:00 |
|
Eric House
|
0cc45ad865
|
add new field canHideRack to GameStateInfo and use it to disable menu.
|
2013-11-17 13:54:21 -08:00 |
|
Eric House
|
14c7b7370a
|
fix layout bug where board overlapped tray
|
2013-11-16 18:31:14 -08:00 |
|
Eric House
|
088dd1bd75
|
center board when it must be narrower than screen
|
2013-11-15 20:46:22 -08:00 |
|
Eric House
|
7d1a1228f0
|
fix bug where scrolling used when shrinking would suffice
|
2013-11-14 06:56:11 -08:00 |
|
Eric House
|
c9ba7b2fe1
|
When timer fires for pen held on board, don't do anything if we're in
trade mode.
|
2013-11-10 07:08:49 -08:00 |
|
Eric House
|
dfdbd9a8a2
|
pass scoreWidth separately into formatting code so space can be left
for network status icon.
|
2013-11-09 05:34:23 -08:00 |
|
Eric House
|
38613a85d3
|
make active rect for empty board 3x3 for a bit more context
|
2013-11-08 06:34:41 -08:00 |
|
Eric House
|
a26dced506
|
drawing tray tiles can fail, e.g. when font info not yet available, so
only clear bits when successful. Fixes problem where tray didn't get
drawn until tiles were somehow invalidated.
|
2013-11-07 07:29:54 -08:00 |
|
Eric House
|
bb80cdfb08
|
Merge branch 'android_branch' into android_thumbnail
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardCanvas.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java
|
2013-11-07 05:25:51 -08:00 |
|
Eric House
|
499e07d84b
|
follow convention: width usually comes before height
|
2013-11-05 06:38:48 -08:00 |
|
Eric House
|
9c9a04025a
|
Merge branch 'android_branch' into android_thumbnail
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java
|
2013-11-04 06:20:53 -08:00 |
|
Eric House
|
9f1b0c5121
|
Specify relative height of scoreboard and tray in board_figureLayout,
and allow those to be 0.
|
2013-11-04 06:19:33 -08:00 |
|
Eric House
|
5a65bca12a
|
add board functions to figure layout (position and size of board,
tray, etc.), removing need for each client to do it itself.
|
2013-11-03 12:12:25 -08:00 |
|
Eric House
|
b9d0469cfe
|
fix OFFSET_OF ptr size to quiet compiler
|
2013-11-01 19:09:05 -07:00 |
|
Eric House
|
d7a1f53157
|
Merge branch 'android_branch' into android_thumbnail
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java
|
2013-10-31 08:13:39 -07:00 |
|
Eric House
|
182ea7f862
|
make it possible to set DrawCtxt after opening/creating game
|
2013-10-31 08:06:44 -07:00 |
|
Eric House
|
88af10552e
|
don't try to draw with null dctx
|
2013-10-31 06:35:00 -07:00 |
|
Eric House
|
26f5a0b269
|
add two out params giving number of cols and rows
|
2013-10-29 07:50:12 -07:00 |
|
Eric House
|
88b380503e
|
add function, not compiled by default, to return bounding rect of all
non-empty tiles. As a test, add menu that uses it to grey out that
region.
|
2013-10-27 21:51:30 -07:00 |
|
Eric House
|
53e6db5683
|
remove return from middle of function
|
2013-10-27 21:47:49 -07:00 |
|
Eric House
|
8fa5e3e4bd
|
drop duplicate packet rather than asserting
|
2013-09-11 07:30:12 -07:00 |
|
Eric House
|
a25d664eb5
|
Merge branch 'from_android_beta_65' into android_branch
Conflicts:
xwords4/android/XWords4/res/raw/changes
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java
|
2013-09-09 08:01:28 -07:00 |
|
Eric House
|
94b2eddda6
|
fix crash by adding byte protocol expects
|
2013-09-09 07:42:00 -07:00 |
|
Eric House
|
da3f62729b
|
Merge tag 'android_beta_64' into android_branch
beta 64
|
2013-08-07 06:18:15 -07:00 |
|
Eric House
|
a38fd0e96c
|
fix too-short tray on 10" tablet by making height a 16-bit value, not 8-.
|
2013-08-06 21:56:10 -07:00 |
|
Eric House
|
1f877c7567
|
remove logging
|
2013-07-29 07:29:01 -07:00 |
|
Eric House
|
a191c6fc2a
|
don't add chats to queue at len 64 rather than 128
|
2013-07-22 06:12:06 -07:00 |
|
Eric House
|
573a87993e
|
Don't propogate chat when queue too full. This *should* only impact
tests since users won't keep chatting at a non-responsive friend.
|
2013-07-20 08:01:56 -07:00 |
|
Eric House
|
27d9f3de45
|
Don't enable chat when more than 128 messages are in queue to prevent
an extremely unlikely cause of stalls -- and make tests trip over full
queues less often.
|
2013-07-18 07:37:45 -07:00 |
|
Eric House
|
62dacb83d8
|
fix to compile when DEBUG not defined
|
2013-07-16 08:17:46 -07:00 |
|
Eric House
|
ab1ae7c9ad
|
remove logging
|
2013-07-12 08:19:53 -07:00 |
|
Eric House
|
9e358ad413
|
don't insert a new message in queue if it's identical to the one
currently at the end. This mostly happens when devices are making
several initial client connection attempts before succeeding.
|
2013-07-12 07:34:12 -07:00 |
|
Eric House
|
a522266ce4
|
add message checksumming for android too by making it part of util
(compiled out by default)
|
2013-07-10 08:05:47 -07:00 |
|
Eric House
|
5462a05692
|
Merge branch 'gtk_multigame' into android_branch
|
2013-07-09 19:35:26 -07:00 |
|