Asher Gordon
|
d57e232e2b
midend_get_prefs: Don't free memory that we just copied elsewhere.
|
1 rok pred |
Ben Harris
|
8b8a277a7a
Fix control-character generation fix
|
1 rok pred |
Ben Harris
|
c224416c76
Reduce the set of keys from which we generate control characters
|
1 rok pred |
Ben Harris
|
1547154efb
Expose the NO_EFFECT/UNUSED distinction through midend_process_key()
|
1 rok pred |
Ben Harris
|
a943f3177f
Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move()
|
1 rok pred |
Ben Harris
|
a9af3fda1d
Rename UI_UPDATE as MOVE_UI_UPDATE
|
1 rok pred |
Simon Tatham
|
7333d27b0c
Fix a few minor memory leaks.
|
1 rok pred |
Simon Tatham
|
89e9026ee4
midend_apply_prefs: apply prefs to the right ui.
|
1 rok pred |
Simon Tatham
|
12b2608b24
Fix bounds check in buffer_append.
|
1 rok pred |
Simon Tatham
|
c0bd524848
Fix failure to update me->ui when changing preferences.
|
1 rok pred |
Simon Tatham
|
4752c7a2d9
Universal preference option for one-key shortcuts.
|
1 rok pred |
Simon Tatham
|
bb1ab36108
Keep a set of preferences in the midend.
|
1 rok pred |
Simon Tatham
|
d13ece698f
Generalise the midend serialisation callbacks.
|
1 rok pred |
Simon Tatham
|
a4fca3286f
Pass a game_ui to compute_size, print_size and print.
|
1 rok pred |
Ben Harris
|
9be7db547a
Add a game_state argument to decode_ui()
|
1 rok pred |
Ben Harris
|
418cb3a567
Make encode_ui() and decode_ui() optional in back-ends
|
1 rok pred |
Ben Harris
|
01569005e3
Further restrict the keys that can have MOD_NUM_KEYPAD
|
1 rok pred |
Simon Tatham
|
fe40cda75a
Treat keypad-Enter as CURSOR_SELECT, same as Return.
|
1 rok pred |
Ben Harris
|
6ee62a43ab
Correctly handle some short save files
|
1 rok pred |
Ben Harris
|
9dbcfa765b
More cleverness in midend_process_key()
|
1 rok pred |
Ben Harris
|
4e09175fda
Fix memory leak in midend_game_id_int()
|
1 rok pred |
Ben Harris
|
c3a5a7842e
Validate that save file values are ASCII (mostly)
|
1 rok pred |
Ben Hutchings
|
1dc1ed786f
Fix memory leak in convert_tilesize
|
2 rokov pred |
Ben Harris
|
68f9fae973
When loading, don't decode_ui unless we have a UI
|
2 rokov pred |
Ben Harris
|
b3d4a41979
Don't load too many states just because there's no STATEPOS
|
2 rokov pred |
Ben Harris
|
e5717d1ba2
Range-check record lengths when deserialising games
|
2 rokov pred |
Ben Harris
|
712abb7719
Add an assertion that all colours are within range
|
2 rokov pred |
Ben Harris
|
a3310ab857
New backend function: current_key_label()
|
2 rokov pred |
Ben Harris
|
69eca65ef3
Assert that the back-end has provided a background colour
|
2 rokov pred |
Ben Harris
|
5157a18550
Extra key mappings: '*' to undo and '#' to redo
|
2 rokov pred |