uigame.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
  2. //
  3. // Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
  4. // All rights reserved.
  5. //
  6. // This file is part of SDLPAL.
  7. //
  8. // SDLPAL is free software: you can redistribute it and/or modify
  9. // it under the terms of the GNU General Public License as published by
  10. // the Free Software Foundation, either version 3 of the License, or
  11. // (at your option) any later version.
  12. //
  13. // This program is distributed in the hope that it will be useful,
  14. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. // GNU General Public License for more details.
  17. //
  18. // You should have received a copy of the GNU General Public License
  19. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. //
  21. // Modified by Lou Yihua <louyihua@21cn.com> with unicode support, 2015
  22. //
  23. #ifndef UIGAME_H
  24. #define UIGAME_H
  25. #include "common.h"
  26. #include "ui.h"
  27. PAL_C_LINKAGE_BEGIN
  28. VOID
  29. PAL_DrawOpeningMenuBackground(
  30. VOID
  31. );
  32. INT
  33. PAL_OpeningMenu(
  34. VOID
  35. );
  36. INT
  37. PAL_SaveSlotMenu(
  38. WORD wDefaultSlot
  39. );
  40. WORD
  41. PAL_TripleMenu(
  42. WORD wThirdWord
  43. );
  44. BOOL
  45. PAL_ConfirmMenu(
  46. VOID
  47. );
  48. BOOL
  49. PAL_SwitchMenu(
  50. BOOL fEnabled
  51. );
  52. VOID
  53. PAL_InGameMagicMenu(
  54. VOID
  55. );
  56. VOID
  57. PAL_InGameMenu(
  58. VOID
  59. );
  60. VOID
  61. PAL_PlayerStatus(
  62. VOID
  63. );
  64. WORD
  65. PAL_ItemUseMenu(
  66. WORD wItemToUse
  67. );
  68. VOID
  69. PAL_BuyMenu(
  70. WORD wStoreNum
  71. );
  72. VOID
  73. PAL_SellMenu(
  74. VOID
  75. );
  76. VOID
  77. PAL_EquipItemMenu(
  78. WORD wItem
  79. );
  80. VOID
  81. PAL_QuitGame(
  82. VOID
  83. );
  84. PAL_C_LINKAGE_END
  85. #endif