aboutsummaryrefslogtreecommitdiff
path: root/pegs.c (unfollow)
Commit message (Expand)Author
2023-08-09move_cursor(): handle visible flag; return useful valueBen Harris
2023-06-23Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in PegsBen Harris
2023-06-11Rename UI_UPDATE as MOVE_UI_UPDATEBen Harris
2023-04-23New backend functions: get_prefs and set_prefs.Simon Tatham
2023-04-21Pass a game_ui to compute_size, print_size and print.Simon Tatham
2023-04-08Make encode_ui() and decode_ui() optional in back-endsBen Harris
2023-04-06Fall back to <math.h> if <tgmath.h> doesn't work.Simon Tatham
2023-04-04Replace <math.h> with <tgmath.h> throughoutBen Harris
2023-03-22Add an environment variable to control initial cursor visibilityBen Harris
2023-02-12Allow more general cross-shaped boards in PegsBen Harris
2023-01-31Remove various unused game functionsBen Harris
2023-01-28Validate the number of pegs and holes in a Pegs game IDBen Harris
2023-01-15Also limit Pegs to at least 1x1 even when not doing full validationBen Harris
2023-01-15Last-ditch maximum size limit for PegsBen Harris
2022-12-09New backend function: current_key_label()Ben Harris
2021-04-25Centralise initial clearing of the puzzle window.Simon Tatham
2020-12-07Add method for frontends to query the backend's cursor location.Franklin Wei
2019-02-10Pegs: clear ui->cur_jumping on undo or redo.Simon Tatham
2018-11-13Use C99 bool within source modules.Simon Tatham
2018-11-13Replace TRUE/FALSE with C99 true/false throughout.Simon Tatham
2018-11-13Adopt C99 bool in the game backend API.Simon Tatham
2018-04-22Add a request_keys() function with a midend wrapper.Franklin Wei
2017-10-01Return error messages as 'const char *', not 'char *'.Simon Tatham
2017-10-01Use a proper union in struct config_item.Simon Tatham
2017-10-01New name UI_UPDATE for interpret_move's return "".Simon Tatham
2017-04-26Rework the preset menu system to permit submenus.Simon Tatham
2013-04-13Giant const patch of doom: add a 'const' to every parameter in everySimon Tatham
2013-04-12Add 'const' to the game_params arguments in validate_desc andSimon Tatham
2012-09-09New rule: interpret_move() is passed a pointer to the game_drawstateSimon Tatham
2012-04-07Fix redundant redrawing in Pegs. Apparently it has always redrawnSimon Tatham
2011-06-19Changed my mind about midend_is_solved: I've now reprototyped it asSimon Tatham
2011-04-02Add a function to every game backend which indicates whether a gameSimon Tatham
2009-01-20Keyboard control patch for Pegs, from James H.Simon Tatham
2008-09-06New infrastructure feature. Games are now permitted to beSimon Tatham
2006-12-24HTML Help support for Puzzles, with the same kind of automaticSimon Tatham
2005-10-22Cleanup: it was absolutely stupid for game_wants_statusbar() to be aSimon Tatham
2005-10-22Cleanup: remove the game_state parameter to game_colours(). No gameSimon Tatham
2005-10-22Cleanup: the `mouse_priorities' field in the back end has been aSimon Tatham
2005-09-05I've dithered a bit in the past about whether or not it's allowableSimon Tatham
2005-08-18Substantial infrastructure upheaval. I've separated the drawing APISimon Tatham
2005-07-29Patches from Ben Hutchings to fix failures of sscanf error checking.Simon Tatham
2005-07-10game_timing_state() now has access to the game_ui. This means thatSimon Tatham
2005-07-09Alter the `Octagon' board preset so that instead of presenting youSimon Tatham
2005-07-06Refactoring from James H: the highlight and lowlight colour setupSimon Tatham
2005-07-05Revert the code that assumed that incoming parameters used a random generationJacob Nevins
2005-07-05Add a `full' parameter to validate_params(), analogous to the one inJacob Nevins
2005-07-05Add a completion flash when you get down to a single peg.Jacob Nevins
2005-07-05Refactored the game_size() interface, which was getting reallySimon Tatham
2005-07-05James Harvey points out a missing ifdef.Simon Tatham
2005-07-04Add WinHelp topic.Jacob Nevins