Ben Harris
|
73e7bf73bb
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Fifteen
|
1 年之前 |
Simon Tatham
|
0058331aeb
New backend functions: get_prefs and set_prefs.
|
1 年之前 |
Simon Tatham
|
0d1a1f08ba
Move per-puzzle ad-hoc getenv preferences into game_ui.
|
1 年之前 |
Simon Tatham
|
a4fca3286f
Pass a game_ui to compute_size, print_size and print.
|
1 年之前 |
Ben Harris
|
418cb3a567
Make encode_ui() and decode_ui() optional in back-ends
|
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
|
09c15f206e
New shared function, getenv_bool()
|
1 年之前 |
Ben Harris
|
789e11f8f8
Remove various unused game functions
|
2 年之前 |
Ben Harris
|
522588f699
Last-ditch grid-size limit for Fifteen
|
2 年之前 |
Chris Boyle
|
f967bfa87b
Prevent starting in a solved state in Fifteen & Flood
|
8 年之前 |
Ben Harris
|
a3310ab857
New backend function: current_key_label()
|
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
|
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
|
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
|
a7dc17c425
Rework the preset menu system to permit submenus.
|
7 年之前 |
Jonas Kölker
|
cd67072556
Add standalone Fifteen solver, based on the hint feature.
|
9 年之前 |
Jonas Kölker
|
12fabc4add
Add hinting feature to Fifteen (press 'h' for a hint).
|
9 年之前 |
Jonas Kölker
|
5ddb011a57
Invert the Fifteen cursor if FIFTEEN_INVERT_CURSOR ~= ^[yY].*$
|
9 年之前 |
Simon Tatham
|
251b21c418
Giant const patch of doom: add a 'const' to every parameter in every
|
11 年之前 |
Simon Tatham
|
0b93de904a
Add 'const' to the game_params arguments in validate_desc and
|
11 年之前 |
Simon Tatham
|
3b250baa02
New rule: interpret_move() is passed a pointer to the game_drawstate
|
12 年之前 |
Simon Tatham
|
73daff3937
Changed my mind about midend_is_solved: I've now reprototyped it as
|
13 年之前 |
Simon Tatham
|
980880be1f
Add a function to every game backend which indicates whether a game
|
14 年之前 |