Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
1 год назад |
Simon Tatham
|
0058331aeb
New backend functions: get_prefs and set_prefs.
|
1 год назад |
Simon Tatham
|
a4fca3286f
Pass a game_ui to compute_size, print_size and print.
|
1 год назад |
Simon Tatham
|
c5e253a9f9
Reorganise the dsf API into three kinds of dsf.
|
1 год назад |
Simon Tatham
|
348aac4c85
Remove size parameter from dsf init and copy functions.
|
1 год назад |
Simon Tatham
|
89c438e149
Declare all dsfs as a dedicated type name 'DSF'.
|
1 год назад |
Simon Tatham
|
bb561ee3b1
Use a dedicated free function to free dsfs.
|
1 год назад |
Simon Tatham
|
16f997d34c
Stop putting dsfs in existing scratch int arrays.
|
1 год назад |
Ben Harris
|
418cb3a567
Make encode_ui() and decode_ui() optional in back-ends
|
2 лет назад |
Simon Tatham
|
3b9cafa09f
Fall back to <math.h> if <tgmath.h> doesn't work.
|
1 год назад |
Ben Harris
|
2e48ce132e
Replace <math.h> with <tgmath.h> throughout
|
1 год назад |
Ben Harris
|
6dac51795e
Add an environment variable to control initial cursor visibility
|
1 год назад |
Simon Tatham
|
873d613dd5
Fix missing statics and #includes on variables.
|
1 год назад |
Ben Harris
|
ed682bd5c6
Tighten validation of Tents game descriptions
|
2 лет назад |
Ben Harris
|
789e11f8f8
Remove various unused game functions
|
2 лет назад |
Ben Harris
|
07999443c2
Limit size of puzzle in Tents to avoid integer overflow
|
2 лет назад |
Ben Harris
|
a3310ab857
New backend function: current_key_label()
|
2 лет назад |
Simon Tatham
|
49d28f2204
Tents: fix bias in tent placement.
|
3 лет назад |
Simon Tatham
|
d204978391
Tents: reinstate bottom and right grid borders.
|
3 лет назад |
Simon Tatham
|
c0da615a93
Centralise initial clearing of the puzzle window.
|
3 лет назад |
Franklin Wei
|
78bc9ea7f7
Add method for frontends to query the backend's cursor location.
|
4 лет назад |
Simon Tatham
|
5f5b284c0b
Use C99 bool within source modules.
|
6 лет назад |
Simon Tatham
|
a550ea0a47
Replace TRUE/FALSE with C99 true/false throughout.
|
6 лет назад |
Simon Tatham
|
a76d269cf2
Adopt C99 bool in the game backend API.
|
6 лет назад |
Franklin Wei
|
60a929a250
Add a request_keys() function with a midend wrapper.
|
6 лет назад |
Simon Tatham
|
dcc4d82b23
Convert Tents to use matching instead of maxflow.
|
6 лет назад |
Simon Tatham
|
a58c1b216b
Make the code base clean under -Wwrite-strings.
|
7 лет назад |
Simon Tatham
|
b3243d7504
Return error messages as 'const char *', not 'char *'.
|
7 лет назад |
Simon Tatham
|
de67801b0f
Use a proper union in struct config_item.
|
7 лет назад |
Simon Tatham
|
eeb2db283d
New name UI_UPDATE for interpret_move's return "".
|
7 лет назад |