object.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* =============================================================================
  2. * PROGRAM: ularn
  3. * FILENAME: object.h
  4. *
  5. * DESCRIPTION:
  6. * This module contains function for handling what a player finds when moving
  7. * onto a new square in the dungeon.
  8. *
  9. * =============================================================================
  10. * EXPORTED VARIABLES
  11. *
  12. * None.
  13. *
  14. * =============================================================================
  15. * EXPORTED FUNCTIONS
  16. *
  17. * oopenchest : Process opening a chest at the player's current location
  18. * lookforobject : Performs processing for the item found at the player's
  19. * current location.
  20. *
  21. * =============================================================================
  22. */
  23. #ifndef __OBJECT_H
  24. #define __OBJECT_H
  25. /* =============================================================================
  26. * FUNCTION: oopenchest
  27. *
  28. * DESCRIPTION:
  29. * Function to handle opening a chest.
  30. *
  31. * PARAMETERS:
  32. *
  33. * None.
  34. *
  35. * RETURN VALUE:
  36. *
  37. * None.
  38. */
  39. void oopenchest(void);
  40. /* =============================================================================
  41. * FUNCTION: lookforobject
  42. *
  43. * DESCRIPTION:
  44. * Function to look for an object at the player's current location and give the
  45. * player his options if an object was found.
  46. *
  47. * PARAMETERS:
  48. *
  49. * None.
  50. *
  51. * RETURN VALUE:
  52. *
  53. * None.
  54. */
  55. void lookforobject(void);
  56. #endif