Major code reorganization

This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.

A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
This commit is contained in:
2017-04-14 00:24:29 -04:00
parent b624841bea
commit 82abdab695
211 changed files with 1855 additions and 1881 deletions

38
src/game/boe.menus.hpp Normal file
View File

@@ -0,0 +1,38 @@
//
// boe.menus.h
// BoE
//
// Created by Celtic Minstrel on 14-03-28.
//
//
#ifndef BoE_boe_menus_h
#define BoE_boe_menus_h
void init_menubar();
void adjust_monst_menu();
void init_spell_menus();
void adjust_spell_menus();
void menu_activate();
void hideMenuBar();
void showMenuBar();
enum class eMenu {
NONE, ABOUT, PREFS, QUIT,
FILE_NEW, FILE_OPEN, FILE_ABORT, FILE_SAVE, FILE_SAVE_AS,
OPTIONS_PC_GRAPHIC, OPTIONS_RENAME_PC, OPTIONS_NEW_PC, OPTIONS_DELETE_PC,
OPTIONS_TALK_NOTES, OPTIONS_ENCOUNTER_NOTES, OPTIONS_STATS, OPTIONS_JOURNAL,
ACTIONS_ALCHEMY, ACTIONS_WAIT, ACTIONS_AUTOMAP,
LIBRARY_MAGE, LIBRARY_PRIEST, LIBRARY_SKILLS, LIBRARY_ALCHEMY, LIBRARY_TIPS, LIBRARY_INTRO,
HELP_TOC, HELP_OUT, HELP_TOWN, HELP_COMBAT, HELP_BARRIER, HELP_HINTS, HELP_SPELLS,
// The "About This Menu" options
ABOUT_MONSTERS, ABOUT_MAGE, ABOUT_PRIEST,
};
enum class eSpell;
void handle_menu_choice(eMenu item_hit);
void handle_menu_spell(eSpell spell_picked);
void handle_monster_info_menu(int item_hit);
#endif