📄 changelog
字号:
2001-12-05 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: Add accelerators to chow dialog * gui.c: fix behaviour of arrow keys when no tile selected2001-12-04 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: add accelerators to ds dialog * gui-dial.c: add accelerators to turn dialog * gui-dial.c: Add accelerators for the discard dialog. * gui.c: move include gdkkeysyms to gui.h * gui.h: include gdkkeysyms * gui.c: Implemented, with extreme difficulty owing to GTK's arrogant ideas about what you're allowed to do, left/right arrow keys for tile selection changing. We're now dependend on gtk sources... yech.2001-12-03 Julian Bradfield <jcb@dcs.ed.ac.uk> * scoring.c, xmj.man: Add ConcealedFully, ConcealedAlmost and LosersPurity game options and implement their scoring. Change All Honours and All Terminals to get All Majors also. * game.c: Add ConcealedFully, ConcealedAlmost and LosersPurity game options. * protocol.h: Add ConcealedFully, ConcealedAlmost and LosersPurity game options. Increase protocol version to 1032.2001-12-02 Julian Bradfield <jcb@dcs.ed.ac.uk> * sysdep.h: Add sys/time.h back again, for gettimeofday. * gui.h, gui-dial.c, gui.c, xmj.man, greedy.c: Add --name for mj-player (which was supposed to be there all along), add entries for it in the new game panel, and add display options to give defaults for it.2001-11-07 Julian Bradfield <jcb@dcs.ed.ac.uk> * sysdep.h: use time.h instead of sys/time.h2001-09-06 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog, CHANGES: 1.2.3 * gui.c: Aaargh! Was clearing discard_history in the wrong place! So it wasn't getting cleared at all.2001-09-04 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog: This really is release 1.2.2, unless something else goes wrong. * gui.c: Copy pref_showwall from --[no-]show-wall option. * xmj.man: Show-wall display option now has immediate effect. * CHANGES: 1.2.2 really: includes display option changing. * gui.c: when recreating topwindow, put it where it was. * gui.c: handle discard placement when recreating display. * gui.c: display rebuilding now handles wall. * gui.c: display recreation handles players and dialogs. Now for wall and discard... * ChangeLog: includes changes not in 1.2.2 * ChangeLog: for 1.2.2 * CHANGES: new date for 1.2.2; maybe finally got it right. * sysdep.h: include unistd.h in windows as well. * gui.h, gui-dial.c, gui.c: Checkpoint: moved display creation into separate function, made destroy function, remake display when options change. But still need to handle redisplay of players, discards and dialog setup. * client.c: client_close should set g->fd to invalid2001-09-03 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.h, gui-dial.c, gui.c: Checkpoint: moved display creation into separate function, made destroy function, remake display when options change. But still need to handle redisplay of players, discards and dialog setup. * client.c: client_close should set g->fd to invalid * Makefile.in: Use NULL for tileset path, for Windoze.2001-09-02 Julian Bradfield <jcb@dcs.ed.ac.uk> * Makefile.in: remove quotes wrong for Windows * ChangeLog, CHANGES: 1.2.2 * gui.h, gui-dial.c, gui.c, xmj.man: Add Tileset and Tileset Path display options to gui. * Makefile.in: Change for TILESET(PATH) * xmj.man: Remove --tilepixmapdir, replace by --tileset and --tileset-path .2001-08-21 Julian Bradfield <jcb@dcs.ed.ac.uk> * ChangeLog, CHANGES: for 1.2.1 * README: change donation text.2001-08-19 Julian Bradfield <jcb@dcs.ed.ac.uk> * scoring.c: fix bug in filling only place (was counting claimed discard as an exposed tile when calculating "all exposed"). * game.c: the game_draw/peek_tile functions must return error if the live_used is >=, not just ==, the live_end, because the draw_loose_tile assumes this (with the non-Millington dead wall). * controller.h: hike number of history els to 10242001-08-15 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c, xmj.man: Remove --tilepixmapdir, replace by --tileset and --tileset-path . (NOT IN 1.2.1.)2001-08-11 Julian Bradfield <jcb@dcs.ed.ac.uk> * Makefile.in: make version.h if not there.2001-08-06 Julian Bradfield <jcb@dcs.ed.ac.uk> * version.h.in: *** empty log message *** * ChangeLog, CHANGES: For 1.2 * version.h: File deleted. * make-release: put version in version.h * version.h: have version subbed in by make-release. * controller.c: Add the hack for dumping history of hand by second save state request.2001-08-05 Julian Bradfield <jcb@dcs.ed.ac.uk> * proto-encode-msg.pl, gui.c, game.c, controller.c, greedy.c, protocol.c, protocol.h: Add CMsgComment (with hacks to give it code #); protocol version to 1030. * xmj.man: Update for new features. * gui-dial.c, gui.h, controller.c, gui.c: Add --save-on-exit to server and gui panel.2001-08-01 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: remember to initialize the game extras structure.2001-07-31 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c, gui.c, gui.h: Add Resume game... entry to Game menu. * controller.c: Add --no-id-required option. * controller.c: fix game loading. * gui.c, gui.h, gui-dial.c: Add Save as... menu entry to Game menu. * controller.c: More intelligent choice of default save file name: previous explicit name, failing which: file given by --load-game option, failing which: game-DATE-SEQ up to seq of 9.2001-07-30 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.h, gui.c, gui-dial.c: Popup notice when state saved. Add save option to connect menu. Rename Connect menu to Game. * controller.c: Take notice of the filename in SaveState, and return a StateSaved message.2001-07-29 Julian Bradfield <jcb@dcs.ed.ac.uk> * greedy.c, controller.c, game.c: Handle CMsgStateSaved. * gui.c: Handle (by doing nothing) CMsgStateSaved. * protocol.h: Add filename field to PMsgSaveState. Add CMsgStateSaved. * Makefile.in: add EXTRA_CFLAGS for command line use. * controller.c: On resumption, feed the history to all reconnecting players at once, rather than one after the other. * controller.c: implemented restoring of game state (via --load-game option), though file name is currently ignored. * game.c: handling CMsgWall: load until MAX_WALL_SIZE or end of message. (game.wall.size is actually set at NewHand, not before). * game.c: set options from default when handling a Game CMsg, rather than clearing them. * controller.h, controller.c: Adjusted save_state so that it doesn't save completed hands any more. Added prehistory to game structure so we _can_ save a completed hand if we want to later.2001-07-28 Julian Bradfield <jcb@dcs.ed.ac.uk> * controller.c: implemented game saving again. Next: loading it! * sysdep.h, sysdep.c: Add fd_put_line and fd_get_line. * gui.c, game.c, controller.c, greedy.c: Handle CMsgWallMsg. * protocol.h: Add CMsgWallMsg. Inc pversion to 1025 during development. * controller.h, controller.c: Get rid of player histories, and just keep a single game history.2001-05-17 Julian Bradfield <jcb@dcs.ed.ac.uk> * xmj.man: New major version starting at 1.1 release * xmj.man: remove mistaken backslashes * CHANGES: 1.1 really (slightly more human text) * tiles.h, version.h, proto-encode-msg.pl, protocol.c, protocol.h, runtest, scoring.c, scoring.h, stats, sysdep.c, sysdep.h, tiles.c, make-release, makedep, makefallbacktiles, makefile.msvc.old, maketxt, mj-player.man, mj-server.man, player.c, player.h, proto-decode-msg.pl, gui-dial.c, gui.c, gui.h, iconres.rs, lazyfixed.c, lazyfixed.h, logstats, make-enums.pl, controller.h, game.c, game.h, greedy.c, ChangeLog, FILES-binary, FILES-src, LICENCE, MANIFEST, Makefile.in, README, client.c, client.h, controller.c: New major version starting at 1.1 release * version.h: Version 1.1 * CHANGES: Change for 1.1 * ChangeLog: Changes up to 1.1 * gui.c: Tidy; remove the .xmjrc.new file after using it. * sysdep.c: Back out last change (socklen_t not defined in windoze). Add unlink() for windoze. * sysdep.h: Add a defn for unlink() in Windows (provided by mingw anyway, but we prob shouldn't assume that).2001-05-16 Julian Bradfield <jcb@dcs.ed.ac.uk> * README: typo * sysdep.c: use socklen_t where appropriate * gui-dial.c: remove superfluous semi-colon * sysdep.h, sysdep.c: Add get_homedir. * gui.c: Use get_homedir. * game.c: don't use uint; not always defined.2001-05-15 Julian Bradfield <jcb@dcs.ed.ac.uk> * xmj.man: fix error in proto desc * protocol.c: Skip leading white space when reading game option entry description field. * make-release: Change mj-*-static.tar to static-mj-*.tar in a desperate attempt to stop the idiots who download the static version unnecessarily.2001-05-14 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: change wording * maketxt: fixed a bug or two, and add clause for my game option macro. * xmj.man: Documented all the game options.2001-05-13 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.h, gui.c, gui-dial.c: Add nagware. * protocol.h: remove old comment. * gui.c: update sequence number in stdin callback * client.h, client.c: client_send_packet maintains and returns packet sequence number. * game.h: Add cseqno field for client_ routines. * controller.c: was wrongly incrementing sequence number twice2001-05-11 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui.c: During kong, always query for Mah Jong. (It's possible for player_can_mah_jong(..,0) to be true, but for us not to be able to go out, because of minimum double requirements.) * xmj.man: Change DisplayOption to XmjOption. * gui.c: (a) make last change work (shd compile before checking in...) (b) Change DisplayOption to XmjOption. * gui.c: Don't put up the kong claim window until we know we need it. * gui.c: remove incorrect guard in canmahjong answer clause (has no id).2001-05-10 Julian Bradfield <jcb@dcs.ed.ac.uk> * protocol.h, game.c, scoring.c: Add MahJongScore option.2001-05-08 Julian Bradfield <jcb@dcs.ed.ac.uk> * xmj.man: Documented changes to xmj. Next, document game options. (And possible player strategy options.) * controller.c: Don't make robot players managers. * gui.c, gui-dial.c: Only apply game preferences/options when allowed to. * controller.c: Set the game manager to be the first player to connect. * gui-dial.c: Initialize new game timeout option entry from preference table. * gui.h, gui.c, gui-dial.c: Add showwall preference to display options panel. * gui.c, gui-dial.c: Use player names in scoring window tabs, and make homogeneous tabs. * xmj.man: remove old mj-player option example. * xmj.man: update mj-server options.2001-05-07 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c: Make all buttons on prefs panel close window. * controller.c: Add --option-file argument. * greedy.c: Make sure to get the game options. * protocol.h, gui.c, game.c: Add DeadWall option. * game.c: Bug fix: game_set_option_in_table was not correctly setting options with unknown codes. * protocol.h, controller.c, game.c, gui.c: Make dead wall type option DeadWall16 (Millington) rather than DeadWall14 (non-Millington).2001-05-06 Julian Bradfield <jcb@dcs.ed.ac.uk> * lazyfixed.h, lazyfixed.c: Now only overrides the remove method of fixed, as this seems to suffice to eliminate flicking. Don't ask me why. * gui.c: Changed all the lazy calls back to fixed, since we've made lazyfixed inherit all the external methods of fixed. * lazyfixed.c: It seems that it's only the remove method that causes flickering. That should mean we can use all the supplied methods. * gui.c: remove now unnecessary resize on discard_area * game.c: game_handle_cmsg should ignore NoClaims for old discards! * FILES-src, MANIFEST: Add the lazyfixed.[ch] files. * Makefile.in: Add the lazyfixed widget to the Makefile. * gui.c, gui.h: Use my own lazyfixed widget for the discard area. This reduces (eliminates!) flickering in the wall. * lazyfixed.c, lazyfixed.h: New file. * controller.c: Have DeadWall14 as default when enabled. * gui.c, gui.h, gui-dial.c: Add tiletips display option. Current game options... menu entry only sensitive during game.2001-05-05 Julian Bradfield <jcb@dcs.ed.ac.uk> * protocol.h, game.c, scoring.c, gui.c: Add DeadWall14 option. * protocol.h, game.c, controller.c: Add FlowersLoose option.2001-05-03 Julian Bradfield <jcb@dcs.ed.ac.uk> * gui-dial.c, gui.c: make declaring option dialog handle Flowers option. * game.c: make game_get_option_value handle null game.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -