xwords/xwords4/common
Andy2 fab39a5f87 Trying to deal with old- and new-proto devices interacting. Fix
clients to append their stream version to their inital connect
message.  (The format can't change, so detecting additional length was
the only option.  comm.c on existing clients won't allow more than one
connect message per channel, so adding a new to be used in addition
didn't work.)  New servers detect this; old will ignore.  Track the
version (implicit or not) of all clients, and use the lowest any
supports, so that new server and all new clients will use newer proto.
2011-11-16 06:47:55 -08:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c remove 16x16 limitation on board size, replacing with 32x32. Change 2011-11-14 18:21:41 -08:00
board.h add to game state passed into java world whether it's the cur selected 2011-10-05 06:36:01 -07:00
boarddrw.c remove 16x16 limitation on board size, replacing with 32x32. Change 2011-11-14 18:21:41 -08:00
boardp.h remove 16x16 limitation on board size, replacing with 32x32. Change 2011-11-14 18:21:41 -08:00
bufqueue.c add bqRemoveAll 2009-09-19 21:28:07 +00:00
bufqueue.h add bqRemoveAll 2009-09-19 21:28:07 +00:00
commmgr.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
comms.c improve logging, and fix mistyped variable found by inspection rather 2011-11-10 06:41:07 -08:00
comms.h add compile-time option to allow passing game seed from commandline. 2011-07-31 22:23:46 -07:00
comtypes.h remove 16x16 limitation on board size, replacing with 32x32. Change 2011-11-14 18:21:41 -08:00
config.mk break dict iteration stuff out into new files. No code change 2011-10-31 18:30:55 -07:00
contypct.h Add define set to number of conn types compiled in; use it to compile 2009-09-05 13:08:46 +00:00
dawg.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
dbgutil.c debug changes: change defines to remove gremlin-only code; add missing constants. 2008-10-11 16:46:08 +00:00
dbgutil.h debug functions to turn enums and defines into loggable strings 2006-11-03 06:19:27 +00:00
dictiter.c reuse existing code in dict_countWords() 2011-11-03 06:18:53 -07:00
dictiter.h stop changing formats between internal and external structs 2011-11-02 18:32:00 -07:00
dictnry.c sanity check: make sure tiles are within range. 2011-11-10 18:24:45 -08:00
dictnry.h add dict sanity check that will, I hope, catch corrupt dicts. 2011-11-09 06:51:12 -08:00
dictnryp.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
dragdrpp.c Make miniwindow stuff compile-time optional. The goal's to use native 2011-08-29 20:36:01 -07:00
dragdrpp.h add and set new flags for crosshairs so platforms can do better than 2010-08-11 18:50:16 -07:00
draw.c catch up with API changes. GTK to use this still needs to be fixed! 2008-08-30 13:54:47 +00:00
draw.h Turn "Turn done" into "Pass" when the pending score is 0. To do that 2011-10-04 18:48:33 -07:00
engine.c use indexing (and add binary search) to double speed of getNthWord 2011-10-28 20:27:16 -07:00
engine.h add ability to specify, track and use separate dictionaries for each 2011-04-01 19:57:10 -07:00
game.c Trying to deal with old- and new-proto devices interacting. Fix 2011-11-16 06:47:55 -08:00
game.h Trying to deal with old- and new-proto devices interacting. Fix 2011-11-16 06:47:55 -08:00
Makefile makefile cleanup 2006-02-17 07:27:36 +00:00
mempool.c fix bug in debug free following debug realloc to smaller size 2011-11-02 04:38:39 -07:00
mempool.h add XP_FREEP. Should be no change in behavior. 2011-04-07 18:07:45 -07:00
memstream.c add stream_getPtr() and use to remove a couple of allocs, including 2011-09-18 16:54:36 -07:00
memstream.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
model.c Trying to deal with old- and new-proto devices interacting. Fix 2011-11-16 06:47:55 -08:00
model.h remove 16x16 limitation on board size, replacing with 32x32. Change 2011-11-14 18:21:41 -08:00
modelp.h remove unused param (on the C/jni side) 2011-10-04 18:54:53 -07:00
movestak.c Pass selected tiles into new util function, and from there into java 2011-10-19 18:34:26 -07:00
movestak.h Pass selected tiles into new util function, and from there into java 2011-10-19 18:34:26 -07:00
mscore.c fix emacs header comments; no code change 2011-11-10 06:39:36 -08:00
nwgamest.c don't require MAX_NUM_PLAYERS==4 2011-04-12 22:17:45 -07:00
nwgamest.h Add support for a config button as a cleaner alternative to launching 2009-03-08 19:54:14 +00:00
pool.c Pass selected tiles into new util function, and from there into java 2011-10-19 18:34:26 -07:00
pool.h Pass selected tiles into new util function, and from there into java 2011-10-19 18:34:26 -07:00
rules.mk makefile cleanup 2006-02-17 07:27:36 +00:00
scorebdp.c switch from tracking robot intelligence as a per-game boolean 2011-01-10 06:44:28 -08:00
scorebdp.h track focus on Rem: region of scoreboard in addition to players' score 2008-10-24 08:56:20 +00:00
server.c Trying to deal with old- and new-proto devices interacting. Fix 2011-11-16 06:47:55 -08:00
server.h Pass selected tiles into new util function, and from there into java 2011-10-19 18:34:26 -07:00
states.h force XW_STATE to be 1 byte. 2011-07-04 12:45:51 -07:00
strutils.c add XP_FREEP. Should be no change in behavior. 2011-04-07 18:07:45 -07:00
strutils.h Revert "in attempt to work around non-random rand() in jni world, call back" 2010-12-07 18:43:53 -08:00
tray.c Pass selected tiles into new util function, and from there into java 2011-10-19 18:34:26 -07:00
util.h turn on face-up tile picking for Android (though there's no prefs UI 2011-10-28 22:15:56 -07:00
virtuals.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
vtabmgr.c add XP_FREEP. Should be no change in behavior. 2011-04-07 18:07:45 -07:00
vtabmgr.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwproto.h fix several crashers that prevented network games from working when 2011-11-15 06:13:25 -08:00
xwstate.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwstream.h add stream_getPtr() and use to remove a couple of allocs, including 2011-09-18 16:54:36 -07:00