Home
last modified time | relevance | path

Searched refs:first_undo (Results 1 – 9 of 9) sorted by relevance

/dports/games/scummvm/scummvm-2.5.1/engines/glk/zcode/
H A Dmem.cpp31 Mem::Mem() : story_fp(nullptr), story_size(0), first_undo(nullptr), last_undo(nullptr), in Mem()
219 p = first_undo; in free_undo()
220 if (curr_undo == first_undo) in free_undo()
222 first_undo = first_undo->next; in free_undo()
226 if (first_undo) in free_undo()
227 first_undo->prev = nullptr; in free_undo()
H A Dprocessor_mem.cpp57 first_undo = nullptr; in save_undo()
80 if (!first_undo) { in save_undo()
82 first_undo = p; in save_undo()
H A Dmem.h66 undo_t *first_undo, *last_undo, *curr_undo; variable
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/frotz/
H A Dmem.cpp31 Mem::Mem() : story_fp(nullptr), story_size(0), first_undo(nullptr), last_undo(nullptr), in Mem()
219 p = first_undo; in free_undo()
220 if (curr_undo == first_undo) in free_undo()
222 first_undo = first_undo->next; in free_undo()
226 if (first_undo) in free_undo()
227 first_undo->prev = nullptr; in free_undo()
H A Dprocessor_mem.cpp57 first_undo = nullptr; in save_undo()
80 if (!first_undo) { in save_undo()
82 first_undo = p; in save_undo()
H A Dmem.h66 undo_t *first_undo, *last_undo, *curr_undo; variable
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/common/
H A Dfastmem.c97 static undo_t *first_undo = NULL, *last_undo = NULL, *curr_undo = NULL; variable
559 p = first_undo; in free_undo()
560 if (curr_undo == first_undo) in free_undo()
562 first_undo = first_undo->next; in free_undo()
566 if (first_undo) in free_undo()
567 first_undo->prev = NULL; in free_undo()
1049 first_undo = NULL; in save_undo()
1073 if (!first_undo) { in save_undo()
1075 first_undo = p; in save_undo()
/dports/irc/bitlbee-mastodon/bitlbee-mastodon-1.4.5/src/
H A Dmastodon.h154 int first_undo; /* index of the latest item in the undo and redo stacks */ member
H A Dmastodon.c1190 if (md->current_undo == md->first_undo) { in mastodon_do()
1191 md->current_undo = md->first_undo = i; in mastodon_do()
1194 int end = (md->first_undo + 1) % MASTODON_MAX_UNDO; in mastodon_do()
1202 md->first_undo = md->current_undo; in mastodon_do()
1237 if (md->current_undo == md->first_undo) { in mastodon_redo()
1319 int n = (md->first_undo + i + 1) % MASTODON_MAX_UNDO; in mastodon_history()