Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
11 months ago |
Simon Tatham
|
0058331aeb
New backend functions: get_prefs and set_prefs.
|
1 year ago |
Simon Tatham
|
a4fca3286f
Pass a game_ui to compute_size, print_size and print.
|
1 year ago |
Ben Harris
|
418cb3a567
Make encode_ui() and decode_ui() optional in back-ends
|
1 year ago |
Simon Tatham
|
3b9cafa09f
Fall back to <math.h> if <tgmath.h> doesn't work.
|
1 year ago |
Ben Harris
|
2e48ce132e
Replace <math.h> with <tgmath.h> throughout
|
1 year ago |
Ben Harris
|
6dac51795e
Add an environment variable to control initial cursor visibility
|
1 year ago |
Ben Harris
|
e8ac0381f9
Convert a lot of floating-point constants to single precision
|
1 year ago |
Ben Harris
|
ed0e4c304b
Fix move validation in Netslide
|
1 year ago |
Ben Harris
|
789e11f8f8
Remove various unused game functions
|
1 year ago |
Ben Harris
|
40ec3aaf09
Last-ditch maximum size limit for Netslide
|
1 year ago |
Ben Harris
|
1aded127eb
Netslide: Reject moves wider than the grid
|
1 year ago |
Ben Harris
|
a3310ab857
New backend function: current_key_label()
|
1 year ago |
Simon Tatham
|
c0da615a93
Centralise initial clearing of the puzzle window.
|
3 years ago |
Franklin Wei
|
78bc9ea7f7
Add method for frontends to query the backend's cursor location.
|
3 years ago |
Simon Tatham
|
5f5b284c0b
Use C99 bool within source modules.
|
5 years ago |
Simon Tatham
|
a550ea0a47
Replace TRUE/FALSE with C99 true/false throughout.
|
5 years ago |
Simon Tatham
|
a76d269cf2
Adopt C99 bool in the game backend API.
|
5 years ago |
Franklin Wei
|
60a929a250
Add a request_keys() function with a midend wrapper.
|
6 years ago |
Simon Tatham
|
b3243d7504
Return error messages as 'const char *', not 'char *'.
|
6 years ago |
Simon Tatham
|
de67801b0f
Use a proper union in struct config_item.
|
6 years ago |
Simon Tatham
|
eeb2db283d
New name UI_UPDATE for interpret_move's return "".
|
6 years ago |
Simon Tatham
|
a7dc17c425
Rework the preset menu system to permit submenus.
|
7 years ago |
Simon Tatham
|
251b21c418
Giant const patch of doom: add a 'const' to every parameter in every
|
11 years ago |
Simon Tatham
|
0b93de904a
Add 'const' to the game_params arguments in validate_desc and
|
11 years ago |
Simon Tatham
|
3b250baa02
New rule: interpret_move() is passed a pointer to the game_drawstate
|
11 years ago |
Simon Tatham
|
73daff3937
Changed my mind about midend_is_solved: I've now reprototyped it as
|
13 years ago |
Simon Tatham
|
2efc77d2fd
Fix warnings generated by gcc 4.6.0 about variables set but not
|
13 years ago |
Simon Tatham
|
980880be1f
Add a function to every game backend which indicates whether a game
|
13 years ago |
Simon Tatham
|
9cd182ffa9
Patch from Mark Wooding to introduce a draw_thick_line() function in
|
14 years ago |