Home
last modified time | relevance | path

Searched refs:zchar (Results 1 – 25 of 107) sorted by relevance

12345

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/frotz/
H A Dprocessor.h84 zchar _prevC;
175 void print_char(zchar c);
369 zchar console_read_input(int max, zchar *buf, zword timeout, bool continued);
390 void scrollback_write_input(const zchar *buf, zchar key);
430 zchar stream_read_input(int max, zchar *buf, zword timeout, zword routine,
471 void script_write_input(const zchar *buf, zchar key);
516 void record_write_input(const zchar *buf, zchar key);
536 zchar replay_char();
546 zchar replay_read_input(zchar *buf);
680 int completion(const zchar *buffer, zchar *result);
[all …]
H A Dprocessor_streams.cpp29 zchar Processor::console_read_input(int max, zchar *buf, zword timeout, bool continued) { in console_read_input()
57 void Processor::scrollback_write_input(const zchar *buf, zchar key) { in scrollback_write_input()
136 zchar key = ZC_BAD; in stream_read_key()
165 zchar Processor::stream_read_input(int max, zchar *buf, zword timeout, zword routine, in stream_read_input()
167 zchar key = ZC_BAD; in stream_read_input()
292 void Processor::script_write_input(const zchar *buf, zchar key) { in script_write_input()
379 void Processor::record_write_input(const zchar *buf, zchar key) { in record_write_input()
380 zchar c; in record_write_input()
447 zchar key = replay_char(); in replay_read_key()
457 zchar Processor::replay_read_input(zchar *buf) { in replay_read_input()
[all …]
H A Dglk_interface.h63 zchar statusline[256];
73 zchar *gos_linebuf;
119 int os_char_width(zchar z);
128 int os_string_width(const zchar *s);
133 int os_string_length(zchar *s);
201 void packspaces(zchar *src, zchar *dst);
223 void os_scrollback_char(zchar z) { in os_scrollback_char()
234 zchar os_read_key(int timeout, bool show_cursor);
239 zchar os_read_line(int max, zchar *buf, int timeout, int width, int continued);
H A Dprocessor_text.cpp78 return (zchar)c; in translate_from_zscii()
192 _decoded = (zchar *)malloc(sizeof(zchar) * (3 * _resolution) + 1); in find_resolution()
193 _encoded = (zchar *)malloc(sizeof(zchar) * _resolution); in find_resolution()
221 const zchar *ptr; in encode_text()
222 zchar c; in encode_text()
295 zchar c2; in decode_text()
350 zchar zc; in decode_text()
683 int Processor::completion(const zchar *buffer, zchar *result) { in completion()
686 zchar *ptr; in completion()
687 zchar c; in completion()
[all …]
H A Dprocessor_input.cpp31 zchar key; in read_yes_or_no()
47 void Processor::read_string(int max, zchar *buffer) { in read_string()
48 zchar key; in read_string()
57 bool Processor::is_terminator(zchar key) { in is_terminator()
91 zchar buffer[6]; in read_number()
105 zchar buffer[INPUT_BUFFER_SIZE]; in z_read()
107 zchar key; in z_read()
188 zchar key; in z_read_char()
H A Dglk_interface.cpp250 int GlkInterface::os_char_width(zchar z) { in os_char_width()
254 int GlkInterface::os_string_width(const zchar *s) { in os_string_width()
256 zchar c; in os_string_width()
265 int GlkInterface::os_string_length(zchar *s) { in os_string_length()
442 void GlkInterface::packspaces(zchar *src, zchar *dst) { in packspaces()
461 zchar packed[256]; in smartstatusline()
463 zchar *a, *b, *c, *d; in smartstatusline()
499 memcpy(buf + 1 + scoreofs, c, scorelen * sizeof(zchar)); in smartstatusline()
500 memcpy(buf + 1, a, roomlen * sizeof(zchar)); in smartstatusline()
568 zchar GlkInterface::os_read_key(int timeout, bool show_cursor) { in os_read_key()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/glk/zcode/
H A Dprocessor.h84 zchar _prevC;
175 void print_char(zchar c);
374 zchar console_read_input(int max, zchar *buf, zword timeout, bool continued);
395 void scrollback_write_input(const zchar *buf, zchar key);
435 zchar stream_read_input(int max, zchar *buf, zword timeout, zword routine,
476 void script_write_input(const zchar *buf, zchar key);
521 void record_write_input(const zchar *buf, zchar key);
541 zchar replay_char();
551 zchar replay_read_input(zchar *buf);
685 int completion(const zchar *buffer, zchar *result);
[all …]
H A Dprocessor_streams.cpp29 zchar Processor::console_read_input(int max, zchar *buf, zword timeout, bool continued) { in console_read_input()
57 void Processor::scrollback_write_input(const zchar *buf, zchar key) { in scrollback_write_input()
136 zchar key = ZC_BAD; in stream_read_key()
165 zchar Processor::stream_read_input(int max, zchar *buf, zword timeout, zword routine, in stream_read_input()
167 zchar key = ZC_BAD; in stream_read_input()
292 void Processor::script_write_input(const zchar *buf, zchar key) { in script_write_input()
379 void Processor::record_write_input(const zchar *buf, zchar key) { in record_write_input()
380 zchar c; in record_write_input()
447 zchar key = replay_char(); in replay_read_key()
457 zchar Processor::replay_read_input(zchar *buf) { in replay_read_input()
[all …]
H A Dglk_interface.h63 zchar statusline[256];
73 zchar *gos_linebuf;
119 int os_char_width(zchar z);
128 int os_string_width(const zchar *s);
133 int os_string_length(zchar *s);
201 void packspaces(zchar *src, zchar *dst);
223 void os_scrollback_char(zchar z) { in os_scrollback_char()
234 zchar os_read_key(int timeout, bool show_cursor);
239 zchar os_read_line(int max, zchar *buf, int timeout, int width, int continued);
H A Dprocessor_text.cpp78 return (zchar)c; in translate_from_zscii()
192 _decoded = (zchar *)malloc(sizeof(zchar) * (3 * _resolution) + 1); in find_resolution()
193 _encoded = (zchar *)malloc(sizeof(zchar) * _resolution); in find_resolution()
221 const zchar *ptr; in encode_text()
222 zchar c; in encode_text()
295 zchar c2; in decode_text()
350 zchar zc; in decode_text()
683 int Processor::completion(const zchar *buffer, zchar *result) { in completion()
686 zchar *ptr; in completion()
687 zchar c; in completion()
[all …]
H A Dprocessor_input.cpp31 zchar key; in read_yes_or_no()
47 void Processor::read_string(int max, zchar *buffer) { in read_string()
48 zchar key; in read_string()
57 bool Processor::is_terminator(zchar key) { in is_terminator()
91 zchar buffer[6]; in read_number()
105 zchar buffer[INPUT_BUFFER_SIZE]; in z_read()
107 zchar key; in z_read()
188 zchar key; in z_read_char()
H A Dglk_interface.cpp250 int GlkInterface::os_char_width(zchar z) { in os_char_width()
254 int GlkInterface::os_string_width(const zchar *s) { in os_string_width()
256 zchar c; in os_string_width()
265 int GlkInterface::os_string_length(zchar *s) { in os_string_length()
442 void GlkInterface::packspaces(zchar *src, zchar *dst) { in packspaces()
461 zchar packed[256]; in smartstatusline()
463 zchar *a, *b, *c, *d; in smartstatusline()
499 memcpy(buf + 1 + scoreofs, c, scorelen * sizeof(zchar)); in smartstatusline()
500 memcpy(buf + 1, a, roomlen * sizeof(zchar)); in smartstatusline()
568 zchar GlkInterface::os_read_key(int timeout, bool show_cursor) { in os_read_key()
[all …]
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/common/
H A Dstream.c39 extern void record_write_input(const zchar *, zchar);
40 extern void script_char(zchar);
43 extern void script_write_input(const zchar *, zchar);
47 extern void screen_char(zchar);
50 extern void screen_write_input(const zchar *, zchar);
56 extern zchar replay_read_input(zchar *);
58 extern zchar console_read_input(int, zchar *, zword, bool);
152 void stream_char(zchar c) in stream_char()
224 zchar key = ZC_BAD; in stream_read_key()
281 zchar stream_read_input(int max, zchar * buf, in stream_read_input()
[all …]
H A Dfiles.c34 extern bool is_terminator (zchar);
131 void script_char(zchar c) in script_char()
189 void script_word(const zchar *s) in script_word()
228 void script_write_input(const zchar *buf, zchar key) in script_write_input()
394 void record_write_input(const zchar *buf, zchar key) in record_write_input()
396 zchar c; in record_write_input()
473 static zchar replay_char (void) in replay_char()
503 zchar replay_read_key (void) in replay_read_key()
505 zchar key; in replay_read_key()
523 zchar replay_read_input(zchar *buf) in replay_read_input()
[all …]
H A Dinput.c25 extern zchar stream_read_key(zword, zword, bool);
26 extern zchar stream_read_input(int, zchar *, zword, zword, bool, bool);
39 bool is_terminator(zchar key) in is_terminator()
89 zchar key; in read_yes_or_no()
113 void read_string (int max, zchar *buffer) in read_string()
115 zchar key; in read_string()
133 zchar buffer[6]; in read_number()
158 zchar buffer[INPUT_BUFFER_SIZE]; in z_read()
160 zchar key; in z_read()
248 zchar key; in z_read_char()
H A Dbuffer.c24 extern void stream_char (zchar);
25 extern void stream_word (const zchar *);
28 static zchar buffer[TEXT_BUFFER_SIZE];
31 static zchar prev_c = 0;
43 memset(buffer, 0, sizeof (zchar) * TEXT_BUFFER_SIZE); in init_buffer()
86 void print_char(zchar c) in print_char()
H A Dfrotz.h68 typedef unsigned char zchar; typedef
70 typedef unsigned short zchar; typedef
732 zchar translate_from_zscii(zbyte);
733 zbyte translate_to_zscii(zchar);
737 void print_char(zchar);
754 int completion(const zchar *buffer, zchar *result);
756 bool is_terminator(zchar);
774 int os_char_width(zchar);
776 void os_display_char(zchar);
793 zchar os_read_key(int, int);
[all …]
H A Dtext.c30 static zchar decoded[10];
57 zchar translate_from_zscii(zbyte c) in translate_from_zscii()
104 zbyte unicode_to_zscii(zchar c) in unicode_to_zscii()
144 zbyte translate_to_zscii(zchar c) in translate_to_zscii()
238 const zchar *ptr = decoded; in encode_text()
239 zchar c; in encode_text()
378 zchar *ptr; in decode_text()
380 zchar c2; in decode_text()
953 int completion(const zchar * buffer, zchar * result) in completion()
957 zchar *ptr; in completion()
[all …]
/dports/games/zoom/zoom-1.1.5/src/
H A Dzscii.c125 ZWord zchar = 0; in zscii_to_unicode() local
201 zchar=(c-1)<<5; in zscii_to_unicode()
225 zchar |= c; in zscii_to_unicode()
234 addr = ((table[zchar*2]<<9)|(table[zchar*2+1]<<1)); in zscii_to_unicode()
310 zchar = c<<5; in zscii_to_unicode()
315 zchar |= c; in zscii_to_unicode()
318 if (zchar < 256) in zscii_to_unicode()
320 switch(zchar) in zscii_to_unicode()
337 if (zchar > 767) in zscii_to_unicode()
442 unsigned char zchar; in pack_zscii() local
[all …]
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/sdl/
H A Dgeneric.c250 zchar c; in print_c_string()
291 size_t zcharstrlen(zchar * str) in zcharstrlen()
302 zchar *zcharstrcpy(zchar * dest, zchar * src) in zcharstrcpy()
314 int zcharstrncmp(zchar * s1, zchar * s2, size_t n) in zcharstrncmp()
316 zchar u1, u2; in zcharstrncmp()
329 zchar *zcharstrdup(zchar * src) in zcharstrdup()
331 zchar *dest = malloc((zcharstrlen(src) + 1) * sizeof(zchar)); in zcharstrdup()
344 static zchar *history_buffer[MAX_HISTORY];
353 void gen_add_to_history(zchar * str) in gen_add_to_history()
381 zchar **prev = history_view; in gen_history_back()
[all …]
H A Dgeneric.h12 void gen_add_to_history(zchar *buf);
14 int gen_history_back(zchar *str, int searchlen, int maxlen);
15 int gen_history_forward(zchar *str, int searchlen, int maxlen);
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/curses/
H A Dux_input.c78 extern int completion (const zchar *, zchar *);
423 zchar *zcharstrncpy(zchar *dest, zchar *src, size_t n) in zcharstrncpy()
440 int zcharstrncmp(zchar *s1, zchar *s2, size_t n) in zcharstrncmp()
442 zchar u1, u2; in zcharstrncmp()
466 *history_next = (zchar *)malloc((zcharstrlen(str) + 1) * sizeof(zchar)); in unix_add_to_history()
578 zchar *bp = buf; in utf8_mvaddnstr()
660 zchar os_read_line (int bufmax, zchar *buf, int timeout, int width, in os_read_line()
923 zchar c; in os_read_key()
965 zchar answer[4]; in os_read_file_name()
996 zchar z; in os_read_file_name()
[all …]
H A Dux_text.c207 void os_display_char (zchar c) in os_display_char()
260 void os_display_string (const zchar *s) in os_display_string()
262 zchar c; in os_display_string()
284 int os_check_unicode(int UNUSED(font), zchar UNUSED(c)) in os_check_unicode()
297 int os_char_width(zchar c) in os_char_width()
329 int os_string_width(const zchar *s) in os_string_width()
332 zchar c; in os_string_width()
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/dos/
H A Dbcinput.c32 extern bool is_terminator (zchar);
37 extern int completion (const zchar *, zchar *);
44 zchar buffer[HISTORY_BUFSIZE];
51 zchar *buffer;
407 static void input_move(zchar newc, zchar oldc) in input_move()
509 zchar oldc = 0; in insert_char()
547 zchar extension[10]; in tabulator_key()
593 zchar c; in fetch_entry()
619 zchar buf[INPUT_BUFFER_SIZE]; in get_prev_entry()
649 zchar buf[INPUT_BUFFER_SIZE]; in get_next_entry()
[all …]
/dports/games/tileworld/tworld-1.3.0/
H A Dscore.c103 int createscorelist(gameseries const *series, int usepasswds, char zchar, in createscorelist() argument
150 decimal(game->number, zchar)); in createscorelist()
161 cdecimal(levelscore, zchar)); in createscorelist()
167 cdecimal(timescore, zchar)); in createscorelist()
175 cdecimal(levelscore + timescore, zchar)); in createscorelist()
204 used += 1 + sprintf(textheap + used, "3+%s", cdecimal(totalscore, zchar)); in createscorelist()
228 int createtimelist(gameseries const *series, int showpartial, char zchar, in createtimelist() argument
272 decimal(game->number, zchar)); in createtimelist()
279 decimal(game->time, zchar)); in createtimelist()
293 used += 1 + sprintf(textheap + used, "1+%s", decimal(secs, zchar)); in createtimelist()
[all …]

12345