HomeSort by: relevance | last modified time | path
    Searched refs:rogue (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/games/rogue/USD.doc/
Makefile 5 ARTICLE=rogue
6 SRCS= rogue.me
  /src/games/rogue/
use.c 56 #include "rogue.h"
100 rogue.str_current++;
101 if (rogue.str_current > rogue.str_max) {
102 rogue.str_max = rogue.str_current;
106 rogue.str_current = rogue.str_max;
119 rogue.str_current -= get_rand(1, 3);
120 if (rogue.str_current < 1)
    [all...]
move.c 56 #include "rogue.h"
77 row = rogue.row;
78 col = rogue.col;
86 if (!can_move(rogue.row, rogue.col, row, col)) {
121 } else if ((dungeon[rogue.row][rogue.col] & DOOR) &&
124 wake_room(cur_room, 0, rogue.row, rogue.col);
130 mvaddch(rogue.row, rogue.col, get_dungeon_char(rogue.row, rogue.col))
    [all...]
ring.c 56 #include "rogue.h"
100 ch = (rogue.left_ring ? 'r' : 'l');
112 if (((ch == 'l') && rogue.left_ring)||((ch == 'r') && rogue.right_ring)) {
139 rogue.left_ring = ring;
142 rogue.right_ring = ring;
157 } else if (rogue.left_ring && !rogue.right_ring) {
159 } else if (!rogue.left_ring && rogue.right_ring)
    [all...]
message.c 59 #include "rogue.h"
134 move(rogue.row, rogue.col);
262 if (rogue.gold > MAX_GOLD) {
263 rogue.gold = MAX_GOLD;
265 mvprintw(row, 16, "%-6ld", rogue.gold);
271 if (rogue.hp_max > MAX_HP) {
272 rogue.hp_current -= (rogue.hp_max - MAX_HP);
273 rogue.hp_max = MAX_HP
    [all...]
spec_hit.c 56 #include "rogue.h"
106 if ((!rogue.armor) || (get_armor_class(rogue.armor) <= 1) ||
107 (rogue.armor->which_kind == LEATHER)) {
110 if ((rogue.armor->is_protected) || maintain_armor) {
116 rogue.armor->d_enchant--;
131 freeze_percent -= (rogue.str_current+(rogue.str_current / 2));
132 freeze_percent -= ((rogue.exp + ring_exp) * 4);
133 freeze_percent -= (get_armor_class(rogue.armor) * 5)
    [all...]
pack.c 56 #include "rogue.h"
101 /* Note: *status is set to 0 if the rogue attempts to pick up a scroll
134 rogue.gold += obj->quantity;
146 obj = add_to_pack(obj, &rogue.pack, 1);
158 if (dungeon[rogue.row][rogue.col] & (OBJECT | STAIRS | TRAP)) {
162 if (!rogue.pack.next_object) {
178 unwield(rogue.weapon);
185 unwear(rogue.armor);
194 obj->row = rogue.row
    [all...]
trap.c 56 #include "rogue.h"
99 if (rand_percent(rogue.exp + ring_exp)) {
113 mvaddch(rogue.row, rogue.col, '^');
118 rogue.hp_current -= get_damage("1d6", 1);
119 if (rogue.hp_current <= 0) {
120 rogue.hp_current = 0;
123 (rogue.str_current >= 3)) {
124 rogue.str_current--;
127 if (rogue.hp_current <= 0)
    [all...]
play.c 56 #include "rogue.h"
78 move(rogue.row, rogue.col);
94 inventory(&rogue.pack, ALL_OBJECTS);
218 messagef(0, "rogue-clone: Version III. (Tim Stoehr was here), tektronix!zeus!tims");
233 move(rogue.row, rogue.col);
throw.c 56 #include "rogue.h"
95 row = rogue.row; col = rogue.col;
98 unwield(rogue.weapon);
101 unwear(rogue.armor);
107 mvaddch(rogue.row, rogue.col, rogue.fchar);
110 if (rogue_can_see(row, col) && ((row != rogue.row) || (col != rogue.col)))
    [all...]
zap.c 56 #include "rogue.h"
102 row = rogue.row; col = rogue.col;
256 hp = rogue.hp_current / 3;
257 rogue.hp_current = (rogue.hp_current + 1) / 2;
313 ((orow == rogue.row) && (ocol == rogue.col))));
327 ((row == rogue.row) && (col == rogue.col))))
    [all...]
Makefile 4 PROG= rogue
13 MAN= rogue.6
hit.c 56 #include "rogue.h"
80 hit_chance -= (((2 * rogue.exp) + (2 * ring_exp)) - r_rings);
106 minus = (float)get_armor_class(rogue.armor) * 3.00;
133 hit_chance = force_hit ? 100 : get_hit_chance(rogue.weapon);
145 damage = get_weapon_damage(rogue.weapon);
166 if (d >= rogue.hp_current) {
167 rogue.hp_current = 0;
172 rogue.hp_current -= d;
275 strength = rogue.str_current + add_strength;
353 row = rogue.row; col = rogue.col
    [all...]
score.c 57 #include "rogue.h"
77 rogue.gold = ((rogue.gold * 9) / 10);
110 "%s with %ld gold", mechanism, rogue.gold);
142 unwield(rogue.weapon); /* disarm and relax */
143 unwear(rogue.armor);
144 un_put_on(rogue.left_ring);
145 un_put_on(rogue.right_ring);
175 orow = rogue.row;
176 ocol = rogue.col
    [all...]
level.c 56 #include "rogue.h"
389 rogue.row = rogue.col = -1;
757 rogue.row = row;
758 rogue.col = col;
760 if (dungeon[rogue.row][rogue.col] & TUNNEL) {
768 light_passage(rogue.row, rogue.col);
770 rn = get_room_number(rogue.row, rogue.col)
    [all...]
monster.c 56 #include "rogue.h"
205 mv_1_monster(monster, rogue.row, rogue.col);
221 !mon_can_go(monster, rogue.row, rogue.col)) {
223 mv_1_monster(monster, rogue.row, rogue.col);
228 if (!(flew && mon_can_go(monster, rogue.row, rogue.col))) {
229 mv_1_monster(monster, rogue.row, rogue.col)
    [all...]
init.c 59 #include "rogue.h"
79 const char *error_file = "rogue.esave";
153 rogue.pack.next_object = NULL;
157 (void)add_to_pack(obj, &rogue.pack, 1);
165 (void)add_to_pack(obj, &rogue.pack, 1);
174 (void)add_to_pack(obj, &rogue.pack, 1);
184 (void)add_to_pack(obj, &rogue.pack, 1);
194 (void)add_to_pack(obj, &rogue.pack, 1);
324 init_str(&save_file, "rogue.save");
save.c 57 #include "rogue.h"
139 r_write(fp, &rogue, sizeof(fighter));
140 write_pack(&rogue.pack, fp);
214 r_read(fp, &rogue, sizeof(fighter));
215 read_pack(&rogue.pack, fp, 1);
216 for (object *obj = &rogue.pack; obj != NULL;
room.c 56 #include "rogue.h"
129 mvaddch(rogue.row, rogue.col, rogue.fchar);
266 ((r == rogue.row) && (c == rogue.col)));
430 if (mon_sees(monster, rogue.row, rogue.col)) {
object.c 56 #include "rogue.h"
65 fighter rogue = { variable in typeref:typename:fighter
277 obj = rogue.pack.next_object;
696 ((row != rogue.row) || (col != rogue.col))) {
807 (void)add_to_pack(obj, &rogue.pack, 1);
inventory.c 57 #include "rogue.h"
196 {'&', "& save screen into 'rogue.screen'"},
751 if (rogue.weapon) {
752 single_inv(rogue.weapon->ichar);
757 if (rogue.armor) {
758 single_inv(rogue.armor->ichar);
rogue.h 1 /* $NetBSD: rogue.h,v 1.25 2025/04/07 14:36:28 hgutch Exp $ */
34 * @(#)rogue.h 8.1 (Berkeley) 5/31/93
38 * rogue.h
339 extern fighter rogue;
  /src/games/
Makefile 16 rain random robots rogue sail snake testpat tetris trek \
  /src/common/dist/zlib/test/
infcover.c 67 int notlifo, rogue; /* counts of non-LIFO frees and rogue frees */ member in struct:mem_zone
148 /* if not found, update the rogue count */
150 zone->rogue++;
169 zone->rogue = 0;
225 if (zone->rogue)
227 prefix, zone->rogue);
  /src/etc/
Makefile 331 games games 664 /var/games/rogue.scores \

Completed in 20 milliseconds

1 2