[Horses] Convert Horses to Repositories (#3965)

* [Horses] Convert Horses to Repositories

# Notes
- Convert `BuildHorseType()` to repositories.
- Removed unused code, parameters, and member variables in horses.

* Update horse.cpp
This commit is contained in:
Alex King
2024-01-13 00:33:52 -05:00
committed by GitHub
parent 11e2a252e5
commit b9f997015a
4 changed files with 106 additions and 121 deletions
+1
View File
@@ -55,6 +55,7 @@
#define MISS_NOTE 180 //You miss a note, bringing your song to a close!
#define CANNOT_USE_ITEM 181 //Your race, class, or deity cannot use this item.
#define ITEM_OUT_OF_CHARGES 182 //Item is out of charges.
#define ALREADY_ON_A_MOUNT 189 //You are already on a mount.
#define TARGET_NO_MANA 191 //Your target has no mana to affect
#define TARGET_GROUP_MEMBER 196 //You must first target a group member.
#define SPELL_TOO_POWERFUL 197 //Your spell is too powerful for your intended target.