Simon Tatham
|
6b5142a7a9
Move mul_root3 out into misc.c and generalise it.
|
1 rok temu |
Ben Harris
|
a943f3177f
Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move()
|
1 rok temu |
Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
1 rok temu |
Simon Tatham
|
35cd44c563
make_prefs_path(): tolerate NULL inputs.
|
1 rok temu |
Simon Tatham
|
6c66e2b2de
Support preferences in the GTK frontend.
|
1 rok temu |
Simon Tatham
|
0d1a1f08ba
Move per-puzzle ad-hoc getenv preferences into game_ui.
|
1 rok temu |
Simon Tatham
|
3b9cafa09f
Fall back to <math.h> if <tgmath.h> doesn't work.
|
1 rok temu |
Ben Harris
|
2e48ce132e
Replace <math.h> with <tgmath.h> throughout
|
1 rok temu |
Ben Harris
|
0632a3c2e4
Treat environment variable values beginning with "T" as true
|
1 rok temu |
Ben Harris
|
09c15f206e
New shared function, getenv_bool()
|
1 rok temu |
Ben Harris
|
cdd24fd459
Expose colour_mix() to backends (and others)
|
1 rok temu |
Ben Harris
|
8acb84ea7f
Rewrite mkhighlight to handle a wider range of colours
|
1 rok temu |
Ben Harris
|
43bea5f6f2
mkhighlight: Don't darken the base colour if we don't need a highlight
|
1 rok temu |
Simon Tatham
|
836a5c4ea7
Adopt C99 bool in misc.c functions.
|
6 lat temu |
Lennard Sprong
|
506b07352a
misc.c: Fix implementation of free_keys.
|
6 lat temu |
Simon Tatham
|
f04923abbc
Build fix: stop initialising an auto char array.
|
6 lat temu |
Franklin Wei
|
60a929a250
Add a request_keys() function with a midend wrapper.
|
6 lat temu |
Simon Tatham
|
b7034aeb51
Move fgetline out into misc.c.
|
6 lat temu |
Simon Tatham
|
3276376d1b
Assorted char * -> const char * API changes.
|
7 lat temu |
Simon Tatham
|
de67801b0f
Use a proper union in struct config_item.
|
7 lat temu |
Simon Tatham
|
eeb2db283d
New name UI_UPDATE for interpret_move's return "".
|
7 lat temu |
Simon Tatham
|
9972f35b27
Nitpicks to the previous commit.
|
7 lat temu |
Franklin Wei
|
cefb84c2db
Work around non-compliant sprintf().
|
7 lat temu |
Simon Tatham
|
178f87a79e
Patch idea from Debian, but modified considerably in implementation:
|
14 lat temu |
Simon Tatham
|
2b06c12728
Keyboard control for Dominosa (patch largely due to James H, though
|
15 lat temu |
Simon Tatham
|
cc0f957d82
Patch from James H to add keyboard control in Sixteen and Netslide
|
15 lat temu |
Simon Tatham
|
5ead207060
Patch from James H to centralise some generally useful cursor-
|
16 lat temu |
Simon Tatham
|
ab80d0b7fd
Add a new misc.c function needed by Slide's colour setup.
|
17 lat temu |
Simon Tatham
|
af59dcf685
Substantial infrastructure upheaval. I've separated the drawing API
|
19 lat temu |
Simon Tatham
|
8ac92e8607
Two tiny cleanup patches from James H.
|
19 lat temu |