Simon Tatham
|
6b5142a7a9
Move mul_root3 out into misc.c and generalise it.
|
1 vuosi sitten |
Ben Harris
|
1547154efb
Expose the NO_EFFECT/UNUSED distinction through midend_process_key()
|
1 vuosi sitten |
Ben Harris
|
a943f3177f
Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move()
|
1 vuosi sitten |
Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
1 vuosi sitten |
Simon Tatham
|
c48a9f44ff
Replace check of __STDC_VERSION__ with HAVE_STDINT_H.
|
1 vuosi sitten |
Simon Tatham
|
6c66e2b2de
Support preferences in the GTK frontend.
|
1 vuosi sitten |
Simon Tatham
|
bb1ab36108
Keep a set of preferences in the midend.
|
1 vuosi sitten |
Simon Tatham
|
0058331aeb
New backend functions: get_prefs and set_prefs.
|
1 vuosi sitten |
Simon Tatham
|
0d1a1f08ba
Move per-puzzle ad-hoc getenv preferences into game_ui.
|
1 vuosi sitten |
Simon Tatham
|
a4fca3286f
Pass a game_ui to compute_size, print_size and print.
|
1 vuosi sitten |
Simon Tatham
|
c5e253a9f9
Reorganise the dsf API into three kinds of dsf.
|
1 vuosi sitten |
Simon Tatham
|
14e1e05510
Introduce a new dsf_equivalent() function.
|
1 vuosi sitten |
Simon Tatham
|
088fdeee38
Remove conditioned-out dsf diagnostic code.
|
1 vuosi sitten |
Simon Tatham
|
348aac4c85
Remove size parameter from dsf init and copy functions.
|
1 vuosi sitten |
Simon Tatham
|
095224d571
Actually make DSF an opaque structure type.
|
1 vuosi sitten |
Simon Tatham
|
89c438e149
Declare all dsfs as a dedicated type name 'DSF'.
|
1 vuosi sitten |
Simon Tatham
|
11a8149d67
Use a dedicated copy function to copy dsfs.
|
1 vuosi sitten |
Simon Tatham
|
bb561ee3b1
Use a dedicated free function to free dsfs.
|
1 vuosi sitten |
Ben Harris
|
9be7db547a
Add a game_state argument to decode_ui()
|
1 vuosi sitten |
Simon Tatham
|
83244294f5
Move other test main()s out of library source files.
|
1 vuosi sitten |
Ben Harris
|
09c15f206e
New shared function, getenv_bool()
|
1 vuosi sitten |
Simon Tatham
|
873d613dd5
Fix missing statics and #includes on variables.
|
1 vuosi sitten |
Ben Harris
|
d246077e78
Add a macro of an upper bound on the formatted length of an integer
|
1 vuosi sitten |
Ben Harris
|
cdd24fd459
Expose colour_mix() to backends (and others)
|
1 vuosi sitten |
Ben Harris
|
a3310ab857
New backend function: current_key_label()
|
1 vuosi sitten |
Ben Harris
|
22c4cad50e
Correct a comment: draw_rect_outline() uses draw_polygon()
|
2 vuotta sitten |
Ben Harris
|
4a37f7cf78
Add a way for midend_process_key() to report whether it handled a keypress
|
2 vuotta sitten |
Ben Harris
|
e45cd43aaa
Teach the mid-end about device pixel ratios
|
2 vuotta sitten |
Simon Tatham
|
88358f0643
Add 'const' to the draw_polygon coords array parameter.
|
3 vuotta sitten |
Simon Tatham
|
19aa3a5d4b
Remove leftover Windows CE cruft.
|
3 vuotta sitten |