Simon Tatham
|
c82537b457
Fix some unused-variable warnings.
|
10 months ago |
Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
10 months ago |
Ben Harris
|
4227ac1fd5
Add preferences for existing UI style controls
|
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
|
448095ede8
Undead: be a bit more careful about sprintf buffer sizes
|
1 year ago |
Ben Harris
|
0a7c531e8f
Undead: check the return value of sscanf() in execute_move()
|
1 year ago |
Ben Harris
|
789e11f8f8
Remove various unused game functions
|
1 year ago |
Ben Harris
|
85ccdf2f75
Adjust Undead upper grid-size limit to avoid overflow
|
1 year ago |
Ben Harris
|
942d883d9b
Range-check normal moves in Undead
|
1 year ago |
Ben Harris
|
952ef8ca56
Undead: fix buffer overrun in "M" command
|
1 year ago |
Ben Harris
|
a02c55b049
Undead: check for valid commands in execute_move()
|
1 year ago |
Ben Harris
|
4ec2c58045
When filling in or blanking a square, don't generate null moves
|
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
|
db3b531e2c
Add missing 'static' to game-internal declarations.
|
5 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 |
Simon Tatham
|
b732fda2cf
Undead: remove an unused structure field.
|
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 |