Umorna -- Tiny game written to test 'chads' library, it uses assets from itch.io...
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

76 Zeilen
2.5KB

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