aboutsummaryrefslogtreecommitdiff
path: root/mines.c (unfollow)
Commit message (Expand)Author
2024-07-31Add more configuration parameter lower-bound checks.Franklin Wei
2023-08-13Mines: use new move_cursor() featuresBen Harris
2023-08-09move_cursor(): handle visible flag; return useful valueBen Harris
2023-06-11Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in MinesBen Harris
2023-06-11Rename UI_UPDATE as MOVE_UI_UPDATEBen Harris
2023-06-11Update a comment in Mines to reflect that we have user prefs nowBen 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-16Move obfuscator tests into obfusc.c.Simon Tatham
2023-04-08Add a game_state argument to decode_ui()Ben 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-15Tighten grid-size limit in MinesBen Harris
2023-02-05Mines: Add assertions to range-check conversions to shortBen Harris
2023-02-05Limit width and height to SHRT_MAX in MinesBen Harris
2023-02-01Mines: Don't check if the player has won if they've already lostBen Harris
2023-02-01Mines: forbid moves that flag or unflag an exposed squareBen Harris
2023-01-31Remove various unused game functionsBen Harris
2023-01-28Limit number of mines in Mines game descriptionBen Harris
2023-01-28Don't segfault on premature solve moves in MinesBen Harris
2023-01-15Mines: No moving once you're dead!Ben Harris
2023-01-15Also check for tiny grids in MinesBen Harris
2023-01-15Last-ditch maximum size limit for MinesBen Harris
2022-12-09New backend function: current_key_label()Ben Harris
2022-11-25mines: Ensure highlights don't vanish at small tile sizesBen Harris
2022-06-12Mines: fix a typo in a comment.Simon Tatham
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
2020-03-17Mines: add validation for negative mine count.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-01Make the code base clean under -Wwrite-strings.Simon Tatham
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-09-04Mines: show the number of safe squares left, if it's small.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-06-10Vary the behaviour of Mines's solve function depending on whether theSimon Tatham
2011-06-19Changed my mind about midend_is_solved: I've now reprototyped it asSimon Tatham
2011-05-04Fix warnings generated by gcc 4.6.0 about variables set but notSimon Tatham
2011-04-02Add a function to every game backend which indicates whether a gameSimon Tatham
2009-09-13Redo Mines and Inertia's mine graphics using an actual circle ratherSimon Tatham
2009-01-08Patches from James H to add or improve arrow-key-driven cursors forSimon Tatham
2008-09-06New infrastructure feature. Games are now permitted to beSimon Tatham