aboutsummaryrefslogtreecommitdiff
path: root/misc.c (unfollow)
Commit message (Expand)Author
2024-07-31Rename memswap() to swap_regions(). Consolidate duplicate implementations.Franklin Wei
2023-08-09move_cursor(): handle visible flag; return useful valueBen Harris
2023-07-07Move mul_root3 out into misc.c and generalise it.Simon Tatham
2023-06-11Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move()Ben Harris
2023-06-11Rename UI_UPDATE as MOVE_UI_UPDATEBen Harris
2023-04-23make_prefs_path(): tolerate NULL inputs.Simon Tatham
2023-04-23Support preferences in the GTK frontend.Simon Tatham
2023-04-23Move per-puzzle ad-hoc getenv preferences into game_ui.Simon Tatham
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-22Treat environment variable values beginning with "T" as trueBen Harris
2023-03-22New shared function, getenv_bool()Ben Harris
2022-12-29Expose colour_mix() to backends (and others)Ben Harris
2022-12-14Rewrite mkhighlight to handle a wider range of coloursBen Harris
2022-12-12mkhighlight: Don't darken the base colour if we don't need a highlightBen Harris
2018-11-13Adopt C99 bool in misc.c functions.Simon Tatham
2018-06-14misc.c: Fix implementation of free_keys.Lennard Sprong
2018-04-23Build fix: stop initialising an auto char array.Simon Tatham
2018-04-22Add a request_keys() function with a midend wrapper.Franklin Wei
2018-04-22Move fgetline out into misc.c.Simon Tatham
2017-10-01Assorted char * -> const char * API changes.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-30Nitpicks to the previous commit.Simon Tatham
2017-04-30Work around non-compliant sprintf().Franklin Wei
2010-04-25Patch idea from Debian, but modified considerably in implementation:Simon Tatham
2009-12-22Keyboard control for Dominosa (patch largely due to James H, thoughSimon Tatham
2009-01-26Patch from James H to add keyboard control in Sixteen and NetslideSimon Tatham
2008-09-13Patch from James H to centralise some generally useful cursor-Simon Tatham
2007-05-07Add a new misc.c function needed by Slide's colour setup.Simon Tatham
2005-08-18Substantial infrastructure upheaval. I've separated the drawing APISimon Tatham
2005-07-17Two tiny cleanup patches from James H.Simon Tatham
2005-07-17Get rid of the malloc in shuffle(), by defining a subfunctionSimon Tatham
2005-07-17Another game from James H: `Black Box'.Simon Tatham
2005-07-16Cleanups and memory leak fixes from James H.Simon Tatham
2005-07-14Introduce a `shuffle' utility function.Simon Tatham
2005-07-06Refactoring from James H: the highlight and lowlight colour setupSimon Tatham
2005-06-23`Guess', a Mastermind clone from James Harvey. This checkin alsoSimon Tatham
2004-05-03The Windows RNG turns out to only give about 16 bits at a time. ThisSimon Tatham
2004-05-03Game configuration box for Windows, by constructing the dialog boxSimon Tatham
2004-04-29Implemented text and clipping primitives in the frontend, and addedSimon Tatham