About: Source:SLASH'EM 0.0.7E7F2/edog.h   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Below is the full text to edog.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/edog.h#line123]], for example. The latest source code for vanilla NetHack is at Source code.

AttributesValues
rdfs:label
  • Source:SLASH'EM 0.0.7E7F2/edog.h
rdfs:comment
  • Below is the full text to edog.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/edog.h#line123]], for example. The latest source code for vanilla NetHack is at Source code.
dcterms:subject
dbkwik:nethack/pro...iPageUsesTemplate
abstract
  • Below is the full text to edog.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/edog.h#line123]], for example. The latest source code for vanilla NetHack is at Source code. 1. /* SCCS Id: @(#)edog.h 3.4 1997/10/23 */ 2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3. /* NetHack may be freely redistributed. See license for details. */ 4. 5. #ifndef EDOG_H 6. #define EDOG_H 7. 8. /* various types of food, the lower, the better liked. */ 9. 10. #define DOGFOOD 0 11. #define CADAVER 1 12. #define ACCFOOD 2 13. #define MANFOOD 3 14. #define APPORT 4 15. #define POISON 5 16. #define UNDEF 6 17. #define TABU 7 18. 19. struct edog { 20. long droptime; /* moment dog dropped object */ 21. unsigned dropdist; /* dist of drpped obj from @ */ 22. int apport; /* amount of training */ 23. long whistletime; /* last time he whistled */ 24. long hungrytime; /* will get hungry at this time */ 25. coord ogoal; /* previous goal location */ 26. int abuse; /* track abuses to this pet */ 27. int revivals; /* count pet deaths */ 28. int mhpmax_penalty; /* while starving, points reduced */ 29. Bitfield(killed_by_u, 1); /* you attempted to kill him */ 30. }; 31. #define EDOG(mon) ((struct edog *)&(mon)->mextra[0]) 32. 33. #endif /* EDOG_H */
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software