Searched refs:first_undo (Results 1 – 9 of 9) sorted by relevance
/dports/games/scummvm/scummvm-2.5.1/engines/glk/zcode/ |
H A D | mem.cpp | 31 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 D | processor_mem.cpp | 57 first_undo = nullptr; in save_undo() 80 if (!first_undo) { in save_undo() 82 first_undo = p; in save_undo()
|
H A D | mem.h | 66 undo_t *first_undo, *last_undo, *curr_undo; variable
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/frotz/ |
H A D | mem.cpp | 31 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 D | processor_mem.cpp | 57 first_undo = nullptr; in save_undo() 80 if (!first_undo) { in save_undo() 82 first_undo = p; in save_undo()
|
H A D | mem.h | 66 undo_t *first_undo, *last_undo, *curr_undo; variable
|
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/common/ |
H A D | fastmem.c | 97 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 D | mastodon.h | 154 int first_undo; /* index of the latest item in the undo and redo stacks */ member
|
H A D | mastodon.c | 1190 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()
|