More refactoring. The code is ALMOST able to compile now – all three programs together give a mere 25 errors.

git-svn-id: http://openexile.googlecode.com/svn/trunk@31 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-25 05:12:14 +00:00
parent c8df8232ab
commit 3ba7021543
78 changed files with 7449 additions and 5947 deletions

View File

@@ -6,15 +6,6 @@
*
*/
#include "location.h"
#include "terrain.h"
#include "vehicle.h"
#include "monster.h"
#include "special.h"
#include "item.h"
#include "town.h"
#include "outdoors.h"
namespace legacy{
struct scenario_data_type;
struct item_storage_shortcut_type;
@@ -53,7 +44,7 @@ public:
short flag_to_add_to_town[10][2];
short flag_c;
short out_data_size[100][2];
Rect store_item_rects[3];
rectangle store_item_rects[3];
short store_item_towns[3];
short flag_e;
short special_items[50];
@@ -91,7 +82,7 @@ public:
char spec_item_names[50][256];
char spec_item_strs[50][256];
char spec_strs[100][256];
FSSpec scen_file;
FSSpec scen_file; // transient
char(& scen_strs(short i))[256];
cScenario& operator = (legacy::scenario_data_type& old);