xwords/xwords4/common
Eric House e8ab9e0b8b toward compiling with gcc8
My VSIZE is no longer legal, and apparently there's no workaround (no
way to safely figure the length of an array whose size is known at
compile time.) To avoid the risk of duplicating little constants, added
macros that define length in a way a new VSIZE can pick it up. Couldn't
make that work for struct field arrays, however, so there I'm using
constants.
2019-06-23 10:10:00 -07:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
board.h toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
boarddrw.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
boardp.h Break part of util into dutil 2018-07-05 07:58:50 -07: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 toward compiling with gcc8 2019-06-23 10:10:00 -07:00
comms.h toward compiling with gcc8 2019-06-23 10:10:00 -07:00
comtypes.h toward compiling with gcc8 2019-06-23 10:10:00 -07:00
config.mk add common implementation of the SMS proto stuff 2018-07-05 21:40:56 -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 fix to support synonyms within specials too -- for linux only so far. 2013-04-09 07:43:04 -07:00
dbgutil.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
dbgutil.h add and use boolToStr 2017-01-22 14:15:29 -08:00
dictiter.c load new-format dict into linux client, display default faces 2013-04-06 11:43:57 -07:00
dictiter.h Fix prefix matching to accept letters constituting the first part of a 2012-08-27 21:50:09 -07:00
dictmgr.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
dictmgr.h add and use dict manager that caches, using refcount, dicts across games. Allows multiple games to be opened, and open at the same time, with only one instance of a dict ever created. Works on linux; not used or tested yet on Android. 2014-03-09 19:12:21 -07:00
dictnry.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
dictnry.h implement util->dutil split for Android 2018-07-05 08:32:19 -07:00
dictnryp.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
dragdrpp.c move dividerLoc into model and use to limit sorting to tiles to its 2014-10-09 20:09:24 -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 toward compiling with gcc8 2019-06-23 10:10:00 -07:00
dutil.h change two method names 2018-07-10 07:07:30 -07:00
engine.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
engine.h Revert "Fix bug where if word being scored for long-touch-on-scoreboard wasn't" 2012-08-15 18:01:36 -07:00
game.c Break part of util into dutil 2018-07-05 07:58:50 -07:00
game.h wip: process moves received 2017-10-19 21:20:14 -07:00
gameinfo.h make forceChannel part of CurGameInfo rather than comms, since Android 2014-12-29 07:39:28 -08:00
mempool.c add common implementation of the SMS proto stuff 2018-07-05 21:40:56 -07:00
mempool.h add debug-only "tag" to open games so logging can more easily track 2015-02-09 19:15:43 -08:00
memstream.c add mem_stream_make_raw 2018-06-27 23:24:45 -07:00
memstream.h add mem_stream_make_raw 2018-06-27 23:24:45 -07:00
model.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
model.h If game's in Spanish, don't require 7 tiles for trade. 2018-12-29 18:47:48 -08:00
modelp.h Break part of util into dutil 2018-07-05 07:58:50 -07:00
movestak.c use mem_stream_make_raw() where possible in common code 2018-06-27 23:42:50 -07:00
movestak.h move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08:00
mscore.c Break part of util into dutil 2018-07-05 07:58:50 -07:00
nli.c make gtk include an invite ID in rematch invitations 2017-11-11 16:39:09 -08:00
nli.h Move transision of cmd and gameid and port (pending) into smsproto 2018-07-26 07:50:16 -07:00
nwgamest.c Break part of util into dutil 2018-07-05 07:58:50 -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 i => ii; no other change 2012-08-22 07:44:21 -07:00
pool.h add some consts 2012-07-09 21:36:17 -07:00
rules.mk makefile cleanup 2006-02-17 07:27:36 +00:00
scorebdp.c add isLocal param to server_getCurrentTurn 2016-08-26 06:58:55 -07:00
scorebdp.h handle tap on scoreboard by showing last move summary (as happens for 2016-02-18 07:46:36 -08:00
server.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
server.h Break part of util into dutil 2018-07-05 07:58:50 -07:00
smsproto.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
smsproto.h include port and proto 2018-07-26 21:13:09 -07:00
states.h remove unused enum 2013-07-03 07:26:23 -07:00
strutils.c Move transision of cmd and gameid and port (pending) into smsproto 2018-07-26 07:50:16 -07:00
strutils.h Move transision of cmd and gameid and port (pending) into smsproto 2018-07-26 07:50:16 -07:00
tray.c toward compiling with gcc8 2019-06-23 10:10:00 -07:00
util.h remove unused constant (enum) 2019-01-06 17:04:36 -08:00
virtuals.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
vtabmgr.c i => ii; no other change 2012-08-22 07:44:21 -07:00
vtabmgr.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwlist.c new files that may replace GSList in relaycon 2017-11-04 09:27:33 -07:00
xwlist.h new files that may replace GSList in relaycon 2017-11-04 09:27:33 -07: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 move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08:00