ehouse
e26a01dd62
New Ubuntu has a stricter compiler...
2008-11-06 03:16:09 +00:00
ehouse
13e521b879
Don't save dict as part of model. It's redundant as the platform code
...
already saves the name and passes the dict in.
2008-09-09 12:18:32 +00:00
ehouse
181e880d8d
Add listeners to model so board can be notified whenever dictionary
...
changes. Pass dict into draw via new API, removing it from the
draw_begin calls.
2008-09-05 12:11:37 +00:00
ehouse
0b5ad41899
Fix crasher: don't start a board-scroll operation and attempt to end
...
by dropping a tile. (This part is to detect that no drag actuall happened.)
2008-06-07 23:07:31 +00:00
ehouse
e60d338488
Remove all tabs. No code changes.
2008-05-31 03:26:16 +00:00
ehouse
8a6df572ae
add some consts.
2008-05-06 12:49:37 +00:00
ehouse
93a621c65c
fix crash: check that tile exists before removing
2008-03-12 12:21:23 +00:00
ehouse
c26eed3462
merge with drag_n_drop branch: apply patch generated with this command on that branch: svn diff -r 2080:2087
2008-03-08 23:16:21 +00:00
ehouse
2fe75a19a2
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
e86d4764c4
Post-Slovak change, 7 bits required to save face and blank bit. Use 7, but expect the old 6 for previous version streams.
2006-11-19 06:40:56 +00:00
ehouse
b99f993760
Fix assert: implicit cast to boolean doesn't work when bit being
...
tested is outside the low-order byte.
2006-08-22 04:20:40 +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
cbddf0c194
Base the number of bytes used to store tiles on the number in the
...
current dictionary. This allows us to continue to open games saved
with older code using older dictionaries while still supporting the
new format for up to 64 tiles. Old versions may crash when opening
games created by new versions, but that's probably ok.
2006-08-10 01:21:31 +00:00
ehouse
4e2b080be5
Add, and use, stream_putString. Saves 500 bytes on win32.
2006-04-25 13:31:15 +00:00
ehouse
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
7c6babc53f
fix bug truncating tray display in history by adding size param to
...
formatTray()
2005-10-30 18:35:21 +00:00
ehouse
56accaaad5
dict_tilesToString sig change
2005-07-08 03:02:31 +00:00
ehouse
3296642486
casts to stop compiler warnings
2005-05-29 19:29:33 +00:00
ehouse
94df6e022c
too much logging
2005-03-21 05:29:37 +00:00
ehouse
f15bae46d2
add assert
2005-03-15 15:13:52 +00:00
ehouse
5d9fb3e326
add model_recentPassCountOk
2005-03-15 03:31:52 +00:00
ehouse
6bac32e716
when undoing for purpose of finding last move and there's no pool,
...
don't attempt to replace tiles.
2005-02-02 02:51:05 +00:00
ehouse
b8feeb94a2
add param to model_countAllTrayTiles
2004-11-06 02:50:01 +00:00
ehouse
6096d97463
nuke tmpModel earlier
2004-11-05 14:29:17 +00:00
ehouse
62972856e7
another move-summary bug
2004-10-31 00:54:21 +00:00
ehouse
cf12d0f8cc
fix bug with printing last move score. Undo on the tmp model wasn't
...
working and so tiles added later got included.
2004-10-30 18:22:39 +00:00
ehouse
676f049479
fix infinite loop looking for last not-undone move to highlight.
2004-05-15 16:06:35 +00:00
ehouse
36bbf2d254
fix infinite loop when attempting to undo tile assignment. The ideal
...
fix would allow the undo, but this is much less risky.
2004-05-14 08:55:13 +00:00
ehouse
6973bf53c2
improve what's in scoreboard last-move summary
2004-05-06 04:13:35 +00:00
ehouse
7e860c9124
new functions to figure out score of player's most recent move
2004-04-30 08:29:22 +00:00
ehouse
e0d17c7fba
After an undo, set the prev_move bits on the move now on top of the
...
stack so the tiles will get highlighted.
2004-02-29 06:59:37 +00:00
ehouse
a987d91cab
pull tiles from right side of tray first
2003-12-01 14:28:50 +00:00
ehouse
3721152605
factor some work of picking tiles/blanks into common code; add option
...
for user to pick tiles from pool.
2003-11-16 17:09:11 +00:00
ehouse
6a57cef012
first checkin
2003-11-01 05:35:29 +00:00