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:
28
src/porting.hpp
Normal file
28
src/porting.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* porting.h
|
||||
* BoE
|
||||
*
|
||||
* Created by Celtic Minstrel on 22/04/09.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <cstdint>
|
||||
#include "oldstructs.hpp"
|
||||
#include "location.hpp"
|
||||
|
||||
void flip_long(int32_t *s);
|
||||
void flip_spec_node(legacy::special_node_type *spec);
|
||||
void flip_short(int16_t *s);
|
||||
void flip_rect(legacy::Rect* s);
|
||||
|
||||
void port_t_d(legacy::big_tr_type* old);
|
||||
void port_ave_t(legacy::ave_tr_type* old);
|
||||
void port_tiny_t(legacy::tiny_tr_type* old);
|
||||
void port_scenario(legacy::scenario_data_type* old);
|
||||
void port_item_list(legacy::scen_item_data_type* old);
|
||||
void port_out(legacy::outdoor_record_type* out);
|
||||
void port_talk_nodes(legacy::talking_record_type* dummy_talk_ptr);
|
||||
void port_town(legacy::town_record_type* dummy_town_ptr);
|
||||
void port_party(legacy::party_record_type* old);
|
||||
void port_pc(legacy::pc_record_type* old);
|
||||
void port_c_town(legacy::current_town_type* old);
|
Reference in New Issue
Block a user