Umorna -- Tiny game written to test 'chads' library, it uses assets from itch.io...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.4KB

  1. #ifndef UMORNA_GAME
  2. #define UMORNA_GAME
  3. #define CHAD_TRAIT_LIMIT ( 3)
  4. #define CHAD_SKILL_LIMIT (24)
  5. #define CHAD_VALUE_LIMIT (10)
  6. #define CHAD_EFFECT_LIMIT ( 3)
  7. #define CHAD_MIGHT_LIMIT ( 1)
  8. #define CHAD_MAGIC_LIMIT ( 1)
  9. #define CHAD_RACE_LIMIT ( 3)
  10. #define CHAD_ITEM_LIMIT ( 3)
  11. #define CHAD_UNIT_LIMIT (54)
  12. #define CHAD_HERO_LIMIT ( 1)
  13. #define CHAD_BLOCK_LIMIT (28)
  14. #define CHAD_WORLD_LIMIT ( 1)
  15. #define CHAD_WORLD_WIDTH (90)
  16. #define CHAD_WORLD_HEIGHT (90)
  17. #include <xolatile/chads.h>
  18. enum {
  19. strength, dexterity, wisdom
  20. };
  21. enum {
  22. swords, axes, maces, staves, bows, crossbows, slings, shields,
  23. armour, alchemy, medicine, mercantile, farmer, miner, lumber, traps,
  24. water_magic, earth_magic, wind_magic, black_magic, rune_magic, summon_magic, ritual_magic, charm_magic
  25. };
  26. enum {
  27. coin, food, wood, stone, iron, gold, silver, coal,
  28. gems, mana
  29. };
  30. enum {
  31. gain_minor_strength, gain_major_strength, gain_great_strength
  32. };
  33. enum {
  34. might
  35. };
  36. enum {
  37. magic
  38. };
  39. enum {
  40. orc, human, elf
  41. };
  42. enum {
  43. iron_mace, iron_sword, iron_axe
  44. };
  45. enum {
  46. gnoll, gnoll_shaman, goblin, hob_goblin, thief, looter, warrior, shaman,
  47. chief, wolf_rider, boar_rider, overlord, ogre, ogre_mage, troll, war_troll,
  48. basilisk, wyvern, peasant, scout, hunter, swordman, axeman, crossbowman,
  49. horseman, guard, elite_guard, lancer, knight, kingsman, mage, arch_mage,
  50. giant, war_giant, griffin, roc, sprite, nature_spirit, half_elf, ranger,
  51. archer, elite_archer, blademaster, water_mage, earth_mage, wind_mage, rune_mage, runemaster,
  52. sacrificer, elk_rider, warmaster, coal_golem, iron_golem, sage
  53. };
  54. extern void game_configure (void);
  55. #endif