Searched refs:glyph (Results 1 - 25 of 54) sorted by relevance

123

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Ddisplay.h40 * vicinity, and a glyph representing the warning level is displayed.
178 #define DISP_FLASH (-2) /* Clean up each glyph before displaying new one. */
180 #define DISP_CHANGE (-4) /* Change glyph. */
214 * A glyph is an abstraction that represents a _unique_ monster, object,
219 * [print_glyph()] can produce something different for each type of glyph.
259 * The following are offsets used to convert to and from a glyph.
312 /* The hero's glyph when seen as a monster.
321 * Change the given glyph into it's given type. Note:
325 * 3) If handed a glyph out of range for the type, these functions
332 #define glyph_to_mon(glyph) \
[all...]
H A Dregion.h62 int glyph; /* Which glyph to use if visible */ member in struct:__anon694
H A Dqt_win.h252 virtual void AddMenu(int glyph, const ANY_P* identifier, char ch, char gch, int attr,
257 virtual void PrintGlyph(int x,int y,int glyph);
272 void drawGlyph(QPainter&, int glyph, int pixelx, int pixely);
273 void drawCell(QPainter&, int glyph, int cellx, int celly);
294 unsigned short glyph[ROWNO][COLNO]; member in class:NetHackQtMapWindow
295 unsigned short& Glyph(int x, int y) { return glyph[y][x]; }
329 virtual void PrintGlyph(int x,int y,int glyph);
520 virtual void AddMenu(int glyph, const ANY_P* identifier, char ch, char gch, int attr,
551 int glyph; member in struct:NetHackQtMenuWindow::MenuItem
663 virtual void AddMenu(int glyph, cons
[all...]
H A Dwinami.h18 long glyph; /* Glyph for menu item */ member in struct:amii_mi
71 #define FLMAP_INGLYPH 1 /* An NHW_MAP window is in glyph mode */
H A Drm.h334 int glyph; /* what the hero thinks is there */ member in struct:rm
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Ddisplay.h40 * vicinity, and a glyph representing the warning level is displayed.
178 #define DISP_FLASH (-2) /* Clean up each glyph before displaying new one. */
180 #define DISP_CHANGE (-4) /* Change glyph. */
214 * A glyph is an abstraction that represents a _unique_ monster, object,
219 * [print_glyph()] can produce something different for each type of glyph.
259 * The following are offsets used to convert to and from a glyph.
312 /* The hero's glyph when seen as a monster.
321 * Change the given glyph into it's given type. Note:
325 * 3) If handed a glyph out of range for the type, these functions
332 #define glyph_to_mon(glyph) \
[all...]
H A Dregion.h62 int glyph; /* Which glyph to use if visible */ member in struct:__anon16
H A Dqt_win.h252 virtual void AddMenu(int glyph, const ANY_P* identifier, char ch, char gch, int attr,
257 virtual void PrintGlyph(int x,int y,int glyph);
272 void drawGlyph(QPainter&, int glyph, int pixelx, int pixely);
273 void drawCell(QPainter&, int glyph, int cellx, int celly);
294 unsigned short glyph[ROWNO][COLNO]; member in class:NetHackQtMapWindow
295 unsigned short& Glyph(int x, int y) { return glyph[y][x]; }
329 virtual void PrintGlyph(int x,int y,int glyph);
520 virtual void AddMenu(int glyph, const ANY_P* identifier, char ch, char gch, int attr,
551 int glyph; member in struct:NetHackQtMenuWindow::MenuItem
663 virtual void AddMenu(int glyph, cons
[all...]
H A Dwinami.h18 long glyph; /* Glyph for menu item */ member in struct:amii_mi
71 #define FLMAP_INGLYPH 1 /* An NHW_MAP window is in glyph mode */
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dmapglyph.c62 mapglyph(glyph, ochar, ocolor, ospecial, x, y)
63 int glyph, *ocolor, x, y;
75 * Map the glyph back to a character and color.
80 if ((offset = (glyph - GLYPH_WARNING_OFF)) >= 0) { /* a warning flash */
88 } else if ((offset = (glyph - GLYPH_SWALLOW_OFF)) >= 0) { /* swallow */
97 } else if ((offset = (glyph - GLYPH_ZAP_OFF)) >= 0) { /* zap beam */
106 } else if ((offset = (glyph - GLYPH_EXPLODE_OFF)) >= 0) { /* explosion */
109 } else if ((offset = (glyph - GLYPH_CMAP_OFF)) >= 0) { /* cmap */
134 } else if ((offset = (glyph - GLYPH_OBJ_OFF)) >= 0) { /* object */
147 } else if ((offset = (glyph
[all...]
H A Ddisplay.c21 * The display system deals with an abstraction called a glyph. Anything
22 * that could possibly be displayed has a unique glyph identifier.
28 * associated glyph. This is the hero's _memory_ of what he or she has
101 * glyph - What the hero remembers. This will never be a monster.
172 int glyph = back_to_glyph(x,y); /* assumes hero can see x,y */ local
181 if (lev->typ == ROOM && glyph == cmap_to_glyph(S_room))
182 glyph = cmap_to_glyph(S_stone);
183 else if (lev->typ == CORR && glyph == cmap_to_glyph(S_litcorr))
184 glyph = cmap_to_glyph(S_corr);
187 lev->glyph
217 register int glyph = back_to_glyph(x,y); local
236 register int glyph = trap_to_glyph(trap); local
255 register int glyph = obj_to_glyph(obj); local
395 register int glyph = cmap_to_glyph(mon->mappearance); local
461 int glyph; local
824 int glyph; /* glyph to use when printing */ member in struct:tmp_glyph
1124 int glyph; local
1203 int glyph; member in struct:__anon732
[all...]
H A Dpager.c54 * Return the name of the glyph found at (x,y).
55 * If not hallucinating and the glyph is a monster, also monster data.
64 int glyph; local
67 glyph = glyph_at(x,y);
123 } else if (glyph_is_monster(glyph)) {
234 else if (glyph_is_object(glyph)) {
237 if (!otmp || otmp->otyp != glyph_to_obj(glyph)) {
238 if (glyph_to_obj(glyph) != STRANGE_OBJECT) {
239 otmp = mksobj(glyph_to_obj(glyph), FALSE, FALSE);
260 } else if (glyph_is_trap(glyph)) {
514 int glyph; /* glyph at selected position */ local
[all...]
H A Dball.c71 * int u.bglyph glyph under the ball
72 * int u.cglyph glyph under the chain
119 u.bglyph = u.cglyph = levl[u.ux][u.uy].glyph; /* pick up glyph */
131 if (Blind && (u.bc_felt & BC_BALL)) /* drop glyph */
132 levl[uball->ox][uball->oy].glyph = u.bglyph;
137 if (Blind && (u.bc_felt & BC_CHAIN)) /* drop glyph */
138 levl[uchain->ox][uchain->oy].glyph = u.cglyph;
182 u.cglyph = u.bglyph = levl[u.ux][u.uy].glyph;
187 * Since we can still see, remove the ball&chain and get the glyph tha
[all...]
H A Dallmain.c585 (glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
587 glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
593 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
595 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
603 (glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
605 glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
611 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
613 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
H A Ddetect.c83 register int glyph; local
87 glyph = glyph_at(x,y);
88 if (glyph_is_object(glyph)) {
99 if (material && objects[glyph_to_obj(glyph)].oc_material == material) {
111 if (oclass && objects[glyph_to_obj(glyph)].oc_class == oclass) {
929 (glyph_is_cmap(lev->glyph) && !glyph_is_trap(lev->glyph) &&
930 glyph_to_cmap(lev->glyph) != ROOM) :
931 (!glyph_is_object(lev->glyph) && !glyph_is_trap(lev->glyph))) {
[all...]
H A Duhitm.c112 * both 'I' and remembered contents are stored in .glyph.
117 !glyph_is_invisible(levl[u.ux+u.dx][u.uy+u.dy].glyph))
128 * happening two turns in a row. The latter shows a glyph on
133 !glyph_is_invisible(levl[u.ux+u.dx][u.uy+u.dy].glyph) &&
156 if (glyph_is_invisible(levl[mtmp->mx][mtmp->my].glyph)) {
169 if (glyph_is_invisible(levl[mtmp->mx][mtmp->my].glyph)) {
404 !glyph_is_invisible(levl[u.ux+u.dx][u.uy+u.dy].glyph) &&
2417 int glyph = levl[u.ux+u.dx][u.uy+u.dy].glyph; local
2419 if (glyph_is_cmap(glyph)
[all...]
H A Dregion.c608 show_glyph(x, y, reg->glyph);
655 bwrite(fd, (genericptr_t) &regions[i]->glyph, sizeof (int));
740 mread(fd, (genericptr_t) &regions[i]->glyph, sizeof (int));
980 cloud->glyph = cmap_to_glyph(S_cloud);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dmapglyph.c62 mapglyph(glyph, ochar, ocolor, ospecial, x, y)
63 int glyph, *ocolor, x, y;
75 * Map the glyph back to a character and color.
80 if ((offset = (glyph - GLYPH_WARNING_OFF)) >= 0) { /* a warning flash */
88 } else if ((offset = (glyph - GLYPH_SWALLOW_OFF)) >= 0) { /* swallow */
97 } else if ((offset = (glyph - GLYPH_ZAP_OFF)) >= 0) { /* zap beam */
106 } else if ((offset = (glyph - GLYPH_EXPLODE_OFF)) >= 0) { /* explosion */
109 } else if ((offset = (glyph - GLYPH_CMAP_OFF)) >= 0) { /* cmap */
134 } else if ((offset = (glyph - GLYPH_OBJ_OFF)) >= 0) { /* object */
147 } else if ((offset = (glyph
[all...]
H A Ddisplay.c21 * The display system deals with an abstraction called a glyph. Anything
22 * that could possibly be displayed has a unique glyph identifier.
28 * associated glyph. This is the hero's _memory_ of what he or she has
101 * glyph - What the hero remembers. This will never be a monster.
172 int glyph = back_to_glyph(x,y); /* assumes hero can see x,y */ local
181 if (lev->typ == ROOM && glyph == cmap_to_glyph(S_room))
182 glyph = cmap_to_glyph(S_stone);
183 else if (lev->typ == CORR && glyph == cmap_to_glyph(S_litcorr))
184 glyph = cmap_to_glyph(S_corr);
187 lev->glyph
217 register int glyph = back_to_glyph(x,y); local
236 register int glyph = trap_to_glyph(trap); local
255 register int glyph = obj_to_glyph(obj); local
395 register int glyph = cmap_to_glyph(mon->mappearance); local
461 int glyph; local
824 int glyph; /* glyph to use when printing */ member in struct:tmp_glyph
1124 int glyph; local
1203 int glyph; member in struct:__anon54
[all...]
H A Dpager.c54 * Return the name of the glyph found at (x,y).
55 * If not hallucinating and the glyph is a monster, also monster data.
64 int glyph; local
67 glyph = glyph_at(x,y);
123 } else if (glyph_is_monster(glyph)) {
234 else if (glyph_is_object(glyph)) {
237 if (!otmp || otmp->otyp != glyph_to_obj(glyph)) {
238 if (glyph_to_obj(glyph) != STRANGE_OBJECT) {
239 otmp = mksobj(glyph_to_obj(glyph), FALSE, FALSE);
260 } else if (glyph_is_trap(glyph)) {
514 int glyph; /* glyph at selected position */ local
[all...]
H A Dball.c71 * int u.bglyph glyph under the ball
72 * int u.cglyph glyph under the chain
119 u.bglyph = u.cglyph = levl[u.ux][u.uy].glyph; /* pick up glyph */
131 if (Blind && (u.bc_felt & BC_BALL)) /* drop glyph */
132 levl[uball->ox][uball->oy].glyph = u.bglyph;
137 if (Blind && (u.bc_felt & BC_CHAIN)) /* drop glyph */
138 levl[uchain->ox][uchain->oy].glyph = u.cglyph;
182 u.cglyph = u.bglyph = levl[u.ux][u.uy].glyph;
187 * Since we can still see, remove the ball&chain and get the glyph tha
[all...]
H A Dallmain.c585 (glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
587 glyph_to_cmap(level.locations[upstair.sx][upstair.sy].glyph) ==
593 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
595 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
603 (glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
605 glyph_to_cmap(level.locations[dnstair.sx][dnstair.sy].glyph) ==
611 (glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
613 glyph_to_cmap(level.locations[sstairs.sx][sstairs.sy].glyph) ==
H A Ddetect.c83 register int glyph; local
87 glyph = glyph_at(x,y);
88 if (glyph_is_object(glyph)) {
99 if (material && objects[glyph_to_obj(glyph)].oc_material == material) {
111 if (oclass && objects[glyph_to_obj(glyph)].oc_class == oclass) {
929 (glyph_is_cmap(lev->glyph) && !glyph_is_trap(lev->glyph) &&
930 glyph_to_cmap(lev->glyph) != ROOM) :
931 (!glyph_is_object(lev->glyph) && !glyph_is_trap(lev->glyph))) {
[all...]
H A Duhitm.c112 * both 'I' and remembered contents are stored in .glyph.
117 !glyph_is_invisible(levl[u.ux+u.dx][u.uy+u.dy].glyph))
128 * happening two turns in a row. The latter shows a glyph on
133 !glyph_is_invisible(levl[u.ux+u.dx][u.uy+u.dy].glyph) &&
156 if (glyph_is_invisible(levl[mtmp->mx][mtmp->my].glyph)) {
169 if (glyph_is_invisible(levl[mtmp->mx][mtmp->my].glyph)) {
404 !glyph_is_invisible(levl[u.ux+u.dx][u.uy+u.dy].glyph) &&
2417 int glyph = levl[u.ux+u.dx][u.uy+u.dy].glyph; local
2419 if (glyph_is_cmap(glyph)
[all...]
H A Dregion.c608 show_glyph(x, y, reg->glyph);
655 bwrite(fd, (genericptr_t) &regions[i]->glyph, sizeof (int));
740 mread(fd, (genericptr_t) &regions[i]->glyph, sizeof (int));
980 cloud->glyph = cmap_to_glyph(S_cloud);

Completed in 92 milliseconds

123