Ben Harris
|
87e98e6715
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Mines
|
пре 1 година |
Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
пре 1 година |
Ben Harris
|
b08c13f5f4
Update a comment in Mines to reflect that we have user prefs now
|
пре 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
|
0d86fe4b74
Move obfuscator tests into obfusc.c.
|
пре 1 година |
Ben Harris
|
9be7db547a
Add a game_state argument to decode_ui()
|
пре 1 година |
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 година |
Ben Harris
|
9394e9c74b
Tighten grid-size limit in Mines
|
пре 1 година |
Ben Harris
|
49841bd0fc
Mines: Add assertions to range-check conversions to short
|
пре 2 година |
Ben Harris
|
c0e08f3087
Limit width and height to SHRT_MAX in Mines
|
пре 2 година |
Ben Harris
|
2a9be2b89d
Mines: Don't check if the player has won if they've already lost
|
пре 2 година |
Ben Harris
|
1736445518
Mines: forbid moves that flag or unflag an exposed square
|
пре 2 година |
Ben Harris
|
789e11f8f8
Remove various unused game functions
|
пре 2 година |
Ben Harris
|
75e8a1a9ca
Limit number of mines in Mines game description
|
пре 2 година |
Ben Harris
|
28671e76b7
Don't segfault on premature solve moves in Mines
|
пре 2 година |
Ben Harris
|
5bd02f982a
Mines: No moving once you're dead!
|
пре 2 година |
Ben Harris
|
9e2e0692ed
Also check for tiny grids in Mines
|
пре 2 година |
Ben Harris
|
5cc9bfb811
Last-ditch maximum size limit for Mines
|
пре 2 година |
Ben Harris
|
a3310ab857
New backend function: current_key_label()
|
пре 2 година |
Ben Harris
|
0b36c01639
mines: Ensure highlights don't vanish at small tile sizes
|
пре 2 година |
Simon Tatham
|
387d323dd8
Mines: fix a typo in a comment.
|
пре 2 година |
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
|
d71ac73d8a
Mines: add validation for negative mine count.
|
пре 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 година |