Eric House
f68fdab532
add README so I don't forget how this branch is special
2012-05-02 19:41:23 -07:00
Eric House
513073a32c
add optional --rack-header and --rack-footer params that take strings
...
and use them to bracket output.
2012-05-02 19:33:03 -07:00
Eric House
f0411f4a63
quick hacks to get copiling with newer gcc and to remove unnecessary
...
networking (e.g. bluetooth). Can't build standalone: too many compile
errors due to missing compile-time checks.
2012-04-24 22:19:18 -07:00
Eric House
d1e448860d
turn off limit
2011-05-16 21:29:09 -07:00
Eric House
658c84ae88
cleanup
2011-04-19 18:44:41 -07:00
Eric House
f5acdf05e0
use git describe to create tarball
2011-04-19 18:44:25 -07:00
Eric House
499fbad977
turn off gtk; put more stuff in tarball
2011-04-19 18:40:24 -07:00
Eric House
371b8e78b1
move glib include outside of gtk to gtk's not needed
2011-04-19 18:38:52 -07:00
Eric House
7183f7f317
add --max-words <n> param that limits printing to top <n> words
2011-04-19 18:28:51 -07:00
Eric House
36314e66e8
fix crash: remove unused/uninitialized streams
2011-04-19 07:07:51 -07:00
Eric House
5b6f380f75
include word itself in what's available to print
2011-04-19 06:43:02 -07:00
Eric House
742053007e
handicap -- show top ten only -- and exit(1) on failure to open pipes.
2011-04-19 05:28:39 -07:00
Eric House
892d10cd5a
cleanup: remove logging; exit on bad board file.
2011-04-18 20:41:17 -07:00
Eric House
205fc3cdfb
works now for boards and racks, though not well tested yet. Can read
...
a board in. Handles HUP (which happens after every cat to pipe) by
closing and reopening on reader end -- and this works.
2011-04-18 20:26:12 -07:00
Eric House
5f2a942cb6
rename cmdline param
2011-04-18 20:24:59 -07:00
Eric House
099b6a5158
don't modify board listeners. Fixes problems, but may mean there's a
...
lot of work to do if I ever want to draw the boards I'm loading.
2011-04-18 20:24:36 -07:00
Eric House
2c08baec68
fix to compile in non-DEBUG mode
2011-04-18 06:43:50 -07:00
Eric House
b3ef839189
Don't bother modifying model with rack; just pass it to engine (since
...
there's no way to un-modify the model to add another rack). At this
point you can run lots of different racks one after the other and get
dumps for each. Next: allow setting the board.
2011-04-18 06:42:10 -07:00
Eric House
344c5e1d01
If pipe and rack are both provided, first process rack then listen on
...
pipes. Board pipe still ignored but rack pipe is read and once a
cr-terminated buffer's been received processed.
2011-04-18 06:40:31 -07:00
Eric House
e8b58fa4b7
don't require boardPipe
2011-04-18 06:37:52 -07:00
Eric House
ad7dd66566
fix compile: add missing include
2011-04-18 06:37:13 -07:00
Eric House
f185f6d847
missing from prev checkin: fields in structs to track rack and board
...
passed as params.
2011-04-16 22:40:36 -07:00
Eric House
48e1062399
new API for passing rack to engine in order to print possible moves.
2011-04-16 22:39:58 -07:00
Eric House
b60c12e91c
allow CommonPrefs to be null
2011-04-16 22:38:52 -07:00
Eric House
2608787b4e
new API and behavior: if a printer proc's provided all moves are
...
passed to it whether they're worth saving or not.
2011-04-16 22:38:31 -07:00
Eric House
c27538e567
include new file; turn off features this branch doesn't need.
2011-04-16 22:37:40 -07:00
Eric House
6849fe2fb0
new params which if set cause mvcount's main to be called instead of
...
gtk or curses.
2011-04-16 22:37:18 -07:00
Eric House
a0539a4ff8
test script
2011-04-16 22:36:39 -07:00
Eric House
6602eccb2a
new files implementing a glib loop to generate lists of possible moves
...
from boards and racks written to pipes or passed on commandline.
2011-04-16 22:36:29 -07:00
Eric House
7ef555033f
move vtmgr into ulinuxutl so linux variants don't all have to implement it
2011-04-16 22:34:47 -07:00
Eric House
92b255c35d
very rough function to load model from textual representation of
...
board. It doesn't remove tiles from pool (or even check if they're
available). Doesn't remove any model state already there. What's
needed is to reset the game then load the model -- it's a game.h API
rather than just model.h. I think.
2011-04-13 22:51:27 -07:00
Eric House
3cc105da0b
add ability to dump board (model) as text, protected by ifdef that
...
will likely only get set on Linux. Uses lower-case to designate
blanks. For that and maybe string size assumptions is very broken for
non-ascii languages, including Spanish.
2011-04-13 06:45:22 -07:00
Eric House
0474fda127
reverse (back) sense of show-other option
2011-04-13 06:41:49 -07:00
Eric House
baedbdff2c
remove logging
2011-04-12 22:17:56 -07:00
Eric House
92ac25ed3f
don't require MAX_NUM_PLAYERS==4
2011-04-12 22:17:45 -07:00
Andy2
3c0cf176ef
show language as part of game name, not dict as separate line
2011-04-11 06:54:31 -07:00
Andy2
3fb368692c
dammit -- proofread those checkins!
2011-04-11 06:52:07 -07:00
eehouse@eehouse.org
819adbe236
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2011-04-11 06:43:00 -07:00
Andy2
c6cd60deef
Save and restore per-player dicts; load games that have 'em correctly.
...
Robots default to BasEnglish dict and humans to CollegeEng. Add new
per-game default for robot dict. Still need to deal with language
changes and non-English case in general.
2011-04-11 06:42:17 -07:00
Andy2
96254ad8b5
when opening saved game, notify draw of per-player dicts as well as of
...
a single game-wide one.
2011-04-11 06:39:31 -07:00
Andy2
092dfdd590
not supposed to be checked in with debugging on
2011-04-11 06:33:31 -07:00
Andy2
2b3398e6a2
pass Context in constructor rather than to methods that need it
2011-04-11 06:31:48 -07:00
Andy2
dc70db5ba4
catch up with API change
2011-04-11 06:16:25 -07:00
Eric House
d6165deb47
anything beyond the 15th char in a bonus-square line is a comment (ignored)
2011-04-10 13:13:45 -07:00
Eric House
26eadb3b99
add commandline option to set bonus square pattern via an external
...
file. (Effects only Linux versions.)
2011-04-10 13:04:05 -07:00
Eric House
3310645a12
test files for new bonus-squares-settable feature
2011-04-10 13:02:45 -07:00
Andy2
4272686034
Makefile for new smaller Dutch wordlist
2011-04-08 22:13:31 -07:00
Andy2
97d54c86eb
snapshot: track dictName per player in addition to per game. Not yet
...
used yet; need to pass into jni next.
2011-04-08 06:50:08 -07:00
Andy2
fc4e454d92
bugfix: add background to set of colors restored.
2011-04-08 06:17:35 -07:00
Eric House
c77d3039cc
add XP_FREEP. Should be no change in behavior.
2011-04-07 18:07:45 -07:00