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:
27
src/global.hpp
Normal file
27
src/global.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* global.hpp
|
||||
* BoE
|
||||
*
|
||||
* Created by Celtic Minstrel on 17-04-13.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef BOE_PCH
|
||||
#define BOE_PCH
|
||||
|
||||
typedef unsigned short mon_num_t;
|
||||
typedef signed short miss_num_t;
|
||||
typedef unsigned short ter_num_t;
|
||||
typedef signed short spec_num_t;
|
||||
typedef signed short item_num_t;
|
||||
typedef unsigned short str_num_t;
|
||||
|
||||
// OBoE Current Version
|
||||
const unsigned long long OBOE_CURRENT_VERSION = 0x020000; // MMmmff; M - major, m - minor, f - bugfix
|
||||
const char* oboeVersionString();
|
||||
|
||||
// A convenient alias
|
||||
namespace boost { namespace filesystem {}}
|
||||
namespace fs = boost::filesystem;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user