RuneOptimizer.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * This file is part of RuneOptimizer.
  3. *
  4. * RuneOptimizer is free software: you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License as published by the Free
  6. * Software Foundation, either version 3 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * RuneOptimizer is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along with
  15. * RuneOptimizer. If not, see <https://www.gnu.org/licenses/>.
  16. */
  17. #define DB_NAME "data.sqlite"
  18. char db_location[256];
  19. struct Rune_Set_Count {
  20. unsigned short energy;
  21. unsigned short guard;
  22. unsigned short swift;
  23. unsigned short blade;
  24. unsigned short rage;
  25. unsigned short focus;
  26. unsigned short endure;
  27. unsigned short fatal;
  28. unsigned short despair;
  29. unsigned short vampire;
  30. unsigned short violent;
  31. unsigned short nemesis;
  32. unsigned short will;
  33. unsigned short shield;
  34. unsigned short revenge;
  35. unsigned short destroy;
  36. unsigned short fight;
  37. unsigned short determination;
  38. unsigned short enhance;
  39. unsigned short accuracy;
  40. unsigned short tolerance;
  41. };
  42. /**
  43. * Starts the program.
  44. *
  45. * Reads parameters and runs the appropiate functions.
  46. *
  47. * @param argc Argument count.
  48. * @param argv Argument list.
  49. * @return SUCCESS on success, other on error.
  50. */
  51. int main(int argc, char *argv[]);