OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TRAPS
(Results
1 - 2
of
2
) sorted by relevancy
/src/games/rogue/
trap.c
58
trap
traps
[MAX_TRAPS];
variable in typeref:typename:trap[]
62
static const char *const trap_strings[
TRAPS
* 2] = {
82
for (i = 0; ((i < MAX_TRAPS) && (
traps
[i].trap_type != NO_TRAP)); i++) {
83
if ((
traps
[i].trap_row == row) && (
traps
[i].trap_col == col)) {
84
return(
traps
[i].trap_type);
164
traps
[i].trap_type = get_rand(0, (
TRAPS
- 1));
181
traps
[i].trap_row = row;
182
traps
[i].trap_col = col
[
all
...]
rogue.h
169
#define
TRAPS
6
328
#define MAX_TRAPS 10 /* maximum
traps
per level */
341
extern trap
traps
[];
Completed in 14 milliseconds
Indexes created Sun Oct 19 02:09:48 GMT 2025