Source:NetHack 3.0.0/lev comp.h
Jump to navigation
Jump to search
Below is the full text to lev_comp.h from the source code of NetHack 3.0.0. To link to a particular line, write [[NetHack 3.0.0/lev_comp.h#line123]], for example.
Warning! This is the source code from an old release. For the latest release, see Source code
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.
1. 2. typedef union 3. { 4. int i; 5. char* map; 6. } YYSTYPE; 7. extern YYSTYPE yylval; 8. # define CHAR 257 9. # define INTEGER 258 10. # define MAZE_ID 259 11. # define LEVEL_ID 260 12. # define GEOMETRY_ID 261 13. # define OBJECT_ID 262 14. # define MONSTER_ID 263 15. # define TRAP_ID 264 16. # define DOOR_ID 265 17. # define DRAWBRIDGE_ID 266 18. # define MAZEWALK_ID 267 19. # define REGION_ID 268 20. # define RANDOM_OBJECTS_ID 269 21. # define RANDOM_MONSTERS_ID 270 22. # define RANDOM_PLACES_ID 271 23. # define ALTAR_ID 272 24. # define LADDER_ID 273 25. # define NON_DIGGABLE_ID 274 26. # define ROOM_ID 275 27. # define DOOR_STATE 276 28. # define LIGHT_STATE 277 29. # define DIRECTION 278 30. # define RANDOM_TYPE 279 31. # define O_REGISTER 280 32. # define M_REGISTER 281 33. # define P_REGISTER 282 34. # define A_REGISTER 283 35. # define ALIGNMENT 284 36. # define LEFT_OR_RIGHT 285 37. # define CENTER 286 38. # define TOP_OR_BOT 287 39. # define ALTAR_TYPE 288 40. # define UP_OR_DOWN 289 41. # define STRING 290 42. # define MAP_ID 291